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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
98d9a3ec04e0fc5b90f431391ee36e076141ba0e | 6cd65944e2e098edde991eb59110b672e537606b | /src/P2P/Messages/CompactBlockMessage.h | 0a333d5ee4565bf12e762d117dd9c6e60efe9ef4 | [
"MIT"
] | permissive | lokialice/GrinPlusPlus | af7286c0031ea5eb0ed016eba7af4b6840b11294 | af6f794601cfd6107196a03a543abbce34cb8dc1 | refs/heads/master | 2020-07-27T10:44:35.543002 | 2019-09-14T08:58:52 | 2019-09-14T08:58:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | h | #pragma once
#include "Message.h"
#include <Core/Models/CompactBlock.h>
class CompactBlockMessage : public IMessage
{
public:
//
// Constructors
//
CompactBlockMessage(CompactBlock&& block)
: m_block(std::move(block))
{
}
CompactBlockMessage(const CompactBlock& block)
: m_block(block)
{
}
CompactBloc... | [
"davidburkett38@gmail.com"
] | davidburkett38@gmail.com |
8aa988906d9e0f39da87ddafecaaa969070368f1 | 848bd431abc9204e27cc4a352e7ba755f9c40c85 | /Container With Most Water.cpp | 1c4024ecb0f48f991bc81459cfb504da974e4b57 | [] | no_license | adousj/leetcode | f931a36ca07a6885100b9b99b5d011a571edd27c | 5a129306d4bb1c7dbd268f7f698cdaf09dbe43fe | refs/heads/master | 2021-01-01T15:54:41.485763 | 2014-10-06T12:45:55 | 2014-10-06T12:45:55 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 689 | cpp | // Container With Most Water.cpp : 定义控制台应用程序的入口点。
//
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int maxArea(vector<int> &height) {
int max_area = 0;
for (int i = 0; i < height.size()-1; i++)
{
for (int j = i + 1; j < height.size(); j++)
{
... | [
"adousj@gmail.com"
] | adousj@gmail.com |
4a66a698679aee774061083210ab40e91473fcf7 | c7ccfd9de1692aafaa5ee576980e7381e52cb346 | /sourceCode/2.2/Samples and Benchmarks/ChatClient/RoomChatTab.h | ccea2511a95c80643bf0252c75d32ed2edce7309 | [] | no_license | chenzuo/PushFramework | c3f98eac2dad75dca5da1e13382627b3bff35285 | a1a2a63cdc7517499e165dde68373bccca6e24d3 | refs/heads/master | 2020-03-23T18:18:22.176058 | 2018-09-06T05:52:26 | 2018-09-06T05:52:26 | 141,900,087 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | h | #pragma once
#include "resource.h"
#include "afxwin.h"
#include "ChatInboxManager.h"
// CRoomChatTab dialog
class CRoomChatTab : public CDialog, public CChatInboxManager
{
DECLARE_DYNAMIC(CRoomChatTab)
public:
CRoomChatTab(CWnd* pParent = NULL); // standard constructor
virtual ~CRoomChatTab();
// Di... | [
"chenzuo@hotmail.com"
] | chenzuo@hotmail.com |
20eeafc28bed48c350e74bcf58815413e0b88d12 | dd994c1dcf4ac94c15f1ebe4caba322de70b0d9e | /lib/include/mongo/platform/atomic_word_intrinsics.h | 4e5c51f5db03736d3c9b4ccdfacf16c9814d9b02 | [] | no_license | coderguang/miniGameEngine | 8a870a5b9e4f92065d4cb44a69d44348911382d2 | 93eb522b74c5763941d45d3afdfa6793efeba253 | refs/heads/master | 2022-02-16T07:31:43.983958 | 2019-08-22T09:53:17 | 2019-08-22T09:53:17 | 113,191,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,464 | h | /* Copyright 2012 10gen 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... | [
"royalchen@royalchen.com"
] | royalchen@royalchen.com |
9f86c7f2570109f897d2b7b1c332b10f8422990b | c06a9e5b6d6cd757e50d1b9537eed39c0bb298e8 | /MasterPasswordLoginDlg.cpp | 0efbb2b46014cc9446aeb9cf18b92e29519c7b92 | [
"BSD-3-Clause"
] | permissive | combsjy/smagick | 9f395714345c54a3d2cbc9a83e25d7e0175e2fce | 55f36dcabfa9e987511f62fd50891c68c53903ba | refs/heads/master | 2023-03-18T11:03:45.606368 | 2018-12-04T02:57:40 | 2018-12-04T02:58:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,457 | cpp | /***************************************************************************
* Copyright (C) 2008 by Paul Thomas *
* thomaspu@gmail.com *
* *
* Thi... | [
"thomaspu@gmail.com"
] | thomaspu@gmail.com |
9e0951fa1c97d5ebe81d31271bb1b47bdb37d84a | da6a2ced196943165e45eb0162f3544f311a7cd5 | /C09/9_46.cpp | 560ebb3b2812b7166e910a33e70a15fdac8b2a97 | [] | no_license | LucienXian/Cpp_Primer | 99b0cd85149c8afa85e786f328895078d5b82b08 | 439b0ce874ceeb28506ffa120a07943d86a4fae4 | refs/heads/master | 2021-01-21T06:18:36.488572 | 2017-09-12T15:48:17 | 2017-09-12T15:48:17 | 83,208,632 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | #include <string>
#include <iostream>
//#include <iterator>
using namespace std;
string add_pre_post(string& name, const string& pre, const string& post)
{
name.insert(name.size(), post);
name.insert(0, pre);
return name;
}
int main()
{
string s("Mary");
cout << add_pre_post(s,"Mr."," iii") << endl;
return 0;... | [
"LucienXian97@gmail.com"
] | LucienXian97@gmail.com |
baa8a75ce99f43bfb5c31886fe52f317a0534c2e | 7cbcdc1b9aa085cd58ecb6bf70ea71a1536d5478 | /SDK/VI1_EngineMessages_structs.hpp | 993d6d4144b0ff8a5bed19640a94dd005ffde7d7 | [] | no_license | YMY1666527646/VaderImmortalEp1SDK | ebb25986a12cb2ea573c7ab776aade5e1f2bb8f6 | ccfe09575f27203af188cfd0c31efcf2642b0a0e | refs/heads/master | 2022-12-23T23:12:51.233601 | 2020-09-29T03:21:27 | 2020-09-29T03:21:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,952 | hpp | #pragma once
// VaderImmortal_1 (236956) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Script Structs
//---------------------------------------------------------------------------
// ScriptStruct EngineMessages.Eng... | [
"darkmanvoo@gmail.com"
] | darkmanvoo@gmail.com |
1d5fd8e4c174f3a2e364912ac2c22d94b4176fb2 | 24f3b4653e796bc5502dddf759980793471ba642 | /Experis/AdvC++/SuperBitSet/BitSet/UnitTests/V1/Test_BitSet_1.cpp | a76117dd71935392c18fefa48bd1c4478b6eea21 | [] | no_license | madmandidj/github_work | 286ccc1df71f8306f54e285ff9cc9c0cff9f5968 | f2f5779d8398fa60466ab2ae25fc02b157699074 | refs/heads/master | 2018-12-16T20:15:16.867844 | 2018-10-03T19:58:25 | 2018-10-03T19:58:25 | 116,257,701 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cpp | #include "BitSet.h"
#include<iostream>
int main()
{
advcpp::BitSet<33> bs1;
// std::cout << bs1.GetNumOfBits() << std::endl;
// std::cout << bs1.GetNumOfBitContainers() << std::endl;
// std::cout << CHAR_BIT << std::endl;
// std::cout << bs1.Get(5) << std::endl;
bs1.Set(true, 3);
std::cout << bs1 << std::endl;
re... | [
"madmandidj@gmail.com"
] | madmandidj@gmail.com |
114e9a3e9172463dfa6875ad9032f3dd2b9fa844 | 9c667eb6699e073ad987d810a810b269b9aa2009 | /mutex/test_call_once.cpp | 7f67f86f97a76aeaa766174c99e79dedb368b699 | [] | no_license | JulianLiao5/cpp_basics | 0af53ffbd9297f14f00f1a022a15dffbde1ba1bf | a0304eb7514191722e7145818d89b434305d980e | refs/heads/master | 2021-09-12T18:52:19.138049 | 2021-08-30T13:00:53 | 2021-08-30T13:00:53 | 106,679,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | cpp | /*************************************************************************
> File Name: test_call_once.cpp
> Author:
> Mail:
> Created Time: 2018年08月16日 星期四 19时56分43秒
************************************************************************/
#include<iostream>
#include<thread>
// std::this_thread::sleep_for,... | [
"meng.liao@perceptin.io"
] | meng.liao@perceptin.io |
4c007e56701e0820c43eaccb488a93d7a2fc92d5 | 1888c36b6ef41c61bfadb897c51d27928778f7a5 | /lazyparam_prover/syntax/term.h | ee84a134b4d0aea1c8bc85ebf18f23cb8be7a411 | [] | no_license | pompon0/lp_modification | 08620dc39dcb35a7ff8b8a46759b442a44542623 | f0b16ba28cf514501a9382a63b2352c1204f6b05 | refs/heads/master | 2021-12-08T05:13:55.148713 | 2020-10-25T16:38:31 | 2020-10-25T17:08:27 | 177,988,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,484 | h | #ifndef SYNTAX_TERM_H_
#define SYNTAX_TERM_H_
#include "utils/short.h"
#include "utils/types.h"
#include "lazyparam_prover/memory/layout.h"
namespace tableau {
struct VarRange {
size_t begin,end;
INL bool empty() const { return begin>=end; }
INL VarRange & operator|=(const VarRange &r){
if(r.empty()){ retu... | [
"pompon.pompon@gmail.com"
] | pompon.pompon@gmail.com |
d16f296daf00a912ab08930d219cbca49966a875 | b219519f94e6c6782f641a5a9d2dcf22537fac3b | /normal/AtCoder/Begin_187/E.cpp | 15c3c3e463e960b837da1e5d68d6556dab9af5c9 | [] | no_license | liangsheng/ACM | 71a37a85b13aa7680a095cf0710c50acb5457641 | 0e80385b51e622b2b97431ac650b8121ecd56e51 | refs/heads/master | 2023-06-01T06:37:51.727779 | 2023-05-14T03:16:18 | 2023-05-14T03:16:18 | 9,337,661 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,010 | cpp | #include <bits/stdc++.h>
#define lowbit(x) ((x) & (-x))
typedef long long LL;
using namespace std;
const int N = 200005;
int n, m;
vector<pair<int, int> > e;
vector<int> g[N];
int now;
vector<int> a(N), f(N), L(N), R(N);
vector<LL> b(N), ans(N);
void dfs(int p, int fa) {
L[p] = now, f[p] = fa;
a[now] = p;... | [
"904491908@qq.com"
] | 904491908@qq.com |
6a561c169ce49a922e56d9c22e194514a5761e9e | 4aea8b563ac509322c48a1a7d99cb4d6753ff1ae | /src/color.hpp | 546133b5f71763f188d73445c19f6ab48cb58de9 | [] | no_license | MasterTaffer/Coppery | 14fbb7bf6b6dbe4262113531641204de49556ca9 | 6193a25025c928d025ddaac470a9e76a075a178b | refs/heads/master | 2021-07-22T11:08:51.146188 | 2017-10-31T15:42:35 | 2017-10-31T15:42:35 | 109,015,257 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | hpp |
#pragma once
//! Structure for three component additive RGB color
class Color
{
public:
//! Red component
float r;
//! Green component
float g;
//! Blue component
float b;
//! Default constructor
Color(){};
//! Constructor from RGB values
Color(float rn, float gn, float b... | [
"odestrzo@gmail.com"
] | odestrzo@gmail.com |
673ea3af1d5e16caee0ef91bae7c7b201936164d | 238e46a903cf7fac4f83fa8681094bf3c417d22d | /Code/GeometryWidgets/dialogMakeFillet.cpp | d2c50f15a7bd586cc1f4ad7a57c24d5b87e329d2 | [
"BSD-3-Clause"
] | permissive | baojunli/FastCAE | da1277f90e584084d461590a3699b941d8c4030b | a3f99f6402da564df87fcef30674ce5f44379962 | refs/heads/master | 2023-02-25T20:25:31.815729 | 2021-02-01T03:17:33 | 2021-02-01T03:17:33 | 268,390,180 | 1 | 0 | BSD-3-Clause | 2020-06-01T00:39:31 | 2020-06-01T00:39:31 | null | UTF-8 | C++ | false | false | 5,375 | cpp | #include "dialogMakeFillet.h"
#include "ui_dialogMakeFillet.h"
#include "mainWindow/mainWindow.h"
#include "moduleBase/ModuleType.h"
#include "MainWidgets/preWindow.h"
#include "settings/busAPI.h"
#include "settings/GraphOption.h"
#include "GeometryCommand/GeoCommandCreateFillet.h"
#include "GeometryCommand/Geo... | [
"l”ibaojunqd@foxmail.com“"
] | l”ibaojunqd@foxmail.com“ |
d740c50631904cf63546178d1d689b2c5a938b35 | bf94f933931170740e1547c6fef686ee1256d486 | /devel/.private/beginner_tutorials/include/beginner_tutorials/AddTwoInts.h | cab672f301ab4de2ab0ad96712c5a89c4fcf7e45 | [] | no_license | ykhanguyen/ROS | 6b2fba655345cfe22af4f690e0e5469b52f0fa58 | 14f97711a23d7d741c0660dfea00218ee1d53708 | refs/heads/master | 2016-09-13T01:28:19.568424 | 2016-05-17T17:12:13 | 2016-05-17T17:12:13 | 58,238,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,610 | h | /* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain... | [
"ykha@Robomackerel.(none)"
] | ykha@Robomackerel.(none) |
efdc04cdcb1366d31a053567a1c0edbe99ebd9f9 | 8d4f2c427aaf779d1318d9fa0e636439c3ba4ebd | /20200421_ModCPP/Examples/smartptrs.cpp | 07296a890be77f69789383a9b3c132f3ff45beeb | [] | no_license | vivekdua-tech/cpptutorial | d28c485c3294d26bdc8fd81c1f06bfa73c754d93 | d033e0d54bb551ecbc5dbc919b20e0583058d83c | refs/heads/master | 2022-05-18T10:10:15.520032 | 2022-05-11T22:10:29 | 2022-05-11T22:10:29 | 258,059,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,922 | cpp | #include <iostream>
#include <memory>
#include <cstdio>
struct RAII
{
RAII(int *_data) : data(_data) { std::cout << "Acquisition of int\n"; }
~RAII()
{
std::cout << "deleting int\n";
delete data;
}
int *data;
};
void func()
{
// RAII - Resource Acquisition Is Initialization
... | [
"vivekdua123@yahoo.com"
] | vivekdua123@yahoo.com |
2df6c4ea757ae85fac3f131fabe9717cce3c6f73 | 715cfa11de952cc8baf42d52c63823bbd3d2f878 | /PCF-CuboidMatrixWall-Cuboid/CWbMTE-Alpha-0.2t/CWbMTEngineSrc/mtd/Engine/GraphicModels.cpp | bad002e5027f96cac4c2c22f614acb7183032fef | [] | no_license | Drwalin/PCF_Engine | f513fa9daf3c0bb96e6931b6460deb15abf4f195 | 43814c983e40bb2f5a6544875c1f75dbff701eae | refs/heads/master | 2021-09-04T11:47:09.441634 | 2018-01-18T11:36:28 | 2018-01-18T11:36:28 | 117,959,850 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | cpp |
inline int Engine::AddGraphicModel( char * name, unsigned int texture, Vector scale )
{
GraphicModels.resize( GraphicModels.size() + 1 );
GraphicModels[ GraphicModels.size() - 1 ] = new StaticGraphicModel;
GraphicModels[ GraphicModels.size() - 1 ] -> Init( name, texture, scale );
}
inline StaticGraphicModel * En... | [
"garekmarek@wp.pl"
] | garekmarek@wp.pl |
14c18d094877479d8d743614128371708be7bb4d | dc0c9ea3fa7498b0552b5f0cdd121489404cb07a | /codeforces/628D.cpp | 987b5c1eb81f191288999398f7f10cab8386fc22 | [] | no_license | alaneos777/club | 226e7e86983da7f87d87efbfd47d42326872dd25 | 47da01e884d6324aa1c9f701d6f70b8b978a0e18 | refs/heads/master | 2023-08-05T02:43:33.428365 | 2023-07-29T02:43:58 | 2023-07-29T02:43:58 | 143,675,419 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | cpp | #include <bits/stdc++.h>
using namespace std;
using lli = int64_t;
const lli mod = 1e9 + 7;
int mem[2010][2010][2];
int ten[2010];
int f(int pos, int rem, bool canUseAll, const vector<int> & num, int m, int D){
if(pos == num.size()) return rem == 0;
int & ans = mem[pos][rem][canUseAll];
if(ans != -1) return ans;
... | [
"alan-enrique@live.com.mx"
] | alan-enrique@live.com.mx |
4ea06be6c94c31cd9cc1b10e9dd7b67fc1ee572c | 00ab5542b31d6d5aae201b9d10007be00a0f7003 | /test/test_date.cc | 6ced1dcfa0ecd5c81afeb4c07a0ad1c32661407f | [
"BSD-3-Clause"
] | permissive | kjgrahn/groblad | 8b0f79d1b80ef5e763e69f6d8fa96d4c76e3af1a | b3ce17205f48540236a6839b2867b61f18f7168f | refs/heads/master | 2021-07-06T16:28:48.825858 | 2020-08-25T20:37:45 | 2020-08-25T20:37:58 | 13,282,345 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,263 | cc | /*
* Copyright (C) 2013 Jörgen Grahn.
* All rights reserved.
*/
#include <date.h>
#include <orchis.h>
namespace {
Date D(const std::string& s)
{
const char* p = s.c_str();
return Date(p, p+s.size());
}
void assert_in_may(const Date& d)
{
orchis::assert_lt(D("2013-04-30"), d);
orchis::asse... | [
"grahn+src@snipabacken.se"
] | grahn+src@snipabacken.se |
1e0a1320eee41bead5ad489bf0cddfcbad53065d | efdfe2b2477167766321e1e2152b23e31f4650c4 | /contest749/A.cpp | 9d3ecd9179731a63d56f680bf8b95910a0f59565 | [] | no_license | chongin12/Problem_Solving | 612c7783156db89e9248720bc870f58556f01d01 | c23b25778e32ed4ab21d23b3a4439eefcae486b4 | refs/heads/master | 2023-09-02T20:55:08.413597 | 2023-09-01T05:15:30 | 2023-09-01T05:15:30 | 182,390,474 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | cpp | #include <bits/stdc++.h>
using namespace std;
int arr[200001];
int flag[200001];
int main(){
int N,K; cin>>N>>K;
for(int i=0; i<N; ++i){
cin >> arr[i];
if((~K)&arr[i]) flag[i]=1;
}
flag[N]=1;
// for(int i=0; i<=N; ++i){
// cout << "flag["<<i<<"]="<<flag[i]<<'\n';
// }
int res=arr[0];
int prev=0;
if(flag[... | [
"chongin12@naver.com"
] | chongin12@naver.com |
edf945e1f01fa1b2005adac9faea03744dc71add | 5a6398e0b197dc76eb9d79e8c9a70940c826b00e | /src/include/izenelib/include/3rdparty/re2/util.h | 12fb3502152d0e6f95f33ac117b2097144d8b11a | [
"PostgreSQL",
"Apache-2.0"
] | permissive | RMoraffah/hippo-postgresql | 38b07cd802e179c3fce00097f49c843b238c3e91 | 002702bab3a820bbc8cf99e6fcf3bb1eface96c1 | refs/heads/master | 2021-01-12T00:48:53.735686 | 2016-12-02T01:01:15 | 2016-12-02T01:13:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,798 | h | // Copyright 2009 The RE2 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 RE2_UTIL_UTIL_H__
#define RE2_UTIL_UTIL_H__
// C
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stddef.h> // For size_t... | [
"jiayu198910@gmail.com"
] | jiayu198910@gmail.com |
f0ad34a726102e74e672a32189c732d5b784eeac | ed375380b4eb9d572dc837bb2b9899b230152392 | /lazy4_deprecated_internal_IFunctor.h | 4ff273b6fbdf19746db3ad2c1910bb6ee2bf958e | [] | no_license | fdt1/collection | 53ad8bd14265a4d7640cee6a241b952dd0001b9e | 2b7eb8860dcd856a6d46561478532b5b09872c4c | refs/heads/master | 2021-01-19T20:19:04.220488 | 2015-12-20T14:25:44 | 2015-12-20T14:25:44 | 37,906,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | h | /*
* lazy4_internal_IFunctor.h
* collection
*
* Created by Francois et Fabienne on 24/09/13.
* Copyright 2013 __MyCompanyName__. All rights reserved.
*
*/
#pragma once
#include "lazy4_internal_Type.h"
namespace lazy4 {
namespace internal {
//--------------------------------------------------------... | [
"FDT1@LW5-FDT1-CEM.dsone.3ds.com"
] | FDT1@LW5-FDT1-CEM.dsone.3ds.com |
d6c1565a982be1a180da5a3393b51fa9bbc2dbd8 | f0a26ec6b779e86a62deaf3f405b7a83868bc743 | /Engine/Source/Runtime/Core/Public/Math/TwoVectors.h | 714f4c6ca2c0bfb212d8b163e0044a94d5e55091 | [] | no_license | Tigrouzen/UnrealEngine-4 | 0f15a56176439aef787b29d7c80e13bfe5c89237 | f81fe535e53ac69602bb62c5857bcdd6e9a245ed | refs/heads/master | 2021-01-15T13:29:57.883294 | 2014-03-20T15:12:46 | 2014-03-20T15:12:46 | 18,375,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,241 | h | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
/** A pair of 3D vectors. */
class FTwoVectors
{
public:
/**
* Holds the first vector.
*/
FVector v1;
/**
* Holds the second vector.
*/
FVector v2;
public:
/**
* Default constructor.
*/
FORCEINLINE FTwoVectors( );
/**
... | [
"michaellam430@gmail.com"
] | michaellam430@gmail.com |
81eefecbbca345c51b97d1fa0fe0b56cd2867d72 | 86ea6ad7679f431afafc7d5bd8c6a642207554ad | /AtCoder/ABC/ABC058/C.cpp | 13ea22d08a369b8984ded536904ec91144128874 | [] | no_license | Hayashi-Yudai/Programming-Problems | 86275a2b117fc473cef470fe0394fad0e61ddafc | 3b740c43d1184cffdc7d744da9f489a819732c16 | refs/heads/master | 2021-06-18T03:47:53.252304 | 2021-03-09T23:40:00 | 2021-03-09T23:40:00 | 185,203,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main()
{
int n;
cin >> n;
vector<map<char, int>> table;
for (int i = 0; i < n; i++)
{
string s;
cin >> s;
map<char, int> m;
for (int j = 0; j < s.length(); j++)
{
if (m.count(s[j]))
{
m[s[j]]++;
... | [
"yudai0913haya@gmail.com"
] | yudai0913haya@gmail.com |
0afda6b601bfbb22d0194cfd5d7790e24472a82c | 9b875541a5f841fbf9290644077515779e6848ec | /MFCExp12.3/MFCExp12.3/MFCExp12.3Doc.cpp | b87083cb8ab09131a889b2acad252c54b528831c | [] | no_license | 15831944/course-work | 237736b6a7a449223c06eb16964dfa89bb5afe92 | b602f41159f3c8c545ff11031d438c3fad3e7782 | refs/heads/master | 2022-11-04T04:03:46.322542 | 2020-06-11T08:18:36 | 2020-06-11T08:18:36 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,436 | cpp |
// MFCExp12.3Doc.cpp : CMFCExp123Doc 类的实现
//
#include "stdafx.h"
// SHARED_HANDLERS 可以在实现预览、缩略图和搜索筛选器句柄的
// ATL 项目中进行定义,并允许与该项目共享文档代码。
#ifndef SHARED_HANDLERS
#include "MFCExp12.3.h"
#endif
#include "MFCExp12.3Set.h"
#include "MFCExp12.3Doc.h"
#include <propkey.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMF... | [
"374495075@qq.com"
] | 374495075@qq.com |
397f7c719daaa24c8017207098398b822eb36464 | fe5938ec35ed8e344a3c3d2bf3d3d456f53a5d16 | /src/qt/transactiontablemodel.cpp | 97108ef50c699f1dd2cbd0759ea0592f13152993 | [
"MIT"
] | permissive | bitluckdev/bitluckcoin | 1c6f971f9d7205cbe33df05b86319a8c54cf096d | 6a1d14d021b59fd31f9493428b941ec0d6af7621 | refs/heads/master | 2020-04-17T11:07:57.951826 | 2018-11-19T02:30:36 | 2018-11-19T02:30:36 | 67,142,664 | 1 | 0 | MIT | 2018-11-19T02:30:37 | 2016-09-01T15:18:18 | C++ | UTF-8 | C++ | false | false | 20,489 | cpp | #include "transactiontablemodel.h"
#include "guiutil.h"
#include "transactionrecord.h"
#include "guiconstants.h"
#include "transactiondesc.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include "bitcoinunits.h"
#include "wallet.h"
#include "ui_interface.h"
#include <QLocale>
#in... | [
"bitluckdev@gmail.com"
] | bitluckdev@gmail.com |
c92682ae7e70071efa4188a4523a1f21f6e50e58 | f9d09dfa25ca7774090e9e219bac319e632fd854 | /arrays/6_2/p6_2.cpp | 76dc427549832cc41020818e38dadc8193512944 | [] | no_license | lopez-alejandro/programming_practice | e4cd59c0cada97ea334bb5b9b0a113f379bb51eb | a2c0da31e2775fefc5e925deefc39d2ffdf4dd15 | refs/heads/master | 2020-04-11T00:38:42.733923 | 2014-08-08T04:10:04 | 2014-08-08T04:10:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,341 | cpp | /*
* Goal:
* create a function that takes an input an Array A of
* digits encoding a decimal numer D and updates A to
* represent the number D + 1
*/
#include <iostream>
#include <deque>
using namespace std;
void incrementInteger(deque<int> *A);
int main(void){
deque<int> A;
A.push_back(1);
A.push_... | [
"alejjx@gmail.com"
] | alejjx@gmail.com |
0311545363581ab0f599f2145de41589e77a0a11 | c3dd61f267bddec736eccf69e344032693036def | /Launcher/StdAfx.cpp | c2a3e634a5c4f5dfddc4b81f9b4e77e7891a2620 | [
"MIT"
] | permissive | nathanpc/BambooPad | c51c51b5312147da1571149bf6735e3eb39f7c27 | 9f69d7163f180351d1a2174d4943f7676a6669b2 | refs/heads/master | 2022-03-31T11:10:19.056212 | 2020-02-01T13:49:05 | 2020-02-01T13:49:05 | 235,396,731 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | // stdafx.cpp : source file that includes just the standard includes
// BambooLauncher.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"eeepc904@gmail.com"
] | eeepc904@gmail.com |
9e2ab4ea607c77ea15f7de0788cbcd855b3efab7 | 5e0f2e0a55b26b55ebbe39c3a8a39304b722e013 | /Sources/Math/Matrix/RotationDefinition.h | 11a93a30b392c0555de1359cc266667d49e274d8 | [] | no_license | mutexre/Base | 77eb4d78c54abfaaa2998bd2696f42b2ac905176 | 40cf06212dcf1bed7da4af631f6063c2cc34d404 | refs/heads/master | 2021-01-23T06:25:42.969054 | 2014-05-12T19:35:22 | 2014-05-12T19:35:22 | 23,832,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,423 | h | template <typename T>
Rotation<T>::Rotation() {
this->initSquareMatrix(4);
this->data.resize(4 * 4);
this->loadIdentity();
}
template <typename T>
Rotation<T>::Rotation(T x, T y, T z, T angle, bool normalize) {
if (normalize) {
auto len = sqrtf(x * x + y * y + z * z);
x /= len;
... | [
"alexander.obuschenko@gmail.com"
] | alexander.obuschenko@gmail.com |
5cb2fc761a9d8b501318dac4903dca400b1c65b4 | 0c2695d0caff3ea75dd85a468db3787a83d98e13 | /src/tilemanager.cpp | 8b8bdf41717528fe081c6677cdc3571d4f96e828 | [
"Apache-2.0"
] | permissive | samuelsleight/teabag | 2f76d4c48fbc155ffb996b2b66badd9154ce28dd | 20a44414a6cf628426b17651f59d92c4455f312f | refs/heads/master | 2021-05-28T19:12:54.040990 | 2015-05-03T15:52:06 | 2015-05-03T15:52:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,069 | cpp | ////////////////////////////////////////////////////////////////////////////////
//// Copyright 2014-2015 Samuel Sleight
////
//// 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
////
//// ... | [
"samuel.sleight@gmail.com"
] | samuel.sleight@gmail.com |
c7168eaa7663f7b0e626676795b5e566f3d35dd5 | c627a3bf786ffd60d3917f6fafa1852ddd5cdaa1 | /MIXGA.cpp | 591e7f8e387933e5ce507bf05f407a0d1c97860e | [] | no_license | tanishqg5325/CodeChef | 29385c1f119a653922be5e3110a94543aa8cac14 | 37947904b772c9ab8936a01284ed16fe0823678d | refs/heads/master | 2020-03-07T12:11:00.699489 | 2019-09-20T13:41:56 | 2019-09-20T13:41:56 | 127,472,297 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL); cout.tie(NULL);
int t,n,k,sum;
cin>>t;
while(t--)
{
cin>>n>>k; sum=0;
bool ar[n];
for(int i=0;i<n;i++) cin>>ar[i];
for(int i=0;i<n;i++)
{
... | [
"tanishqg2406@gmail.com"
] | tanishqg2406@gmail.com |
7699d988df769685777ccaaa3f0bcdd4e6d2509e | 19048f0a2d5e31402bd791b2dd594362de44afe3 | /cpp/TutorialsPoint/src/NestedLoops.cpp | d4556aebf2725ecca04aec0e5b15cfa80d4f5aef | [] | no_license | humbertoperdomo/practices | f5f2288f4375cbc507f5d9c5ebf80064b4e946a0 | ddc8dd587015e450858e851a2879026c7534f665 | refs/heads/master | 2021-01-24T06:30:00.405750 | 2018-11-11T01:57:30 | 2018-11-11T01:57:30 | 29,109,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | cpp | #include <iostream>
using namespace std;
int main() {
int i, j;
for(i = 2; i < 100; i++) {
for(j = 2; j <= (i/j); j++)
if(!(i%j))
break;
if(j > (i/j))
cout << i << " is prime" << endl;
}
return 0;
}
| [
"humberto@localhost.localdomain"
] | humberto@localhost.localdomain |
76f6776701d5df6aad1fbe9e58a7857703f36c44 | 03b958fa197c774fbe624e03d0f3d62af9eda52f | /DisplayDoc.h | 356a417a3315600fdab05db006f2ba9794974e21 | [] | no_license | ssunrising/trabone | f1fc9b6b6c50e84ea89964031c0c0d268f1609a9 | 3db67354cc12f4694e8eb3c58252e9aebbe3027c | refs/heads/master | 2020-06-23T20:27:32.788651 | 2016-11-27T20:17:56 | 2016-11-27T20:17:56 | 74,636,581 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | h | // DisplayDoc.h : interface of the CDisplayDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DISPLAYDOC_H__6228FAC6_462C_492E_A489_9FAC6CE8A48E__INCLUDED_)
#define AFX_DISPLAYDOC_H__6228FAC6_462C_492E_A489_9FAC6CE8A48E__INCLUDED_
#if _MSC_VER > 1000
#pragma on... | [
"xshi3@alumni.nd.edu"
] | xshi3@alumni.nd.edu |
59967bc085b882853945ab83b42844a6ca97b728 | 1ec1e62e0571c4087b41dc7a40d33dc9ffd0ccb6 | /GOCchain/src/ripple/app/misc/impl/Manifest.cpp | 02f137a7a89fcf0caf74108a6f818e468d8e9488 | [
"ISC",
"MIT-Wu",
"BSL-1.0",
"MIT"
] | permissive | GOCchain/GOC | 4746f4afec176524c1a40057e6f974cd4ff8d37e | a4dbf14844ce221a22b9c7990e1d9036b24d6d74 | refs/heads/master | 2020-03-22T19:17:40.498813 | 2018-07-17T06:51:24 | 2018-07-17T06:51:24 | 140,518,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,594 | cpp | //------------------------------------------------------------------------------
/*
This file is part of GOCd: https://github.com/GOC/GOCd
Copyright (c) 2012, 2013 GOC Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, pro... | [
"444636382@qq.com"
] | 444636382@qq.com |
74f0ace70f36a5b6954911ca7c15ec1b97144c2f | e5a71cd94fbcc1a0d04fd1fafbcff7284a7271c8 | /raygame/ScreenEdgeBehavior.h | 288d562bc528f829b28ee1e4c60ca83c83194b33 | [
"MIT"
] | permissive | MatthewRagas/AI_Agents | 84ac46fbb33716f05723360499a798f0781c0adb | 7c513fe63956929bb55ee1f5e6fdf756422497fc | refs/heads/master | 2021-04-18T13:38:09.467012 | 2020-04-01T17:16:10 | 2020-04-01T17:16:10 | 249,550,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | h | #pragma once
#include "Behavior.h"
class ScreenEdgeBehavior : public Behavior
{
public:
ScreenEdgeBehavior() {}
virtual ~ScreenEdgeBehavior() {}
virtual void update(Agent* agent, float deltaTime);
};
| [
"mjrag310@hotmail.com"
] | mjrag310@hotmail.com |
c1f472f2873afa58d599064e3da9cf3b5c965f02 | dee9e7a5b9b0ecf3b9a8ddf7f30f972045217a45 | /gdem_libmain/GDM_FileCacheMgr.cpp | fd58a81c2b08f1b53f9031c88abf56783cd98de0 | [] | no_license | shengzhe8688/QGlobe | 3e2d5c86ad6a2bff89f3773385fa8fd84d4ddf57 | 8e13b894fc1d89a18869c979740fefe47a161eeb | refs/heads/master | 2022-11-12T12:19:06.046336 | 2020-07-05T14:04:59 | 2020-07-05T14:04:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,080 | cpp | #include <QDesktopServices>
#include <QDir>
#include <QString>
#include <stdio.h>
#include "common.h"
#include "../gdem_common/gdem_protocol.h"
#include "GDM_Mem.h"
#include "GDM_FileCacheMgr.h"
#include "gdem_version.h"
#define MAX_CACHE_FILE_SIZE (300<<20)
#define CACHE_FILE_IDLE 1
#define CACHE_F... | [
"wugis3@yahoo.com"
] | wugis3@yahoo.com |
a1bd8aedbc240db67d89151e633c683871d011b9 | 23d44a604a35650a9b610e2813a2aab8bab31c73 | /110_Subsets_II.cpp | aa116bcc1042cbfe442e491d55e1c8053c0afa49 | [
"MIT"
] | permissive | liyiji/LeetCode | a65438ca4140c73477e4595b94d74329094eb28c | 5b882167d61bbfe3ad6128379a88d8f3765622a9 | refs/heads/master | 2021-01-02T08:33:13.502125 | 2014-12-30T15:39:06 | 2014-12-30T15:39:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,340 | cpp | /*
* Subsets II
* Total Accepted: 11105 Total Submissions: 41620
*
* Given a collection of integers that might contain duplicates, S, return all possible subsets.
*
* Note:
*
* Elements in a subset must be in non-descending order.
* The solution set must not contain duplicate subsets.
*
* For example... | [
"liyijipersonal@gmail.com"
] | liyijipersonal@gmail.com |
b8d33d3e417f0482011065e268860f710322e202 | 98a3935353e12bdc7384ff89cd344f06b30e1db2 | /CommandGroup.cpp | 95ab5cd11b80ccde492796159548b3ea0c817583 | [] | no_license | PotatoPhil/CmdLib | dde5373ded0ec84780ff16b288e0105c9f70ce04 | 6f0a7164906f5b86b5cbf4be2ab8787137968597 | refs/heads/master | 2016-09-14T00:34:55.044100 | 2016-05-24T04:36:49 | 2016-05-24T04:36:49 | 59,540,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 169 | cpp | #include "CommandGroup.h"
CommandGroup::CommandGroup()
{
}
CommandGroup::~CommandGroup()
{
}
CommandGroup::CommandGroup()
{
}
CommandGroup::~CommandGroup()
{
}
| [
"romoalamn@gmail.com"
] | romoalamn@gmail.com |
3e984944bd41fe1b816589469be06b0a94865081 | 8c8820fb84dea70d31c1e31dd57d295bd08dd644 | /Engine/Classes/Materials/MaterialInstanceActor.h | 2cf98f04bb18444ef6b811bcdc410d98e4e7fb03 | [] | no_license | redisread/UE-Runtime | e1a56df95a4591e12c0fd0e884ac6e54f69d0a57 | 48b9e72b1ad04458039c6ddeb7578e4fc68a7bac | refs/heads/master | 2022-11-15T08:30:24.570998 | 2020-06-20T06:37:55 | 2020-06-20T06:37:55 | 274,085,558 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,253 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/**
*
* Utility class designed to allow you to connect a MaterialInterface to a Matinee action.
*/
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "GameFramework/Actor.h"
#include "MaterialInstanceActor.generated.h"
class UBillbo... | [
"wujiahong19981022@outlook.com"
] | wujiahong19981022@outlook.com |
5c4e4b11c61c0956b36a4612921eba740c526480 | b46d4f0a7e806b175de55214dfd3909e5bcb6687 | /gui/TStnVisNode.cc | b8525b8aeae690dcee3c78645e75f8099777a1b0 | [
"Apache-2.0"
] | permissive | Mu2e/Stntuple | 23fa5550288586b0e0909aa3be7439fd41cf9511 | 766b735ae2fabf391e6f935c67f7245995378e87 | refs/heads/main | 2023-08-23T17:52:41.537174 | 2023-08-16T15:01:21 | 2023-08-16T15:01:21 | 218,061,235 | 0 | 9 | Apache-2.0 | 2023-09-14T01:44:36 | 2019-10-28T14:07:19 | C++ | UTF-8 | C++ | false | false | 5,227 | cc | ///////////////////////////////////////////////////////////////////////////////
// real base class for Stntuple VisNodes
///////////////////////////////////////////////////////////////////////////////
#include "Stntuple/gui/TStnVisNode.hh"
#include "Stntuple/gui/TStnVisManager.hh"
ClassImp(TStnVisNode)
//----------... | [
"murat@fnal.gov"
] | murat@fnal.gov |
cd560130aa61595cfab658a465abf3bd54150f84 | ebe52a2d48e4b5153bd9db5c3f6878b18cdaed57 | /EngineTester/ICEngine.cpp | fe493db1d24c09113f6b3afd2d0a953aba13a5f9 | [] | no_license | TaronovRmn/EngineTester | 771869c6a8363ff20d76dc8768204e0e0ff4016c | 9baaa659c0f52d02faaa578746ac1410c240788f | refs/heads/master | 2020-05-07T08:02:34.405579 | 2019-04-09T14:02:52 | 2019-04-09T14:02:52 | 180,304,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,658 | cpp | #include "ICEngine.h"
ICEngine::ICEngine(double i, vector<double> m, vector<double> v,
double t_max, double h_m, double h_v, double c) : i_(i), m_(m), v_(v),
t_max_(t_max), h_m_(h_m), h_v_(h_v), c_(c)
{
}
ICEngine::~ICEngine()
{
}
void ICEngine::start(double& t_amb) {
chrono::time_point<chrono::system_clock> s... | [
"taronovroman@mail.ru"
] | taronovroman@mail.ru |
5cc7501ca4223820d56253e1d181c5de636fe177 | 173c821a8006abf9ca1d531efe71709377fa03ef | /VAD/CSpeechBuffer.cpp | 01f06ddc67b3670d995379bbebddb488be3dc332 | [] | no_license | zhoul14/SpeechCodePrime-master | 88db7ee9b33ebc241f372cf6fe309bbfe890ce33 | 59adf621b64f59676e0bd17af31cef41bf33b786 | refs/heads/master | 2021-01-20T15:06:46.683463 | 2017-06-29T05:36:19 | 2017-06-29T05:36:19 | 90,719,947 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 4,392 | cpp | #include <stdio.h>
#include <windows.h>
//#include "CFIRfilter.h"
#include "CSpeechBuffer.h"
//DefRawSpeechBufferLen是预设的数据缓冲区长度
//DefFilterSpeechBufferLen是预设的滤波器输出数据缓冲区长度
//CSPEECH_BUFFER类对每次送入到语音缓冲区中的数据都需要进行FIR预滤波处理,然后再进行分析处理,
//因此每次送入缓冲区的数据长度不能超过DefFilterSpeechBufferLen定义的缓冲区长度
CSPEECH_BUFFER::CSPEECH_BUFFER()
{
}
... | [
"1214279441@qq.com"
] | 1214279441@qq.com |
b204c2e40900a74b5f4588b46f2d75408efd399f | 3013aca68b0f2b51e4709532c6e81f963236c260 | /bsadmin/Unitmuilprint.h | 9d7f208f90e730c3b388b0691a7a8bc11e809040 | [] | no_license | kevinchenbin/retail | c4e383c4edbf8699207b9606f7dabf0a506568dd | f875aef1c1d8790899ef1cdb7d1e984761912c7e | refs/heads/master | 2020-08-03T10:18:00.835937 | 2016-11-12T11:45:11 | 2016-11-12T11:45:11 | 73,549,161 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,332 | h | //---------------------------------------------------------------------------
#ifndef UnitmuilprintH
#define UnitmuilprintH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Unitorderquery.... | [
"legendbin@gmail.com"
] | legendbin@gmail.com |
94d3f5df0f88ba16de73d06b8fd7c6cf5bb05e2f | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/6e/0a035e27630638/main.cpp | 452a01e032dea929f18026e8df75a38f6220b45c | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,548 | cpp | #include <iostream>
#include <stdexcept>
#include <cmath>
#include <tuple>
struct Aiming {
enum Direction { N = 1u << 1u, S = 1u << 2u
, E = 1u << 3u, W = 1u << 4u
, NE = N | E, NW = N | W
, SE = S | E, SW = S | W
};
Aiming( float angleHorizontal, float angleVertical ) {
const float ... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
4dd936d479799d59029615a67d9ec8ff125b564e | 9a3f51d2a68d926ac7d69216da9a58fc6f0855cf | /John Welsby - Advanced Skills 2/previous work/Ak/RakNetTest/RakNet/Source/ReadyEvent.h | 25acc7072a9d40a00d87c749b7d3e74f538252d4 | [] | no_license | LogicalUnit/AIE_Portfolio | 7bbe566568cb2f367760da8e846bf1a5ceb9cf9d | 4ee3e431b621f0f8614e2b462b2fba77adc88e39 | refs/heads/master | 2020-06-14T03:23:27.775550 | 2016-12-04T02:47:25 | 2016-12-04T02:47:25 | 75,511,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,334 | h | /// \file
/// \brief Ready event plugin. This enables a set of systems to create a signal event, set this signal as ready or unready, and to trigger the event when all systems are ready
///
/// This file is part of RakNet Copyright 2003 Kevin Jenkins.
///
/// Usage of RakNet is subject to the appropriate license agree... | [
"john.welsby@gmail.com"
] | john.welsby@gmail.com |
f76da4426eb3af02391dbf29e761d94b17cf4f93 | 7042dd8b567f30d926f682907f5b2f53f93e8980 | /winxsamp/tutorials/winx/step005-accel/accel/hello.cpp | 7c4d201af409413236dca0fb8d329eeb247c343c | [] | no_license | xushiwei/winx | 9e02558ddbb4f873119c172f186f06730b93092d | 83f6b65193137e9ec08644a4391dfc96c0969313 | refs/heads/master | 2020-12-24T22:29:36.717051 | 2018-04-20T11:57:26 | 2018-04-20T11:57:26 | 2,092,114 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,860 | cpp | /* -------------------------------------------------------------------------
// WINX: a C++ template GUI library - MOST SIMPLE BUT EFFECTIVE
//
// This file is a part of the WINX Library.
// The use and distribution terms for this software are covered by the
// Common Public License 1.0 (http://opensource.org/licenses... | [
"xushiweizh@gmail.com"
] | xushiweizh@gmail.com |
6eb2cd7ffe28e62b2ec4b2673d79201768ab3c93 | 9c0c785a565d71fbc00341cbf5de02870cf4184b | /codes - ac/Gym/101808J/19266401_AC_15ms_0kB.cpp | 355ece0f56293438bf9f5bf9212530acb100789c | [] | no_license | NUC-NCE/algorithm-codes | bd833b4c7b8299704163feffc31dc37e832a6e00 | cbe9f78a0b921f5bf433f27587e7eeb944f7eb37 | refs/heads/master | 2020-06-28T05:14:48.180851 | 2019-08-02T02:40:51 | 2019-08-02T02:40:51 | 200,150,460 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int l1,r1,p1,d1;
int l2,r2,p2,d2;
int k;
int main()
{
int t;
scanf("%d",&t);
while(t--){
scanf("%d%d%d%d",&l1,&r1,&p1,&d1);
scanf("%d%d%d%d",&l2,&r2,&p2,&d2);
scanf("%d",&k);
int ans=0;
while(k--){
... | [
"Nce0506@outlook.com"
] | Nce0506@outlook.com |
d3bf9fb7a53d0d6aff3c9512cdef6db191a60bec | 2a8089d185812e203f79b6bfeeffb3e335e602ed | /src/nodes/tiled_forward_node.h | 0b178cb886024555ae3d57540a52c48f35566b91 | [
"MIT"
] | permissive | sniperykun/Nimble | 987fb9f52109f91730d3b59eb9fcd84801352a61 | c1c784009e275778b261707aaba8666520e2eb5d | refs/heads/master | 2020-10-01T15:46:47.508850 | 2019-12-11T22:17:05 | 2019-12-11T22:17:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | h | #pragma once
#include "../render_node.h"
namespace nimble
{
class TiledForwardNode : public RenderNode
{
public:
TiledForwardNode(RenderGraph* graph);
~TiledForwardNode();
void declare_connections() override;
bool initialize(Renderer* renderer, ResourceManager* res_mgr) override;
vo... | [
"shredhead94@gmail.com"
] | shredhead94@gmail.com |
d4ac640c3fe7823e47c1bae3e3f4571305b57847 | 3602c277ea89c233af6578c3068ac41c445db425 | /include/requestData.h | e8b3860fdc27413495869e85d9722aeca153caa5 | [] | no_license | 5by2by1by/WebServer | fd53060a11bfcc8edf4be79d94edcc31c1497f95 | 65f4b2fa309a37d823fae7d14a8eecbdfed5ac11 | refs/heads/main | 2023-02-06T10:11:48.481553 | 2020-12-30T12:32:07 | 2020-12-30T12:32:07 | 323,627,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,699 | h | #ifndef REQUESTDATA
#define REQUESTDATA
#include <string>
#include <cstring>
#include <unordered_map>
#include "requestData.h"
#include "util.h"
#include "epoll.h"
#include <sys/epoll.h>
#include <unistd.h>
#include <sys/time.h>
#include <unordered_map>
#include <fcntl.h>
#include <sys/stat.h>
#include <s... | [
"by5by2by1@gmail.com"
] | by5by2by1@gmail.com |
2757ed6668a3b2352a07d3cd070262ef1955326d | 97aa1181a8305fab0cfc635954c92880460ba189 | /aten/src/ATen/native/quantized/cpu/qlinear_unpack.cpp | efe58db52008b9c39e7a52990e3779da93e3d158 | [
"BSD-2-Clause"
] | permissive | zhujiang73/pytorch_mingw | 64973a4ef29cc10b96e5d3f8d294ad2a721ccacb | b0134a0acc937f875b7c4b5f3cef6529711ad336 | refs/heads/master | 2022-11-05T12:10:59.045925 | 2020-08-22T12:10:32 | 2020-08-22T12:10:32 | 123,688,924 | 8 | 4 | NOASSERTION | 2022-10-17T12:30:52 | 2018-03-03T12:15:16 | C++ | UTF-8 | C++ | false | false | 4,959 | cpp | #include <ATen/ATen.h>
#include <ATen/cpp_custom_type_hack.h>
#include <ATen/native/quantized/cpu/fbgemm_utils.h>
#include <ATen/native/quantized/cpu/packed_params.h>
#include <ATen/native/quantized/cpu/qnnpack_utils.h>
#include <torch/custom_class.h>
#include <torch/library.h>
torch::jit::class_<LinearPackedParamsBas... | [
"zhujiangmail@hotmail.com"
] | zhujiangmail@hotmail.com |
db1ab1a37e3ba14fc9b7ec8668782386e7495cc5 | 94303aaf3384184608723be26121f1ea76fa75cf | /IcrXXXX/ValidatorEx.h | 8cd97e16f04346a407947f0284193618b2c1f317 | [] | no_license | insys-projects/ICR | d8cb40e36764f10346b862c24188aab5757d07e1 | ef2357a8b41aba3ecf41a3b0d4afed5ece5ad3f4 | refs/heads/master | 2021-08-15T21:49:55.375551 | 2020-08-24T15:35:19 | 2020-08-24T15:35:19 | 215,523,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | h | #ifndef HEXVAL
#define HEXVAL
#include <QIntValidator>
class ValidatorEx : public QIntValidator
{
int m_nBase;
public:
ValidatorEx(int nMin, int nMax, int nBase, QObject *parent) : QIntValidator(nMin, nMax, parent)
{
m_nBase = nBase;
}
virtual QValidator::State validate(QString &input, int &po... | [
"Kozlov@a8a5cdc4-a91d-e646-800f-a4054892b1cc"
] | Kozlov@a8a5cdc4-a91d-e646-800f-a4054892b1cc |
1f6e4f21764a7af04dbe1c41d96c47a6bd62a1de | 0972bf9edaf8d0165a4153c9139e1ce748928fe1 | /src/protocol.h | b850f201118a05202e75bdf059b1036494ae3fa3 | [
"MIT"
] | permissive | orcadev/Orcacoin | 64d53d7163da1d7aa8526395fbf6c2eb312dfdec | 895448bd4f3a10051f16c4365d1939eea1df6285 | refs/heads/master | 2021-01-10T21:59:33.112890 | 2014-05-01T14:04:25 | 2014-05-01T14:04:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,719 | 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... | [
"root@orcacoinpool.org"
] | root@orcacoinpool.org |
30c8c5f28cd296690d43ee74c987e6ca72d3f9f3 | b8906afecca06f48f2cd289a9997f670b26c4721 | /lib/commonAPI/mediaplayer/ext/platform/android/jni/Mediaplayer_impl.cpp | 61124e091b79b463f44b7305b799b737990f0a67 | [
"MIT"
] | permissive | rhomobile/rhodes | 51bd88921c51bd618948f9a557de17fc297e7cc2 | fc8409c9c281684a49d7ff6805ddc565de09a6d5 | refs/heads/master | 2023-09-01T17:45:36.149868 | 2023-08-31T20:56:06 | 2023-08-31T20:56:06 | 54,084 | 504 | 155 | MIT | 2023-09-12T00:14:29 | 2008-09-18T21:55:16 | C | UTF-8 | C++ | false | false | 1,578 | cpp | #include "rhodes.h"
#include "Mediaplayer.h"
#include "logging/RhoLog.h"
#undef DEFAULT_LOGCATEGORY
#define DEFAULT_LOGCATEGORY "Mediaplayer_impl"
#define MEDIAPLAYER_FACTORY_CLASS "com.rho.mediaplayer.MediaplayerFactory"
extern "C" void Init_Mediaplayer_API(void);
extern "C" void Init_Mediaplayer(void)
{
RAWTR... | [
"gareth_lewis2@mac.com"
] | gareth_lewis2@mac.com |
efb2875dcf5c664e7ae21c866b5ed3fe70e8f3ac | fcea5f08695b3f558d74034227ec1dde8a9297dc | /chess2/lib/include/pone.hpp | 38b1f2d3adbcab83854f6ea68e8d6f43c3548951 | [] | no_license | shuhei55/cpp_lecture | 600db5ab727758f059e04d66a314375e2e8f9cb7 | a84cfedcf14db543f912c92a2a31a960e50fa150 | refs/heads/master | 2021-10-23T09:10:24.613663 | 2019-03-16T13:13:27 | 2019-03-16T13:13:27 | 112,428,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | hpp | #pragma once
#include "koma.hpp"
//#include "config/params.hpp"
#include <iostream>
class Pone : public AbstKoma
{
public:
explicit Pone(int tate, int yoko, int player) : AbstKoma(tate, yoko, player) {}
explicit Pone(int tate, int yoko, int player, bool start) : AbstKoma(tate, yoko, player, start) {}
voi... | [
"takamatushuhei55@docomo.ne.jp"
] | takamatushuhei55@docomo.ne.jp |
1aa34ccf790d921efc5917ae6978487c8eaab4a7 | 9b503190868f90285e274f871b8573277496857c | /our_threads.hpp | 6235dbf38ec1d03f602f11abc99f721846cac027 | [] | no_license | NareszcieCosSieDzieje/GoodVsEvil | 7779ca0b05db0b4032e890c17d5341b799f09f90 | 4638a3900c5662aef71aadf113e6a4eaff482441 | refs/heads/master | 2022-11-04T05:15:31.145691 | 2020-06-03T17:49:31 | 2020-06-03T17:49:31 | 263,679,014 | 0 | 0 | null | 2020-05-19T16:33:36 | 2020-05-13T16:05:33 | C++ | UTF-8 | C++ | false | false | 361 | hpp | #ifndef _OUR_THREADS_HPP_
#define _OUR_THREADS_HPP_
/* Thread loop responsible for coordinating other processes with user input*/
void monitorLoop(void);
/* Thread loop responsible for waiting for messages and responding accordingly*/
void communicationLoop(void);
/* Function returns bigger of two values */
int max... | [
"krajzys@o2.pl"
] | krajzys@o2.pl |
cfe74876a0e96b63741a1892673f70c937026001 | 9b0ec03892b97c0719aadf414d374bb51d1204bd | /C++_Win32/0525/Bingo/Win32_1/WindowsProjectSORItest.cpp | fa17d400e72d8b4004a9f87e0fab0e0cc2264713 | [] | no_license | ygh0717/Language-Expert | 6f5473324314dc0fd2ab5a724917da543fa9a490 | 4f83f7f1d715be49a3277682ed971be8a4ec59ee | refs/heads/main | 2023-07-19T20:19:01.197307 | 2021-08-19T08:59:28 | 2021-08-19T08:59:28 | 366,340,803 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,304 | cpp | //#define ON_MAIN
#ifdef ON_MAIN
#include "framework.h"
#include "Win32_1.h"
#define MAX_LOADSTRING 100
// 전역 변수:
HINSTANCE hInst; // 현재 인스턴스입니다.
WCHAR szTitle[MAX_LOADSTRING]; // 제목 표시줄 텍스트입니다.
WCHAR szWindowClass[MAX_LOADSTRING]; // 기본 창 클래스 이름입니다.
// 이 코... | [
"66707539+ygh0717@users.noreply.github.com"
] | 66707539+ygh0717@users.noreply.github.com |
3c5ee7f911cfd3ecc71b763cbc8684e5ae4cbb6f | 44833940d8b934094cd526fdba78e2082daf2ceb | /EzGame-1.0.0/CoreLibs/EzMain3D/D3D9Renderer/EzD3DX9Mappings.h | e81b478b3d01b2dd963fb90eee2e23486b5a5f04 | [] | no_license | BGCX067/ezgame-svn-to-git | 7790617ceff6fdb98c60e51282f3438d32eecfc0 | e7fdedac48bbdcb16acc4536701f90077a7aad75 | refs/heads/master | 2016-09-01T08:51:24.193235 | 2015-12-28T14:17:51 | 2015-12-28T14:17:51 | 48,874,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,387 | h | #pragma once
#include "../EzVertexElement.h"
#include "../Ez3DBuffer.h"
#include "../EzIndexBuffer.h"
#include "../../EzCore/EzEnumTypes.h"
#include "../../EzCore/EzColor.h"
#include <d3d9.h>
#include <d3dx9.h>
class EzD3DX9Mappings
{
public:
EzD3DX9Mappings(void);
~EzD3DX9Mappings(void);
stat... | [
"you@example.com"
] | you@example.com |
061d5bf9d83412068d0114d6d6da05701a8b12a1 | c53cf4d977cc480ba10fc4643c305c3ca429b0db | /source/VoxelGrid.cpp | 36b53c3c21e7ae4d8b4d14735d0606220f89522b | [
"MIT"
] | permissive | bbercovici/YORPLib | 4338f1b00785c87c035b5bbe90e49253616e486c | 3ae8dc6a26987cd327479d7212000b97d688929c | refs/heads/master | 2021-04-03T04:59:02.300968 | 2019-02-04T00:22:52 | 2019-02-04T00:22:52 | 124,464,922 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,908 | cpp | /** MIT License
Copyright (c) 2014 Jay McMahon
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | [
"benjamin.bercovici@gmail.com"
] | benjamin.bercovici@gmail.com |
5183ca6d82823cce047b3d8d45e41360d8889a86 | 13dafbe0e33771bd24496637a761c4703fb0beb4 | /Codeforces/ArrayKColoring.cpp | db5f32e80f3a51bcd29e3362803b169889f25978 | [] | no_license | Owmicron/CPStuff | 121d498b2418141fa45d27fcbfa0a1fd851a4293 | 436f3234ed2f2930b13169f30428ded5da557b75 | refs/heads/master | 2022-12-30T06:43:18.425735 | 2020-10-20T12:21:59 | 2020-10-20T12:21:59 | 258,448,760 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 841 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef string str;
int n,k,f[6000],a[6000];
int start[6000];
bool valid;
vector<int> num;
int main(){
cin>>n>>k;
valid=true;
for(int i=1;i<=n;i++){
cin>>a[i];
if(f[a[i]]==0){num.push_back(a[i]);}
f[a[i]]++;
i... | [
"owenultima@gmail.com"
] | owenultima@gmail.com |
7c42baa167ec7b4554a963407a819398f963b5f2 | aa9d977ba572a33715e32fd285c88f4f316e6272 | /ChatServer.hpp | 94d330f0d5f21fd486f10f9813f0f67d45a2cd55 | [] | no_license | noahyzhang/UpgradedChatRoom | 2c114b7a9c5cb8532e783cc9021611a909b04816 | 918ba66cf3a3f4a54e2835be53bda9e53dbbdaa0 | refs/heads/master | 2022-07-06T18:18:17.183115 | 2019-05-03T14:04:02 | 2019-05-03T14:04:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,135 | hpp | #pragma once
#include<iostream>
#include<pthread.h>
#include"ProtocoUtil.hpp"
#include"UserManager.hpp"
#include"Log.hpp"
#include"DataPool.hpp"
#include"Message.hpp"
class ChatServer;
//是要给新创建的线程传参
class Param {
public:
ChatServer *sp;
int sock;
std::string ip;
int port;
public:
Param(ChatServer *sp_,i... | [
"zy@localhost.localdomain"
] | zy@localhost.localdomain |
8fdd33465edb3cfa1b38f92e34115113d445bdf1 | 23a7466704998ce51acc5716f5f9b35d22cfa5ae | /nano-led-poi/nano-led-poi.ino | 9e028c19ec29b1093ff10b3d7f844de088a26043 | [
"LicenseRef-scancode-hippocratic-1.1"
] | permissive | dieseltravis/arduino-projects | 3d910aa05cb5e83c74329debb1fab5c92ef11ff1 | a227e655dbc57f6bdbbc1033d571afb779a356d0 | refs/heads/master | 2020-04-06T07:03:09.152969 | 2019-10-02T01:16:24 | 2019-10-02T01:16:24 | 50,755,520 | 1 | 0 | MIT | 2019-10-02T01:16:26 | 2016-01-31T02:37:39 | Arduino | UTF-8 | C++ | false | false | 31,534 | ino | // MPU-6050 Accelerometer + Gyro
// -----------------------------
//
// By arduino.cc user "Krodal".
#include <Wire.h>
#define MPU6050_AUX_VDDIO 0x01 // R/W
#define MPU6050_SMPLRT_DIV 0x19 // R/W
#define MPU6050_CONFIG 0x1A // R/W
#define MPU6050_GYRO_CONFIG 0x1B // R/W
#... | [
"travis.hardiman@gmail.com"
] | travis.hardiman@gmail.com |
7953c8ae6abeebe0388cec992f0030729263da56 | fbe7410d0dd3fac081899631665d6a512ce3b6e8 | /src/Index.re | c8f9cd78e15b824227cabc4a1db406df4b86be84 | [] | no_license | ccaseiro/todomvc-reason-react | a891b214ebb9f8fc6658cfd3ec6683ca42fa9b0e | 62290c9d632e480d0434bdf9370d66dc01478e01 | refs/heads/master | 2020-04-18T14:33:51.464184 | 2019-01-27T16:25:44 | 2019-01-27T16:25:44 | 167,592,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60 | re | ReactDOMRe.renderToElementWithClassName(<App />, "todoapp"); | [
"ccaseiro@gmail.com"
] | ccaseiro@gmail.com |
1c6104343bfff5a5f160437e68b8dda8e03b8e2d | 9ca1e87ac44925130517765079157c2bf1ff4f5e | /ANDROID_SOURCE_CODE/external/clang/test/SemaCXX/cxx0x-initializer-aggregates.cpp | 687d27246c8b3023afe2bfd95f280bef11acfb25 | [
"NCSA",
"Apache-2.0"
] | permissive | zhxzhxustc/AFrame | ba4ac10726200a9c3d4749f9e85bf045a3c911ca | e79bcf659660746b937fda182189cf928f84657a | refs/heads/master | 2021-01-17T08:48:09.294888 | 2016-07-13T00:55:20 | 2016-07-13T00:55:20 | 63,128,807 | 3 | 1 | null | 2020-03-09T17:18:11 | 2016-07-12T05:23:26 | null | UTF-8 | C++ | false | false | 718 | cpp | // RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
namespace aggregate {
// Direct list initialization does NOT allow braces to be elided!
struct S {
int ar[2];
struct T {
int i1;
int i2;
} t;
struct U {
int i1;
} u[2];
struct V {
int var[2];
} v;
};
voi... | [
"zhxzhxustc@gmail.com"
] | zhxzhxustc@gmail.com |
f84b84c1f43eb5a88b0b02afa5140ef82c429153 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /media/formats/mp2t/es_parser_h264.h | 2133d7b6a0c49f0bea01f3a8218bb0b04b6878c5 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 3,043 | h | // 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.
#ifndef MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
#define MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
#include <stdint.h>
#include <memory>
#include <utility>
#inc... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
b58274eb0b2b25b3cf830d30d61e95a41b5d2286 | b4e4b33366f6925e1db342513b0820c5f2a315dc | /src/proto/core/node/domain/service/accept_or_deny_request_message.pb.cc | 3cc0515b5b729541e25981dbf1734e9c1dae4cdf | [
"Apache-2.0"
] | permissive | IonesioJunior/syft.cpp | d87a24210cf54bb1b661c83b4a5b3b29d46aa12f | 52d2e157a4d4203a80bc92f9b8dcf91e7ddfe4f7 | refs/heads/master | 2022-12-13T01:44:12.181492 | 2020-09-21T08:07:35 | 2020-09-21T08:07:35 | 297,254,877 | 0 | 0 | null | 2020-09-21T06:58:22 | 2020-09-21T06:58:21 | null | UTF-8 | C++ | false | true | 20,842 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/core/node/domain/service/accept_or_deny_request_message.proto
#include "proto/core/node/domain/service/accept_or_deny_request_message.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extensio... | [
"ionesiojr@gmail.com"
] | ionesiojr@gmail.com |
67d8a8892cf832bfa3d674dc79e0419316ea1fcc | 7d95ec3e1cb9b981b7a5b38215a0ea0eeedf0bbf | /libraries/RC_Channel/RC_Channel.cpp | 31769f2a03f72ce14cf88b4c1cc29ca453792db9 | [] | no_license | fapange/ArduRepo | 108f8f0e5c5e1d82188e94dfb7510d9dfbd9e125 | c27ce081fd45aaa87de5e9cd7179fbe4d545efea | refs/heads/master | 2016-09-06T10:11:49.308046 | 2015-05-12T12:30:59 | 2015-05-12T12:30:59 | 26,776,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,533 | cpp | /*
RC_Channel.cpp - Radio library for Arduino
Code by Jason Short. DIYDrones.com
This library is free software; you can redistribute it and / or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your optio... | [
"fapange@verizon.net"
] | fapange@verizon.net |
3beb673e5af2e8b81e8e824832b10786e54afad9 | 8e33ac84037c33fecdd04479cd4fac451a6947e2 | /c++/ui/AguraUI/AguraGraphics.cpp | 5460aee57ebc9e4a39ede52a53e79a960fb932de | [] | no_license | siprikorea/framework | 278e3239f004ef9efe78eab55fee03385030f6c5 | 3ca17a0d17a2b6fb5e8f0216b4ce08eb8713cead | refs/heads/master | 2020-12-11T05:45:23.017610 | 2017-09-11T09:02:08 | 2017-09-11T09:02:08 | 16,749,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,828 | cpp | #include "stdafx.h"
#include "AguraGraphics.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
/************************************************************
* @brief Constructor
* @param[in] hdc DC Handle
* @retval None
************************************************************/
CAguraGraphics::CAguraGraphics(I... | [
"siprikorea!@gmail.com"
] | siprikorea!@gmail.com |
80d2a0c4dab9b89f1bbb57ecb0b6e4e8fa75482e | 7b88b7e80359d6f9438179148d95de1999d47117 | /10features特征/4点特征直方图(PFH)描述子/PFH1.cpp | 2b7a873ef247e27753001a21cd36688165fe1db8 | [
"MIT"
] | permissive | Spj-Zhao/pcl-learning | 1080d06f427e62fa2c5c16bd9b6f1d22eedf965a | 627aade3ad7f5f99aa110e5c748e9c3fa406851c | refs/heads/master | 2023-09-05T10:40:22.100608 | 2021-10-27T05:37:17 | 2021-10-27T05:37:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,209 | cpp | /*
* @Description: 点特征直方图(PFH)描述子 :https://www.codenong.com/cs105922110/
* @Author: HCQ
* @Company(School): UCAS
* @Email: 1756260160@qq.com
* @Date: 2020-10-19 16:37:14
* @LastEditTime: 2020-10-19 18:02:30
* @FilePath: /pcl-learning/10features特征/4点特征直方图(PFH)描述子/PFH1.cpp
*/
#include<iostream>
#include<vector>
... | [
"1756260160@qq.com"
] | 1756260160@qq.com |
3f58062af294b3d3789b0c83c2bad7d07e496283 | a300df415c27f25683c96a3acbd61f8a9301dda1 | /utils/vec.h | 43a4080cc8db4274cf79dcc38f201e21b9f093bc | [] | no_license | Superjomn/Hasky | e6ca9f49ff856909bc4dbd722e5e359aaeabf9a9 | ab8efb787e51f0dd4669839c3efd2497a286adc8 | refs/heads/master | 2021-05-29T12:39:41.169121 | 2015-09-28T12:45:01 | 2015-09-28T12:45:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,366 | h | /*
* vec.hpp
*
* Created on: Sep 10, 2015
* Author: Superjom
* Email: yanchunwei@outlook.com
*/
#ifndef UTILS_VEC_HPP_
#define UTILS_VEC_HPP_
#include "common.h"
template <typename T>
class Vec {
public:
typedef T value_type;
Vec() {
}
~Vec() {
if(_data != NULL) delete _data... | [
"superjom@gmail.com"
] | superjom@gmail.com |
d540cd5a20ad4771a5cb8da5ad19ff13c0dd4691 | 7511ee6cc1721745cb3ccee35ce2b994363fdd89 | /llvm/lib/Support/Unix/Path.inc | 82b207eecaf52f2d76db96a2b6bdb3af310b06cb | [
"Spencer-94",
"BSD-3-Clause",
"NCSA",
"MIT"
] | permissive | sslab-gatech/apisan | a308fa7a707c6b870900895c9b33c24c6a383a66 | 9ff3d3bc04c8e119f4d659f03b38747395e58c3e | refs/heads/master | 2021-11-06T05:06:35.221153 | 2021-11-05T04:57:33 | 2021-11-05T04:57:33 | 66,595,888 | 64 | 27 | null | 2019-12-20T16:57:29 | 2016-08-25T21:53:26 | null | UTF-8 | C++ | false | false | 20,968 | inc | //===- llvm/Support/Unix/Path.inc - Unix Path Implementation ----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"wuninsu@gmail.com"
] | wuninsu@gmail.com |
139f937fa68ce179fe4c27430c646d3e8a9e3606 | 6d8e12c0fab591204e8886795cc7691512de2053 | /FPackage/FPackage/FPackage/source/test/mainwindow_test.h | bb42ea8c80e0d289bdbd9e1de2624fab9b7bd192 | [] | no_license | qunny0/FTools | 8bb17fc43e7dd69a5b810f8c4ae484838afffa37 | c57f0fd003c7408e2f1c156dfdd89043ebc66265 | refs/heads/master | 2020-12-24T06:29:38.041622 | 2019-01-15T12:59:54 | 2019-01-15T12:59:54 | 37,968,677 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 471 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QTextEdit>
// 8 Ìí¼Ó¶¯×÷
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private:
// 8
void open();
v... | [
"fubei1989@163.com"
] | fubei1989@163.com |
bb429d862116e9e620ee6aa4ca6053d8a7c2616b | 87a3a32176b67f25abab50d26398b8ba35a0a89e | /include/Audio/Audio.h | ba33a781adddb1026e4fd13e70165fea06771f08 | [
"MIT"
] | permissive | Exo-Engine/ExoEngine-experimental | 14ac671849df10848e5b9886ae00d0aa4ed5bafc | d860459147bfdde6257ba12d15d0c57a2547fce9 | refs/heads/master | 2023-01-30T19:32:33.782266 | 2020-12-07T16:39:06 | 2020-12-07T16:39:06 | 290,723,163 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,989 | h | /*
* MIT License
*
* Copyright (c) 2020 Gaëtan Dezeiraud and Ribault Paul
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights... | [
"gaetan@dezeiraud.com"
] | gaetan@dezeiraud.com |
0a4b27c72350cbf33768a2b53fc8933bd4912918 | dd89190f6867ae11b5bcdb8f4b6484931d76c8aa | /Observer/SaferObservable.h | 484babe08c18e3c8ed810e282efe207c3d0f8fc1 | [] | no_license | V1aD1/CPP-Playground | 76c620cbc7ce98b549baf4a39fc8d31ed4b88273 | f0837c9d032339e428773b0962c50d282e2cb547 | refs/heads/main | 2023-07-15T09:37:16.662083 | 2021-08-23T17:28:31 | 2021-08-23T17:28:31 | 307,412,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,658 | h | #pragma once
#include <vector>
#include <string>
#include <thread>
#include <mutex>
using namespace std;
template <typename T>
struct Observer;
/// <summary>
/// Observer class is not thread safe, because there's one function that iterates
/// over m_observers (onFieldChanged), and other functions that modify it (Su... | [
"v_baderca@wargaming.net"
] | v_baderca@wargaming.net |
7241a016aa04dce9bb61ce02e0cfca63b8168262 | 805a24e99eb1d68f77fc425b80b1d3960ca9cd3b | /WebKitBrowser/LoggingUtils.h | b5597675eaa123923d5b2f2754daa9b516b39a28 | [
"Apache-2.0",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | rdkcentral/rdkservices | 9194308a202b5d1e36f9eb900cb3d6d3244ae0f7 | ecf14237d349b4ebffadba7dc871e2b5f2cf52be | refs/heads/sprint/23Q3 | 2023-08-30T18:33:37.176451 | 2023-08-29T16:19:42 | 2023-08-29T16:19:42 | 246,602,796 | 28 | 1,533 | Apache-2.0 | 2023-09-14T19:06:56 | 2020-03-11T15:05:36 | C++ | UTF-8 | C++ | false | false | 874 | h | /*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2022 RDK Management
*
* 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 cop... | [
"Ievgen_Mutavchi@comcast.com"
] | Ievgen_Mutavchi@comcast.com |
14db76a145123c22b65fc2fc3972a0984fc93eb6 | f13b002a27c4b6d89151b3c925b4a5a97607f39a | /SOUI_gn/src/demos/demo/skin/SetSkinWnd2.cpp | 738025291b1011d55049e737d801ecd798b94dc9 | [
"MIT"
] | permissive | lehoon/soui_gn | 007c2b0f00e5f0f036cbaeee98526eaa445bd541 | 0d3196eca8bddc0c2c9a694e06fb544965079b77 | refs/heads/master | 2020-05-23T13:15:54.091119 | 2018-05-04T02:46:34 | 2018-05-04T02:46:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,622 | cpp | #include "SetSkinWnd2.h"
#include "SDemoSkin.h"
#include <winuser.h>
#include "SSkinLoader.h"
#include <io.h>
using namespace SOUI;
#define SKIN_CHANGE_MSG _T("{D17D208B-25FD-412C-8071-68816D4B1F9B}")
//注册皮肤改变消息
UINT g_dwSkinChangeMessage = RegisterWindowMessage(SKIN_CHANGE_MSG);
EVENT_MAP_BEGIN(CSetSkinWnd)
EVENT_... | [
"240145500@qq.com"
] | 240145500@qq.com |
be4356e9b9236eaa0f6c354394016731855eabab | a67aff40080148e6ef791cae0a983d3dfc51a3e5 | /LeetCode/tags/array/friends-of-appropriate-ages.cpp | c5b0f797b425ed7f4d26f7e4d959a224427aefa5 | [] | no_license | llenroc/CP | 622b97676dafc80dbcb7054977fcb73702f370fe | fa4c5160f37b6cc550b062bf77b17b0484efc671 | refs/heads/master | 2023-03-28T17:25:28.548230 | 2021-04-06T11:09:14 | 2021-04-06T11:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | cpp |
class Solution {
public:
int numFriendRequests(vector<int>& ages) {
int friendships=0, a=0, b=0, c=0; unordered_map<int, int> umap;
for(auto& age:ages) umap[age]++;
for(auto x:umap) {
for(auto y:umap) {
a = x.first, b = y.first; c = 0.5*a+7;
if(b<... | [
"jitendra.iitp@gmail.com"
] | jitendra.iitp@gmail.com |
853981cc6b8c236d9f4614f6a42d21b11e6c93e1 | cba90bb32332408d01eda8bd42517d2427315e86 | /libcef_dll/ctocpp/web_urlrequest_ctocpp.cc | d1e4f9549f004f97b9f44ffeddf4b5991235ae5c | [] | no_license | desura/desura-cef1 | 1a5f8cf1ad7abdb000dd153ae161929fb911b6f7 | 54106e0abdbbb362b4d547af3095faeb467500d3 | refs/heads/master | 2021-01-22T07:39:08.505156 | 2014-03-28T22:19:31 | 2014-03-28T22:19:31 | 17,005,715 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,816 | cc | // Copyright (c) 2011 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// A portion of this file was generated by the ... | [
"mark@moddb.com"
] | mark@moddb.com |
f44e97e6e8bfc8e4ca000d5aead54369c042e276 | 244725d586cdc7afdb1464d52a38fe62b28ee2f4 | /StartWindow.cpp | 1ce4703f399910f7db9e91f66fbd162fcc921312 | [] | no_license | Telamonide/MyWork | cd1fec121f2cf2c5e540a25a9910217ca02cfa8d | 4893829cd081161f9d52892041476a8c5a310114 | refs/heads/master | 2020-12-24T15:57:54.284191 | 2013-09-26T18:50:10 | 2013-09-26T18:50:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,311 | cpp | #include <QtGui>
#include "StartWindow.h"
#include "LearnWindow.h"
#include "PassWindow.h"
#include "testdialog.h"
#include "quest.h"
StartWindow::StartWindow(QWidget *parent)
: QDialog(parent)
{
label=new QLabel(tr("Please select programm mode"));
EditModeButton=new QPushButton(tr("Admin mode"));
Le... | [
"emepostbox@yandex.ru"
] | emepostbox@yandex.ru |
931205fbb30b1a29f2579056918e4ece3c74a150 | 66a237cf903be1caacfc0e4098431bbdf7088fc8 | /external/GamePlay/tools/encoder/src/Curve.h | 884b77a59fe0c01c3b83291695221a1e16390a69 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | brucelevis/platformer | 95abcb0f63adf64d7f641ba2239b7adb12c1903f | 9d794338ac4d18ac439b5b47bab3cfeb538f79bb | refs/heads/master | 2023-03-20T07:29:48.784013 | 2017-09-03T16:48:06 | 2017-09-03T16:48:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,800 | h | #ifndef CURVE_H_
#define CURVE_H_
namespace tools
{
/**
* Represents an n-dimensional curve.
*/
class Curve
{
friend class Animation;
friend class AnimationClip;
friend class AnimationController;
friend class MeshSkin;
public:
/**
* Types of interpolation.
*
* Defines how the po... | [
"louis.mclaughlin@yahoo.co.uk"
] | louis.mclaughlin@yahoo.co.uk |
6415bf8d40da8c0dde1fc97ecd214bcdbb684bb5 | 869844078c1b66e49167651b544cbb13583eeb17 | /Viewer/main_window.cc | 71e135f210cbe040d118251a69eeefb4c962d7d1 | [
"MIT"
] | permissive | MNXANL/SRGGE-MIRI | 6a43d9cd124bcad51a16bb33c96d0858804e04e7 | a3429074745ebef63b516f7d32a3de0fa5823651 | refs/heads/master | 2022-12-02T22:23:02.688216 | 2020-08-14T14:21:48 | 2020-08-14T14:21:48 | 257,675,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | cc | // Author: Marc Comino 2020
#include <main_window.h>
#include <QFileDialog>
#include <QMessageBox>
#include "./ui_main_window.h"
namespace gui {
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent), ui(new Ui::MainWindow) {
ui->setupUi(this);
}
MainWindow::~MainWindow() { delete ui; }
void MainWind... | [
"mmoreno@bsc.es"
] | mmoreno@bsc.es |
a150039f8644ec7117d2338089552e0b10a0f91f | 2b626d592a2df54e75ca6516f7ede44375614711 | /Day01/Lab1.1/LinkedList/include/LinkedList.h | eb7b2c3d21261f83fa175f82113a953f0d2d79a9 | [] | no_license | ITI-9-Month-Progrm/DataStructures-and-Algorithmes | c9cec989217fabce2cea55c3df1c3e969818a9b2 | 9955ba6e8d941f6b588d44182cbdd0c5ab02323f | refs/heads/main | 2023-01-30T23:19:37.074993 | 2020-12-18T12:52:28 | 2020-12-18T12:52:28 | 321,534,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,958 | h | #ifndef LINKEDLIST_H
#define LINKEDLIST_H
#include "Node.h"
using namespace std;
template <class T>
class LinkedList
{
public:
Node<T> *head,*tail;int length;
LinkedList() {
head=tail=NULL;
length=0;
}
void addNewNode(T data){
Node<T> *newNode=new Node... | [
"asmaakhaled603@gmail.com"
] | asmaakhaled603@gmail.com |
3a82d6fd31a6bf889483c261d63cd976c6c30482 | 0694c72725c856fda360348c5de952e355ef90ed | /init/exps/sourceCode/species.h | 1c36ea210a879286ca4e454a1756e95ea2fa3f0a | [] | no_license | paxelito/ACS_analysis | 6bfa99b84b5466cdfe6949ab448d3ae172eb8ffc | eb77f815655f5cd7e2c481276cc4c7b4b160abbf | refs/heads/master | 2021-01-01T16:06:29.195347 | 2015-04-29T14:43:30 | 2015-04-29T14:43:30 | 6,457,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,117 | h | /** class species
* \brief This class contains declarations of the species class
*
* @authors Alessandro Filisetti
* @version 1.1 questa modifica è di prova per subversion
*
* Created by Alessandro Filisetti on 19/02/09.
* Copyright 2009 European Centre for Living Technology. All rights reserved.
* Test pa... | [
"alessandro.filisetti@gmail.com"
] | alessandro.filisetti@gmail.com |
0b0778ac732d01ad002495ec81cd19f959c18425 | 387824b5a6a88730687bff27431f24ce18b117e4 | /EI/Event.cc | 99b29ffddb79487674263fe5a37f89db29a9bcc1 | [] | no_license | gonzaponte/nuCD | 143f455f34e59b8e09ece1a0f14a9b3b03813a54 | fb60e2bce9aba4e2d8900aaf88c72e705321c34c | refs/heads/master | 2021-01-18T22:28:00.718608 | 2016-04-17T19:11:34 | 2016-04-17T19:11:34 | 40,537,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,042 | cc | ///////////////////////////////////////////////////////////////////////////////
////
//// @Author Gonzalo Martínez Lema
//// @Date 10/08/2015
//// @Mofidied 10/08/2015
////
///////////////////////////////////////////////////////////////////////////////
#include "Event.hh"
ClassImp(nuEI::Event)
namespace nuE... | [
"gonzaponte@gmail.com"
] | gonzaponte@gmail.com |
a17067078536ad7342c6a5f9368c284f8cd23ebe | 41027c81c1dde1d9ed228bb9b995da227f3484c3 | /Engine/Core/EntityHandle.hpp | ff79b4501ff93b57299a57c24172cc8ac9be5fc4 | [] | no_license | Dayamante/ProceduralPaperDungeon | f632c143f2590a06d0eaac64b97be0438a4b8368 | a55c539aa6961686f2d36c800ce2ef79c4aa7e2b | refs/heads/master | 2020-04-07T05:49:15.760669 | 2018-11-18T17:54:07 | 2018-11-18T17:54:07 | 152,753,682 | 1 | 0 | null | 2018-10-12T13:20:39 | 2018-10-12T13:20:39 | null | UTF-8 | C++ | false | false | 1,027 | hpp | #ifndef OE_ENTITYHANDLE_HPP
#define OE_ENTITYHANDLE_HPP
#include "../ExtLibs/FastDynamicCast/fast_dynamic_cast.h"
#include "Entity.hpp"
namespace oe
{
class EntityManager;
class EntityHandle
{
public:
EntityHandle();
EntityHandle(EntityManager* manager, const Entity& entity, U32 handleIndex);
EntityHandle(c... | [
"charles.mailly@free.fr"
] | charles.mailly@free.fr |
1ade3ab6650e46b94856d22bbed218d6ddf5d432 | 5158a68a6858200fcdffdac58d483e036bb5f979 | /Basic programming problem/Q5/programmingQ5.cpp | c39b0e06c0d4973f86cbcff24fbc4c2573ef8c8b | [] | no_license | ChangeZ24/PAT | 85b122d4c37ec2012fe400db9b914da805db19ac | b237687aa12bf5425b276c089d52bd2b6f4cf2d2 | refs/heads/master | 2021-01-19T22:37:07.117406 | 2017-09-07T17:11:30 | 2017-09-07T17:11:30 | 88,832,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | cpp | #include<iostream>
using namespace std;
int main(){
cout << "------------------------------------" << endl;
cout << "Province " << "Area(km2) " << "Pop.(10K)" << endl;
cout << "------------------------------------" << endl;
cout << "Anhui 139600.00 6461.00" << endl;
cout << "Beijing 16... | [
"bian.love@qq.com"
] | bian.love@qq.com |
9b21304cf272432243be33223024edda92622aef | 3dd712482129c872387869d3fa4bb45c83ad1f9b | /Source/UnrealStarterProject/map3GameModeBase.cpp | 3da1289dd2e17c231fddd2dbe857e08882d536e7 | [] | no_license | Lizbethbaez04/UnrealStarterProject | 89dada54a24e4bc6edbefbc8dc0aef33aea77636 | 5cf305fcd432036d8314e12297392973646e9d50 | refs/heads/main | 2023-03-23T20:17:29.104077 | 2021-03-18T05:29:33 | 2021-03-18T05:29:33 | 342,797,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 112 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "map3GameModeBase.h"
| [
"lizbaez.140799@gmail.com"
] | lizbaez.140799@gmail.com |
40ba0b83d36b5e7fb420de1b45e13bb7410491e7 | 2cd0803ba1e648d591cb3bae11e879de179f0f93 | /Contests/_Archived/Old-Dell/CKOJ round12/CKOJ12 (4).cpp | ef963c94c16e114b9db93251681bb85d9d0d1d68 | [
"MIT"
] | permissive | DCTewi/CodeWorkspace | 62e323fc126d92c9e20c711cae4bac9220907e64 | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | refs/heads/master | 2023-05-31T23:46:55.126704 | 2021-06-23T12:11:45 | 2021-06-23T12:11:45 | 175,194,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,554 | cpp | #include <bits/stdc++.h>
#define ll long long
using namespace std;
const int MAXN = 1e5 + 1e3;
int n, k;
ll speed[MAXN];
bool isfish[MAXN];
int main()
{
int T; cin>>T;
while (T--)
{
ll fishpower_tot = 0, normpower = 0;
cin>>n>>k;
for (int i = 0; i < n; i++)
{
sca... | [
"dctewi@dctewi.com"
] | dctewi@dctewi.com |
9213c8e52a0032ff1021e3dc045fe1f8b3758a45 | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /src/rice/p2p/util/testing/SecurityUtilsUnit.cpp | 845f57be6feb8b07d480cf8bb3835b252aac251e | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,123 | cpp | // Generated from /pastry-2.1/src/rice/p2p/util/testing/SecurityUtilsUnit.java
#include <rice/p2p/util/testing/SecurityUtilsUnit.hpp>
#include <java/io/PrintStream.hpp>
#include <java/lang/ClassCastException.hpp>
#include <java/lang/NullPointerException.hpp>
#include <java/lang/Object.hpp>
#include <java/lang/String.h... | [
"sgurjar@adobe.com"
] | sgurjar@adobe.com |
11852ebbe2da50a6abe1326641340b4d2a5efec0 | 08cd8642d160a329ad98a0a05f677a39c0faf57d | /live/liveMedia/SimpleRTPSink.cpp | 20098418459eb2f6374fb85f249fcbff5fd5a593 | [
"LGPL-2.1-only",
"BSD-3-Clause"
] | permissive | watson-yu/RTSPSource | e3cd040ad91113b1e3ad3c37b0e703fb1a271a27 | 2392e598cbd0cac32903ed228bf9117711911ab4 | refs/heads/master | 2020-11-28T06:35:41.871198 | 2019-12-30T02:20:16 | 2019-12-30T02:20:16 | 229,730,274 | 0 | 0 | BSD-3-Clause | 2019-12-23T10:32:49 | 2019-12-23T10:32:48 | null | UTF-8 | C++ | false | false | 3,352 | cpp | /**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | [
"fyeh@us.ibm.com"
] | fyeh@us.ibm.com |
dbe9ba02011d77954f2939dc70711c871a6d29fc | f60ee77324a48303aeb325e9af51a9b56005afc5 | /CodCad/51_bolsas.cpp | 8e27b195048cf7bbbb4f382305ee4dc55597f7a1 | [] | no_license | Vimerum/marathon | cfa72f27680b6e318b2bd6794449d105cb9ff27b | c8dfedc0a7b88da7e431c43fbb0464695b22573e | refs/heads/master | 2020-03-23T12:48:18.809411 | 2019-02-02T13:10:05 | 2019-02-02T13:10:05 | 141,583,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mk make_pair
#define fi first
#define sec second
#define fori(i, a, b) for(int i = int(a); i < int(b); i++)
typedef long long ll;
const int INF = 0x3f3f3f3f;
const double PI = acos(-1.0);
int n, total, m;
int main(){
ios_base::sync_with... | [
"vi.veronese@gmail.com"
] | vi.veronese@gmail.com |
25b19f1fa06dea0ea4d83778043e46a1cdeef300 | f0d79d534db906c8798308ec60b654652deee53e | /Funcionesclass/main.cpp | cb55344694772460ece93f1b58bda9be7daea00c | [] | no_license | nicolasrcp123/Funciones | f6c86a17989c970e047510f8eacb4bc7d0a5338d | 431fb652ae88befcf0f43d8fc5e6e922f56efdb2 | refs/heads/master | 2021-01-19T07:46:53.013006 | 2017-04-07T18:03:39 | 2017-04-07T18:03:39 | 87,572,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 874 | cpp | #include <iostream>
using namespace std;
int sum(const int array[],const int length){
int sum=0;
for(int i=0;i<length;sum+=array[i++]);
cout<<"la suma es :"<<sum<<endl;
return sum;
}
int prom(const int array[],const int length){
int x;
x=sum(array,length);
int prom=0;
prom=x/length;
... | [
"ALUMNO-G@UCSP.AULAB"
] | ALUMNO-G@UCSP.AULAB |
8848910e961a7ca9c728b56023fbc42f06c40459 | 4e703f340d9e60ffbedb022c928ff18aaefff4da | /Chapter710_Heap/7_10_Heap.cpp | 243c3fabd203b067185d9035d4e3e40da560a8f9 | [] | no_license | pikacsc/CppStudyingHJM | 671c3fcb7c83028f940c87fd50d4b9c6f4f2552a | 7ff57efbe67c88ebff1bbf9e19034fa1da68fd6c | refs/heads/master | 2020-04-05T15:34:00.168306 | 2018-12-04T16:50:04 | 2018-12-04T16:50:04 | 156,973,915 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 1,502 | cpp | /*
HongJeongMo C++
Chapter 7_10
Stack, Heap
忙式式式式式式式式式式式式式式式式式式式式式式式式式式式忖
弛 弛
弛 Heap 弛
弛 弛
戍式式式式式式式式式式式式式式式式式式式式式式式式式式式扣
弛 弛
弛 Stack 弛
弛 弛
戍式式式式式式式式式式式式式式式式式式式式式式式式式式式扣
弛 ... | [
"ccc11203@gmail.com"
] | ccc11203@gmail.com |
e92667eba079b05970b21f9f831e8fdf34f170f0 | b6e751813346afa516ad37a732ba3e3431fa79b0 | /reflector.cpp | 9d347c04e129c8af67019482cfb11d3e2e1c815b | [] | no_license | theoport/enigma_machine | b5805357c1aafff85519840594eada0f1b94837f | 8ebe97f455e0395546e5fe12d96ec75cca7ac632 | refs/heads/master | 2020-06-14T00:51:23.388192 | 2017-01-27T15:02:03 | 2017-01-27T15:02:03 | 75,536,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | cpp | #include <iostream>
#include <fstream>
#include "reflector.h"
#include "errors.h"
#include <cstdio>
#include <cassert>
using namespace std;
Reflector::Reflector(const char* filename){
//reads parameters of filename into reflector list:
ifstream input(filename);
for (int n=0;n<26;n++)
input>>list[n];
}
char Refl... | [
"theodor.port16@imperial.ac.uk"
] | theodor.port16@imperial.ac.uk |
e136c6ba33621a005eff3e2df8cfe1e5902b929a | bd1356806d89269a7d3af06aa2b897b82527d79a | /src/Archivo.cpp | b943490a2ff1b837ac62508bc5a2f2874c5b2ba1 | [] | no_license | luismanuelmansilla/Jukebox---Vellonera | 8aab38a5d785e52a01f30773d8c3d6253d1661da | 71221de161e12f55a6f7dc02f9f732c08b734706 | refs/heads/master | 2021-01-10T07:41:18.329953 | 2016-02-14T01:38:45 | 2016-02-14T01:38:45 | 51,674,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,095 | cpp | #include "Archivo.h"
#include<fstream>
#include<sstream>
#include<string>
#include <iostream>
Archivo::Archivo()
{
//ctor
}
void Archivo::leerArchivo(Vellonera* vellonera)
{
const string nfichero = "Canciones.txt";
char cancion[100];
ifstream archivo;
archivo.open(nfichero.c_str())... | [
"luismanuelmansillasc@gmail.com"
] | luismanuelmansillasc@gmail.com |
6f5e6ada691a9897debbbb13ab32f126d3235af5 | 8ff519bda5c076993c15cea4932f4fab72ea65ce | /Source/Register.hpp | c0bcd487fb5fe948d41516e75e7a412f029711ce | [] | no_license | williamtwilson/mix-tool | 66bac2214723215c5073b15f994c81af786ec635 | 852fbc9e712b7656d4de7f3a83247c145710efc5 | refs/heads/master | 2021-01-22T06:14:31.350821 | 2017-06-10T17:02:01 | 2017-06-10T17:02:01 | 81,748,805 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | hpp | #ifndef REGISTER_H
#define REGISTER_H
#include <memory>
#include <string>
#include "Word.hpp"
class Register {
public:
Register();
long contentsToLong();
std::string description();
void load(Word &w);
Word read();
private:
Word word;
};
#endif
| [
"will@letote.com"
] | will@letote.com |
c0c708ffdf8ddb8bc547917c74a04e7e3e448d45 | 7459515817041aa663c45b4d9ee173473874e051 | /LaptopsV2.cpp | 4faea9adce61968f961737c82d27d6c2e4ab5778 | [] | no_license | pranaykrpiyush/Codeforces--solutions | 20b80175568222ebce0e092f3c53e20a522bb075 | dd4fb4d44d291a17ad4b13719f00aef40bfc8ffe | refs/heads/master | 2022-09-16T16:33:00.172904 | 2020-05-22T15:04:53 | 2020-05-22T15:09:00 | 262,732,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | #include <iostream>
using namespace std;
int main(){
long n;
int flag=0;
cin >>n;
long price[n], quality[n];
for (int i=0;i<n;i++){
if (flag==1){
break;
}
else{
cin >> price[i]>> quality[i];
if (i>0){
// for (int j=i-1;j>=0;j--){
... | [
"pkp5214@gmail.com"
] | pkp5214@gmail.com |
4678d67e3863fd34b4bafca273f351b1c3c9afd7 | 205f51ae8b0b212b5006ee68cfe5bfd89c7ad201 | /Chaste_models/ChasteMembrane/src/CellKillers/EpithelialLayerAnoikisCellKiller.hpp | cf8b567c32c26f4c87901769194822cce5c8a4cd | [] | no_license | luckyphill/Crypt | c3c7f9910cbbfe091e22c2fb3fa0f37260a47376 | 0b383fe03f9a76c3b45b45d09869d12458632fa2 | refs/heads/master | 2021-06-09T03:13:27.270121 | 2021-04-29T02:26:12 | 2021-04-29T02:26:12 | 160,466,928 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,166 | hpp | #ifndef EPITHELIALLAYERANOIKISCELLKILLER_HPP_
#define EPITHELIALLAYERANOIKISCELLKILLER_HPP_
#include <cxxtest/TestSuite.h>
#include "CheckpointArchiveTypes.hpp"
#include "AbstractCellBasedTestSuite.hpp"
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/serialization/... | [
"phillip.j.brown@adelaide.edu.au"
] | phillip.j.brown@adelaide.edu.au |
4cfc54480857df20255541dc38b584b9eb914e31 | 931c502115af709ff99f1d02778d5168881aa916 | /Sources/Semantics.cpp | 886e173401c56cc8b39ccd70945244fbe5e62024 | [
"MIT"
] | permissive | dousu/MAILM | feaff3f8474381cca8aa0a7850710518628d376b | 51aabe938497b9258eb517982ef1ddc7ce00e282 | refs/heads/master | 2021-03-27T10:02:27.871409 | 2018-08-23T06:09:27 | 2018-08-23T06:09:27 | 114,344,762 | 0 | 0 | MIT | 2018-08-23T06:09:28 | 2017-12-15T08:11:50 | C++ | UTF-8 | C++ | false | false | 6,484 | cpp | #include "Semantics.h"
template <typename T>
void Semantics<T>::store(const AMean &a, T v)
{
if (mapping.count(a) == 0)
{
mapping[a] = v;
}
else
{
std::cerr << "ALREADY EXISTS" << std::endl;
}
}
template <typename T>
bool Semantics<T>::equal(const AMean &a, const AMean &b) const
{
if (mapping.at(a).empty() ... | [
"hiroki.sudo.hs@gmail.com"
] | hiroki.sudo.hs@gmail.com |
ca8236d7748d0e90b17578fa1b490cc122c4b278 | 5d2343977bd25cae2c43addf2e19dd027a7ae198 | /Codechef/DP/RobotandPaths.cpp | 32ffdcc47c874fd221d96b1e4785497c105f22bf | [] | no_license | ayushgupta2959/CodeReview | 5ea844d180992ee80ba1f189af2ab3b0be90f5ce | 7d8a5a6610c9227e458c6fda0bbc5885301788d8 | refs/heads/master | 2021-08-22T13:07:59.314076 | 2020-04-26T14:30:08 | 2020-04-26T14:30:08 | 173,270,707 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | cpp | #include<bits/stdc++.h>
using namespace std;
int mod = 1000000007;
int solve(vector<vector<int>> &dp,int n,int m){
if((dp[0][0]==-1)||(dp[n-1][m-1]==-1)){
return 0;
}
for(int i=0;i<n;++i){
if(dp[i][0]==-1) break;
else dp[i][0]=1;
}
for(int j=0;j<m;++j){
if(dp[0][j]==-... | [
"37008291+ayushgupta2959@users.noreply.github.com"
] | 37008291+ayushgupta2959@users.noreply.github.com |
e1c2eadd02f5a344b96d636dcf4d8dc9fd020558 | 0d8b24ee67e6b32ee06ed6d89747c10582b2e5f2 | /radiation/ida.cpp | f900e3d29b2f8f9a5be4dc6bbc035e7b949f5769 | [
"MIT"
] | permissive | levilelis/psvn | 2a50fc5344fd25fe6480645a8a46575dbfd69782 | 11d9f0433a22ebd5b52ab0fcb33a1ddf79babc85 | refs/heads/master | 2021-08-10T05:47:00.024351 | 2020-04-30T18:34:23 | 2020-04-30T18:34:23 | 169,348,773 | 3 | 0 | null | 2019-02-06T03:33:47 | 2019-02-06T03:10:24 | C | UTF-8 | C++ | false | false | 7,913 | cpp | /*
Copyright (C) 2013 by the PSVN Research Group, University of Alberta
*/
#include <stdlib.h>
#include <stdio.h>
#include <inttypes.h>
#include <assert.h>
#include <sys/time.h>
#include "../AbstractionHeuristic.h"
#include "RadiationSimulator.h"
#include "CorruptionDetector.h"
/* if MOVE_PRUNING is undefined, pare... | [
"levilelis@gmail.com"
] | levilelis@gmail.com |
b178dfe9251553ec1b135324a764febfb7bb49e4 | 6a8aa750c7b5b6cd8dea3eca3e631172401a82ef | /src/qt/obfuscationconfig.cpp | 5b826443733d8613da787acc8f7574e6bf9a3090 | [
"MIT"
] | permissive | linuxpaycoin/linuxpay | 82eaca6545fe757f94be7eadd9afc12825192b8d | 1009bded140571a4c7062859995f8b6e0476be72 | refs/heads/master | 2020-03-19T20:11:59.837480 | 2018-12-30T07:22:34 | 2018-12-30T07:22:34 | 136,891,615 | 0 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,581 | cpp | #include "obfuscationconfig.h"
#include "ui_obfuscationconfig.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "init.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include <QKeyEvent>
#include <QMessageBox>
#include <QPushButton>
#include <QSettings>
ObfuscationConfig::ObfuscationConfig(QWidge... | [
"admin@linux-pay.com"
] | admin@linux-pay.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.