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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8f5cf28c5c4b56080ab2beae292568d8d9c2de65 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE195_Signed_to_Unsigned_Conversion_Error/s02/CWE195_Signed_to_Unsigned_Conversion_Error__listen_socket_malloc_82.h | 09f6ca8fcfe57b3814453e0cd07dd9d11ceed6fb | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,393 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE195_Signed_to_Unsigned_Conversion_Error__listen_socket_malloc_82.h
Label Definition File: CWE195_Signed_to_Unsigned_Conversion_Error.label.xml
Template File: sources-sink-82.tmpl.h
*/
/*
* @description
* CWE: 195 Signed to Unsigned Conversion Error
* BadSource... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
ac15819fbbfde650423535e9d93f29e4f076c497 | 3700305318e94769f0680b28942b68e80e31568e | /Ethereal/Private/NPCs/Characters/NPCCharacterMaster.cpp | 3d05f68694ae7b7dbe67e0bc3d940cceec6530d9 | [
"Apache-2.0"
] | permissive | xaerowl/EtherealLegends | 6ec29bd21c8c2f501a1d5ddd3a7d7e819fbd0549 | 61e8af475497653f532af65624667cc09de3f824 | refs/heads/master | 2021-01-19T03:35:09.658875 | 2017-04-01T05:37:53 | 2017-04-01T05:37:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | // © 2014 - 2017 Soverance Studios
// http://www.soverance.com
// 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 applicab... | [
"scott.mccutchen@soverance.com"
] | scott.mccutchen@soverance.com |
608c56de4a325ece91372703fe06c6df0d6e0b60 | 07a6233bf28e103bd826211973cf30bf970a918d | /chapter2/2.31.cpp | 0f49e967a6585104d53d987b809cf4cac38b63b5 | [] | no_license | luo3300612/c-primer | 59df9d05b3dcc6719826a0e1cea431c22f50e68d | 2c89dc29fb0b18957f6b03ddbf25667e37103942 | refs/heads/master | 2020-05-03T15:10:35.012823 | 2019-11-05T00:34:29 | 2019-11-05T00:34:29 | 178,699,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 91 | cpp | //合法
//非法,int指针不可以指向const int 指针;合法
//非法同上,合法 | [
"591486669@qq.com"
] | 591486669@qq.com |
30b2f6e56ff58bc04c2839ccd817f632983bc760 | 207c015e853f69b456d49a915198be21925b3435 | /Source/FPSProject/Private/LaunchPad.cpp | 7cb11c69bf5a07dd44fd68f225af2729d67faf0d | [] | no_license | bonomjy07/StealthGame | 7008d39f14d21b02bce9cb9b5a677bc1a51fcc4d | 706405ccaa40592f69ed876777f9ef0efdbb1898 | refs/heads/master | 2022-07-22T08:34:19.611059 | 2020-05-10T15:39:18 | 2020-05-10T15:39:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,480 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "LaunchPad.h"
#include "Components/StaticMeshComponent.h"
#include "Components/BoxComponent.h"
#include "GameFramework/Character.h"
#include "Kismet/GameplayStatics.h"
#include "Particles/ParticleSystem.h"
// Sets default values
... | [
"bonomjy07@naver.com"
] | bonomjy07@naver.com |
86a8720f4c88ef654da59d3949bcd41ca956d6a3 | 9d3cb955f6a47e14a6f05abba4263ff290e29171 | /word2vec_logcorpussize/word2vec_ops.cc | 26a892194cd6ec4116a4c6c932ed99d0a526ee3a | [
"Apache-2.0"
] | permissive | ziyin-dl/log_corpus_size | 1231f47c2e942d478f47e0606c05cd5908c0f542 | 40eef0829944fd0c97596691c5bf57c17a7688a8 | refs/heads/master | 2020-03-16T05:13:55.578888 | 2018-05-07T23:46:27 | 2018-05-07T23:46:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,644 | cc | /* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"zyin@chaos2.stanford.edu"
] | zyin@chaos2.stanford.edu |
16ce2a784aad7df60d55d2cdf5d10824f85b6f5c | 34b8bb9621ea4ab5a5e5614f6723000f91e5e18d | /src/libs/sockets/sx_socketconnectrefused.hpp | bd02220aada1d7e018b81919f575d1a7e838c103 | [
"Apache-2.0"
] | permissive | suggitpe/RPMS | 39784b8f0dade1d2a078afc26a4dd4b2e4c67176 | 7a12da0128f79b8b0339fd7146105ba955079b8c | refs/heads/master | 2021-01-10T19:19:23.391960 | 2019-04-29T06:46:22 | 2019-04-29T06:46:22 | 10,453,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | hpp | #ifndef __sx_socketconnectrefused_hpp
#define __sx_socketconnectrefused_hpp
#include <si_exception.hpp>
#include <sockets/sx_socket.hpp>
EXCEPTION_DECL_STRT(SX_SocketConnectRefused, SX_Socket)
EXCEPTION_DECL_END
#endif
| [
"me@suggs.org.uk"
] | me@suggs.org.uk |
a4fc331d33025b7e55043806389010a24f7bd931 | 1bfc8362cb441e734e325c2b77f887b60eff5db8 | /s10_revisao/pessoa.cpp | 77422ac2c911b2c5d15093e95540212c21944471 | [] | no_license | senapk/prc_2020_1 | 505f9fe21ada397114b0f42786a6fea08ee06f0c | 3ff920b0b524a746663df05c5f81fb9738769f73 | refs/heads/master | 2021-01-08T07:32:36.442137 | 2020-10-07T21:51:49 | 2020-10-07T21:51:49 | 241,956,959 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | #include "pessoa.hpp"
#include <iostream>
using namespace std;
Pessoa::Pessoa(string n, int i){
nome = n;
idade = i;
}
string Pessoa::getNome() const{
return nome;
}
void Pessoa::envelhecer(){
idade = idade + 1;
} | [
"sena.ufc@gmail.com"
] | sena.ufc@gmail.com |
ec63d57f32b5674f5089bd17746d857bcec0fa48 | 4afcf7dc92bf5c9f859693238b062244b62d4597 | /Entropy/ObjectLayer.h | 9a8a94b3499c7d14be16fa69a798999d5eb5b6f6 | [] | no_license | jandricksen/Entropy | c3ca23862a7c1c86b8ac8a9b08029dfdb43a9970 | 4d3428a4b97ec0e88e9052036ad40acf0a9a4fae | refs/heads/master | 2020-04-11T09:55:04.311458 | 2015-10-03T11:30:48 | 2015-10-03T11:30:48 | 41,471,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | h | #pragma once
#include <vector>
#include "Layer.h"
#include "CollisionManager.h"
class GameObject;
class ObjectLayer : public Layer
{
public:
virtual ~ObjectLayer();
// pass a level object through
virtual void update(Level* pLevel, double delta);
virtual void render();
// return a pointer to this layers obj... | [
"jamesandricksen@gmail.com"
] | jamesandricksen@gmail.com |
fbc9529b912c073b3a8879aa542e50ba90d3ec14 | 0845ae2ca02071debcfd4ac24be871236c01784f | /src/library/compiler/util.h | 0f5d3e5e592d7c8faa7af4ece70ce14bd0788140 | [
"Apache-2.0"
] | permissive | GaloisInc/lean4 | 74c267eb0e900bfaa23df8de86039483ecbd60b7 | 228ddd5fdcd98dd4e9c009f425284e86917938aa | refs/heads/master | 2022-01-25T17:22:36.301592 | 2019-07-09T23:39:32 | 2019-07-09T23:39:32 | 192,390,898 | 0 | 0 | null | 2019-06-17T17:32:30 | 2019-06-17T17:32:29 | null | UTF-8 | C++ | false | false | 8,229 | h | /*
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include "util/pair_ref.h"
#include "util/list_ref.h"
#include "util/name_hash_set.h"
#include "kernel/expr.h"
#include "kernel/type_checker.h"... | [
"leonardo@microsoft.com"
] | leonardo@microsoft.com |
5877a0e6889a385ba2f384acc16f8ab4e71e78f9 | f655cf22d9eb9ce00003280907ad0a1d061109c6 | /kdrive/xorg-server-1.6.5-apple3/hw/xfree86/xorgconf.cpp | acf90f13ff5775b4725dcda809bf7d2ae7f8c4cb | [
"MIT-open-group",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-x11-adobe",
"HPND-sell-variant",
"ICU",
"ISC",
"SGI-B-1.1",
"MIT",
"LicenseRef-scancode-xfree86-1.0",
"X11-distribute-modifications-variant",
"HPND",
"LicenseRef-scancode-mit-old-style",
"Lice... | permissive | QPC-github/X11server | c9b313d5811e556f2cad7424adfc8d2ac322b1f5 | 532470604f6f17ad20bd2b08e07b4f09b4ab1a7c | refs/heads/main | 2023-07-28T20:22:48.192175 | 2011-06-01T05:16:52 | 2021-10-06T05:04:20 | 589,235,418 | 1 | 1 | null | 2023-01-15T14:27:05 | 2023-01-15T14:27:04 | null | UTF-8 | C++ | false | false | 19,082 | cpp | XCOMM $XdotOrg$
XCOMM
XCOMM Copyright (c) 1994-1998 by The XFree86 Project, Inc.
XCOMM
XCOMM Permission is hereby granted, free of charge, to any person obtaining a
XCOMM copy of this software and associated documentation files (the "Software"),
XCOMM to deal in the Software without restriction, including without limit... | [
"91980991+AppleOSSDistributions@users.noreply.github.com"
] | 91980991+AppleOSSDistributions@users.noreply.github.com |
f1cf038b1e18e76262eb431d9c1e7c54bc5f0d9d | 5219cfd2306331c38f9da316c5d2eda520ef94b5 | /tests/types.cpp | 41e50550569485bad0da54594c6c37362d65dfa8 | [] | no_license | estelle0500/process-memory-viewer | a132cd7e363c11b6d7e36beb710b0cd30be4dbba | 23b48f0e83759a866a0b7acf4d94895f7017c430 | refs/heads/master | 2023-01-28T19:34:33.961210 | 2020-12-05T16:18:46 | 2020-12-05T16:19:04 | 301,021,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | cpp | #include <iostream>
#include <unistd.h>
/*
This test program will run in an infinite loop.
Our ProcessMemoryViewer should be able to overwrite the `status` variable and break out of the loop.
*/
int main() {
static int l = 1336;
float f1 = 1337.0;
float f2 = 1337.5;
int leet = 13... | [
"tylervbarton@gmail.com"
] | tylervbarton@gmail.com |
52e50ee988364348fe19e0705bde7ed7efccc187 | a4b723f7f6988b52f6ca51a000829580e943e536 | /Hmwrk/CIS5Assign1/Gaddis_9th_Ch2_Problem18_EnergyDrinkConsumption/main.cpp | bdec9c0ebe270113ae235cc637e715adab37f5f1 | [] | no_license | KevinShih88/CIS5Winter2021 | 338691fb69312b5bf70f162901b1e221722c9fbe | 681f247bec8a436c37b8e88b915d496f29079f5b | refs/heads/master | 2023-02-24T08:00:28.660086 | 2021-01-25T21:50:49 | 2021-01-25T21:50:49 | 332,113,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,460 | cpp | /*
* File: main.cpp
* Author: Kevin Shih
* Created on January 5, 2021, 1948
* Purpose: Gaddis 9th Ch2 Problem18 EnergyDrinkConsumption
*/
//System Libraries
#include <iostream> //I/O Library
using namespace std;
//User Libraries
//Global Constants
//Math, Science, Universal, Conversions, High Dimensioned Ar... | [
"kshih1@student.rccd.edu"
] | kshih1@student.rccd.edu |
73f89de1f83e51f66f7e93ddf70a462613c2a7b3 | 6f49cc2d5112a6b97f82e7828f59b201ea7ec7b9 | /wdbecmbd/CrdWdbeMod/PnlWdbeModRec.cpp | 31df7c5c6f6439591fdde0c75eb00e1e261be943 | [
"MIT"
] | permissive | mpsitech/wdbe-WhizniumDBE | d3702800d6e5510e41805d105228d8dd8b251d7a | 89ef36b4c86384429f1e707e5fa635f643e81240 | refs/heads/master | 2022-09-28T10:27:03.683192 | 2022-09-18T22:04:37 | 2022-09-18T22:04:37 | 282,705,449 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,349 | cpp | /**
* \file PnlWdbeModRec.cpp
* job handler for job PnlWdbeModRec (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 28 Nov 2020
*/
// IP header --- ABOVE
#ifdef WDBECMBD
#include <Wdbecmbd.h>
#else
#include <Wdbed.h>
#endif
#... | [
"aw@mpsitech.com"
] | aw@mpsitech.com |
10f144bd037a0650a73f332935ef5504e16d296e | e1e43f3e90aa96d758be7b7a8356413a61a2716f | /datacommsserver/networkcontroller/ts_netcon/TestSuiteNetCon.cpp | 03eb09169e0cc7ce61a0e64ca29b197dc6cd3be6 | [] | no_license | SymbianSource/oss.FCL.sf.os.commsfw | 76b450b5f52119f6bf23ae8a5974c9a09018fdfa | bc8ac1a6d5273cbfa7852bbb8ce27d6ddc076984 | refs/heads/master | 2021-01-18T23:55:06.285537 | 2010-10-03T23:21:43 | 2010-10-03T23:21:43 | 72,773,202 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,540 | cpp | // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/e... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
da18337a2f6bd4ae4a24172cff0b8b81049e3725 | a3b48ee5c335eb4545572c3175cdece4969cdedd | /TestGameProject/src/ECS/ProjectileComponent.h | 33224ffb6973067c1b0ab0e6e58035860fa520e7 | [] | no_license | selestiel/TestGameProject_sol | 16def559fb86db2020a31a7930f2a4b33a4c784f | 9daeb03c70a2fcdb56f2b3e24dacecc13ba42c95 | refs/heads/master | 2022-11-28T05:57:57.679256 | 2020-08-06T11:41:40 | 2020-08-06T11:41:40 | 283,966,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | h | #pragma once
#include "ECS.h"
#include "Components.h"
#include "../Vector2D.h"
class ProjectileComponent : public Component
{
public:
ProjectileComponent(int rng, int sp, Vector2D vel) : range(rng), speed(sp), velocity(vel)
{
}
~ProjectileComponent()
{}
void init() override
{
transform = &entity->getCompon... | [
"selarch2018@gmail.com"
] | selarch2018@gmail.com |
5ab014c894506f1cf05111b4ef7c68f613658335 | 31432314f584e6ccb9249d8b5a763d7948cc891f | /src/game/entities/Office.cpp | 59781fadd62205f489f2848ac3e44b2552e79fdf | [] | no_license | Smeshan/Elevator-rush | d6ab917f05a7a7963176164e259fa10e3ded1654 | 2edf42c748ddd235386bd96256ede1ee0349aae9 | refs/heads/master | 2023-09-05T14:59:29.220081 | 2021-11-12T13:43:59 | 2021-11-12T13:43:59 | 427,373,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,296 | cpp | /* Corresponding header */
#include "game/entities/Office.h"
/* C system icnludes */
/* C++ system icnludes */
#include <string>
#include <memory>
/* Third-party icnludes */
/* Own icnludes */
#include "common/CommonDefines.h"
#include "game/levels/LevelPos.h"
constexpr auto REQUEST_TEXT_POS_X = 120;
constexpr aut... | [
"ilian.pavlov@hotmail.com"
] | ilian.pavlov@hotmail.com |
2db484cad1a1738a6f57d7edaa22533353cb1204 | ee92057a8ebc91ba90d8055a9bece25d24211499 | /kattis/apaxiaaans/apaxiaaans.cpp | 3527bafd9075e1618e3d2540e15d72de1a6f6ddd | [] | no_license | KendrickAng/competitive-programming | ce0a4f44f592f295c2f8cd7e854139f18fb8853a | f9768a2020f801b8e4787cc853398b8258a0bf09 | refs/heads/master | 2022-05-29T07:21:32.607089 | 2022-04-24T16:35:14 | 2022-04-24T16:35:14 | 254,402,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | #include <iostream>
#include <string>
int main() {
char p1;
std::string in;
std::string out = "";
std::cin >> in;
for (char c: in) {
if (c != p1) {
p1 = c;
out.push_back(c);
}
}
std::cout << out << std::endl;
} | [
"kendrick.wh@outlook.com"
] | kendrick.wh@outlook.com |
ccc0fa32d994f7aa0ff8216984786e758cfd5615 | 1a1b98a049063b542c85c5f767e1a8227baa0799 | /359.cpp | 7cc5c3ee2c4d2ae7559c05df888e4a5f4e20d974 | [] | no_license | Bhabaranjan19966/COMPETITIVE-PROGRAMMING--ACCEPTED-CODE | 79fdcf60147a66efbeaf35e159195d9fb2e7695a | 9c8e0ea035e4b5cfd0c77134e54f3fe83b3e55fb | refs/heads/master | 2020-03-28T21:26:39.318002 | 2018-09-17T16:39:03 | 2018-09-17T16:39:03 | 149,156,737 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | cpp | #include<cstdio>
#include<iostream>
#define S scanf
#define P printf
using namespace std;
int main()
{
int n,k;
S("%d%d",&n,&k);
for(int i=0;i<n;i++)
{
if(k)
{
k--;
P("%d %d ",(2*i)+2,(2*i)+1);
}
else
{
P("%d %... | [
"bhabaranjanpanigrahi@gmail.com"
] | bhabaranjanpanigrahi@gmail.com |
dff2d1261f0a718e2ad5145e2d8e20a8a23311b0 | e322601be596113f64efbeb819b24f714c55c007 | /src/merkleblock.h | d60d1abf8abda3c7a82476762b2f9ea5bb7ed3ae | [
"MIT"
] | permissive | Securypto/Securypto-testv1 | e01439cef654f1fa98def7c327f49e94907d60a5 | 8569bac47c392243604123dcaf2b4aacb229b5f3 | refs/heads/master | 2020-04-05T17:57:27.019866 | 2019-01-18T07:52:11 | 2019-01-18T07:52:11 | 157,082,952 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,506 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017 The Securypto developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_MERKLEBLOCK_H
#define B... | [
"root@S004.securypto.io"
] | root@S004.securypto.io |
ef2e3cc3aa4f3b3a79289e7f7d3a116db7cb6ce1 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc | 7ebbcb01e96101292be43eae6eb6abe38582d238 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/extensions/chrome_manifest_url_handlers.h"
#include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h"
#in... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
f931289226805449bcbdc4e91718e13a037e8da5 | ae14d7582407bdf04c3cd10900e8f6576fc2fad0 | /advanced_cpp/day5/4_forward3.cpp | 12bcaa6fdad1e90b13863ceaa8b9e0351a081936 | [] | no_license | jingal/Lecture | feebab4283353a79dd410cbead22cd67d652a929 | c1c1709bc3effbc4883970f1439a4c6a24531ae0 | refs/heads/master | 2021-01-19T20:11:18.543858 | 2018-04-27T06:50:39 | 2018-04-27T06:50:39 | 88,491,615 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 598 | cpp | //4_forward2
#include <iostream>
using namespace std;
void hoo(int&& a) {}
void foo(int& a) {}
// main => lockAndCall => 원본함수
// n => t(lvalue), T:int& => foo(int&)
// 10 => t(lvalue), T:int => hoo(int&&)
template<typename F, typename T>
void lockAndCall(F f, T&& t)
{
//f(std::forward<T>(t));
... | [
"ilovejinjoo@gmail.com"
] | ilovejinjoo@gmail.com |
354e0980bbce88ddffdffe5ffa34f3b1329c8457 | 04bc90b8f69c04eff30c49309c6a941f690e5c87 | /c++/Problems/CommonSubString.cpp | 4e959290b06dca1aa19ec55d4dc96d4948a8dc1f | [] | no_license | pkbehera/BoiledFrogs | c0eddcc47bcee59f3225d80a3b1eec6c5af5c51a | 890f2b7268661178303996b50eee2bcd1d7fa518 | refs/heads/master | 2021-01-20T17:02:40.519715 | 2017-03-21T15:17:54 | 2017-03-21T15:18:04 | 61,060,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 891 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<iostream>
using namespace std;
class Node {
char _c;
Node* _n1;
Node* _n2;
public:
Node(char c) {
_n1 = NULL;
_n2 = NULL;
};
void n1(Node* n) { _n1 = n; };
void n2(Node* n) { _n2 = n; };
Node* n1() { return _n1; };
Node* n2() { return _n2; };
c... | [
"pkbehera@lycos.com"
] | pkbehera@lycos.com |
4a49fbcddd6df3cb503113b1033a8d9bc248925d | 574933565e69f1fadd4982aee98bfe48eaa94191 | /C_С++/OOP/labs/pract4/MDate.h | 66f32c5c9419514f228c7343f5a96d443569cf60 | [] | no_license | andryuha24/CourseBachelorKRSU | 96f831666f9ba57a5ae9fd2a74210aea2258c87d | 542b9ddfd9db8dbf039a03390796e61347c74f22 | refs/heads/master | 2021-01-12T13:32:31.424327 | 2018-02-03T17:30:40 | 2018-02-03T17:30:40 | 69,844,356 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 923 | h | #ifndef MDATE_H_INCLUDED
#define MDATE_H_INCLUDED
class MDate
{
private:
long fullDate;
long to_LongDate(int y, int m, int d);
void from_LongDate(int &y,int &m,int &d);
public:
MDate(); //Конструктор без парметров
MDate(int y, int m, int d); //Конструктор с параметрами
... | [
"Al-Catraz2023@mail.ru"
] | Al-Catraz2023@mail.ru |
ff71543cd9905b793b4c7c67f74f32c4c8b21f8d | 9103d2fd8002fa57b0a5bab5eea8dbc519236212 | /Project4/Project4/源6.cpp | 20aff42cf65edb128f95811803bc7bc8e574a382 | [] | no_license | guettian/huaweioj | b11d7af31fa4ebe0a84d25d4f7a2ef06d631df58 | cfb28654a61aefaa0288289b8f95b3095f286f65 | refs/heads/master | 2020-04-25T05:29:20.769607 | 2015-09-12T14:04:38 | 2015-09-12T14:04:38 | 41,990,729 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,255 | cpp | /*
名字的漂亮度
测试通过,未能通过OJ
*/
#include <iostream>
#include <string>
using namespace std;
//#define LEN (26);
int calcbeauty(string s) //寻找字符串出现次数最多的字符
{
int len = s.length();
int num[26] = {0};
int index,temp;
int result = 0;
string::iterator iter;
for(iter = s.begin(); iter !=s.end(); ++iter)... | [
"guettian@163.com"
] | guettian@163.com |
b4d3de2dc7a01c463da16787f8b72c3ddb86b8e6 | 27321d208c28f6ed96255998dfe5de16d512fdc4 | /Source/TextToSpeechLibrary.cpp | fcb89707e528df015f497d566063ad72ffd3c0e5 | [] | no_license | yar3333/text-to-speech-ue4 | 850adbaaa6321c8f5b17d2213df0cc7c2d81375b | 213aef73a688807e78393402fd67385ab9f2ccc9 | refs/heads/master | 2022-05-04T17:42:29.675561 | 2022-04-12T10:14:34 | 2022-04-12T10:14:34 | 159,508,032 | 37 | 11 | null | 2022-04-12T10:14:35 | 2018-11-28T13:40:08 | C++ | UTF-8 | C++ | false | false | 508 | cpp | #include "TextToSpeechLibrary.h"
#include "TextToSpeechPCH.h"
#include "TextToSpeechSoundWave.h"
UTextToSpeechLibrary::UTextToSpeechLibrary(const class FObjectInitializer& PCIP) : Super(PCIP)
{
}
USoundWave* UTextToSpeechLibrary::TextToWave(FString VoiceRequiredAttributes, FString VoiceOptionalAttributes, int32 Rate,... | [
"yar3333@gmail.com"
] | yar3333@gmail.com |
fdd956fc13f00654a68acde39d3fd2894802bccd | 98b7701ff6a50768b5ba64510a283fd7796228f7 | /hardwares/flow_control/Pump.cpp | 22b4ef52af73aa91a408e60838d03841dcdaa746 | [] | no_license | asef18766/ESD_farm_node | 9e79679b28839bc088ac791f8faa93ffa0d4e0a7 | c2924975c406d6d91b07e3e083b04e54ba037468 | refs/heads/master | 2023-02-19T06:22:32.408756 | 2020-12-30T19:14:55 | 2020-12-30T19:14:55 | 321,146,521 | 0 | 0 | null | 2020-12-30T11:29:58 | 2020-12-13T19:46:25 | C++ | UTF-8 | C++ | false | false | 821 | cpp | #include "Pump.h"
volatile int flow_frequency; // Measures flow meter pulses
bool PUMP_SWITCH = true;
void flow() // Interrupt function
{
flow_frequency++;
}
void PumpSetUp()
{
pinMode(PUMP_PIN, OUTPUT);
pinMode(FLOWMETER_PIN, INPUT);
attachInterrupt(digitalPinToInterrupt(FLOWMETER_PIN), flow, RISING);
... | [
"asef18766@gmail.com"
] | asef18766@gmail.com |
ffca56f8a25f495d83c18dc5fd7126452b4d8d9d | 2424ff321dd70fa210bc525fd3641ff2818ad1b2 | /jctvc_crawler.cpp | 0d3783943ee8f98dfed893bf50c3948ec394becd | [] | no_license | hankrof/jctvc_document_system_fetcher | b4fe4b0c5d5728978f3f0951dc94a0b7be061000 | b7cc049db9db30dcccde10506afdf093e173e9d1 | refs/heads/master | 2020-04-05T11:36:10.738642 | 2018-11-09T09:41:37 | 2018-11-09T09:41:37 | 156,840,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | #include "jctvc_crawler.h"
JCTVCAllMeetingPageCrawler::JCTVCAllMeetingPageCrawler()
: HTMLCrawler("http://phenix.int-evry.fr/jct/doc_end_user/all_meeting.php")
{
}
| [
"hankrof@gmail.com"
] | hankrof@gmail.com |
98c4a72ef83ca0055064e30c5f2a5a6c9315236c | 43e1578e82c17ad4fe3022a6699f4310e563e949 | /LGPOperators/LGPOperator_Exp.cpp | 1a4785999d51ff142caaba78dc83ef477bb2371f | [
"MIT"
] | permissive | chen0040/cpp-mfc-fractal-art-iec-lgp | 1877c864c0be612473876f6a7e5e6c61603a7a9e | 108b6ca40f73accc7959da5da0fdcb963136ad0c | refs/heads/master | 2021-01-23T18:31:36.810457 | 2017-09-08T00:43:11 | 2017-09-08T00:43:11 | 102,797,517 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,897 | cpp | #include "stdafx.h"
#include "LGPOperator_Exp.h"
#include "../LGPConstants/LGPProtectedDefinition.h"
#include <cmath>
#include <sstream>
LGPOperator_Exp::LGPOperator_Exp()
: LGPOperator("exp")
{
m_method_name="lgp_exp";
}
LGPOperator_Exp::~LGPOperator_Exp()
{
}
int LGPOperator_Exp::Execute(const LGPRegister *opera... | [
"xs0040@gmail.com"
] | xs0040@gmail.com |
464fffda96f2b5e8b4ca7fa254786983007b6f2b | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_6955.cpp | f390a417ac9dc93fd4e8cbe6de72cb86828b3d1a | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,515 | cpp | +/*
+ * Abstract Syntax Notation One, ASN.1
+ * As defined in ISO/IS 8824 and ISO/IS 8825
+ * This implements a subset of the above International Standards that
+ * is sufficient to implement SNMP.
+ *
+ * Encodes abstract data types into a machine independent stream of bytes.
+ *
+ */
+/*******************************... | [
"993273596@qq.com"
] | 993273596@qq.com |
8026b0cc74eee3f497d8615b79d20d3d6083e44b | a964826c7d71c0b417157c3f56fced2936a17082 | /Attic/ClockworkEditorReference/Source/UI/Modal/UIInfoModule3D.h | 2b74e31888b42fbefb27850af101c73794fc3bd7 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"LicenseRef-scancode-openssl",
"BSD-3-Clause",
"NTP",
"BSL-1.0",
"LicenseRef-scancode-khronos",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"Zlib"
] | permissive | gitter-badger/Clockwork | c95bcfc2066a11e2fcad0329a79cb69f0e7da4b5 | ec489a090697fc8b0dc692c3466df352ee722a6b | refs/heads/master | 2020-12-28T07:46:24.514590 | 2016-04-11T00:51:14 | 2016-04-11T00:51:14 | 55,931,507 | 0 | 0 | null | 2016-04-11T01:09:48 | 2016-04-11T01:09:48 | null | UTF-8 | C++ | false | false | 673 | h | // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
// Please see LICENSE.md in repository root for license information
// https://github.com/ClockworkGameEngine/ClockworkGameEngine
#pragma once
#include "UIModalOps.h"
#include <TurboBadger/tb_select.h>
#include <TurboBadger/tb_select_item.h>
nam... | [
"dragonCASTjosh@gmail.com"
] | dragonCASTjosh@gmail.com |
bb13818e1103586efb0e76535a56ea86dbaa8c85 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium/base/threading/simple_thread_unittest.cc | 4014d70a2620855a0adb7c28977dedec9d237daa | [
"MIT",
"BSD-3-Clause"
] | 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 | 4,360 | cc | // Copyright (c) 2010 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 "base/atomic_sequence_num.h"
#include "base/string_number_conversions.h"
#include "base/threading/simple_thread.h"
#include "base/synchroniza... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
e4b40a0995ba37cb478b9a4db8a93b2bc740181b | f0a361e75219aaaa592b19deeaa4eb00312551b3 | /Heritor/Fax.cpp | 32516d3ea43002228e5643947f195cb3f29f5de4 | [] | no_license | luputona/InHeritor | 0c3d4f9b6ebd4c30fdd3723138a5dc801e66ea07 | e7fc17224bdf98ed50dbeccee892a395b1d89a2f | refs/heads/master | 2021-07-25T21:40:32.546787 | 2017-11-09T06:16:56 | 2017-11-09T06:16:56 | 110,061,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | cpp | #include<iostream>
#include<cstring>
class Phone
{
public:
void Switch(int n)
{
m_On = n;
}
private :
int m_On;
};
class Printer
{
public:
void Switch(int n)
{
m_On = n;
}
private:
int m_On;
};
class Fax : public Phone, public Printer
{
};
void main1()
{
Fax myFax;
myFax.Phone::Switch(1);
} | [
"luputona5"
] | luputona5 |
64167294e9762e3c9ca83fff64108d8cf94e224c | 09a20466c1650ab4beb6554ceabc8649a7540c06 | /core/src/jni/jni/AmountListCallback.cpp | 9bd527a32c5a866687792fc69f1168a8ba42c76d | [
"MIT"
] | permissive | LedgerHQ/lib-ledger-core | 2f1153655ed7c116b866d2b21920a8a3017f5d96 | ad1e271b5f61e92f663ff08c337acc8b107fc85f | refs/heads/main | 2023-07-09T18:24:41.408616 | 2023-07-06T13:09:06 | 2023-07-06T13:09:06 | 68,716,694 | 99 | 99 | MIT | 2023-06-30T08:36:20 | 2016-09-20T13:51:06 | C++ | UTF-8 | C++ | false | false | 1,448 | cpp | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from callback.djinni
#include "AmountListCallback.hpp" // my header
#include "Amount.hpp"
#include "Error.hpp"
#include "Marshal.hpp"
namespace djinni_generated {
AmountListCallback::AmountListCallback() : ::djinni::JniInterface<::ledger::core:... | [
"khalil.bellakrid@ledger.fr"
] | khalil.bellakrid@ledger.fr |
26fb767c7d0e46395c51ea757020d025338a16db | 0400ac52a20058bf13a064b838872473212765ca | /Unity_Code/DinoRun_Final/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_Va223940037.h | 0a20e7dab3dda1d1d024d50ec271514463e9be64 | [
"Apache-2.0"
] | permissive | BPenzar/SuperDinoBros. | b7e6be07bfc4278d85eeb986f4740c9a91e01689 | f46b866c5a1119c6753dbd8e963212f17a4a31d5 | refs/heads/master | 2021-01-20T04:29:24.503356 | 2017-07-25T14:58:12 | 2017-07-25T14:58:12 | 89,697,299 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,505 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object2689449295.h"
// System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.KeyValuePair`2<System.Type,SimpleJson.Reflection.Ref... | [
"bruno.penzar@posteo.de"
] | bruno.penzar@posteo.de |
6b70a193173b9e56345a4578bb17180bb752979b | 1f4da706c731d2bea08e945d7ff8c8a7596298aa | /src/ports/morsesmalecomplexport.cpp | e41e2d0328557d00ce5e9d90c794d0b65fa822bd | [] | no_license | xeTaiz/inviwo-topologytoolkit | c9734d1d59e1a70be7278116d3a6996162bf98b3 | c948be74b34a7e33edb753aee423c9c092881fea | refs/heads/master | 2023-02-13T22:40:29.757973 | 2021-01-14T07:48:04 | 2021-01-14T07:48:04 | 329,543,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,686 | cpp | /*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2019 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that th... | [
"dominik.engel@mail.de"
] | dominik.engel@mail.de |
083edd2235ef027c823b432c799afaa2f6d6e224 | a40441043e2074a3fb1751876def53d29bea529e | /engine/matrix.cpp | 773645a40c3d9631544cf36cd008498da17df725 | [] | no_license | netguy204/giggle | 1889182949229c1940bda15a78fbf43dd9d42ab0 | 08c1d344e317927c7326388866f39cd13efe9cd6 | refs/heads/master | 2021-01-10T20:30:03.687025 | 2014-03-29T15:21:29 | 2014-03-29T15:21:29 | 10,142,807 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,031 | cpp | /*
* This file is part of GambitGameLib.
*
* GambitGameLib is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GambitGame... | [
"el.wubo@gmail.com"
] | el.wubo@gmail.com |
2405af614a9ac96a861f66474d2179c7fc9c6fbe | 574cdcc55131068d43fb32d9b53b09d4de654595 | /RideTheFlow/RideTheFlow/src/actor/particle/ParticlePtr.h | 2cb20feebeebed994cd2fcda5536fad21f393fd7 | [] | no_license | Jimendaisuki/RideTheFlow | 58a966ea820fbf270307118189e5ebe435807cab | 5c9a68a085974c8149b14ecdf9ad7e6c3a019ece | refs/heads/master | 2020-04-06T11:56:01.428980 | 2016-07-01T03:36:19 | 2016-07-01T03:36:19 | 55,942,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 94 | h | #pragma once
#include <memory>
class Particle;
typedef std::shared_ptr<Particle> ParticlePtr; | [
"taroramen310@gmail.com"
] | taroramen310@gmail.com |
8dd275f21501c82744d2c5b12967f475badb888f | 457934a28c6d8f28b445b7baf69b5792eb71b49e | /example_2_9_2/constant/polyMesh/points | fe676f9cc24b7428e1cef305d8183ebc34e07677 | [] | no_license | rs628/optimalcontrol292 | f45e9612b05096195ffa426fa1ea7d59b44d4a32 | fce11bc2557c8c17d6c242e807c631b82a588543 | refs/heads/master | 2020-07-24T19:20:02.697183 | 2019-09-15T18:49:12 | 2019-09-15T18:49:12 | 208,021,088 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,201 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1812 |
... | [
"rs628@snu.edu.in"
] | rs628@snu.edu.in | |
086bbbeb40edb9a2a94472142ed674aa03ae5049 | e1d6417b995823e507a1e53ff81504e4bc795c8f | /gbk/server/Server/Server/Obj/Obj.cpp | ed1df11523d94af022bfa1455c91a271f3373608 | [] | no_license | cjmxp/pap_full | f05d9e3f9390c2820a1e51d9ad4b38fe044e05a6 | 1963a8a7bda5156a772ccb3c3e35219a644a1566 | refs/heads/master | 2020-12-02T22:50:41.786682 | 2013-11-15T08:02:30 | 2013-11-15T08:02:30 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,117 | cpp | // Obj.cpp
#include "stdafx.h"
#include "Scene.h"
#include "ObjList.h"
#include "GCDelObject.h"
#include "GCObjTeleport.h"
#include "GUIDManager.h"
#include "Obj.h"
Obj::Obj( )
{
__ENTER_FUNCTION
m_ObjID = INVALID_ID;
m_uPoolID = UINT_MAX;
m_uSingleMgrIndex = UINT_MAX;
m_pObjNode = new _OBJ_LIST_NODE( th... | [
"viticm@126.com"
] | viticm@126.com |
31bd478e192f3faed7a0f9317a06c8b76ad1e4de | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/pack_daemon/MultistateFitnessFunction.cc | b40e4113fd0a84d852a93a1f5312e6eb9723cc46 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 20,335 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
9c953f1317e3b45bf78161bd79168b6bcd7b221e | a93a9b5bfd0f41ac5b1d599e7bf184ba45ff909e | /GPU/GPUTracking/TPCClusterFinder/CfConsts.h | fbf854789bc570cfee743915cb921591b9be2a60 | [] | permissive | preghenella/AliRoot | ce49b012fd85a7e47c7a868b092406cf32a6eade | 7a1a71f12a47e78e5082253e7a8edf08cd8afff6 | refs/heads/master | 2021-07-24T04:50:05.717754 | 2020-03-29T08:14:34 | 2020-03-29T08:14:34 | 128,885,625 | 0 | 0 | BSD-3-Clause | 2018-04-10T06:38:28 | 2018-04-10T06:38:27 | null | UTF-8 | C++ | false | false | 3,598 | h | //**************************************************************************\
//* This file is property of and copyright by the ALICE Project *\
//* ALICE Experiment at CERN, All rights reserved. *\
//* *\
//* Prim... | [
"giulio.eulisse@cern.ch"
] | giulio.eulisse@cern.ch |
e08f59502130a954b55dca3560eb37cd4c129ee8 | 162a3db1eb6017a94e9f378d7a20f61e581ecbe9 | /src/content/browser/loader/navigation_url_loader_impl_unittest.cc | 82ebc55f63fc836dd8f1b71c643adae9d55d8111 | [
"BSD-3-Clause"
] | permissive | webosose/chromium84 | 705fbac37c5cfecd36113b41b7a0f4e8adf249d5 | 5decc42bef727dc957683fb5d8fa2fcc78936f15 | refs/heads/master | 2023-05-29T13:53:50.190538 | 2021-06-08T07:56:29 | 2021-06-10T01:19:24 | 330,895,427 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 22,297 | cc | // Copyright 2017 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 "content/browser/loader/navigation_url_loader_impl.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/b... | [
"youngsoo.choi@lge.com"
] | youngsoo.choi@lge.com |
5acc71681de7e2bda1fd083a9554a61fd3eb7fcb | 5722258ec3ce781cd5ec13e125d71064a67c41d4 | /javafx/beans/value/ChangeListenerProxyForward.h | cb1ae649f04853fe7502f474e85fd7b2a66101d2 | [] | no_license | ISTE-SQA/HamsterJNIPP | 7312ef3e37c157b8656aa10f122cbdb510d53c2f | b29096d0baa9d93ec0aa21391b5a11b154928940 | refs/heads/master | 2022-03-19T11:27:03.765328 | 2019-10-24T15:06:26 | 2019-10-24T15:06:26 | 216,854,309 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | h | #ifndef __javafx_beans_value_ChangeListenerProxyForward_H
#define __javafx_beans_value_ChangeListenerProxyForward_H
namespace javafx
{
namespace beans
{
namespace value
{
class ChangeListenerProxy;
}
}
}
#endif
| [
"steffen.becker@informatik.uni-stuttgart.de"
] | steffen.becker@informatik.uni-stuttgart.de |
513783677bc9ad03660d642f2803308afd28c896 | c82e95a99ab6c50dc1ed8b17ff3df61cad0d1f0a | /beelzebub/arc/x86/inc/lock_elision.hpp | a24c8dda90b2596b5f33e76fe0c995e82a6a2d13 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dalalsunil1986/Beelzebub | aa8bc4b6346ae61d866488376177ba3f0446ae28 | 9d0e4790060b313c6681ca7e478d08d3910332b0 | refs/heads/master | 2023-05-14T07:50:26.412632 | 2021-06-06T09:56:39 | 2021-06-06T09:56:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,986 | hpp | /*
Copyright (c) 2016 Alexandru-Mihai Maftei. All rights reserved.
Developed by: Alexandru-Mihai Maftei
aka Vercas
http://vercas.com | https://github.com/vercas/Beelzebub
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation... | [
"contact@vercas.com"
] | contact@vercas.com |
5591af409913ea85060da6af89ec90152f471fb9 | 5df1a677af9379c9a82f1b29359a65ad8cbc385e | /CodeForces/PastContest/336256/G.cpp | 7557ecef6115b578a6a5d4a280c5baa2e36477ac | [] | no_license | heyshb/Competitive-Programming | 92741a4e7234e1ebce685c1b870f1287bee18f1a | 363ef78d950afb53f0e5f1d2329f27dd7b9a44c2 | refs/heads/master | 2021-12-15T03:12:37.676111 | 2021-12-01T14:32:25 | 2021-12-01T14:32:25 | 122,315,094 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<int,int> pii;
int n;
int a[1000010];
int stk[1000010], top;
int nxt[1000010];
int d[1000010];
int main() {
scanf("%d",&n);
for (int i = 1; i <= n; i++) {
scanf("%d",&a[i]);
}
a[n + 1] = 1e9 + 10;
stk[top = 1... | [
"heyshb123@gmail.com"
] | heyshb123@gmail.com |
a8f348904d3fdd55326b8e33022c58f9e06cc21b | 329c1515fe654d9abc7943c3bc327d9f6f918f97 | /Lagra/widget.h | fdbfc21aedc176e305d24f60de7052073d69a93d | [] | no_license | Kupchinsky/MV | 5a56ead4584a534466ae8dfc080105cb0c5b2a08 | b41f5d43e36722e2ab30940ddb2dc92968e9469a | refs/heads/master | 2021-01-17T15:43:38.017275 | 2016-04-05T05:41:38 | 2016-04-05T05:41:38 | 45,438,359 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | h | #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
namespace Ui {
class Widget;
}
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = 0);
~Widget();
void resizeEvent (QResizeEvent*);
private slots:
void on_pushButtonLagra_clicked();
private... | [
"user@killer666.ru"
] | user@killer666.ru |
9376eb8483d0f892924bd07175d00d7e8efbb6db | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/protocols/nonlocal/TreeBuilder.hh | ddf2826c27dda8f2ddf0fecf418cc86b4d6a766c | [] | no_license | sailfish009/binding_affinity_calculator | 216257449a627d196709f9743ca58d8764043f12 | 7af9ce221519e373aa823dadc2005de7a377670d | refs/heads/master | 2022-12-29T11:15:45.164881 | 2020-10-22T09:35:32 | 2020-10-22T09:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"lzhangbk@connect.ust.hk"
] | lzhangbk@connect.ust.hk |
f7ecb14cd379828c3fff5dc722029abc0c67c127 | a1fbf16243026331187b6df903ed4f69e5e8c110 | /cs/engine/xrGame/GameTaskDefs.h | fd4caf10ee0e90a73cacb7886ad015736e041062 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | OpenXRay/xray-15 | ca0031cf1893616e0c9795c670d5d9f57ca9beff | 1390dfb08ed20997d7e8c95147ea8e8cb71f5e86 | refs/heads/xd_dev | 2023-07-17T23:42:14.693841 | 2021-09-01T23:25:34 | 2021-09-01T23:25:34 | 23,224,089 | 64 | 23 | NOASSERTION | 2019-04-03T17:50:18 | 2014-08-22T12:09:41 | C++ | UTF-8 | C++ | false | false | 1,327 | h | #pragma once
#include "alife_abstract_registry.h"
enum ETaskState{
eTaskStateFail = 0,
eTaskStateInProgress,
eTaskStateCompleted,
eTaskStateDummy = u16(-1)
};
enum ETaskType{
eTaskTypeStoryline = 0,
eTaskTypeAdditional,
eTaskTypeInsignificant,
eTaskTypeCount,
eTaskTypeDummy = u16(-1)
};
extern shared_s... | [
"paul-kv@yandex.ru"
] | paul-kv@yandex.ru |
7531a68f539b3e4540ccbfd34332e143621e3c46 | fe695c687e0458b2b289d5d48a2cd394a8fa96e3 | /Light.h | d9557cd284074c45266887d598aca3a36d09288b | [] | no_license | neropsys/D3DWerkshop | af68cc537b6cf48a636b110453e3dd2dd261a18c | f4187fabc5fa726950652e24d3b97c3cf7b249e6 | refs/heads/master | 2021-09-10T14:12:39.629093 | 2018-03-27T16:11:03 | 2018-03-27T16:11:03 | 117,575,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 119 | h | #pragma once
#include <DirectXMath.h>
using namespace DirectX;
struct Light {
XMFLOAT3 position;
XMFLOAT3 color;
}; | [
"neropsys@gmail.com"
] | neropsys@gmail.com |
0b8dd7a2b8b90bfa8292309e65d60710527c8dfb | 5499e8b91353ef910d2514c8a57a80565ba6f05b | /garnet/drivers/gpu/msd-qcom-adreno/src/instructions.h | 6991becf92f0abd44033fd92abfffc33ab72df4b | [
"BSD-3-Clause"
] | permissive | winksaville/fuchsia | 410f451b8dfc671f6372cb3de6ff0165a2ef30ec | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | refs/heads/master | 2022-11-01T11:57:38.343655 | 2019-11-01T17:06:19 | 2019-11-01T17:06:19 | 223,695,500 | 3 | 2 | BSD-3-Clause | 2022-10-13T13:47:02 | 2019-11-24T05:08:59 | C++ | UTF-8 | C++ | false | false | 2,023 | h | // Copyright 2019 The Fuchsia 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 INSTRUCTIONS_H
#define INSTRUCTIONS_H
#include <vector>
#include <magma_util/instruction_writer.h>
#include <magma_util/macros.h>
class Packet {... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a09d7ac8d74ec4deace03ee1d968177289f04794 | 3bcc383b55e1ac6827dc0a4a2cac46eb9dccfac3 | /GWToolboxdll/Modules/ChatLog.h | 322a84991b6e1d8cfe729bbf5069a96b994a6391 | [
"LicenseRef-scancode-other-permissive"
] | permissive | necropola/GWToolboxpp | a002c88e948e6751e14f1bd9875bb8d40a2d6bad | 36a017dd073b05519213d4f79357f6a771b654d8 | refs/heads/master | 2022-03-07T04:10:21.944112 | 2022-02-25T22:20:21 | 2022-02-25T22:20:21 | 464,126,263 | 0 | 0 | NOASSERTION | 2022-02-27T12:10:32 | 2022-02-27T12:10:32 | null | UTF-8 | C++ | false | false | 4,316 | h | #pragma once
#include <GWCA/Utilities/Hook.h>
#include <GWCA/Packets/StoC.h>
#include <ToolboxModule.h>
class ChatLog : public ToolboxModule {
ChatLog() {};
~ChatLog() {
Reset();
};
private:
struct TBChatMessage {
TBChatMessage* next;
TBChatMessage* prev;
std::wstring ... | [
""
] | |
b7964ddb34c9708897e79214a8cb21b42ea95abd | e1de0dcf47ade95481b5155dc84bd915a9470698 | /mesa.cc | bb24907eed2bcb428774967b7a384b9277aeb623 | [] | no_license | mstemen0010/CC | 5d03d72d54d7b2813b8195700370561bc2da0b06 | d979a235a5b996acd0a33a89e1688897cac3e404 | refs/heads/master | 2021-01-10T06:47:43.540014 | 2016-02-23T20:32:13 | 2016-02-23T20:32:13 | 52,389,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,468 | cc | #include <stdio.h>
#include <stdlib.h>
#include <iostream.h>
#include <fstream.h>
#include <strings.h>
#include "mstring.h"
#ifndef TRUE
#define TRUE 1
#define FALSE !TRUE
#endif
int main(int argc, char *argv[])
{
fstream in(fileno(stdin));
char inputs[BUFSIZ] = "";
mstring orig;
int opt, i;
extern char *opta... | [
"mstemen@gmail.com"
] | mstemen@gmail.com |
be5634805ac80b6e027825cb8598f644e00687d5 | 0023c3cb81491b6b440794c56e2a6714ce8b4e35 | /cpp8.cpp | 94c0e04b494ccf569d05cd6add252f702897bb3e | [] | no_license | mj-ribeiro/Cpp-Course | 199382685f76b08123a9afe72bbdbe2d8fe7142d | 7cbf6a7f2ce5d6d21beec4a7ef13ecf3825d3c04 | refs/heads/main | 2023-02-19T09:33:46.726463 | 2021-01-09T21:17:04 | 2021-01-09T21:17:04 | 325,310,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp | /*
Calculator in C++
*/
# include<iostream>
using namespace std;
int main(int argc, char** argv)
{
int num1, num2, res;
float div;
char op;
cout << "Type the first number:";
cin >> num1;
cout << "Type the second number:";
cin >> num2;
cout << "Type ... | [
"mjribeiro@usp.br"
] | mjribeiro@usp.br |
74639011bd774bfe5638ede80acea1175f5672ee | 20d34e31bfebc8b2526be47a1db541ee37e5dcaf | /src/eboks/wrappers/ruby/wrapper.hpp | af8317af27373e4c2eed02024e26b80f9ba79a95 | [] | no_license | martinjlowm/libeboks | a4fe2f39dd8bd3eb8fd82535e12918630bd705f0 | 72c3a0baa3689c6f5dcbaa46fe30de35c62eed41 | refs/heads/master | 2021-01-21T21:29:07.494526 | 2016-02-25T00:29:38 | 2016-02-25T00:29:38 | 29,186,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,883 | hpp | // /*
// * Copyright (c) 2015-2016, Martin Jesper Low Madsen
// * 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 the abov... | [
"martin@martinjlowm.dk"
] | martin@martinjlowm.dk |
70053fac828d629bbecb93db58ff98c100838959 | 4a46f9d06515e61ef89ef0a5bfa1393cf218e68f | /src/qt/coincontroltreewidget.cpp | 976d4819a660b8cdab5a72c1192e1b8e819779f4 | [
"MIT"
] | permissive | GroinGuy/GroinCoin-GXG | fe886d386fef948c818b4b34c59040791da45f3b | d71c1b200683a77ccf797d8a500e468351da5ee0 | refs/heads/master | 2020-05-21T14:04:39.761147 | 2019-02-02T13:52:52 | 2019-02-02T13:52:52 | 19,191,079 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | cpp | // Copyright (c) 2011-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// Copyright (c) 2014-2018 The Groincoin Core developers
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/coincontroltreewidget.h>
#include <qt/coincontroldialog... | [
"mendozg@gmx.com"
] | mendozg@gmx.com |
15ab3edc1f8a10e4998a0faec8cf0de0a70ccd56 | 87c8e87ca0064bb2dbe2f0da461d6cdaafe58dc2 | /ComHelpers/CallbackHelper.cpp | 5330d6dde5957ef749f8301392ea410031919f64 | [] | no_license | jamil-g/MapWInGIS5.2.4 | 5392551ef92ca3dbc4ccd37241caf74e8e2b5ac3 | 3b3b10dba0e1c78af8df398544505a48472ed416 | refs/heads/main | 2023-07-29T02:46:01.453327 | 2021-09-03T22:58:03 | 2021-09-03T22:58:03 | 369,660,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,862 | cpp | #include "StdAfx.h"
#include "CallbackHelper.h"
// ReSharper disable CppUseAuto
// *****************************************************************
// GDALProgressCallback()
// *****************************************************************
int CPL_STDCALL GDALProgressCallback(const double dfComplete, const cha... | [
"jamil.garzuzi@gmail.com"
] | jamil.garzuzi@gmail.com |
67fb9c862bcfb537a0911a79d0c98333333f1507 | 41b4adb10cc86338d85db6636900168f55e7ff18 | /aws-cpp-sdk-elasticbeanstalk/source/model/DescribeApplicationsRequest.cpp | 619bb60391795199875e3967042390d0fdf113ce | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | totalkyos/AWS | 1c9ac30206ef6cf8ca38d2c3d1496fa9c15e5e80 | 7cb444814e938f3df59530ea4ebe8e19b9418793 | refs/heads/master | 2021-01-20T20:42:09.978428 | 2016-07-16T00:03:49 | 2016-07-16T00:03:49 | 63,465,708 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,399 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
4efe37b9134a67a9ed2bf036aaedf5395dc4f887 | fe2bc85d1dacb4a48d78015668621d6767e0fdc9 | /src/EnergyPlus/HVACCooledBeam.cc | 326ff633dbe93c2db7c521c1dfa8a04d1d48dc8a | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | EnergyArchmage/EplusFanDev | 75bb3e2616d86a6cef27be2b2c94559a45ad1d44 | 622daef164d653a241fba7d924bc1e536a089006 | refs/heads/master | 2016-08-12T23:49:08.124188 | 2016-03-30T13:18:24 | 2016-03-30T13:18:24 | 46,808,964 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,231 | cc | // EnergyPlus, Copyright (c) 1996-2016, The Board of Trustees of the University of Illinois and
// The Regents of the University of California, through Lawrence Berkeley National Laboratory
// (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights
// reserved.
//
// If you have questio... | [
"Brent.Griffith@EnergyArchmage.com"
] | Brent.Griffith@EnergyArchmage.com |
cc4f4e3a70b03c87166863c4ccb3ddfc4c5d9b02 | 9aaf6e9a28a521e87285a70ebbfbf2fcf2f202a6 | /src/comparison_plots.cpp | d3e83d77ee83260971465403b4e3c54d579feead | [] | no_license | pawelswoboda/LP_MP-Cell-tracking | 69971bbb467f790d05ae4627784dda9776459f07 | cb5e2b2625d77c867facefc218a369dd4ce77740 | refs/heads/master | 2021-09-19T18:36:10.783790 | 2018-07-30T14:13:01 | 2018-07-30T14:13:01 | 111,903,270 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,701 | cpp | #include "cell_tracking.h"
#include "solver.hxx"
#include "visitors/sqlite_visitor.hxx"
using namespace LP_MP;
int main(int argc, char** argv)
{
using solver_type = Solver<FMC_CELL_TRACKING,LP<FMC_CELL_TRACKING>,SqliteVisitor<StandardVisitor>>;
std::vector<std::string> options =
{
{""},
... | [
"pswoboda@mpi-inf.mpg.de"
] | pswoboda@mpi-inf.mpg.de |
ce5731f889b1efd5c0f62f42877433757e78a688 | 56a77194fc0cd6087b0c2ca1fb6dc0de64b8a58a | /applications/ShallowWaterApplication/custom_friction_laws/manning_law.h | e462af23c66beeffba75d9bb28bfc2f724728b84 | [
"BSD-3-Clause"
] | permissive | KratosMultiphysics/Kratos | 82b902a2266625b25f17239b42da958611a4b9c5 | 366949ec4e3651702edc6ac3061d2988f10dd271 | refs/heads/master | 2023-08-30T20:31:37.818693 | 2023-08-30T18:01:01 | 2023-08-30T18:01:01 | 81,815,495 | 994 | 285 | NOASSERTION | 2023-09-14T13:22:43 | 2017-02-13T10:58:24 | C++ | UTF-8 | C++ | false | false | 3,600 | h | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Miguel Maso Sotomayor
//
#ifndef KRATOS_MANNING_... | [
"mmaso@cimne.upc.edu"
] | mmaso@cimne.upc.edu |
9f71c99997193f959e9b7bde850b4a42a7c27dd6 | 70441dcb7a8917a5574dd74c5afdeeaed3672a7a | /M-SOLUTIONS プロコンオープン/B - Sumo/main.cpp | a6a1684078022c58996b598b30925ee2a8d61933 | [] | no_license | tmyksj/atcoder | f12ecf6255b668792d83621369194195f06c10f6 | 419165e85d8a9a0614e5544232da371d8a2f2f85 | refs/heads/master | 2023-03-05T12:14:14.945257 | 2023-02-26T10:10:20 | 2023-02-26T10:10:20 | 195,034,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
int k = static_cast<int>(s.size());
int cnt = 0;
for (int i = 0; i < k; i++) {
if (s[i] == 'o') {
cnt++;
}
}
cout << (15 - k >= 8 - cnt ? "YES" : "NO") << endl;
}
| [
"33417830+tmyksj@users.noreply.github.com"
] | 33417830+tmyksj@users.noreply.github.com |
232ca213c26888bc327ee67e1be689da4c65107c | 72cfed90103e76116518df289dc4d8b139672dee | /HelloSDL/BasicRocketLauncher.h | 92dd76e05e90bb61431c8df356b9e44f41e7419d | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | gentlecolts/trippy-procedurally-generated-star-fox-clone-for-school | 8ad8ea51f09e79775b60c65ee3d5b0855e83b5c9 | a98df82d54fdd9a2d8c6ed4945bd14102067b1a0 | refs/heads/master | 2021-01-22T05:24:03.642376 | 2013-06-24T14:17:45 | 2013-06-24T14:17:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | h | //
// BasicRocketLauncher.h
// HelloSDL
//
// Created by Jonah Chazan on 5/14/13.
// Copyright (c) 2013 Student. All rights reserved.
//
#ifndef __HelloSDL__BasicRocketLauncher__
#define __HelloSDL__BasicRocketLauncher__
#include <iostream>
#include "BasicGun.h"
class Grenade;
class BasicRocketLauncher : public... | [
"person.1123.loztp@gmail.com"
] | person.1123.loztp@gmail.com |
cb52f29d82bf677860a6679350b8ee990ad358a0 | cdef186cbd607097ad34c334d4f0b21dbc779ba2 | /Img/傅里叶变换/IFFT2.cpp | a668313b86cbe705bad58b8ba66746195771e41a | [] | no_license | jiangzhiping/ImageProcess | 27ea028ea24a09caa4de5555da54d5b7452dd144 | c38845d7bb444143a406e68f33af8df929d97f62 | refs/heads/master | 2021-08-22T20:05:40.373595 | 2017-12-01T06:02:05 | 2017-12-01T06:02:05 | 111,394,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,613 | cpp | /************************************
void CImgProcess::IFFT2(CImgProcess *pTo,complex<double> *pInput,long lWidth,long lHeight,
long lOutW,long lOutH)
功能: 二维快速反傅里叶变换
参数: CImgProcess *pTo:指向输出图像的指针
complex<double> *pInput:指向输入数组的指针
long lWidth:输入数组中需要进行反傅里叶变换的高度
long lHeight:输入数组中需要进行反傅里叶变换的高度
... | [
"mrzhiping@gmail.com"
] | mrzhiping@gmail.com |
3c7db3ba944712f2055381cac6c7b6339deff683 | c2bbb8b5499a69fd4c8bd6e18c21dda7f6311983 | /Sofa placement/no_cpp_pthread_stupid.cpp | 62f6313f06f856338d6be0cf070ac70555f1d813 | [] | no_license | haakonbaa/cmb-challenge | aa95a474e38a8add92bbe4d4c1cd4036f09f4201 | 41087ef91001b89bbfae6c0944903a5c3e6506d3 | refs/heads/main | 2023-04-18T12:06:07.468539 | 2021-04-30T13:04:49 | 2021-04-30T13:04:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,051 | cpp | #include <stdio.h>
#include <pthread.h>
// For lagged fib-generator
constexpr unsigned int word_size = 24;
constexpr unsigned int short_lag = 10;
constexpr unsigned int long_lag = 24;
constexpr unsigned int MOD24 = 16777216;
constexpr unsigned int MOD24AND = MOD24-1;
constexpr unsigned long __n = (word_size + 31) / 32... | [
"haakbaa@gmail.com"
] | haakbaa@gmail.com |
452736f6b49e2f7faeede50ebd6281636115b7af | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Trigger/TrigAlgorithms/TrigL2MuonSA/TrigL2MuonSA/RpcRoadDefiner.h | b278616fcebd7a8aef760bee1802f2c725e5b5e6 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,035 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TRIGL2MUONSA_RPCROADDEFINER_H
#define TRIGL2MUONSA_RPCROADDEFINER_H
#include <string>
#include "AthenaBaseComps/AthAlgTool.h"
#include "GaudiKernel/ServiceHandle.h"
#include "GaudiKernel/ToolHandle.h"
#include "TrigMuonBackEx... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
cf3ad16f0bf2e9df25673cc7186e2ac363930863 | 52ad601a144441b35ea6545a6022e9a35ecec28c | /Source/LidarRays/Vehicle/VehicleModel.cpp | 3d6d0d2751c0992adc12f77387f423644d3ba442 | [] | no_license | federicomassa/LidarRays | 4e59549457b6848b57eb1cb141112cf0e5a27003 | e1167a29aba028e9b85afc0f1043c9bcd0000d91 | refs/heads/master | 2020-04-02T09:28:15.685901 | 2019-02-28T14:43:10 | 2019-02-28T14:43:10 | 154,294,132 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,554 | cpp | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "VehicleModel.h"
#include "VehicleModels.h"
VehicleModel* VehicleModel::generateVehicleModel(EVehicleModelEnum modelType)
{
if (modelType == EVehicleModelEnum::VM_PhysX)
return nullptr;
else if (modelType == EVehicleModelEnum::VM_Unicycle)
{
... | [
"fedemassa91@gmail.com"
] | fedemassa91@gmail.com |
9b7e9680ea60da684c8da1d4707994d6e0fdf3f9 | 6697cd726d4cd3744ae52a7d5618f4ad107befba | /CP/308B.cpp | d59ff9cfe730a782a298f12850135748fc8257bd | [] | no_license | Saifu0/Competitive-Programming | 4385777115d5d83ba5140324c309db1e6c16f4af | ecc1c05f1a85636c57f7f6609dd6a002f220c0b0 | refs/heads/master | 2022-12-15T09:11:53.907652 | 2020-09-08T08:20:44 | 2020-09-08T08:20:44 | 293,743,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | #include<bits/stdc++.h>
using namespace std;
#define sc(x) scanf("%d",&x)
#define pf(c) scanf("%d",x);
#define deb(x) cout << #x << " " << x << endl;
#define fo(i,n) for(int i=0;i<n;i++)
#define Fo(i,k,n) for(int i=k;i<n;i++)
#define vi vector<int>
#define ii pair<int,int>
#define vii vector<ii>
#define ll long long
#... | [
"43892879+Saifu0@users.noreply.github.com"
] | 43892879+Saifu0@users.noreply.github.com |
109ec7dbb0b58f83f4204c3902926e057bda35fe | 6a4333f806591e41a0e39e45bad943367554d4c1 | /src/slim/log/SinkFilter.cpp | a127039cb3890608ff86d75e9040ae5f55572766 | [
"LicenseRef-scancode-free-unknown",
"Unlicense"
] | permissive | gimesketvirtadieni/slimstreamer | 0cde994d1dbace9cd61a430d49c177732cda9521 | d68dc863e7bf9411576672e56003bc2202f83484 | refs/heads/master | 2021-06-02T07:42:43.246778 | 2020-01-18T22:11:33 | 2020-01-18T22:11:33 | 105,690,670 | 69 | 5 | Unlicense | 2018-02-24T20:26:52 | 2017-10-03T18:55:29 | C++ | UTF-8 | C++ | false | false | 878 | cpp | /*
* Copyright 2017, Andrej Kislovskij
*
* This is PUBLIC DOMAIN software so use at your own risk as it comes
* with no warranties. This code is yours to share, use and modify without
* any restrictions or obligations.
*
* For more information see conwrap/LICENSE or refer refer to http://unlicense.org
*
* Auth... | [
"gimesketvirtadieni@gmail.com"
] | gimesketvirtadieni@gmail.com |
dd2b98adade4c8641094b73496ca2f41ca9b2b0e | 4f8e66ebd1bc845ba011907c9fc7c6400dd7a6be | /SDL_Core/src/components/JSONHandler/src/RPC2ObjectsImpl/NsRPC2Communication/UI/SetMediaClockTimerResponseMarshaller.h | 16a912e29f95878ae2df645b0e524d64eb05a1c7 | [] | no_license | zhanzhengxiang/smartdevicelink | 0145c304f28fdcebb67d36138a3a34249723ae28 | fbf304e5c3b0b269cf37d3ab22ee14166e7a110b | refs/heads/master | 2020-05-18T11:54:10.005784 | 2014-05-18T09:46:33 | 2014-05-18T09:46:33 | 20,008,961 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,460 | h | //
// Copyright (c) 2013, Ford Motor Company
// 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 the above copyright notice, this
// list of condit... | [
"kburdet1@ford.com"
] | kburdet1@ford.com |
15c9a773442931bc063b9e700ae600385efb0317 | 28660013cdff77e46e4a913519f83e325c24654b | /netijen/Battle/upgrader.h | 8d5e765810c044ff9b4e3b20b028ae9db5749708 | [
"WTFPL"
] | permissive | AnggaR96s/HacktoberFest2019 | fcb2670d96f3798a9ddd34df9248d9df3525ab4b | 3a9820969341f32a1859df6392dedc21c1412ff2 | refs/heads/master | 2020-08-04T15:09:38.740727 | 2019-10-27T18:04:18 | 2019-10-27T18:04:18 | 212,179,547 | 0 | 7 | WTFPL | 2019-10-27T18:04:19 | 2019-10-01T19:14:22 | C++ | UTF-8 | C++ | false | false | 227 | h | #ifndef upgrader_h
#define upgrader_h
#include "karakter.h"
using namespace std;
int selectMainMenu();
int selectUpgradeMenu();
void processMainMenu(int pi);
void processUpgradeMenu(int pi, Karakter& k);
#endif // upgrader_h
| [
"ojimdian@gmail.com"
] | ojimdian@gmail.com |
ba661aaadd46608386108bc495d3b5d0970a1d17 | c2203f55980751f56d9e232cab95bd3dc1e65b63 | /Session_01/04_Looping_Mapping/src/main.cpp | 4000a00318710903db290c4ffe3e6da108f5d663 | [] | no_license | SAIC-ATS/ARTTECH-3039 | 0ad2c7a1855688023895104d157986e390abe590 | 3e8ee63fe7e0b90b81e0ed4272eaec1aa90ab787 | refs/heads/master | 2021-01-19T00:49:09.690735 | 2019-08-14T21:30:25 | 2019-08-14T21:30:25 | 73,821,384 | 14 | 4 | null | 2017-03-28T20:49:21 | 2016-11-15T14:28:55 | C++ | UTF-8 | C++ | false | false | 125 | cpp | #include "ofApp.h"
int main()
{
ofSetupOpenGL(1024, 768, OF_WINDOW);
return ofRunApp(std::make_shared<ofApp>());
}
| [
"me@christopherbaker.net"
] | me@christopherbaker.net |
b3c33930d6bb01f3cb080b8cda5ca4bed0c31059 | f126ec70d4f66984811b867e1ede1b05ae92bf47 | /Source/PathTracerDemo/RealTimeRenderModule.cpp | a7bd660cffed6e31ecb3cf4d5dfe77c18a54e321 | [] | no_license | CHINA-JIGE/Noise3D-DirectX11 | b5c6903701307de0d8cd5e8c08996806aaecc13c | 10da69a351fa11b6407107ca9fe4f8cdcd8dc254 | refs/heads/master | 2020-12-13T09:03:45.352600 | 2020-05-25T12:21:22 | 2020-05-25T12:21:22 | 39,424,899 | 26 | 11 | null | 2019-07-15T03:06:38 | 2015-07-21T04:57:42 | C++ | UTF-8 | C++ | false | false | 4,700 | cpp | #include "Noise3D.h"
#include "RealTimeRenderModule.h"
RealTimeRenderModule::RealTimeRenderModule():
mTimer(Ut::NOISE_TIMER_TIMEUNIT_MILLISECOND)
{
}
RealTimeRenderModule::~RealTimeRenderModule()
{
}
void RealTimeRenderModule::Init(HINSTANCE hInstance)
{
//get Root interface
m_pRoot = GetRoot();
//create a wi... | [
"836613859@qq.com"
] | 836613859@qq.com |
406eae95f66ee24db6ec53aaf1d9f10e4fe3f8c8 | 9afed2fc60934e2eba6b0d08a570624e425ddfe2 | /proj.winrt/App.xaml.h | 412ea01f69b58670f5ff04455accae1221704861 | [] | no_license | Eason-Xi/Cat-And-Dog-s-Battle | 0062e7b9a9e1ab6aab525ac4180b63f76c92a24b | 1038804a8830365ad6801832ef142a84056a89e4 | refs/heads/master | 2020-04-07T15:39:14.003991 | 2014-06-05T08:27:29 | 2014-06-05T08:27:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,844 | h | /****************************************************************************
Copyright (c) 2010-2013 cocos2d-x.org
Copyright (c) Microsoft Open Technologies, Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files... | [
"xccxcc1221@qq.com"
] | xccxcc1221@qq.com |
5b730c663dd2bd2cc436c8c23923bdb6e8115663 | c2dc04bcc6a80c5d266d9cce1c51f49873b7bb12 | /include/ImageStone/include/imagefile/ImageFactory_Mini.h | 7e5cf034bd6cbf6f5ae6c1012662039dd3fc5c8f | [] | no_license | bote-reginald/BotE-Rainer | 74badfe2b111636c49662fe1a54c77d977ace0c8 | d7e44cd2114821bd5cfe0420d913a57f35b1d2f2 | refs/heads/master | 2020-06-05T14:20:49.949995 | 2013-08-03T10:25:06 | 2013-08-03T10:25:06 | 11,406,759 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,142 | h | /*
* Copyright (C) =USTC= Fu Li
*
* Author : Fu Li
* Create : 2005-7-29
* Home : http://www.crazy-bit.com/
* Mail : crazybitwps@hotmail.com
* History :
*/
#ifndef __FOO_IMAGEFACTORY_MINI__2005_07_29__H__
#define __FOO_IMAGEFACTORY_MINI__2005_07_29__H__
#include "Interface... | [
"wiki-birth-of-the-empires@gmx-topmail.de"
] | wiki-birth-of-the-empires@gmx-topmail.de |
62a1f2e13a772c886ce509478e07ab97bdbaf559 | 6a0633b246f58522f376cf0d9608fccdafc47da4 | /findTheKthSmallestSumOfaMatrixWithSortedRows1439.cpp | 145f6c53ab140cbc0703924444dd27bbddf3f917 | [] | no_license | studentBC/justExercise | 9ec10dbea9b2fe62d5d673fc39a91d08c9723bf7 | c5a022a6b46f56598234fb410b5d317f08dcda9c | refs/heads/master | 2023-06-26T12:28:18.144489 | 2023-06-11T15:27:36 | 2023-06-11T15:27:36 | 130,351,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,524 | cpp | class Solution {
public:
int kthSmallest(vector<vector<int>>& mat, int k) {
vector<int>row = mat[0];
int len;
for (int i = 1; i < mat.size(); i++) {
vector<int>temp;
for (int j = 0; j < mat[i].size(); j++) {
for (int n: row) {
temp.push_back(mat[i][j]+n);
}
}
sort(temp.begin(), temp.... | [
"ben.chin@quantatw.com"
] | ben.chin@quantatw.com |
d1998bbd9038944cd4c2f471e5d2aa33de08c319 | 849ba0d4d0cc316ba1568f19632cd0c48b64b701 | /include/Display/Gui.h | 51ad59f4e41d696fcbcb30c6b46049f10c38d865 | [] | no_license | lanquemar/Murakami | 146c7ddc47a9549f873935acbdc641fc52b8b401 | d7775f5632ee0ef2eeedf1a3a3199a7c317ce66d | refs/heads/master | 2021-01-20T05:08:22.988048 | 2015-07-02T21:53:06 | 2015-07-02T21:53:06 | 37,971,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | h | /*
** Gui.h for Murakami in /home/vasseu_g/github/Murakami
**
** Made by Adrien Vasseur
** Login <vasseu_g@epitech.net>
**
** Started on Mon Jun 29 23:26:25 2015 Adrien Vasseur
** Last update Thu Jul 2 23:25:57 2015 Adrien Vasseur
*/
#ifndef GUI_H_
# define GUI_H_
# include <iostream>
# include <SFML/Grap... | [
"adrien.vasseur@epitech.eu"
] | adrien.vasseur@epitech.eu |
93576421232c3955b4fc22b65db2e61799530f8d | 302ee54be50d62d3af2b73ac0ee829a5a269ba16 | /src/disk.h | 1371571603ec8a9ad8c51ef02b90d25e8833da37 | [] | no_license | annguyens/PeripheralParadise | 3a57647e0913d2386e63c565264e7c6f507578d6 | 7605dda9ad236947934c70cbe6ab450dcf9a0282 | refs/heads/master | 2023-04-20T09:36:02.123970 | 2021-05-07T08:13:39 | 2021-05-07T08:13:39 | 297,776,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | h | #ifndef __DISK_H
#define __DISK_H
#include "options.h"
class Disk: public Options
{
public:
Disk(int tb, std::string name, double cost);
Disk(std::istream& ist);
virtual ~Disk();
std::string to_string() const override;
void save(std::ostream& ost) override;
virtual Options* clone();
protected:
int _tb;
};
#en... | [
"an.nguyen8@mavs.uta.edu"
] | an.nguyen8@mavs.uta.edu |
1d57ce7f36e1a25978c1a10b22e73868f647334a | fafdf1e62cf622035ee82666ba6ae7108127d140 | /kynapse7/include/kypdg/pointgraph/simplification/coverageinfo.h | 9eaa099fb820d91f7e7a87502adcee8a6dceb040 | [] | no_license | saerich/RaiderZ-Evolved-SDK | 7f18942ddc6c566d47c3a6222c03fad7543738a4 | b576e6757b6a781a656be7ba31eb0cf5e8a23391 | refs/heads/master | 2023-02-12T03:21:26.442348 | 2020-08-30T15:39:54 | 2020-08-30T15:39:54 | 281,213,173 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,418 | h | /*
* Copyright 2010 Autodesk, Inc. All rights reserved.
* This computer source code and related instructions and comments are the
* unpublished confidential and proprietary information of Autodesk, Inc. and
* are protected under applicable copyright and trade secret law. They may
* not be disclosed to, copied or used ... | [
"fabs1996@live.co.uk"
] | fabs1996@live.co.uk |
53bb6e3b2c9324b97c63a0d3cb83c7d8e8484796 | bbb56d99ccc740d2cfb87d14e5a782809b6e5979 | /11_lesson/Classes/Classes/Worker.h | 5c7d1295dd27a13ff4f88a43986b2b0bbe4cb308 | [
"MIT"
] | permissive | NakonechnyiMykhail/system_prog | bac7c81c6e5dba60769ab2f399b553c7d3e8eb0c | d92d4b76a88761b52f522e8b185db1e58ec19227 | refs/heads/master | 2022-12-26T07:44:04.022942 | 2020-08-13T20:25:31 | 2020-08-13T20:25:31 | 273,444,351 | 1 | 0 | MIT | 2020-09-08T14:24:57 | 2020-06-19T08:29:58 | C++ | UTF-8 | C++ | false | false | 769 | h | #pragma once
#include <string>
class Worker {
// all fields and methods are PRIVATE (default)
// good rules:
// public -> protected -> private (in the end)
// don't public members
public:
Worker();
Worker(
const std::string& firstname,
const std::string& secondname,
cons... | [
"mykhail.nakonechnyi@gmail.com"
] | mykhail.nakonechnyi@gmail.com |
99a0ed7e3765691e4ac6f3973a66efd91bdc5595 | 5470644b5f0834b9646649da365c96101a2f9b2a | /Sources/Elastos/Frameworks/Droid/Base/Core/inc/widget/GridView.h | 38005e43618ef97ce07781298dcff15854a65ceb | [] | no_license | dothithuy/ElastosRDK5_0 | 42372da3c749170581b5ee9b3884f4a27ae81608 | 2cf231e9f09f8b3b8bcacb11080b4a87d047833f | refs/heads/master | 2021-05-13T15:02:22.363934 | 2015-05-25T01:54:38 | 2015-05-25T01:54:38 | 116,755,452 | 1 | 0 | null | 2018-01-09T02:33:06 | 2018-01-09T02:33:06 | null | UTF-8 | C++ | false | false | 7,762 | h |
#ifndef __GRIDVIEW_H__
#define __GRIDVIEW_H__
#include "ext/frameworkext.h"
#include "widget/AbsListView.h"
namespace Elastos {
namespace Droid {
namespace Widget {
/**
* A view that shows items in two-dimensional scrolling grid. The items in the
* grid come from the {@link ListAdapter} associated with this view.... | [
"chen.yunzhi@kortide.com"
] | chen.yunzhi@kortide.com |
95851a011465e3f8a204da343e25d8f323bb5c15 | 506bf12e2992e72a7ce9b067ca6bfbd783cd1f67 | /Matrix.h | 8f255c3f826a6b1cf4ae095570c83b40ac47d4b9 | [] | no_license | sxmwht/MatrixLibrary | 87be52f06d5bfd35fb30a3557fe9d1f6c7cd53de | 2dc4108f2f07dc8046bb9f56af136ccd4e77a0aa | refs/heads/master | 2021-05-28T12:06:26.432864 | 2014-04-05T01:10:15 | 2014-04-05T01:10:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | h | /* A library for driving an 8x8 LED matrix
* Created by Sam White (@samwhiteUK) */
#ifndef Matrix_h
#define Matrix_h
#define RED 'r'
#define GREEN 'g'
#define ORANGE 'o'
#define OFF 0
#include "Arduino.h"
class Matrix {
public:
Matrix();
void scrollText(char message[], int scrollSpeed, char colour);
... | [
"sam94white@gmail.com"
] | sam94white@gmail.com |
13a4a565347a6feff7eadb82594f0b246d162c13 | 35cebf36df81a9a2994160fb47e5426d9ecf5154 | /common/Pdf.h | 65d68ad452608484f454a2b4a69a7ebad47390d8 | [] | no_license | TheSableCZ/Raytracer | d80254b210fdf3145f0651a0bc1ecc7c162f5413 | 9c429b23c698966f3f371755abf19e4671fcac36 | refs/heads/master | 2023-04-22T15:39:39.578570 | 2020-12-12T21:41:34 | 2020-12-12T21:41:34 | 316,797,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,515 | h | //
// Created by Jan Sobol on 10/12/2020.
//
#ifndef RAYTRACER_PDF_H
#define RAYTRACER_PDF_H
#include <glm/glm.hpp>
#include "../common/Random.h"
class Pdf {
public:
virtual float value(const glm::vec3 &direction) const = 0;
virtual glm::vec3 generate() const = 0;
};
class CosinePdf : public Pdf {
public:
... | [
"hsobol@seznam.cz"
] | hsobol@seznam.cz |
97a7580adef7298730bf0e6204237182534e7b9f | 3c3023002f8442f5ff7c1aeb8837b9ef1b4106b0 | /2S/07/1/bag.cpp | 0a6dd0a75b11296eca6d5e56b0734567ee28e504 | [] | no_license | kivi239/Homeworks | 410b892b8af3e2be656474988628356463ce4726 | 886a4d77ac5aa774e481f7e6f58f6b7d7f186d96 | refs/heads/master | 2021-01-22T13:41:44.076563 | 2015-05-28T15:08:21 | 2015-05-28T15:08:21 | 15,022,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include <cstdio>
#include "bag.h"
#include <iostream>
using std::max;
Bag::Bag() {}
Bag::~Bag() {}
bool Bag::find(int value)
{
return AVLTree::find(root, value);
}
bool Bag::add(int value)
{
bool isFind = find(value);
AVLTree::add(root, value);
return isFind;
}
bool Bag::remove(int value)
{
if (!find(va... | [
"ilya.kuzmina@yandex.ru"
] | ilya.kuzmina@yandex.ru |
4fb47edfdf90c2241a910064462925242856f859 | ccc5c73520260d42a43cf432b31f5bebfd9ba9f5 | /CubeApp/CubeApp/CubeApp.cpp | aac646b5725e219e9d7a0b0adf04d5955272ee5d | [] | no_license | Henipiter/Cube_solver | be72e2debefcf3bddb17208c326c7a26b9306e56 | be2daf03f38aa2c110a349e36a3605cda9cc3a9e | refs/heads/main | 2023-02-26T09:41:14.026353 | 2021-02-02T17:11:05 | 2021-02-02T17:11:05 | 334,962,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp |
#include "MethodOldPochmann.h"
#include <iostream>
using namespace std;
int main() {
char up, front;
up = 'y';
front = 'r';
string scramble = "U R";
MethodOldPochmann a(up, front, scramble);
cubeSolver* b = &a;
b->method();
b->solveCube();
b->showInfo();
//cubeSolver a(up, front, scramble);
}
| [
"henipiter@wp.pl"
] | henipiter@wp.pl |
6aa10115e9c5007f9b3c8d94c5365fa014d45128 | c115676143c7f7416ddc4b57330fad4b2d1d6dca | /Searching and Sorting/32-subset sum.cpp | 0f04b5dcd5d2b8f31e1ec1c1fd10133091a85fd4 | [] | no_license | ThyPandaKing/Final-450 | 3250f313cde3648e2c193acfc88b2377b6cb4d26 | 515d9eb2ecdb9cdffd612999eaec63ace27c0c4f | refs/heads/main | 2023-08-10T23:42:30.354867 | 2021-09-07T03:27:50 | 2021-09-07T03:27:50 | 365,024,114 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
class Solution {
public:
static void Solve() {
int n, a, b;
cin >> n >> a >> b;
vector<int> arr(n);
for (int i = 0; i < n; i++) {
cin >> arr[i];
}
ll int subSet = 1 << (n / 2);
... | [
"aditya9660sharma@gmail.com"
] | aditya9660sharma@gmail.com |
767e8f456dff048a9702d0e5e998076a7d8fcd15 | 1bdbeb4424cd8b7f02ae3aa3692c88c19abc62c6 | /src/SimpleColoringStage.cpp | 6ddca277f1eac41e7b49aa0d6c0d190c68f1c009 | [
"MIT"
] | permissive | rharel/cpp-mandelbrot | 55b607a4fc629b171f56d2ed03c4c3edef39a557 | 8b478a08358dcff6b1f5d7da78d0b48a35facea9 | refs/heads/master | 2021-01-20T19:05:11.116839 | 2016-07-31T14:45:35 | 2016-07-31T14:45:35 | 64,593,925 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,683 | cpp | #include <mandelbrot/SimpleColoringStage.h>
#include <mandelbrot/ComputationStage.h>
using namespace mandelbrot;
using namespace oogl;
const char* SimpleColoringStage::VERTEX_SHADER_SOURCE_PATH =
"../src/shaders/simpleColoringVertexShader.glsl";
const char* SimpleColoringStage::FRAGMENT_SHADER_SOURCE_PATH =
... | [
"raoul.harel@gmail.com"
] | raoul.harel@gmail.com |
28518740cf2d447596f300c9cabe5bbf01c74e8f | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch/eulerVortex.cyclic.twitch.test.test/processor3/3.83/rho | abf84174f0bfdd159cfeca5958171163137737d5 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,659 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
1247a29b51b430818c46df966e0cc6da9168a796 | 753a70bc416e8dced2853f278b08ef60cdb3c768 | /include/tensorflow/lite/tools/evaluation/stages/image_preprocessing_stage.h | 45a3e3838522a6567650b4b788b5191e6aa2735d | [
"MIT"
] | permissive | finnickniu/tensorflow_object_detection_tflite | ef94158e5350613590641880cb3c1062f7dd0efb | a115d918f6894a69586174653172be0b5d1de952 | refs/heads/master | 2023-04-06T04:59:24.985923 | 2022-09-20T16:29:08 | 2022-09-20T16:29:08 | 230,891,552 | 60 | 19 | MIT | 2023-03-25T00:31:18 | 2019-12-30T09:58:41 | C++ | UTF-8 | C++ | false | false | 2,359 | h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"finn.niu@apptech.com.hk"
] | finn.niu@apptech.com.hk |
92a0d737cf77d6ead4e3750e34e3968a5f39927a | ad2d392f73f6e26b4f082fb0251b241a7ebf85a8 | /code_festival/2017_final/b.cpp | ca56a0d88731e385f203231cd1f5040a81ac794f | [] | no_license | miyamotononno/atcoder | b293ac3b25397567aa93a179d1af34add492518b | cf29d48c7448464d33a9d7ad69affd771319fe3c | refs/heads/master | 2022-01-09T23:03:07.022772 | 2022-01-08T14:12:13 | 2022-01-08T14:12:13 | 187,175,157 | 0 | 0 | null | 2019-06-12T16:03:24 | 2019-05-17T08:11:58 | Python | UTF-8 | C++ | false | false | 1,030 | cpp | #include <algorithm>
#include <iostream>
#include <iomanip>
#include <cassert>
#include <cstring>
#include <string>
#include <vector>
#include <random>
#include <bitset>
#include <queue>
#include <cmath>
#include <unordered_map>
#include <set>
#include <map>
#define INCANT cin.tie(0), cout.tie(0), ios::sync_with_stdio(... | [
"miyamoto-nozomu@g.ecc.u-tokyo.ac.jp"
] | miyamoto-nozomu@g.ecc.u-tokyo.ac.jp |
8fd0464e36137f9d722a702c7ac47c089a3f7d6e | b252fe30f5378a5347842a6df247919f8de01321 | /utility/GLResource.cpp | bb7747940d0f2c119850f293065d357038711f5b | [] | no_license | christophzeller/GLoom | df47517539f9c4563094f567efe365c88d8f07b3 | 7414f099d1c93edd4c8194d9b0f3f53d7bba3eeb | refs/heads/master | 2020-06-02T15:12:30.203421 | 2015-03-02T19:15:27 | 2015-03-02T19:15:27 | 31,319,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | /*
* GLResource.cpp
*
* Created on: 27.02.2015
* Author: Christoph
*/
#include "GLResource.h"
GLResource::GLResource()
{
// TODO Auto-generated constructor stub
}
GLResource::~GLResource()
{
// TODO Auto-generated destructor stub
}
| [
"christophzeller@users.noreply.github.com"
] | christophzeller@users.noreply.github.com |
ae552741553ce8a8fc4b213a7df8c4a924f2a85b | cf02bc4adce15232d6a45f67339bdd921f4be3aa | /580A.cpp | c028a1e8015511a21f7f3db4b468f4664dcc4e7b | [] | no_license | shubhamivane/CodeForces | e9dfcb25bbe4c4dd185227a1112f93aead5d7b5a | 2ca8cd9d25e7c608b2bd403e9cd7e4665554365c | refs/heads/master | 2022-02-24T21:15:01.139991 | 2019-10-07T19:58:40 | 2019-10-07T19:58:40 | 89,680,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int n, s = 0, mx = 1, i;
cin >> n;
vector<int> v(n);
for(int i = 0 ; i < n ; i++){
cin >> v[i];
}
for(i = 1 ; i < n ; i++){
if(v[i] < v[i-1]){
mx = max(mx, i - s);
s = i;
}
}
cout <<... | [
"shubham@dailyrounds.org"
] | shubham@dailyrounds.org |
2140e4a8678eb9c177254195572bde0cdc12d310 | 30b3a69a1a494418d8815497027d66a542a95618 | /Simple/ReverseDigits.cpp | 96b0d8458393429b24bcd2426da9df34d46a569b | [] | no_license | HarikumarG/Algorithms | 22df671a4c42b76bbd593eb7ddd15ca8501fdb70 | 1a96ce79593168428bcaad1e5cc50b77bfe946b7 | refs/heads/master | 2023-05-25T05:42:39.911822 | 2023-05-14T17:11:27 | 2023-05-14T17:11:27 | 108,449,308 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,273 | cpp | // C++ program to reverse digits
// of a number
#include <bits/stdc++.h>
using namespace std;
/* Iterative function to reverse
digits of num*/
int reversDigits(int num)
{
// Handling negative numbers
bool negativeFlag = false;
if (num < 0)
{
negativeFlag = true;
num = -num ;
}
int prev_rev_nu... | [
"harikumarmgp@gmail.com"
] | harikumarmgp@gmail.com |
c3c157f356a34d204224846963288f26369dbd70 | f6c730159ab82281c6d03f4fc75c2fb177ece8f9 | /util/filesystem.cc | 66ba182134887846d022f894e2d9bee5e35b5b99 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | chcunningham01/binexport | 12dc4c9c2d282269404e24ef20f0c052777edbf7 | 050b22ea713bc4890cb1e78662d14f43bd4ed3e3 | refs/heads/master | 2022-10-02T17:27:38.175165 | 2020-06-08T12:12:00 | 2020-06-08T12:12:00 | 271,583,383 | 0 | 0 | Apache-2.0 | 2020-06-11T15:35:05 | 2020-06-11T15:35:05 | null | UTF-8 | C++ | false | false | 10,778 | cc | // Copyright 2011-2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | [
"cblichmann@google.com"
] | cblichmann@google.com |
02961d13b88388ba45453f05ae9d3ba24a29f1f8 | 4178f7bf3a27d71aea1f9861287f567e18278675 | /Olympick_HaNam/Code_Forces.com/read_code/938G_contest464_div2/main.cpp | 0b46fe35d1a7ee2b064df3488980e86d12433a6b | [] | no_license | Minglee2018/Olympick-K12 | a0fc89c1c94252227251364584fc6365f2e2b097 | 1e027a08a7b6385af51635773dc8b1c8e9e2b7f8 | refs/heads/master | 2020-03-29T20:34:07.603638 | 2019-01-10T19:52:55 | 2019-01-10T19:52:55 | 150,318,176 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,556 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <map>
using namespace std;
const int N = 1 << 18;
int uf[N];
int cost[N];
vector<pair<int, int>> h_uf;
vector<pair<int, int>> h_cost;
pair<int, int> query[N];
int ans[N];
bool sample;
struct edge {
int u, v, w;
edge(int u, int v, int w) : u(u),... | [
"doannguyenhongle@gmail.com"
] | doannguyenhongle@gmail.com |
44d634da2b2bb511ce6c1d5f46a456386d4541cd | 386243a5d935f26d8fbe45807de1ec265f0733db | /qt_src_code/ui_notepad_mainwindow.h | cfbf8774649f9f03b25c1a21bd72cae2e842cf3e | [] | no_license | I-Abdullah-I/XML_editor | 4ee4c863278628e5c49678a5d6e9b8277d54ce8a | bddd455d3daab802af809be8480b78e152b10eb3 | refs/heads/master | 2023-06-22T05:06:06.328371 | 2021-07-18T22:09:10 | 2021-07-18T22:09:10 | 387,016,641 | 0 | 1 | null | 2021-07-18T21:29:55 | 2021-07-17T18:53:13 | C++ | UTF-8 | C++ | false | false | 11,625 | h | /********************************************************************************
** Form generated from reading UI file 'notepad_mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 6.1.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************... | [
"abdohaks@gmail.com"
] | abdohaks@gmail.com |
fca7650a5fd0914b6eb812638f2f0a02e553a154 | 4381b23f1bfd7a0fa1a038cb62ed5e73e27be01f | /add-nbo.cpp | 71903baebd7088867903aa7f2121a92f83a4c144 | [] | no_license | endley11/add-nbo1 | 31dffc1d486138b7eaf83edf6db259c2d6ae67ea | 3f2e7598750300a50e420820e81ee14bf41f7911 | refs/heads/master | 2022-11-19T14:01:02.771269 | 2020-07-20T15:08:00 | 2020-07-20T15:08:00 | 281,127,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <netinet/in.h>
int main(int argc, char *argv[]){
FILE *in1;
FILE *in2;
uint32_t n1;
uint32_t n2;
in1 = fopen(argv[1],"rb");
in2 = fopen(argv[2],"rb");
fread(&n2, sizeof(n2),1,in2);
fread(&n1, sizeof(n1),1,in1);
int n_1 = ntohl(n1)... | [
"endley@naver.com"
] | endley@naver.com |
9b61699b074d2838d3855d122aa7812a2cd5a981 | 51fe3e3c4bbea0112ef9d1bee3424718118c4a43 | /Practice/PipingPrepSolution/PipingPrep/PrvkyPotrubi.cpp | 9b14d0f74055db942d437823d34f3728b9627c1f | [] | no_license | KubikJan7/ICPP | 0957b937e0d421737a7132e4efefaef117c42373 | b01aa635b61787c2b167fd28d7a0d365ef537fc2 | refs/heads/master | 2021-07-10T13:22:22.334583 | 2020-07-08T12:01:16 | 2020-07-08T12:01:16 | 163,119,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | cpp | #include "PrvkyPotrubi.h"
#include <iostream>
bool PrvekMinus::JeKorektneZapojen(const IPotrubi* potrubi) const
{
return (potrubi->DejPrvek(_x - 1, _y) != nullptr
&& potrubi->DejPrvek(_x + 1, _y) != nullptr);
}
bool PrvekI::JeKorektneZapojen(const IPotrubi* potrubi) const
{
return (potrubi->DejPrvek(_x, _y - 1) !... | [
"43739550+st52531@users.noreply.github.com"
] | 43739550+st52531@users.noreply.github.com |
9c0832b905f884a9b44e78ed2ffabac77656d657 | 2ed22fcd1a813da0848e016ae6f92a3237961fe7 | /whisperlib/base/scoped_ptr.h | 65a3c86a7cc39ead99b448db49d061807367ccef | [] | no_license | ovidiucp/whisperlib | 183e7335e5220c1339c182415dae4520e8673a83 | 9882729ba33b99af03d24b854741f80df7d32a70 | refs/heads/master | 2021-01-09T06:41:23.622625 | 2014-04-23T02:13:47 | 2014-04-23T02:13:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,119 | h | // Copyright 2010 Google
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | [
"catalin@gmail.com"
] | catalin@gmail.com |
98f4ed151b9ee155afd8b4a18523a9c7dbef94f8 | 75007a01372c3a38096298d2c8c9c4cef1bd8357 | /src/examples/layer1/physics/physics_app.h | d1a5a17545e3427d9a8d750005e236ffd35351a1 | [] | no_license | M-Berkaliyeva/L-System_Plants | 2caff4d94d7fcae8c7fb86bfa8b938d5be0b31d8 | a5a0059840bd78afcb5bfd90460784bc0610247c | refs/heads/master | 2016-09-06T03:33:20.364922 | 2014-01-28T21:42:47 | 2014-01-28T21:42:47 | 16,326,899 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,951 | h | ////////////////////////////////////////////////////////////////////////////////
//
// (C) Andy Thomason 2012, 2013
//
// Modular Framework for OpenGLES2 rendering on multiple platforms.
//
// Physics example: How to use the basics of Bullet physics
//
// Level: 2
//
// Demonstrates:
// Basic framework app
// Shade... | [
"oopsiloverichn@myself.com"
] | oopsiloverichn@myself.com |
0f6d2078eadf9b74604b6303a4c6f3d56d2aef4c | 3de2a746243ad1cb000994a06a0f9699db9a901f | /abc150e.cpp | 3ec0a04ba1446118668593e4434ef3c3cb9c2e5e | [] | no_license | takumi152/atcoder | 71d726ffdf2542d8abac0d9817afaff911db7c6c | ebac94f1227974aa2e6bf372e18605518de46441 | refs/heads/master | 2022-10-30T12:14:41.742596 | 2022-09-29T19:49:32 | 2022-09-29T19:49:32 | 181,502,518 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | // WIP
#include <iostream>
#include <vector>
#include <algorithm>
#include <utility>
#include <string>
#include <queue>
#include <stack>
using namespace std;
typedef long long int ll;
typedef pair<int, int> Pii;
const ll mod = 1000000007;
ll modpow(ll a, ll b, ll m = mod) {
ll r = 1;
while (... | [
"takumi152@hotmail.com"
] | takumi152@hotmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.