blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8b9c6006aa1046f69c8000e30fb44a2792102c1b | 7d6aeb845b46acb61297618bb48964ee1e30a898 | /src/net.cpp | 68fd2cd726d81020bc3cf54d9f2c6b6020d72a31 | [
"MIT"
] | permissive | cactusbob/servx | 4955e7bedd98caa40636c668954016614a435c17 | 3c55a94452d60e2a74be226c8007c06ac121a12a | refs/heads/master | 2021-01-15T08:14:57.289691 | 2014-09-05T16:41:03 | 2014-09-05T16:41:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,522 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "db.h"
#include "net.h"
#include "init.h"
#include "addrman.h"
#include "... | [
"servxdev@gmail.com"
] | servxdev@gmail.com |
6e2251da220021297c4bac385af19eae7286bb45 | 24ce7a1264cb0c4bbf7b7ab904a5dc98ccc1be4e | /remove-duplicates-from-sorted-array.cpp | 24e4db2483dfa89117c5b0de01d633aa4a365097 | [] | no_license | winniez/myleetcode | 1a61019e0e254fa290faa3c85dd20019ff3c9824 | befb7ed11398e8a0ed8cd021db95bf368242a415 | refs/heads/master | 2016-09-05T20:34:17.779538 | 2014-04-06T21:42:33 | 2014-04-06T21:42:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,292 | cpp | /*
Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
Do not allocate extra space for another array, you must do this in place with constant memory.
For example,
Given input array A = [1,1,2],
Your function shoul... | [
"xinyingzengvy@gmail.com"
] | xinyingzengvy@gmail.com |
e731b94bbdf7ed8d1c09ab1893c8184d150d4c30 | 325fae56f508c58240dd3c048bf30cbd3ead770a | /알고리즘스터디1/크레인 인형뽑기 게임.cpp | f15e3d598d7769f58cb5c080ddb76a40fa6a0d9a | [] | no_license | LeeJongbokz/algorithmstudy | be283ce06a3b41da8064d84ecf855fc8e7562892 | c61f5db9f322d5692056727b417c1bc0d1f54c91 | refs/heads/master | 2021-07-17T09:51:24.417282 | 2020-10-20T15:03:18 | 2020-10-20T15:03:18 | 222,414,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 995 | cpp | // 20분
#include <string>
#include <vector>
#include <stack>
using namespace std;
int solution(vector<vector<int>> board, vector<int> moves) {
int answer = 0;
stack<int> stk;
int len = board.size();
for(int i=0; i<moves.size(); i++){
int pos = moves[i];
for(int... | [
"noreply@github.com"
] | noreply@github.com |
a61a11917cff719594afa117f9411279a6165df8 | 160c7994b8c6fbd0c08428d5cc4f8ab41fb1e9d9 | /AlgTheory1/Assignment1/insint.cpp | 6df6c85ae581152f3052682845ed879528c984a9 | [] | no_license | CPlummer35/Fall2020 | a64c4a12357fd203142034601de4d83d64090aea | 6c34b03ad7d8f628c21dde9e5a3105ef6f1ffe49 | refs/heads/master | 2022-12-27T01:37:32.325450 | 2020-10-09T23:37:07 | 2020-10-09T23:37:07 | 293,879,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,828 | cpp | #include "IntIndColl.h"
#include <iostream>
#include <chrono>
using namespace std;
IntIndColl::IntIndColl(int sz)
{
size = sz;
collection = new int [sz];
}
IntIndColl::~IntIndColl()
{
delete [] collection;
}
void IntIndColl::store(int index, int value)
{
if((index < 0) || (index > size-1))
{
... | [
"caidenplummer@caidens-mbp.home"
] | caidenplummer@caidens-mbp.home |
36651fef876914b18cbf1f441839819f3e1bd6ce | df7ae7e3ee327a42a5a14bc74c5ff6e3ebd80c4d | /test/Hh_test.cpp | e52279a7d1def585df2222e24f7e9e73b0d109f2 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | MichaelZhou-New/Mesh-processing-library | 246dcaf801dc787d34fe5a2a1b90b5326564b709 | aa8c952fbbb00774008060767650b821bf72fa10 | refs/heads/master | 2023-08-25T07:32:31.031032 | 2021-10-29T01:18:54 | 2021-10-29T01:18:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,851 | cpp | // -*- C++ -*- Copyright (c) Microsoft Corporation; see license.txt
#include "libHh/Hh.h"
#if defined(_WIN32)
#include <process.h> // _spawnvp()
#endif
#include "libHh/Advanced.h"
#include "libHh/Array.h"
#include "libHh/FileIO.h"
#include "libHh/Geometry.h"
#include "libHh/Random.h"
#include "libHh/RangeOp.h" // ... | [
"hhoppe@gmail.com"
] | hhoppe@gmail.com |
0c774c3c074ce0cf7545d96da41fa18077db459d | 5fccc73aa011640d86b6f1f2aeba3780bdcdffa3 | /lc237_delete_node_in_a_linked_list.cpp | 8641885b72e8195e884b64284d2a130da484022b | [] | no_license | akankshapatel/competitive_programming | e0436b7bfec9698a3dc65d9e9a0e1d7c2da56f1a | 1e38470b3c700a79522efa4efcdec617b685a98a | refs/heads/master | 2020-04-01T15:29:53.061764 | 2018-11-01T11:25:53 | 2018-11-01T11:25:53 | 153,339,472 | 0 | 0 | null | 2018-11-29T12:32:11 | 2018-10-16T19:05:32 | C++ | UTF-8 | C++ | false | false | 353 | cpp | /***
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
void deleteNode(ListNode* node) {
ListNode *n = node;
n->val = n->next->val;
n->next = n->next->nex... | [
"90akankshapatel@gmail.com"
] | 90akankshapatel@gmail.com |
836569e062e17b551d177f41a3b77487bb464f39 | 67bb53bfc7bd0dcb23e26c37ba42f6f1236ec7de | /dependencies/TinyTest/TinyAssert.cpp | 7d81c3e0e55b0056b4168eaad4719ba1d6b8cb61 | [
"MIT",
"Unlicense"
] | permissive | anylee2021/xo | f633629a790e52942dd66a3352e7166a3b80255c | 575429591c166cc70db60385d2a6563d0f9bc9ed | refs/heads/master | 2022-03-28T00:08:51.689420 | 2018-07-04T07:31:31 | 2018-07-04T07:31:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,312 | cpp | #include <stdio.h>
TT_UNIVERSAL_FUNC bool TTIsRunningUnderMaster()
{
#ifdef _WIN32
#ifdef _UNICODE
OutputDebugString(GetCommandLine());
//printf( "IsRunningUnderMaster? %d\n", wcsstr( GetCommandLine(), L" test =" ) != nullptr );
return wcsstr(GetCommandLineW(), L" test =") != nullptr;
#else
return strstr(GetComman... | [
"rogojin@gmail.com"
] | rogojin@gmail.com |
960a8d252560aca25cc1863fbe03af5b96675ec7 | b1d5436bae6f8d85e2700d762a06b0e53f3905fe | /hackerearth/DP/vaitowers.cpp | 25d0aeb37d4cbfce2c9bd1eb5c49104b59e49a90 | [] | no_license | Hrithvik-Alex/competitive-programming-problems | 23044103ed935c6f62cb9e317f108e0fe1d19a45 | 34e3138df8a2375355af9ba5c5594291c9d6a402 | refs/heads/master | 2021-07-14T22:37:12.544771 | 2020-08-25T07:43:59 | 2020-08-25T07:43:59 | 163,223,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <stack>
#include <climits>
#include <cmath>
#include <utility>
#include <algorithm>
#include <unordered_map>
#include <unordered_set>
#include <queue>
#define pb push_back
#define mp make_pair
#define ii pair<int, int>
#define ll long long
#define forn(i... | [
"halex623@gmail.com"
] | halex623@gmail.com |
e5c3bec580c9a7ec6bf1eddc7b76d721b87e5e5e | cbd7f17ec8e983e3f302aa3c9a4c5bd676789bef | /code/steps/source/model/model_var_table_test.cpp | 69feb38205cb1b706d666182fe0d13fe23503ff5 | [
"MIT"
] | permissive | yuanzy97/steps | 477bce28a11c8e5890f27bb56490f3b80b343048 | 139193a9c84ad15e342f632ac29afac909802b78 | refs/heads/master | 2023-04-29T10:00:13.987075 | 2022-04-13T13:08:17 | 2022-04-13T13:08:17 | 256,682,978 | 0 | 0 | MIT | 2020-04-18T06:13:20 | 2020-04-18T06:13:20 | null | UTF-8 | C++ | false | false | 1,958 | cpp | #include "header/basic/test_macro.h"
#include "header/model/model_var_table_test.h"
#include "header/basic/utility.h"
#ifdef ENABLE_STEPS_TEST
using namespace std;
MODEL_VAR_TABLE_TEST::MODEL_VAR_TABLE_TEST()
{
TEST_ADD(MODEL_VAR_TABLE_TEST::test_clear);
TEST_ADD(MODEL_VAR_TABLE_TEST::test_add_get_variable_na... | [
"lichgang@sdu.edu.cn"
] | lichgang@sdu.edu.cn |
3c40e9e32ca5b5716eb6aaf999d188d7e552b4de | 7fe3e44cf771a7a811890a7d2ac78ed6708ddedf | /Engine/source/lighting/common/blobShadow.cpp | dd19df091e15d4e536ab1846716a8f4c45a6fb3a | [] | no_license | konradkiss/meshloop | 988ee721fb6463fbfece183c70f678c047215dd5 | 25b98ce223d21e232593a6c4dc2d6d863aace02c | refs/heads/master | 2021-03-19T13:36:21.104735 | 2015-05-21T13:00:55 | 2015-05-21T13:00:55 | 36,012,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,399 | cpp | //-----------------------------------------------------------------------------
// Torque 3D
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
#include "platform/platform.h"
#include "lighting/common/blobShadow.h"
#include "gfx/primBuilder.h... | [
"konrad@konradkiss.com"
] | konrad@konradkiss.com |
da6d8edef83c6966a23ecd82a956cbd0202de251 | 9dc0fa3d2fb4cafe03f2c37993296ccfc00a9f10 | /多进程Cookie共享调研/HookCookieTest/HookCookieTest.h | 330d926e95314b39939d2509eb97e71ed04df54a | [] | no_license | 15831944/OtherCode | 129a4510a1deb829a3200b0e2950e59515bb4eb6 | 531041387408d0cf4d7f16f7455d2bc458e9749a | refs/heads/master | 2021-05-30T10:30:53.182541 | 2016-01-17T13:36:19 | 2016-01-17T13:36:19 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 566 | h |
// HookCookieTest.h : HookCookieTest 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
// CHookCookieTestApp:
// 有关此类的实现,请参阅 HookCookieTest.cpp
//
class CHookCookieTestApp : public CWinApp
{
public:
CHookCookieTestApp();
// 重写
publi... | [
"cugxiangzhenwei@sina.cn"
] | cugxiangzhenwei@sina.cn |
9bdaec23ebbec23068b9d3dad20b4071a2eeced5 | d02b0e249d0bc953882d636d199bbdaad7e58784 | /lab2_oop_ispravlenie/lab2_oop_ispravlenie/lab2_oop_ispravlenie.cpp | 74375023d4d142a1da3e88b994c9f613fa628757 | [] | no_license | nikolasj/lab_C2 | a89f65361db4567c748d211799c2de4ff0a5440e | bce278f784b6f444f5f23ebd0261c0b9f7ba82ee | refs/heads/master | 2021-01-22T17:33:41.265699 | 2016-05-28T15:05:29 | 2016-05-28T15:05:29 | 59,892,762 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 14,756 | cpp | #include <iostream>
#include <fstream>
#include <iomanip>
#include <stdlib.h>
#include <stdio.h>
#include <string>
#include <map>
#include <vector>
using namespace std;
class SuppBase
{
public:
virtual int Get() = 0;
};
class SuppFile :public SuppBase
{
FILE *fp;
public:
SuppFile(char* filename)
{
fopen_s(&fp, f... | [
"nicolas_jusev1989@mail.ru"
] | nicolas_jusev1989@mail.ru |
81b6a5434dfa1b0be107c2b564cc23b0a8f5ed04 | 673766b4d72a4cbf4a2ad565170e0b1c4deed34c | /CGL/build-assign-b3-Desktop-Debug/moc_mainwindow.cpp | 761f8f25448dcef96d4d3a3ea3b74df535ea60e3 | [] | no_license | anuraagshankar/21340 | dedcbbd5aae6710cc6033aaf85f5e1149e9fa659 | 964ebc6bdfebea0732484bb16f988f87157f484e | refs/heads/master | 2021-05-17T03:50:17.800334 | 2020-03-11T10:15:01 | 2020-03-11T10:15:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,945 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"mufaddal.d.786@gmail.com"
] | mufaddal.d.786@gmail.com |
515c0fc268b7b3b40f9d299804d2fe37533f8f8d | fb4055c793b34c73aa8c549b622fe223ec2d25f8 | /zhang/ShortestPath/main.cpp | 73cd1c91f0f1ac254511bc7b4cb54e907e38a0ba | [] | no_license | HapCoderWei/DataStructure | 5df23cc9b7529adfd6b835841fcb788c2bfd1eaa | 8e59189426af80f17d98849e057f0d60acd48ce4 | refs/heads/master | 2021-01-15T11:40:52.482167 | 2015-07-27T05:22:52 | 2015-07-27T05:22:52 | 38,225,956 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 5,918 | cpp | /*****************************************************/
/* 产生迷宫,并找到迷宫的最短出路长度
/* 输入:迷宫的规模,以房间数限定。现
/* 在程序只能支持规模Row,Col <= 4的迷
/* 宫,若超过,将无法得到结果。
/*****************************************************/
#include "Cie2DGraph.h"
using namespace Cie2DGraph;
#include <stdio.h>
#include <stdlib.h>
... | [
"taihengw@gmail.com"
] | taihengw@gmail.com |
09c48475153d25da4c5936a1d153e7fbd6be9c0b | be83e928018e705067ae1ad379ed74c52c5c63ba | /string类/string子串.cpp | 3e22fb5e0e5946851b7eb8c584493016e8f42bb8 | [] | no_license | concurs-program/C-plus-material | 461838e43c1357d4321e4f672d39e07ef15da36c | df4984c1a2b1db70ce8dbf4bcdb8fc1a8f4f2209 | refs/heads/main | 2023-06-17T19:10:03.646663 | 2021-07-10T04:36:34 | 2021-07-10T04:36:34 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 732 | cpp | //string子串
//功能描述:
//从字符串中获取想要的子串
//函数原型:
//string substr(int pos = 0 , int n = npos)const;//返回由pos开始的n个字符组成的字符串
//总结:
//灵活地运用求子串功能,可以在实际开发中获取有效的信息
#include<iostream>
using namespace std;
#include<string>
void test01()
{
string str = "abcdef";
string substr = str.substr(1, 3);
cout << "sub str ... | [
"noreply@github.com"
] | noreply@github.com |
17359755203c15e59dc8c4f43cb20ba6bb3968a8 | 469d3bf96df9abdd50a7c2cafbcc312610da16a5 | /C语言/实验/程序/1161.字符串长度(指针).cpp | a56d61621d016411a9dd282c6acc2d0af2acce7f | [] | no_license | myqcxy/Freshman | f104b0158ff2fa1248b6e5cf34cfdd37fce122a7 | c998b2e49a51784e5254afa280c1350497edfc0b | refs/heads/master | 2020-03-16T02:59:29.457006 | 2018-05-07T15:11:27 | 2018-05-07T15:11:27 | 132,477,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include<stdio.h>
int main()
{
int len(char *sp);
char a[100];
int i;
for(i=0;a[i-1]!='\n';i++)
{
a[i]=getchar();
}
printf("%d", len(a));
return 0;
}
int len(char *sp)
{
int i=0, d=0;
while(sp[i]!='\n')
{
if(sp[i]!=' ')
d++;
i++;
}
return d;
}
| [
"1123668642@qq.com"
] | 1123668642@qq.com |
03dfde2219605454f06d18ae5160a6e6b166d254 | 6f25c6660e770db7aa6c917834fa87ff3c784af3 | /cocos2d/cocos/editor-support/cocostudio/ActionTimeline/CCFrame.h | c049eebd660b721097a88a3ff5694a0571bdb71e | [
"MIT"
] | permissive | lfeng1420/BrickGame | 7c6808f7212211ad7dc12592063e505c95fdfadb | e4961a7454ae1adece6845c64a6ba8ac59856d68 | refs/heads/master | 2020-12-11T08:50:19.812761 | 2019-10-11T15:06:59 | 2019-10-11T15:06:59 | 49,433,572 | 42 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 8,254 | h | /****************************************************************************
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 without res... | [
"lfeng1420@hotmail.com"
] | lfeng1420@hotmail.com |
e890ece4121e8d44baaa9b3144dffd3352349a82 | 2ba9766e217d52050c6886b90f376d99fb9f720a | /lib/Script.cpp | 118f12a908a753ea05278d8f5917f68a83896c77 | [] | no_license | agkn/HydroLib2 | 58df941a88f7a5cd18bdb885f294b3d7737e7eda | 12744190c67f0c573cc661ca2cab7c51db16d136 | refs/heads/master | 2020-05-17T14:04:13.797295 | 2019-05-18T22:45:42 | 2019-05-18T22:45:42 | 183,754,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | cpp | //
// Created by Andrey on 17.04.2019.
//
#include "Script.h"
#include "Operation.h"
Script::Script(Context &mContext) : mContext(mContext) {}
bool Script::execute() {
mOpQueue.reset();
while(mOpQueue.prepareStatement()) {
mStack.clear();
while(mOpQueue.inStatement()) {
auto op =... | [
"nsgithub@agk.nnov.ru"
] | nsgithub@agk.nnov.ru |
08854aea06133629b47af907e92007c60e4b94ee | c609db73f771d2eebaa8342e7521cac21941e01f | /LBFGSB.cpp | bbab08b8efb640b9a67e09a6bbbcb1b7a6a2e077 | [
"Apache-2.0"
] | permissive | CJZheng91/L-BFGS-B | c6da57cece09c5fe0d4c2bd4b42a5c98018e12d2 | 570aae5eede74199449044e62917f5035c4390d6 | refs/heads/master | 2020-03-09T07:58:14.191483 | 2018-04-08T20:09:00 | 2018-04-08T20:09:00 | 128,677,726 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,598 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <Eigen/Dense>
#include <iomanip>
#include <cmath>
#include <math.h>
#include <float.h>
#include <algorithm>
#include "ANN.cpp"
using namespace Eigen;
MatrixXd getTril(MatrixXd& mat) {
MatrixXd tril = mat.triangularView<Lower>();
fo... | [
"noreply@github.com"
] | noreply@github.com |
6284605a9444c1b224f10f69934e10d957ef10e6 | a6d17a948329dae44d5041d57d7220f9c8a4a2f5 | /src/qt/bitcoin.cpp | b32cc2bb884a8492a8735f044c148b263b181b96 | [
"MIT"
] | permissive | azadbharti32/azadcoin | cc5dae233f12c6d7130b7c101210f6252d6c15e7 | 4f83f8c4d5573c4099b4c03771964f2afafde605 | refs/heads/master | 2020-03-12T22:06:03.477123 | 2018-04-24T11:15:42 | 2018-04-24T11:15:42 | 130,840,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,782 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <QApplication>
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#... | [
"azadbharti32@gmail.com"
] | azadbharti32@gmail.com |
8d981436aff02b65b29ccef4d5f8c23afdccd956 | 74c3b02b5baed311cc5cb8cbe59edcb140885b06 | /2.DataStructure/8.Graph/1.DFS/findTheMotherVertex.cpp | 33db4289035466ee9b2f13827c83a939ced4d86d | [] | no_license | paresh113/CodeIsLifeOrLifeIsCode | 4810c8ba953d1c763a8240693e182b6e5155d641 | 0f2bfb43f7393b812b147370c0b83aa70533f418 | refs/heads/master | 2023-01-20T14:36:19.745624 | 2020-11-30T14:05:07 | 2020-11-30T14:05:07 | 314,968,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | cpp |
#include<bits/stdc++.h>
using namespace std;
int vis[100];
vector < int > v[100];
/// my approach (I don't know it is right or wrong )
int main() {
int n,e; cin >> n >> e;
memset(vis, 0 , sizeof(vis));
for(int i =0; i < e; i++){
int x,y; cin >> x >> y;
v[x].push_back(y);
vis[y] = ... | [
"31143249+paresh113@users.noreply.github.com"
] | 31143249+paresh113@users.noreply.github.com |
a2dd443639d6356a25e33ea04f7b3d05ea3d9f88 | b4e078e6689b51f16ccc3acbdbecc24f9f97453f | /MEKD/src/MEKD.cpp | 9a66c98185de15467a622688689f8ebaafeb86cc | [] | no_license | clemencia/HiggsAnalysis-ZZMatrixElement | 1d54a75f7fcd8b13e974f3cf9efc9e7650d8d789 | 0d57a9f2579aa42f7b38c666347b6be7263b86d0 | refs/heads/master | 2020-12-25T17:03:53.782312 | 2015-01-19T19:55:22 | 2015-01-19T19:55:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,341 | cpp | /*************************************************************************
* Authors: MEKD fans
* More info: http://mekd.ihepa.ufl.edu
* Contact: mekd@phys.ufl.edu
*************************************************************************/
#ifndef MEKD_MEKD_cpp
#define MEKD_MEKD_cpp
/// MEKD header
#include "../... | [
"odysei@gmail.com"
] | odysei@gmail.com |
2816746772e1c0ad2596a6b2692c05abbc308be4 | 9cfe1a3a1a9405381007ee35ac2e94c06f129a36 | /cses/Graph/panetandkingdoms.cpp | eed206228bfe2a3cb0640bf5014ef59d61a58f61 | [] | no_license | Sameer-Mann/codes | dffac04cd525eb38e0f07e148973442105152662 | 6d4a3199cf520f26dcbd5b47b292e3764d2e3514 | refs/heads/master | 2021-06-19T08:38:01.734014 | 2021-06-17T10:22:35 | 2021-06-17T10:22:35 | 211,327,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,100 | cpp | #include <bits/stdc++.h>
using namespace std;
template<class L, class R> ostream& operator<<(ostream &os, pair<L,R> P) {return os << "(" << P.first << "," << P.second << ")";}
template<class T> ostream& operator<<(ostream &os, vector<T> V) {for(auto v : V) os << v << " ";return os<<"";}
template<class T> ostream& opera... | [
"noreply@github.com"
] | noreply@github.com |
57a31bb2bf8e0e3714676223884c675b08ab4160 | b99807bb82a1470131179288bb48013e33b4fc52 | /pages/campage.cpp | 8849a422a6259955cafc39b2380a792f7a1e97ae | [] | no_license | Abbath/P | d4a11cec7811f279bfafa803ca2524f3eb34cb40 | 06e241f3c839c82afb94e4404f60471b86a309fb | refs/heads/master | 2021-01-13T00:42:44.328434 | 2015-10-30T11:05:02 | 2015-10-30T11:05:02 | 45,244,126 | 0 | 1 | null | 2015-10-30T11:05:02 | 2015-10-30T10:17:32 | C++ | UTF-8 | C++ | false | false | 827 | cpp | #include "campage.hpp"
#include "ui_campage.h"
#include "../modelingwizard.hpp"
/*!
* \brief CamPage::CamPage
* \param parent
*/
CamPage::CamPage(QWidget *parent) :
QWizardPage(parent),
ui(new Ui::CamPage)
{
ui->setupUi(this);
setTitle("Set camera angles");
registerField("CamX", ui->camx);
}
/*... | [
"pitongogi@gmail.com"
] | pitongogi@gmail.com |
132b979b32f7c5ae0f2aa419719537bdaaa307a3 | af542fcd4b2e2651186cb85fc4a33002754d4f17 | /Sorts/main.cpp | cccf52ede61e91f01fc6bc38bcebc110ef7f4dfb | [] | no_license | adamplansky/EFA | 9b435185f7b6243703e6572163e12c1307ac6595 | b48ed0cf49e3822a51a1d4c9f12f44f517dad918 | refs/heads/master | 2021-01-10T21:59:39.263579 | 2013-10-30T14:10:33 | 2013-10-30T14:10:33 | 13,339,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,171 | cpp | #include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstdlib>
//created by Adam Plánský
//mail: adamplansky@gmail.com / plansada@fit.cvut.cz
using namespace std;
static void Merge(int * A, int * B, int low, int high, int half) {
int i, j, k;
k = i = low;
j = half + 1;
while (1) {
... | [
"adamplansky@gmail.com"
] | adamplansky@gmail.com |
ec2492d0ae73dec2bcfd9c9d0b8410ac5a80b145 | 86335b6931191122dfbffd7bb5b2c534feae9cc9 | /drake/systems/feedback_system.h | 92a9cace38dc78d32ccc91441af0b5a40a0a0feb | [
"BSD-3-Clause"
] | permissive | mit-gfx/drake | c3c5ac6b98be4a368a4b1ea14a88d1e2615e287c | 12f125d490196af581cf54f2787dd76350f8e95a | refs/heads/master | 2021-01-14T12:56:54.192325 | 2016-04-08T04:23:30 | 2016-04-08T04:23:30 | 53,687,538 | 0 | 1 | null | 2016-03-24T20:59:30 | 2016-03-11T18:18:28 | C++ | UTF-8 | C++ | false | false | 5,402 | h | #ifndef DRAKE_SYSTEMS_FEEDBACK_SYSTEM_H_
#define DRAKE_SYSTEMS_FEEDBACK_SYSTEM_H_
#include <memory>
#include "drake/core/Core.h"
#include "drake/systems/System.h"
namespace Drake {
/** FeedbackSystem<System1,System2>
* @brief Builds a new system from the feedback connection of two simpler
* systems
* @concept{sys... | [
"david.german@tri.global"
] | david.german@tri.global |
91f3a592db9b273f91eefc096baa6dd1d3e08117 | 8cc308764bf49ce8fc79f968e0cb9f9f4a65d28d | /FALL 2020/CSE 201/src/inheritence/inheritence_II/Shape.h | 8bc833d8863386616507457875242a978bd5d78b | [] | no_license | SatyakiDas/ulab_course_materials | 3ca19497bee4c8ee4b34f7daf83553d476e5c076 | 9a2d3bcc05affcdf0bfccb6a9e8ba544e4d91d11 | refs/heads/master | 2021-06-26T00:48:35.290102 | 2021-03-10T19:47:30 | 2021-03-10T19:47:30 | 219,327,714 | 1 | 1 | null | 2020-02-12T16:01:54 | 2019-11-03T16:08:43 | C | UTF-8 | C++ | false | false | 259 | h | #ifndef SHAPE_H
#define SHAPE_H
class Shape
{
public:
void setWidth(int w)
{
width = w;
}
void setHeight(int h)
{
height = h;
}
protected:
int width;
int height;
};
#endif // SHAPE_H
| [
"satyakidaslesnar@gmail.com"
] | satyakidaslesnar@gmail.com |
06bc9318877e240a0fe3803b2fbeb187d1a3de70 | 54712055a7718fce947a5436733f7c38a4ed0edd | /sources/OpenDialog/OpenFileState.cpp | 3d8786d233c4f84b503dfb478b993e5ab0480677 | [
"MIT"
] | permissive | podgorskiy/TinyFEM | 05e5b4e771c1d9488a750219b811d8b8c15d3d61 | c1a5fedf21e6306fc11fa19afdaf48dab1b6740f | refs/heads/master | 2016-09-08T01:38:44.224860 | 2015-10-27T12:16:53 | 2015-10-27T12:16:53 | 39,758,930 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 896 | cpp | #include "OpenFileState.h"
#include "OpenDialog.h"
OpenFileState::OpenFileState(){};
void OpenFileState::SaveFile(bool as)
{
if (IsSomeFileOpened() && !as)
{
//save file
}
else
{
OpenSaveFileDialog od;
od.CreateOpenFileDialog("Input file (*.inp)|*.inp||", true);
if (od.OpenSucceeded())
{
m_openedFil... | [
"stanislav@podgorskiy.com"
] | stanislav@podgorskiy.com |
994d6134e3bae3c95d37d2b682a9a078c0b10ba8 | c4675ff57cc727fd4dfdb56759a14a9fb8cf040b | /myzoomer.cpp | b81a5dd842a67e3af761ab169d3195d725914a66 | [] | no_license | sanlav89/signalmonitor | f5caa03574e42e5c819ae8e7d94c981dd4e7afb4 | 3c46e20ee329746461f8a82d8fac8a38a99a95b9 | refs/heads/master | 2023-08-22T17:06:15.473806 | 2021-10-18T12:59:52 | 2021-10-18T12:59:52 | 416,745,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | cpp | #include "myzoomer.h"
#include <qwt_plot.h>
#include <qwt_scale_div.h>
MyZoomer::MyZoomer(
QWidget *canvas,
bool doReplot
) :
QwtPlotZoomer(canvas, doReplot)
{
}
void MyZoomer::rescale()
{
QwtPlot *plt = plot();
if ( !plt ) {
return;
}
const QRectF &rect = zoomStac... | [
"sanlav89@mail.ru"
] | sanlav89@mail.ru |
5a0b38e3aa3081850c378be00a60c4eac41b2809 | 49f88ff91aa582e1a9d5ae5a7014f5c07eab7503 | /gen/services/device/public/mojom/wake_lock_provider.mojom-shared.h | 0f3fe366dcd3926373618b5fcf04c43eedb93ea9 | [] | no_license | AoEiuV020/kiwibrowser-arm64 | b6c719b5f35d65906ae08503ec32f6775c9bb048 | ae7383776e0978b945e85e54242b4e3f7b930284 | refs/heads/main | 2023-06-01T21:09:33.928929 | 2021-06-22T15:56:53 | 2021-06-22T15:56:53 | 379,186,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,357 | h | // Copyright 2016 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 SERVICES_DEVICE_PUBLIC_MOJOM_WAKE_LOCK_PROVIDER_MOJOM_SHARED_H_
#define SERVICES_DEVICE_PUBLIC_MOJOM_WAKE_LOCK_PROVIDER_MOJOM_SHARED_H_
#include ... | [
"aoeiuv020@gmail.com"
] | aoeiuv020@gmail.com |
6cffe80fadced82ef75c1f15db668bf180dd93b1 | 3df3cb75557e76fec1e12eb4e9ba3432be335131 | /example/zsummer_server/header.h | b8da361d9b047a6ee6866444ae737edae8c1e3ce | [
"MIT"
] | permissive | byteman/zsummer | 8fa5ed0229fadea3a48fb8b930b68d2c612b470e | c29b198b7465aa72b234ffdd03a9a280695b9825 | refs/heads/master | 2021-01-17T14:28:23.977588 | 2013-10-19T17:32:49 | 2013-10-19T17:32:49 | 14,034,918 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,635 | h | /*
* ZSUMMER License
* -----------
*
* ZSUMMER is licensed under the terms of the MIT license reproduced below.
* This means that ZSUMMER is free software and can be used for both academic
* and commercial purposes at absolutely no cost.
*
*
* ================================================================... | [
"yawei_zhang@foxmail.com"
] | yawei_zhang@foxmail.com |
0b94b8fe680805d52ed25bd1205e9487144681b8 | 98467a490e745fbf6d49c8427954e6c4481e32da | /include/io.h | 6495828e405d5c4bbf7389158c5bf1738dec1f59 | [] | no_license | elucent/collections | a6d62ed3d57f7900c1f53bebe6342cc17d9d210d | 18f6ebbe48244cf2bdc6f6fa3d1be4332491c42e | refs/heads/master | 2022-11-23T20:11:16.744196 | 2020-07-27T08:48:57 | 2020-07-27T08:48:57 | 282,843,196 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,910 | h | #ifndef BASIL_IO_H
#define BASIL_IO_H
#include "defs.h"
#include "stdio.h"
class stream {
public:
virtual void write(u8 c) = 0;
virtual u8 read() = 0;
virtual u8 peek() const = 0;
virtual void unget(u8 c) = 0;
virtual operator bool() const = 0;
};
bool exists(const char* path);
class file : pub... | [
"elucent@users.noreply.github.com"
] | elucent@users.noreply.github.com |
d7ccf6df9696cadf180b816229849e7033b3aa82 | ca4692eb630702ec3ff206c82d0578e55bd43428 | /Algorithms_DataCollection.h | 66bb991bb488509c499da32d11fc3b46c9b43230 | [] | no_license | kejjon/all-sort-of-operation-with-matrices | 9c5bdfc9e8a931fb27b35a4cea90e92d316db2c1 | 4d93caf1efcbcc5c40e5a20e0506a40feaeaed51 | refs/heads/master | 2020-04-24T20:49:41.048568 | 2019-02-23T20:09:22 | 2019-02-23T20:09:22 | 172,257,128 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,665 | h | #ifndef _ALGORITHMS_h_
#define _ALGORITHMS_h_
// Header for all algorithms used to manipulate the data.
#include "Matrix.h"
#include "SquareMatrix.h"
#include "DiagnalMatrix.h"
#include <iostream>
#include <cassert>
#include <climits>
#include <vector>
#include <string>
using namespace std;
//------------------------... | [
"kejsi.rona@gmail.com"
] | kejsi.rona@gmail.com |
ba56d8de6b65986cf8c34f25113710a1e6b38093 | 03c2b8fe97f7b2cf14e6392288bbff4ec8f973c9 | /Lab/Lab08/src/LocationContent.h | bb0b48f6c6f95d51afc90979a00e6283d82bf501 | [] | no_license | Chuncheonian/DataStructure | c6e69d6a05f6def688b1b8d2e3c308de2902b3af | 63467b6ffe2a8e5b392b50c64fdc83df179bdebb | refs/heads/main | 2023-01-23T19:27:08.304820 | 2020-12-04T11:25:11 | 2020-12-04T11:25:11 | 301,158,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,101 | h | #pragma once
#include <iostream>
#include <string>
using namespace std;
#include "MultimediaContent.h"
#include "SortedList.h"
#include "SortedSinglyLinkedList.h"
#include "BinarySearchTree.h"
/**
* Location information class.
*/
class LocationContent{
protected:
string m_location; // Location Name (... | [
"ehddud2468@khu.ac.kr"
] | ehddud2468@khu.ac.kr |
26537c9c37583a5f7ebd8c19c9eb820a84fdfe7d | 4b0a48044ebc997336c4782ac2eb263515362d52 | /network/wlan/WDI/PLATFORM/NDIS6/new.cpp | 5b7eaf2ba85304538bc652084661cb9c52ea3619 | [
"MS-PL"
] | permissive | girishpattabiraman/Windows-driver-samples | 9aadb39ce58eac479a37d7842b98705b67250a32 | 95d7bd3a57d1ff88351e1c5a55847d65c86d5686 | refs/heads/master | 2021-07-04T04:39:46.192881 | 2021-06-03T18:06:34 | 2021-06-03T18:06:34 | 79,270,183 | 2 | 0 | MS-PL | 2018-11-14T22:45:15 | 2017-01-17T20:46:11 | C | UTF-8 | C++ | false | false | 1,166 | cpp | /*++
Copyright (c) Microsoft Corporation. All rights reserved.
Microsoft Confidential
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
PU... | [
"daih@microsoft.com"
] | daih@microsoft.com |
e6bb3b9d3b44c41050652ace0bd819c0665a0085 | 667e6b125e49d9ed12ac200f8c0acc291ac8c182 | /src/objects-inl.h | 12a5741c731217f4e65b166dbf056241348631f2 | [
"bzip2-1.0.6",
"BSD-3-Clause",
"SunPro"
] | permissive | lioshi/v8 | a167435e7e7bcf9946347f9f7a660df4834d76d8 | 247b0d38b2977b998bbdf995d42325072317141d | refs/heads/master | 2021-07-05T04:51:42.688258 | 2017-09-12T12:48:23 | 2017-09-12T13:08:41 | 103,269,303 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 197,914 | h | // Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Review notes:
//
// - The use of macros in these inline functions may seem superfluous
// but it is absolutely needed to make sure gcc generates op... | [
"lionel.fenneteau@gmail.com"
] | lionel.fenneteau@gmail.com |
28e234ec461f9d6bfa0bd0bee1442bf00057ec61 | 06612d1391a80ab69726ff491e49b7a0b9439b10 | /utils/TableGen/InstrEnumEmitter.h | b39fef2d433c9e4db86809fc6e13b5206033924d | [
"NCSA"
] | permissive | bratsche/llvm | 1bc649a078dfb8c61c579dc3b373eab5dcd94024 | 7c3ddf82afd4c74e76dfa9c938d290b3e2574f3f | refs/heads/master | 2021-01-22T12:02:26.956654 | 2009-04-16T05:52:18 | 2009-04-16T05:52:18 | 179,517 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | h | //===- InstrEnumEmitter.h - Generate Instruction Set Enums ------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"sabre@nondot.org"
] | sabre@nondot.org |
542c68a38199958e8988b9dcbbde3ab02ee7e500 | c2ed59929163fd6952085b327b12fbb2b9255fc0 | /C++_Object_Oriented/Inheritance/files/computercourse.h | c32e6181b7db6226a3224b8146172f513ae61445 | [] | no_license | wrdecurtins/Coursework | 76ef4c9f7cd93842bbe24456f1f3f7670cba3aa7 | 2d14af97ce6a106e118a20d03048e640ac58bf13 | refs/heads/main | 2023-05-04T12:55:36.961399 | 2021-05-19T03:07:43 | 2021-05-19T03:07:43 | 328,815,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,755 | h | //*********************INCLUDE GUARD*********************//
#ifndef __COMPUTER_COURSE_H__
#define __COMPUTER_COURSE_H__
//*********************INCLUDE GUARD*********************//
//*********************REQUIRED INCLUDES*********************//
#include <string>
#include "course.h"
//*********************REQUIRED INCLU... | [
"will@PC.localdomain"
] | will@PC.localdomain |
beae9f224dd19c85bc3a4e14f76aae18d003a96d | e75db8d5c7e76f25c8a5b0c309062061e0298b69 | /Temp/il2cppOutput/il2cppOutput/Bulk_Assembly-CSharp_0.cpp | a0592989fc5fab675a8a633744e0ffaa4decdd49 | [] | no_license | lucasfutch/day1_shooter | 4cc148c32c1faf83471b5c7109fdab34ee4632cf | 6c000ac62ad11d36123ca17db0849bb772c1b27a | refs/heads/master | 2020-06-27T11:33:53.206627 | 2017-07-24T23:08:20 | 2017-07-24T23:08:20 | 97,052,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315,796 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "mscorlib_System_Array38294689... | [
"lucasfutch@gmail.com"
] | lucasfutch@gmail.com |
b97283a1b929f807b4ea81dd48252a4eb99313db | 07cbe159795612509c2e7e59eb9c8ff6c6ed6b0d | /partitioned/RayleighBenard/consistencyTest/Ra_1e+05_multiFluidFoam_X1_Y50_constThetaBC/tStep0.0001_0.005/thetaf.stable | 37e987822876127c6350609f4c5e76b605e69842 | [] | no_license | AtmosFOAM/danRun | aacaaf8a22e47d1eb6390190cb98fbe846001e7a | 94d19c4992053d7bd860923e9605c0cbb77ca8a2 | refs/heads/master | 2021-03-22T04:32:10.679600 | 2020-12-03T21:09:40 | 2020-12-03T21:09:40 | 118,792,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,399 | stable | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*-----... | [
"d.shipley.1341@gmail.com"
] | d.shipley.1341@gmail.com |
1bd1c0649d732478f45454a3f2b7d5fe7f902a9e | 8010df1fef10ddfd83bf07966cbf7e2e4b0d7ee9 | /include/winsdk/cppwinrt/winrt/impl/Windows.ApplicationModel.AppService.0.h | a6194b19a76352d3fb3bf14e1624965c6484aeb4 | [
"MIT"
] | permissive | light-tech/MSCpp | a23ab987b7e12329ab2d418b06b6b8055bde5ca2 | 012631b58c402ceec73c73d2bda443078bc151ef | refs/heads/master | 2022-12-26T23:51:21.686396 | 2020-10-15T13:40:34 | 2020-10-15T13:40:34 | 188,921,341 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,898 | h | // C++/WinRT v2.0.190620.2
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef WINRT_Windows_ApplicationModel_AppService_0_H
#define WINRT_Windows_ApplicationModel_AppService_0_H
namespace winrt::Windows::Foundation
{
struct EventRegistrationToken;
template ... | [
"lightech@outlook.com"
] | lightech@outlook.com |
2e487378ef770c57a576798ed141923d5ababcb9 | 7d1a96565a1b46eaa38770bc592f0f508ba659b3 | /PzSummer2016WarsawU/I.cpp | 846d9485795f899dc77f14d957bc0f28c5bf2f59 | [] | no_license | RubenAshughyan/Programming-olympiads | f09dff286677d65da19f0ba4c288aa6e97ba9fd5 | 2bc85f5e6dc6879105353d90e8417b73c0be2389 | refs/heads/master | 2021-09-26T17:18:47.100625 | 2021-09-13T09:58:41 | 2021-09-13T09:58:41 | 73,565,659 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,199 | cpp | #pragma GCC optimize "-O1"
#pragma GCC optimize "-O2"
#pragma GCC optimize "-O3"
#include<bits/stdc++.h>
//#include "rubo.h"
#define MP make_pair
#define PB push_back
#define in int
#define ll long long
#define ull unsigned long long
#define vc vector
#define SQ(j) (j)*(j)
//#define i first
//#define j second
//#def... | [
"ruben.ashughyan@gmail.com"
] | ruben.ashughyan@gmail.com |
35e8ab1ade08ef163ae7f9e32445b8947a03bbe1 | 2a7e43850e79e3b3b1ad1a0b10f4e49014c15d71 | /26_substructureOfaTree.cpp | a35b7967b0f9db94fd88deda47d9efcbea2c0341 | [] | no_license | CharlieXuJk/findingJob | ccc40761bfe169ef8f2d3773ebc39ddf2121fd27 | 186cb851aeae2cc44b8d38d917b4b8a02de14501 | refs/heads/master | 2023-07-03T04:13:21.773198 | 2021-08-17T18:45:20 | 2021-08-17T18:45:20 | 384,851,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
bool hasSamePart(TreeNode* r1, TreeNode* r2){
if(r1 == nullptr && r2 == nullptr){
... | [
"hans040515@gmail.com"
] | hans040515@gmail.com |
e600a1ac47eef009f4078eeb8da44651a0764b42 | b682d77cfd5874b1bd857868505c6328520fd89b | /Arduino/SerialEditMicroscopyArduino/SerialEditMicroscopyArduino.ino | d91ca120fdbde58d2a4b5c00b8fff027e5b74ec5 | [] | no_license | StephenThornquist/FruitFly | ca383e9f981571968e1bedeef319e9d96561b89c | 8699d104128b47a8801b506060251c91862bf155 | refs/heads/master | 2021-01-17T13:33:51.726005 | 2016-07-02T22:31:40 | 2016-07-02T22:31:40 | 20,900,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,811 | ino | /* Write an array of firing frequencies and pulse widths and change them with a computer
For the below code, the following convention is used:
Frequencies are in Hz
Pulse widths are in milliseconds
The LED array is indexed as follows:
-----------------
|| 1 2 3 ||
|| ||
|| 4 5 6... | [
"thornquist@fas.harvard.edu"
] | thornquist@fas.harvard.edu |
5085b61126816863d0d72234a99a7ac3869aed45 | 6e4aa50e275048cdedef07b79f5d51bd29a7bef1 | /IPST_2016_apr/apio/merchant.cpp | 3e38caffda8550e59f3e608c8b4e9187d6523995 | [] | no_license | KorlaMarch/competitive-programming | 4b0790b8aed4286cdd65cf6e4584e61376a2615e | fa8d650938ad5f158c8299199a3d3c370f298a32 | refs/heads/master | 2021-03-27T12:31:10.145264 | 2019-03-03T02:30:51 | 2019-03-03T02:30:51 | 34,978,427 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,474 | cpp | #include "stdio.h"
#include "algorithm"
#define INF 200000000000LL
int n,m,k,v,w,t;
int bi[105][1005],si[105][1005];
long long maxP[105][105];
long long dis[105][105];
long long dyn[105][105][205];
bool isSub1,isSub2;
int main(){
isSub1 = true;
isSub2 = true;
scanf("%d%d%d",&n,&m,&k);
for(int i = 1; i <= n; i++... | [
"korla.march@gmail.com"
] | korla.march@gmail.com |
dc1c852bad214b72ff5288ba495b3037a676a1ae | c0e0138bff95c2eac038349772e36754887a10ae | /mdk_release_18.08.10_general_purpose/tools/18.06.6/common/moviCompile/include/c++/cstdlib | fe59753954f9ed7fcf59e787b7af56255463a187 | [
"MIT",
"NCSA"
] | permissive | elfmedy/vvdn_tofa | f24d2e1adc617db5f2b1aef85f478998aa1840c9 | ce514e0506738a50c0e3f098d8363f206503a311 | refs/heads/master | 2020-04-13T17:52:19.490921 | 2018-09-25T12:01:21 | 2018-09-25T12:01:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,800 | // -*- C++ -*-
//===--------------------------- cstdlib ----------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===-------------------------... | [
"palani.andavan@vvdntech.com"
] | palani.andavan@vvdntech.com | |
09953a38c61824a10ff60a14db19c14aa3a6558b | 457f7179c9bac639a10ca06fa449577bb392e36d | /Source/MainComponent.cpp | 0e410e471bd2d47559c1519b87cc36a91ec9abc0 | [] | no_license | samparkewolfe/Freeverb-Modification | 9f01ab9833caa5b15209a4ec72662cdc0f59e155 | a90aedd1cb780988d753b8b112dae117b3d2f4e5 | refs/heads/master | 2020-03-16T23:31:21.546618 | 2018-05-11T19:32:20 | 2018-05-11T19:32:20 | 133,080,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,253 | cpp | /*
==============================================================================
This file was auto-generated!
==============================================================================
*/
#include "MainComponent.h"
MainContentComponent::MainContentComponent()
{
setSize (400, 400);
... | [
"spark041@gold.ac.uk"
] | spark041@gold.ac.uk |
211bd017c2b4de8daa21d48caf34943a2ce7578b | bd13d50be2150b24e0789774d934655511cab429 | /main.cpp | 3bfc44c768a4defba18294e52bb203e589a97e90 | [] | no_license | Centimo/Equirectangular_shader | 1319d2d03cbc14cbb45050ef9126856b4dc55468 | 582efaeeee1b1c58842fb1fcf90e127c100a3908 | refs/heads/master | 2022-02-24T17:14:58.541042 | 2019-10-03T10:02:53 | 2019-10-03T10:02:53 | 212,475,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | cpp | #include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QQmlEngine>
#include <QQmlContext>
#include <QtCore/QStandardPaths>
#include <QtCore/QStringList>
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
QQmlApp... | [
"mohenti@gmail.com"
] | mohenti@gmail.com |
bd7b05cd5674978563843e2e792b926080ec0eaf | 6bf03623fbe8c90c32ba101f9d6f110f3c654ce3 | /CodingTest/Google Qualification Round 2020/2.cpp | e0fa6f09509a2ca6ba8d47e7c8f7e3906a14d974 | [] | no_license | yoogle96/algorithm | 6d6a6360c0b2aae2b5a0735f7e0200b6fc37544e | bcc3232c705adc53a563681eeefd89e5b706566f | refs/heads/master | 2022-12-27T05:15:04.388117 | 2020-10-09T14:48:58 | 2020-10-09T14:48:58 | 177,144,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,139 | cpp | #include <bits/stdc++.h>
using namespace std;
int t;
int main() {
cin >> t;
for(int c = 1; c <= t; c++) {
string s;
cin >> s;
stack<char> stk;
char fToken = s[0];
int fTmpNum = s[0] - '0';
for(int j = 0; j < fTmpNum; j++) {
stk.push('(');
}
... | [
"dmltjs851@gmail.com"
] | dmltjs851@gmail.com |
2ed13f5c45471ff7ad4e18210553342ca8baf178 | 0e9fe7b68d17c979396f31e733b44e4a9fe6535d | /Ground.cpp | 6f8bb622aa941f7db724dba627d04ee2531ba537 | [] | no_license | dylanswiggett/GroundSim | 7c7a33f24b2d2cb345f48f5f34d52ad884e0aa2e | 691bf13face9e2b9b578d5993006c6687693e276 | refs/heads/master | 2021-01-19T12:59:24.167746 | 2015-11-03T22:33:33 | 2015-11-03T22:33:33 | 37,783,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,327 | cpp | #include <iostream>
#include "Ground.hpp"
using namespace std;
Ground::Ground()
{
x = y = 0;
forceUp = forceDown = 0;
mass = 1;
active = true;
falling = false;
}
Ground::~Ground()
{
// Nada! (yet)
}
void Ground::setP(int newX, int newY)
{
// TODO: Update neighbor info?
x = newX;
y = newY;
}
void... | [
"dylanswiggett@gmail.com"
] | dylanswiggett@gmail.com |
6ee5275a6cdc6caa592c59b64efd300316c0c072 | b3f6798a798ea55bdd556853e9ab56a33ae8495d | /Cpp-learning_record/C++提高编程/STL/仿函数/一元谓词.cpp | 5a04162c189bafce035a0b60d30fae8f58a7a296 | [] | no_license | rongkai-zhang/Cpp-Learning-Record | 45ded879f2eeb54b8b434a1bf196e63d72940105 | 15c8e49f32a576d42751f808e5e6afb8981da721 | refs/heads/master | 2022-12-06T15:40:44.590206 | 2020-09-05T02:05:31 | 2020-09-05T02:05:31 | 288,056,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | #include <iostream>
using namespace std;
#include <vector>
#include <algorithm>
//仿函数返回值类型是bool数据类型 ,称为谓词
//一元谓词
class GreaterFive
{
public:
bool operator()(int val) //有一个参数就叫一元谓词
{
return val>5;
}
};
void test01()
{
vector<int> v;
for(int i = 0; i < 10; i++)
{
v.push_back(... | [
"1508839152@qq.com"
] | 1508839152@qq.com |
af71e9b3c5489495d84964415aef0ccf348ccd45 | 32cecae39d0914e5db2428c6cb9a072b6dbb256c | /include/player.h | 7bf2a3739e5fecef3d39b22c67889db141f28c1e | [] | no_license | 4rChon/pong | c4ae2f57c20039d77cc0506c12587be7c74b9e0c | 484cc08ade258217414ebe7f166d29627ab3fbe8 | refs/heads/master | 2016-09-05T17:05:01.799300 | 2015-07-21T23:52:50 | 2015-07-21T23:52:50 | 38,660,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | h | #pragma once
#include <texture.h>
#include <string>
class Player
{
private:
int id;
double x;
double y;
int width;
int height;
double velocity;
Texture* texture;
public:
Player(int id, double x, double y);
Player(int id, double x, double ... | [
"bendbug+git@gmail.com"
] | bendbug+git@gmail.com |
69af0a80e463a294d014e603f45551c1d9e5d8cb | c19710dae66be631d380337f7fad09b73bad5a7b | /my_sort.cpp | 288359af836d618f0e83c281878c76884960f75a | [] | no_license | mengbin92/sort | 9b4707142f6fa51721d52092eb1d2332faaf1b19 | 42db8206013f91d3257b376e2e2333c2953769d4 | refs/heads/master | 2022-03-10T22:06:54.126258 | 2017-10-10T13:14:54 | 2017-10-10T13:14:54 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,631 | cpp | #include "my_sort.h"
void swap(int & a, int & b)
{
int tmp = a;
a = b;
b = tmp;
}
void swap(int arr[], int i, int j)
{
int tmp = arr[i];
arr[i] = arr[j];
arr[j] = tmp;
}
//选择排序
void selectSort(int arr[], int arrSize)
{
int min = 0;//初始时最小值位置
for (int i = 0; i < arrSize - 1; ++i)
{
min = i;
for (int j = ... | [
"mengbin1992@outlook.com"
] | mengbin1992@outlook.com |
c610ceca0cc36ddeda9c3a389d3aca3ee60a8f82 | 11cddfab71a7e3d98183b7299132b5493bc6d58c | /third_party/blink/renderer/core/layout/ng/inline/ng_fragment_item.cc | e2c183601dbf38f37a15fd44acec30741d10da40 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | bathepawan/chromium | 41aa3da80ad748e0d38fe2688013365335797f1f | 53f2426666b7273b2b4af35527b0f507d1512e64 | refs/heads/master | 2022-12-20T11:22:16.319857 | 2020-02-14T14:10:10 | 2020-02-14T14:10:10 | 240,524,190 | 1 | 0 | BSD-3-Clause | 2020-02-14T14:17:38 | 2020-02-14T14:17:37 | null | UTF-8 | C++ | false | false | 17,850 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/layout/ng/inline/ng_fragment_item.h"
#include "third_party/blink/renderer/core/editing/inline_box_traversal.h"
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
02a2d41490a3dfcd2b09bbca888a7a6baddf83ca | 0edccce062bc5ff3dfaa121c05eee48938144563 | /P4/parser.cpp | 24b65fcb56ca2f2666a11c02ba3e27494191cb76 | [] | no_license | bkedge/FS16-to-ASM-Compiler | 569eb96452fc4b0d1a717ad999a89065372ab49b | f2173bd0912fb80070e33ac5eaf4dd68e341c30d | refs/heads/master | 2021-01-12T08:27:16.690288 | 2017-04-15T21:22:18 | 2017-04-15T21:22:18 | 76,584,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,581 | cpp | #include "token.h"
#include "scanner.h"
#include "parser.h"
#include "node.h"
#include "treePrint.h"
using namespace std;
FILE *fp = NULL;
token tk;
int linenumber = 1;
node_t *makeNode(string label, int level)
{
node_t *node = new node_t;
node->label = label;
node->level = level;
//node->nodeToken = NULL;... | [
"bradykedge@gmail.com"
] | bradykedge@gmail.com |
5064b1e7a167a6df558b72570741d56dbaf8ff57 | 5fe10289a7f8b0130e9782ce66a62ca13534227e | /arduino_sketch/arduino_sketch.ino | 7af7ceba13df0f53931b338760cc54046f19e40d | [] | no_license | abdulmajeed90/mcp3901 | 23e74e87f6c4d8eb6f21be17e92a082c0854bd18 | 7be78a91a4c06b39cc7363b95c7ca40776d3bfa2 | refs/heads/master | 2021-01-17T05:19:50.780196 | 2012-05-05T22:51:10 | 2012-05-05T22:51:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,813 | ino | /*
MCP3901 Test Read
Frank Maker
04/28/12
This example controls an Microchip MCP3901 16-bit ADC
The MCP3901 has a SPI interface with the following settings:
* MSB first
* CPOL = 0, CPHA = 0 (MODE = 0)
- SCK low when idle
- Latch on rising edge
-------------------------------------
| A6 | A5 | A4 | A... | [
"frank.maker@gmail.com"
] | frank.maker@gmail.com |
2036b2d57482c2aba024e8d1abfcb88d94dce778 | 80611edad5cb7908aeaa87713fca1267a513d123 | /3-2(3-2).cpp | 1d791f3cea08ff770660f3f74d97b05734e70d1e | [] | no_license | zxf501/501 | 8f89aed239bc569fcc8c4bf914f5d1a46cdfb1d0 | 25e111a3f2c67a2cc6a94a650dbcfc2555617be9 | refs/heads/main | 2023-02-17T21:30:27.495026 | 2021-01-18T13:14:11 | 2021-01-18T13:14:11 | 304,785,221 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 199 | cpp |
#include <stdio.h>
int main(void)
{
int a;
scanf("%d",&a);
if(a == 0)
puts("a为0");
else if(a < 0 )
puts("a为负数");
else if(a > 0 )
puts("a为正数");
return 0;
}
| [
"1191626820@qq.com"
] | 1191626820@qq.com |
c43b33bb72e0529323fda14cbd4e4970e319a4a8 | 674f269f6ca90298d22452d24656cedb45f1fc95 | /gazebo/math/Vector2i_TEST.cc | 0dee03ab71ee6ae19656a0d7373d101d8cdda8eb | [
"Apache-2.0"
] | permissive | mingfeisun/gazebo | f4187a5214cafd3fab6921e3cc62f4dadddf14ea | f3eae789c738f040b8fb27c2dc16dc4c06f2495c | refs/heads/master | 2021-07-07T05:19:48.545813 | 2019-01-11T12:35:31 | 2019-01-11T12:35:31 | 132,331,071 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,753 | cc | /*
* Copyright (C) 2012 Open Source Robotics Foundation
*
* 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 appl... | [
"mingfei.sun.hk@gmail.com"
] | mingfei.sun.hk@gmail.com |
46e8c985a8603651f4ae781ff31313762ceecf6b | ace6943f9290f4befadcbaf6996dcd36a63eaea3 | /Lab3Exempluu.cpp | 1fb28fb7fa2c6add0498c1e9e078b0837c951562 | [] | no_license | AlbertJunior/GPC | 64b5a88fcefb24c0679ff191d24ce7408a5449d6 | 37eeaf6025a44f67d7f39b67838646e683d23b45 | refs/heads/main | 2023-07-17T14:05:20.449678 | 2021-09-04T20:08:34 | 2021-09-04T20:08:34 | 403,146,195 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,316 | cpp | // Lab3Exempluu.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "pch.h"
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <cassert>
#include <cfloat>
#include <cstring>
#include "glut.h"
#include <iostream>
#include <vector>
using namespa... | [
"noreply@github.com"
] | noreply@github.com |
e580a3abd798b990bdacf93acf3592d51893a66f | d2d6aae454fd2042c39127e65fce4362aba67d97 | /build/Android/Preview/app/src/main/include/Uno.Time.OffsetDateTime.h | 838292dd8f1c0a30a1370fd6ab7aae027cffe4b4 | [] | no_license | Medbeji/Eventy | de88386ff9826b411b243d7719b22ff5493f18f5 | 521261bca5b00ba879e14a2992e6980b225c50d4 | refs/heads/master | 2021-01-23T00:34:16.273411 | 2017-09-24T21:16:34 | 2017-09-24T21:16:34 | 92,812,809 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,492 | h | // This file was generated based on '/Users/medbeji/Library/Application Support/Fusetools/Packages/UnoCore/0.47.13/source/uno/time/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
#include <Uno.Time.Offset.h>
namespace g{namespace Uno{namespace Time{struct ... | [
"medbeji@MacBook-Pro-de-MedBeji.local"
] | medbeji@MacBook-Pro-de-MedBeji.local |
df3513a6985c903d653280bff98a0f78bcb67f54 | b0c5aee821edea5f04459b209f531b7cc36d31aa | /tests/newtestclass.h | 5337c253bbbaddad8f9fc7adb436d0dd8653d311 | [] | no_license | 8Observer8/AcmpAlg_03_Palindrome | 3a231f4a548be04cc76cb6f8acba64fe18aada12 | 879bfb104b5fa37dd8a0e4b775ffca9b8b756f30 | refs/heads/master | 2020-03-30T00:10:40.814841 | 2013-11-01T14:48:45 | 2013-11-01T14:48:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | h | /*
* File: newtestclass.h
* Author: Ivan
*
* Created on Nov 1, 2013, 4:27:17 PM
*/
#ifndef NEWTESTCLASS_H
#define NEWTESTCLASS_H
#include <cppunit/extensions/HelperMacros.h>
class newtestclass : public CPPUNIT_NS::TestFixture {
CPPUNIT_TEST_SUITE(newtestclass);
CPPUNIT_TEST(testIsPalindrome_01);
... | [
"8observer8@gmail.com"
] | 8observer8@gmail.com |
d4777befac209db81c4a8e57f9c7e60fff59972b | 2727072679f44891d3340803b52b189e7dfb9f35 | /source/QtLocation/QPlaceManagerSlots.h | 91618019ab592c66cbe1e63e8a4ac6ef0631d92b | [
"MIT"
] | permissive | MahmoudFayed/Qt5xHb | 2a4b11df293986cfcd90df572ee24cf017593cd0 | 0b60965b06b3d91da665974f5b39edb34758bca7 | refs/heads/master | 2020-03-22T21:27:02.532270 | 2018-07-10T16:08:30 | 2018-07-10T16:08:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,797 | h | /*
Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5
Copyright (C) 2018 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
*/
/*
DO NOT EDIT THIS FILE - the content was created using a source code generator
*/
#ifndef QPLACEMANAGERSLOTS_H
#define QPLACEMANAGERSLOTS_H
... | [
"5998677+marcosgambeta@users.noreply.github.com"
] | 5998677+marcosgambeta@users.noreply.github.com |
c42277e85d255f9589948c0601e3df42cf652e8a | 1f34a5354422748d547791b3439b1ae7a0fd9414 | /parser.h | 5cd152e7c0b9a99f89e7f109b9c121f6b087f48c | [] | no_license | twelvefish/POSDhw | f76b3041003a151389dc4216605cc411a9f488af | 8f09aa7ad987f1c4aad48a8aa2774088fd68907a | refs/heads/master | 2021-09-03T01:00:29.604693 | 2018-01-04T11:45:46 | 2018-01-04T11:45:46 | 103,518,563 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,701 | h | #ifndef PARSER_H
#define PARSER_H
#include <gtest/gtest.h>
#include <vector>
#include <string>
#include <stack>
#include "list.h"
#include "atom.h"
#include "variable.h"
#include "scanner.h"
#include "struct.h"
#include "number.h"
#include "exp.h"
using namespace std;
class Parser
{
public:
Parser(Scanner scanner)... | [
"amingo08131@gmail.com"
] | amingo08131@gmail.com |
72c842aec26c01642889f7217e0bd2f4a12c32eb | 1bc6f280fc035356fb337b62ff7af5e7bf57e171 | /Matrix.cc | f2f1c60544a30127fb8a3d69301a6aabc99c6446 | [] | no_license | Jon-KG-Uy/Algorithms-Fib-Matrix | f7dec94d0d582c7888439d961e47b93c014c779b | 6132fd52a997b8ef5e364194ef3be2a12630f14f | refs/heads/master | 2020-04-23T18:43:24.279989 | 2019-02-19T00:44:51 | 2019-02-19T00:44:51 | 171,377,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | cc | /*
* Implementation file for Matrix and Vector classes
*
* @author Jonathan Uy
* @date 7 Oct. 2018
* @file Matrix.cc
*/
#include "Matrix.h"
Matrix::Matrix(int a, int b, int c, int d)
{
data[0][0] = a;
data[0][1] = b;
data[1][0] = c;
data[1][1] = d;
}
//resmat uses += to emulate dot product value ... | [
"noreply@github.com"
] | noreply@github.com |
b4e1ec32a3cd00cee64aeb5b83984c6a3ff1d9a7 | 62510fa67d0ca78082109a861b6948206252c885 | /hihope_neptune-oh_hid/00_src/v0.1/test/developertest/examples/calculator/test/unittest/phone/calculator_mul_test.cpp | 931a48d5cb7e4d6862e598c6a9c97e2387157230 | [
"Apache-2.0"
] | permissive | dawmlight/vendor_oh_fun | a869e7efb761e54a62f509b25921e019e237219b | bc9fb50920f06cd4c27399f60076f5793043c77d | refs/heads/master | 2023-08-05T09:25:33.485332 | 2021-09-10T10:57:48 | 2021-09-10T10:57:48 | 406,236,565 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,678 | cpp | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | [
"liu_xiyao@hoperun.com"
] | liu_xiyao@hoperun.com |
61c287e6cb07921caf6662e6b0a0c4a5d434d04b | 259b7102b986d48e7280058ba09c45c9d35d7a55 | /c++/HeapManager/BlockDescriptor.cpp | 5a3b190db0c316863a4ecca7d145ef595880be8e | [] | no_license | greenstack/portfolio | fb8b17b8317611b57324fd04812454f129c7c0f2 | 8b94a3d4ad01bd0d8d4d8325ba1798ea8dc8fd71 | refs/heads/master | 2021-07-10T10:24:21.118344 | 2021-03-18T22:13:53 | 2021-03-18T22:13:53 | 237,520,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | #pragma once
#include "BlockDescriptor.h"
namespace Origin {
namespace Memory {
void BlockDescriptor::insertBefore(BlockDescriptor* after) {
previous = after->previous;
if (after->previous) {
after->previous->next = this;
}
next = after->next;
if (after->next) {
after->next->previous = this;
... | [
"paradoxbuilder@gmail.com"
] | paradoxbuilder@gmail.com |
53b85737cc768216f7b2037e73c35b9c533bcecd | 210ca7e2fdb9dc5680d488dcee0123fdb2d1cf34 | /CS194/openCL-intro_assignment4/vvadd.cpp | bbc6f10a639769b54029bb46b9e7f72d8630e89c | [] | no_license | kevin1chun/random | b5b9f0eee59b6b85f11d1d14939fc62cd85ad118 | af415e18a5a00d71e084d17561bdc1e0f3caa0ef | refs/heads/master | 2021-01-18T01:52:46.377646 | 2015-05-04T11:38:15 | 2015-05-04T11:38:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,223 | cpp | #include <cstring>
#include <cstdio>
#include <cstdlib>
#include <string>
#include "clhelp.h"
int main(int argc, char *argv[])
{
std::string vvadd_kernel_str;
/* Provide names of the OpenCL kernels
* and cl file that they're kept in */
std::string vvadd_name_str =
std::string("vvadd");
std::string vv... | [
"marcojoemontagna@gmail.com"
] | marcojoemontagna@gmail.com |
a06e1c6b5bc76a012d17e6a7bb9ec85a09427299 | 652fb51f5682a24e8ca4aeaaca0b93ff93e5f5fa | /SmartPlantfinal.ino | f04ea4e25959a4b7eaface7a8f47a9ede273b301 | [] | no_license | acherian18/SIT107 | f1e0f23acf071f07a43c730cb7c9d5220570e5ac | be336be32da85f473b7a49cb0b86d84e39a403c7 | refs/heads/master | 2020-06-20T12:53:20.239257 | 2019-09-26T23:15:11 | 2019-09-26T23:15:11 | 197,128,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,963 | ino | //Libraries
#include "SD.h"
#include <Wire.h>
#include "RTClib.h"
#define LOG_INTERVAL 1000 // mills between entries.
// how many milliseconds before writing the logged data permanently to disk
// set it to the LOG_INTERVAL to write each time (safest)
// set it to 10*LOG_INTERVAL to write all data every 10 datareads... | [
"noreply@github.com"
] | noreply@github.com |
ab620d27eac276f7f8b2bdb4786c46e37affc42e | d52d5fdbcd848334c6b7799cad7b3dfd2f1f33e4 | /workspace/c/a.cpp | 5d233c915be0979749008421c7dbc31efc738e47 | [] | no_license | zhiliaoniu/toolhub | 4109c2a488b3679e291ae83cdac92b52c72bc592 | 39a3810ac67604e8fa621c69f7ca6df1b35576de | refs/heads/master | 2022-12-10T23:17:26.541731 | 2020-07-18T03:33:48 | 2020-07-18T03:33:48 | 125,298,974 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | cpp | #include <iostream>
#include <vector>
#include <unordered_set>
#include <algorithm>
//int f(char* a) {
// std::cout << a << std::endl;
// int i = 1;
// return 3==2?3:4;
//}
enum e {
LL = 1<<30
};
std::unordered_set<std::string> audio_exts{"wav", "mp3", "m4a", "ogg", "amr", "aac"};
int main() {
//cha... | [
"yangshengzhi1@bigo.sg"
] | yangshengzhi1@bigo.sg |
83defcf5c4e50b7f10f3b215d809626b3a036337 | 8cd6ae1e38a71602145cd1207ac317be36ccc9f9 | /Collide_Article1.ino | 5c3f83f7911b8825a1be9c90e99c0593e116c073 | [] | no_license | filmote/Collide_Article1 | 08b76a26c2953f79bff3a4d984402f8ddb26f409 | 9f0c78f8538967b768e0bd671ab8d3e694dc44d8 | refs/heads/master | 2021-01-01T05:52:37.539128 | 2017-07-15T05:47:06 | 2017-07-15T05:47:06 | 97,295,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,377 | ino | #include <Arduboy2.h>
#include "Images.h"
Arduboy2 arduboy;
Sprites sprites;
int16_t xA = -16, yA = 12, xB = 128, yB = 24;
int16_t frame;
void setup() {
arduboy.begin();
}
void loop() {
arduboy.clear();
Serial.println("------------------------");
Serial.print("A collides with circle : ");
Serial... | [
"simon@bloggingadeadhorse.com"
] | simon@bloggingadeadhorse.com |
f23a12992411fbfcb9f0dac4de9f6ea466a404b3 | d5dac84197b38dd012e7a10da7e768ace5bae1df | /quadtree.cpp | 5d1649b9e2c69869ecf647e85aeaed15133ac4dd | [] | no_license | adhadda/CS221-PA3-and-PA4 | dc9f2cf7a05bc7eaf07efac199002fb8586375ac | 58ac1976f39bb8b50939b172fc7419965e2dbad0 | refs/heads/master | 2021-09-06T05:39:39.886062 | 2018-02-02T19:37:31 | 2018-02-02T19:37:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,528 | cpp | /**
* @file quadtree.cpp
* Quadtree class implementation.
*/
#include <cstddef>
#include <cstdlib>
#include <iostream>
#include <math.h>
#include <vector>
using namespace std;
#include "quadtree.h"
#include "png.h"
// Quadtree
// - parameters: none
// - constructor for the Quadtree class; makes an empty tree... | [
"arjundhadda236@gmail.com"
] | arjundhadda236@gmail.com |
86565edd3a010164bbf64761ec97b484566f5bb5 | 3f41ff4599446c60d1b2006c4188ba0f0deb3a4a | /InsertSort.cpp | 41d0e194a44981320e983c9e1bc81ff91b0caf9f | [] | no_license | 912679520/Mycodes | 6e9f3e40b9a298d8d77d3b8c3a8ea8bd820dafa3 | ecd4c8e53af0cc07e51d28625f336a1b62fbf00e | refs/heads/master | 2023-06-11T15:18:26.799209 | 2021-07-06T14:13:07 | 2021-07-06T14:13:07 | 307,394,975 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 357 | cpp |
#include"sort.h"
/*
时间复杂度:O(n^2)
空间复杂度:O(1)
稳定性:稳定
*/
void InsertSort(int* arr, int len)
{
for (int i = 1; i < len;++i)//i负责遍历无序数据段
{
int tmp = arr[i];
int j = i - 1;
for (; j >= 0; --j)
{
if (arr[j] <= tmp)
{
break;
}
arr[j + 1] = arr[j];
}
arr[j + 1] = tmp;
}
} | [
"72492583+912679520@users.noreply.github.com"
] | 72492583+912679520@users.noreply.github.com |
b827c92a1c3ad4e868693fd9a5f2e518184d9a1c | 74f23cf7d94bfc6912189981efcd70c9873a1f3f | /mapEditor/src/scene/controller/sounds/soundshape/SoundSphereShapeWidget.cpp | 98a04e666c4792d646dd3e7b65cfa73cadfc6835 | [
"MIT"
] | permissive | dujingui/UrchinEngine | 9291a316f8c48282d793998831924cc7425f7cb3 | e0fe218dc79ce70b3bd606d46f08a52ddd909b35 | refs/heads/master | 2021-02-09T19:06:46.296888 | 2020-02-25T20:50:08 | 2020-02-25T20:50:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,147 | cpp | #include <QtWidgets/QLabel>
#include <QtWidgets/QHBoxLayout>
#include "SoundSphereShapeWidget.h"
#include "support/SpinBoxStyleHelper.h"
namespace urchin
{
SoundSphereShapeWidget::SoundSphereShapeWidget(const SceneSound *sceneSound) :
SoundShapeWidget(sceneSound)
{
auto *positionLabel = new QLabel("Position:"... | [
"petitg1987@gmail.com"
] | petitg1987@gmail.com |
c947e2e936113624f0a1c073fef984aeb5bafdd3 | c54bc79adb40be4fa16ab5589ecefb5fd5489912 | /c++/08.cc | 3d37908688cc524cc7f1abdff507c106d5002fa1 | [] | no_license | CWFrost/ProjectEuler | f03440da600ee91b56a755bdb03f383242731ac1 | 5437787c5677cf1fcac275f19b9c19ce657351e1 | refs/heads/master | 2021-09-07T21:07:04.117580 | 2018-03-01T05:41:12 | 2018-03-01T05:41:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cc | #include<iostream>
#include<fstream>
#include<string>
#include<cstdint>
using namespace std;
int main(){
string number;
uint64_t result = 0;
ifstream infile("08.dat");
if(infile.is_open()){
getline(infile, number);
}
for (int i=0; i < number.length()-12; i++)
{
uint64_t ... | [
"ChristopherWFrost@gmail.com"
] | ChristopherWFrost@gmail.com |
d8c10b0596fbfba51a0c2524dcc3fa7a76d30776 | 84161e06a39ed7357647ebfbed0cf2ef8f2f841a | /newcoder/13134.cpp | 3eb73cd12307b775ae15dde9aa5329518be15c7b | [] | no_license | chachabai/cf | 7dee0a989c19a7abe96b439032c1ba898790fb80 | 069fad31f2e2a5bad250fe44bb982220d651b74a | refs/heads/master | 2022-12-30T09:16:30.876496 | 2020-10-20T06:39:15 | 2020-10-20T06:39:15 | 293,874,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | cpp | #include <bits/stdc++.h>
#define watch(x) std::cout << (#x) << " is " << (x) << std::endl
#define print(x) std::cout << (x) << std::endl
using LL = long long;
int main() {
//freopen("in","r",stdin);
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
int n;
std::cin >> n;
int a[n], pre[n] = {1}, dp[n] = {1}... | [
"dna049@outlook.com"
] | dna049@outlook.com |
3c2e833af0548778cae7a89f45827a935ec7f871 | 706a6f1d3b2165c6f0faf8bc8dc3403181c1271d | /src/RcppExports.cpp | 3b299c86d81958c974a80fe82d6621e764f0cf38 | [
"MIT"
] | permissive | ethan-alt/rstanglm | 05610acc5e795804e8cf5e272c6d72d9e1b489e9 | 65288134ab629775e12d99450d9a9a44e84b37cd | refs/heads/master | 2023-03-31T10:19:25.580426 | 2021-03-31T13:32:47 | 2021-03-31T13:32:47 | 343,257,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppEigen.h>
#include <Rcpp.h>
using namespace Rcpp;
RcppExport SEXP _rcpp_module_boot_stan_fit4sample_fixedDispersion_mod();
RcppExport SEXP _rcpp_module_boot_stan_fit4sample_hi... | [
"ethanalt@live.unc.edu"
] | ethanalt@live.unc.edu |
0d6dc6c82df8a707b0186a395e0086ee403c5ef2 | 440f814f122cfec91152f7889f1f72e2865686ce | /robot/src/protocol/scene_item_types.cpp | 042b08862a5ac3d1fe4c8912cfab7421ac670f87 | [] | no_license | hackerlank/buzz-server | af329efc839634d19686be2fbeb700b6562493b9 | f76de1d9718b31c95c0627fd728aba89c641eb1c | refs/heads/master | 2020-06-12T11:56:06.469620 | 2015-12-05T08:03:25 | 2015-12-05T08:03:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,109 | cpp | /**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "scene_item_types.h"
#include <algorithm>
namespace entity {
int _kSceneItemAoiFieldsValues[] = {
SceneItemAoiFields::AOI_BEGIN,
SceneItemAoiFields::TYPE,
SceneItem... | [
"251729465@qq.com"
] | 251729465@qq.com |
96e3828fa35fcc9e25cd9829a8b70c36c74a2768 | 4d22f318f8de87b2cf2dcc2193021eb7f28060f2 | /HackerRank/Dynamic Programming/XOR & Sum.cpp | 157df97de86b6ba27eaad9f815b5062b530cf5c2 | [] | no_license | krishnateja-nanduri/MyCodePractice | f97f710a684c6098d6f52b3bbcce9a8ca0dbad80 | de6b9f19fb694c54ce847153d3ce14279e1b60fc | refs/heads/master | 2021-09-07T03:54:08.583326 | 2018-02-16T23:30:21 | 2018-02-16T23:30:21 | 104,292,690 | 1 | 1 | null | 2018-02-08T22:14:12 | 2017-09-21T02:39:22 | C++ | UTF-8 | C++ | false | false | 1,206 | cpp | //https://www.hackerrank.com/challenges/xor-and-sum/problem
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
#define MOD 1000000007
string sa, sb;
int a[500000], b[500000];
int cnt[500000][2];
int main()
{
cin >> sa;
cin >> sb;
int la = sa.size(),... | [
"krishnateja.nanduri@gmail.com"
] | krishnateja.nanduri@gmail.com |
5ea69c2d1e49fc7b55c7ea41f6b5895f0c021818 | fe413f8747ddddc011f4dd6783cc084881da870a | /Code/application/PlugInUtilities/RasterUtilities.cpp | a377077830c1fe1152bb06497d49f4518547e1d9 | [] | no_license | GRSEB9S/opticks-cmake | f070b7ee32e5fff03de673c178cd6894113bc50b | 497f89ccbcbf50c83304606eb586302eec3e6651 | refs/heads/master | 2021-05-27T08:16:26.027755 | 2011-08-13T06:03:04 | 2011-08-13T06:03:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51,735 | cpp | /*
* The information in this file is
* Copyright(c) 2007 Ball Aerospace & Technologies Corporation
* and is subject to the terms and conditions of the
* GNU Lesser General Public License Version 2.1
* The license text is available from
* http://www.gnu.org/licenses/lgpl.html
*/
#include "AppVerify.h"
#includ... | [
"wzssyqa@gmail.com"
] | wzssyqa@gmail.com |
5884ea3a54cda963591bd25426d5e268d615710a | a484e85687e5b6101c2dcabd76a2dce189d9dd6d | /LzsSTL/uninitailized.h | e94f66ac24e1ef552c92d54785e8b4f366cf76f4 | [] | no_license | Rango-lzs/LzsSTL | c4195ac8bc45acaf46356ebb4209d7ac32defc6d | 67d6984439aeb266112b3a62d6c8b534bfc61b42 | refs/heads/main | 2023-06-09T00:07:55.037683 | 2021-07-01T09:22:08 | 2021-07-05T00:55:51 | 379,435,272 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,002 | h | #ifndef UNINITIALIZED_HH
#define UNINITIALIZED_HH
#include <cstring>
#include "allocator.h"
#include "algobase.h"
// 未初始化容器的 copy fill fill_n操作
// iterator ->trits: value_type copy(f,l,r)->value_type _copy(f,l,r,value_type)
// value_type ->trats: is_Pod_type _copy(f,l,r,value_type)->_copy_aux(f,l,r,pod || not_pod)... | [
"1191472748@qq.com"
] | 1191472748@qq.com |
6b45302bcb7d0f96f9e215ff4d8464147ba54cc4 | f321954248d2d188438c49320a20babb71830954 | /framework/src/node.cpp | f042980be998cd0fd817da98c1758c8ed53cf29c | [] | no_license | PouceHeure/lightweight_simulator_robot | 89f63df3dfc3d3e809577883c062fe72372cba1f | 18ff1159fa763c1e609a78b6b9aadd1a0c6f61f9 | refs/heads/master | 2022-03-02T15:35:45.530185 | 2019-11-12T21:13:25 | 2019-11-12T21:13:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cpp | #include "graph/node.hpp"
Node::Node():id(Node::COUNTER){
Node::COUNTER++;
};
void Node::attachNode(Node *node){
//billateral connection
node->attachNode(this);
nodes.push_back(node);
} | [
"hugo.pousseur@gmail.com"
] | hugo.pousseur@gmail.com |
99b4a7da225086eb41901f51616da77281fe4e73 | 4a2cde8c4f3420c2e024e4e516c3daecf622c9cc | /Maze.cpp | 9f45791564276b014d0d769410a7db2c4c77414d | [] | no_license | faatehsultan/MazeApp | f19a560b554ae04b3ed835a1b03dbe2e3f44415d | 15b40bdf603be616d92a349171772926939f95c6 | refs/heads/master | 2021-05-18T01:00:43.996875 | 2020-03-29T13:30:53 | 2020-03-29T13:30:53 | 251,037,348 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,941 | cpp | #include "Maze.h"
/*when source and destination not given in constructor,
first cell wil be considered source and last cell will
be considered destination. Initially, curPos will be
at source point.*/
bool Maze::setCurrentPos(const Point cur)
{
if (cur.col >= 0 && cur.row >= 0 &&
cur.col < noOfCol... | [
"noreply@github.com"
] | noreply@github.com |
7fbc60b42193591663ffdcc5921954b47d4f332a | 93b24e6296dade8306b88395648377e1b2a7bc8c | /client/wxWidgets/wx/palmos/setup0.h | 042c5a0ad9701213edd4bcf62fb6405923e976fa | [] | no_license | dahahua/pap_wclinet | 79c5ac068cd93cbacca5b3d0b92e6c9cba11a893 | d0cde48be4d63df4c4072d4fde2e3ded28c5040f | refs/heads/master | 2022-01-19T21:41:22.000190 | 2013-10-12T04:27:59 | 2013-10-12T04:27:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,329 | h | /////////////////////////////////////////////////////////////////////////////
// Name: wx/palmos/setup.h
// Purpose: Configuration for the library
// Author: Julian Smart
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id: setup0.h,v 1.21 2005/05/31 09:18:43 JS Exp $
// Copyright: (c)... | [
"viticm@126.com"
] | viticm@126.com |
d386007f8c4293728f3c086259ca24916bbca8ae | 420b6c11cf4927809ace20cb456cc8a014359690 | /Makefile_tutorial/multi/src_main/main.cpp | f5dc35edff5030549cebe3937da862ac748412ec | [] | no_license | Austin-Marks/Cpsc256 | c7c40121c8e32fede0e60a65e0ffcb8cb19b8440 | 361d58d5e7ddb851762515d87f5e3f24cfb1477b | refs/heads/main | 2023-09-03T13:07:17.733691 | 2021-11-03T03:20:10 | 2021-11-03T03:20:10 | 399,544,011 | 0 | 0 | null | 2021-09-08T12:06:10 | 2021-08-24T17:03:45 | Shell | UTF-8 | C++ | false | false | 175 | cpp | #include <iostream>
#include "functions.h"
using namespace std;
int main(){
print_hello();
cout << "The factorial of 5 is " << factorial(5) << endl;
return 0;
}
| [
"brash@jlab.org"
] | brash@jlab.org |
d22c19aaacfcb7028892d6d924edb5fd6db14b9f | d9975b97e09ae5f5225c04fac385746d44a6a374 | /pylucene-4.9.0-0/build/_lucene/org/apache/lucene/search/ConstantScoreAutoRewrite.h | 26e6bb2e80102c585e783fe9dff65fe97f1fe28a | [
"Apache-2.0"
] | permissive | Narabzad/elr_files | 20038214ef0c4f459b0dccba5df0f481183fd83a | 3e623c7d9c98a7d6e5b26e6e4a73f46ff5352614 | refs/heads/master | 2020-06-04T02:01:17.028827 | 2019-06-28T21:55:30 | 2019-06-28T21:55:30 | 191,825,485 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,207 | h | #ifndef org_apache_lucene_search_ConstantScoreAutoRewrite_H
#define org_apache_lucene_search_ConstantScoreAutoRewrite_H
#include "org/apache/lucene/search/TermCollectingRewrite.h"
namespace org {
namespace apache {
namespace lucene {
namespace index {
class IndexReader;
}
namespace sea... | [
"43349991+Narabzad@users.noreply.github.com"
] | 43349991+Narabzad@users.noreply.github.com |
6b0b8ba45da9c7418b5a626c4e81e57a630a234e | 51121984f98e7a79f9b9cd844ebe0314fd0845f2 | /Voxilian/Src/Engine/Core/Core0/Tier1/Physics/Physics.cpp | 198af4b5ddd91f3cb248ea298895134c81418a2e | [] | no_license | Skareeg/voxilian | 584b7463ceeb1cd78cd39371b008a889126ddcb0 | bc24fa80c914855dbef96cc9cd82e5fc9edb0ac9 | refs/heads/master | 2020-04-14T16:53:32.521942 | 2014-04-02T02:05:06 | 2014-04-02T02:05:06 | 32,126,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | cpp | #include "Physics.h"
CPhysics::CPhysics()
{
collisionconfiguration = nullptr;
dispatcher = nullptr;
overlappingpaircache = nullptr;
solver = nullptr;
}
void CPhysics::Init()
{
collisionconfiguration = new btDefaultCollisionConfiguration();
dispatcher = new btCollisionDispatcher(collisionconfiguration... | [
"Killamanjara@gmail.com@825dd620-273b-aec8-ac3f-b42787872301"
] | Killamanjara@gmail.com@825dd620-273b-aec8-ac3f-b42787872301 |
f2de38d71ff08afe56e5673eaff0fa8cb265a17e | eceabcc60d357bfe54d7e47a242f28612449df71 | /MediaPlayer/AudioMediaPlayer/include/AudioMediaPlayer/FFmpegAttachmentInputController.h | f36b48905049357ee144f89d7ac1f600c3ac5815 | [] | no_license | sevencheng798/SoundAi | e6ce8b71b9c79dbdce8c01d643abc03b67e14732 | 81b52d8a5b17f06b9c52fc7656d0dbd2f78b1b01 | refs/heads/master | 2020-12-14T08:39:05.407042 | 2019-12-06T02:26:14 | 2019-12-06T02:26:14 | 234,688,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,505 | h | /*
* Copyright 2019 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.
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES O... | [
"djzheng@wisepool.com.cn"
] | djzheng@wisepool.com.cn |
e340c8b0a1d7438a62f243832b0fdbb8be7f64b2 | 4d2c5283bef40e54d023bae647a29c86c86336cb | /src/ral/raldsp/raldsp_mixer.hxx | 727283e8878c99e4df47fed784ef86e0a2bcc27b | [] | no_license | usrlocalben/cxl | ccd600d516c2fd59dc788a8e47f75f0ce02abbb3 | 3254f1a0098714fdeca2d68fc8bce9947187dca5 | refs/heads/master | 2020-04-23T05:51:26.318169 | 2020-01-17T15:11:44 | 2020-01-17T15:11:44 | 170,953,991 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,730 | hxx | #pragma once
#include <array>
#include <algorithm>
#include <stdexcept>
#include <vector>
#include "src/ral/raldsp/raldsp_distortion.hxx"
#include "src/ral/raldsp/raldsp_iaudiodevice.hxx"
#include "3rdparty/freeverb/freeverb.hxx"
namespace rqdq {
namespace raldsp {
template <typename CHANNEL_STRIP>
class BasicMixer... | [
"benjamin@rqdq.com"
] | benjamin@rqdq.com |
8e99d9b56751600bcc4fe7905f0752b9fe263130 | 90b749fca73df90a6b405c76d5cb5b8d04e73754 | /TTMedia/target/TTFFWriter.cpp | 78939a6257bc4cd5d4c51a1d64d653bfbce502e8 | [
"Apache-2.0"
] | permissive | betallcoffee/TTPlayer | ed7ea42808cf502c4dfbe898854ada9e336afbd8 | a83bdac3870326d97cb123ed7bad33dcd7f30713 | refs/heads/master | 2021-01-10T14:08:45.715416 | 2018-03-24T03:40:24 | 2018-03-24T03:40:24 | 45,773,320 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | cpp | //
// TTFFWriter.cpp
// TTPlayerExample
//
// Created by liang on 10/3/18.
// Copyright © 2018年 tina. All rights reserved.
//
#include "easylogging++.h"
#include "TTFFWriter.hpp"
using namespace TT;
FFWriter::FFWriter() {
}
FFWriter::~FFWriter() {
}
bool FFWriter::start(std::shared_ptr<URL> url, AVC... | [
"liangliang0918@126.com"
] | liangliang0918@126.com |
276aea6c0ea246562d7d2a244de26aec2b6e4328 | de4ba05ade2ef91ef8e401df73194abee3c657d9 | /imam9ais/spoj/HUBULLU/HUBULLU-13197501.cpp | 5e9c936080c2fd0b711993bab89fe4d07827d209 | [] | no_license | IMAM9AIS/SPOJ_SOLUTIONS | bed576afb2b7cc0518162574f15bc2026ce75aa1 | d43481399696a8a7e4a52060a43b8d08f2272e41 | refs/heads/master | 2021-01-01T16:25:07.801813 | 2015-07-04T00:26:58 | 2015-07-04T00:26:58 | 38,515,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int n,k;
cin>>n>>k;
if(!k)
cout<<"Airborne wins."<<"\n";
else
cout<<"Pagfloyd wins."<<"\n";
}
return 0;
}
| [
"imamkhursheed@gmail.com"
] | imamkhursheed@gmail.com |
887fa0ff08b602347f6184acf6dd951cf4acd7b6 | e5292428482181499e59886ad2ee50c83a504f6e | /codeforces/MarcoandGCDSequence.cpp | e60b3dde13b11b90c70307798e2a52604dd58c5d | [] | no_license | pedrohenriqueos/maratona | fa01ebfe747d647cf4f88c486e1a798b3bcdbb3d | 5c9bffa2ec6a321a35c854d4800b4fe7931c1baf | refs/heads/master | 2020-03-22T06:35:23.879463 | 2020-02-27T20:15:53 | 2020-02-27T20:15:53 | 139,644,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | cpp | #include<bits/stdc++.h>
using namespace std;
int gcd(int a,int b){
return ((b==0)?a:gcd(b,a%b));
}
int main(){
int N;
cin >> N;
set<int> S;
int A[N];
for(int i=0;i<N;i++){
cin >> A[i];
if(i!=0){
int g=A[0];
for(int j=0;j<i;j++){
g=gcd(A[j+1],g);
}
if(g!=1)
S.insert(A[i]);
else
}
}
if(S.... | [
"pedro986@gmail.com"
] | pedro986@gmail.com |
8f7caefb502d1e656b0ae33b3c2c9a57417c5ba7 | 95a47b8ac4af508c4daa57ce2a1516e9bf632402 | /src/MEPlotting/Measure/MeasureAzimuth.h | e7979139ae3c25a3054e715c12b590dd949902bf | [] | no_license | RigelStudio/Rigel3D | 8a4ea2e1c9fe2576b02c08810822f7dd0f3398d2 | 5789e828328866b90386c4fc41f5b5adffae9dd8 | refs/heads/master | 2023-06-25T22:34:37.923398 | 2023-06-21T02:37:31 | 2023-06-21T02:37:31 | 90,935,801 | 13 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 394 | h | #include <MeasureTool/MeasureBase.h>
#include <Geometry/GeometryLine.h>
class MeasureAzimuth : public MeasureBase
{
public:
MeasureAzimuth(void);
~MeasureAzimuth(void);
void clickEvent(osg::Vec3 pos);
void moveEvent(osg::Vec3 pos);
float calcResult();
void endMeasure();
private:
void init();
private:
osg:... | [
"ya feng"
] | ya feng |
4949e7b524c768ea1940dc10d21911492ae38df1 | 1554f8f6b5252debb68b8c49099091e552a835e8 | /AnEngine/RenderCore.cpp | f5198102f5e108dbb8a83250f7d5de3c299ee95f | [
"MIT"
] | permissive | jcyongqin/AnEngine | dad6f9dcc520f9695b008ad118593c5175ae7fd2 | 19e2463705248d72fb64262f56690419d5a9cb3c | refs/heads/master | 2020-03-09T00:56:50.101570 | 2020-01-26T14:28:35 | 2020-01-26T14:28:35 | 128,500,996 | 0 | 0 | MIT | 2020-01-26T14:30:28 | 2018-04-07T05:56:57 | C++ | UTF-8 | C++ | false | false | 15,439 | cpp | #include "RenderCore.h"
#include "Screen.h"
#include "CommandContext.h"
#include "DescriptorHeap.hpp"
#include "Fence.h"
#include "ThreadPool.hpp"
#include "DTimer.h"
#include "DebugLog.h"
#include <dxgidebug.h>
#include "FenceContext.h"
// 检验是否有HDR输出功能
#define CONDITIONALLY_ENABLE_HDR_OUTPUT 1
using namespace std;
u... | [
"MyGuanDY@outlook.com"
] | MyGuanDY@outlook.com |
9922a8414ca2cc3b4df23fece1788b1a2f3b98d8 | 6ba90d4b7ca7d3b42e33ebe87f6037e0456cdccd | /src/player/player.cpp | dd530afca3729aaa13e71a6ad7bc246be9b27747 | [] | no_license | rohandas36/DGaMe | 9bc241e6a6df4adf3fa7d09c340b02a7e69f98e1 | 623d809abf27d4ecf55deeff6b1fdb5ac6e8e852 | refs/heads/master | 2021-01-16T08:55:13.885253 | 2015-04-26T17:42:35 | 2015-04-26T17:42:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,200 | cpp | #include "player.h"
#include <iostream>
//gameplay is the game_Maps object
player::player()
{}
player::player(int ID,int gr_id,Vector3 pos,int n_lives,int n_kills,int g)
{
id=ID;
group_id=gr_id;
position=pos;
lives=n_lives;
last_hit=0;
health=100;
fwd=0;
tang=0;
weaponry.push_back(Weapon_set... | [
"dhruvangmakadia1@gmail.com"
] | dhruvangmakadia1@gmail.com |
efdf5e8c201a49c64f00a239c6ab8e526247b33c | 43a2fbc77f5cea2487c05c7679a30e15db9a3a50 | /Cpp/External (Offsets Only)/SDK/BP_CustomisableLadder_PointToPoint_functions.cpp | b3fa3075c1f823bf4f2134febaab2cab867f840d | [] | no_license | zH4x/SoT-Insider-SDK | 57e2e05ede34ca1fd90fc5904cf7a79f0259085c | 6bff738a1b701c34656546e333b7e59c98c63ad7 | refs/heads/main | 2023-06-09T23:10:32.929216 | 2021-07-07T01:34:27 | 2021-07-07T01:34:27 | 383,638,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,458 | cpp | // Name: SoT-Insider, Version: 1.102.2382.0
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
a54e5ce1c238426f32abcf877cd174f665906bdd | 339fe744c05cfefa16f7d7a23a8b64c18f401282 | /producer.h | 186b4b6055b50877a3064763cf0d8032939a77de | [] | no_license | zllamy/Thread | 0427604c24e55a1752f35371a959b5510026eb88 | 0e4c155efb876826b42620e0bd0017126b3f6c99 | refs/heads/master | 2021-01-23T16:53:17.983665 | 2017-06-04T11:24:24 | 2017-06-04T11:24:24 | 93,308,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | h | #ifndef PRODUCER_H
#define PRODUCER_H
#include <QObject>
#include <QThread>
class Producer : public QThread
{
public:
Producer();
void run();
};
#endif // PRODUCER_H
| [
"471888365@qq.com"
] | 471888365@qq.com |
0b4f01ed1e1b3b91a1f0a501a4de7df8097e9c54 | 263a50fb4ca9be07a5b229ac80047f068721f459 | /chrome/app/breakpad_posix.cc | f8c9521654af8c8255aac5e75c1f460d0566957c | [
"BSD-3-Clause"
] | permissive | talalbutt/clank | 8150b328294d0ac7406fa86e2d7f0b960098dc91 | d060a5fcce180009d2eb9257a809cfcb3515f997 | refs/heads/master | 2021-01-18T01:54:24.585184 | 2012-10-17T15:00:42 | 2012-10-17T15:00:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,680 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// For linux_syscall_support.h. This makes it safe to call embedded system
// calls when in seccomp mode.
#define SYS_SYSCALL_ENTRYPOINT "playground$s... | [
"plind@mips.com"
] | plind@mips.com |
d306ff41d744981fc1157dcefd44e710fe31192e | ccc963be136f377fc71c4431d13f32be435b5dc1 | /Cpp/cmake_version/Source/TurnTicketDispenser/include/TurnNumberSequence.h | da574b005dbdc0adabf4990d8301e584575760c8 | [
"MIT"
] | permissive | Promethivm/Racing-Car-Katas | 067fafc416d13d146837a391b9d44e446abc5f35 | b01dcf952e9c4b7b19386a846ca526140a51fc55 | refs/heads/master | 2020-03-14T17:27:37.074990 | 2018-03-08T14:27:56 | 2018-03-08T14:27:56 | 131,720,194 | 0 | 0 | MIT | 2018-05-01T14:06:22 | 2018-05-01T14:06:21 | null | UTF-8 | C++ | false | false | 127 | h | #pragma once
class TurnNumberSequence
{
static int s_turnNumber;
public:
static int getNextTurnNumber();
};
| [
"emily@bacheconsulting.com"
] | emily@bacheconsulting.com |
d606d9568202e3e519e417474fb133f882a0359a | a7545b0cba7a613f0128b7ac4c80bdbc8160f6a4 | /src/qt/guapcoin/focuseddialog.cpp | d1d0b9dd361e00ba6d3f54c0e903c8db56e5bc3c | [
"MIT"
] | permissive | nerdynerdnerdz/Guapcoin | b555fc57f791bafcbeb14058e344e3860122097c | 84fe2eef168ecc9042d5315a2ff471413a134971 | refs/heads/master | 2023-01-05T11:27:19.596120 | 2020-10-29T08:31:40 | 2020-10-29T08:31:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | cpp | // Copyright (c) 2020 The PIVX developers
// Copyright (c) 2020 The Guapcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "qt/guapcoin/focuseddialog.h"
#include <QKeyEvent>
FocusedDialog::FocusedDialog(QW... | [
"53179738+guapcrypto@users.noreply.github.com"
] | 53179738+guapcrypto@users.noreply.github.com |
b1d28c816b37a00d548aef8360e9a23f54c9cd31 | b003062fd3f8716b14f8c6a1f1f82e88167a1f7a | /surse/prob52.cpp | 734afbc361e17507b5c6170d532664af9d6f5fb2 | [] | no_license | adrgs/oopquiz | cbc297fbb3f286e9baf8d6f0e5a12f0ceb92455d | ca734f9d932a390f00c23703ab09d79c18ead6a9 | refs/heads/master | 2020-12-23T15:56:14.957425 | 2020-01-31T17:41:50 | 2020-01-31T17:41:50 | 237,197,399 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include <iostream>
using namespace std;
class B
{ protected: static int x;
int i;
public: B() { x++; i=1; }
~B() { x--; cout << "b";}
int get_x() { return x; }
int get_i() { return i; } };
int B::x;
class D: public B
{ public: D() { x++; }
~D() { x--; cout << "d";... | [
"albastroiudragos@gmail.com"
] | albastroiudragos@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.