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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ad325ba3ce391994bd89ffc3c32473a40b2ee73f | 8afb5afd38548c631f6f9536846039ef6cb297b9 | /MY_REPOS/misc-experiments/_FIREBFIRE/grpc-SwiftPM/src/core/lib/slice/slice_intern.cc | 7a20f6c53d21f7a915bcae752eeb239741ec6ce5 | [
"MIT",
"Apache-2.0"
] | permissive | bgoonz/UsefulResourceRepo2.0 | d87588ffd668bb498f7787b896cc7b20d83ce0ad | 2cb4b45dd14a230aa0e800042e893f8dfb23beda | refs/heads/master | 2023-03-17T01:22:05.254751 | 2022-08-11T03:18:22 | 2022-08-11T03:18:22 | 382,628,698 | 10 | 12 | MIT | 2022-10-10T14:13:54 | 2021-07-03T13:58:52 | null | UTF-8 | C++ | false | false | 13,362 | cc | /*
*
* Copyright 2016 gRPC authors.
*
* 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
*
orm.h>
#include "src/core/lib/slice/slice_in... | [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
d23163cf932efdaa8e99fa842a3a3adf223b1c53 | 8567bcbc5f2f219735a111c05df0fd4c301a5af4 | /roundedbutton.h | 680b7ad7d925e57e8ca1915275af876843f222a7 | [] | no_license | ljlxls/StockMonitor | 86c41dc6a4eaff1b5fc5354b7d823457f1b48a46 | a116121216e1280e4f4660ee0fa0a2f4b2929802 | refs/heads/master | 2022-01-29T01:15:41.748333 | 2019-07-11T08:48:41 | 2019-07-11T08:48:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | h | #ifndef ROUNDEDBUTTON_H
#define ROUNDEDBUTTON_H
#include "basebutton.h"
class RoundedButton : public BaseButton
{
Q_OBJECT
public:
explicit RoundedButton(QWidget *parent = nullptr);
~RoundedButton();
protected:
void paintEvent(QPaintEvent *) override;
signals:
private:
};
#endif // ROUNDEDBUTTON... | [
"870603664@qq.com"
] | 870603664@qq.com |
c95dbd9e860a7cd9af35776ed60aaf704d3214c2 | ab0bf586105e0260fd153265beb742a2e7dcdc2d | /c_language/prime2.c | 2aa3b1ec00cde94a57d333c411a7ae991a619175 | [] | no_license | Adil-Anzarul/VSC-codes-c-cpp-python | 2f042426a40aed4e9736ccfd8e4072f8d4176456 | 25fd8d06d0dc568168a23881f46d23840bb618cd | refs/heads/master | 2023-06-03T19:40:09.619668 | 2021-06-18T16:42:23 | 2021-06-18T16:42:23 | 378,211,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | c | //wap to print prime no. within given range
#include <stdio.h>
int main()
{
int m,n;
printf("You want to print prime no from m to n\n");
printf("Enter m\n");
scanf("%d",&m);
printf("Enter n\n");
scanf("%d",&n);
if(m==1)
{
m=m+1;
}
for(int i=m;i<=n;i++)
{
int flag=0;
for(int j=2;j<=i/2;j++)
{
if(i%j==0)
{
flag=1... | [
"adil161.hitcse2020@gmail.com"
] | adil161.hitcse2020@gmail.com |
78689811f72ec3f12f958d42c0396d27bce54d1a | 6ea50d800eaf5690de87eea3f99839f07c662c8b | /ver.0.8.1/LoginStatusPacket.h | 215c11b04409bb3924a5780d97821489fa3922ac | [] | no_license | Toku555/MCPE-Headers | 73eefeab8754a9ce9db2545fb0ea437328cade9e | b0806aebd8c3f4638a1972199623d1bf686e6497 | refs/heads/master | 2021-01-15T20:53:23.115576 | 2016-09-01T15:38:27 | 2016-09-01T15:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | h | #pragma once
class LoginStatusPacket{
public:
void handle(RakNet::RakNetGUID const&,NetEventCallback *);
void read(RakNet::BitStream *);
void write(RakNet::BitStream *);
void ~LoginStatusPacket();
void ~LoginStatusPacket();
};
| [
"sinigami3427@gmail.com"
] | sinigami3427@gmail.com |
b5d8c8b0b3115503be501f6c53bb693dab0cd3da | cd79c0511aca5a40af7ece3bbf7b8304fda58c9e | /include/fastdds/rtps/writer/StatefulWriter.h | 94e759028f1e24ac599b1eb038a5ba1be9fa290f | [
"Apache-2.0"
] | permissive | ahcorde/Fast-DDS | 75d10043bfd0a94d63f5e59dda39f8621fb41ce2 | b820c8c950d69694af96dde01dd320c81f8f9c2a | refs/heads/master | 2022-12-05T06:03:09.432205 | 2020-07-07T14:04:36 | 2020-07-07T14:04:36 | 278,361,572 | 0 | 0 | Apache-2.0 | 2020-07-09T12:41:56 | 2020-07-09T12:41:55 | null | UTF-8 | C++ | false | false | 11,809 | h | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... | [
"noreply@github.com"
] | ahcorde.noreply@github.com |
0b51b1efde26b67559babefc1ab0f408d58c96ff | 5ae3af1b2bee92fd62554776e5058c6bd42e41d6 | /glbcodebase/graphicslab/glb/render/imp/gl/glbrenderdeivceimp.cpp | 57568926c840dde0024a2e1a00e603916684f2ea | [] | no_license | pyclyy/GraphicsLabtory | ce51d8fe1ee8d2ae153397aed703128af226fdeb | 016c5bf9ac29e5d20a0556e6d0b384758bb6e02d | refs/heads/master | 2020-03-19T16:18:35.336778 | 2018-06-09T08:15:22 | 2018-06-09T08:15:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,014 | cpp | //-----------------------------------------------------------------------------------
// Declaration: Copyright (c), by i_dovelemon, 2017. All right reserved.
// Author: i_dovelemon[1322600812@qq.com]
// Date: 2017 / 03 / 18
// Brief: Implement renderdevice with opengl
//------------------------------------------------... | [
"1322600812@qq.com"
] | 1322600812@qq.com |
b24dcf48964a7d20f940a2f882ca83425252ac7b | 10255dc202a34122cb19783abd483e3ac956e7c0 | /HelloWorld_DLL.cpp | 6111ad3b5fe9a1d4214187ca43c85eaa9d9794b4 | [] | no_license | Heavy-Vehicle-Networking-At-U-Tulsa/RP1210-DLLShim | d218acc92b87f868ca64495493ad93d82eec4042 | 6050a03f78abe11c618580fcb3eceb51488a686d | refs/heads/master | 2020-03-28T06:55:48.105632 | 2018-09-07T20:22:47 | 2018-09-07T20:22:47 | 147,870,224 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | // HelloWorld_DLL.cpp
#include "stdafx.h"
#define EXPORTING_DLL
#include "sampleDLL.h"
BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved )
{
return TRUE;
}
void HelloWorld()
{
MessageBox( NULL, TEXT("Hello World"),
TEXT("In a DLL"), MB_OK);
} | [
"noreply@github.com"
] | Heavy-Vehicle-Networking-At-U-Tulsa.noreply@github.com |
4c975e5d51d5486ab45e9234bb45f85305ff8d3e | 63933a82ddac094d84b618ffeeab1840d188ac66 | /Metabolic Navigator/browsedatasets.h | 3515bcb4f0b06348144299aa972880a21d9bbc9d | [] | no_license | catkira/Metabolic-Navigator | 4fedd20f1fe5bf0133b4b19ba5205bf44fe3d78e | c2cb57e64e38ab8884ce6dfe05501f8f4ea57bd9 | refs/heads/master | 2023-02-09T06:08:52.175724 | 2021-01-06T21:22:16 | 2021-01-06T21:22:16 | 327,431,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 850 | h | #ifndef BROWSEDATASETS_H
#define BROWSEDATASETS_H
#include <QDialog>
#include "ui_browsedatasets.h"
#include <QCloseEvent>
class Options;
class BrowseDatasets : public QDialog
{
Q_OBJECT
public:
BrowseDatasets(QWidget *parent = 0, Options *options=0);
~BrowseDatasets();
std::vector<std::pair<std::st... | [
"benjamin@menkuec.de"
] | benjamin@menkuec.de |
52457c9858ca9beb8bccbe2113186247d24c4232 | 6b98c74d4b9db23bd0e8d0ab91315a73d4604130 | /CTCI/1_6.cpp | 7bb7e93614adec199e60871f4a24d0b24d3a8c8c | [] | no_license | yung751206/ctci | 59550b7b98117a1cd578e4f07a27afda78698686 | 5dbcf5b1bf2e1f2e12618ac23f42796c7476a8fe | refs/heads/master | 2021-01-01T05:37:04.270919 | 2014-08-15T11:24:32 | 2014-08-15T11:24:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | cpp | /*//
// 1_6.cpp
// CTCI
//
// Created by Edison on 6/25/14.
// Copyright (c) 2014 Edison. All rights reserved.
//
#include <iostream>
#include <cmath>
using namespace std;
void swap(int &a,int &b){
int temp = a;
a = b;
b = temp;
}
void rotateMatrix(int** mat,int N){
for(int i=0;i<ceil(N/2);i++... | [
"yung751206@gmail.com"
] | yung751206@gmail.com |
c8fbfd69d1880e15e886bab7ad53f5bab4ca068b | 43baed223c94946fb366dcb992055c65c5972902 | /Tutor/P2_D1_1999/P2_D1_1999.cpp | 18176737fa90de127d5c9dd45af7111df2b1f161 | [] | no_license | arj1211/CCC | cfd840dfdcc0f3c33b91e7dab005a2d86bfbcb01 | 53e2b6b4833f092058229143fe4589ff3cfd8869 | refs/heads/master | 2020-08-04T00:29:05.247301 | 2017-07-31T21:03:50 | 2017-07-31T21:03:50 | 73,534,418 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,166 | cpp | // TIMUS JUDGE ID: 189234ZA
#include <iostream>
#include <fstream>
#include <algorithm>
#include <vector>
#include <cmath>
#include <string>
#include <map>
#include <set>
#include <queue>
#include <stack>
using namespace std;
#define debug(x) cout << #x <<' '<< (x) << endl;
#define print(x) cout << (x) << endl;
#define... | [
"thejoker1211@outlook.com"
] | thejoker1211@outlook.com |
7da37e6677e850900e6dea56d9fe593a620ce846 | 9e038c38e3baa58e65368946920c0c1c4a9f8380 | /topics/generic-programming/genflist.cpp | accfdbfd23de3414b402bc891dfedffde2e7f94e | [] | no_license | switchkiller/sandbox | 2707bafd7cae2e069b4602432738bb6c381a0c0f | 0cf8c99f13c35377c2bcdab0420574febb88f693 | refs/heads/master | 2021-01-25T15:52:18.030476 | 2020-04-14T03:04:21 | 2020-04-14T03:04:21 | 38,898,148 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | //Generic find with a listing
#include<iostream>
#include<cassert>
#include<list>
#include<algorithm>
#include<string.h>
#define all(x) x.begin(),x.end()
using namespace std;
template <typename Container>
Container make(const char s[]){
return Container(&s[0],&s[strlen(s)]);
}
int main(){
list<char> l = make< li... | [
"emailbarung@gmail.com"
] | emailbarung@gmail.com |
42c400f801b0d6c48afc9976dbe4258348579275 | 606688234266e08c18d44cd4826f16afa39f9eb8 | /quantum/plugins/algorithms/qcmx/QCMXActivator.cpp | c97d5a39f06743915dd1305c50edbd0c5e8fae45 | [
"BSD-3-Clause",
"EPL-1.0",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause",
"MPL-2.0",
"LicenseRef-scancode-generic-export-compliance",
"MIT"
] | permissive | eclipse/xacc | f285f2a20d88fbc4c8f7f1fc14f86bf170ae59e6 | d1edaa7ae53edc7e335f46d33160f93d6020aaa3 | refs/heads/master | 2023-09-01T12:36:22.324158 | 2023-08-01T21:44:29 | 2023-08-01T21:44:29 | 104,096,218 | 159 | 125 | BSD-3-Clause | 2023-08-25T04:55:34 | 2017-09-19T15:56:59 | C++ | UTF-8 | C++ | false | false | 1,325 | cpp | /*******************************************************************************
* Copyright (c) 2019 UT-Battelle, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompanies... | [
"6d3@ornl.gov"
] | 6d3@ornl.gov |
16d059107c3dd36442186d735d21bda398ffed1e | e02f7f55f44df542a85f7ba76e2ddb6659b9b98d | /libplf/include/plf/ast/Expression.hpp | 88b6c73243ef7dba3eacc97d0a419f4cb556d6e3 | [
"MIT"
] | permissive | okard/dis-boot-cpp | c1a3a94f460568ed0b997775c29ddf49ffc757f9 | 935497532ec2a0e9f7a7ad40ed198241c64dd394 | refs/heads/master | 2016-09-05T18:58:42.325233 | 2014-06-30T19:55:37 | 2014-06-30T19:55:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,065 | hpp | /*
Programming Language Framework (PLF)
Copyright (c) 2013 okard
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,... | [
"d4rkdragon@gmail.com"
] | d4rkdragon@gmail.com |
5b782980cf2e8f5db83be0b1f8c3e92204362beb | bb7645bab64acc5bc93429a6cdf43e1638237980 | /Official Windows Platform Sample/Universal Windows app samples/[C++]-Universal Windows app samples/XAML ListView and GridView essentials sample/C++/WindowsPhone/Scenario2_ClickEvents.xaml.h | 3b44c5e14b264083a3093807a71f557d7febd44d | [
"MIT"
] | permissive | Violet26/msdn-code-gallery-microsoft | 3b1d9cfb494dc06b0bd3d509b6b4762eae2e2312 | df0f5129fa839a6de8f0f7f7397a8b290c60ffbb | refs/heads/master | 2020-12-02T02:00:48.716941 | 2020-01-05T22:39:02 | 2020-01-05T22:39:02 | 230,851,047 | 1 | 0 | MIT | 2019-12-30T05:06:00 | 2019-12-30T05:05:59 | null | UTF-8 | C++ | false | false | 2,383 | h | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
... | [
"v-tiafe@microsoft.com"
] | v-tiafe@microsoft.com |
fc693265afae92a68a014cc39e2260780fb6d8b6 | 744f0138ee1c7ccd4cd9a5590649a7effec80af7 | /C++/Stack/Maze/Maze/Cell.cpp | be7f10e888ec81114d52a21a2f0357d9612dcba8 | [
"MIT"
] | permissive | XiaoZhongWen/Data-Structures | 75fcfce226d9c4764ce907fa7ba965cc0d1c1109 | aea00dc8368b871a712f8bdcecd71f808859066a | refs/heads/master | 2020-03-25T06:18:56.717481 | 2018-11-11T12:55:57 | 2018-11-11T12:55:57 | 143,494,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | //
// Cell.cpp
// Maze
//
// Created by mye on 2018/9/8.
// Copyright © 2018 mye. All rights reserved.
//
#include "Cell.hpp"
Cell::Cell(long x, long y) {
this->x = x;
this->y = y;
}
bool Cell::operator==(const Cell &c)const {
return this->x == c.x && this->y == c.y;
}
| [
"xiaozhongwen@mye.hk"
] | xiaozhongwen@mye.hk |
f677c75855698236911a47bcf34f4827eff7ddf7 | f6bf817608e70e941e01c4091c8a53eaa5ebe880 | /Tree/increasingBST.cpp | eeccaaaa40143f28c1fff2a299897f0a1617bbac | [] | no_license | java-xuechengzhi/MyYoung | d07aa242ef4886adaef80864d0257d5a1c12f1d4 | 5a59fda50f0ebc3c309f6fe6450e0b979cf6a737 | refs/heads/master | 2023-09-02T23:12:05.588445 | 2021-08-13T23:02:43 | 2021-08-13T23:02:43 | 428,308,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934 | cpp | #include "bits/stdc++.h"
using namespace std;
struct TreeNode {
int val;
struct TreeNode *left;
struct TreeNode *right;
};
struct TreeNode* createTreeNode(int val) {
struct TreeNode* ret = (struct TreeNode*)malloc(sizeof(struct TreeNode));
ret->val = val, ret->left = ret->right = NULL;
return ... | [
"2631047783@qq.com"
] | 2631047783@qq.com |
e24a86197312e3306922591ec552da819070aeda | 6830dfdc24d5467e0f5b46fc544249da64a4ac66 | /DSAA_homework/Lab6/cut_the_stick.cpp | e67e58134b0e52a6db1484cfe26f99d9d083908c | [] | no_license | night-gale/C-projects | 6829be088f17f3bbace351ac6636a73871f1d3e3 | 19903613e9d22e6d2ee6bb0b9bbb358f3d8ccf51 | refs/heads/master | 2021-08-17T11:41:38.916882 | 2020-08-16T06:44:49 | 2020-08-16T06:44:49 | 214,568,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | cpp | /*
huffman tree¿
*/
#include <stdio.h>
#define _MAX_SIZE 1001
int T, N;
bool isChecked[_MAX_SIZE * 2];
long long lengths[_MAX_SIZE * 2];
int main(void) {
scanf("%d", &T);
for(int i = 0; i < T; i++) {
scanf("%d", &N);
long long cost = 0;
// int pend = N;
for(int j = 0; j < N; ... | [
"2583942273@qq.com"
] | 2583942273@qq.com |
be16c5c4c020a3b848ba16d402ea65e58e3c47fb | 298ab174263df4bb17fd0b16683dbc197fb169ed | /Largest Rectangle.cpp | eed32f2fb478222e71b0ff44c346d7825a639eb0 | [] | no_license | nigannayak/Hackerrank---Data-Structures | d0e1dfda8e55b075f7c17c6bc7102da09a1c4bee | c28dca2f93af5c13bdbff271b5f0b1e5592af516 | refs/heads/master | 2021-01-19T19:23:22.377589 | 2017-05-06T18:24:24 | 2017-05-06T18:24:24 | 88,415,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <iomanip>
using namespace std;
int main()
{
long n,x;
cin>>n;
vector <long> vec;
for(long i = 0 ; i < n ; i++)
{
cin>>x;
vec.push_back(x);
}
long ans(0);
for(long i = 0 ; i < n ; i++)
... | [
"noreply@github.com"
] | nigannayak.noreply@github.com |
f4f7585357e99e97efe3b509335f9b336c45bfe0 | 998f6f08ca8ef5efeb3ea653f2542f753cce26ee | /src/i2c.cpp | ce1866d18fa89efeaa16fd77ca0fcb1fef448526 | [] | no_license | gallmd-stm32/stm_prototype_2 | e509798cf13c0218f65aa1d5ad707cc0b0105dcc | 19ba521bdd7f00a7d7ad6681d92657d64694cf67 | refs/heads/master | 2020-04-18T19:25:41.445581 | 2019-02-08T03:17:56 | 2019-02-08T03:17:56 | 167,711,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,391 | cpp | /*
* i2c.cpp
*
* Created on: Jan 29, 2019
* Author: matt
*/
#include "i2c.h"
extern "C"{
void I2C1_EV_IRQHandler(void)
{
I2CMaster::handlers[0]-> EV_handler();
}
void I2C1_ER_IRQHandler(void)
{
I2CMaster::handlers[0]-> ER_handler();
}
}
I2CMaster::I2CMaster(I2C::BaseRegisterType ba... | [
"gallmd14@gmail.com"
] | gallmd14@gmail.com |
e8f005b67869ff86e3856f86dc69b6c466145a78 | 447260501e673d85654ff77371ef02806e64fbe9 | /hust/数论/uva_11029.cpp | 43b65eded03ebefbe2de1a6b3c432f4e925ab415 | [] | no_license | keroro520/ACM | 2fe36bd70e48c63eef0f1db73fcd244dcc78795d | d538e96f46aebec8c58448f3d936ba81a1643ea3 | refs/heads/master | 2016-09-07T18:54:27.379026 | 2014-05-19T13:44:25 | 2014-05-19T13:44:25 | 18,795,719 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,842 | cpp | /*
数论 好题
题意:要求输出n^k的前3位和后3位(数据保证答案不少于6位数字)
思路:两数乘法的后三位自然是由各自后三位决定的,因此对于后三位我们完全可以用快速幂取模来做,但前三位就不行了。
但对于n^k我们可以做变形10^(k*logn),这样又由于10^x只是改变小数点的位置我们自然就不用去考虑了,因此前3位只取决于10^(2+fmod(k*logn,1)),当输入最后结果的时候,由于要的是精确的前3位,所以应用强制转型忽略掉小数位,而不能直接用%.0f输出。
我一开始前后3位都是仅保留后4位来搞快速幂,WA了,还是不明白为何会WA。
*/
//uva 11029
#include <stdi... | [
"keroroxx520@gmail.com"
] | keroroxx520@gmail.com |
1ae47c91b131f8d8778f16c7d2f87d565203c153 | e0c8bba0e769d3f2de7971290ee6ce511bf156e9 | /Day-6/pattern4.cpp | 3a6543e52b50124fe5b713a2be210cd174402d94 | [] | no_license | SarangWadode/CPP | e8dea8593baeb79e27b5389f0f4fe99d1a6d4cb2 | f83b164a763e30f95146da5ee3f8130a90095f33 | refs/heads/main | 2023-04-12T22:41:17.196948 | 2021-04-15T12:00:13 | 2021-04-15T12:00:13 | 355,127,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | cpp | // * * * * *
// * * * * *
// * * * * *
// * * * * *
#include <bits/stdc++.h>
using namespace std;
int main(void)
{
int n;
cout << "Enter number of rows:- ";
cin >> n;
int m = n * 2 - 2;
for (int i = 1; i <= n; i++)
{
int space = 1;
//add space in each row
wh... | [
"sarangwadode@gmail.com"
] | sarangwadode@gmail.com |
b5020c133216b8d35bf1709d1284295702835a5a | b6bac090fb42609627fad1be4cfcbbe9ed2a18af | /pass/RegisterPasses.cpp | 17c42a9760546b2af34a37fe11ad8ae414de0ed1 | [
"BSD-3-Clause"
] | permissive | Wheest/atJIT | c0f55b42eecfe3fbad13bf5261376dd38002d5f5 | 7e29862db7b5eb9cee470edeb165380f881903c9 | refs/heads/master | 2021-01-08T17:33:34.588736 | 2019-08-29T17:44:00 | 2019-08-29T17:44:00 | 242,095,800 | 0 | 0 | BSD-3-Clause | 2020-02-21T08:57:11 | 2020-02-21T08:57:10 | null | UTF-8 | C++ | false | false | 520 | cpp | #include "StaticPasses.h"
#include <llvm/Transforms/IPO/PassManagerBuilder.h>
#include <llvm/IR/LegacyPassManager.h>
#include <llvm/Support/raw_ostream.h>
using namespace llvm;
using namespace easy;
static void callback(const PassManagerBuilder &,
legacy::PassManagerBase &PM) {
PM.add(easy::cr... | [
"jmmartinez@quarkslab.com"
] | jmmartinez@quarkslab.com |
9e5180ca451c11ca3fd7ef15d918b5a59860bf1d | 8d9dde475459aa56f37655ce0d427fdd013c6482 | /client/MuMuQiPai_3.13/Classes/UserModel.h | f24852a9f7b47a8b1e065517c1d46664c68925c0 | [] | no_license | linzhangfeng/MuMuQiPai | 6987df524c5529b96e5127784f3205955d446ef6 | a41c5419cb8f5a70dcdd8f4b1e5ac1974b9ee86e | refs/heads/master | 2022-12-25T01:07:36.886320 | 2020-05-21T06:55:44 | 2020-05-21T06:55:44 | 173,111,871 | 0 | 0 | null | 2022-12-11T11:04:12 | 2019-02-28T12:53:41 | C++ | UTF-8 | C++ | false | false | 1,844 | h | //
// ZJHModel.h
// ZJH
//
// Created by luochuanting on 13-6-21.
//
//
#ifndef __LIN__UserModel__
#define __LIN__UserModel__
#include <iostream>
#include <string>
#include <map>
#include "cocos2d.h"
#include "SimpleAudioEngine.h"
using namespace std;
using namespace cocos2d;
using namespace CocosDenshion;
clas... | [
"linzhangfeng@linzhangfengdeMac-mini.local"
] | linzhangfeng@linzhangfengdeMac-mini.local |
3717626d8c4198d60201fd02fbbe84e7cc06c840 | 8bd53767c87c35c4388f8a7b9a45b035591c6c63 | /src/subsystemfiles/drive.cpp | 0f8044e27789f401351dda51dfe31a55bcbc32a4 | [] | no_license | Ved-Joshi/PROS-Practice | f7750c48930484b88a0b911c841503951a34171a | f1219c2b5c89ff6e3f8b4b4f2347c65aa9169f59 | refs/heads/master | 2023-01-20T04:59:57.148281 | 2020-12-04T23:34:44 | 2020-12-04T23:34:44 | 310,737,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,471 | cpp | #include "main.h"
pros::ADIGyro gyro('B', 0.91);
//Helper Functions
void setDrive(int left, int right) {
driveBackLeft = left;
driveFrontLeft = left;
driveBackRight = right;
driveFrontRight = right;
}
void resetDriveEncoders() {
driveBackLeft.tare_position();
driveBackRight.tare_position();
driveFront... | [
"50056400+Ved-Joshi@users.noreply.github.com"
] | 50056400+Ved-Joshi@users.noreply.github.com |
1c5f921c956cbba702e287ccf474427410ef626d | 8e74f39dcb6b5447193d26159aca85d12d839485 | /XMP-SDK/XMPFiles/source/FormatSupport/TimeConversionUtils.hpp | bf7ed0491fc75bc99a95bf3456914885313d87ab | [
"BSD-3-Clause"
] | permissive | mgharbi/mit_png2dng | 967d5318ed91a1e92c0daef5c900a95074d5c104 | 21618e2ee2cfd952578ca5310eaa3940ce70a4ed | refs/heads/master | 2023-01-15T23:15:16.735221 | 2020-11-12T19:13:15 | 2020-11-12T19:13:15 | 152,441,976 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | hpp | #ifndef TimeConversionUtils_h__
#define TimeConversionUtils_h__ 1
// =================================================================================================
// ADOBE SYSTEMS INCORPORATED
// Copyright 2014 Adobe Systems Incorporated
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and d... | [
"gharbi@mit.edu"
] | gharbi@mit.edu |
6b16f22e3c95857c58276449756f2ef8f1719947 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/113/464/CWE762_Mismatched_Memory_Management_Routines__delete_array_int64_t_malloc_53d.cpp | 6ae6088bde124276c0440b214b5f6f919aa15418 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,553 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_int64_t_malloc_53d.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-53d.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Manage... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
3bcd6a25ed1c65212182cc31ad22b6e66b0b7726 | c349df5a9e73350cc7fa30da322258f7717102aa | /service_manager/src/communication/ipcwrapper_win32/serviceManagerCommunicationIpcWrapperWin32.h | de64ea2eda226d3889c4898739d668e9ddd83000 | [] | no_license | andeyqi/autoTest | 0e5127c18c801a0eef5eeffc658d589728c33286 | da3b4cc5c1a1996d1ba8c21e43c336d0fde1de5c | refs/heads/master | 2020-03-12T00:55:35.654478 | 2019-06-02T10:40:23 | 2019-06-02T10:40:23 | 130,361,904 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,475 | h | #ifndef __SERVICE_MANAGER_COMMUNICATION_IPCWRAPPER_WIN32_H__
#define __SERVICE_MANAGER_COMMUNICATION_IPCWRAPPER_WIN32_H__
#include "stdafx_serviceManager.h"
#include "serviceManagerCommonPublic.h"
#include "serviceManagerCommunicationIpcWrapper.h"
#include <list>
class CThreadPool;
//==============================... | [
"qihengchuan8888@163.com"
] | qihengchuan8888@163.com |
b2bc8a421fada299b8c816215f9e7a18c8650dca | e029655425f89215e23630ee49c2660d77ce6874 | /C Ranguage/HW21.cpp | f68d1d7de90f1e2b278737b2aaed925d137b6f0d | [] | no_license | seheeki/computer-study | 4f651e3bb6de653984604354b23432751170bf66 | ada0c992b8d07763b3e06db12995944c6ac28c80 | refs/heads/master | 2020-04-24T22:14:01.374322 | 2019-09-07T16:41:56 | 2019-09-07T16:41:56 | 172,304,643 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 328 | cpp | //다섯명 학생키 입력, 평균
#include<stdio.h>
int main()
{
int i;
double height, total = 0.0, mean;
for (i = 1; i < 6; i++)
{
printf("%d 번 학생의 키는? ", i);
scanf("%lf", &height);
total += height;
}
mean = total / 5;
printf("다섯 명의 평균 키는 %.1lf 입니다.\n", mean);
return 0;
} | [
"47936589+seheeki@users.noreply.github.com"
] | 47936589+seheeki@users.noreply.github.com |
58c0c7613162b446035c2975e70fe35b93868705 | 8654435d89790e32f8e4c336e91f23250da0acb0 | /bullet3/examples/RobotSimulator/MinitaurSetup.cpp | 21bf05ab1295c242184e6429ee8ea8878cfeee6c | [
"Zlib"
] | permissive | takamtd/deepmimic | 226ca68860e5ef206f50d77893dd19af7ac40e46 | b0820fb96ee76b9219bce429fd9b63de103ba40a | refs/heads/main | 2023-05-09T16:48:16.554243 | 2021-06-07T05:04:47 | 2021-06-07T05:04:47 | 373,762,616 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,130 | cpp | #include "MinitaurSetup.h"
#include "b3RobotSimulatorClientAPI_NoGUI.h"
#include "Bullet3Common/b3HashMap.h"
struct MinitaurSetupInternalData
{
int m_quadrupedUniqueId;
MinitaurSetupInternalData()
: m_quadrupedUniqueId(-1)
{
}
b3HashMap<b3HashString, int> m_jointNameToId;
};
MinitaurSetup::... | [
"m.tym29101998@gmail.com"
] | m.tym29101998@gmail.com |
57b02aea234e506d1fd19e4c93e637f9d05ec2d4 | 99abed6b51dde956a3e504a4be2bf0cbb76e565d | /src/mrm-ir-finder2.cpp | 1bc6387c0deff8d2ebbace142afb2afe742ab676 | [] | no_license | PribaNosati/mrm-ir-finder2 | d7101a83d00f46a104320f980519917d4b342340 | b593a794c4981a5c063779662d8f1969e884629b | refs/heads/main | 2023-03-05T08:23:47.597259 | 2021-02-11T08:47:05 | 2021-02-11T08:47:05 | 316,975,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,539 | cpp | #include "mrm-ir-finder2.h"
#include <mrm-robot.h>
/**Constructor
@param robot - robot containing this board
*/
Mrm_ir_finder2::Mrm_ir_finder2(Robot* robot) {
robotContainer = robot;
nextFree = 0;
}
Mrm_ir_finder2::~Mrm_ir_finder2() {}
/**Add a sensor
@param angle - Analog pin for angle. Robot front is 0 degrees a... | [
"priba@microline.hr"
] | priba@microline.hr |
918930351c4a00f75f1dd3152f46bcc358b08966 | de50b2455d50cc11e0a158768188baaf97891e3a | /main.cpp | 8f17683c3a28c714d75046c3cbbe85848af66696 | [] | no_license | Ogreat/parprog_code | 19d3a06c36970fb0cd23738abe1e27474f8a826d | 4152e3abd55c76d5413387d2544ce1ecb3159867 | refs/heads/master | 2020-04-24T04:46:23.765430 | 2019-03-19T14:33:17 | 2019-03-19T14:33:17 | 171,715,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,303 | cpp | // Copyright 2019 Lalykin Oleg
#include <omp.h>
#include <iostream>
#include <string>
class Task
{
public:
//в программе сортируемая последовательность представлена в виде массива объединений Int32
//целые числа представлены в системе счисления по основанию 256
//доступ к отдельным байтам целого числа дол... | [
"noreply@github.com"
] | Ogreat.noreply@github.com |
66861e9a1f4fe1a05a7c9b6a9e5a8d78135c494e | 594e646453b7255104f721a9f9da84f752a733b8 | /labs/04/solar_system/libgl/libgl_dependencies.h | 7b928195707763e9b8648a8e8c24eb7c75e4b7d9 | [] | no_license | alexey-malov/cg | 50068a19b8dc5d8259092e14ce2fdfa45400eac9 | ca189f7e850a4d6f94103eabdb7840679f366d93 | refs/heads/master | 2020-12-30T15:41:35.575926 | 2018-06-19T11:26:35 | 2018-06-19T11:26:35 | 91,160,585 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | h | #include <stdlib.h>
#include <assert.h>
#include <gl/glut.h>
#include <vector>
#include <set>
#include <algorithm>
#include <Windows.h> | [
"alexey.malov@cpslabs.net"
] | alexey.malov@cpslabs.net |
1fc01c18d01a4f2c8573530ccd59b3c29bfa15d3 | b6300ede7aa80b18db15b1ca52a9f6e9271a9ecf | /CSC3224Game/Game/CSC3224Game/StandardKeyInterpreter.h | dc069c4af04d318247119096633b3a79d1a6d30e | [] | no_license | AJagger/3224Game | 1da1e052bdafed5cb5f06ce024cc3741224eb74b | e50acb7d42be7617ff42d8a7645b86eac4e66264 | refs/heads/master | 2020-12-30T14:12:20.402056 | 2017-05-19T10:15:40 | 2017-05-19T10:15:40 | 91,285,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,613 | h | /* CSC3224 Code
* Author: Aidan Jagger | 130281034
* Class Description:
* This class is a modification of the DemoKeyInterpreter provided in the original engine demo and deals with collecting and processing all input data. It has been expanded to include mouse data collection.
*/
#pragma once
#include "../../Framework... | [
"aidan.m.jagger@gmail.com"
] | aidan.m.jagger@gmail.com |
3b7928a55d2d56f5f07260faf684e65851655add | 88b138e1a4328a7fd16a200ecbf78b769fd23e7c | /include/restinio/exception.hpp | e108a058435d438dc118f19fa7bf7d58301338ef | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | mkkelley/autogrp | f991506f7f86bcd78bd8e587342bf38169549226 | 9804a796f39f011b82c45ca67191aeb815818f19 | refs/heads/master | 2021-04-15T12:44:12.969754 | 2018-04-01T04:38:57 | 2018-04-01T04:38:57 | 126,586,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | hpp | /*
restinio
*/
/*!
Exception class for all exceptions thrown by RESTinio.
*/
#pragma once
#include <string>
#include <stdexcept>
namespace restinio
{
//
// exception_t
//
//! Exception class for all exceptions thrown by RESTinio.
class exception_t
: public std::runtime_error
{
using bast_type_t = std::runtime... | [
"m.kelley.3154@gmail.com"
] | m.kelley.3154@gmail.com |
e7d730e11211424cf65f71e5df68f466c9ac4d8e | fa53215c65feeca53ecf48979db129b9eec77086 | /extensions/CocoStudio/GUI/UIWidgets/Slider.cpp | 9e46f33725a3f816ef823766ec881ec56cede48e | [] | no_license | stubma/cocos2dx-classical | 66d57304dc1cc8834d672a087f2b979d0e1a993c | 42da4ee120ce9a0a97da344117c48e91c146c56d | refs/heads/master | 2021-01-24T08:17:10.706511 | 2018-05-30T03:04:10 | 2018-05-30T03:04:10 | 26,906,938 | 138 | 57 | null | null | null | null | UTF-8 | C++ | false | false | 17,269 | cpp | /****************************************************************************
Copyright (c) 2013 cocos2d-x.org
http://www.cocos2d-x.org
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 with... | [
"stubma@gmail.com"
] | stubma@gmail.com |
b542f57918e8fc8cd01b8c523dd75042284e1908 | 1386813c6d0df1a7155146bae0e8f0fb318abb1d | /include/VirtualMachine.h | c491901d9c0ea2e572465f43eedeef00f2fb878b | [] | no_license | rskupnik/brainfuck-interpreter | ec1f8da1b9d47da63b5a7d6caa3d60b8816cbfc5 | 9ee08bcc60f45cf598defd93f3ba17a62be5db80 | refs/heads/master | 2021-09-02T05:21:01.664788 | 2017-12-30T18:42:29 | 2017-12-30T18:42:29 | 114,463,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | h | #pragma once
class VirtualMachine {
public:
static const int MEMORY_SIZE = 100;
VirtualMachine() : memory{0}, memoryPointer(0) {}
void shiftRight();
void shiftLeft();
void increment();
void decrement();
char readValue();
void loadValue(char);
int getMemoryPointer();
void setMemoryPointer... | [
"r.skupnik@gmail.com"
] | r.skupnik@gmail.com |
88fc5c5c2ba6f5e88a57ac74b7664548b8d6c2b0 | 361ed5d2675cefcc0006243d9278bbf841e384ef | /mcrouter/lib/WeightedRendezvousHashFunc.h | 20c941a1b0f4e6df8c28b2681142dac38f49a39b | [
"MIT"
] | permissive | miezoy/mcrouter | 8919de002e02c05b1fedb6929aa27dc71dd9739f | 47445ecdd0a7eee1f54957594cfadbb32c618e2d | refs/heads/master | 2020-09-15T06:39:10.495858 | 2019-11-20T23:58:09 | 2019-11-20T23:59:24 | 223,369,362 | 0 | 1 | MIT | 2019-11-22T09:29:54 | 2019-11-22T09:29:53 | null | UTF-8 | C++ | false | false | 1,411 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <folly/Range.h>
#include <folly/dynamic.h>
#include "mcrouter/lib/HashFunctionType.h"
namespace facebook {... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
b7a3f8bf6a36d4af4b712c1633853989875c3ae7 | 52e83055826151c047801fb97f379d0db002788c | /SquareBoxGrid.cpp | 16a6197cefbc868125d71a63146a4a9e985c8d15 | [] | no_license | hari01584/DevNakes__DevLaunchersGameJam | 450fc40b1fda7c8181ea4071f7aff8bf71ef2c41 | 10df35507af802735f62f46069cf2ae2e130c99d | refs/heads/main | 2023-07-08T09:39:25.547689 | 2021-08-15T16:27:06 | 2021-08-15T16:27:06 | 394,385,569 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,553 | cpp | #ifndef SQUAREGRID_CPP
#define SQUAREGRID_CPP
#include "SquareBoxGrid.h"
#include "utils.cpp"
#include "ColorPalette.h"
Square::Square(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2){
this->x1 = x1;
this->y1 = y1;
this->x2 = x2;
this->y2 = y2;
}
SquareBoxGrid::SquareBoxGrid(int cwidth, int cheight, int b... | [
"31770598+hari01584@users.noreply.github.com"
] | 31770598+hari01584@users.noreply.github.com |
30abbab6e9a9537a5e51ffa4f43d78ccd75b89af | 72b3312f4b637a39fb3a535391cade26d1205692 | /src/logbypass/http.h | 036345a041e362e1dd41dfd6a616519749a6697c | [
"BSD-3-Clause",
"MIT",
"BSD-2-Clause"
] | permissive | hyj1991/xprofiler | c9b3248bbb123a8d461754a71f5c86842c8d2648 | 4e4879e52acc82dcee101aeb852cc0ae0836715a | refs/heads/master | 2023-06-21T10:54:47.182821 | 2023-06-16T06:31:48 | 2023-06-16T06:31:48 | 528,783,079 | 2 | 0 | NOASSERTION | 2022-08-25T09:35:09 | 2022-08-25T09:35:08 | null | UTF-8 | C++ | false | false | 1,244 | h | #ifndef XPROFILER_SRC_LOGBYPASS_HTTP_H
#define XPROFILER_SRC_LOGBYPASS_HTTP_H
#include "xpf_mutex-inl.h"
namespace xprofiler {
class EnvironmentData;
constexpr uint16_t kMaxHttpStatusCode = 1000;
using HttpProfilingSamples = std::vector<std::string>;
struct HttpProfilingDetail {
Mutex mutex;
int64_t start_tim... | [
"noreply@github.com"
] | hyj1991.noreply@github.com |
c6c0bfd961e88b6c54bb465c0db436c78eae0446 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_patch_hunk_408.cpp | 62e9d371ea97171bd9571f47ecf6d7368bc3c91a | [] | 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 | 2,552 | cpp | " ftp_entry_path The initial path libcurl ended up in when logging\n"
" on to the remote FTP server. (Added in 7.15.4)\n"
"\n"
" ssl_verify_result\n"
, stdout);
fputs(
-" The result of the SSL peer certificate verifica-\n"
+" ... | [
"993273596@qq.com"
] | 993273596@qq.com |
ce6476f02b1bf2cc0103424c57c935c4d9c8f892 | 5922eefd8bcfab5e3db250bbd2cadd61f8e5fb36 | /proxygen/lib/utils/test/ZstdTests.cpp | a8a838e559f8a5a49a046de7a4f8843bd687ecaf | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | stoone/proxygen | 3228add4cfed2112913dd1debed1501c09aebf47 | 38f9210d27541adfcd1f798db0bf84af4f6dbfc0 | refs/heads/master | 2022-12-06T15:09:20.961239 | 2020-08-25T22:51:59 | 2020-08-25T22:56:41 | 290,364,132 | 1 | 0 | NOASSERTION | 2020-08-26T01:29:49 | 2020-08-26T01:29:48 | null | UTF-8 | C++ | false | false | 6,511 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <folly/Random.h>
#include <folly/ScopeGuard.h>
#include <folly/compression/Compression.h>
#i... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
36bc306c1803aeeb45c0b82f3cb8b832724106d5 | f2d47951fb3738bff966f83c090d91846e491994 | /tools/gvsoc/common/models/cpu/iss/src/trace.cpp | adcd83b3f0addb671974f3833d7a373e6071b77c | [
"Apache-2.0"
] | permissive | EEESlab/gvsoc-old | cb5f630f6a7bf99664ee57755454a6e6d6b2fc59 | 19917f1789a3f771e1ec42e11c4f5897d1f9fda2 | refs/heads/main | 2023-08-01T05:00:54.614155 | 2021-08-18T13:10:30 | 2021-08-19T16:22:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,950 | cpp | /*
* Copyright (C) 2020 GreenWaves Technologies, SAS, ETH Zurich and
* University of Bologna
*
* 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.apac... | [
"nazareno.bruschi@studio.unibo.it"
] | nazareno.bruschi@studio.unibo.it |
3ec7efd4ef0609579c53048f537416f99fd16394 | b9413059ca4ef20e014484b66fdd7e634d2e6df3 | /boundary_traversal.cpp | 75903302e9f6e063e00bcc87116d6112bdb97392 | [] | no_license | gittyvarshney/Trees | bf92c726393e0582c9a8790a31ddb4272ab49a53 | 765fa9139ed93f3c91e2e8ea077166b7802ad9e1 | refs/heads/master | 2022-12-20T11:17:23.571543 | 2020-09-19T13:10:58 | 2020-09-19T13:10:58 | 282,297,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,156 | cpp | #include<bits/stdc++.h>
using namespace std;
//Boundary Traversal in Binary Tree simple all you have to do is
//first print the root
//print the left part of root till leaf node is not reached
//print the leaves
//print the right part of root till leaf node is not reached
class Tree
{
public:
int data;
Tree* left;... | [
"pv66645@gmail.com"
] | pv66645@gmail.com |
5cc4a13d7b06fef20806e274bf2db068b73a5374 | 298733134bbdb6faeccc1964dcd969ecf8367bd1 | /textitem.h | b231404efb5e995c9dce2aed4bc25682b9e3fa09 | [] | no_license | aasirotkin/PeriodicTable | 7c3dd6d21c0dc3f989791d942149602a54bb52c0 | 4283da307dc9e1a3c59b68613f0170c49d37b8a7 | refs/heads/master | 2022-12-08T01:39:51.223192 | 2020-08-27T16:01:46 | 2020-08-27T16:02:15 | 287,996,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | h | #ifndef TEXTITEM_H
#define TEXTITEM_H
#include "graphicsitem.h"
class TextItem : public GraphicsItem
{
public:
TextItem(QGraphicsItem *parent = nullptr);
void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option,
QWidget *widget = nullptr) override;
bool setItemD... | [
"aasirotkin@mail.ru"
] | aasirotkin@mail.ru |
82a340e002aff057553e218626c92597c60be92b | 478f580633a54078876271b43aac24529ee7fd3d | /libs/vgc/geometry/strokestyle.cpp | 3e12f2195bd477f48cb518c9cb5558bd533820ff | [
"Apache-2.0"
] | permissive | dalboris/vgc | b003832ade652bf98e18eaa8f3bcebf98e058b6c | 365d94564aa1d07d94e980173d26553cea22efbc | refs/heads/master | 2023-08-08T18:56:24.203928 | 2023-08-08T18:29:05 | 2023-08-08T18:29:05 | 160,348,642 | 4 | 0 | NOASSERTION | 2018-12-04T11:42:18 | 2018-12-04T11:42:18 | null | UTF-8 | C++ | false | false | 926 | cpp | // Copyright 2023 The VGC Developers
// See the COPYRIGHT file at the top-level directory of this distribution
// and at https://github.com/vgc/vgc/blob/master/COPYRIGHT
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may o... | [
"noreply@github.com"
] | dalboris.noreply@github.com |
47df1988493eceb1fc5b8fd7a19dc6c912268173 | fb699d3a0662464f2641c496985d8c1117d2407d | /source/dsi_only.cpp | 6bfe766a2764622875e8478b76744ac41beab229 | [
"MIT"
] | permissive | cualquiercosa327/DSi-Exclusive-Template | db2e7a76246a6290e8099d3711c93a5f6bf708b0 | 83e3d6ffcf84da988d214afcb734a77603053aa2 | refs/heads/master | 2022-07-06T00:18:35.647746 | 2020-05-12T19:21:47 | 2020-05-12T19:21:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,118 | cpp | #include <nds.h>
#include "dsiOnly_top.h"
#include "dsiOnly_bot.h"
static void dsiOnly_setBrightness(u8 screen, s8 bright) {
u16 mode = 1 << 14;
if (bright < 0) {
mode = 2 << 14;
bright = -bright;
}
if (bright > 31) {
bright = 31;
}
*(u16*)(0x0400006C + (0x1000 * screen)) = bright + mode;
}
void dsiOnly(... | [
"bobesh8@gmail.com"
] | bobesh8@gmail.com |
356bf663ee632e0784ca71a9ef111fa725afa02e | 7dc1d556e8919dac7ffe4544c430c1c49b36d2fb | /src/irc.cpp | 0c55f7271f3756c38dded92e168251d85cf887e9 | [
"MIT"
] | permissive | flycoin/flycoin | 3bf01d3f54bdad0e9b57ca010fc2fde30c51a41f | ee74a15bb7552e491a5d94ca3b8f4a37bdb2bf62 | refs/heads/master | 2021-01-23T13:59:43.420595 | 2014-01-01T15:17:26 | 2014-01-01T15:17:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,520 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "irc.h"
#include "net.h"
#... | [
"musty@ubuntu.(none)"
] | musty@ubuntu.(none) |
892dfe5e8ec093144cd788aaad13731866309d5f | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/preprocessor/iteration/iterate.hpp | b5ebd83c9ff825d939c0c6b788806f0eac08c38d | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,770 | hpp | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.tx... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
ecc40872c940c914a42e316773dd70e83b3569b9 | c14aef7d2e048483e4d24318dfca5412ec01317c | /SeqList.cpp | 44a9495cac4de864e65dbe1bc42c46a91cca8af3 | [] | no_license | vzardlloo/Data-Structure | ea7fa4e972f9f8f769d08a152e1a7e3e4024afb8 | 4051526e190afe6d7933bec125b29593a7002a27 | refs/heads/master | 2021-01-17T10:22:37.227727 | 2017-03-08T06:11:20 | 2017-03-08T06:11:20 | 59,420,876 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,232 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#define MAXSIZE 100
typedef struct node{
int data[MAXSIZE];
int length;
} SeqList, * PSeqList;
//函数声明
PSeqList Init_SeqList();
int Length_SeqList(PSeqList L);
int Location_SeqList(PSeqList L,int data);
int Insert_SeqList(PSeqList L,int x,int i);
int D... | [
"Zard Loo"
] | Zard Loo |
acd3b92cc23f6d3a3876f577865531e801c29de7 | 1ce79a3264005dab0bc1aeafa068c68969968fb4 | /main.cpp | 6c916bb1a6e49be592c985a78c3574f7c9af0422 | [] | no_license | Zaknelll/USB_newdevise_detector | d708e8c0d58aea0d5bd3f3514c7773bfc91e48ce | 179fa22a0c513a1c11803d4ce1c61218ab984832 | refs/heads/master | 2023-03-25T16:51:13.152761 | 2021-03-21T22:38:23 | 2021-03-21T22:38:23 | 350,137,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,238 | cpp | #include <iostream>
using namespace std;
#include <stdio.h>
#include <usb.h>
#include <libusb-1.0/libusb.h>
#include <cassert>
bool discoverDevices();
bool is_interesting(libusb_device *pDevice);
int main() {
struct usb_bus *bus;
struct usb_device *dev;
// usb_init();
// usb_find_busses();
// usb_... | [
"ubuntu@ubuntu2004.linuxvmimages.local"
] | ubuntu@ubuntu2004.linuxvmimages.local |
d43baa2ca1258fc992234249dc839b06e8eedbc9 | 4466008d7272ebc9c8a77658b4be600c43054c9f | /provider/servers/C++/NixKrawler/hit.h | 36f6afd3ad63d08b097b1076d2ff3a5335a06e6b | [] | no_license | 15831944/IslandLinks | 1cda62bd54863640b0a35c002c92317f1867da14 | 6f0ce001709818f059984531a42b42f3a6238e51 | refs/heads/master | 2021-09-13T11:00:25.883261 | 2018-04-28T21:41:22 | 2018-04-28T21:41:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | h | #include <map>
class Hit
{
public:
Hit(std::string host, std::string protocol, std::string method,
std::string url, std::string mimeType, std::string session,
std::string contents, std::string req, std::string res,
std::string postData, std::string sourceIp, std::string destIp,
int requestSize, int resp... | [
"ekendo@ekendo.org"
] | ekendo@ekendo.org |
57712e977da6b6b2d29d24f9acb5296c9603c1da | 680440f5e59eb2157c1ecb41fd891880ac47c459 | /archive/garden.cpp | ebf8ad85fbd70e01d630e0b220da2dd55df850ae | [] | no_license | Skywt2003/codes | a705dc3a4f5f79d47450179fc597bd92639f3d93 | 0e09198dc84e3f6907a11b117a068f5e0f55ca68 | refs/heads/master | 2020-03-29T09:29:54.014364 | 2019-11-15T12:39:47 | 2019-11-15T12:39:47 | 149,760,952 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | cpp | #include<cstdio>
#include<iostream>
#include<cstring>
#include<string>
#include<cmath>
#include<algorithm>
#include<vector>
#include<queue>
#include<stack>
#include<map>
using namespace std;
#define memset_clear(_) memset(_,0,sizeof(_))
#define memset_clear_tre(_) memset(_,1,sizeof(_))
#define memset_clear_reg(_) mem... | [
"skywt2003@gmail.com"
] | skywt2003@gmail.com |
24273672ad93ac4cda6945b30d3936aa4c374a16 | bb10dba077acb492b13e6274cfc2c645790b68c7 | /src/Game/Game/Map/BattleEffect/BattleEffectE057.cpp | 40a69d7cc8a72bd900613bb6e8705353c5121374 | [] | no_license | pocarich/RPG | 177225228f40459e56a57e151ec2fc4ee4257791 | 24c437d9e6b158d3d6e3a16a6ad462840d1ee60d | refs/heads/main | 2023-08-31T09:59:52.318258 | 2021-10-31T19:11:45 | 2021-10-31T19:11:45 | 423,229,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,998 | cpp | #include"../header/BattleEffectE057.h"
#include"../header/PlayerMap.h"
#include"../header/EnemyMap.h"
BattleEffectE057::BattleEffectE057(EnemyStatus enemyStatus, PlayerMap* playerMap, list<BossMapPtr>& bossMapList, list<ObjectMapPtr>& objectMapList, list<BattleEffectPtr>& battleEffectList, list<EnemyMapPtr>& enemyMapL... | [
"pocarich@gmail.com"
] | pocarich@gmail.com |
ab20f3491c1d0f9387c9c6461404b1b232f8d75a | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/media/blink/webmediaplayer_impl.cc | ccab77a313e8aa813ffced4069645d522a2f666d | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55,825 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/blink/webmediaplayer_impl.h"
#include <algorithm>
#include <cmath>
#include <limits>
#include <string>
#include <utility>
#include "base... | [
"dummas@163.com"
] | dummas@163.com |
de87588ef0876a3f462517eb28f9eb454152c168 | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/fdk-aac-0.1.4_for_boss/libSBRdec/src/env_dec.cpp | 7a0f9b82631294419a5a82411f967f15b7b37a3e | [
"FDK-AAC",
"MIT"
] | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 32,718 | cpp |
/* -----------------------------------------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
?Copyright 1995 - 2013 Fraunhofer-Gesellschaft zur F?derung der angewandten Forschung e.V.
All rights reserved.
1. INTRODUCTION
T... | [
"slacealic@gmail.com"
] | slacealic@gmail.com |
fb1776749f554ef0da819472cc51f756262f8928 | ca43f8bdfb2f07aff8b2d8fed3207145d4cbea78 | /Code/WorkspaceB/C++ Files/CC/CHEFGR.cpp | b32b9ecce6cde5efc975b116683f92ea532128c9 | [] | no_license | prasoon16081994/CP-algorithmic-programming-database | 44313aadf2a959f374422181f9f1ccf13481e3a0 | dedaa5420eb81f72caf57f60d30e1174d2f6b232 | refs/heads/master | 2021-01-22T09:32:54.979712 | 2016-06-04T21:23:16 | 2016-06-04T21:23:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | cpp | #include <bits/stdc++.h>
#define endl '\n'
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);//FAST IO
//cin.tie(NULL);//Untie streams before submitting
int t;
cin>>t;
while(t--)
{
int n,m;
cin>>n>>m;
int a[n];
int max=-1;
for(int i=0;i<n;i++)
{
cin>>a[i];
if(a[i]>max)
{
... | [
"shreyans.sheth@gmail.com"
] | shreyans.sheth@gmail.com |
d47b981837a424e4192bd7ddf83728d7e731317e | 76179e6e34005862a3b7ac4341b6b7e342b5450d | /trunk/IA1_0/IAtmp.cpp | bf63099f495054e0f26688ef8d1bf3ae369b5f30 | [] | no_license | GuillaumeGas/Concours2014 | 60ff55887b0d279c658c27223da35224cd9aee28 | 793abb05e78d4fdf704ed688886020acd80dc28f | refs/heads/master | 2020-05-31T06:24:00.058049 | 2014-03-15T16:26:19 | 2014-03-15T16:26:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cpp | void IA::pass_rowLuck() {
if ( my_info->globalInformations().currentRoundId < 3 ) {
if ( planet.size > 0 ) {
int id = planet[0].planetId;
int nb = 0;
for ( int i = 0 ; i < my_info->globalInformations() ; i++ ) {
if ( m_distance.find ( pair< int, int >(id, i ) )->second == 1 && nb < 3 ) {
... | [
"e@e-VirtualBox.(none)"
] | e@e-VirtualBox.(none) |
8d85c27343221436fd2f17d5da830ba62a52f541 | de0a3a9b44f1149f48f48f568832a26f9aeebb0b | /src/google/protobuf/compiler/cpp/tracker.h | 9f00495291e71bc1afbbfe219c0ccb539e67c71b | [
"LicenseRef-scancode-protobuf"
] | permissive | Shopify/protobuf | 1577e7d57f51905e1839e816b812ffa3d38fcad6 | b55b834d5a7ea019bd04544f3d675ab0fc742210 | refs/heads/master | 2023-09-03T07:45:10.050389 | 2023-05-18T00:00:10 | 2023-05-18T00:03:48 | 217,115,967 | 1 | 6 | NOASSERTION | 2023-06-14T22:50:42 | 2019-10-23T17:32:55 | C++ | UTF-8 | C++ | false | false | 2,557 | h | // Protocol Buffers - Google's data interchange format
// Copyright 2022 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
3fb413175456e3d74bba9de604123674bdcbe94c | cf47614d4c08f3e6e5abe82d041d53b50167cac8 | /CS101_Autumn2020-21/Fibonacci/732_fibonacci.cpp | 6780929b607da4e22f0b9db07d53ca6328883239 | [] | no_license | krishna-raj007/BodhiTree-Annotation | 492d782dffe3744740f48c4c7e6bbf2ee2c0febd | 28a6467038bac7710c4b3e3860a369ca0a6e31bf | refs/heads/master | 2023-02-28T18:23:05.880438 | 2021-02-07T17:55:33 | 2021-02-07T17:55:33 | 299,254,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | #include<simplecpp>
main_program{unsigned long long int n,k;
cin>>n>>k;
unsigned long long int x=0,y=1,a;cout<<x%k<<endl;cout<<y%k<<endl;
repeat(n-2){a=(x%k)+(y%k);x=(y%k);y=a;cout<<y%k<<endl;}}
| [
"krishna_raj007@yahoo.in"
] | krishna_raj007@yahoo.in |
84d6bf818b5dd95c4d69a5edd3620139ef0000bc | 7fdf90b1a8c25c926bb31d1711dfde618460315b | /Source/Clem/Rendering/OpenGL/GLTexture2D.cpp | 14afb2113564ca8b544da341ab163f72ec2c3710 | [
"Apache-2.0"
] | permissive | dlnuxjy/Clementine | 18cdc2c2a49dd40afa45ac0da148a35a97dc4dc0 | 785b7ec46e0adb35f5b194bd89c3b459fe547464 | refs/heads/master | 2023-08-26T06:07:58.176754 | 2021-10-21T09:14:52 | 2021-10-21T09:14:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,996 | cpp | // Copyright 2021 SMS
// License(Apache-2.0)
#include "GLTexture2D.h"
#include "Core/Assert.hpp"
#include "GLRenderer.h"
#include <cassert>
#include <stb/stb_image.h>
#include <type_traits>
#define STB_IMAGE_IMPLEMENTATION
#include <stb/stb_image.h>
namespace fs = std::filesystem;
namespace clem
{
static std::uno... | [
"sms_school@outlook.com"
] | sms_school@outlook.com |
9778e32a0b926eb7947fcf874ac1c879a0ad2c4a | 8b965913e982a4edfe72640202ca9fdbdcb02563 | /qt5/converting.cpp | 5a21173f39a2f508dafabad9472149bb1af65970 | [] | no_license | artisdom/cpp_snippets | f13e5f737f4b3f149e07b5f1e9e011c3d440887a | b38ddb956281817076854791f07399ec6823b23f | refs/heads/master | 2020-02-26T14:38:58.448756 | 2018-01-14T01:50:52 | 2018-01-14T01:50:52 | 64,611,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | cpp | #include <QTextStream>
int main(void) {
QTextStream out(stdout);
QString s1 = "12";
QString s2 = "15";
QString s3, s4;
out << s1.toInt() + s2.toInt() << endl;
int n1 = 30;
int n2 = 40;
out << s3.setNum(n1) + s4.setNum(n2) << endl;
return 0;
}
| [
"artisdom@gmail.com"
] | artisdom@gmail.com |
74e44ed7d20de65c2e940f13b796420375ecb8a9 | 453f3c128ea5108ea585304cf844669e85883160 | /leetcode/textJustify.cpp | 84ce10b3007d55ae097d7c84512d1616e47689e5 | [] | no_license | jiangyaz/leetcode | 096f1a46cbf5f401589d2ee6b87f58cafe47432f | c187e45d51b80f64501d7493a6eb8eb01c3e5e13 | refs/heads/master | 2020-06-01T00:06:01.225396 | 2014-11-24T21:45:15 | 2014-11-24T21:45:15 | 24,919,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,170 | cpp | /* Text Justification
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that is, pack as many words as you can in each line. Pad extra spaces ' ' when necessary so that each line... | [
"jiangyaz@usc.edu"
] | jiangyaz@usc.edu |
1be5f9149086a1b978aa71071f9ee2d1efa7be65 | bc6cd18a13992f425bb97406c5c5e7e3b8d8cb03 | /src/utils/config_file.h | c5790f8cc2f01aebca58d5742224c93c6a84b062 | [
"MIT"
] | permissive | collinej/Vulcan | 4ef1e2fc1b383b2b3a9ee59d78dc3c027d4cae24 | fa314bca7011d81b9b83f44edc5a51b617d68261 | refs/heads/master | 2022-09-19T01:59:45.905392 | 2022-09-18T02:41:22 | 2022-09-18T02:41:22 | 186,317,314 | 3 | 3 | NOASSERTION | 2022-04-29T02:06:12 | 2019-05-13T00:04:38 | C++ | UTF-8 | C++ | false | false | 5,005 | h | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | [
"collinej@umich.edu"
] | collinej@umich.edu |
1ff2c452ab3980c19501d25af2dbd838be7e063c | 755532876eef55bc3a9129b8bdead2abac9d4f58 | /paths.cpp | ed16a7eaf04e6a9c549271cf27b121fd00b80d81 | [
"MIT"
] | permissive | OffBy0x01/Paths | b3c234dc2f24ae679d0b1c0d640b2d671338e059 | 41aa459fb4555a0e9ff057e97660eeba04d8b18f | refs/heads/master | 2022-06-05T14:02:40.385058 | 2017-03-31T22:58:27 | 2017-03-31T22:58:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,062 | cpp | #include <random>
#include <array>
#include <iostream>
#include <list>
#include <algorithm>
#include <vector>
#include <cstdlib>
#include <chrono>
#include <thread>
#include <list>
#include <deque>
#include <fstream>
#include <string>
// Import things we need from the standard library
using std::chrono::duration_cas... | [
"noreply@github.com"
] | OffBy0x01.noreply@github.com |
1ab83a78594bde636c97ab6b46da432b154102e6 | e32cc258f2ef26a479459aed7e70c957a087f4c8 | /src/feedlot_places.hpp | 22674e6ecd4bf1a474827a302d87d4dd3bb09bdb | [] | no_license | adolgert/feedlot | 2c1fed6d3b88d04dfe1aad5f0d45fc5a9d770eda | 11cc6f5c230d7a3496a29f980a704c6e31d8c799 | refs/heads/master | 2020-06-06T07:41:22.071746 | 2015-03-16T13:26:18 | 2015-03-16T13:26:18 | 25,177,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,600 | hpp | #ifndef _FEEDLOT_PLACES_HPP_
#define _FEEDLOT_PLACES_HPP_
struct IndividualToken
{
IndividualToken()=default;
inline friend
std::ostream& operator<<(std::ostream& os, const IndividualToken& it){
return os << "T";
}
};
struct SIRPlace
{
int64_t individual;
int64_t location;
int64_t disease;
SIRPl... | [
"adolgert@cornell.edu"
] | adolgert@cornell.edu |
c6de750af82855995d706526a12a17cc2b1a7ed0 | e824e4031cf58ed8b8727dbaf804276acad983c6 | /C++ School Work/p3/bst.h | f0183a5acd8cfd78e610e29ba157c3b734406815 | [] | no_license | bradostauffer/.github.io | 7fd80fce9b8cf9f1299d1222303d70b5d764cae0 | dab7d59e6253780952ce6a62782235bda6482948 | refs/heads/master | 2021-07-09T23:46:46.963449 | 2020-05-23T00:22:39 | 2020-05-23T00:22:39 | 193,571,306 | 0 | 0 | null | 2020-09-04T09:52:27 | 2019-06-24T20:02:50 | HTML | UTF-8 | C++ | false | false | 5,876 | h | #ifndef BST_H_
#define BST_H_
#include <algorithm>
#include <iostream>
#include <memory>
#include <utility>
#include <stack>
#include <queue>
#include <sstream>
/*
* Class definition
*/
template <typename T>
class BST {
public:
/* Return floor key in tree */
const T& floor(const T &key);
/* Return ceil key in... | [
"bwstauffer@ucdavis.edu"
] | bwstauffer@ucdavis.edu |
d5d8f9b1fea962b0296f224a5f92973b327f8179 | ddd7269232629b76285712a37d99475838f1fc6c | /src/qt/addresstablemodel.cpp | 95bdc1371675072dae1ba497622a7dfdbc5a82de | [
"MIT"
] | permissive | EmeraldMiningCo/Ebits | 25d2f3d5d995029cccdb7ae6ed5dc92a7277ee1a | 717274cad65e566012699210863e4d1a382b2331 | refs/heads/master | 2020-12-06T10:10:20.352423 | 2020-02-29T21:34:23 | 2020-02-29T21:34:23 | 232,432,283 | 7 | 5 | MIT | 2020-01-30T16:25:21 | 2020-01-07T22:50:48 | C++ | UTF-8 | C++ | false | false | 14,653 | cpp | // Copyright (c) 2011-2018 The Ebits developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/addresstablemodel.h>
#include <qt/guiutil.h>
#include <qt/walletmodel.h>
#include <interfaces/node.h>
#include <key_i... | [
"Liquid369@gmail.com"
] | Liquid369@gmail.com |
4ca475b68792a7139d4b8c75a6af1b7b40db426a | cd6b6e741a01a50d17c980b308d4f3bd900e9960 | /insert.cc | c68d2d54258b3abe1d9842794913f88435ff0433 | [] | no_license | Ryan-Downes/CSC443-A2 | 7361e4aca8f91105ed2a68eebe924067a1dc3874 | 30b1711690cde90f55a1df6ae80bcff1334fc32d | refs/heads/master | 2021-08-17T10:04:54.493234 | 2017-11-21T03:13:49 | 2017-11-21T03:13:49 | 110,466,254 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,305 | cc | #include <sys/timeb.h>
#include "library.cc"
#include <algorithm>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string>
#include <sys/timeb.h>
#include <string.h>
#include <string.h>
int main(int argc, char** argv) {
if (argc != 4) {
printf("Argument is not correct");
... | [
"jelderi1@teach.cs.toronto.edu"
] | jelderi1@teach.cs.toronto.edu |
24d0a47fd85975a1d266b344d53ae4784cc092a0 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/browser/feedback/system_logs/scrubbed_system_logs_fetcher.h | 4a97b50ad2984bd993bbd298c65f562d7db23ef4 | [
"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 | 642 | 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_FEEDBACK_SYSTEM_LOGS_SCRUBBED_SYSTEM_LOGS_FETCHER_H_
#define CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_SCRUBBED_SYSTEM_LOGS_FETCHER_H_
#... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
8b0995324a911bb3f7610cb5d715ed8d6dbb687f | 0c211081e943ca34a82d8450ee11026d67aa966b | /dialog/settingdialog.h | 7e95f28b10c3f38a54d5e0285d104d25a5989595 | [] | no_license | lel9/course-project-cg | 529ad73d21b06a164281c39b98c9da76dccf55af | 2487ac18aca953fac05367d60e6cad787dd8e25b | refs/heads/master | 2020-03-06T17:54:13.595081 | 2018-03-27T14:33:10 | 2018-03-27T14:33:10 | 126,996,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | h | #ifndef SETTINGDIALOG_H
#define SETTINGDIALOG_H
#include <QDialog>
#include <QAbstractButton>
#include "tracking/opencvfeatureparams.h"
namespace Ui {
class SettingDialog;
}
enum Button { Ok, Apply, Cansel, Unknown };
class SettingDialog : public QDialog
{
Q_OBJECT
public:
explicit SettingDialog(QWidget *... | [
"olg-199774@mail.ru"
] | olg-199774@mail.ru |
2cd9c7aa10645869ae44d9dbb8c43da9b1f35cfa | 1a1cc549631350f32927d14f43a7b21905729c60 | /iuhosszilrd_2019_146939_2.feladat.Juhos.Szilard.cpp | 632c8a84f8d63dac0d248f2272809c56e9c244b8 | [] | no_license | thec0dewriter/AlgoGI2020 | d17466b379e5073f69edae26e52deead51938532 | 1cc7a448465fb534922c687f1173d09a5c0a89ca | refs/heads/main | 2023-01-21T08:41:51.225765 | 2020-11-30T21:14:20 | 2020-11-30T21:14:20 | 317,330,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | cpp | #include <iostream>
using namespace std;
int palindrom(int a)
{
int x,fordit=0;
x=a;
fordit=a%10+a/10;
}
int main()
{
int a;
cout<<palindrom(a);
return 0;
}
| [
"kutikmatyas@gmail.com"
] | kutikmatyas@gmail.com |
7846359c7f883df9f822803d0b0d3f6b276bb14b | 074bd30006a8544046b51c2683934e6057299624 | /src/open-web-server/http_header_parser.h | 27a97765178d772933ad7d83d6cb22f517166ee2 | [] | no_license | YiannisBourkelis/open-web-server | cc3b3c41bf93cab2eed10d9f37529ece129af574 | 630faea04c02c96c03591badc4352e5d1c733585 | refs/heads/master | 2021-05-01T14:40:41.778154 | 2018-02-13T12:08:45 | 2018-02-13T12:08:45 | 121,022,605 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,332 | h | /* ***********************************************************************
* Open Web Server
* (C) 2018 by Yiannis Bourkelis (hello@andama.org)
*
* This file is part of Open Web Server.
*
* Open Web Server is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lice... | [
"eu_gr_yiannis@hotmail.com"
] | eu_gr_yiannis@hotmail.com |
01ffaceb5ea53cc661431e368f201192e744cebb | 29e0f4746626e77a69fb95097b6229f6eb649f01 | /src/spork.h | fd90bccece797885eec8867a7022f5bae92e8cd2 | [
"MIT"
] | permissive | Charitas-Developer/Charitas | eea9835874a2d8f959708f288e6c93bf508faf6f | 2056b08c8071792a99a53a112d4a39ec0e7b243e | refs/heads/master | 2020-03-22T07:49:43.357366 | 2018-07-04T15:00:55 | 2018-07-04T15:00:55 | 135,103,536 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,197 | h | // Copyright (c) 2009-2012 The Darkcoin developers
// Copyright (c) 2015-2017 The CRTA developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SPORK_H
#define SPORK_H
#include "bignum.h"
#include "sync.h"
#includ... | [
"caritadeveloper@gmail.com"
] | caritadeveloper@gmail.com |
9fef7b30f3c0549617a0ac6e56e069116adc516f | e6d52e97bc3f0881a71c48674259b0641727c2ce | /src/swichar/SWIprintf.cpp | 4ac0cc5405d33318d4dc0ca3b09a52d7f616b097 | [] | no_license | bldcm/OpenVXI | 3fe841e0dcfc434aa2624ca5d76a23c430dea6a4 | 86287f27a4509c0c4702102926a412126d5e5bdd | refs/heads/master | 2020-06-10T04:33:56.728050 | 2019-06-24T21:48:40 | 2019-06-24T21:48:40 | 193,583,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,788 | cpp |
/****************License************************************************
*
* Copyright 2000-2003. ScanSoft, Inc.
*
* Use of this software is subject to notices and obligations set forth
* in the SpeechWorks Public License - Software Version 1.2 which is
* included with this software.
*
* ScanS... | [
"cm.build@kofax.com"
] | cm.build@kofax.com |
65bc3962c371d7c56738533c0b2477ab35dbb111 | d4b46e5856a720f2a91f2765956432ee399977fb | /Candy/src/Candy/Cubes/Impl/Background.cpp | 2c00f5700d18f1fb070c67bf35a550f26eaecd72 | [] | no_license | Danvil/Darwin | 6c647f90dd714c6da756fdb386c74fc66f91b542 | 32b23e8fed350138de4f3b0312792265cbac3176 | refs/heads/master | 2021-01-19T18:14:02.672004 | 2014-07-24T21:36:56 | 2014-07-24T21:36:56 | 4,684,809 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,285 | cpp | #include "Background.h"
#include "../Cubes.h"
#include "../Rendering/CubesRenderling.h"
#include "DirectLighting.h"
#include "MCRT.h"
#include "RadiosityShooting.hpp"
#include "GroundHeightLookup.h"
#include "ExecuteInThreads.hpp"
#include <Candy/Tools/Timer.h>
#include <iostream>
#undef min
#undef max
#inc... | [
"davidw@danvil.de"
] | davidw@danvil.de |
cdab513097b3f1a28d25a3306b4f8b6704deb3f3 | 215111e92a3dfc535ce1c1ce25a35fb6003ab575 | /topics/constructive/vasya_array.cpp | 5eef5aecc09348fae25586a8c1084f9aa25c2995 | [] | no_license | emanueljuliano/Competitive_Programming | 6e65aa696fb2bb0e2251e5a68657f4c79cd8f803 | 86fefe4d0e3ee09b5766acddc8c78ed8b60402d6 | refs/heads/master | 2023-06-23T04:52:43.910062 | 2021-06-26T11:34:42 | 2021-06-26T11:34:42 | 299,115,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | cpp | #include <bits/stdc++.h>
using namespace std;
#define debbuging true
#define debug if(debbuging) cout
#define _ if(!debbuging) ios_base::sync_with_stdio(0); cin.tie(0);
#define endl '\n'
#define f first
#define s second
#define pb push_back
typedef pair<int, int> ii;
const int INF = 0x3f3f3f3f;
int main(){ _
int... | [
"emanueljulianoms@gmail.com"
] | emanueljulianoms@gmail.com |
6e9cfe96819bd5d5b1601efbf206b1b00b490cc7 | d9e51cdc48e3ae4ad950922e94fb21abbcf8aa57 | /dllmain.cpp | 6b065c68ae91a523bedabaf013f88d4e1908e3dc | [
"MIT"
] | permissive | xnti/AssaultCubeHack | a023f018d8a57f5f741b4eaa0fc89ee89acd4627 | 6e4250840c3bcb5ea08bba6360ab6d7f7f5db754 | refs/heads/main | 2023-04-19T10:58:03.135086 | 2021-05-06T04:23:24 | 2021-05-06T04:23:24 | 317,715,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | cpp | // dllmain.cpp : Defines the entry point for the DLL application.
#include "pch.h"
#include "Hack.h"
using namespace Hack;
DWORD WINAPI MainThread(HMODULE hModule)
{
//Hack::Functions* f = new Hack::Functions();
AllocConsole();
SetConsoleTitleA("anti#4444");
system("mode 73,20");
FILE* x;
freopen_s(&x, "CONOUT... | [
"cinarakaan@gmail.com"
] | cinarakaan@gmail.com |
a49b96d53d80617c5f529c036c5ab4427688fb44 | 5bd159fd522e4ab0232e3e8d35c8809f331fc08d | /tests/zcc/decl.C99/Error_typedef_enum.hpp | 76ae81d66e3607a9de451aee6d86465d23841036 | [
"BSL-1.0"
] | permissive | zaimoni/Z.C- | 5d04bca69d517b12dc7424b06510257cd16186e0 | ceef394db6b58de12db974c620bdee31dc4e5191 | refs/heads/master | 2022-10-15T10:23:32.948310 | 2022-09-25T03:57:38 | 2022-09-25T03:58:05 | 226,466,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | hpp | // decl.C99\Error_typedef_enum.hpp
// using multiply defined typedef
// (C)2010 Kenneth Boyd, license: MIT.txt
enum bad_test {
x_factor = 1
}
typedef int x_factor;
| [
"zaimoni@zaimoni.com"
] | zaimoni@zaimoni.com |
a2c21106572d646978f617b9fe3d18b2b8ba5f16 | b656ca026320980f5802810996989bda2f85ad43 | /brushTool_src/pluginMain.cpp | 97d976debf740c61acf2ae55e052a689ea6a609c | [] | no_license | spider2449/curveBrushTool | 73e4bca3b1e48db3171519a35e7ff495a28dddaf | b7433932de8c12ce3dbef8409df85e1074458c2a | refs/heads/master | 2020-04-09T22:19:22.008719 | 2018-05-24T02:04:08 | 2018-05-24T02:04:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp |
#include <maya/MFnPlugin.h>
#include "brushContext.h"
#include "brushContextCommand.h"
#include "brushTool.h"
MStatus initializePlugin( MObject obj )
{
MStatus status;
MFnPlugin plugin( obj, "jc.crystalCG", "1.0", "Any");
status = plugin.registerContextCommand("curveBrushContext",
br... | [
"jerrychinese@163.com"
] | jerrychinese@163.com |
928e78c1556dd785ab61926738cd8c4cc274f2ff | 3193fab36a50300d58d8ef5c8a5f19257573efcc | /Session1/096_Unique_Binary_Search_Tree.cpp | 0c68fbc93047983033b06ff2f7ac40cf5bf810fd | [] | no_license | truthspy/LeetCode | bf04e5e5b6bb872d781ea37f2985ef1561a393b3 | 3c1ac54a10d7cdc42ebdffad2b761c552cb93acb | refs/heads/master | 2021-01-20T18:24:46.914617 | 2016-10-23T10:53:39 | 2016-10-23T10:53:39 | 48,662,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | cpp | /*
看了答案
*/
class Solution {
public:
int numTrees(int n) {
vector<int> dp;
dp.push_back(1);
dp.push_back(1);
int i = 2;
while(i <= n) {
int tmp = 0;
for(int j = 1; j <= i; j ++) {
tmp += dp[j - 1] * dp[i - j];
}
d... | [
"qirongrong0831@163.com"
] | qirongrong0831@163.com |
7737b2475ce5485bb39aa4bbfd7b67feaed43cd1 | 5ed154a6057958aacd7b794e801e4cd8607d10e4 | /chap 5 q5 b.cpp | 9edcc6dd349854c91c16f2e7e155bc572d0c8538 | [] | no_license | nkteaching/assignment-2-Ritik55 | 61a90785bb9fbd0fe1e498f3ce5d2679ba418fa0 | 1884af2cef7c53b58455a1053f95b73ac788986e | refs/heads/master | 2021-04-22T17:43:46.089093 | 2020-03-25T02:58:31 | 2020-03-25T02:58:31 | 249,866,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | cpp | #include<iostream>
using namespace std;
void print_odd(int n)
{
if(n==1)
return;
else
{
if(n%2!=0)
cout<<n<<"\t";
n--;
print_odd(n);
}
}
int main()
{
int n;
cout<<"enter n value: ";
cin>>n;
print_odd(n-1);
return 0;
}
| [
"noreply@github.com"
] | nkteaching.noreply@github.com |
ee9f65173989198538418eeb3333db491ad96114 | 75ba0fa158ad5c33b91edf209f52a8b00ac43c33 | /algorithms/0186-Reverse-Words-in-a-String-II/186.cpp | 5d1960e0f85dd441fc9abff4df78ce00adbffa15 | [] | no_license | yumengwu/LeetCode | d0765e77d794cea7c17a85a0703635672e39fb63 | 7df4fe07b67cf687358b5892dac98a993845436b | refs/heads/master | 2020-09-14T04:45:54.905988 | 2020-06-21T21:59:53 | 2020-06-21T21:59:53 | 223,021,024 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | cpp | #include "../header.h"
class Solution {
public:
void reverseWords(vector<char>& s) {
reverse(s.begin(), s.end());
for (int i = 0; i < s.size(); ++i) {
int j = i + 1;
while (j < s.size() && s[j] != ' ') ++j;
int l = i, r = j - 1;
while (l < r) {
... | [
"yumengwu95@gmail.com"
] | yumengwu95@gmail.com |
96341e4cb3df52d940a67b0e84867fb45b9a8225 | aa2dcedc1f6885bdd7c8d179d2fd0d25f78819a9 | /src/advance/Day6/exercise/6-1/airplane.h | 615071367e99b27b9c40de4adcfe93451062b95c | [] | no_license | KEY60228/OneWeekCPP | c2986926bbb8e462cf963ef13be3ed854c0dff64 | e5f485c2f2b307182060a2286610b64b4a469ee4 | refs/heads/master | 2023-06-08T09:11:56.228189 | 2021-06-25T07:13:42 | 2021-06-25T07:13:42 | 367,567,154 | 0 | 0 | null | 2021-06-24T13:41:07 | 2021-05-15T07:24:06 | C++ | UTF-8 | C++ | false | false | 114 | h | #ifndef _AIRPLANE_H_
#define _AIRPLANE_H_
class Airplane {
public:
virtual void fly() = 0;
};
#endif | [
"Mt.mouth60228@gmail.com"
] | Mt.mouth60228@gmail.com |
394f1d43cbf7ff631051d9a6f4e890d06d6dd310 | 0acd9f4ab3318f683d3a6165cc6be253ac91a803 | /Exam (29 February 2020)/3.MemoryPool/MemoryPool.h | d24eb0464aa1bcccba29379179f4eb9e75b29df7 | [] | no_license | AleksievAleksandar/Cpp-Advanced | f2b4c68ade183d6b6bec0904e6371c2eb9e1140a | 8e48a57e33bdfbb5e6ecf54ed0e2b2892c334599 | refs/heads/master | 2023-06-09T11:24:26.872945 | 2023-06-05T13:32:29 | 2023-06-05T13:32:29 | 250,770,870 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | h | #pragma once
#ifndef MEMORYPOOL_H_
#define MEMORYPOOL_H_
#include "Defines.h"
#include "Structs.h"
class MemoryPool
{
public:
MemoryPool(const int memoryPoolSize);
virtual ~MemoryPool();
ErrorCode requestMemory(MemoryNode& outNode);
void releaseMemory(const MemoryNode& outNode);
void zeroMemoryValue(const Me... | [
"noreply@github.com"
] | AleksievAleksandar.noreply@github.com |
0e74bec9338edd3b3474d38b87ae8c8365229a9b | 8064e5f8ed51e712f8879d27f8557a278b8b4b2e | /cpp/08cpp/tv.h | 72a0cf00f3f7f30b3ac782f1b878d6e09479f6f3 | [] | no_license | shixv/test | f0549ebc5a393d5db69eb8a8e08647bf7ea6a421 | 2812d932e61b91e993f9bd19244f2371c2308549 | refs/heads/master | 2020-04-06T07:12:45.120468 | 2016-03-23T01:38:10 | 2016-03-23T01:38:10 | 49,332,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | h | #ifndef TV_H_
#define TV_H_
class Tv
{
public:
friend class Remote;
enum{Off,On};
enum{MinVal,MaxVal=20};
enum{Antenna,Cable};
enum{TV,VCR};
Tv(int s=Off,int mc=100):state(s),volume(5),
maxchannel(mc),channel(2),mode(Cable),input(TV){}
void onoff(){state=(state==On)?Off:On;}
bool ison()const{return... | [
"iamshixv@gmail.com"
] | iamshixv@gmail.com |
f268bd0776a32331904f15a632cf2eb878bbd8f9 | 04a6ec5ad14680326dc8114c368c3eebe712a36b | /treef.cpp | 3bebb92e60718b5d80e01d1abea854d374b5a60c | [] | no_license | Jensenhit/discribe-by-Cplusplus--language | dc995b6fc43178486e8c105cbba655a65b95d5be | e74ac302ca60f2109b27702066bfa55bc0a7be00 | refs/heads/main | 2023-03-04T12:55:09.953649 | 2021-02-13T11:09:50 | 2021-02-13T11:09:50 | 338,022,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,610 | cpp | #include <iostream>
#include <vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL){}
};
class Solution{
public:
vector<vector<int>> pathSum(TreeNode* root, int sum){
vector<vector<int>> result;
vec... | [
"noreply@github.com"
] | Jensenhit.noreply@github.com |
139bdbb5ca74b0f2b2c2e1eaa8128b89f9a32e21 | dc0b1da910fca8446652aabf53397531cc94c5f4 | /aws-cpp-sdk-inspector/source/model/CreateApplicationRequest.cpp | 6a3acb5adbf93b4b5a2aeee6e7ef367ba76cad24 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | capeanalytics/aws-sdk-cpp | 19db86298a6daaee59c4b9fba82acedacd658bdf | e88f75add5a9433601b6d46fe738e493da56ac3b | refs/heads/master | 2020-04-06T04:03:12.337555 | 2017-05-11T13:31:39 | 2017-05-11T13:31:39 | 57,893,688 | 0 | 0 | Apache-2.0 | 2018-07-30T16:46:55 | 2016-05-02T13:51:23 | C++ | UTF-8 | C++ | false | false | 1,547 | 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... | [
"henso@amazon.com"
] | henso@amazon.com |
9ae3ad995bea24fa65ee80ed3644025061bfc146 | b20bb8dc5dd67657007cf134422e4829f8e5bd19 | /dcmio.h | d4d585bb1b13035c4b0e680d799399ed2f576530 | [] | no_license | HuaYuan-Tseng/MQtDicomReader | 455a46bf74cea2e3dce3c364b7c04aa382744211 | 9aa5a23a4e2283d661b0975ecba75ebcae6ff8c8 | refs/heads/master | 2023-07-05T12:10:30.063257 | 2021-08-30T12:27:50 | 2021-08-30T12:27:50 | 382,757,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | h | #ifndef DCMIO_H
#define DCMIO_H
#include <QObject>
#include <QFileInfoList>
#include "dcmlayer.h"
#include "dcmdataset.h"
#include "globalstate.h"
class DcmIO : public QObject
{
Q_OBJECT
public:
DcmIO(QObject* parent = nullptr);
~DcmIO();
private:
QFileInfoList SearchFilesFromAllFolders(QStrin... | [
"soul12358@gmail.com"
] | soul12358@gmail.com |
1a169f9528be0aa8bcca9b238084060398208732 | cd40a3a8c275a859f1101423b0e48a2d335375f7 | /part2/harsh try/main.cpp | 97e588e717b5a9873708455bd107fc37bd37eb9d | [] | no_license | harsh-agarwal/Competitive_programming | 368c6ffd7e9b85a9614fb6b568cb675962c5960b | 0a3ef027af29405927709001d41dd4abb4c81acc | refs/heads/master | 2021-07-11T04:18:00.890957 | 2017-10-13T15:56:26 | 2017-10-13T15:56:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,268 | cpp | #include <iostream>
#include<math.h>
#include<iomanip>
#include<cstdio>
#include<ctime>
using namespace std;
int main()
{
//cout << "Hello world!" << endl;
//cout<<"please enter the value of N";
int t;
cin>>t;clock_t start,khatam;
float expected_value[t];
for(int k=0;k<t;k++)
... | [
"noreply@github.com"
] | harsh-agarwal.noreply@github.com |
36d858173987a7d46cb956c321f3394580fb8760 | 566c56c1d16065d6b218a84e42472b19b9082022 | /src/qt/smnc/sendmultirow.cpp | 11b6a38ed10278d988c6a13bda81aa2f2596c8b4 | [
"MIT"
] | permissive | c0de0x/src | d509e44b15043d1459f4be0cdf89b82022a4f31d | 45550875bd4e53fc6d016ef1b1ed80d7779edeec | refs/heads/master | 2023-01-04T18:31:57.240773 | 2020-10-27T10:58:53 | 2020-10-27T10:58:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,810 | cpp | // Copyright (c) 2019 The SIMPLEMASTERNODE developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "qt/smnc/sendmultirow.h"
#include "qt/smnc/forms/ui_sendmultirow.h"
#include "optionsmodel.h"
#include "addresstable... | [
""
] | |
444cb8ee6f67a914a187675f863af1737a00dd8d | e217eaf05d0dab8dd339032b6c58636841aa8815 | /IfcRoad/src/OpenInfraPlatform/IfcRoad/entity/IfcCircleProfileDef.cpp | a5d47575a1f1ec3bcf58ec298443fcce0042210d | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 3,461 | cpp | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the OpenInfraPlatform.
* \endverbatim
*/
#include <sstream>
#include <limits>
#include "OpenInfraPlatform/IfcRoad... | [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
da6b8de28b329a4a0c18fed6dc6ade825bd39403 | bb108c3ea7d235e6fee0575181b5988e6b6a64ef | /mame/src/mame/includes/m57.h | 513f7e893f95bb695bf069cbfc3cc89ac1c5d21e | [
"MIT"
] | permissive | clobber/MAME-OS-X | 3c5e6058b2814754176f3c6dcf1b2963ca804fc3 | ca11d0e946636bda042b6db55c82113e5722fc08 | refs/heads/master | 2021-01-20T05:31:15.086981 | 2013-04-17T18:42:40 | 2013-04-17T18:42:40 | 3,805,274 | 15 | 8 | null | 2013-04-17T18:42:41 | 2012-03-23T04:23:01 | C | UTF-8 | C++ | false | false | 649 | h | class m57_state : public driver_device
{
public:
m57_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag) { }
/* memory pointers */
UINT8 * m_videoram;
UINT8 * m_spriteram;
size_t m_spriteram_size;
UINT8 ... | [
"brymaster@gmail.com"
] | brymaster@gmail.com |
e3e4cf6953579b43464c81eb085888dae5618a70 | d6177e3dfeb2fc4c768148767ae84107617e545f | /include/maze.h | ae13ae475d02fb70faf5fc4bc1edbf8fb395d9b9 | [] | no_license | MathieuRH/Maze_generation_and_solving | c411d49024140646881711f1cfa15c383dc6dfe5 | 7c538f63f5fb82a5c097792d515ca68cdc3833f2 | refs/heads/master | 2021-01-06T18:06:07.242701 | 2020-02-18T18:21:29 | 2020-02-18T18:21:29 | 241,431,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,568 | h | #ifndef MAZE_H
#define MAZE_H
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/opencv.hpp>
#include <point.h>
namespace ecn
{
typedef std::pair<int, int> Pair;
class Maze
{
public:
Maze() {}
Maze(std::string _filename)
{
load(_filename);
}
void lo... | [
"noreply@github.com"
] | MathieuRH.noreply@github.com |
3d4fe1ae6cedb8b1977a927fccacc8bb363bb551 | be1410baaad74501aaa86c3c6c9a691263f14d37 | /Tools/ODE45.cpp | c8b42e8bf269d73bb5b1e0bb0b46fc25be0f6f4f | [] | no_license | paperstiger/NumericalAnalysis | d7305e014c36363d03eb0aad8d09f09479e1c8f5 | e0cfb1f07ce88ffbf79edc3a16c5bbb99a270ff7 | refs/heads/master | 2021-01-22T04:34:45.164909 | 2014-12-28T02:13:14 | 2014-12-28T02:13:14 | 25,512,473 | 0 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 23,718 | cpp | #include"ODE45.h"
#define abs(x) (((x) > 0) ? (x) : (-(x)))
double eps(double t)
{
if(t==0)
return pow(2.0, -1074.0);
else
return pow(2.0, -52.0+floor(log(fabs(t))/log(2.0)));
}
//Ησ1,2,inf-·ΆΚύ
double norm(const double* vec, int n, int type)
{
int i;
double res=0.0;
if(type==1)
{
for(i=0;i<... | [
"paperstiger@gmail.com"
] | paperstiger@gmail.com |
947c2895c840c34333b6bc5e42e8b1144accd2f9 | 2d882c9f4b3330010691ec37da86dc9b9f19131c | /001-Lua-SwitchCase/src/main.cpp | d57255ab241521720c94805b6ba35d840eca1aa0 | [] | no_license | techiesse/TopicosDeProgramacao | bedd50ebfd433eee88ae7714a670ee37728ef22d | 422a512b167ac59d69c925d3f1d85e78e5d9bc55 | refs/heads/master | 2020-09-25T11:03:13.903328 | 2019-12-05T01:52:53 | 2019-12-05T01:52:53 | 225,992,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
int oper;
double x = 2;
double y = 3;
cout << "Operacao (1:+, 2:-, 3:*, 4:/): ";
cin >> oper;
switch (oper)
{
case 1:
cout << x + y ;
break;
case 2:
cout << x - y ;
... | [
"echiesse@gmail.com"
] | echiesse@gmail.com |
1eec3e70a57467272993cf93ba6aee812126759c | ce6d35d356ba5696718abb41aa47da14b1e849a4 | /src/PIGS/buildPIGS.h | dd6e362476171a1711b5429fb524eff83129b051 | [] | no_license | lucaparisi91/qmc | 6a59993de84ce69ca52f255efebf2474d9891b22 | 238e51cdf0df367c78f5e315c52acb0350b6e184 | refs/heads/master | 2021-01-10T07:39:07.615316 | 2018-05-02T15:09:45 | 2018-05-02T15:09:45 | 47,068,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | h | #ifndef BUILD_PIGS
#define BUILD_PIGS
#include "pigs.h"
#include "pigsMover.h"
#include "PIGSpropagator.h"
#include "measuresPIGS.h"
class pigsBuilder
{
public:
typedef qmcDriver_t::configurations_t configurations_t;
typedef system_t::pos_t pos_t;
typedef system_t::geometry_t geometry_t;
typedef system_t::ran... | [
"luca.parisi91@mail.com"
] | luca.parisi91@mail.com |
716c622ad10db5e1a1049363a0f4dfcc1ddf3dc2 | 3911760a8b34f5c095bb4e9d98c151b44eca1dec | /dcgmi/Policy.h | 352cba9d58d04667ef9e3dd38d414a27e43ba683 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | APX103/DCGM | 0e02caf874d090c75768b4a4fb07e4a5c7c5dedc | 7196e004c2bb7b30e07e3437da900b4cb42ba123 | refs/heads/master | 2023-07-22T20:39:24.621421 | 2021-09-01T23:43:05 | 2021-09-01T23:43:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,594 | h | /*
* Copyright (c) 2021, NVIDIA CORPORATION. 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 requi... | [
"dbeer@nvidia.com"
] | dbeer@nvidia.com |
af76c0cc45087d0aa7e5bf5294963848d98485d6 | 0f08276e557de8437759659970efc829a9cbc669 | /tests/p19.cpp | 7aa139b9fcdb163200c98ac3524c80733b5c408a | [] | no_license | petru-d/leetcode-solutions-reboot | 4fb35a58435f18934b9fe7931e01dabcc9d05186 | 680dc63d24df4c0cc58fcad429135e90f7dfe8bd | refs/heads/master | 2023-06-14T21:58:53.553870 | 2021-07-11T20:41:57 | 2021-07-11T20:41:57 | 250,795,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | cpp | #include "pch.h"
#include "../problems/p19.h"
TEST(p19, t0)
{
p19::Solution s;
auto* res = s.removeNthFromEnd(make_list({1, 2, 3, 4, 5}), 2);
EXPECT_TRUE(eq_lists(res, make_list({1, 2, 3, 5})));
}
| [
"berserk.ro@gmail.com"
] | berserk.ro@gmail.com |
61b62700775ddabba3faf23cb34cde948a8042d2 | 0b6b7133a961f23d4c4f7915a694c1e9d60cd39e | /ENIGMAlink.cpp | 139e2830b4a28fd3fac65eb5c83af928cc5a9530 | [] | no_license | enigma-dev-historic/wxENIGMA | c471f109b161b781cfb0f099de8407a79e82c83a | e3e7c93e14ebd26aa496d5822c380898c0c02df1 | refs/heads/master | 2021-05-26T14:13:41.018593 | 2013-04-26T23:05:01 | 2013-04-26T23:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,219 | cpp | /**
* @file ENIGMAlink.cpp
* @brief Source file of the library link between the IDE and compiler.
*
* Write a description about the file here...
*
* @section License
*
* Copyright (C) 2013 Robert B. Colton
* This file is part of wxENIGMA.
*
* wxENIGMA is free software: you can redistribute it and/or modify it under
* t... | [
"robertbcolton@hotmail.com"
] | robertbcolton@hotmail.com |
f84cb6fdc0a2bf615daedc292145665781f64b74 | 1e1b3f702bdf6c0544ae27a321c8ebe605434ee4 | /Chapter12/Sample297/EnumDeviceInfo/EnumDeviceInfo.h | 8e161803187203ad02e4fd8a35413440dc95e9aa | [] | no_license | Aque1228556367/Visual_Cpp_By_Example | 63e3d67e734b7d95385a329e4a1641e7b1727084 | 41f903d8c9938e7800d89fcff31b182bfc1c4f45 | refs/heads/master | 2021-03-12T20:36:56.780300 | 2015-05-08T02:05:46 | 2015-05-08T02:05:46 | 35,171,152 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | h | // EnumDeviceInfo.h : main header file for the ENUMDEVICEINFO application
//
#if !defined(AFX_ENUMDEVICEINFO_H__E7D52A76_D56A_43CF_A3EC_6A67D01FC707__INCLUDED_)
#define AFX_ENUMDEVICEINFO_H__E7D52A76_D56A_43CF_A3EC_6A67D01FC707__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H_... | [
"1228556367@qq.com"
] | 1228556367@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.