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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b521e051770e08146dfc8864494616a29ea338d6 | c3294a4006b658a9859372dd566715880b0f5e90 | /practice/interactivepractice.cpp | 81267d78ba08ac62c3ed0abfaabd81c79e02d06d | [] | no_license | Manzood/Google-Code-Jam | 0dc5259046cb6d982de9018c2be00a690b568b5b | 999aa12ced1857fe0ba312edd11fae3e95ed8964 | refs/heads/master | 2022-05-26T08:17:29.294220 | 2022-05-14T19:00:11 | 2022-05-14T19:00:11 | 253,270,078 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | cpp | #include<cstdio>
#include<iostream>
#include<algorithm>
#include<vector>
#include<set>
using namespace std;
int main () {
int t;
cin>>t;
while (t--) {
int a,b;
cin>>a>>b;
int low=a,high=b;
bool found=false;
while(!found) {
q=low+high;
q/=2;
cout<<q<<endl;
if (q==)
}
}
} | [
"manzood.naqvi@gmail.com"
] | manzood.naqvi@gmail.com |
c5983fdbfef172bb674b78256aec203580ab359a | f14626611951a4f11a84cd71f5a2161cd144a53a | /Server/GameServer/App/StateAI/StateImpl/FightStateImpl.cpp | 5f44828bc08190710169b85fca7ab7249a485736 | [] | no_license | Deadmanovi4/mmo-resourse | 045616f9be76f3b9cd4a39605accd2afa8099297 | 1c310e15147ae775a59626aa5b5587c6895014de | refs/heads/master | 2021-05-29T06:14:28.650762 | 2015-06-18T01:16:43 | 2015-06-18T01:16:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,446 | cpp | ///
/// @file FightStateImpl.cpp
///
#include "stdafx.h"
#include "CycleState/CycleStateImpl.h"
#include "FightStateImpl.h"
#include "../AIEventSender.h"
#include "../BaseAI.h"
#include "../Helper/FightObj.h"
#include "../MonsterAI.h"
#include "../../Monster.h"
namespace StateAI
{
bool FightStateBase... | [
"yco.chen@gmail.com"
] | yco.chen@gmail.com |
4792fb4ecc3de13f68d9862778e78daa697f6be2 | f33d9f95e3870cfdd8a36f4a130f9a753a457b5c | /ComputeHomeTuples.h | c4922465e13693f78dc3599b3d5e329ac77db2e5 | [] | no_license | aar2163/NAMD-energy | b8733f1b7d1fbd39f8724ebeaa7bb82f7a822f1c | 3823103970df4c063d4c9cec38dca7c649964bb8 | refs/heads/master | 2016-09-06T16:09:33.409987 | 2015-04-30T18:03:18 | 2015-04-30T18:03:18 | 34,535,542 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,027 | h | /**
*** Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by
*** The Board of Trustees of the University of Illinois.
*** All rights reserved.
**/
#ifndef COMPUTEHOMETUPLES_H
#define COMPUTEHOMETUPLES_H
#include "NamdTypes.h"
#include "common.h"
#include "structures.h"
#include "Compute.h"
#include "HomePatch.h"
#... | [
"andre@mdn.cheme.columbia.edu"
] | andre@mdn.cheme.columbia.edu |
7d76b5b66e34a15ef4da672084f1d62ed9e95cda | 9804d481c4b819b8caf4566d9a6d66914475d6f7 | /algo/001_heap_sort.cpp | bd76a87c6e353909504e894119362bcc5994c94f | [] | no_license | ginigit/job_hunting | e479d673dc8353fbd31c6252fb162028bd9e69d2 | 12244fe960ce929e3fdd3743326e3fd74fdc108c | refs/heads/master | 2020-11-25T20:50:33.871063 | 2020-02-23T15:09:39 | 2020-02-23T15:09:39 | 228,839,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,419 | cpp |
/*
* 001.堆排序
* max_heapify: 对a[i]建堆: 在a[i]、a[left]、a[right],找出最大者,交换a[i]和a[largest]
* 令i = largest,继续对a[i]建堆: 递归或非递归,直到a[i] >= a[left] 且 a[i] >= a[right]
* build_max_heap: 从后往前,依次对a[i]建堆,使数组任意节点均满足最大堆的性质
* heap_sort: 交换a[0]和a[len-1],len=len-1,再对a[0]建堆
* 基本思路: 首先调整元素位置使之满足最大堆的性质,然后将堆首元素(最大值)移动到堆尾
* 时间复杂度粗略计算:
*... | [
"839256767@qq.com"
] | 839256767@qq.com |
2e315460f8e4f8d60d776200ec23402f8b98b05d | 5ed2c620083bfdacd3a2cd69e68401f6e4519152 | /Algorithms/POJ/p1045/p1045/Source.cpp | 0e6b7e169fd850778b27c85e5a49db4b8498a5be | [] | no_license | plinx/CodePractices | 03a4179a8bbb9653a40faf683676bc884b72bf75 | 966af4bf2bd5e69d7e5cfbe8ed67c13addcb61b9 | refs/heads/master | 2021-01-01T05:40:02.159404 | 2015-08-30T20:16:44 | 2015-08-30T20:16:44 | 33,318,262 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | cpp | #include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main()
{
float Vs, R, C;
int num;
float w;
cin >> Vs >> R >> C >> num;
for (int i = 0; i < num; i++)
{
cin >> w;
cout << fixed << setprecision(3) << Vs * R * C * w * sqrt(1 / (R*R * C*C * w*w + 1)) << endl;
}
return 0;
}
... | [
"plinux@qq.com"
] | plinux@qq.com |
03d04c3987777ab663f05418ab1a282f701648e8 | fe5fc3924369302457db912d6751e3fe37691074 | /src/train.h | 410e3931e650ecda842cf1a0fb78810662da6fbb | [] | no_license | nyBball/Silhouette-based-Skeleton-tracking | 3f2afdd8bbe2f8e8c104fcf9e2e266be2cdfccc3 | 59ffd6ffa330b1ba6b0a7e50181c165e8221b20a | refs/heads/master | 2021-09-08T12:13:34.447204 | 2018-03-09T14:28:48 | 2018-03-09T14:28:48 | 108,844,123 | 3 | 3 | null | null | null | null | GB18030 | C++ | false | false | 13,948 | h | //random fern training algorithm
#ifndef RF_TRAIN
#define RF_TRAIN
#include "sample.h"
extern char DataPath[300];
namespace random_ferns
{
const int random_fern_T = 10;
const int random_fern_K = 200;
const float random_fern_beta = 1000.0f;
template<typename Sample>
class RFTrain
{
public:
vector<Sample> sam... | [
"928224576@qq.com"
] | 928224576@qq.com |
573c43fc69477d3c74eb78f09a6b97617244a843 | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-waf-regional/include/aws/waf-regional/model/ListTagsForResourceResult.h | 2d257a08956fecbcdcbb33d586d48052035a5ff0 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 2,677 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/waf-regional/WAFRegional_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/waf-regional/model/TagInfoForResource.h>
#include <utility>
namespace Aws... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
7476dd655f6da044512926d177dd53b3cadaf965 | 27c0eb9959ab2444aed7f36135fa283b2d53056b | /Tools/src/RobotCtrl/src/ListCtrlEx.cpp | 1a8cd1ca485687d575521ee5776319e4d13b9d07 | [] | no_license | zhanglq79/GameLib | 0fc2e017b0d38eaadb2ef94e659e4493d94ab3b2 | b2f08b909d112b2f4a57ff40c357f6b7b5ec379f | refs/heads/master | 2021-06-17T06:34:06.868057 | 2017-06-05T05:25:17 | 2017-06-05T05:25:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,125 | cpp | // E:\GitHub\GameLib\Tools\src\RobotCtrl\src\ListCtrlEx.cpp : 实现文件
//
#include "stdafx.h"
#include "RobotCtrl.h"
#include "ListBoxEx.h"
#include "DlgRobotCtrl.h"
// CListCtrlEx
IMPLEMENT_DYNAMIC(CListBoxEx, CListBox)
CListBoxEx::CListBoxEx()
{
}
CListBoxEx::~CListBoxEx()
{
}
BEGIN_MESSAGE_MAP(CListBoxEx, CList... | [
"woopengcheng@163.com"
] | woopengcheng@163.com |
d067193cbcf01da0ec49ac77dde78482108ce571 | 5d6d9b2f1192b214b23e745a96e69e6d80bae1d3 | /Grokking the Coding Interview/TreeDepthFirstSearch/Tree-Diameter.cpp | cc4e4b1bf48ec0a68161cf0d63b0d135710fc808 | [] | no_license | sunyw99/Educative | 3b137f6e28ef3a8ae68b817871d1ab1077f832e0 | c4038b19154154e131f6af1b75ab8be35e8579b9 | refs/heads/main | 2023-08-01T04:25:05.721302 | 2021-09-23T17:39:10 | 2021-09-23T17:39:10 | 407,059,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,636 | cpp | using namespace std;
#include <algorithm>
#include <iostream>
#include <vector>
class TreeNode {
public:
int val = 0;
TreeNode* left;
TreeNode* right;
TreeNode(int x) {
val = x;
left = right = nullptr;
}
};
class TreeDiameter {
public:
static int findDiameter(TreeNode* ... | [
"sunyw99@163.com"
] | sunyw99@163.com |
ed157beeb7cd45497307c9a80c1bcef8ea7be156 | b36762050a703bb8f3bf90e7aed3b81fc8097352 | /src/leveldb/helpers/memenv/memenv_test.cc | 1fe0a1c49544c73bd8a09260137332f2c23c3709 | [] | no_license | stevekimdev1/CENTERCOIN | 151fbfd01266b9c1cd9d48e4561ee03ba239a98c | ab16868615f19117a502c7bf54c2e4884a6870e6 | refs/heads/master | 2022-10-21T16:48:02.460944 | 2022-10-07T09:25:53 | 2022-10-07T09:25:53 | 149,549,401 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cc | version https://git-lfs.github.com/spec/v1
oid sha256:a069e253d6eefc55913895ff28e3e2ba50d427bd6051224fe7435061837512a4
size 6868
| [
"iam@dan.al"
] | iam@dan.al |
f4b309120bdf092bb23d05769363b8ead3ba7c52 | ddc2bfc3e1d587ceef787a861dc69a929132cb2e | /cp/TFCMNT.CP | 33d5fc44b41bfe17a65ae75cc4c8088a7e5d1d74 | [] | no_license | bigwood177/smcSource | d01f46418e571486fc76b03894e2ff084e95d36d | 35c7250973a93a6e30498dd87cb805762bc91528 | refs/heads/master | 2023-03-15T10:08:52.898056 | 2021-03-10T12:50:43 | 2021-03-10T12:50:43 | 283,564,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,397 | cp | ;TFCMNT.CP
; COP TABLE MAINTENANCE
; QUOTE EX. PC DESCRIPTIONS
;
RECORD COPTBL
.INCLUDE 'DEF:RD182A.DEF'
RECORD CHANNEL
CHN182 ,D2
RECORD PRINT
TITLE ,A*, 'QE PC DESCRIPTIONS'
HD ,A6, 'NO HDR'
LG ,A9, 'NO LEGEND'
PLINE ,A80
PRNTON ,D1
LINCNT ,D2,60
PGCNT ,D6
LPSW ,D2
SPLFIL ,A14
RP... | [
"wood@smcduct.com"
] | wood@smcduct.com |
e6b75c315887c3222ebfc04cb283d07512700e20 | d6b4bdf418ae6ab89b721a79f198de812311c783 | /emr/include/tencentcloud/emr/v20190103/model/DescribeInstancesListRequest.h | ca762155c9f1cb760cf8cab708622847912e0e87 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,604 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
03ccaa6bbe5551e9e2bbf878642fefdeecff9045 | 8162021ab7a31ca00f1c9d0431896f11d0a7be92 | /Code/solver/src/Sudoku.cpp | 45aa74d7dc67a380510493b9a3de40822136dfd2 | [] | no_license | Dwarf0/MySudoku | 145a489d75770cf8bcc087d00e12ac57a2816075 | 28fc152d2d830d1ffaab0aa6adb49801f09f3ffb | refs/heads/master | 2023-02-09T07:11:52.513973 | 2021-01-05T02:39:18 | 2021-01-05T02:39:18 | 318,874,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,687 | cpp | #include <QFile>
#include <QTextStream>
#include "Sudoku.h"
Sudoku::Sudoku()
{
_initMode = false;
for (int i = 0; i < SUDOKU_SIZE; ++i) {
for (int j = 0; j < SUDOKU_SIZE; ++j) {
_values[i][j] = new SudokuCell(i, j);
#ifdef _DEBUG
_solutionValues[i][j] = new SudokuCell(i, j);
#endif
}
}
}
Sudoku::Sudoku... | [
"maxime42300@hotmail.fr"
] | maxime42300@hotmail.fr |
cc5cba74c22d7876e3fb8abeac8712e71b5024ff | ba9322f7db02d797f6984298d892f74768193dcf | /emr/include/alibabacloud/emr/model/GetLogDownloadUrlRequest.h | 8df0e21724744bcc9377bd919df1238580840f6b | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 2,068 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
6e0d4d326cd4d005fb52dd12bc2b3033d3cd8aff | 208a3711fb5cc55aa0aa0a5de818fc65745999bc | /leetcode/leetcode_515.cc | 845eb511a756c70a593d505887c4e05f7df5c530 | [] | no_license | zeroli/playground | 380542c13fb7f5a59ef9075dbfbb0606a6321ee1 | 808e91cfd5ca081b4cb7f9816744c4b8176772fc | refs/heads/master | 2022-09-18T06:53:15.209170 | 2022-08-22T23:54:04 | 2022-08-22T23:54:04 | 204,423,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,624 | cc | /*
515. Find Largest Value in Each Tree Row
Medium
https://leetcode.com/problems/find-largest-value-in-each-tree-row/
You need to find the largest value in each row of a binary tree.
Example:
Input:
1
/ \
3 2
/ \ \
5 3 9
Output: [1, 3, 9]
*/
/**
* Definition for a bi... | [
"zero.li@asml.com"
] | zero.li@asml.com |
1235c8dd6bca2574c8ed1ca3bfb7cc8e6a04c637 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_4550_squid-3.1.23.cpp | 59088cc13ac20a0a32539f6c0f6d479fcd8baf94 | [] | 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 | 92 | cpp | tlv *
storeSwapMetaBuild(StoreEntry * e)
{
fatal ("Not implemented");
return NULL;
} | [
"993273596@qq.com"
] | 993273596@qq.com |
24442e564397d354cb5fb688aa825a4694b2dcdc | 7bcfcdff01e677a8d0def1df44728556b49dad78 | /LockNFC_fw/os/hal/hal_lld.cpp | 11eeddf0f77489d21a90b60757b962c290ffe25b | [] | no_license | Kreyl/LockNFC | e7de1e2eca47ddd5e6c5157df042bf878f2faf67 | 5b14d9f851b480a3fdf982428f6e6d173538af70 | refs/heads/master | 2021-01-10T16:52:09.792844 | 2018-09-05T20:06:49 | 2018-09-05T20:06:49 | 48,121,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,161 | cpp | /*
ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio
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 ... | [
"laystoll@yandex.ru"
] | laystoll@yandex.ru |
a0d764d36e3557be156ddcc0c2bfbe0709d717c2 | 22212b6400346c5ec3f5927703ad912566d3474f | /src/Frameworks/PythonFramework/PythonScriptModule.cpp | c81d6528a24e2583d3e82b4dd9a33b1370f50a76 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | irov/Mengine | 673a9f35ab10ac93d42301bc34514a852c0f150d | 8118e4a4a066ffba82bda1f668c1e7a528b6b717 | refs/heads/master | 2023-09-04T03:19:23.686213 | 2023-09-03T16:05:24 | 2023-09-03T16:05:24 | 41,422,567 | 46 | 17 | MIT | 2022-09-26T18:41:33 | 2015-08-26T11:44:35 | C++ | UTF-8 | C++ | false | false | 2,936 | cpp | #include "PythonScriptModule.h"
#include "Kernel/Eventable.h"
#include "Kernel/Logger.h"
namespace Mengine
{
//////////////////////////////////////////////////////////////////////////
PythonScriptModule::PythonScriptModule()
{
}
/////////////////////////////////////////////////////////////////////... | [
"irov13@mail.ru"
] | irov13@mail.ru |
d0b290e99ecf12574a30e9b980cf234b8d13799b | 1d20cdc10cb2ef2ffc4974e6cf6cfff2649f525c | /Project1/History.h | 9b73792e942656ea36943aabe3ad5cfb4ad5a932 | [] | no_license | UCLA-Cobular/CS32-Projects | 91df07fdcb9271cb27d2c87c127352f96ef81785 | b8d6a6a6bf9e85c39d9f26e1e58758c3fdb3f957 | refs/heads/main | 2023-03-17T21:23:42.318497 | 2021-03-12T06:36:36 | 2021-03-12T06:36:36 | 328,281,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | h | //
// Created by jdc10 on 1/9/2021.
//
#ifndef PROJECT1_HISTORY_H
#define PROJECT1_HISTORY_H
#include "globals.h"
class History {
public:
History(int nRows, int nCols);
bool record(int r, int c);
void display() const;
private:
int m_nRows;
int m_nCols;
char history_data[MAXROWS][MAXCOLS]{... | [
"royalcows9@gmail.com"
] | royalcows9@gmail.com |
b47e87d9a0f21ebfd9cc349892e0cf6dfc9fbf95 | 390b896ede4a0759552f868431fe8841bb4bf4e7 | /omnetpp/src/qtenv/moc_highlighteritemdelegate.cpp | b9b44a11147a4f526e632641c71ac486f1eb0848 | [] | no_license | posacz/Dioxide | 1fb2ec145b15b6922c686ca6cb19df8092730c72 | 003cd5e7653e2f1709003af00ff5d8d6f02c57b4 | refs/heads/main | 2023-03-31T06:10:37.173295 | 2021-04-14T18:20:08 | 2021-04-14T18:20:08 | 357,947,903 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,121 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'highlighteritemdelegate.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.9)
**
** WARNING! All changes made in this file will be lost!
********************************************... | [
"posacz"
] | posacz |
4ee3542ec707c7ed908bf52282ef2db138f17236 | e4babee60000e6dadb0800f73d9da83c4cce7ee2 | /jni/core/Vector2.cpp | c8693c3a470d3810b2fb1ff22486a75ccaceb5b4 | [] | no_license | amuTBKT/Asteroids | 14b232bcff6f2377a690b480ecb189cd1f5a8927 | 285e4fb1a9817eaf9e6035759ce346c1ad980cb8 | refs/heads/master | 2021-01-22T12:07:54.541164 | 2014-11-06T17:17:40 | 2014-11-06T17:17:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,976 | cpp | /*
* Vector2.cpp
*
* Created on: Oct 3, 2014
* Author: amu
*/
#include "Vector2.h"
//// constructors ////
Vector2::Vector2(float m = 0, float n = 0):x(m), y(n){}
Vector2::Vector2():x(0), y(0){}
Vector2::Vector2(const Vector2& v){ // copy constructor
x = v.x;
y = v.y;
}
//////////////////////
//// getter... | [
"gookutbkt@gmail.com"
] | gookutbkt@gmail.com |
d513a5be725e02ad6b4b0e971f218b29f856dd4f | 5bc04daeef5284871264a7446aadf7552ec0d195 | /OpenTimer/ot/shell/obselete.cpp | 935af4e9fc28301b138d3a135ad8db6294ad62ea | [
"MIT"
] | permissive | Ace-Ma/LSOracle | a8fd7efe8927f8154ea37407bac727e409098ed5 | 6e940906303ef6c2c6b96352f44206567fdd50d3 | refs/heads/master | 2020-07-23T15:36:18.224385 | 2019-08-16T15:58:33 | 2019-08-16T15:58:33 | 207,612,130 | 0 | 0 | MIT | 2019-09-10T16:42:43 | 2019-09-10T16:42:43 | null | UTF-8 | C++ | false | false | 1,949 | cpp | #include <ot/shell/shell.hpp>
namespace ot {
// Procedure: exec_ops
void Shell::_exec_ops() {
OT_LOGW(std::quoted("exec_ops"), " is obselete and has no effect");
}
// Procedure: init_timer
void Shell::_init_timer() {
OT_LOGW(std::quoted("init_timer"), " is obselete and has no effect");
}
// Procedure: set_early... | [
"u1219556@lnissrv4.eng.utah.edu"
] | u1219556@lnissrv4.eng.utah.edu |
34ccbe15caa6d8dc0003d68ce865f4bd4ecbaa4c | 8cf763c4c29db100d15f2560953c6e6cbe7a5fd4 | /src/qt/qtbase/src/corelib/io/qlockfile.cpp | c25650743089343465f17f60511b18efaac2f673 | [
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-digia-qt-commercial",
"LGPL-3.0-only",
"GPL-3.0-only",
"LicenseRef-scancode-digia-qt-preview",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0... | permissive | chihlee/phantomjs | 69d6bbbf1c9199a78e82ae44af072aca19c139c3 | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | refs/heads/master | 2021-01-19T13:49:41.265514 | 2018-06-15T22:48:11 | 2018-06-15T22:48:11 | 82,420,380 | 0 | 0 | BSD-3-Clause | 2018-06-15T22:48:12 | 2017-02-18T22:34:48 | C++ | UTF-8 | C++ | false | false | 12,107 | cpp | /****************************************************************************
**
** Copyright (C) 2013 David Faure <faure+bluesystems@kde.org>
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licens... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
5018f3fa3829719cd56124fa7fe388671d3f31ae | 62a7d30053e7640ef770e041f65b249d101c9757 | /2018牛客网暑期ACM多校训练营(第六场)/A.cpp | 99c603d20451a04fc4b66f351ba083de09787130 | [] | no_license | wcysai/Calabash | 66e0137fd59d5f909e4a0cab940e3e464e0641d0 | 9527fa7ffa7e30e245c2d224bb2fb77a03600ac2 | refs/heads/master | 2022-05-15T13:11:31.904976 | 2022-04-11T01:22:50 | 2022-04-11T01:22:50 | 148,618,062 | 76 | 16 | null | 2019-11-07T05:27:40 | 2018-09-13T09:53:04 | C++ | UTF-8 | C++ | false | false | 1,203 | cpp | #include <bits/stdc++.h>
using namespace std;
#ifdef __LOCAL_DEBUG__
# define _debug(fmt, ...) fprintf(stderr, "\033[94m%s: " fmt "\n\033[0m", \
__func__, ##__VA_ARGS__)
#else
# define _debug(...) ((void) 0)
#endif
#define rep(i, n) for (int i=0; i<(n); i++)
#define Rep(i, n) for (int i=1; i<=(n); i++)
#define ra... | [
"wcysai@foxmail.com"
] | wcysai@foxmail.com |
90241c670a37fa20d64f0739109350446bd9c1dd | 2c32342156c0bb00e3e1d1f2232935206283fd88 | /cam/src/motion/mvrgloco.cpp | a9b6085377ba3f73cfaa455be6512c7bd92597c9 | [] | no_license | infernuslord/DarkEngine | 537bed13fc601cd5a76d1a313ab4d43bb06a5249 | c8542d03825bc650bfd6944dc03da5b793c92c19 | refs/heads/master | 2021-07-15T02:56:19.428497 | 2017-10-20T19:37:57 | 2017-10-20T19:37:57 | 106,126,039 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 20,622 | cpp | // $Header: r:/t2repos/thief2/src/motion/mvrgloco.cpp,v 1.39 1999/08/05 17:09:46 Justin Exp $
// This is the maneuver builder/controller for solid ground locomotions -
// That is, one's in which the creature is affected by gravity and moving along
// the floor beneath its feet.
//
// XXX Need to add ability to check st... | [
"masterchaos.lord@gmail.com"
] | masterchaos.lord@gmail.com |
e5acefc5c38b77ece6fcfd85caf4616979005e75 | 2e26ae5f12a22d8672cd6174ee2986a62df854a6 | /Library/Low-Power-master/Examples/powerDownWakePeriodic/powerDownWakePeriodic.ino | 6e0ea78dc2097922e2b4d8f6fcd3165fb4e66d38 | [] | no_license | UnHappyWolf/Electro_lock | 41c3075bd33e07015e01d2967aaa0111c1188889 | a55134d912f0f817d4289b7725cffdd335f1fc22 | refs/heads/master | 2023-03-16T19:54:36.889572 | 2018-05-28T20:53:47 | 2018-05-28T20:53:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | ino | #include "LowPower.h"
void setup() {
}
void loop() {
delay(4000);
LowPower.powerDown(SLEEP_FOREVER, ADC_OFF, BOD_OFF);
}
| [
"beragumbo@ya.ru"
] | beragumbo@ya.ru |
e75ff7b106f40b10a59d97b18eb5583d09b4f2c0 | 29542073b321149b205587bcf0f5c25cadb55137 | /src/FFmpegH264Source.cpp | 24736955e364871e77ffd572bf6032ef3ef05d23 | [] | no_license | all4loo/rtsp_stream | 849f0fa469c9e71d4a749eb03e6669798034903b | 802f2ec3f1f38842f16ba6e189a0d015eec50cfb | refs/heads/master | 2020-07-13T00:21:58.303252 | 2019-08-28T15:38:50 | 2019-08-28T15:38:50 | 204,945,769 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,085 | cpp | //
// FFmpegH264Source.cpp
// FFmpegRTSPServer
//
// Created by Mina Saad on 9/22/15.
// Copyright (c) 2015 Mina Saad. All rights reserved.
//
#include "FFmpegH264Source.h"
namespace MESAI
{
FFmpegH264Source * FFmpegH264Source::createNew(UsageEnvironment& env, FFmpegH264Encoder * E_Source) {
re... | [
"baoqi.liu@enflame-tech.com"
] | baoqi.liu@enflame-tech.com |
8464236d251cd8bff1f81d5331216f38f8ec2b35 | 07c86589e7fd1408df0b3d2886e7dabf9c61ce02 | /InvestmentManager/InvestDb.cpp | 30042956b73d19b35278f5f5b7f571905ffd6ff8 | [] | no_license | conanconan/InvestmentManager | 7130b0fba4b59069e2cea6a04357c6cadff325d4 | 49d25eed0a8ce99e34f8bdd06805de68c7cc2ad5 | refs/heads/master | 2020-12-30T14:13:50.864541 | 2017-08-12T10:08:23 | 2017-08-12T10:08:23 | 91,299,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,489 | cpp | #include "pch.h"
#include "InvestDb.h"
#include "Utility.h"
const std::wstring dayTableName(L"DailyInfo");
CInvestDb::CInvestDb(const std::experimental::filesystem::path& dbFilePath,
const std::map<std::wstring, std::vector<std::wstring>>& dbTable)
: CDbWrapper(dbFilePath, dbTable), m_filePath(dbFilePath), m_... | [
"conan.cnke@gmail.com"
] | conan.cnke@gmail.com |
38de92e42f767a59f2daeb39d116133cde223d50 | ad0248bf3d3a24ca15a303e31ba53c210d90c448 | /Source/CatchMe/character/LuaAnimInstance.cpp | e6f9883e7fd74b0544113451122f1ac14a9db498 | [
"MIT"
] | permissive | quabqi/unreal.lua | 31822dc3cfc8c4e1869e958c714e8c97ac49f912 | 7702ac91f3fb7d29dea4bfb9d01e5b40e6956a68 | refs/heads/master | 2020-03-28T03:42:35.298417 | 2018-05-31T02:35:19 | 2018-05-31T02:35:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "LuaAnimInstance.h"
#include "tableutil.h"
ULuaAnimInstance::ULuaAnimInstance()
{
LuaCtor("character.animinstance", this);
}
void ULuaAnimInstance::NativeInitializeAnimation()
{
LuaCall("NativeInitializeAnimatio... | [
"asqbtcupid@sina.com"
] | asqbtcupid@sina.com |
c2c0cffd61656ae54051659e093d1319cdcf5796 | e65e6b345e98633cccc501ad0d6df9918b2aa25e | /Codechef/Long Challenge/18Oct/SURCHESS.cpp | 9adda68ec4d5e6bef3520b92a074a9ee6a8e35c5 | [] | no_license | wcysai/CodeLibrary | 6eb99df0232066cf06a9267bdcc39dc07f5aab29 | 6517cef736f1799b77646fe04fb280c9503d7238 | refs/heads/master | 2023-08-10T08:31:58.057363 | 2023-07-29T11:56:38 | 2023-07-29T11:56:38 | 134,228,833 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,272 | cpp | /*************************************************************************
> File Name: SURCHESS.cpp
> Author: Roundgod
> Mail: wcysai@foxmail.com
> Created Time: 2018-10-08 12:45:44
************************************************************************/
#pragma GCC optimize(3)
#include<bits/stdc++... | [
"wcysai@foxmail.com"
] | wcysai@foxmail.com |
e3da893b15d7daec4cbfa2a94a69859dc6defa2c | 2639be0c4fd4b2e121cd32c95253332cb9a25ba5 | /parsec_arduino/src/servo_sweep.cpp | 90dbeca91b2b8c1887bc5b7493bc428419f6c1bd | [] | no_license | tony1213/parsec | 736215b59afb1cc0509d49d7cecb8c81cda20226 | dfd1c58b577b0e857fcb2a952e64a095c7da3679 | refs/heads/master | 2021-01-19T02:25:56.229414 | 2012-03-30T16:32:23 | 2012-03-30T16:32:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,115 | cpp | // Copyright 2011 Google Inc.
// Author: whess@google.com (Wolfgang Hess)
//
// 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... | [
"duhaway@google.com"
] | duhaway@google.com |
3e6df976df3602decce73916788a43e106f4b07c | 1ef14a2a52d6844bd931f80a556629f5f9c11349 | /goopdate/command_line_parser.cc | 66e9d3fa6bed99af015749e8b1330c759c72bfed | [
"Apache-2.0"
] | permissive | pauldotknopf/omaha | c61a58dee395a70e658f53a7b33cefab9fed5eb6 | 7f70869253aeebadb4f52db5306bde5571d71524 | refs/heads/master | 2020-04-11T12:21:03.800672 | 2011-08-17T01:07:48 | 2011-08-17T01:07:48 | 32,242,630 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,373 | cc | // Copyright 2008-2009 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | [
"ddorwin@google.com@e782f428-02b4-11de-a43f-ff96a2b7a9af"
] | ddorwin@google.com@e782f428-02b4-11de-a43f-ff96a2b7a9af |
7e64747de6dc7d823dc623fad8aa6b6d8245d892 | 0b8d0ced82feb7bfc6f9c16580bafb8ab7bc6728 | /src/structure/map/hash.h | 6518b40bc03217c4496c31324c268635225f6c71 | [] | no_license | IvanUkhov/software-engineering | c04373027bd1e0e15ef5ba91329546f8435fb7d7 | 3e0fc543d6aacf06650dfc237f621c66ac8eb450 | refs/heads/main | 2022-10-30T15:09:57.873837 | 2022-10-12T20:06:22 | 2022-10-12T20:06:22 | 111,704,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,453 | h | #ifndef STRUCTURE_MAP_HASH_H_
#define STRUCTURE_MAP_HASH_H_
#include <cstddef>
#include <functional>
#include <memory>
#include <vector>
namespace structure { namespace map {
const std::size_t kInitialBreadth = 1 << 7;
const double kResizeThreshold = 0.8;
template <typename K, typename V, typename H = std::hash<K>>... | [
"ivan.ukhov@gmail.com"
] | ivan.ukhov@gmail.com |
6a6231ed53eb77a5b6856c26a9136cb5aee7e992 | 89ab9c481bb50fb4ac1d75ca5a356d0a0cc12fb7 | /scwin/StringLengthConverters.h | 0e459115bdc77a00d96a8fb49e8d2f81be7ce0c8 | [] | no_license | vze2rdgy/scwin | 7884ddcd7126ff4792d05752be2470a587006418 | 735ecaa75c3043e04d9f518394a69e0589a7e821 | refs/heads/master | 2021-08-03T07:10:30.833267 | 2021-08-02T03:20:22 | 2021-08-02T03:20:22 | 156,920,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,131 | h | #pragma once
using namespace Windows::UI::Xaml::Data;
namespace scwin
{
public ref class StringLengthVisibilityConverter sealed :
public IValueConverter
{
public:
StringLengthVisibilityConverter();
// Inherited via IValueConverter
virtual Platform::Object ^ Convert(Platform::Object ^value, ... | [
"noreply@github.com"
] | vze2rdgy.noreply@github.com |
5aeb3e1d7e4ae4e83af662b60a99c606836afeff | 1e0d62ffb3063f7f22c36f2fd7624d03706d03c3 | /src/bloom.cpp | 2273f8c0fab44e0a6855bebd9991ca7fb2404c54 | [
"MIT"
] | permissive | tbcoin/PikachuCoin | 7aca26676c8d41a4d2716bc8c880c10d12f5fa48 | ccff085fe9a887e306f342e204f3a50c5cdf50e9 | refs/heads/master | 2020-04-06T04:52:30.345968 | 2014-02-15T15:09:22 | 2014-02-15T15:09:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,048 | cpp | // Copyright (c) 2012 The PikachuCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <math.h>
#include <stdlib.h>
#include "bloom.h"
#include "main.h"
#include "script.h"
#define LN2SQUARED 0.4804530139... | [
"ting.1717@163.com"
] | ting.1717@163.com |
92930d939c6dbfd77236de86c87d1853c7f7793f | 1d0097e25c983c764be6871c4e9d19acd83c9a6d | /llvm-3.2.src/lib/Target/Hexagon/HexagonInstrInfo.h | 2bb53f899ce1c6d8d197d116750667da4fd1b1b0 | [
"LicenseRef-scancode-unknown-license-reference",
"NCSA"
] | permissive | smowton/llpe | 16a695782bebbeadfd1abed770d0928e464edb39 | 8905aeda642c5d7e5cd3fb757c3e9897b62d0028 | refs/heads/master | 2022-03-11T23:08:18.465994 | 2020-09-16T07:49:12 | 2020-09-16T07:49:12 | 1,102,256 | 50 | 10 | NOASSERTION | 2020-09-16T07:49:13 | 2010-11-22T12:52:25 | C++ | UTF-8 | C++ | false | false | 8,453 | h | //===- HexagonInstrInfo.h - Hexagon Instruction Information -----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"cs448@cam.ac.uk"
] | cs448@cam.ac.uk |
66d5f31e1da8d5a8cf12ac171a421f6155185da9 | 662e36112643697e4f40b036a91c37436e3256d0 | /map-structure/vi-map/test/test_map_consistency_check.cc | ea1e6f884143afdc369c5884eb59713044e4e917 | [
"Apache-2.0"
] | permissive | ethz-asl/maplab | ca9e2cacd2fbaf9dac22b455e24a179f8613729a | 0b4868efeb292851d71f98d31a1e6bb40ebb244b | refs/heads/master | 2023-08-28T16:19:16.241444 | 2023-06-18T21:36:18 | 2023-06-18T21:36:18 | 112,253,403 | 2,488 | 755 | Apache-2.0 | 2023-06-18T21:36:19 | 2017-11-27T21:58:23 | C++ | UTF-8 | C++ | false | false | 18,582 | cc | #include <algorithm>
#include <vector>
#include <Eigen/Core>
#include <aslam/cameras/random-camera-generator.h>
#include <aslam/common/memory.h>
#include <maplab-common/pose_types.h>
#include <maplab-common/test/testing-entrypoint.h>
#include <maplab-common/test/testing-predicates.h>
#include <posegraph/pose-graph.h>... | [
"aslmultiagent@gmail.com"
] | aslmultiagent@gmail.com |
cd18d87ef5360940943b64c329e0f2b8ca333856 | 093858c8a1ba13d532d6a1e53da5d512b3aeecd6 | /Code/Sandbox/Engine/container.cpp | 3b632645989278ad0601f21ecb1691c591a96fe0 | [] | no_license | aaronwhitesell/Sandbox | f941f5044631d5d4431159f74716f1eb61f5ee35 | 165bf831991533b83f8da67689541bcd46102217 | refs/heads/master | 2021-01-16T00:57:09.841602 | 2015-10-08T02:48:35 | 2015-10-08T02:48:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,216 | cpp | #include "container.h"
#include <SFML/Window/Event.hpp>
#include <SFML/Graphics/RenderStates.hpp>
#include <SFML/Graphics/RenderTarget.hpp>
namespace GUI
{
Container::Container()
: mChildren()
, mSelectedChild(-1)
{
}
void Container::pack(Component::Ptr component)
{
mChildren.push_back(component);
if (!hasSelec... | [
"axwhitesell@gmail.com"
] | axwhitesell@gmail.com |
4de7d68b535458be9f6f13ce0fdea98362094b30 | 893ee3fe9622a3a5d3f8b4e95f49ed4e76678d44 | /Tests/data_copy_no_lower_bound.cpp | 0ddd1270f04ea47c7c68fb3219006cf562b9b78d | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | OpenACCUserGroup/OpenACCV-V | 1789ddeed924353cd4a2e2ce7f9dd20b54a56f18 | 45355f784ddc12684915276c5fd7d1dd4b2d2052 | refs/heads/master | 2023-08-09T10:24:11.259348 | 2023-07-27T16:19:45 | 2023-07-27T16:19:45 | 94,044,279 | 23 | 13 | BSD-3-Clause | 2023-08-21T18:32:11 | 2017-06-12T01:43:05 | Fortran | UTF-8 | C++ | false | false | 1,046 | cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:data,data-region,construct-independent,V:1.0-2.7
int test1(){
int err = 0;
srand(SEED);
real_t * a = new real_t[n];
real_t * b = new real_t[n];
real_t * c = new real_t[n];
for (int x = 0; x < n; ++x){
a[x] = rand() / (real_t)(RAND_MAX / 10);
... | [
"chrismun@r0login1.localdomain.hpc.udel.edu"
] | chrismun@r0login1.localdomain.hpc.udel.edu |
87604b99a1fc893a1166d8278fe68b345182dfec | 8ae31e5db1f7c25b6ce1c708655ab55c15dde14e | /比赛/学校/2019-11-8测试/source/PC36_HB_lcx/15.cpp | b133a684387b57ae1f647b48a61882c337dc6a69 | [] | no_license | LeverImmy/Codes | 99786afd826ae786b5024a3a73c8f92af09aae5d | ca28e61f55977e5b45d6731bc993c66e09f716a3 | refs/heads/master | 2020-09-03T13:00:29.025752 | 2019-12-16T12:11:23 | 2019-12-16T12:11:23 | 219,466,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | cpp | #include<bits/stdc++.h>
#define int long long
#define INF 0x7ffffff
using namespace std;
inline int read() {
int x = 0, f = 1;
char c = getchar();
while(!isdigit(c)) {
if(c == '-') {
f = -1;
}
c = getchar();
}
while(isdigit(c)) {
x = x * 10 + c - '0';
c = getchar();
}
return x * f;
}
char z[1000001]... | [
"506503360@qq.com"
] | 506503360@qq.com |
c739fd385eebadd8da8539ddc7121730f392bbfd | a1ae98986485273095456edddbca9e48b3a84321 | /Lista 3.1 - Ex6.cpp | 10754d26384645a45cd8a2c0ba037781d011c4e4 | [] | no_license | luizinbrzado/FATEC | bd3f6e379c6e55fdf43a071d75381f20633df2d3 | 3352739043db0f8f37f022fa3d9a9d7f748bfcf5 | refs/heads/main | 2023-05-25T13:41:26.849675 | 2021-06-11T21:31:37 | 2021-06-11T21:31:37 | 372,968,706 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 750 | cpp | /*Criar um algoritmo que leia os limites inferior e superior de um intervalo e imprima
todos os números pares no intervalo aberto e seu somatório. Suponha que os dados
digitados são para um intervalo crescente, ou seja, o primeiro valor é menor que o
segundo*/
#include <stdio.h>
#include <locale.h>
main() {
set... | [
"luiztrineves@gmail.com"
] | luiztrineves@gmail.com |
4c5606b8b6bf6f80913347ca11d36f724cc9ab93 | 303618a190b1dbc9d61b0d5e3488ce7a8e907e1f | /drawLinePixel/src/ofApp.cpp | 913d7db739dc8ec2a74695885ed3a63666de8fb7 | [
"MIT"
] | permissive | Artrustee/ofcourse_homework | 511bfd2649b992baa52d632b1d9ac8350f39dfa1 | ddb875f71bf9680bb2d8fa9dc3a1db9ce6dbeb5d | refs/heads/master | 2016-09-01T09:50:15.254445 | 2015-10-30T01:31:21 | 2015-10-30T01:31:21 | 44,954,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,455 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(0);
ofSetCircleResolution(37);
}
//--------------------------------------------------------------
void ofApp::drawLinePixel(float X1, float Y1,float X2, float Y2, float linewidth,ofColor c... | [
"764933285@qq.com"
] | 764933285@qq.com |
b03f37c6977a2b8bb6e8771bae57abbd80545ab9 | 3467df0c3e53a300b87081adc945dbe62cec375d | /TACO-OGL-EGE/components/engine/core/core/h/FrameID.h | 81e8542f08de03ff83321821c5fd3c643b1bdc84 | [] | no_license | johnathontheriot/TACO-GE | c105b8b21de6b6c98e8c4b7cf8991d69c80957a9 | f837ea137f16b222233653a86ec796122d192c97 | refs/heads/master | 2021-01-15T08:37:26.840171 | 2018-01-06T03:41:38 | 2018-01-06T03:41:38 | 48,794,573 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | #ifndef FRAME_ID_H
#define FRAME_ID_H
#include "ID.h"
#include <boost/functional/hash.hpp>
//not well defined
class FrameID : public ID{
public:
FrameID();
int getInstanceID() const;
std::string getNameID() const;
private:
static int _f_id;
protected:
int instance_id;
std::string name_id;
};
struct FrameIDH... | [
"johnathontheriit@gmail.com"
] | johnathontheriit@gmail.com |
bda6e9dec0538c74b043cbff738721aa966ad009 | 6ff434614f9f8d5b1e0d1ca8a5d82efbf988c6bc | /leetcode/1-400/63.Unique-Path.cpp | e931965f2e55676040819f5939a62d35b17e1694 | [] | no_license | CaribouW/Coding | a0cce05165601b02651246e95c8344d876c435df | db496933e5c8ae4e14173c69774fd30857ceae0f | refs/heads/master | 2022-11-11T14:35:23.432713 | 2020-06-24T02:04:37 | 2020-06-24T02:04:37 | 121,954,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | #include"header.h"
class Solution {
public:
int uniquePathsWithObstacles(vector<vector<int>>& mat) {
if(mat.empty() || mat[0].empty()) return 0;
int m = mat.size() , n = mat[0].size();
vector<vector<long long>> dp(m , vector<long long>(n));
dp[0][0] = mat[0][0] == 0;
... | [
"1071956678@qq.com"
] | 1071956678@qq.com |
975c384770c77d7f88711d85751a803edf4f69c5 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /third_party/blink/renderer/bindings/tests/results/modules/v8_test_dictionary_2.cc | 58d3459c971afead6dd74f19c512ce2f81363cbe | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 5,881 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/dictionary_v8.cc.tmpl
// by the script code... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0ea8d3e93290ce8d07287bb45e920e6facb09759 | 25ad1fafed62b18e6401b3d4a6b6717e1ced9850 | /main.cpp | c035335cbf9265768d0be56baae42331713c193b | [] | no_license | LcsTen/qml-validator | e8d9f8f37d5bc6e6a2ff8f41412fe6e838600c46 | 337be269945839e7b0223e4c00adcb8b8d3851e0 | refs/heads/master | 2023-04-15T10:46:47.574897 | 2021-04-28T14:51:14 | 2021-04-28T16:17:17 | 362,506,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,086 | cpp | #include <iostream>
#include <QQmlComponent>
#include <QQmlEngine>
#include <QCoreApplication>
std::ostream& operator<<(std::ostream& os, const QString s){
return os << s.toStdString();
}
int main(int argc, char** argv){
if(argc < 2){
std::cout << "Usage: qml-validator <qmlfile>" << std::endl;
return 1;
}
Q... | [
"lcs10.twinoid@gmail.com"
] | lcs10.twinoid@gmail.com |
71b1ec62a8ebbae8e10d8df1479c61fec8feac7e | cc0d70c2f617b3aeb495e96d24e7a0c2056971b4 | /project-01/uva-11062/main.cpp | 7c0b5ac71dd46dabb7be4a827d652b393003d88f | [] | no_license | Torogeldiev-T/auca-alg-2021 | 5061b49472c2cbd3811ffdb1921ddfd4732b30e2 | 549386143ab161d9f44dbd5b84726bb7785369c3 | refs/heads/main | 2023-04-27T08:43:50.079952 | 2021-05-24T15:33:22 | 2021-05-24T15:33:22 | 328,555,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | cpp | #include <iostream>
#include <set>
#include <cctype>
#include <string>
#include <algorithm>
using namespace std;
int main()
{
set<string> r;
string finalw = "";
string w = "";
for (string s; cin >> s;)
{
int b = 0;
int a = 0;
for (int i = 0; i < s.size(); i++)
{
... | [
"tilek2402@gmail.com"
] | tilek2402@gmail.com |
85244bc72b69e578d713057df6c5ab8d810ee949 | d0ecb5695223c1c8866d7aa551ae0ffadb2a829d | /Utilities/esUtil_win.cpp | 788685599e787c44e2b11225a68036893d3e0cb3 | [] | no_license | HyperdiXx/OPenGL | 5f2b5e5473d5c4367956164c8b916ad6b8a90fb8 | 20d0b6b007aeb12c242a82d8e9738794f652d25b | refs/heads/master | 2020-03-21T21:12:02.131702 | 2019-01-28T22:36:38 | 2019-01-28T22:36:38 | 139,051,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,345 | cpp | #include "stdafx.h"
// use preprocesor to skip file for the Android build (to avoid linking windows libs)
#ifdef _WIN32
//////////////////////////////////////////////////////////////////////////////////////////////
#include <windows.h>
#include "esUtil.h"
// Main window procedure
LRESULT WINAPI ESWindo... | [
"noreply@github.com"
] | HyperdiXx.noreply@github.com |
c14d46b25b1f1b18184b97e849e9f30429e76218 | 24ce7a1264cb0c4bbf7b7ab904a5dc98ccc1be4e | /search-insert-position.cpp | ff4b5a5c50fbb59fbd7382ae4107fe8c35ad744f | [] | 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 | 804 | cpp | /*
Search Insert Position Total
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array.
Here are few examples.
[1,3,5,6], 5 → 2
[1,3,5,6], 2 → 1
[1,3,5,6], 7 → 4
[1,3,5,6], 0 →... | [
"xinyingzengvy@gmail.com"
] | xinyingzengvy@gmail.com |
cf2bc674c8d1c44beb0665a8957c19bd1416a318 | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/tao/AnyTypeCode/Enum_TypeCode.h | 43d3994b0ea472439dc707f7fe511b04875adf55 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop",
"Apache-2.0"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 3,620 | h | // -*- C++ -*-
//=============================================================================
/**
* @file Enum_TypeCode.h
*
* Header file for a @c tk_enum CORBA::TypeCode.
*
* @author Ossama Othman <ossama@dre.vanderbilt.edu>
*/
//===========================================================================... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
8655bb4b3e65c20413df7c10498a7d1e5b4d599d | 76ca52991ca1a1e50d066e9f7c4827b6a4453414 | /cmds/incident_helper/src/parsers/EventLogTagsParser.h | 79057ce0b3cab5ddeb4df5f2cc58409e007b7210 | [
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | ResurrectionRemix/android_frameworks_base | 3126048967fa5f14760664bea8002e7911da206a | 5e1db0334755ba47245d69857a17f84503f7ce6f | refs/heads/Q | 2023-02-17T11:50:11.652564 | 2021-09-19T11:36:09 | 2021-09-19T11:36:09 | 17,213,932 | 169 | 1,154 | Apache-2.0 | 2023-02-11T12:45:31 | 2014-02-26T14:52:44 | Java | UTF-8 | C++ | false | false | 1,084 | h | /*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 app... | [
"jinyithu@google.com"
] | jinyithu@google.com |
dd417c98b1f53b5bf6ae66eb8159c419922d99a6 | 45d201c41ef3b9ded5735ddad916ea064210281d | /gui_main/order_editor.h | d6b099de06015166ca209a85ab6c7ebcb6454e0f | [] | no_license | reduz/coconut-studio | 9a655771448336126a79678642b3ffef46a78068 | b52c5080da427a44e18d653e0a0574410503f4bb | refs/heads/master | 2021-01-22T01:04:55.221695 | 2018-01-10T23:08:42 | 2018-01-10T23:08:42 | 32,185,446 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | h | #ifndef ORDER_EDITOR_H
#define ORDER_EDITOR_H
#include <QWidget>
class OrderEditor : public QWidget
{
Q_OBJECT
public:
explicit OrderEditor(QWidget *parent = 0);
signals:
public slots:
};
#endif // ORDER_EDITOR_H
| [
"reduzio@042f636a-f736-11de-abf5-6d7912ff0902"
] | reduzio@042f636a-f736-11de-abf5-6d7912ff0902 |
0171698cc3a1911aaded01dcf28be2ff97755af9 | da08587500cee23a4ddc2c0ee3d7c8a1d1d969e7 | /projects/leja/leja.cpp | 8830c4c2b9710d4893d5a65fcb0a06699b9f4582 | [] | no_license | knut0815/QUIJIBO | fcdfaf3c12a4ba5f27d5b43ba4b976830449e159 | 2ce03411dd1d0b6e71baa477d4fba91393263819 | refs/heads/master | 2021-06-21T05:02:00.483560 | 2017-06-14T03:18:02 | 2017-06-14T03:18:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,530 | cpp | /*
QUIJIBO: Source code for the paper Symposium on Geometry Processing
2015 paper "Quaternion Julia Set Shape Optimization"
Copyright (C) 2015 Theodore Kim
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Softwa... | [
"tkim@pixar.com"
] | tkim@pixar.com |
3b46e6eb0072490b5e1d171c591ba3afeb8bc4e2 | 2718dbcf4caac1c204fb4ee75f7506c381a49761 | /platform/src/system/ISASimTest.cpp | 1399ddc6b2eeed97cbc46e7bee93a7405fe26cea | [] | no_license | Jing-You/ee6470-final | 0870decb2f1b05b1cc0133f1f37b98da561d0b39 | 9db50304ab1bd4bbc595a03bcad1cb7d26008f92 | refs/heads/master | 2020-12-04T23:03:46.811519 | 2020-01-05T14:24:43 | 2020-01-05T14:24:43 | 231,928,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,677 | cpp | #include <systemc>
#include "ISASimPlatform.h"
#include "AccPlatform.h"
#include "tclap/CmdLine.h"
const char *project_name="riscv";
const char *project_file="riscv.ac";
const char *archc_version="2.4.1";
const char *archc_options="-abi ";
std::string concat(std::string s, int n) {
return s + std::to_str... | [
"ken32293355@gmail.com"
] | ken32293355@gmail.com |
bb7bafe945bb1c4c0bac6941e4849f24a0da29e2 | ee835fddfb793fe0c3a918e9d3c42c3e38f7e76a | /src/B1ParallelWorldConstruction.cc | eab536255357a9b1a06290e0ac4e32bfa2d0baec | [] | no_license | whit2333/bubble_chamber | 75a2809d7e5a1c50bbdf58a27f2c47a170757494 | c5bb2457ed1f08c021eb3b152cd2bdd9f26f6816 | refs/heads/master | 2021-01-10T02:15:43.064580 | 2018-03-04T02:22:19 | 2018-03-04T02:22:19 | 43,964,439 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,225 | cc | #include "B1ParallelWorldConstruction.hh"
#include "G4Box.hh"
#include "G4Tubs.hh"
#include "G4LogicalVolume.hh"
#include "G4PVPlacement.hh"
#include "G4PVParameterised.hh"
#include "G4Material.hh"
#include "G4SystemOfUnits.hh"
#include "G4SDManager.hh"
#include "G4Colour.hh"
#include "G4VisAttributes.hh" ... | [
"warmstrong@anl.gov"
] | warmstrong@anl.gov |
baf4c22b1b014fbfe8a06f345fb41ebd9e996eb2 | 8481b904e1ed3b25f5daa982a3d0cafff5a8d201 | /C++/POJ/POJ 2068.cpp | d2651329bb7ecce913823c2372209c5bc3bf97c7 | [] | no_license | lwher/Algorithm-exercise | e4ac914b90b6e4098ab5236cc936a58f437c2e06 | 2d545af90f7051bf20db0a7a51b8cd0588902bfa | refs/heads/master | 2021-01-17T17:39:33.019131 | 2017-09-12T09:58:54 | 2017-09-12T09:58:54 | 70,559,619 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 625 | cpp | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
using namespace std;
int n,m[21],s;
int dp[21][(1<<13)+1];
int dfs(int now,int left)
{
if(dp[now][left]!=-1) return dp[now][left];
if(left==0)
{dp[now][0]=1;return 1;}
int i,ans=0;
for(i=1;i<=m[now];i++)
{
if(left<i) break;
if(dfs(now%n... | [
"751276936@qq.com"
] | 751276936@qq.com |
66cbbc733378b20ce1bbcd38fbf58e7497f219c1 | ee8d6b2956c4d864eb5fdb7c84f2370a3a1cf7dd | /cpp3/operatorovld.cpp | 9007536f6e2ef02d6dfffb3c11c72e1e608c118b | [] | no_license | CGCC-CS/csc240spring20 | 1e19289c695a123fd93e1e4a91b18e65ef1ebbcc | 321a26d2736e8875d196aa81fc2d0072800eb254 | refs/heads/master | 2020-12-05T20:24:00.227392 | 2020-04-29T04:30:36 | 2020-04-29T04:30:36 | 232,237,328 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,478 | cpp | #include<iostream>
using namespace std;
// ---------------- Start of MyClass ----------------
class MyClass {
private:
int a;
public:
MyClass(int x=0) {
a = x;
}
void print() {
cout << " Printing: " << a << endl;
}
MyClass operator+(const MyClass& that);
MyClass operator+(... | [
"wadehuber@gmail.com"
] | wadehuber@gmail.com |
8f091884d2a8a3e4eecc9908a5e9650374d0f630 | 841a3bc5cf95f0c115e4d4eba2590a02c2e06dd2 | /main.cpp | 05eab0d977099e914a1d41c2f9eefaa2f2c05106 | [] | no_license | xiaocai2333/arrow_cython | 58231ea12365a437482f02700422c140b351a612 | 6963a4f2200756f76fccd5373694f1c0aade9bdb | refs/heads/master | 2020-12-08T15:59:22.190981 | 2020-01-18T08:25:17 | 2020-01-18T08:25:17 | 233,025,513 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,348 | cpp | #include <iostream>
#include "make_point.h"
#include "gis_func.h"
#include "arrow/api.h"
using namespace std;
int main() {
shared_ptr<arrow::Array> arr_ptr1;
shared_ptr<arrow::Array> arr_ptr2;
arrow::Int64Builder builder1;
shared_ptr<arrow::Array> arr_test_2;
arrow::Status status2;
status2... | [
"1170613300@qq.com"
] | 1170613300@qq.com |
991c47318499867c0c597fcbe9007137685b0606 | c2d270aff0a4d939f43b6359ac2c564b2565be76 | /src/chrome/browser/chromeos/accessibility/accessibility_util.cc | 6b368f9fbe3c257c3891e7005977f4c8828c4d0f | [
"BSD-3-Clause"
] | permissive | bopopescu/QuicDep | dfa5c2b6aa29eb6f52b12486ff7f3757c808808d | bc86b705a6cf02d2eade4f3ea8cf5fe73ef52aa0 | refs/heads/master | 2022-04-26T04:36:55.675836 | 2020-04-29T21:29:26 | 2020-04-29T21:29:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | 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.
#include "chrome/browser/chromeos/accessibility/accessibility_util.h"
#include "ash/public/cpp/ash_pref_names.h"
#include "chrome/browser/browser_pro... | [
"rdeshm0@aptvm070-6.apt.emulab.net"
] | rdeshm0@aptvm070-6.apt.emulab.net |
eb1e4413af451973354992c2f088857393efae1d | 773820425b1fc6db630031e74dd8f55265d9f932 | /securitysdkcore/src/main/cpp/getSign.h | be3d89e03365a8d7e9c5db83e0c5f27b22998a84 | [] | no_license | KingSun0/SecuritySDK | 365e7c56660375fe3825e4f170461d9e42602b2b | c558515849e9d506382cb18643afe3736225d2d2 | refs/heads/master | 2022-03-13T10:50:40.699972 | 2017-12-27T13:06:34 | 2017-12-27T13:06:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | //
// Created by ffthy on 21/11/2017.
//
#include <stdio.h>
#include <stdlib.h>
#include <jni.h>
#include <android/log.h>
#include <string.h>
#include <sys/ptrace.h>
#include <unistd.h>
#include <sys/types.h>
#include <vector>
#include <string>
#include <fstream>
#include <iostream>
#include "Util.h"
#include <jni.h>
#... | [
"ffthy@qq.com"
] | ffthy@qq.com |
0ed0cdf3d1e1d91f7aaec059ee0f7566bc9ff48e | 0995c448ad10f024371a99c5a5b872919b586a48 | /Kattis/armystrengtheasyv2.cpp | 4c3ceee83c47f8165a35893662d2decb5bd4c8af | [] | no_license | ChrisMaxheart/Competitive-Programming | fe9ebb079f30f34086ec97efdda2967c5e7c7fe0 | 2c749a3bc87a494da198f2f81f975034a8296f32 | refs/heads/master | 2021-06-14T13:48:39.671292 | 2021-03-27T10:34:46 | 2021-03-27T10:34:46 | 179,540,634 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
class mycomp
{
public:
bool operator() (int a, int b) {
return a > b;
}
};
bool reversecompare(int a, int b)
{
return a > b;
}
int main ()
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
int T;
... | [
"samuelhenrykurniawan@yahoo.com"
] | samuelhenrykurniawan@yahoo.com |
6d207de646f32aba61efac6677ab3076bbd3b18a | 12fedd8bfa634d8d0ea01b1e09d1fc00200e5c34 | /Exercise_4.1/Source.cpp | 292dc2d98cb6cbb277882884b33528f9c766a0bd | [] | no_license | shuspieler/CPP-Primer-5th-Exercises | d09b5836be0015fa56eafc9a2dc6c237f3bc30bd | c257ccc21e75b6a016fa2608eacf8b1987c0bac5 | refs/heads/master | 2023-02-23T22:07:19.259133 | 2021-01-24T20:17:52 | 2021-01-24T20:17:52 | 265,661,669 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 89 | cpp | #include<iostream>
int main()
{
std::cout << 5 + 10 * 20 / 2 << std::endl;
return 0;
} | [
"ierenshu@gmail.com"
] | ierenshu@gmail.com |
08e2051738c1552778b632ff9554b6826319710e | 90592e2cca069daf93afa2667aa77478ee0f27f1 | /build-Calculator-Desktop_Qt_5_4_1_MSVC2013_64bit-Release/release/moc_graphformula.cpp | c8667d44b35f70d0b3899b40e463c416e76ba578 | [] | no_license | MohamedShanaz/xforcerepo | 994e079e68bd7d7e7c67008e65b345ca9ed6af9f | c80bebf8e0113c6ecd20ae7c47e68ecba9c392e4 | refs/heads/master | 2020-05-20T11:30:35.479944 | 2015-07-26T15:18:21 | 2015-07-26T15:18:21 | 37,648,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,752 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'graphformula.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.1)
**
** WARNING! All changes made in this file will be lost!
**************************************************... | [
"mshanaz22@yahoo.com"
] | mshanaz22@yahoo.com |
246390a759a03a582548de61be475225f3af1cf5 | 681d04f17b5f7eeec45d6480426536448bd8fb84 | /src/protocol.h | 4e1d2cc268e1f3f35cb792b5f18c6437d7bba6f9 | [
"MIT"
] | permissive | btc10000/jinver-coin | a20340e83c7176998d0d69277eb82a846afe7cc1 | a325e99e9467d78fbeccdc3cea60ae41d7b78f52 | refs/heads/master | 2021-01-24T09:50:03.849787 | 2016-10-06T06:31:19 | 2016-10-06T06:31:19 | 70,128,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,410 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __cplusplus
# error This header can only be compiled as C++.
#endif
#ifnd... | [
"2076881175@qq.com"
] | 2076881175@qq.com |
af656e967f35798051e4cd42d6e5009121aaf0f4 | af3f1e4863344b3c63ca46f6d300559f4730776e | /main.cpp | 942ce13a47528602c0127130de05f05a9a75ac96 | [
"MIT"
] | permissive | anpefi/tumopp | 7c2e88ce6642fcb7ee26253a2e8fc58794ec4a2a | 7a4f12c0f3126343653358fc9662314c80553737 | refs/heads/master | 2021-01-20T00:56:08.096897 | 2017-04-16T14:48:52 | 2017-04-16T14:48:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | cpp | // -*- mode: c++; coding: utf-8 -*-
/*! @file main.cpp
@brief Only defines tiny main()
*/
#include "src/simulation.hpp"
//! Just instantiate and run Simulation
int main(int argc, char* argv[]) {
std::vector<std::string> arguments(argv + 1, argv + argc);
try {
tumopp::Simulation simulation(arguments... | [
"heavy.watal@gmail.com"
] | heavy.watal@gmail.com |
392697682026cbd9d4ef75513089c191e55fd7cc | ceb2b46d7ab1c591e4d277c8c849e4b8f7b20a36 | /src/APA102.hpp | 20f8e54861966c10d09cc6c2fce750f7bc9b9cc7 | [] | no_license | EricMiddleton1/LightNode-TV | 0f8c336dfe04695f93c71139a1876b47543ef352 | 26ed48d4c8257af11c06596d86fff3a4ef324267 | refs/heads/master | 2020-04-06T03:58:09.245189 | 2017-02-25T00:06:40 | 2017-02-25T00:06:40 | 83,093,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | hpp | #pragma once
#include <vector>
#include <cstdint>
#include "LightNode/Color.hpp"
class APA102
{
public:
APA102();
~APA102();
void display(const std::vector<Color>& colors);
private:
static constexpr double GAMMA = 2.3;
std::vector<char> colorToFrame(const Color& c) const;
std::vector<double> gammaTable;
};
| [
"ericm@iastate.edu"
] | ericm@iastate.edu |
4cf3dbfd387c2eb7e08acea7899375f35136b600 | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/core/kernels/data/finalize_dataset_op.h | 4b2ef22b2b621cb7159bb375e0486a24ed16ee32 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 2,158 | h | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
7f897047689647821f0de6285bf6bff25a5ec18d | 1061216c2c33c1ed4ffb33e6211565575957e48f | /cpp-restsdk/model/GetMessages_allOf.h | f1efe576aa0f1c16f1673c641aba4928e1859caa | [] | no_license | MSurfer20/test2 | be9532f54839e8f58b60a8e4587348c2810ecdb9 | 13b35d72f33302fa532aea189e8f532272f1f799 | refs/heads/main | 2023-07-03T04:19:57.548080 | 2021-08-11T19:16:42 | 2021-08-11T19:16:42 | 393,920,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,820 | h | /**
* Zulip REST API
* Powerful open source group chat
*
* The version of the OpenAPI document: 1.0.0
*
* NOTE: This class is auto generated by OpenAPI-Generator 5.2.0.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
* GetMessages_allOf.h
*
*
*/
#ifndef ORG_OPENAPITOOLS_CLIENT_... | [
"suyash.mathur@research.iiit.ac.in"
] | suyash.mathur@research.iiit.ac.in |
5b7281473376b3ca2912ad1ee3ecde0932c455d7 | 6d6c99768d208656935e4627cacfb872ba241fe2 | /015-Smart Enviornment Monitoring system Integrated with cloud platform/Smart_Environment_Monitoring_System/Smart_Environment_Monitoring_System.ino | d8acfbdb289441973eba8a83088408d761e48440 | [] | no_license | srikanthkatakam/IOT | f5ab398eed6e32c3f15b24f0d1df4cbae945d708 | 16ec67b08f75da7c90ca4ccda321db6459905df6 | refs/heads/master | 2023-06-25T06:08:42.805771 | 2021-07-28T02:25:47 | 2021-07-28T02:25:47 | 389,020,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,656 | ino | /*
Arduino --> ThingSpeak Channel via Ethernet
The ThingSpeak Client sketch is designed for the Arduino and Ethernet.
This sketch updates a channel feed with an analog input reading via the
ThingSpeak API (https://thingspeak.com/docs)
using HTTP POST. The Arduino uses DHCP and DNS for a simpler network setup.
... | [
"srikanthkatakam92@gmail.com"
] | srikanthkatakam92@gmail.com |
fa206049d9d221844c66ad1ee1c67959d7f9d090 | 390b8f9360eb827f90b731b0c4d8035ef86338a9 | /include/BinoCamera.h | 7e68266d16d12ef1999b82ddd134c91a6d5630bd | [] | no_license | Bino3D/Bino_Stereo_ROS | 557509ff119a885e26358d2f655ebd9c7fb3dcd8 | 749de12b7bca5b792d6853a35b15a71482f8d78b | refs/heads/master | 2021-09-14T18:18:14.458296 | 2018-05-17T03:44:25 | 2018-05-17T03:44:25 | 110,199,534 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,195 | h | /*
* StereoCamera.h
*
* Created on: 2017年11月6日
* Author: clover
*/
#ifndef SDKLINK_SDKSRC_BINOCAMERA_H_
#define SDKLINK_SDKSRC_BINOCAMERA_H_
#include <iostream>
#include <opencv2/opencv.hpp>
#include <functional>
#include <thread>
#include <mutex>
/**
*@brief 相机参数表述结构体
*其中包含相
* */
struct BinoCameraPar... | [
"bino3d@linsens.com"
] | bino3d@linsens.com |
b04de260089904b2c981ab8ea377fbcc6e2fab33 | 9f7bc8df3f30f2ec31581d6d2eca06e332aa15b4 | /c++/min_max_fix.h | 326616ffe3deb140932299c64167fee6afa3a819 | [
"MIT"
] | permissive | moodboom/Reusable | 58f518b5b81facb862bbb36015aaa00adc710e0e | 5e0a4a85834533cf3ec5bec52cd6c5b0d60df8e8 | refs/heads/master | 2023-08-22T20:06:18.210680 | 2023-08-05T20:08:36 | 2023-08-05T20:08:36 | 50,254,274 | 3 | 3 | MIT | 2023-07-12T17:29:42 | 2016-01-23T19:23:01 | C++ | UTF-8 | C++ | false | false | 2,158 | h | #ifndef MIN_MAX_FIX_H
#define MIN_MAX_FIX_H
//--------------------------------------------------------------------//
// min/max have been problematic in the past, as there are multiple
// definitions in MS and STL headers. This section fixes things up
// for VC 6 and VC 7 and beyond. From here on out, ALWAYS USE TH... | [
"m@thedigitalmachine.com"
] | m@thedigitalmachine.com |
8ff207fa9b6a667b1b220442d895061d8e234842 | 06bed8ad5fd60e5bba6297e9870a264bfa91a71d | /libPr3/abstractlight.h | db62a058c9640a02caedcbbcdd0ab29770dae838 | [] | no_license | allenck/DecoderPro_app | 43aeb9561fe3fe9753684f7d6d76146097d78e88 | 226c7f245aeb6951528d970f773776d50ae2c1dc | refs/heads/master | 2023-05-12T07:36:18.153909 | 2023-05-10T21:17:40 | 2023-05-10T21:17:40 | 61,044,197 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,068 | h | #ifndef ABSTRACTLIGHT_H
#define ABSTRACTLIGHT_H
#include <QList>
#include "light.h"
#include "abstractnamedbean.h"
#include "lightcontrol.h"
#include "libPr3_global.h"
class LIBPR3SHARED_EXPORT AbstractLight : /*public AbstractNamedBean,*/ public Light, public PropertyChangeListener
{
Q_OBJECT
Q_INTERFACES(P... | [
"allenck@windstream.net"
] | allenck@windstream.net |
7a9462ece2f5597dc1e0e82c532c7dadaf362874 | b8e6c3cf2743258a289bd7a2a1a66355e285f37c | /leds.ino | b4ce319ea1a196f08aff0959044b44c6d1d81c13 | [] | no_license | cosmikwolf/afx-01a | 52ec65c59103f562c776d8ce20995e7883f84d43 | 5337b4f13ca25b192e1f7eff8b732838cd4d48b7 | refs/heads/master | 2020-04-06T04:35:29.380249 | 2016-12-27T20:03:07 | 2016-12-27T20:03:07 | 30,449,031 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,663 | ino |
void ledLoop(){
if (pixelTimer > 20000){
if (settingMode == 0){
for (int i=0; i < NUMPIXELS; i++){
if (i == (sequence[selectedSequence].activeStep) ) {
pixels.setPixelColor(i, pixels.Color(255,255,255) );
} else if ( i == selectedStep) {
pixels.setPixelColor(selec... | [
"tenkai@ensterio.com"
] | tenkai@ensterio.com |
c106fee2392b07d0cef79df458cbf0013ee1c219 | e14eeedd5a870f53f09a33de9fa5873b685414bb | /dbbackend.h | 5bec646e8e58061b1d33510d8a3110fb5ed02e2b | [
"BSD-3-Clause"
] | permissive | dmleontiev9000/LJ.offline | c6da86600785cddda58a612dc7927eea82b877c2 | 18087cce6a09215d1b169e3b59a525d0c6485eb9 | refs/heads/master | 2021-01-19T04:58:27.427493 | 2017-04-06T15:22:13 | 2017-04-06T15:22:13 | 87,407,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | h | #ifndef DBBACKEND_H
#define DBBACKEND_H
#include "backend.h"
class DBBackend : public Backend
{
Q_OBJECT
public:
explicit DBBackend(const QString& driver,
const QString& host,
int port,
const QString& name,
... | [
"dm.leontiev7@gmail.com"
] | dm.leontiev7@gmail.com |
071a213bb129f0d1337063ecc25cbfe84d5f4654 | 2456a96fb987e12526bb3deeb8f964d66fdbde26 | /Lab_Inheritance.cpp | f013ffcf83268c7e8af654076ee78b2735c6e514 | [] | no_license | OOP2019lab/lab11-182182basitAliAhmad | ec9fee6951a1df4d4c8ccf53c019e999d8177c8a | 05ba23ff684610b62c8509b86a4e38d1802acb40 | refs/heads/master | 2020-05-09T20:37:27.803917 | 2019-04-15T05:02:46 | 2019-04-15T05:02:46 | 181,414,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp | #include "l182182_Faculty.h"
#include "l182182_Person.h"
#include "l182182_Student.h"
int main()
{
Student s("Ted", "Thompson", 22, 3.91);
Faculty f("Richard", "Karp", 45, 2, "420");
s.printStudent();
f.printFaculty();
return 0;
}
/*
Output for exercise 5
Person() invoked
Student() invoked
... | [
"noreply@github.com"
] | OOP2019lab.noreply@github.com |
22f23fcb4bf5ef4105c9627923f1daf818c1748e | 0bb9ee0b177495624dafe4c15597891832147b74 | /VirtualWar/SynapseEngine/ActorSkeleton.cpp | 96d600c7cfb91c0b59e50f005093b6bef97118a4 | [] | no_license | wangscript007/SynapseEngine | 7fcec62b50ba70c9cfc64c06719a2ae170a27a7b | 3e0499181aaadf5244b7810ef2449a09f5aad1a6 | refs/heads/main | 2023-06-11T01:46:26.603230 | 2021-07-10T08:28:58 | 2021-07-10T08:28:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27 | cpp | #include "ActorSkeleton.h"
| [
"reverselogicdeveloper@gmail.com"
] | reverselogicdeveloper@gmail.com |
f06029e8fd2509f0a35f9baf91e24f2099c89ce2 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir22441/dir26975/dir27120/file27662.cpp | 1f6624f445d762ec5379e59df53d8d4cfc760033 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file27662
#error "macro file27662 must be defined"
#endif
static const char* file27662String = "file27662"; | [
"tgeng@google.com"
] | tgeng@google.com |
2bc5d950e66249311d2fa84410f8ae29309b7769 | d6a26a1eea3c41f7307af9f7b59201bfe99ec15d | /src/HammingCoder.cpp | e29280e339f45169b6967e2ea3a4a9497f4418b0 | [] | no_license | chudinovaa/labs45 | 183b6171f2a4247438a42c3371d021a8f781331d | c894807ade00018e3ec89b768fe81adf6761a049 | refs/heads/master | 2020-08-04T00:54:17.131742 | 2019-10-10T12:02:51 | 2019-10-10T12:02:51 | 211,944,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | cpp | #include <cmath>
#include "HammingCoder.h"
uint8_t encode(const unsigned int number)
{
auto d1 = number >> 3u & 1u;
auto d2 = number >> 2u & 1u;
auto d3 = number >> 1u & 1u;
auto d4 = number & 1u;
auto p1 = d1 ^d2 ^d4;
auto p2 = d1 ^d3 ^d4;
auto p3 = d2 ^d3 ^d4;
p1 <<= 6u;
p2 <<= 5u;
d1 <<= 4u;
p... | [
"nutsway@e1.ru"
] | nutsway@e1.ru |
cebfbf99aeb9b3866826d02cbacce4604077842a | f3241fb798602996710e21456cbe44e84705d89c | /zyn.serialization/EffectMgrSerializer.h | a5b45b905be0a59f7df48279132f4ff296b20639 | [] | no_license | stephenberry/zynlab | f2af519c0e8bdb9870ca6b78aa38754d1cffd123 | 72f8fb35c43c836d09ad0283fcb3da4a8ff8f994 | refs/heads/master | 2023-07-01T01:54:22.560071 | 2021-08-07T15:15:03 | 2021-08-07T15:15:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,320 | h | /*
ZynAddSubFX - a software synthesizer
EffectMgr.h - Effect manager, an interface betwen the program and effects
Copyright (C) 2002-2005 Nasca Octavian Paul
Author: Nasca Octavian Paul
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General ... | [
"wouter.saaltink@gmail.com"
] | wouter.saaltink@gmail.com |
a3ae907a4f491b656dc9d7c7a1dff24ef7704c09 | 7dd42e1f22b4e48bf72f5617b9dab840eabfa3a0 | /LinearTable/sequenceTable.cpp | 9865a3e55e8da109d6a114cb480962ace0b5a2c9 | [] | no_license | eliiik/Data-Structure | d25aaef6881f16fc8b00bbdd8d3e84295362fb91 | 349ad7ac0c309ce9bb4ee08e6f5462542471d356 | refs/heads/master | 2021-06-08T02:01:30.144298 | 2016-12-06T17:45:57 | 2016-12-06T17:45:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60 | cpp | #include <iostream>
using namespace std;
template <class T> | [
"abnercharles@sjtu.edu.cn"
] | abnercharles@sjtu.edu.cn |
5978b377312caff50b87fade696e3b7ff798b100 | 1791461e6740f81c2dd6704ae6a899a6707ee6b1 | /UESTC/2145.cpp | ee13113f1f237c3c7ce2da73d28bf86249a6a198 | [
"MIT"
] | permissive | HeRaNO/OI-ICPC-Codes | b12569caa94828c4bedda99d88303eb6344f5d6e | 4f542bb921914abd4e2ee7e17d8d93c1c91495e4 | refs/heads/master | 2023-08-06T10:46:32.714133 | 2023-07-26T08:10:44 | 2023-07-26T08:10:44 | 163,658,110 | 22 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,053 | cpp | #include <bits/stdc++.h>
#define MAXN 100010
using namespace std;
struct col
{
int l,r,all;
col(){}
col(int _l,int _r,int _all):l(_l),r(_r),all(_all){}
col operator + (const col &a)const{
col res;
res.l=l;res.r=a.r;res.all=all+a.all-(r&a.l);
return res;
}
};
struct SegmentTree
{
int p,r,m;col w;
};
Segme... | [
"heran55@126.com"
] | heran55@126.com |
f8b77be1f84576bc9552c160f2e2e5ea33ba5ba3 | 8e63af49306295050e15f34a10b1f8f3e058ac5f | /main.cpp | 61a39dbc34ec92fefd498e862145b59a5a637a65 | [] | no_license | CIS22C/Lab2b | a8438fc6ac4ffda5dc502f9f3bc97838fc7454a3 | a8c89cb92c6ad616835113eab3886eca0f64a605 | refs/heads/master | 2021-05-01T20:53:54.840077 | 2018-02-12T22:32:53 | 2018-02-12T22:32:53 | 120,967,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,566 | cpp | /*
Ambrose Hundal
Stephen Lee
CIS 22C
Winter 18
Lab 2b- QueueADT
*/
#include <iostream>
#include "Queue.h"
#include "List.h"
#include "Currency.h"
#include "Dollar.h"
using namespace std;
void intEnqueue();
void intDequeue();
void intQueueClear();
void stringEnqueue();
void stringDequeue();
void stringClear();
v... | [
"noreply@github.com"
] | CIS22C.noreply@github.com |
b009300ce59928f423a19d3892c2591f2cfb0b0e | 962c065f5afb673cf90df9eebd0d89125983bee8 | /FlatScrollBar/FlatScrollBar.h | d8c8029bca4bd69351766013a503d3d7b085c039 | [] | no_license | ksoftmedia/MFCMsControl | c359a32920f8cfb0d10f82aa33c854b9cd29ccfc | 5736af54525f787a04763d31bd3fd6fe67a1d67f | refs/heads/master | 2020-07-06T11:14:02.097999 | 2019-08-14T15:32:13 | 2019-08-14T15:32:13 | 202,998,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | h |
// FlatScrollBar.h : main header file for the PROJECT_NAME application
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'pch.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
// CFlatScrollBarApp:
// See FlatScrollBar.cpp for the implementation of this class
//
class CFlat... | [
"ksoftmedia@gmail.com"
] | ksoftmedia@gmail.com |
7f1a9f023a7ecf68f9d17249f36939dc00547501 | b8f67d61d62799db00542b7b3069da6fcdf10f85 | /chrome/browser/android/vr/arcore_device/arcore_device.cc | 0b1b6f9e789e1be928a4fb3231b77a7d6c1f0b98 | [
"BSD-3-Clause"
] | permissive | fujunwei/chromium-src | 535e4cc01dc2c96aac50671222a77de50d2616dc | 57c7d5bbf24af7b342b330fb8775fc76c343ff69 | refs/heads/webml | 2022-12-30T07:55:11.938223 | 2018-08-28T07:07:52 | 2018-08-28T07:07:52 | 138,548,904 | 0 | 0 | NOASSERTION | 2019-03-22T01:51:37 | 2018-06-25T05:47:59 | null | UTF-8 | C++ | false | false | 16,532 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/android/vr/arcore_device/arcore_device.h"
#include "base/bind.h"
#include "base/numerics/math_constants.h"
#include "base/option... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
25bdb6de13fdcd5f396d61d5c62bf39ce6adc54e | fc2a5c34a98e710427cdaf90f9a855053c5fc922 | /chemistry.h | 3dd44f8bb5db923a21fbe43ee6cd559c11d86cc1 | [] | no_license | JackWagner/CombustionAnalysis | 6b29c00d6b020846605a6775163501321b76cd66 | f32bd85b9d50f9b20ce00c02824cce01cf35c408 | refs/heads/master | 2021-01-22T17:39:19.939491 | 2017-03-20T16:32:23 | 2017-03-20T16:32:23 | 85,027,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,205 | h | #include <iostream>
#include <map>
#include <string>
#include <cstdio>
#include <cstdlib>
#include <vector>
using namespace std;
class compound {
map<string, int> ATOMIC_NUMBER;//each element name associated with atomic num
double ATOMIC_MASS[83]; //each atomic num associated with atomic mass
int amountOfElemen... | [
"jack.wagner5299@gmail.com"
] | jack.wagner5299@gmail.com |
4c3d851095290156dae8c7a6b6ed398434da55d5 | dd6c7ebd047aa67aa266dfc7ef3f125dcaf9ed3a | /hazelcast/src/hazelcast/client/impl/ClientLockReferenceIdGenerator.cpp | f887630a8798b94571793c1635904b78ca3914af | [
"Apache-2.0"
] | permissive | skyend/hazelcast-cpp-client | e81009fa2b27cb53f33fe188b3205498ea7b5e11 | a62e1ce20e17cf2a69e236918860c467e03babba | refs/heads/master | 2020-04-22T00:17:51.954274 | 2019-02-13T09:17:54 | 2019-02-13T09:17:54 | 169,974,434 | 0 | 0 | Apache-2.0 | 2019-02-10T12:13:36 | 2019-02-10T12:13:36 | null | UTF-8 | C++ | false | false | 1,021 | cpp | /*
* Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | [
"noreply@github.com"
] | skyend.noreply@github.com |
1025db6a7b49bd6a91fd4d33bdf91b8f5055f999 | c50a42696afb6313e9029de4f4843c5e38da4f4f | /Controller/analyser.h | d5f7927659188bedb2cdc7c35763c8e35743fdfe | [] | no_license | Benjistep/onderzoekDelft | 23137818ae3dd07b1204ac17f9067c584599d73c | 9313f3462c56bf81c05f11fe3f57ff578254ed56 | refs/heads/master | 2016-09-01T06:33:38.800920 | 2016-01-04T17:51:53 | 2016-01-04T17:51:53 | 44,171,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | h | #ifndef ANALYSER_H
#define ANALYSER_H
#include <vector>
#include <QDateTime>
#include "../Model/csvvector.h"
#include <QModelIndexList>
#include "result.h"
#include "Situations/situation.h"
class Analyser
{
private:
static map<int, vector<float>*>* selectData(CSVVector &data, QModelIndexList &indexList);
stat... | [
"14134470@student.hhs.nl"
] | 14134470@student.hhs.nl |
bd2d4c6b8aaceb93bb90231d185f240bd63c4458 | 28ecb9ae694562b5303ae96c0ca9f7ff13ec04aa | /so-easy-3/so-easy-3/so-easy-3.cpp | 49450e2d7409944233d8ffb59ba3dadc4b26dc78 | [
"MIT"
] | permissive | songemeng/Algorithm-exercise | 7c5ab3cf2b5de124f95c1fd39b7355bb7960f4eb | 81a8e377fecff8000afad2668aa58ae90a8bbc47 | refs/heads/master | 2021-09-14T20:45:46.739789 | 2018-05-19T02:03:25 | 2018-05-19T02:03:25 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 220 | cpp | // so-easy-3.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <stdio.h>
int main()
{
long sum = 0;
for(int n = 1; n*n <= 1000; n++)
sum += n*n;
printf("%ld", sum);
return 0;
}
| [
"905223945@qq.com"
] | 905223945@qq.com |
72822565ebc2f8ef190c11ac6bc365401539e220 | 214dbcc732e0f6a49336164c793bd4af4754a6f7 | /Algorithmics/Problems from various contests/kafka.cpp | 59846f307aed6c83583168a0e7421f9b813f0b64 | [] | no_license | IrinaMBejan/Personal-work-contests | f878c25507a8bfdab3f7af8d55b780d7632efecb | 4ab2841244a55d074d25e721aefa56431e508c43 | refs/heads/master | 2021-01-20T08:24:47.492233 | 2017-05-03T12:22:26 | 2017-05-03T12:22:26 | 90,142,452 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | cpp | #include <fstream>
using namespace std;
ifstream fin("kafka.in");
ofstream fout("kafka.out");
struct office
{
int cul;
int ok;
int birou;
} a[4001];
int main()
{
int nc,nb,bs,t,c,b,poz,i,gasit=0,k;
fin>>nb>>nc>>bs>>t;
c=1;
b=bs;
int nrp;
for(i=1; i<=nb*nb; i++)
fin>>a[i].c... | [
"irinam.bejan@gmail.com"
] | irinam.bejan@gmail.com |
432a301759cb2ff50540a2f01ec6dba33b1deebb | 2a1365c24292ee4ea235301a1ead0403062f4645 | /他人代码_硕/数据结构试验代码(大二上)/贪婪算法(实验13)/arrayQueue.h | 8cab5cc23c733df6a23ec10a3ecaec18fff1862d | [] | no_license | trialley/DataStructuresLabs | 0a10f5bb8afe63585b111a820cf8d3b552018bd1 | 0d2cf9931175b96190a317d1ea14dd18793faf76 | refs/heads/master | 2020-09-27T10:16:31.437406 | 2019-12-31T07:32:11 | 2019-12-31T07:32:11 | 226,492,210 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,661 | h | //本队列使用映射公式:location(i)=(location(队列首元素)+i)%arrayLength 即环形数组表示法
#pragma once
#include<iostream>
#include<cstdlib>
#include<algorithm>
template<class T>
class arrayQueue
{
public:
arrayQueue(int initialCapacity = 10)
{//构造函数
if(initialCapacity<0) std::cerr<<"队列长度必须大于0!"<<std::endl;
else{
Queue=new T[i... | [
"1203732857@qq.com"
] | 1203732857@qq.com |
b01673088668d4fbd5bdddc84b722b86028053ea | b068450462f1e24341c62808b84a31bf1ee4b9e0 | /esp32WiFiConfig/esp32WiFiConfig.ino | 9ca7ebdc325d848a41cf09148fdb6e4ad0a7492b | [] | no_license | diogopdvfreitas/umc1819-iot | bad15a6bfba7ce3ee1ff268f5e2b2c1aff2abda6 | ff21fbf9922d203d2e064e99059181997245aa32 | refs/heads/master | 2022-01-15T10:33:26.188974 | 2019-07-15T16:06:03 | 2019-07-15T16:06:03 | 189,729,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,570 | ino | #include <WiFi.h>
#include <ESPmDNS.h>
#include <Preferences.h>
#include <PubSubClient.h>
/* --- GLOBAL VARIABLES --- */
Preferences preferences;
const int ARDUINO_N = 3;
const int BUTTON_KEY = 0;
const int LED_BUILTIN = 2;
/* --- WIFI CREDENTIALS VARAIBLES --- */
String recv_ssid;
String recv_pass;
IPAddress myIP... | [
"diogo.maria.freitas@gmail.com"
] | diogo.maria.freitas@gmail.com |
507ef741539f271dcffdfbc78e7478a46ad2ecda | 0e893e9973555651b56f8199d2969e39da7684da | /LoveBabbar's Sheet/Binary Trees/1.cpp | f5467d9ddc77e3a224bf67dbd9ec2e73d4913016 | [] | no_license | Ayush23Dash/C-plus-plus--Repository | e632c06a07c33cf0ea8e299a8134002df28f4cc8 | 854f9aa9b41926a65b1cf63d7290a0d0ac2fbb84 | refs/heads/master | 2022-08-19T18:03:43.095061 | 2022-08-16T12:59:24 | 2022-08-16T12:59:24 | 222,396,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | cpp | class Solution
{
public:
//Function to return the level order traversal of a tree.
vector<int> levelOrder(Node* node)
{
//Your code here
vector<int>ans;
if(node == NULL) return ans;
queue<Node *>q;
q.push(node);
while(!q.empty()){
int sz = q.size();
... | [
"ayushshanker23@gmail.com"
] | ayushshanker23@gmail.com |
59de3f6d3680f9ee25b5943debeae7be580954de | 3f74c510cfa78d25ca8e80d070d2538fe2abe76b | /complx/ComplxFrame.hpp | 3fd50907eb38eb3b64eb3d222446209180c01b33 | [] | no_license | brising3/complx | e3f0e4da6af03ab4c2760bbc34ff4bd1004a4add | 5164df0e334ee949e27edf59c6150957653c298b | refs/heads/master | 2020-12-30T22:55:27.326799 | 2014-02-02T22:19:45 | 2014-02-02T22:19:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,432 | hpp | #ifndef COMPLEX_FRAME_HPP
#define COMPLEX_FRAME_HPP
#include <wx/grid.h>
#include <wx/textctrl.h>
#include <wx/event.h>
#include <wx/window.h>
#include <wx/filename.h>
#include "ComplxFrameDecl.h"
#include "LC3Console.hpp"
#include "MemoryView.hpp"
#include "MemoryViewFrame.hpp"
enum
{
BASE_2,
BASE_10,
B... | [
"tricksterguy@live.com"
] | tricksterguy@live.com |
387f94196b9b451a2e27a2abd81aac5518a958f3 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/base/screg/sc/client/scapi.cxx | f32aade0213d990daf482198a200857629783e15 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 82,528 | cxx | /*++
Copyright (c) 1990-1992 Microsoft Corporation
Module Name:
scapi.c
Abstract:
Contains the Service-related API that are implemented solely in
DLL form. These include:
StartServiceCtrlDispatcherA
StartServiceCtrlDispatcherW
RegisterServiceCtrlHandlerW
... | [
"112426112@qq.com"
] | 112426112@qq.com |
0d32a0e1ce5e591920f2da4a0b9bf27274d021fb | 17aadd8f4f5af8d46505d7b7390ab4b3c180fcd3 | /OpenGLRenderer/source/OpenGLRenderer.cpp | cfc8e0564689103677c144c54f1963b4e687fb53 | [] | no_license | platc2/VoxelRendering | 26972d5c269bdac2e922009308d03f4cc481cc31 | 912a3fe72c8dfdd8d9653e5c53c5ded431a124db | refs/heads/master | 2023-03-25T15:46:43.103968 | 2021-03-24T16:43:07 | 2021-03-24T16:43:07 | 351,152,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,230 | cpp | #ifdef _MSC_VER
#include <ciso646>
#endif
#include "OpenGLRenderer.h"
#include "Texture.h"
#include <iostream>
#include <vector>
#include <string>
#include <stdexcept>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <GL/glew.h>
using namespace voxel;
stat... | [
"casinmir.benjamin.platzer@alumni.bfh.ch"
] | casinmir.benjamin.platzer@alumni.bfh.ch |
f7162079aa49bb9690f241b42ea6ca17fbb2bf84 | dccaab4cb32470d58399750d457d89f3874a99e3 | /3rdparty/include/Poco/MongoDB/ResponseMessage.h | 570576543bcf5568770fc8e8c6d8619eaffbe56b | [] | no_license | Pan-Rongtao/mycar | 44832b0b5fdbb6fb713fddff98afbbe90ced6415 | 05b1f0f52c309607c4c64a06b97580101e30d424 | refs/heads/master | 2020-07-15T20:31:28.183703 | 2019-12-20T07:45:00 | 2019-12-20T07:45:00 | 205,642,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,067 | h | //
// ResponseMessage.h
//
// Library: MongoDB
// Package: MongoDB
// Module: ResponseMessage
//
// Definition of the ResponseMessage class.
//
// Copyright (c) 2012, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef MongoDB_Response... | [
"Rongtao.Pan@desay-svautomotive.com"
] | Rongtao.Pan@desay-svautomotive.com |
99947b7c166292230e88a32599d567e6fe2ad554 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /CodesNew/3056.cpp | b38e2184133e709777329802a21192be72175ffa | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | #pragma GCC optimize("O3")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define N 1000005
#define md ll(1e8)
#define ff first.first
#define fs first.second
string s = "";
int main(){
ios :: sync_with_stdio(false); cin.tie(0); cout.tie(0);
ll k;
cin >> k;
cin >>... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
d055807b41ad7944adce1ef670bb151becdb717a | c6c8ebb6647556273411c0f9db8cf5fb2a80c618 | /Day767.cpp | 9403d36e6aef70c97a1711471091fd71487ff574 | [] | no_license | dhanendraverma/Daily-Coding-Problem | 3d254591880439c48a3963045298c965790ae5be | 4bec6bc4fa72d7ab7a21332bdef78a544a9cb3df | refs/heads/master | 2023-01-19T15:26:18.508292 | 2023-01-14T07:27:12 | 2023-01-14T07:27:12 | 189,551,929 | 35 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 1,364 | cpp | /**************************************************************************************************************************************
This problem was asked by Google.
Given a word W and a string S, find all starting indices in S which are anagrams of W.
For example, given that W is "ab", and S is "abxaba", return 0,... | [
"noreply@github.com"
] | dhanendraverma.noreply@github.com |
4d4a0929b089811053de5acd692fcd5f78f9ed1f | cb8349985ab353e193379a0bbf212e2526008c0b | /include/AST/arrayAccess.h | 031745f2e8757621059f91dc42e17c1c309104f1 | [] | no_license | ericluii/joos-compiler | b29869479caa4e282e4598b81c3369967b0c03a7 | 70e915ab001a4812f75302a0f516e1960600035e | refs/heads/master | 2021-01-19T07:53:46.020627 | 2015-04-06T07:23:56 | 2015-04-06T07:23:56 | 28,887,471 | 4 | 4 | null | 2015-04-06T07:23:57 | 2015-01-06T22:52:54 | C++ | UTF-8 | C++ | false | false | 1,348 | h | #ifndef __ARRAYACCESS_H__
#define __ARRAYACCESS_H__
#include "ast.h"
#include "expression.h"
#include "primary.h"
#include "evaluatedType.h"
class CompilationTable;
class ArrayAccess : public Primary {
protected:
Expression* accessExpr;
EVALUATED_TYPE accessType;
CompilationTable* accesse... | [
"btruhand@Dariensthing.(none)"
] | btruhand@Dariensthing.(none) |
6ff98092e4d7dd6f59199129c597c314bc6402fe | 8916635ef0bd386486df23dbc75b0c7c4021f7e4 | /2012/20121030BestTime2BuyAndSellStock3.cpp | e87c099f9df3605303193525cdc9269d38417d76 | [] | no_license | ibillxia/xleetcode | 37c3570564e5a5217395a19fa9a16f9a8926cae3 | e10bda3c39b455a93764ed911de929a078046c39 | refs/heads/master | 2016-09-06T09:47:35.629057 | 2014-07-08T12:34:33 | 2014-07-08T12:34:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,821 | cpp | #include<iostream>
#include<vector>
#include<stack>
#include<queue>
#include<string>
#include<map>
#include<cstdio>
#include<cstring>
#include<cmath>
using namespace std;
#define FOR(i,n) for(int i=0;i<n;i++)
class Solution {
public:
int maxProfit(vector<int> &prices){
int i,sz;
sz = prices.size();
if(sz<2)retu... | [
"ibillxia@gmail.com"
] | ibillxia@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.