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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
44a985c05a21bec7b91edd7c3ecb11610a51066d | b6cebdf170b749fd60cdca744d3a5b83fd048285 | /include/Engine/Renderer/Fonts/BitmapFont.hpp | b1904e12f05fcd1fbf11c2d25be472b191e69939 | [] | no_license | ntaylorbishop/FBXImporter | 98ede143cc8e9393166b4db1b73e8da98a3cc15a | d189f3c56347a90843d4238cfb165cd17b1d067a | refs/heads/master | 2021-01-01T03:52:25.221171 | 2017-01-28T02:33:57 | 2017-01-28T02:33:57 | 59,147,454 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 808 | hpp | #pragma once
#include <cstdlib>
#include <string>
#include <map>
#include "Engine/Renderer/Renderer/TheRenderer.hpp"
#include "Engine/Renderer/Sprites/SpriteSheet.hpp"
#include "Engine/Renderer/General/RGBA.hpp"
using namespace std;
class BitmapFont {
public:
static BitmapFont* CreateOrGetFont(const std::string& bi... | [
"ntaylorbishop@gmail.com"
] | ntaylorbishop@gmail.com |
827a89311eb78e7b0f2715d16398cfa613749489 | c663aabb683c476a28319ffe4268e95917d50d7b | /Qt_Dev/v1.1/build-testSQL-Desktop_Qt_5_2_1_MinGW_32bit-Debug/ui_form123.h | 68dc812b7733a737ea20851fa53713a2a5f4f489 | [] | no_license | xuezeao/git_program | 52925e9fd19ac135e7c56d8da242378449da39ac | 7a0146b25cd4e11ebcc1b166dd83e9d4acc82d67 | refs/heads/master | 2020-05-22T04:38:23.724162 | 2017-01-10T03:41:01 | 2017-01-10T03:41:01 | 64,595,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | h | /********************************************************************************
** Form generated from reading UI file 'form123.ui'
**
** Created by: Qt User Interface Compiler version 5.2.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*******************************************... | [
"dfzx.123@163.com"
] | dfzx.123@163.com |
e532cda9284b6e47e5c2585155591f51d3b6ea46 | f2d9c3799a67805b68a3f717f7436c4d6176e5a6 | /Climb the tower/Animation.cpp | 63e566e2b791d06f2df3f9012cfbcc7395d0834a | [] | no_license | maoap1/Climb-the-tower | 1fff6e0a749797a66a82a2b62414efdfffdc4e0c | 79da160912162d8a0fc76d93792dda8bf10f1271 | refs/heads/master | 2021-09-15T10:13:59.850098 | 2018-05-30T09:01:38 | 2018-05-30T09:01:38 | 114,543,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,845 | cpp | #include "Animation.h"
void Animation::Init(vector<int> frameDelays)
{
this->frameDelays = frameDelays;
this->currentFrame = 0;
this->currentSprite = 0;
this->trivial = 0;
}
void Animation::Randomize()
{
auto generator = mt19937(random_device{}());
uniform_int_distribution<int> distribution(0, (*sprites).size()... | [
"maoap1@gmail.com"
] | maoap1@gmail.com |
dd4dc1c0c4246b57967077ac5254776c9ff9f4e7 | 4d2128e09f313c431d00e33d77b557de6455510d | /src/engine.hpp | 30409b0cfca0bc65acbeecfdb25eee956ce6fb64 | [
"BSD-3-Clause",
"MIT"
] | permissive | giuliomoro/Fundamental | 04c8ed667a368255b1cc3f39f5192b6c6b2baa05 | 974e2e277c782200d2524dd00dd57812eb2a1f70 | refs/heads/master | 2021-10-10T20:37:02.100820 | 2019-01-16T20:36:56 | 2019-01-16T20:36:56 | 109,192,763 | 1 | 0 | null | 2017-11-01T22:57:49 | 2017-11-01T22:57:49 | null | UTF-8 | C++ | false | false | 2,773 | hpp | #pragma once
#include <vector>
#include "util.hpp"
#ifdef RACK_JSON
#include <jansson.h>
#endif /* RACK_JSON */
namespace rack {
struct Param {
float value = 0.0;
};
struct Input {
/** Voltage of the port, zero if not plugged in. Read-only by Module */
float value = 0.0;
/** Whether a wire is plugged in */
bo... | [
"giuliomoro@yahoo.it"
] | giuliomoro@yahoo.it |
cd385ab382313962a59a324f4961a4a769815a3e | 403bdfa8f220cb15bb37e52a0f0839d57cda1028 | /cse475/main/Active3.cpp | 613fb5eacdd2a56013b67d224ffb5473736e512a | [
"MIT"
] | permissive | Chenneh/CSE475 | 7fa1da33956e5aaf614083b6c866ddfecd3122d1 | 3d3ee1600c3e834755495e9645af8fbdbf7f5230 | refs/heads/master | 2020-04-04T00:41:33.407856 | 2018-12-07T04:47:22 | 2018-12-07T04:47:22 | 155,659,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | cpp | #include "Active3.h"
#include "Debug.h"
#include "Midi.h"
constexpr uint8_t Active3::_localWeights[];
uint8_t Active3::getNumRepeats() {
return rand() % 5 + 1; // 1 - 5 repeats
}
void Active3::loop(uint32_t dt) {
Midi::setSound(0x1F);
Neopixel::setLight(5);
}
const uint8_t* Active3::getLocalWeights() {
retur... | [
"1031717928@qq.com"
] | 1031717928@qq.com |
82b5911e796062027d96705e743c3d6c47ee59af | ab4c4bb5bba276adc648d1fa2ba0f7815dd04eae | /source/threadpool/MyThread.h | 1279e4c9ea42fe0ce40c403b148c5786ce850371 | [] | no_license | wu-wenxue/Cplusplus_Platform | f43b175a5dce81a36f091c52c58e023717fc7813 | c010dd36d08ecc94914efadbe4d317e98c9afd4f | refs/heads/master | 2021-10-26T04:17:33.028627 | 2019-04-10T08:57:59 | 2019-04-10T08:57:59 | 107,527,653 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 988 | h | #pragma once
#include "Task.h"
#include <thread>
class MyThreadPool;
class Task;
//线程类,封装了C++11的thread,每一个线程可以关联一个Task对象,执行其Run方法
class MyThread
{
friend bool operator==(MyThread my1, MyThread my2);
friend bool operator!=(MyThread my1, MyThread my2);
public:
// 构造一个MyThread对象,将自己与指定的线程池相关联起来
MyThread(MyThreadPo... | [
"wwx232324@126.com"
] | wwx232324@126.com |
455f04868f9c87fe4b74ff9c5238f0cfdd47ab87 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/net/udp/fuzzed_datagram_client_socket.cc | ac18cf41b853cd014587c4d0ef4a092163d843aa | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 5,771 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/udp/fuzzed_datagram_client_socket.h"
#include <algorithm>
#include "base/bind.h"
#include "base/location.h"
#include "base/logging.h"
#inc... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
39a3b6d5dd010378ecdbbfa46fa170d7eaff0d17 | 8087b720481b939198f0b6ac84bf7dc9b22fac93 | /JavaQt/namedbeanhandle.cpp | 8c51e10e624b690393b31e9a9bcc33c96101314e | [] | no_license | michaeloed/DecoderPro_app | 78e049090fc6c4d30dcc23ecb868d57b30361d8b | fb85623c205e88963e46ae49d9b244d20aa3c3c7 | refs/heads/master | 2022-02-15T07:03:23.797135 | 2022-01-29T06:47:26 | 2022-01-29T06:47:26 | 170,830,385 | 0 | 0 | null | 2019-02-15T08:37:44 | 2019-02-15T08:37:44 | null | UTF-8 | C++ | false | false | 1,767 | cpp | #include "namedbeanhandle.h"
//template<class T>
//NamedBeanHandle<T>::NamedBeanHandle(QObject *parent) :
// QObject(parent)
//{
//}
/**
* Utility class for managing access to a NamedBean
*
* @author Bob Jacobsen Copyright 2009
* @version $Revision: 19100 $
*/
//public class NamedBeanHandle<T> implements jav... | [
"allenck@windstream.net"
] | allenck@windstream.net |
db9b0955726de7f53170dbf4099544b16b843a3c | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc | 810d1cd9181afdf0ecbbfa79283f760465832aa2 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 28,362 | cc | /*
* Copyright (C) 2004, 2006, 2007, 2008, 2011 Apple Inc. All rights reserved.
* Copyright (C) 2006 Alexey Proskuryakov <ap@nypop.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of so... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
afce9a29c54713edb97afe68cda5cde8bff88e6d | 851ae48587149b26bc606afd440643330478dee4 | /example/atlas/export/f_unilateral_RightTL3DMultiWalking.hh | 4981db2c59d71b37a6b77d4b572a0f523a6524cb | [
"BSD-3-Clause"
] | permissive | chen4393/EE5355-Project | dc1dfa7e9f0178a8e993ab5b4e02544ec1041288 | bbc0f99239b5e129f08809a71eb2465a7a53f2e0 | refs/heads/master | 2021-01-19T23:47:50.506727 | 2017-04-10T19:23:05 | 2017-04-10T19:23:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | hh | /*
* Automatically Generated from Mathematica.
* Wed 29 Mar 2017 17:58:45 GMT-04:00
*/
#ifndef F_UNILATERAL_RIGHTTL3DMULTIWALKING_HH
#define F_UNILATERAL_RIGHTTL3DMULTIWALKING_HH
#ifdef MATLAB_MEX_FILE
// No need for external definitions
#else // MATLAB_MEX_FILE
#include "math2mat.hpp"
#include "mdefs.hpp"
name... | [
"ayonga27@gmail.com"
] | ayonga27@gmail.com |
680eb6020a962fd527e84f87eb3fcba3fc7d6d13 | c136c9813c77df614f1bca1c869a5bcdbfa01d0b | /transport_o/src/io.cpp | 67a3d898b688858c52bb1552adef3ee4fa52f814 | [] | no_license | anuar-a/CPP-Yandex-belts | 21076f8216b731fedb8533a388bd970b51efad61 | e93ac12ec99c508fd03353d628c79c8dd16cc4a4 | refs/heads/master | 2023-03-26T22:40:30.225941 | 2021-03-28T16:36:02 | 2021-03-28T16:36:09 | 352,305,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,291 | cpp | #include "misc.h"
#include "io.h"
#include <sstream>
#include <iomanip>
#include <cassert>
#include "router.h"
using namespace std;
static const string STOP_DISTANCES_DELIM {"m to "};
Request::Type TypeFromString(string_view str, bool is_modify_request) {
string_view type_str = ReadToken(str);
if(type_str ==... | [
"anuar8989@inbox.ru"
] | anuar8989@inbox.ru |
f2315b6013c225c64558544453ccb07a6e3174ca | bd001356fb96f17bc1d72e98e11994af242e0922 | /P3809.cpp | dd8039e9b306b434a6d62133d78ac35936d4f7e8 | [] | no_license | lyzqs/luogu | fb058cd5f80fb87f49753470af81779a1d719744 | e7966588eb8d9e7a6359ab9d3b534649ea0a13e2 | refs/heads/master | 2020-04-14T02:40:26.874306 | 2018-12-30T13:18:48 | 2018-12-30T13:18:48 | 163,588,512 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | #include <bits/stdc++.h>
#define il inline
#define Max 1000005
using namespace std;
int n,a[Max],rk[Max],tp[Max],sa[Max],c[Max],m;
char s[Max];
il void rsort()
{
memset(c,0,sizeof(c));
for(int i=1;i<=n;i++) c[rk[i]]++;
for(int i=1;i<=m;i++) c[i]+=c[i-1];
for(int i=n;i>=1;i--) sa[c[rk[tp[i]]]--]=tp[i];
}
il void get... | [
"1903956829@qq.com"
] | 1903956829@qq.com |
0d8b7359d16c059db88bb620aef678f6a707f765 | edfaf7367f0298cc921c96b9e783df41a952f0f5 | /5347.cpp | fb0b9a2599d434be5615e7286c49c61a1403d9de | [] | no_license | urrburu/baekjoon-algo | 4993beabc68cc97b6ea19a3deed2607e9df1e0ed | 5090a9f7395e53dbcf423e1c1cc1a966b19996e3 | refs/heads/master | 2021-11-09T22:39:01.096357 | 2021-11-03T11:38:26 | 2021-11-03T11:38:26 | 190,715,020 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,008 | cpp | /*
이 문제에서 가장 관건은 유클리드 호제법을 모른다는 점과 함께 수의 범위였다.
백만정도면 제한시간 내에 무조건 전체탐색이 가능하다. 그래서 신경쓰지 않았는데
시간에는 확실히 영향을 준다.
*/
#include<iostream>
using namespace std;
int main() {
long long n, a, b;
cin >> n;
while (n--) {
long long biggest = 1;
cin >> a >> b;
if (a <= b) {
long long mod = b % a;
while (mod) {
b... | [
"bbs4614@naver.com"
] | bbs4614@naver.com |
11b6f42b58bc0d15d2e30712f343d20ced518bcc | fb3c1e036f18193d6ffe59f443dad8323cb6e371 | /src/flash/AVMSWF/api/flash/media/AS3VideoStatus.h | b1e094bb928220af6eafb7c088c4b9d9d497ceaa | [] | no_license | playbar/nstest | a61aed443af816fdc6e7beab65e935824dcd07b2 | d56141912bc2b0e22d1652aa7aff182e05142005 | refs/heads/master | 2021-06-03T21:56:17.779018 | 2016-08-01T03:17:39 | 2016-08-01T03:17:39 | 64,627,195 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | h | #ifndef _AS3VideoStatus_
#define _AS3VideoStatus_
namespace avmplus{namespace NativeID{
class VideoStatusClassSlots{
friend class SlotOffsetsAndAsserts;
public://Declare your STATIC AS3 slots here!!!
//ACCELERATED : Stringp = "accelerated"
//SOFTWARE : Stringp = "software"
//UNAVAILABLE : Stringp = "unavailab... | [
"hgl868@126.com"
] | hgl868@126.com |
aeec7fcee443aea589e2ba75e1b216779794f3c3 | 1787588a5ebcaa184f2a067903a653a245d03e9d | /abc207/a/main.cpp | 223cd6e3168148e8550ead8761774f725796e7d4 | [] | no_license | ebisenttt/atcoder | a3576658eac148372561a6838c081952744f4dee | edfb13c4eb240f5650651cd66fd925496f678257 | refs/heads/main | 2023-06-17T22:54:20.138588 | 2021-07-16T07:43:03 | 2021-07-16T07:43:03 | 313,921,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for(int i = 0; i < n; i++)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define ALL(x) (x).begin(),(x).end()
#define SIZE(x) ((ll)(x).size())
#define MAX(x) *max_element(ALL(x))
#define MIN(x) *min_element(ALL(x))
#define INF 1e9
typedef long long ll;
t... | [
"vamos.nippon.2010@gmail.com"
] | vamos.nippon.2010@gmail.com |
97b7d922dc93acb25b9c8402c5ad3f4ec8cf1863 | 8305d6b5a71106a74485a8642ba3a3c179474fc9 | /src/init.cpp | 2039017aee66164401106572f2c0c9261cd2060a | [
"MIT"
] | permissive | Goofs-Pi-Lab/INFO | 00a8c2a073cacb4d504783136684d1b0baa4736c | 5906ae26d5f06ac03e4cbf7833bd2d5db1bc8dce | refs/heads/master | 2020-04-04T08:59:33.307308 | 2017-06-24T02:10:07 | 2017-06-24T02:10:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,561 | cpp | // 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.
#include "init.h"
#include "main.h"
#include "chainparams.h"
#include "txdb.h"
#in... | [
"CryptoCoderz@thecryptochat.net"
] | CryptoCoderz@thecryptochat.net |
8546f604b514d16ba81ef0c66740eb4d03cecf8d | 19194c2f2c07ab3537f994acfbf6b34ea9b55ae7 | /android-32/android/text/LoginFilter.def.hpp | baf00b6cb874ef3c3439c9ad84ea8d4ef9e51afe | [
"GPL-3.0-only"
] | permissive | YJBeetle/QtAndroidAPI | e372609e9db0f96602da31b8417c9f5972315cae | ace3f0ea2678967393b5eb8e4edba7fa2ca6a50c | refs/heads/Qt6 | 2023-08-05T03:14:11.842336 | 2023-07-24T08:35:31 | 2023-07-24T08:35:31 | 249,539,770 | 19 | 4 | Apache-2.0 | 2022-03-14T12:15:32 | 2020-03-23T20:42:54 | C++ | UTF-8 | C++ | false | false | 673 | hpp | #pragma once
#include "../../JObject.hpp"
class JString;
namespace android::text
{
class LoginFilter : public JObject
{
public:
// Fields
// QJniObject forward
template<typename ...Ts> explicit LoginFilter(const char *className, const char *sig, Ts...agv) : JObject(className, sig, std::forward<Ts>(agv)..... | [
"YJBeetle@gmail.com"
] | YJBeetle@gmail.com |
419fcd8f46d1d8aa37b22740b50b411392f523ad | e995529375836cb25e09d547564f2c0fa79a83cb | /linkedlist.h | 0d5fe2e5ca003dd0cbff90993a7cecb8a7efc36a | [] | no_license | Xindeee/LinkedList | ec75b3489618f1fb51ca284fd073825e290238be | 96024872f49ca1d88fb57c002b8980dc755ba9d3 | refs/heads/main | 2023-04-30T12:50:58.230706 | 2021-05-17T18:26:48 | 2021-05-17T18:26:48 | 368,278,982 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,968 | h | //Вместо операторов ++ -- используем итератор
#ifndef LINKEDLIST_H
#define LINKEDLIST_H
namespace MyLinkedList {
class Node {
private:
int val;
Node* next;
Node* prev;
public:
Node();
Node(int);
Node(int, Node*, Node*);
int getValue();
friend class LinkedList;
friend class LinkedListIterator;... | [
"76115520+Xindeee@users.noreply.github.com"
] | 76115520+Xindeee@users.noreply.github.com |
e9b98eda15efc2d0715063bfcb80154ffec7438a | 11382bcd001ddcd919fa3a1a3001f760b843c778 | /rpmd/staging/naive.cpp | 9e7b2e710d0ec5501d0f987ce12c7a7eeaf6259d | [] | no_license | xiangsunlab/SHO | c73c4430a192f127abff74d6cb35f97d7cfd936d | 387117c1f4f67441c469e2bd42a06b45af9fdc00 | refs/heads/master | 2023-05-07T03:18:07.607818 | 2021-05-28T07:15:47 | 2021-05-28T07:15:47 | 357,076,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,841 | cpp | #include"naive.h"
int main(){
std::cout;
cout.precision(16);
normal_distribution<Real> normal_dist(0.0,1.0);
INIT_HAMILTONIAN();
gen.seed(153);
//cout<<"Hamiltonian done"<<endl;
for (int t = 0; t < sampling; t++){
INIT_SAMPLING_Wigner();
PropOneTrajVV(t);
}
f... | [
"zl3289@nyu.edu"
] | zl3289@nyu.edu |
462ed5d396f1459ddcd858a328d515d4827e5e17 | 7ee0ca93f12dd513438d2389f47ead748c2e9816 | /math/fft.cpp | 77743c3a6f5632dd446f4a9661cf854bddd4b458 | [] | no_license | gaoyb7/ACM-templates | 07620726d580f1e02d2bf65fdd6b8de6bc2907df | af074675055b46a7c2f17da514586309827e0858 | refs/heads/master | 2021-01-10T20:46:32.874383 | 2015-11-19T08:18:19 | 2015-11-19T08:18:19 | 30,480,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | void fft(cp *a, int n, int f) {
static cp tmp[maxn];
double arg = pi;
for (int k = n >> 1; k; k >>= 1, arg *= 0.5) {
cp wm = cp(cos(arg), f * sin(arg)), w(1, 0);
for (int i = 0; i < n; i += k, w *= wm) {
int p = i << 1;
if (p >= n) p -= n;
for (int j = 0; j < k; ++j)
tmp[i + j] = a[p + j] + w * a[p ... | [
"gaoyb7@gmail.com"
] | gaoyb7@gmail.com |
8384b2b51efd50ebad6a96276704b1da513f22fd | 4b5b2610567c2ed8e2e6b4a2e63159f1578df06b | /src/Cameras.cpp | 12db1d251467aca4160a4955d5cffb21ffaa0f46 | [
"BSD-2-Clause"
] | permissive | mosic/madcam | 0b24e6d3bf6f7cb6deb7549bd68c5dde9635c5a8 | d7674a2101a99b78c55f8f889f778c57f4c6585e | refs/heads/master | 2021-01-18T00:02:18.889973 | 2015-04-05T18:59:41 | 2015-04-05T18:59:41 | 33,453,319 | 0 | 0 | null | 2015-04-05T20:00:08 | 2015-04-05T20:00:08 | null | UTF-8 | C++ | false | false | 7,452 | cpp | #include "Cameras.h"
void
Cameras::setup()
{
layout = SINGLE;
viewMode = SCALE;
fxMode = false;
triggerMode = false;
winWidth = ofGetWidth();
winHeight = ofGetHeight();
int camCount = 0;
camWidth = 640;
camHeight = 480;
recalculate();
ofVideoGrabber initGrabber;
vector<ofVideoDevice> de... | [
"k@ioctl.it"
] | k@ioctl.it |
864e67a4445e7ec5a716b7eddc6f827780d2ebf5 | 4e92246902a8630eda31792bef935533352d86f4 | /src/StageState.cpp | 773bb67663eeffaba0f2340e784b8bb79390b06d | [] | no_license | guins94/Fantome | ef29cd4bfc9580da85e4878ac60620f934ae87f0 | 6ee4f59a82b51ebbba5d73a40fa8b30aa1b4f5e3 | refs/heads/master | 2020-05-29T11:14:22.597589 | 2019-07-15T02:59:16 | 2019-07-15T02:59:16 | 189,109,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,774 | cpp | #include"StageState.h"
StageState::StageState(){
this->quitRequested = false;
this->started = false;
GameObject* initial_screen = new GameObject();
CameraFollower* cameraFollower = new CameraFollower(initial_screen);
initial_screen->box.x = 0;
initial_screen->box.y = 0;
initial_screen->Ga... | [
"guins94@hotmail.com"
] | guins94@hotmail.com |
9382e085843242a304d9194d6b0b73ef76a18110 | 1f2cdcaee54da2327aaa66e8eea37231bb38598b | /TestInterviewPractice/GraphCycleTest.cpp | 14313218ad0d9fe231f23c79fbf5db519983291c | [] | no_license | dawesome/InterviewPractice | 56a120b56f4de4cd070c5141455933d61a9639ab | c62bf91be89c8b45748a99c5cfb194b4c549b627 | refs/heads/master | 2021-01-12T09:54:38.108355 | 2017-01-13T01:58:33 | 2017-01-13T01:58:33 | 76,295,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,470 | cpp | //
// GraphCycleTest.cpp
// InterviewPractice
//
// Created by Michael Dawe on 12/14/16.
//
//
#include "gtest/gtest.h"
#include "CycleDetection.hpp"
TEST(CycleTest, CanCreateGraph)
{
Graph graph(3);
}
TEST(CycleTest, CanAddEdge)
{
Graph graph(3);
graph.addEdge(0, 1);
graph.addEdge(1, 2);
}
TEST(... | [
"mdawe@gsn.com"
] | mdawe@gsn.com |
0038f71bea93fa9415d8e2e64adff401aad251bf | 9266c91bcd1fa7277af3732134c2b5faa9657107 | /test/test_divide_automatic.cpp | 8f0d7d7fae02ef048c784168c5b009ab59aa8545 | [
"BSL-1.0"
] | permissive | janisozaur/safe_numerics | 07092d2aedc40964c1566b26d86658a365527353 | c494e9d6bddc47292b1bb1552469196b01fcdc55 | refs/heads/master | 2020-03-25T00:50:12.291027 | 2018-08-01T20:55:30 | 2018-08-01T20:55:30 | 143,208,291 | 0 | 0 | BSL-1.0 | 2018-08-01T21:01:04 | 2018-08-01T21:01:03 | null | UTF-8 | C++ | false | false | 3,232 | cpp | // Copyright (c) 2012 Robert Ramey
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <iostream>
#include <exception>
#include "../include/safe_integer.hpp"
#include "../include/automatic.hpp"
templa... | [
"ramey@rrsd.com"
] | ramey@rrsd.com |
78d7e63a43cd9f576f14b1aac264a6f5bb251612 | 096961ee99272213aae979902aad0fed8b86a957 | /CodeForces/edu39/946D.cc | 784112c9cedf36d04b7554d1b20612faba737eb9 | [] | no_license | yassin64b/competitive-programming | 2d92ee9878e33b5f40da4f0440e994beb595a21b | 180a309da3e12d00c9e4dc384a9aa95ec3e80938 | refs/heads/master | 2021-03-27T15:58:27.450505 | 2020-01-11T16:40:17 | 2020-01-11T16:40:17 | 53,347,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,330 | cc | #include <bits/stdc++.h>
using namespace std;
class TaskD {
public:
void solve(istream& in, ostream& out) {
int n, m, k;
in >> n >> m >> k;
vector<string> grid(n);
for (int i = 0; i < n; ++i) {
in >> grid[i];
}
vector<vector<int>> g(n);
for (int ... | [
"yassin.bahloul@gmx.de"
] | yassin.bahloul@gmx.de |
817c4ab91d542f54a871e5082b66e18fff4f193b | 5d33d4869749175517f64f65fe026b7e73831958 | /36_Valid_Sudoku.cpp | 7cfefd28d4bc32811a59c0756a9756d37535a7c7 | [] | no_license | digvijay87/leetcode | 82859232bb2881f8b5cfd15db9bcbceef85a4b34 | b117f10e88b3a6bc055988210143a0eac1669e5d | refs/heads/master | 2022-06-14T04:19:28.373685 | 2022-06-05T05:01:28 | 2022-06-05T05:01:28 | 224,800,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,012 | cpp | /*
Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules:
Each row must contain the digits 1-9 without repetition.
Each column must contain the digits 1-9 without repetition.
Each of the nine 3 x 3 sub-boxes of the grid must contain the digits 1-9 wit... | [
"noreply@github.com"
] | digvijay87.noreply@github.com |
57aa625b4dd73d09a4d659776bdde59c3075ee01 | f01194e047dd38a8568cddf9565e54411fd17596 | /Practice Codes/jan_15SEALCM.cpp | 0d932de53cbae695ef38fa581c8492e82db7c66a | [] | no_license | 2012ankitkmr/My-works | 118df8cf651785d19b962ee9afc2278d12d5a69a | 910e5425e2ded2fb59a3613d33d3468dc1be1158 | refs/heads/master | 2020-04-05T23:08:29.182573 | 2017-02-24T12:19:03 | 2017-02-24T12:19:03 | 52,659,326 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,131 | cpp | #include <bits/stdc++.h>
#define mod 1000000007;
#define ll long long int
#define pb(x) push_back(x)
#define MP(x,y) make_pair(x,y)
using namespace std;
vector <int> prime[1024];
void prime_factor(){
ll i,j,x,product;
for(i=2;i<=1024;i++){
if(prime[i].size() == 0){
for(j=i;j<=1024;j=j+i)... | [
"2012ankitkmr@gmail.com"
] | 2012ankitkmr@gmail.com |
36d237f3b7365add97a1b849fd4e2fbb128e1878 | 5718b0d89f56741ad4c898fe963cac06d1c998a0 | /include/Classe_headers/myStringP.h | 73e1253b774910eec420b5455c4ef9e5ba155326 | [] | no_license | huand/cpp-OOP-exs | 6066afa8125d56088af650eb7c17287e724626e4 | 8ab4fe59cf6c99ca8bf25c198a2db4472fe6867e | refs/heads/master | 2020-04-07T06:07:08.674279 | 2018-12-18T21:13:35 | 2018-12-18T21:13:35 | 158,122,933 | 0 | 0 | null | 2018-11-18T20:37:19 | 2018-11-18T20:15:27 | null | UTF-8 | C++ | false | false | 186 | h | #include <iostream>
#include "string"
#include "myString.h"
using namespace std;
class myStringP : public myString
{
public:
myStringP();
~myStringP();
myStringP(string);
}; | [
"hubert.andre.1991@gmail.com"
] | hubert.andre.1991@gmail.com |
462f02906bf63610dde0ff5baf71d35a7317fdc8 | b5f0748daea5f9a2746438bef052be2c7d0f2e04 | /source/win_wkbs.cpp | e1727f92567ab5548e305ae604893e05618351e0 | [
"BSD-3-Clause"
] | permissive | Kingwl/ray | c187275b47df30bad352854451b2bd6a6ff7c38d | 08a5dabbc3545811e6f6062fec4ad24dace73627 | refs/heads/master | 2020-05-28T02:01:03.005336 | 2015-11-10T11:50:02 | 2015-11-10T11:50:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,627 | cpp | // +----------------------------------------------------------------------
// | Project : ray.
// | All rights reserved.
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2014.
// +----------------------------------------------------------------------
// | * Redistributi... | [
"2221870259@qq.com"
] | 2221870259@qq.com |
f8d9b9a477f41ba43a9c12f210db3a931bd17a05 | 747e2d79f77c64094de69df9128a4943c170d171 | /Network/TextPacket/TextPacket.cpp | b7ed0d4582c24f46ee9f70faa86b23bed64d50e4 | [
"MIT"
] | permissive | Teles1/LuniaAsio | 8854b6d59e5b2622dec8eb0d74c4e4a6cafc76a1 | 62e404442cdb6e5523fc6e7a5b0f64a4471180ed | refs/heads/main | 2023-06-14T00:39:11.740469 | 2021-07-05T23:29:44 | 2021-07-05T23:29:44 | 383,286,395 | 0 | 0 | MIT | 2021-07-05T23:29:45 | 2021-07-05T23:26:46 | C++ | UTF-8 | C++ | false | false | 4,917 | cpp | #include "TextPacket.h"
namespace Lunia {
namespace XRated {
namespace Http {
std::string ExtractOperation(const std::string& source, const char header, const char footer, const char eol)
{
/*
extract operation in Url like "operation" in
"http://blabla.com/sub/operation.ext"
and eol(end of ... | [
"mteleshenrique@gmail.com"
] | mteleshenrique@gmail.com |
3c4c25ee3833dae16ff4c256b39a6540f6094b14 | 6e3b59d15607630869f518aee24c762d5dd71d06 | /CODES/D_Petya_and_Array.cpp | ff343825eb4ec9ad47e27d2361e996fab84b5ecc | [] | no_license | Aman-droid/CP_Essentials | c74ffce2c4acc9fa6b0ebc409f9f6e9640f92c91 | 40758de037a4b380bd7d921cd3cd7c4f8fc86be1 | refs/heads/master | 2023-06-05T13:56:29.053495 | 2021-06-29T18:13:14 | 2021-06-29T18:13:14 | 381,141,371 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | cpp | #include<bits/stdc++.h>
#define ll long long
#define endl '\n'
#define rep(i,a,b) for(int i=a;i<=b;i++)
#define pll pair<ll,ll>
#define pii pair<int,int>
#define vpll vector<pll>
#define SZ(x) ((int)x.size())
#define FIO ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL)
#define watch(x)cout<<(#x)<<" is "<<(x... | [
"rjaman330@gmail.com"
] | rjaman330@gmail.com |
08ab08d374f80ea9143647314d633f8d19e135c7 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/sync/syncable/directory_change_delegate.h | fb76450f2b3fc7bc21be7873165ad9322eb8a5c6 | [
"BSD-3-Clause",
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 2,123 | h | // Copyright 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.
#ifndef SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_
#define SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_
#include "sync/base/sync_export.h"
#include "sync/i... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
d32eaade0c4e00b3d223c5d027909ccb7139228e | 29a8bd0313113e6edba69cb90c91dfed613bc6a1 | /dalvikInsight/jni/vm/mterp/c/OP_INT_TO_DOUBLE.cpp | 32ee160f73e8c0cbf94b21e4aa83b331fec4a661 | [] | no_license | freemanZYQ/JNI | 0995cb199aff48b7b6cb349f2deca6d9e0134090 | 2f4a4e03e53448ee724bf39dac9d55c75fcf3954 | refs/heads/master | 2020-10-01T20:27:44.682632 | 2018-10-11T06:07:13 | 2018-10-11T06:07:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101 | cpp | #include "opcommon.h"
HANDLE_NUMCONV(OP_INT_TO_DOUBLE, "int-to-double", _INT, _DOUBLE)
OP_END
| [
"xueyongfu@analysys.com.cn"
] | xueyongfu@analysys.com.cn |
628d65f8391985198ae9f61d51c2340babd12656 | 079c4f315e84c45c2f01df0fa4c7c7aae18e534f | /Physik/Transform.h | 3056cd791bcba92c913472203db1174f71881233 | [] | no_license | Cris-Bwls/Physik | 2a9e6952491b723887540c15b0617b0371b2c74f | 84cd822e21a180ad9765c5f315b9a0f8a5fd42be | refs/heads/master | 2020-04-21T11:23:22.215198 | 2019-12-05T11:15:01 | 2019-12-05T11:15:01 | 169,523,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | h | #pragma once
#include <glm\ext.hpp>
class Transform
{
public:
Transform(glm::mat3* transform = nullptr);
~Transform();
inline glm::mat3 GetTransform() const& { return m_Transform; }
glm::vec2 GetPosition() const&;
void LocalTransform(glm::mat3 const& posMat, glm::mat3 const& rotMat, glm::mat3 con... | [
"crisbwls@gmail.com"
] | crisbwls@gmail.com |
25d698cc3ac8b4b23f307190e9efb242e20e4ff8 | 7f1a4ca6e2e51c560e27e84b52908cae77c2eac6 | /OJ/UVa/1068 - Air Conditioning Machinery.cpp | 2b4b6ac54d876eed550177a2c39059af178087fa | [] | no_license | gabrielmorete/Competitive-Programming | ebab7d03c341c5a90b4536564122feb8183d2923 | 724771c6f3cf20758bfd417f1138f02ae230e88b | refs/heads/master | 2023-03-04T14:09:43.768784 | 2023-02-25T22:53:14 | 2023-02-25T22:53:14 | 206,603,364 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,672 | cpp | #include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define fst first
#define snd second
#define fr(i,n) for (int i = 0; i < n; i++)
#define frr(i,n) for (int i = 1; i <= n; i++)
#define endl '\n'
#define gnl cout << endl
#define chapa cout << "oi meu chapa" << endl
#define dbg(x) cout << #x ... | [
"gmorete7@gmail.com"
] | gmorete7@gmail.com |
6b0b240dfe3d355290144204d0c19b84f5974d58 | 59864cbd213b5da6f50d6255b0a021564b3d5bd4 | /challenges/Divelogger2/src/cgc_datetime.h | eb8fed843501f3d9efcca9be2f26753ec0831413 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown",
"BSD-2-Clause"
] | permissive | trailofbits/cb-multios | 8af96a4fbc3b34644367faa135347f88e0e0d0a3 | 810d7b24b1f62f56ef49b148fe155b0d0629cad2 | refs/heads/master | 2023-09-05T03:56:20.229403 | 2022-12-27T15:47:54 | 2022-12-27T15:47:54 | 41,688,943 | 522 | 133 | MIT | 2023-06-29T02:47:13 | 2015-08-31T17:04:31 | C | UTF-8 | C++ | false | false | 2,413 | h | /*
Author: Jason Williams <jdw@cromulence.com>
Copyright (c) 2014 Cromulence LLC
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 u... | [
"kareem02@gmail.com"
] | kareem02@gmail.com |
d49d975ef7a7cda29a4ec98a59979e32dd3cf45d | 2c7686220ef17b295eaf1d4b5359ce96ec952905 | /topics/const-correctness/container3.cpp | 8933cf2cef2439a1856c31043bc85079886330b5 | [] | no_license | GregoryVanlaer/c_multi | 766774ec294fa581c6459f0e00e7072006af54a7 | b49beac1f8bbbe715c4522b079b973a99038164e | refs/heads/master | 2023-02-05T18:43:35.021501 | 2020-12-23T07:59:44 | 2020-12-23T07:59:44 | 323,839,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | cpp | int_array xs;
const int_array ys;
// Reading
int a = xs[i]; // calls at(index)
int b = ys[i]; // calls at(index) const
int& r1 = xs[i]; // ok
int& r2 = ys[i]; // does not compile
// Writing
xs[i]++; // calls at(index)
ys[i]++; // does not compile
| [
"bollen_en_kersen@hotmail.com"
] | bollen_en_kersen@hotmail.com |
de64c6d2af47604b90806b47680559fd8c00523b | ac48af1d42007f57ab21754ae135ec4a22fb533f | /userspace/libraries/libutils/Std.h | 05e38f3fcc7c75093f6e30432a2e6c220dfc6786 | [
"MIT",
"BSD-2-Clause"
] | permissive | raxracks/chadOS | 47e4e09dd61f61e1e2415dccc560783bb5e76827 | 0469528f5d4f390ff45d680b91783da445e66dcc | refs/heads/main | 2023-06-19T04:52:01.601917 | 2021-07-13T04:29:41 | 2021-07-13T04:29:41 | 379,407,996 | 3 | 0 | NOASSERTION | 2021-06-25T21:27:39 | 2021-06-22T21:43:36 | C++ | UTF-8 | C++ | false | false | 1,631 | h | #pragma once
#include <libutils/Traits.h>
#include <stddef.h>
#if __CONFIG_IS_HOSTED__ == 0
inline void *operator new(size_t, void *ptr)
{
return ptr;
}
inline void *operator new[](size_t, void *ptr)
{
return ptr;
}
#else
# include <new>
#endif
namespace std
{
using nullptr_t = decltype(nullptr);
tem... | [
"nicolas.van.bossuyt@gmail.com"
] | nicolas.van.bossuyt@gmail.com |
222570e6a99d2b3b9974106528ce3302a6f8fb1b | c65ce86fc9a3b20f805c414ff97c095602f96e3a | /LeetCode/Contest/21/B.cpp | 39f9b68beb2746d75bec510216dc4b691385ae9d | [] | no_license | RosenX/Code | 63db2e718ac2ec25885841fae39faa837a142aa7 | 2233eec46952556d8dc34cda1b0c5353ed2b5f07 | refs/heads/master | 2021-01-25T14:56:46.247079 | 2017-09-05T03:18:23 | 2017-09-05T03:18:23 | 39,948,186 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 679 | cpp | class Solution {
public:
bool checkSubarraySum(vector<int>& nums, int k) {
int size = nums.size();
vector<int> sum(size, 0);
for(int i = 0; i < size; i++) {
if(i == 0) sum[i] = nums[i];
else sum[i] = sum[i - 1] + nums[i];
}
for(int i = 0; i < size; i++... | [
"Rosen9212@gmail.com"
] | Rosen9212@gmail.com |
8c065df48faa86632104bbb7b125e7c0f214a8f6 | 802d4ff6dcf3214fd01d637fd29f2d05e2f81b40 | /lib/coreclr/src/inc/clr/fs/file.h | 70f22a29fa1fc97c3ea85484ee9cf1d5cc85656b | [
"MIT"
] | permissive | ABaboshin/DotNetCoreProfiler | d5da527f658bc0ee73938c2baa7e9e77a09bd65a | 890a36f52848115b06516f55eaf0cbee87c1c72e | refs/heads/master | 2023-01-28T13:13:09.388734 | 2022-12-12T23:32:11 | 2022-12-12T23:32:11 | 244,022,814 | 13 | 3 | MIT | 2023-01-11T11:14:42 | 2020-02-29T18:44:27 | C++ | UTF-8 | C++ | false | false | 1,391 | h | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
//
// This header provides general filename-related file system services.
#ifndef _clr_fs_File_h_
#define _clr_f... | [
"andrey.baboshin@gmail.com"
] | andrey.baboshin@gmail.com |
4cc58d5b7c8a0f0b68ed1bdee1fa63ce83e1ce04 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp | 5180dfff57051c8648acf1a595193a09d29b407a | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 9,745 | cpp | // 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 by code_generator_v8.py. DO NOT MODIFY!
#include "V8TestSpecialOperations.h"
#include "bindings/core/v8/ExceptionSt... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
3cc80ee607b1d6340e5e62643cffe80e508973b8 | 04a900f98c538b1c0b2f426ec74de0b89d069174 | /srcs/GameObjects/Entity/player.h | 127b16368c829df9817df85e8a755ecbd4ad5aaa | [] | no_license | ApourtArtt/AyugraBot | 8f4585e99d749e21a6fe6323a77b46bf20224933 | 11522140fd055062860ceeee29b53b281ae05290 | refs/heads/main | 2023-02-03T16:40:18.994680 | 2020-12-18T23:24:54 | 2020-12-18T23:24:54 | 322,726,285 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,217 | h | #ifndef PLAYER_H
#define PLAYER_H
#include "srcs/Enum/characterenum.h"
#include "srcs/Enum/fairyenum.h"
#include "srcs/Enum/reputationenum.h"
#include "srcs/Enum/factionenum.h"
#include "srcs/Enum/wingsenum.h"
#include "srcs/GameObjects/Entity/baseentity.h"
#include "srcs/Packets/Server/World/packetin.h"
#include "src... | [
"apourtartt@gmail.com"
] | apourtartt@gmail.com |
ecdeaa54df16e9a787ee2c5b73a29809087b3eb5 | 1f85142263a08d2e20080f18756059f581d524df | /lib/tags/lib-1.10.0.0/src/pagespeed/rules/parallelize_downloads_across_hostnames.cc | ef98160331f041287e27c2dd44c614da04ae6c0a | [
"Apache-2.0"
] | permissive | songlibo/page-speed | 60edce572136a4b35f4d939fd11cc4d3cfd04567 | 8776e0441abd3f061da969644a9db6655fe01855 | refs/heads/master | 2021-01-22T08:27:40.145133 | 2016-02-03T15:34:40 | 2016-02-03T15:34:40 | 43,261,473 | 0 | 0 | null | 2015-09-27T19:32:17 | 2015-09-27T19:32:17 | null | UTF-8 | C++ | false | false | 8,161 | cc | // Copyright 2010 Google 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 by applicabl... | [
"aoates@google.com"
] | aoates@google.com |
41492d334e219ae789ddc97a5d8dd0da699dd914 | 6c18c545e61f702a9e6531eaf4c81a30a678d8ec | /Projects/UCCU/src/QmlNode.h | 397ab436b79e0fc7a54c00976f86716541ed214e | [
"MIT"
] | permissive | LazyKnightX/mvuccu | 07a6d45d51c159b3a45fd23e9cc3ce5b9b6a3965 | db99baad4181edfd77cfc81e8b79a6b952ffce99 | refs/heads/master | 2020-12-14T09:55:27.061664 | 2017-03-30T09:32:30 | 2017-03-30T09:32:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,853 | h | #pragma once
#include <QtCore/qstring>
#include <QtCore/qmap>
#include <QtCore/qlist>
#include <QtCore/qjsonobject>
#include <QtCore/QSet>
#include <QtCore/qpointer>
#include <QtCore/qdebug>
namespace Qml {
static bool PAssert(bool b, QString s) { if (!b) { qDebug() << QString("[Assert] %1").arg(s); } return b; };
... | [
"yangff1@gmail.com"
] | yangff1@gmail.com |
ae8b8289581c07443f869abf8db01abc69677b8c | 7324bc957e3f7dc4dcab464ed97b4a0688fbebd1 | /LeetCode/128. Longest Consecutive Sequence.cpp | f2b84556be6efd5d72180ede7c459001fd9f1913 | [] | no_license | sungzh/leetcode | ca505c108f85bf719f667c5a283a0b6cf0238071 | de7a480bdddbb30ed1a7c59f16bcc3337ebdff5e | refs/heads/master | 2021-01-17T16:47:11.493866 | 2018-01-31T06:58:39 | 2018-01-31T06:58:39 | 63,408,814 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,162 | cpp | //Given an unsorted array of integers, find the length of the longest consecutive elements sequence.
//
//For example,
//Given [100, 4, 200, 1, 3, 2],
//The longest consecutive elements sequence is [1, 2, 3, 4]. Return its length: 4.
//
//Your algorithm should run in O(n) complexity.
//
//Subscribe to see which compani... | [
"sdsxsgz@gmail.com"
] | sdsxsgz@gmail.com |
fb6bdca0059a4187059591ad5bf9805113e9cbc4 | ced0cb0acb16bde76c2f560414d509bc5b577981 | /xxhr/multipart.hpp | 7b06e8c0ed41f677c7d8702cf0d2be3e4463a4b9 | [
"MIT"
] | permissive | nxxm/xxhr | 5a8e1f7fff2b9c0d9ae1d746c55ff7a7df6da14b | 78eabef73a87f34a6fc21e73d18f2aa1d34af914 | refs/heads/master | 2023-06-08T04:43:41.128062 | 2023-04-14T15:23:16 | 2023-04-14T15:23:16 | 150,663,904 | 28 | 7 | NOASSERTION | 2023-05-02T09:30:18 | 2018-09-28T00:37:28 | HTML | UTF-8 | C++ | false | false | 3,032 | hpp | #ifndef XXHR_MULTIPART_H
#define XXHR_MULTIPART_H
#include <cstdint>
#include <initializer_list>
#include <string>
#include <type_traits>
#include <vector>
#include "defines.hpp"
namespace xxhr {
/**
* \brief Local file path to send in an xxhr::Multipart
*/
struct File {
template <typename StringType>
ex... | [
"damien.buhl@lecbna.org"
] | damien.buhl@lecbna.org |
25b7cb6aae28de98e3532ae90bef713d973d2a0b | 1fdca4863b5ccc4618cdaef4c83107e8fe218a71 | /qgigimagejobmanager.h | 6745594dddef857d2869be3b4fc518545b93c33a | [] | no_license | joonhwan/GigBmpViewer | 0d0f1ffa8670211ca85ce01c0124197bb3f58439 | f34b098db79d535f6339f645454bca26eae5ad2e | refs/heads/master | 2016-09-05T16:36:41.188884 | 2012-02-21T00:58:18 | 2012-02-21T00:58:18 | 3,426,515 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | #ifndef QGIGIMAGEJOBMANAGER_H
#define QGIGIMAGEJOBMANAGER_H
#include <QObject>
#include <QSharedPointer>
#include <QQueue>
class QGigImageJob
{
public:
virtual void doJob(void) = 0;
};
typedef QSharedPointer<QGigImageJob> QGigImageJobPtr;
class QGigImageJobManager : public QObject
{
Q_OBJECT
pub... | [
"joonhwan.lee@gmail.com"
] | joonhwan.lee@gmail.com |
f8983a7fb65c27e69ed7b80884878e27a88728e4 | 54e258ce9ccaa3162340e89c20ef299bb42a6d19 | /prjs/prog/prblm/uva/727.cpp | 08c43d620d593f5c536f1aab1a0505dc38b63f0c | [] | no_license | nitin-nizhawan/incubator | f86e54aba703fbe60c8f06eed953d85f4bf9ac04 | 69d2617ac2a280899ff044175dddb969f07d96f8 | refs/heads/master | 2022-09-17T10:32:04.018735 | 2022-09-12T20:10:29 | 2022-09-12T20:10:29 | 6,008,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,793 | cpp | #include<cstdio>
#include<cstring>
#include<iostream>
char opStack[100];
char top=-1;
void solve(){
char str[12];
char c;
// while(scanf("%s[^\n]\n",str)&&str[0]!='\n'){
while ( fgets ( str, sizeof str, stdin ) != NULL&&str[0]!='\n' ) {
c=str[0];
// std::cout<<strlen(str)<<std::endl;
// ... | [
"nitin.nizhawan@gmail.com"
] | nitin.nizhawan@gmail.com |
ddab00a134752a4fcd14127945925cc8ee485087 | 59161c048ab2b44d64efc6f5049641906ed5e219 | /CPP01/ex05/Human.cpp | 5ce47b42e817ee385129fca7c1767233e2d05876 | [] | no_license | rofernan42/Modules_CPP | 8f70830375839f701c40267570413a5699839950 | cab4630f11f6876bbf77f4ac06a68b4081c65da2 | refs/heads/master | 2023-02-14T21:37:51.417550 | 2021-01-08T17:55:24 | 2021-01-08T17:55:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | #include "Human.hpp"
Human::Human()
{
}
Human::~Human()
{
}
const Brain &Human::getBrain()
{
return (m_brain);
}
std::string Human::identify()
{
std::string address;
address = m_brain.identify();
return (address);
}
| [
"rofernan@student.42.fr"
] | rofernan@student.42.fr |
73b7954c9a533921ff6300862f5b74bb8fa0cea7 | 9b08868f25a4e4834fe393036404912bd49713b3 | /MSJ_DirectX_3D/Engine/Include/Scene/Layer.h | 47539290db177a66088f085b3c4cc1e7e8ac0537 | [] | no_license | KkyuCone/DirectX3D_MSJ_PO | 53c6f8564206bec1a0cd81f0934784f800786a5f | f487107df60184eeadf3afcf99dd070ce39cbde1 | refs/heads/master | 2020-08-16T07:36:22.238521 | 2019-10-16T06:40:04 | 2019-10-16T06:40:04 | 215,475,257 | 0 | 0 | null | null | null | null | EUC-JP | C++ | false | false | 1,949 | h | #pragma once
#include "../Reference.h"
ENGINE_BEGIN
// 叔霜旋生稽 神崎詮闘(暁澗 梓端)亜 壕帖鞠澗員精 Layer虞壱 左檎 吉陥. しさし
// 傾戚嬢澗 嬢恐 授辞稽 穣汽戚闘拝 依昔走亜 掻推馬陥.
// 食奄辞 授辞澗 m_iOrder稽 歳嫌馬悟 神硯託授生稽 穣汽戚闘敗 しさし
class ENGINE_DLL Layer : public Reference
{
private:
friend class Scene;
private:
Layer();
~Layer();
private:
class Scene* m_pScene;
int... | [
"praesentia05@naver.com"
] | praesentia05@naver.com |
cf4e73672cb7afb72326a4baf8d966a5d199bd6b | 20fc6fd4624fc390e9d52d511b65ac02a9d3f8eb | /include/lipm_walking/FloatingBaseObserver.h | 926c2b265432f661e6b2d0a8f0930ddb5d97a38f | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | zeta1999/lipm_walking_controller | ca9ece26a91ccf80190430aa5504eef52bc59c17 | 9f57bfde76affc2296a937b430bdf1824e593722 | refs/heads/master | 2023-01-04T05:27:07.744480 | 2020-10-31T12:25:43 | 2020-10-31T12:25:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,312 | h | /*
* Copyright (c) 2018-2019, CNRS-UM LIRMM
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of con... | [
"stephane.caron@lirmm.fr"
] | stephane.caron@lirmm.fr |
3e8b745dc6d710800e22fda868ecc1026c7e6254 | 4972a18daba66b04e677fb85d69195100449cb32 | /third_party/mlir/lib/Parser/Parser.cpp | 014bbc22067b7e37ace3c7631f59c64b591fc454 | [
"Apache-2.0"
] | permissive | peter197321/tensorflow | a768bd97cb2d8672d05dd22b31ba2cfff5069dfa | 1e3cbc2bb83e936c6d539f290403e9e85beef490 | refs/heads/master | 2020-07-09T01:31:54.542488 | 2019-08-22T16:17:52 | 2019-08-22T16:29:47 | 203,833,487 | 1 | 0 | Apache-2.0 | 2019-08-22T16:31:28 | 2019-08-22T16:31:27 | null | UTF-8 | C++ | false | false | 147,548 | cpp | //===- Parser.cpp - MLIR Parser Implementation ----------------------------===//
//
// Copyright 2019 The MLIR Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
5e9e528e69de371d69baa97ee0d59e4191a0a12b | 992b75408838c2bd6dfc32e274682b44d61f54d8 | /atomic/Main.cpp | fa2a6c5102f27a9eea379df66bdcb055028b298e | [] | no_license | romandion/Lab | 35064447be0a8889729110d51da952855fa63f3d | 13f3ce1d1f848c3c3d88719d04c00b80cfc08ecc | refs/heads/master | 2020-03-07T09:53:00.539709 | 2018-08-29T03:02:38 | 2018-08-29T03:02:38 | 127,418,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
#include "Test.h"
void * atomic_load_ptr(void * volatile * target)
{
return InterlockedCompareExchangePointer(target , NULL , NULL) ;
}
void * atomic_store_ptr(void * volatile * target , void * value)
{
return InterlockedE... | [
"romandion@163.com"
] | romandion@163.com |
be11d505f2e9588468b57d6d31a9be55869c7af7 | 60798997f9ff3a60b8787386dbed1ad06c1c9ccc | /DesignPatterns/Structural/Flyweight/character.h | ec685ad44aebb25273d58ab05c740069adf01eff | [] | no_license | e5MaxSpace/DesignPatterns | be7e478c0fca1626c764287af17fd4457c99a975 | c44a2b6781a571937f85634b57f6feb60a744f89 | refs/heads/master | 2016-09-06T18:08:11.377009 | 2013-09-16T12:16:41 | 2013-09-16T12:16:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | h | #ifndef CHARACTER_H
#define CHARACTER_H
#include "glyph.h"
class Character : public Glyph
{
public:
explicit Character(char ch);
virtual void Draw(Window *win, GlyphContext &gc);
private:
char _charcode;
};
#endif // CHARACTER_H
| [
"e5Max@qq.com"
] | e5Max@qq.com |
ad81c9b75a4b14a8c70174a0026940a3251b3023 | 9344cb161f12051eddf976828fc37f0ceb78d161 | /1. multiplesOf3And5/main.cpp | 30f164311813467d298053b84194fde3902a29c7 | [] | no_license | JasonFevang/ProjectEulerSolutions | d1d78a34a1f6b3204175e890d388c07aa4dfe2e1 | 70729660207e4e0fc164a87c350bd961d55f0401 | refs/heads/master | 2020-03-18T07:48:52.760704 | 2018-05-23T16:37:08 | 2018-05-23T16:37:08 | 104,406,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cpp | #include <iostream>
#include <array>
using namespace std;
//Plan: Array containing all multiples of 3 from 0 to 1000, array containing all multiples of 5 from 0 to 1000. Remove every 5th
//number from the array of 3's, then sum each array, then add the arrays together
//Alternate plan:
int main()
{
int ... | [
"noreply@github.com"
] | JasonFevang.noreply@github.com |
a8b569103881cd56c55f5773b26caba50b6d8bb6 | 29aa7c5c5c8feef7121979e156cf9b9c146a566a | /src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp | 5cf0bb26959e68ac9cd637d6ffae88e29a11b0fe | [] | no_license | CyberSys/StarGateEmu-Projekt | 4bea8b66550aaf325ecbd205d68d639595cd4848 | e97c26bfae6b13a03c7ce45084b865c3c9acca72 | refs/heads/master | 2020-12-22T01:48:27.813284 | 2011-12-12T18:29:13 | 2011-12-12T18:29:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,717 | cpp | /*
* Copyright (C) 2005-2011 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008-2011 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2006-2011 ScriptDev2 <http://www.scriptdev2.com/>
*
* Copyright (C) 2010-2011 Project StarGate
*
* This program is free software; you can redistribute it and/or mo... | [
"krallekalle@web.de"
] | krallekalle@web.de |
7bed850da14f4170dc4c437bda22bc54ab8dc3be | 7c63a96fad4257f4959ffeba0868059fc96566fb | /cpp/std-14/m_gregoire-prof_cpp-3_ed/ch_14-overloading_cpp_operators/02-overloading_the_bitwise_and_binary_operators/SpreadsheetCell.cpp | bf6ce9ff4910f4d61d93b357510bf06f89de83bb | [
"MIT"
] | permissive | ordinary-developer/education | b426148f5690f48e0ed4853adfc3740bd038b72c | 526e5cf86f90eab68063bb7c75744226f2c54b8d | refs/heads/master | 2023-08-31T14:42:37.237690 | 2023-08-30T18:15:18 | 2023-08-30T18:15:18 | 91,232,306 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,040 | cpp | #include "SpreadsheetCell.hpp"
#include <iostream>
#include <sstream>
SpreadsheetCell::SpreadsheetCell()
: mValue(0)
{
}
void SpreadsheetCell::set(double inValue) {
mValue = inValue;
mString = SpreadsheetCell::doubleToString(mValue);
}
void SpreadsheetCell::set(const std::string& inString) {
mVal... | [
"merely.ordinary.developer@gmail.com"
] | merely.ordinary.developer@gmail.com |
510643a3f7de341df43136102bfdc3b0afd121d8 | b1bb61f23f983e37487b371d4a19b2bfdbeed673 | /bitmanipulation/memorylimits/src/memorylimits.h | 5ee5b836f881a27db3692d8553f393a66dcec84f | [] | no_license | jiguosong/InterViewCoding | 225b41eee7d65d422a6c5361e074b7d286de86b6 | 41204d7f106d5b90b2545e4920022838bfc2a8b3 | refs/heads/master | 2021-05-01T23:56:05.256320 | 2017-02-16T06:18:54 | 2017-02-16T06:18:54 | 78,148,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | h | #ifndef memorylimits_H_
#define memorylimits_H_
#include <vector>
#include <string>
using std::vector;
using std::string;
class memorylimits {
public:
vector<int> generateInteger(vector<int> nums, int N);
private:
vector<int> tmp_array;
void setBit(int i);
void clearBit(int i);
int testBit(int i... | [
"songjiguo@gmail.com"
] | songjiguo@gmail.com |
5d02d45f0a73b03c3d5423ebb5f3f60cedaccfe7 | 2ab9f9ed03906138fd2a328f2637cdf663042002 | /reversi.cpp | 6e59ed1f0d2074fdd70ae571f714eefd22d3d6f1 | [] | no_license | maxthecreator/NORTHWESTERN | 2d28413d45aed4b4bd22da354b302abb9868ce06 | 5ea6174595e187574a94bccfcf59c1b005aa99bc | refs/heads/main | 2023-02-26T06:22:46.633215 | 2021-01-15T21:07:32 | 2021-01-15T21:07:32 | 330,021,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | cpp | #include "controller.h"
#include <stdexcept>
#include <string>
using namespace std;
int main(int argc, char* argv[])
try {
///
/// Don't change this command-line processing, as the grader
/// will expect to be able to start your program this way.
///
int width, height;
switch (argc) {
... | [
"noreply@github.com"
] | maxthecreator.noreply@github.com |
0adff67269f408da0fc43183cf0a7d5b86eda321 | bf67ca00c9adc2b6a7d08134bf1decb150a6d79b | /share/vm/gc_implementation/g1/g1ParScanThreadState.cpp | 8849d42dd7896c21dfa6f6946c6a8b11d1778eae | [] | no_license | joshcollins1008/VirtualMachinesProject | 1f2a212ffe3b167c45939f0e18d0d735503ab28c | 201cf926e20bc12f8f52fcb287a9626d0aacf303 | refs/heads/master | 2021-01-21T12:26:42.611043 | 2015-05-15T20:39:19 | 2015-05-15T20:39:19 | 33,001,589 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,123 | cpp | /*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | [
"joshcollins1008@gmail.com"
] | joshcollins1008@gmail.com |
006492e989763158e2d7a7dad6913e3e4a320cac | e05ee73f59fa33c462743b30cbc5d35263383e89 | /src/zunghr_m.cpp | 8edf4aeeb31ea5c8675efceb548b7f71ad09d576 | [] | no_license | bhrnjica/magma | 33c9e8a89f9bc2352f70867a48ec2dab7f94a984 | 88c8ca1a668055859a1cb9a31a204b702b688df5 | refs/heads/master | 2021-10-09T18:49:50.396412 | 2019-01-02T13:51:33 | 2019-01-02T13:51:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,904 | cpp | /*
-- MAGMA (version 2.4.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date June 2018
@precisions normal z -> s d c
*/
#include "magma_internal.h"
/***************************************************************************//**
... | [
"sinkingsugar@gmail.com"
] | sinkingsugar@gmail.com |
868548594081375c57c4b9c44148f358b421f8d8 | a8c655a3be9d2c7af2f3e1d84038af5600e22b75 | /oop_lb3/oop_lb3/datetime.cpp | 68452736df4ab59ce1ad8460789233187c7d8d4b | [] | no_license | IhorRyzhov/OOP_LB_3_phone_book | 52eb24ecf66a5df75da1ba8c25e91c902658e02d | 034c57d8b7a11936f9c21106d158f2c372ebd161 | refs/heads/master | 2020-06-19T06:46:19.415572 | 2019-07-12T15:42:25 | 2019-07-12T15:42:25 | 196,604,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,934 | cpp | // (C) 2013-2016, Sergei Zaychenko, KNURE, Kharkiv, Ukraine
/*****************************************************************************/
#define _CRT_SECURE_NO_WARNINGS
#include "datetime.hpp"
#include "messages.hpp"
#include <ctime>
#include <cassert>
#include <cstdio>
#include <stdexcept>
/*****... | [
"noreply@github.com"
] | IhorRyzhov.noreply@github.com |
50ef69ae37c058c3a8863b2670005991b3d17c79 | eb2f8b3271e8ef9c9b092fcaeff3ff8307f7af86 | /Grade 10-12/2018 autumn/NOIP/NOIP2018提高组Day1程序包/GD-Senior/answers/GD-0143/track/track.cpp | dc067c563791852e8d234a7897792626913a8748 | [] | no_license | Orion545/OI-Record | 0071ecde8f766c6db1f67b9c2adf07d98fd4634f | fa7d3a36c4a184fde889123d0a66d896232ef14c | refs/heads/master | 2022-01-13T19:39:22.590840 | 2019-05-26T07:50:17 | 2019-05-26T07:50:17 | 188,645,194 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,822 | cpp | #include<cstdio>
#include<vector>
#include<cstring>
#include<algorithm>
#include<utility>
using namespace std;
typedef pair<int, int> pii;
vector<pii> edge[50010];
int end, dist[50010], mxdist, n;
bool vis[50010];
int qr();
void dfs (int, int);
bool check (int);
void getdis (int);
void getdisone ();
int cmp (int, int);... | [
"orion545@qq.com"
] | orion545@qq.com |
1d9278a4d715ee69f597fe08f4c918d69a64820a | c5c0269650dae21b591548fe4584acce175b42bb | /progtech/multi_arrays.cpp | 5c18cfb2f0596989dc93a26dd61325893c738ec5 | [] | no_license | sarage/programming_technology | b40ca8eb4737d5cea5cc184ee8186417c0b23fee | 62d8c219f5afe2faf4a673880b9b2031a92ed11c | refs/heads/master | 2021-01-21T17:23:21.537239 | 2017-03-17T10:28:31 | 2017-03-17T10:28:31 | 85,270,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180 | cpp | #define WIDTH 5
#define HEIGHT 3
int jimmy [HEIGHT][WIDTH];
int n,m;
int main ()
{
for (n=0;n<HEIGHT;n++)
for (m=0;m<WIDTH;m++)
{
jimmy[n][m]=(n+1)*(m+1);
}
return 0;
} | [
"sarageheyo@gmail.com"
] | sarageheyo@gmail.com |
afa7919be648af80c6832699fbdba699295ae37d | 7924247523ffc4c8ad89f725756a4ec1056f6479 | /dynamic_mamory.cpp | 6a294dffbace546a46f0de30d2bf5609fefce6f0 | [] | no_license | badhon1512/DataStructure | cacba7268a8de567189da51ad5dca8c6cb4dfd4a | 1d076087944f1b58584824a0a520fed88bbbdbb5 | refs/heads/main | 2023-03-13T13:55:49.905555 | 2021-03-04T12:27:08 | 2021-03-04T12:27:08 | 344,465,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | cpp | #include<iostream>
using namespace std;
void input(int *A,int n)
{
for(int i=0;i<n;i++)
{
cout<<"enter marks for sub "<<i+1<< " ";
cin>>*(A+i);
}
}
void total(int *A,int n)GHJDF
{
int total=0;
for(int i=0;i<n;i++)
{
cout<<"marks for sub "<<i+1<< " "<<*(A+i)<<endl;
... | [
"badhon1512@gmail.com"
] | badhon1512@gmail.com |
308c79c2113244a19c364998ec0f22885a5058e4 | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /chromeos/services/libassistant/media_controller.h | 68c23458c48f2734bd298b86c01129c35539fbe5 | [
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 2,024 | h | // Copyright 2021 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 CHROMEOS_SERVICES_LIBASSISTANT_MEDIA_CONTROLLER_H_
#define CHROMEOS_SERVICES_LIBASSISTANT_MEDIA_CONTROLLER_H_
#include "chromeos/assistant/intern... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
62743334b0cbf19bf7d3c7a7032a677436aee6ba | 9ce4dd166ef7736c833ceddc0bd49ea236f2a949 | /qrgui/pluginManager/listenerManager.h | 3efb08ad51196e37b862e215b8d1b1c2226f0013 | [] | no_license | BogdanKl/qreal | d0b3b881febf075690cef028fa1dcbe4ef16f15f | cf7c95e4687b92196a0ac9b31fa59c86891662c1 | refs/heads/master | 2020-12-25T12:41:27.260912 | 2013-08-13T17:44:36 | 2013-08-13T17:44:36 | 21,391,502 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 941 | h | # pragma once
#include <QtCore/QObject>
#include "../editorPluginInterface/listenerInterface.h"
#include "../../qrkernel/ids.h"
namespace qReal {
namespace models {
class LogicalModelAssistApi;
class GraphicalModelAssistApi;
}
class ListenerManager: public QObject {
Q_OBJECT
public:
ListenerManager(QList<Liste... | [
"yurii.litvinov@gmail.com"
] | yurii.litvinov@gmail.com |
a5d8a6dfeb3f57b0fb04bd57eff7e117264f3dd7 | 86a70b4a86a9751ea19c248c047c22546b743cc5 | /include/corelib/ncbidll.hpp | 8c4c7815dbef6700a94a1c5a583b329285a86016 | [] | no_license | mkuhn/blast-matrix | 05b9b8a274b5d8eaa220ec89df6741ffbc8c62d6 | 915ba9ac3a81549c53b314a059188c937993efd8 | refs/heads/master | 2020-12-22T10:51:47.040589 | 2012-10-24T09:14:24 | 2012-10-24T09:14:24 | 236,756,103 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,683 | hpp | #ifndef CORELIB___NCBIDLL__HPP
#define CORELIB___NCBIDLL__HPP
/* $Id: ncbidll.hpp 190977 2010-05-06 16:19:44Z gouriano $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
... | [
"mkuhn@localhost"
] | mkuhn@localhost |
5dfda7e33f5c5268a71133e28592d2ed4256fb10 | b457e46523b344a1d3863bd28c1b742729765510 | /Analyzer.hpp | 85cb91e4e8d99c2e91a3a6892070bef6018182cd | [] | no_license | Novicei/pfa | a31068becb1299309198d51b863d2bbd91d10a7b | 5505a0c92c163b3a561544a169809f3bf20b332a | refs/heads/master | 2023-08-14T23:51:24.730004 | 2021-09-24T07:54:13 | 2021-09-24T07:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | hpp | #pragma once
#include <vector>
#include "Landmark.hpp"
#include "PeakFinder.hpp"
class Analyzer {
public:
// parameters
int SAMPLE_RATE = 8000;
int REPEAT_COUNT = 1;
PeakFinder *peak_finder;
LandmarkBuilder *landmark_builder;
std::vector<Peak> peaks;
std::vector<Landmark> fingerprint_file(const ... | [
"randomfrank8@gmail.com"
] | randomfrank8@gmail.com |
3305ceff1ca65859571f2e1d4a8e860e9e858e0b | 35b929181f587c81ad507c24103d172d004ee911 | /SrcLib/core/fwData/src/fwData/Float.cpp | 5f2627eac52ecefed555f19bc99e62d2a0f0f3db | [] | no_license | hamalawy/fw4spl | 7853aa46ed5f96660123e88d2ba8b0465bd3f58d | 680376662bf3fad54b9616d1e9d4c043d9d990df | refs/heads/master | 2021-01-10T11:33:53.571504 | 2015-07-23T08:01:59 | 2015-07-23T08:01:59 | 50,699,438 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,815 | cpp | /* ***** BEGIN LICENSE BLOCK *****
* FW4SPL - Copyright (C) IRCAD, 2009-2012.
* Distributed under the terms of the GNU Lesser General Public License (LGPL) as
* published by the Free Software Foundation.
* ****** END LICENSE BLOCK ****** */
#include "fwData/registry/macros.hpp"
#include "fwData/Exception.hpp"
#in... | [
"fbridault@IRCAD.FR"
] | fbridault@IRCAD.FR |
9edfa068dff2c470ff9b22074211ac9d808385a7 | 2141ab0344c9a0afc72717d4fc2807edf12f8cff | /demo/psstream/demo_ps_es.cpp | ff7ab07fda7aece08a94cbda808d92c2da66e91f | [] | no_license | pigdu/jklibs | 87330e2c794f85d6bc5b055931bd32e8a35afe8b | ddbed2c345b4f94534070fb08f2274492c6f941a | refs/heads/master | 2020-12-07T22:49:39.045266 | 2019-03-29T02:56:33 | 2019-03-29T02:56:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,876 | cpp | //
// Created by v on 16-10-28.
//
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <cstdlib>
#include "PS2ES.h"
static int fi;
static int fo;
#define LOG(fmt, ...) \
printf("%d: ", __LINE__); printf(fmt, ##__VA_ARGS__); \
printf("\n")
typedef struct _... | [
"ciyingjue@163.com"
] | ciyingjue@163.com |
ec711c94082a63806669a2b8c887228247f884ab | 07fbf3ab32180d94afb1eadd1a8f8ddd657e8656 | /NWNXLib/API/Mac/API/VideoBootStrap.cpp | af73d2bac8eb2bfa02eaa2425dc8e0859bcd5548 | [
"MIT"
] | permissive | ELadner/nwnx-unified | 3b322e8722eab70c9c72a45e71013b89dbbf1e89 | 09f8e8a0c1474e8b16d4746f9cb57ca870a17ce5 | refs/heads/master | 2021-09-04T08:52:06.521478 | 2018-01-17T13:04:29 | 2018-01-17T13:04:29 | 117,771,934 | 0 | 0 | null | 2018-01-17T02:29:14 | 2018-01-17T02:29:14 | null | UTF-8 | C++ | false | false | 143 | cpp | #include "VideoBootStrap.hpp"
#include "API/Functions.hpp"
#include "Platform/ASLR.hpp"
namespace NWNXLib {
namespace API {
}
}
| [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
c02f05aee6abee1000fcc8e8c315fcf0a06c01ed | 08b8c25f7fea9970647f31469e4be3bc48e5b86d | /uva-online-judge/accepted-solutions/11517 - Exact Change.cpp | c1f2c6ee09c0299346afee4db3d6a8de7811be3e | [] | no_license | SharifulCSECoU/competitive-programming | ab55e458055c816877b16044a728af5a35af2565 | f7d4bb0cb156cc6044fe61e7ed508d5bdcf68a07 | refs/heads/master | 2020-04-05T03:05:10.770413 | 2018-11-07T06:59:28 | 2018-11-07T06:59:28 | 156,500,818 | 0 | 0 | null | 2018-11-07T06:30:40 | 2018-11-07T06:30:40 | null | UTF-8 | C++ | false | false | 640 | cpp | // 11517 - Exact Change
#include <iostream>
#define N 10000
using namespace std;
main() {
int kase, n, W, i, j;
int dp[N+5], coin[105];
cin >> kase;
while (kase--) {
cin >> W >> n;
for (i=1; i<=n; i++)
cin >> coin[i];
for (i=1; i<=N; i++)
dp[i] = N;
... | [
"lamphanviet@gmail.com"
] | lamphanviet@gmail.com |
5a8375e95e2dffc80926d28b50cfaf26fe2aab94 | 089a0ddd07bd2198498555afd7a1173f7b260fab | /algorithm/1928_Minimum_Cost_to_Reach_Destination_in_Time/solution.cpp | 195a0f7dfcdade1c253502497ea517682e6f3f3d | [] | no_license | 23ksw10/LeetCode | de1570e044a7fc3e9a8a1709794927bfd10c50c6 | f6c78822cf19179131ac3bb1c6c667990508cbf7 | refs/heads/master | 2023-02-04T14:02:38.382321 | 2023-01-28T09:43:47 | 2023-01-28T09:43:47 | 238,220,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | cpp | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
class Solution {
public:
int minCost(int maxTime, vector<vector<int>>& edges, vector<int>& passingFees) {
int n = passingFees.size();
vector<vector<pair<int, int>>>g(n);
for (auto &e : edges) {
int a = e[0];
int b = e[1];
... | [
"kimsw9603@gmail.com"
] | kimsw9603@gmail.com |
b282218a5abe25ac22eb8a45b85522bd0ab6cec9 | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/processor1/0.11/pointDisplacement | 994903c3f511c492aa8425fbfe3ffe192fe4f67e | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,866 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
508d8dbd2d1a1a56349b9b4d7d73516bab81176d | 631bbcc64e165d305535649c3fc9396fe2bbf169 | /EP45.cpp | 6edd2c0625ec53f2154e7cadde78bb8ee24a4a01 | [] | no_license | hello-sources/Project-Euler | e8d25665629ec5c9de2c9279f13478366beed1e0 | 47e1416e637eb1367881fcd9cde690f25ef2cc27 | refs/heads/master | 2021-03-12T10:02:07.572849 | 2020-05-21T16:15:39 | 2020-05-21T16:15:39 | 246,610,206 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | #include <iostream>
using namespace std;
typedef long long ll;
ll Triangle(ll n) {
return n * (n + 1) >> 1;
}
ll Pentagonal(ll n) {
return n * (3 * n - 1) >> 1;
}
ll Hexagonal(ll n) {
return n * (2 * n - 1);
}
bool binary_search(ll (*func)(ll), ll n, ll x) {
ll head = 1, tail = n, mid;
whi... | [
"3245849061@qq.com"
] | 3245849061@qq.com |
518d9636e5295f2866de51415c51d14bcdabe3cf | a06d7a75af428c6e134808f2b6c35465d0941176 | /ForceCode/ForceCode.cpp | 5e1c9a6961232b3898069ff73f6c757a363ea9d0 | [] | no_license | themostfreeboy/ForceCode1 | 5c32bf0c63c6d78d54cd85b771222bdcaad14ac3 | 7f72014403dc763aeb0a5f4ea86555cd34ebae6f | refs/heads/master | 2020-03-08T02:49:34.908943 | 2018-04-03T07:57:16 | 2018-04-03T07:57:16 | 127,871,894 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,687 | cpp |
// ForceCode.cpp : 定义应用程序的类行为。
//
#include "stdafx.h"
#include "afxwinappex.h"
#include "afxdialogex.h"
#include "ForceCode.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
private_key pkey;
static int threadnum=0;
static bool threadstart=false;
// CForceCodeApp
BEGIN_MESSAGE_MAP(CForceCodeAp... | [
"361425474@qq.com"
] | 361425474@qq.com |
0afdd6ced0ba8e57c9122f0e73c29dc4f5c2b2c0 | 22fea070d10ad53e9225e5a029d2d5d53b33d8bf | /hphp/runtime/ext/vsdebug/hook.cpp | 5b34c654f31a60004fd1539d90d1b9103463864a | [
"Zend-2.0",
"MIT",
"PHP-3.01"
] | permissive | sagas1416/hhvm | c42b77f0ee05b614a9b08e8c6224a885463f5ca3 | 253b620b7e49580463a76934b5d815721fa51c28 | refs/heads/master | 2020-04-07T01:42:25.612797 | 2018-11-17T03:39:48 | 2018-11-17T03:54:45 | 157,948,901 | 0 | 1 | NOASSERTION | 2018-11-17T03:58:45 | 2018-11-17T03:58:44 | null | UTF-8 | C++ | false | false | 11,298 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2017-present Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"hhvm-bot@users.noreply.github.com"
] | hhvm-bot@users.noreply.github.com |
1f937f2fbc87c407f1a6fafd556cac60cdfb18df | 0e8d57f10639b0bdcab2c89b307029697c909863 | /spoj/tdprimes/main.cpp | 81588de4a0a3250455e1b6c93679f389478c174c | [
"Apache-2.0"
] | permissive | xirc/cp-algorithm | 07a6faf5228e07037920f5011326c16091a9157d | e83ea891e9f8994fdd6f704819c0c69f5edd699a | refs/heads/main | 2021-12-25T16:19:57.617683 | 2021-12-22T12:06:49 | 2021-12-22T12:06:49 | 226,591,291 | 15 | 1 | Apache-2.0 | 2021-12-22T12:06:50 | 2019-12-07T23:53:18 | C++ | UTF-8 | C++ | false | false | 933 | cpp | // https://www.spoj.com/problems/TDPRIMES/
#include <cstdio>
#include <vector>
using namespace std;
const int N = 100000001;
const int K = N / 2 + 1;
// is_prime[i] = whether the number (i * 2 + 1) is prime or not
vector<bool> prime_table(K, true);
void build() {
for (int v = 3; v * v < N; v+=2) {
if (!... | [
"xirckey@gmail.com"
] | xirckey@gmail.com |
be11a2ce4406fe87fbd8e0e2e04a589915889775 | b0559426b69bbd175b9584fc393c718875bba639 | /48-Exercise4.21/main.cpp | 7ead56d997f2868653bd03ef9a0b6afaf2ce865d | [] | no_license | QuangTran304/Cpp-challenge | ca8e58ed78bb9d66c8d6f8c5b6bf197575c736a8 | 256691a0d8b7e66c1adc757a3ab89363b22215ca | refs/heads/master | 2020-06-07T05:21:23.474750 | 2019-10-08T03:48:30 | 2019-10-08T03:48:30 | 192,934,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | /*
* Author: Quang Tran
* Date: July 17, 2019
*/
#include <iostream>
#include <vector>
using std::cout;
using std::endl;
using std::vector;
int main() {
vector<int> numbers{1, 3, 4, 5, 7, 8, 9};
for (auto it = numbers.begin(); it != numbers.end(); ++it) {
*it = ( (*it) % 2 == 1 ) ? (*it... | [
"nhatquang304@gmail.com"
] | nhatquang304@gmail.com |
692e47e09a2d3f57e638a32fca294ce6ed137d0e | 3b2bba2564711d24bd330bd9bcbae50569bf0905 | /LinkList/main.cc | b340fc288d430b4bf0cdf8b5eace04a91f49369c | [] | no_license | IPENCIL666/DSA | 10f25aac6946e6a532b59a412579c0bb0f30f302 | 2a358c09fece30d6c4791fa190dbf9613db653b4 | refs/heads/master | 2023-02-07T18:30:55.918251 | 2020-12-28T10:26:04 | 2020-12-28T10:26:04 | 316,903,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | cc | #include <iostream>
#include "LinkList.h"
using namespace std;
int main()
{
List<char> charList;
charList.Insert('a');
charList.Insert('b');
charList.Insert('c');
charList.Insert('d');
charList.Invert();
charList.Show();
List<char> char2List;
char2List.Insert('e');
char2List.Insert('f');
char2List.Inver... | [
"lixiangyang360@163.com"
] | lixiangyang360@163.com |
8be0ed4eb8f2cfc3f786d3b5003ba95031e14822 | 4c4c2501e80dea7039a0ea2d29c5adc7908f434f | /FEM/FEMEnums.cpp | 9c263b63027ae11abfe3e97103398774a085e7c4 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | ChaofanChen/ogs5-egs | de15e19e1497a3b91e0060c4fea18059fd3f06de | ed71af0b8410e8ef13302081443c91ca69982ac1 | refs/heads/master | 2023-03-18T07:53:23.108883 | 2019-07-01T08:06:57 | 2019-07-01T08:06:57 | 170,993,080 | 0 | 0 | NOASSERTION | 2019-02-16T10:52:58 | 2019-02-16T10:52:58 | null | UTF-8 | C++ | false | false | 14,641 | cpp | /*
* FEMEnums.cpp
*
* Created on: Sep 2, 2010
* Author: TF
* \copyright
* Copyright (c) 2015, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/licens... | [
"norihiro.watanabe@ufz.de"
] | norihiro.watanabe@ufz.de |
f5ee882edb256346eda068dd21b73cae66a75068 | f7a9767c7b7ad7de482e590741721bab995e5e7c | /libc/test/src/sched/sched_rr_get_interval_test.cpp | 3315bf945db298cdd7d3285dc55590a9e9ab5102 | [
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | kitaisreal/llvm-project | 891a43345e35c6643ad13ed489018b3273e183e9 | ac357a4773c22e0022558b627d8c3fb4aaabc125 | refs/heads/main | 2023-08-08T13:21:00.967289 | 2023-07-26T16:06:13 | 2023-07-26T16:16:41 | 230,374,981 | 0 | 0 | Apache-2.0 | 2019-12-27T04:50:32 | 2019-12-27T04:50:32 | null | UTF-8 | C++ | false | false | 2,360 | cpp | //===-- Unittests for sched_rr_get_interval -------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"goldstein.w.n@gmail.com"
] | goldstein.w.n@gmail.com |
3742de097f6a643122385b85d88d1b7ca35b98d0 | 3ffe8fad7737fb11b03ee1a502530ce7db5fec7c | /include/Player.h | 86b19494b00fa3b1b8f79a7da32d5ac93d286df3 | [] | no_license | RicardoRB/MetalZombie | 6dc3e8e263b85e8573cce6a9ffdc5f18c5f4885d | a973033c5a9f9cdad6cdaabfc3dfaab2ea2d08d1 | refs/heads/master | 2018-12-28T05:44:53.923725 | 2014-03-15T10:33:12 | 2014-03-15T10:33:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,828 | h | #ifndef PLAYER_H
#define PLAYER_H
#include "Character.h"
#include "Shot.h"
/*!
* \brief Class of the players
* \details This class will be the players that the user will control
* \author Ricardo Romero B.
* \version 0.1
* \date 1/20/2013
* \copyright GNU Public License.
*/
class Player :... | [
"soulfear91@gmail.com"
] | soulfear91@gmail.com |
8b9c3e0be9b96bd511dad4d98f166bc72e1fcadd | 5e2df3ef4259f9dd3ec9f204b8a5c8d99101e94a | /OJ/cccc/L2-017. 人以群分.cpp | 61193f2baae85340b7fcd1453737fe65087d48ff | [
"Unlicense"
] | permissive | carbonfish/Algorithm-1 | 7706acd11515d316ad089b61c12d0a9d0a1d5757 | 752f3582f15da8bca74fcaaa44ea8876ebdaf38e | refs/heads/master | 2021-01-02T10:55:43.734301 | 2020-01-31T06:23:37 | 2020-01-31T06:23:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | #include<bits/stdc++.h>
using namespace std;
const int maxn = 1e6+10;
int Ac[maxn];
int main(){
int N,O,I;
scanf("%d",&N);
for(int i=0;i<N;scanf("%d",&Ac[i++]));
sort(Ac,Ac+N);
int Mid=N/2;
int A=0,B=0;
for(int i=0;i<Mid;++i){
A+=Ac[i];
}
for(int i=Mid;i<N;++i){
B+=Ac[i];
}
I=N/2;
O=N%2?I+1:I;
printf("... | [
"jinmaup@gmail.com"
] | jinmaup@gmail.com |
3ad74889e0efaab80308a83d6aa55532717f515f | e4f6a9bf11770974bfce3b2ecfcae7aef3429470 | /pat1036.cpp | a4143101025b240a88acc7e92203192cdd156d3c | [] | no_license | Whosemario/PatSourceCodes | 43830aa30666efbba16164559050e898bb1fcc18 | 46ce34b00cbadab51dad023e046ca860e6bfab79 | refs/heads/master | 2021-01-22T06:58:39.174421 | 2013-06-28T02:38:57 | 2013-06-28T02:38:57 | 9,869,649 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | cpp | //============================================================================
// Name : PAT1036.cpp
// Author : Whosemario
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
... | [
"gx546532416@gmail.com"
] | gx546532416@gmail.com |
ea63af96a5352c5edabb45746c657aeab79a265e | f879d1512a5124271a624fe7d13f8848d82528ec | /Source/Bee/Core/Sort.hpp | 20c07ee8aef78af25f0240e77cd486df8909581d | [] | no_license | jacobmilligan/Bee | c07d88e54ed0e369dde58af568d58fd1f4d6255b | f7af4b1b43fe511f1df94aaa3e4abb9db60e4709 | refs/heads/master | 2023-04-15T04:42:15.534580 | 2021-04-26T16:52:48 | 2021-04-26T16:52:48 | 206,082,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,751 | hpp | /*
* Sort.hpp
* Bee
*
* Copyright (c) 2020 Jacob Milligan. All rights reserved.
*/
#pragma once
#include "Bee/Core/NumericTypes.hpp"
namespace bee {
/*
*********************************************************************************************************
*
* Radix sort implementations based on:
* - ... | [
"jacobpmilligan@gmail.com"
] | jacobpmilligan@gmail.com |
b83623aec47c466834c7a4d008c414eb9b3910f8 | 667989f334371af7e2c9920963a58a44f86c58da | /RoboticCircuit_INF1900/tp/tp5/pb2/pb2.cpp | d6e36951d712cd191f53a1e0bd98e669ccc1e982 | [] | no_license | Andrew-Abdo/portfolio | 6f8624f95eefbee205e0091c741561b9e513978b | b364f55fcf41754adcb8b20e3dd10078f3af1d98 | refs/heads/main | 2023-07-20T03:37:27.486138 | 2023-07-11T13:27:00 | 2023-07-11T13:27:00 | 352,485,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,277 | cpp | /*
* Andrew Abdo et Wail Ayad
* Numero equipe : 12
* Description: Probleme 1 du TP4
*
*/
#include <avr/interrupt.h>
#include <avr/io.h>
#define F_CPU 8000000
#include <util/delay.h>
#include "memoire_24.h"
void init(){
DDRD |= (1 << PD0) | (1 << PD1);
}
void initUART(){
// 2400 bauds. Nous vous ... | [
"anderious@hotmail.com"
] | anderious@hotmail.com |
1501718ede77bdc7eb91cc08f7b2d7121a96f5e2 | 5ed6a17f8a5b5d3fd915061c3b0b0bc833e8b80d | /leetcode/公平的糖果棒交换.cpp | e73cafa53ec640906cd2352cad9af9f36b8004ea | [] | no_license | young1928/Cpp | 9b084b498a56586804f2f5bda055df2e43ff5e6f | 4a80a11976392f3cb936353a784d916966432f99 | refs/heads/master | 2023-04-12T18:23:22.115514 | 2021-04-19T14:34:41 | 2021-04-19T14:34:41 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,781 | cpp | const int N = 1e5 + 10;
int fb[N];
class Solution {
public:
vector<int> fairCandySwap(vector<int>& A, vector<int>& B) {
memset(fb,0x00,sizeof fb);
int sum = 0;
for(auto& e : A)
sum += e;
for(auto& e : B) {
sum -= e;
fb[e] ++;
}
// ... | [
"2664484273@qq.com"
] | 2664484273@qq.com |
c974efc9f4379ba492d940a4791b6589b6ea439b | 1bf6613e21a5695582a8e6d9aaa643af4a1a5fa8 | /src/dart/runtime/vm/.svn/text-base/base_isolate.h.svn-base | 687054fb83ac81427a40cc4dbdae5feba834b36a | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | pqrkchqps/MusicBrowser | ef5c9603105b4f4508a430d285334667ec3c1445 | 03216439d1cc3dae160f440417fcb557bb72f8e4 | refs/heads/master | 2020-05-20T05:12:14.141094 | 2013-05-31T02:21:07 | 2013-05-31T02:21:07 | 10,395,498 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,932 | // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#ifndef VM_BASE_ISOLATE_H_
#define VM_BASE_ISOLATE_H_
namespace dart {
class HandleScope;
class Stack... | [
"creps002@umn.edu"
] | creps002@umn.edu | |
f086231aeda42d37516802e7b7ea8838c9b670e7 | 0651ad7069c4e4ac912c0967648325c78c9839b2 | /CppShellExtContextMenuHandler/FileContextMenuExt.cpp | 4ef480b4a3b3a5e252364de8fda1eaa078420a42 | [] | no_license | matreg/Yaremchuk_COM | f3faa3b582845357e5c088b2c0f70ba655e10447 | c3ca19f33b79413bc1045335558ee09369249034 | refs/heads/master | 2016-09-02T01:02:13.084859 | 2014-02-09T17:15:31 | 2014-02-09T17:15:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,183 | cpp | #include "FileContextMenuExt.h"
#include "resource.h"
#include <strsafe.h>
#include <Shlwapi.h>
#include <fstream>
#include <thread>
#include <queue>
#pragma comment(lib, "shlwapi.lib")
extern HINSTANCE g_hInst;
extern long g_cDllRef;
#define IDM_DISPLAY 0
std::string logFileAddress;
FileContextMenuE... | [
"matreg2012"
] | matreg2012 |
cb351ed89f7e4a86dd133dfa0efcda1283074298 | 82c4cd9426b842817de03a4a17ed0edc7eb5f5a3 | /main.cpp.cpp | 0805fc6fe1000cbb1c04eb3d61699c7b11037eaa | [] | no_license | Shishi-GA/lesson2 | 140d8f8d0849d18765b937607989589a9a19ac45 | 5173723eb540d944f778a09a91be817673095124 | refs/heads/master | 2023-01-19T13:40:57.583347 | 2020-11-08T20:02:43 | 2020-11-08T20:02:43 | 311,105,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | #include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main()
{
double a, b, x, y, k;
cin >> x >> y ;
if (fabs(y)>=0 && fabs(y)<=1)
k = fabs(x);
if (fabs(y)>1)
{
a = fabs(x);
b = fabs(y)-1;
k = sqrt(a*a+b*b);
}
if (fabs(y)<0)
... | [
"shishigapochta@gmail.com"
] | shishigapochta@gmail.com |
06e4842a420affb4019c1a5dba661f52e8e7318e | 67563a4436b914654dd441eb2e1915bbd41aa8ca | /Common/Util/src/MapDataVer.cpp | 7b548b0aafbb9fd847b3b73225b628e6dcb7cc81 | [
"Apache-2.0"
] | permissive | PKO-Community-Sources/ClientSide-Sources | 1cab923af538ffe9d9cb9154b14dd3e0a903ca14 | ddbcd293d6ef3f58ff02290c02382cbb7e0939a2 | refs/heads/main | 2023-05-13T00:15:04.162386 | 2021-06-02T15:35:36 | 2021-06-02T15:35:36 | 372,753,278 | 3 | 0 | Apache-2.0 | 2021-06-02T15:26:17 | 2021-06-01T08:17:07 | C++ | GB18030 | C++ | false | false | 3,757 | cpp | // #include "Stdafx.h"
#include "TerrainData.h"
#include "ObjectData.h"
#include "AttribData.h"
#include "MPMapDef.h"
//
#define LW_RGB555_R(rgb) (BYTE)( ( rgb & 0x7c00) >> 7 )
#define LW_RGB555_G(rgb) (BYTE)( ( rgb & 0x3e0) >> 2 )
#define LW_RGB555_B(rgb) (BYTE)( ( rgb & 0x1f) << 3 )
#define LW_RGB565_R(rgb) (BYTE)( ... | [
"businessyagura2k@gmail.com"
] | businessyagura2k@gmail.com |
e2298febb227b27269a48b486a0cf3ba06961686 | e58c3c7281a612d3a1d4cd6e06fa7fb4ce67a5b4 | /Products/DMS_DiffWks/showresults.cpp | 285dfbf2322a496b80ac7f1b9d69d6de9e572e41 | [
"MIT"
] | permissive | TrevorDArcyEvans/Diving-Magpie-Software | b6e117e4c50030b208f5e2e9650fd169f7d6daac | 7ffcfef653b110e514d5db735d11be0aae9953ec | refs/heads/master | 2022-04-10T11:23:57.914631 | 2020-03-24T13:24:54 | 2020-03-24T13:24:54 | 249,255,200 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,099 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "ShowResults.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "Placemnt"
#pragma resource "*.dfm"
TfrmShowResults *frmShowRes... | [
"tdarcyevans@hotmail.com"
] | tdarcyevans@hotmail.com |
b353c421f8a90e85d39c1f5463008101882459d7 | 4f1f1c8b906bebe10810525e58f9c1688eebc63b | /Library/RangeUpdateQuery.h | d05a00e1c5999233cf934cb41d4c075dec1bbe08 | [] | no_license | stone725/CompetitiveProgramming | 40ef3c6c9f9c8952366b1449805d21dc0c44d6dd | d6558c718e1dce384ca5accaf7253412849d590f | refs/heads/master | 2023-01-07T11:11:19.128446 | 2023-01-01T01:39:39 | 2023-01-01T01:39:39 | 194,200,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,180 | h | #include <vector>
#include <limits>
#include <algorithm>
struct RangeUpdateQuery
{
int n, now;
std::vector<int> dat, time;
void init(int n_)
{
n = 1;
now = 0;
while (n < n_)
n *= 2;
dat.resize(2 * n - 1, std::numeric_limits<int>::max());
... | [
"inf33554432@gmail.com"
] | inf33554432@gmail.com |
2b979dd5651b750b287ba4693df7e38a346eb7a8 | 160581b145f691b23c723f417c550619b416beca | /sfml/include/SFML/Window/Cursor.hpp | f51b49b9db95ca79bf186ae1369f0f67f1062e45 | [] | no_license | AntonGlomadov/LiDAR_main | df2fd6fa0cff4f1e2871a7e08ba75eddb3523200 | 879d244f84680c9ceba89cd5ba071e1ff7ded482 | refs/heads/master | 2021-01-16T09:18:38.222799 | 2020-02-15T21:15:23 | 2020-02-15T21:15:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,262 | hpp | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages a... | [
"maxxtereshko@gmail.com"
] | maxxtereshko@gmail.com |
90619453a01c2ba248b159ba9f788241bfce5a4c | 89e751b0b2df93287a5adbe1dce04b029dd3b008 | /src/convolution/core/math.h | 7674c1e51e0a8c7d23b89a32f33f91e2712130b6 | [] | no_license | lunochod/convolution | 816139a451fdbf13349545401cb1c817e7a95a88 | 86e174d1ec703bac0124cafee82050eeb9ba6715 | refs/heads/master | 2022-12-03T20:41:06.998453 | 2020-08-10T21:17:28 | 2020-08-10T21:17:28 | 284,136,983 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,190 | h | #ifndef CONVOLUTION_CORE_MATH_H
#define CONVOLUTION_CORE_MATH_H
#include <convolution/core/logging.h>
#include <cstdint>
namespace convolution {
namespace core {
enum class MatrixOrder {
kRowMajor,
kColumnMajor
};
/// \brief address calculation for MxN matrices
template <MatrixOrder order>
uint64_t address(uin... | [
"lunochod@users.noreply.github.com"
] | lunochod@users.noreply.github.com |
25facc4b7c1a31456f8232a051881a0dd7bc3063 | 157fd7fe5e541c8ef7559b212078eb7a6dbf51c6 | /TRiAS/TRiAS V2.07/TRiAS/SCHRIFT.CXX | ccda2d92164143fdd8f45f01578e8bc2b7ce99f3 | [] | no_license | 15831944/TRiAS | d2bab6fd129a86fc2f06f2103d8bcd08237c49af | 840946b85dcefb34efc219446240e21f51d2c60d | refs/heads/master | 2020-09-05T05:56:39.624150 | 2012-11-11T02:24:49 | 2012-11-11T02:24:49 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 14,270 | cxx | // Memberfunktionen fuer SchriftObjekte
// File: SCHRIFT.CXX
#include "triaspre.hxx"
#include <xtensnxx.h>
#include <xtensnd.h>
#include <funcs03.h>
#include "schrift.hxx"
extern bool DrawTextObjs;
extern bool PrintEFlag;
extern bool GenerateLegendOnly;
extern bool g_fPosTextAtBaseLine;
extern HPAL... | [
"Windows Live ID\\hkaiser@cct.lsu.edu"
] | Windows Live ID\hkaiser@cct.lsu.edu |
56c682eb094880a4eccede942345b30d56e3be1b | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-16.0/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp | 979a436756b8c213052954b3f9bbb801321d3bd7 | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 16,608 | cpp | //===- HexagonTargetTransformInfo.cpp - Hexagon specific TTI pass ---------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
/// \file
/// This file implemen... | [
"swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com |
c38bc2692aa23a143e2fdf01e3f8e69f3cb120fb | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/ConcreteIdentity/UNIX_ConcreteIdentity_STUB.hxx | 96c0efbdc8037748ac2d87085721b0e07d798cd4 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,816 | hxx | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.