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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
27dd728e87d125aafde9cb34b0f257591802f12e | 07327b5e8b2831b12352bf7c6426bfda60129da7 | /Include/10.0.14393.0/winrt/Windows.ApplicationModel.datatransfer.sharetarget.h | 232ef45bf87810884dedb4db7dcfcdbd42145472 | [] | no_license | tpn/winsdk-10 | ca279df0fce03f92036e90fb04196d6282a264b7 | 9b69fd26ac0c7d0b83d378dba01080e93349c2ed | refs/heads/master | 2021-01-10T01:56:18.586459 | 2018-02-19T21:26:31 | 2018-02-19T21:29:50 | 44,352,845 | 218 | 432 | null | null | null | null | UTF-8 | C++ | false | false | 42,473 | h |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.01.0618 */
/* @@MIDL_FILE_HEADING( ) */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR... | [
"trent@trent.me"
] | trent@trent.me |
6d6ea732e04eda96e4503522f6b3bfdd9dc947de | 45184fc098d7e0fa4b22a5e0b086ebae8d7e5fb2 | /QT/Tree/bst.tpp | af3d2a8986a866e36275dbad02cff164f23933a7 | [] | no_license | Noodle96/EstructuraDeDatos | 8004061083b7cf49e4c1f35873b3c91ee62e3f64 | d87e6f0327d0de61f4d2be1be255ed58779f40b4 | refs/heads/master | 2020-03-27T08:10:28.188886 | 2019-06-28T23:25:24 | 2019-06-28T23:25:24 | 146,227,269 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | tpp | /*
menbers functions
bool AddR(T d, NodoBST<T>*&);
bool findR(T d, NodoBST<T>*);
bool findI(T);
bool AddI(T);
*/
template <typename T>
bool Bst<T>::AddR(T d, NodoBST<T>*&p){
if(!p){
p = new NodoBST<T>(d);return true;
}
if (p->m_Dato == d)return false;
return AddR(d,p->m_pSo... | [
"jorgealfredomarino2@gmail.com"
] | jorgealfredomarino2@gmail.com |
0fafb8757ee8ab9f9e79f3d3499d71172f34d36a | bb7645bab64acc5bc93429a6cdf43e1638237980 | /Official Windows Platform Sample/Windows 8 app samples/[C++]-Windows 8 app samples/C++/Windows 8 app samples/XAML AppBar control sample (Windows 8)/C++/Page1.xaml.cpp | 018645e032ca8c9616adb017472f59521fc8eec2 | [
"MIT"
] | permissive | Violet26/msdn-code-gallery-microsoft | 3b1d9cfb494dc06b0bd3d509b6b4762eae2e2312 | df0f5129fa839a6de8f0f7f7397a8b290c60ffbb | refs/heads/master | 2020-12-02T02:00:48.716941 | 2020-01-05T22:39:02 | 2020-01-05T22:39:02 | 230,851,047 | 1 | 0 | MIT | 2019-12-30T05:06:00 | 2019-12-30T05:05:59 | null | UTF-8 | C++ | false | false | 1,207 | cpp | //
// Page1.xaml.cpp
// Implementation of the Page1 class
//
#include "pch.h"
#include "Page1.xaml.h"
#include "Page2.xaml.h"
#include "GlobalPage.xaml.h"
using namespace AppBarControl;
using namespace Platform;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace W... | [
"v-tiafe@microsoft.com"
] | v-tiafe@microsoft.com |
3fbd0393f93dc9273893f501de4000f02f321d55 | cb278e33e773dd9f0f5147e0f14dde31baa8b698 | /DynamicFlowField/Agent.cpp | d415c593d3c6a47a4a15dffb74554dea0e3ca772 | [] | no_license | elmnic/DynamicFlowField | 828fbb8759de3f69d714f5ae9acc3f7160f17d67 | c84eae38f1a228d069ebafcd4293e4e8dfe383d8 | refs/heads/master | 2021-09-10T13:35:21.517201 | 2018-03-27T02:52:18 | 2018-03-27T02:52:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,144 | cpp | #include "Agent.h"
#include "PathPlanner.h"
#include <iostream>
Agent::Agent(sf::Vector2i pos)
{
// Set texture and scale it to fit in one block
mSprite.setTexture(Toolbox::getTexture(Toolbox::TextureCode::AGENT));
float sizeX = Toolbox::getMapBlockSize().x;
float sizeY = Toolbox::getMapBlockSize().y;
// How mu... | [
"nicke_elmang@hotmail.com"
] | nicke_elmang@hotmail.com |
691f8528980e15015ae95f5fa4d750768e5f4a4a | 165c34c5e5025035cfcd475b6be450fcd4f1a3ef | /src/ngraph/frontend/onnx_import/graph.hpp | ca8d59c7baf929bb3ff571a0697b9b7349e6dca6 | [
"Apache-2.0"
] | permissive | zmsunnyday/ngraph | 69c68bcd7e1ffc5315e805fdde114656b6e4660e | 7cd383227a251beb92efb750fe79f8470f9081cb | refs/heads/master | 2020-03-22T10:40:18.284775 | 2018-07-05T23:36:17 | 2018-07-05T23:36:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,301 | hpp | /*******************************************************************************
* Copyright 2017-2018 Intel Corporation
*
* 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://... | [
"diyessi@users.noreply.github.com"
] | diyessi@users.noreply.github.com |
c661b4f09d316a8af9a7093146d0a1d99eaeb1e3 | 74b9f6aa535b376ae84db16797b15fe55811ef20 | /codewars/isograms.cpp | 9fc611dd2137e4fc595ce2af47420eae83284f69 | [] | no_license | Zahidsqldba07/sandbox | 4f71fb41dd72161c087fc5b29dbb245208c20d27 | fac94cff73aca972f420820381e386840ae0ade8 | refs/heads/master | 2023-03-17T13:00:17.850483 | 2020-10-25T04:34:30 | 2020-10-25T04:34:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | // https://www.codewars.com/kata/54ba84be607a92aa900000f1/train/cpp
//
// An isogram is a word that has no repeating letters, consecutive or
// non-consecutive. Implement a function that determines whether a string that
// contains only letters is an isogram. Assume the empty string is an isogram.
// Ignore letter case... | [
"jubnzv@gmail.com"
] | jubnzv@gmail.com |
ae6d0e27d8603969fcf3e81badcd460c78a24a93 | e4b9ab902c1ea19f3afe7b01b37adbb7098617d3 | /libs/openFrameworks/gl/ofFbo.cpp | c7524acea3941d798418aeefb947c6c894c5f813 | [
"MIT"
] | permissive | tangrams/ofVectorTile | a661ba426d80fbd17fd736751b3bbfee210ade9c | a74f5df21dc948682ac513704cce64030a506e4b | refs/heads/master | 2021-01-23T20:13:49.735908 | 2015-03-10T14:40:11 | 2015-03-10T14:40:11 | 21,667,907 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 29,578 | cpp | #include "ofConstants.h"
#include "ofFbo.h"
#include "ofAppRunner.h"
#include "ofUtils.h"
#include "ofGraphics.h"
#include "ofGLRenderer.h"
#include <map>
#ifdef TARGET_OPENGLES
#include <dlfcn.h>
#endif
/*
See
http://www.gandogames.com/2010/07/tutorial-using-anti-aliasing-msaa-in-the-iphone/
and
http://stackov... | [
"matt@Matts-MacBook-Pro.local"
] | matt@Matts-MacBook-Pro.local |
76816ac44354c85f50dc54e7b2cb9d82ffd48224 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-swf/source/model/RespondActivityTaskCanceledRequest.cpp | 3fcd1d0ec2270d97f80d716deff32dad6a7940b7 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 1,093 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/swf/model/RespondActivityTaskCanceledRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::SWF::Model;
using namespace Aws::Utils::Json;
us... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
346b0345d75ad9aa8db4c48ec2166159f2077154 | e6d4a87dcf98e93bab92faa03f1b16253b728ac9 | /algorithms/cpp/increasingSubsequences/increasingSubsequences.cpp | 52f3aa1577b11ff9cdaf2ab9cd26469daeb8bd1b | [] | no_license | MichelleZ/leetcode | b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f | a390adeeb71e997b3c1a56c479825d4adda07ef9 | refs/heads/main | 2023-03-06T08:16:54.891699 | 2023-02-26T07:17:47 | 2023-02-26T07:17:47 | 326,904,500 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | // Source: https://leetcode.com/problems/increasing-subsequences/
// Author: Miao Zhang
// Date: 2021-02-16
class Solution {
public:
vector<vector<int>> findSubsequences(vector<int>& nums) {
set<vector<int>> res;
vector<int> path;
dfs(nums, 0, res, path);
return vector<vector<int>... | [
"zhangdaxiaomiao@163.com"
] | zhangdaxiaomiao@163.com |
55b6b56754bcb84de5ef2ebdfb2111ef5801a35b | 1e6478e0d0054247a7699427eb58d2ca181664de | /Linked List/add 1 to ll practice.cpp | a45577f7884814974bd68f015c232725d7001881 | [] | no_license | Jackent2B/My-DSA | 35c8c1fbb72f655c71f38841f1ac72f9c6110470 | 20ce314cb2a248a86268d03a54d4db997796a7ff | refs/heads/main | 2023-07-12T00:36:05.058944 | 2021-08-11T10:36:56 | 2021-08-11T10:36:56 | 346,273,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,592 | cpp | #include <bits/stdc++.h>
using namespace std;
struct Node{
int data;
Node* next;
};
Node* head;
void insert(int num){
Node* newnode = new Node();
newnode->data = num;
newnode->next = NULL;
if(head == NULL){
head = newnode;
return;
}
Node* it = head;
while(it->next != NULL){
it = it->next;
}
it->nex... | [
"jayant.khandelwal7@gmail.com"
] | jayant.khandelwal7@gmail.com |
853d98c147c96ca280d5664cbf68a1895e942a29 | 9c9d196e9a3c1fffdf0e3749cfdb6d8461bc512f | /sample/msvc/error/c2316.cpp | 0c771092dc1bc1f09ca8ac8bb0d6e7ac7798e0e9 | [] | no_license | rethnap/g2-pub | d4715199a8288f97392d62320ef9c9182890e512 | 33ca60632c5432c2a207d09a195d8946134b5f3f | refs/heads/master | 2020-12-15T13:33:08.156495 | 2020-07-07T11:57:05 | 2020-07-07T11:57:05 | 235,118,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | // C2316.cpp
// compile with: /EHsc
#include <stdio.h>
struct B
{
public:
B() {}
// Delete the following line to resolve.
private:
// copy constructor
B(const B&) {}
};
void f(const B&)
{
}
int main()
{
try
{
B aB;
f(aB);
}
catch (B b) // C2316
{
printf_... | [
"pinpan@localhost"
] | pinpan@localhost |
5a45ba15f1e48f29a75271a1f38cce55a736e067 | f89c5d721cad5ec0044e5a056d0be63c4aecd2a8 | /src/commands.cpp | 832de8d2a4d9b595839fd960e5ddd1597fcac7ea | [] | no_license | OS2World/APP-EDITOR-efte | 6fe652125dac7692ac454167ac50c53a3912bdda | a3d63447d3132d916a0fcd85f1c5380af94c19fa | refs/heads/master | 2021-01-15T16:37:13.173174 | 2015-11-09T23:25:42 | 2015-11-09T23:25:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 743 | cpp | /* commands.cpp
*
* Copyright (c) 2008, eFTE SF Group (see AUTHORS file)
* Copyright (c) 1994-1996, Marko Macek
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
*
*/
#include "fte.h"
int GetDe... | [
"gyoung@cadfd85e-12d1-dd11-ae90-00e081727c95"
] | gyoung@cadfd85e-12d1-dd11-ae90-00e081727c95 |
24a364a8e1561534b73c8d63d23a02bc76721928 | 2b9e0da439ca5245945a6eca87319bf8db189b50 | /Codigos para consulta e referecias/Firmware/Arduino/I2C_slave_to_serial/slave_i2c/slave_i2c.ino | c4c6b4551c5053b20656371c590418041a4213f4 | [] | no_license | italogsfernandes/rastreamento-inercial | f7834f813d69af3d59e70ee4235669a53abde809 | 7215432ba64f277b1ce2f172e0746fa7f3d93e84 | refs/heads/master | 2022-03-17T20:37:10.703792 | 2019-10-10T18:16:35 | 2019-10-10T18:16:35 | 65,989,479 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | ino | #include<Wire.h>
char to_send = 5;
void setup() {
// put your setup code here, to run once:
Serial.begin(38400);
Wire.begin(0x07);
Wire1.begin();
Wire.onReceive(receivingEvent);
Wire.onRequest(requestingEvent);
Serial.println("Ligado..");
}
void loop() {
// put your main code here, to run repeatedly:... | [
"italogsfernandes@gmail.com"
] | italogsfernandes@gmail.com |
80318e123e4e9e75375ebe179f0bc6d5ac88ce90 | a7ab46487db194eda72fce9ea5a5810501f6e6c6 | /src/osg3DViewer/xFindNameListVisitor.cpp | bc8f4f637cb23b94e953738c4b69f43cb4821866 | [] | no_license | funthing/osg3DViewer | acccabca51b320bb55c80078cd32a6c56dca2fbc | d6daacd5f123e53f961d1691ac6dbfe68b4edaea | refs/heads/master | 2020-09-20T18:49:53.199974 | 2018-03-08T01:05:08 | 2018-03-08T01:05:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,383 | cpp |
/******************************************************************************
osGraphX: a 3D file viewer
Copyright(C) 2011-2012 xbee@xbee.net
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Fo... | [
"ronggenmiao@163.com"
] | ronggenmiao@163.com |
543955b93e85dcd1cd2697fe057246dd6c5b3695 | 21e389fec25dedfd50a160730c7bc8cd1f25eb09 | /class/aplicacion/bonus/bonus_normal.cpp | 52671878a4792473364ce474ee433c174fde4c9b | [] | no_license | TheMarlboroMan/cheap-shooter | 6071a3775c438708af7d10bffdc87e348071f765 | a3e05f6a03ffb97526ab76502f464c95afaa128c | refs/heads/master | 2021-08-18T16:03:58.982613 | 2021-05-11T08:44:39 | 2021-05-11T08:44:39 | 119,830,022 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | cpp | #include "bonus_normal.h"
//Tiene una animación en seis fases. Durante 2.5 segundos está en un frame y
//durante 0.4 en cuatro.
const float Bonus_normal::BRILLO=3.0f;
Bonus_normal::Bonus_normal(unsigned int mod_contador)
:Bonus(), brillo(BRILLO)
{
this->preparar_actor(mod_contador);
}
Bonus_normal::~Bonus_normal(... | [
"marlborometal@gmail.com"
] | marlborometal@gmail.com |
9fc0c2e7072f696ae32490935780bd451e489fa0 | 9b49a9df7584fdf686c6a0388ca3e1854f302bde | /tools/gen-1yr-data/stat.h | 5a40fbba3900c3b4d7b5db0bc88b18dfde91a6f2 | [] | no_license | hobinyoon/crawl-twitter | f442ec8298b30d800e087cad2752220692dfb858 | 8eb73c532e4ebdde905275f9b0f27b058f6ce639 | refs/heads/master | 2020-04-06T07:04:39.450641 | 2017-08-09T14:58:04 | 2017-08-09T14:58:04 | 23,516,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | h | #ifndef __STAT_H__
#define __STAT_H__
#include <map>
#include <vector>
#include <boost/date_time/posix_time/posix_time.hpp>
namespace Stat {
void AvgMinMax(
const std::vector<double>& values,
double& avg,
double& min,
double& max);
void CDF(
const std::map<size_t, int>& map_,
double* x,
double... | [
"hobinyoon@gmail.com"
] | hobinyoon@gmail.com |
ebc91503f8401ee8221b6934f1541f2dddbbed7b | bf3877bb7a0e12852337e184b4859417ac7d54a0 | /tools/clang/lib/CodeGen/CGCall.cpp | 0b3e9deb3f50e1e67564da0814929e28b9482468 | [
"NCSA"
] | permissive | ckj119940887/IntFlow | efc4116c60a3bc76bd5076e32b31241c202c9982 | 0400aef5da2c154268d8b020e393c950435395b3 | refs/heads/master | 2020-03-29T11:46:58.241965 | 2015-04-04T22:39:15 | 2015-04-04T22:39:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 89,464 | cpp | //===--- CGCall.cpp - Encapsulate calling convention details ----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"theofilos.pe@gmail.com"
] | theofilos.pe@gmail.com |
5cabf4d572a0836acdc93426a74b331b0c97fa73 | affe3e40002cdb8ef813eef27003014190d4ffec | /Medians Of Mystery Final.cpp | 2adb59d0fbe83ddb9475fcd87e964050548b0369 | [] | no_license | yehya/Contest-Programming-Solutions-and-Others | d9a7778f07a3a1129105a5f78a14d80ff51c33eb | c5f2a34aef68f3525d63a89c8ce631886849fd32 | refs/heads/master | 2021-01-18T02:40:52.303236 | 2015-07-30T23:16:13 | 2015-07-30T23:16:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,733 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <unordered_map>
#include <string>
using namespace std;
/* Thinking space:
Sample Input:
3 3 ? 9
4 12 ? ? ?
Output:
12
HOW IT WORKS:
left = 3 - [12] - right = 3
If any side = half, then we... | [
"yehyaawad@Yehyas-MacBook-Pro.local"
] | yehyaawad@Yehyas-MacBook-Pro.local |
f81c80c71fbe6a05aca5888c776dc9630b50c7af | 079493d9f33be5418dfa87b9300f821ee8943755 | /RTIM/src/InfScore.h | e928c46bbd68e6cfa30cc27f6a75a22212c5f5b7 | [] | no_license | davidcdupuis/research-cpp | e1c4b7098611f5f8b17eef1aff8de81d7e275ac4 | 62b8eb9fa0516064e1986b4122c0030a05c4cb6e | refs/heads/master | 2022-04-01T10:33:23.504483 | 2019-12-31T10:35:08 | 2019-12-31T10:35:08 | 133,790,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,698 | h | #ifndef __INFSCORE_H__
#define __INFSCORE_H__
#include <iostream>
#include <string>
#include <unistd.h>
#include <iomanip>
#include "Graph.h"
#include "Tools.h"
class InfScore{
public:
int simulations = 10000;
int depth = 10000;
int minEdgeWeight = 0;
std::vector<int> seedSet;
Graph& graph;
InfScore(Gra... | [
"david.c.dupuis@gmail.com"
] | david.c.dupuis@gmail.com |
7520893fdf4f5c58773deb9cd30b932c736f180e | 3adeec2465a0283185d35617bb2b1c0d1adc6008 | /jdb_engine/my_math/Vec3.cpp | 53f0bddd3e1921b05173d04d6335a3ecf161a228 | [] | no_license | Azurifle/Game_Engine_Group | b357790d47f8bd244fd10d9f37272bca57956315 | 372ec6219c62eb32087573a543a60a83ec997dd9 | refs/heads/master | 2020-03-23T01:31:12.096981 | 2018-07-28T06:53:13 | 2018-07-28T06:53:13 | 140,922,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,522 | cpp | #include <stdafx.h>
#include "Vec3.hpp"
namespace jdb
{
//___ static ____________________________________
template <class T>
const Vec3<T> Vec3<T>::UP(0, 1, 0);
//___ (de)constructors/operators ____________________________________
template <class T>
Vec3<T>::Vec3(const T t_x_y) : x(t_x_y), y(t_x_y), z(t_x... | [
"dsirikasem@hotmail.com"
] | dsirikasem@hotmail.com |
74c734dcb714edec8a3da3d465781f3c667a8251 | ae25bffa378345c49e5ef5a0347f2c121c7a0f31 | /nam-1.0a10/enetmodel.cc | f88125cd98c462ba3bfe4d70f1fea41c3957685a | [] | no_license | smilemare/NS-2.1b8a-MacOS | 49a00733c4aee95e86324d595bb7e85d98259be9 | b556e49bf6ff88df0bdd983baaae68a809676f88 | refs/heads/master | 2020-12-24T15:22:53.671307 | 2014-10-31T10:04:37 | 2014-10-31T10:04:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,895 | cc | //
// Copyright (c) 1997-2001 by the University of Southern California
// All rights reserved.
//
// Permission to use, copy, modify, and distribute this software and its
// documentation in source and binary forms for non-commercial purposes
// and without fee is hereby granted, provided that the above copyright
// no... | [
"smilemare@foxmail.com"
] | smilemare@foxmail.com |
943e176184fbee1166338607582737f201c7d77e | 23b65dccf1d95592d5d44da90caea776904650dc | /Stmt/Ret.cpp | 2c9811e3a906dd865029d4a339a1ae064991ae8c | [] | no_license | cyandjinnie/MiniJavaCompiler | 615355c1491f112ee99d18ff30b38152f4d345b8 | 4e22fcf614e0c54486bc92edd5e05d83c4490e64 | refs/heads/master | 2022-11-29T12:39:45.826504 | 2020-07-31T15:38:29 | 2020-07-31T15:38:29 | 260,749,209 | 2 | 1 | null | 2020-07-31T15:38:30 | 2020-05-02T18:25:37 | C++ | UTF-8 | C++ | false | false | 161 | cpp | //
// Created by Igor Maximov on 03.04.2020.
//
#include "Ret.h"
namespace Stmt {
void Ret::Accept(Visitor::Base *visitor) {
visitor->Visit(this);
}
}
| [
"igormaximow@gmail.com"
] | igormaximow@gmail.com |
2af49ddf6cceef17a97ddaa9fd654c62a5cbb059 | 63b097810395db225440e3f7f62d805ae6c322d9 | /mimir/gatekeeper/gatekeeper.cpp | ba990ffd7ce9691c7e6be751b82a91b1cf842cf0 | [] | no_license | saberdance/Mimir | 8c7f97c2241ca4a3d41b03af4b94ac5822e37195 | b25f1df1c32337cbc7c9262553659a8f4a3aaa04 | refs/heads/master | 2021-01-07T03:54:02.837838 | 2020-04-07T09:30:56 | 2020-04-07T09:30:56 | 241,571,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,338 | cpp | #include "gatekeeper.h"
#include "../utils/mUtil.h"
#include <experimental/filesystem>
#include <unistd.h>
#include <sys/syscall.h>
#include <random>
#include <fcntl.h>
#include <linux/memfd.h>
#include <errno.h>
extern char** environ;
namespace fs = std::experimental::filesystem::v1;
void Gatekeeper::showHelp()
{
... | [
"huangyi@afteraries.com"
] | huangyi@afteraries.com |
3c389089c7f7fc8fbad6b282255288d73b673832 | 91187640b868290f72f3eaec3d841514960298c7 | /include/Team/Team.h | f81714eaaecf64e4de28807ef84bf2d74b5ebdf5 | [] | no_license | dmpapazog/Cpp | fd0567a4e8c53d886603abd4ea6798c54b9a2338 | 2f028cbfa40b91ad9d73e3883a6f20a7bbdf60db | refs/heads/master | 2020-04-27T17:20:32.864667 | 2019-06-27T07:41:58 | 2019-06-27T07:41:58 | 174,514,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | h | #ifndef TEAM_H
#define TEAM_H
#include "Player/Player.h"
#define MAX_NUMBER 30
class Team {
private:
char* name;
int foundation_year;
Player *lineup[MAX_NUMBER];
int numPlayers;
public:
Team(const char* const name,
const int& foundation_year);
... | [
"dmpapazog@gmail.com"
] | dmpapazog@gmail.com |
c6ee4efae8a06664bc0eb275965757ce89638970 | d59bba8c8ed761a0bb39caf7b5b5b6c02b0783ca | /RemoteRender/RemoteRender/HolographicRemoteConnection.h | 6f3ef1b615a033fbff89308def53427bc5656ac0 | [] | no_license | piandpower/hololens-remote-render | b54bf909754c80448765e4f447a26d780fee8e44 | f9fc63293240f4d6251f6d52d550322c9c389c9c | refs/heads/master | 2021-06-15T05:09:09.511544 | 2017-03-31T17:09:45 | 2017-03-31T17:09:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,160 | h | #pragma once
#include <HolographicStreamerHelpers.h>
using namespace Microsoft::Holographic;
using namespace std;
using namespace DX;
using namespace Platform;
using namespace Microsoft::WRL;
// Helper class to wrap up the details of making a connection to a HoloLens device
// listening at the IP address supplied. M... | [
"peted70@hotmail.com"
] | peted70@hotmail.com |
53d93e05cdb7299220e5b1b6e04193fd4b921f10 | d396aa3495407069935ebab3faf870ad87025014 | /2 数据结构/1 栈/4 1051判断出栈顺序是否可行 2.cpp | 6b16cc1d852dd159ea9b7f35fdffb269f84500ae | [] | no_license | qwjaskzxl/For-OJ | 4d3b2f873cf11c5f9ddb74c4b91b4b78cccc3afa | 1fe6e5099d95fff2dcfc503951ff6e311202919b | refs/heads/master | 2021-12-25T21:17:44.232567 | 2021-08-05T14:01:59 | 2021-08-05T14:01:59 | 175,966,016 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 558 | cpp | #include<iostream>
#include<cstring>
#include<stack>
using namespace std;
const int N=1005;
stack<int>st;
int a[N];
int main(){
int m,n,T;
cin>>m>>n>>T;
while(T--){
for(int i=1;i<=n;i++)
scanf("%d",&a[i]);
while(!st.empty()) st.pop();
int now=1;
int ok=1;
for(int i=1;i<=n;i++){
st.push(i);
if(st.... | [
"870384605@qq.com"
] | 870384605@qq.com |
dd592fc6267af4094cca5e79807f5e85869a7f40 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/072/411/CWE122_Heap_Based_Buffer_Overflow__c_CWE806_char_ncat_74b.cpp | fc721989d024ccb5ba5777e1eff5306f31b0a936 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,689 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE806_char_ncat_74b.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE806.label.xml
Template File: sources-sink-74b.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Initialize data as... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
976753ad0a32f12621b077a59479360f6458ab09 | 5a2349399fa9d57c6e8cc6e0f7226d683391a362 | /src/qt/qtwebkit/Source/JavaScriptCore/runtime/FunctionPrototype.h | 0083fb9d27591631cf310b80b3e35854a0a3e7fb | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-copyleft",
"GPL-2.0-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LGPL-2.0-only",
"BSD-3-Clause"
] | permissive | aharthcock/phantomjs | e70f3c379dcada720ec8abde3f7c09a24808154c | 7d7f2c862347fbc7215c849e790290b2e07bab7c | refs/heads/master | 2023-03-18T04:58:32.428562 | 2023-03-14T05:52:52 | 2023-03-14T05:52:52 | 24,828,890 | 0 | 0 | BSD-3-Clause | 2023-03-14T05:52:53 | 2014-10-05T23:38:56 | C++ | UTF-8 | C++ | false | false | 2,125 | h | /*
* Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
* Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
919855f5673ea2bfada2800331d6ed0e1c6fa678 | 5869db4b5c946a62ae5c48c33544d94a45d7f9f6 | /trusty/confirmationui/NotSoSecureInput.cpp | 3d9a2d6e50bc564055e465a9b3669ab146d67c3a | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | CherishOS/android_system_core | 677c19f31a10bf46ea715b9447181c03efc6fc50 | 2e3af867d927e861e66b750e634e6b883967d9b6 | refs/heads/master | 2023-07-09T20:57:07.250377 | 2020-04-30T14:11:50 | 2020-04-30T14:11:50 | 260,263,775 | 2 | 18 | NOASSERTION | 2021-12-20T14:27:18 | 2020-04-30T16:36:22 | C++ | UTF-8 | C++ | false | false | 7,778 | cpp | /*
* Copyright 2020, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | [
"jdanis@google.com"
] | jdanis@google.com |
615ed2eeaf1aa83429ea11ab5221e404fae40c9f | 1bde7e1d91d27159be92a3e150e319b4d3e39283 | /Praktikum5/Thomas/mainwindow.cpp | 0743406bd0d13579b81313f3defaa9621af78c17 | [] | no_license | ksk6/PAD2 | 9e503248170cc5f006e880471bbe0ffee5c402ad | 91ad4d47017e969c628e4cfbb0a7f0df6dc27163 | refs/heads/master | 2020-05-07T18:52:42.829197 | 2019-06-19T13:25:27 | 2019-06-19T13:25:27 | 180,786,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,932 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <qmessagebox.h>
#include <newbooking.h>
#include <booking.h>
#include <QInputDialog>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ta = new TravelAgency;
this->setWi... | [
"noreply@github.com"
] | ksk6.noreply@github.com |
d9109cecad1b6209d7c27b8bbf304095360aa8cb | fb5fd35c3acecb7bb4e45aa8cd39b83dfcfc30c6 | /CF/图论专题/CF 263D - Cycle in Graph搜索环.cpp | 80535a19b4a4051461724f705cafca55e6b187a5 | [] | no_license | chunchou/ACM | 6306f6577a6912d020d5a4fa3f8808beadd283e0 | d5ac8b9511689fed08c15d5f111d53146152a75e | refs/heads/master | 2021-01-14T09:23:58.072885 | 2013-12-24T00:58:43 | 2013-12-24T00:58:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,308 | cpp | /*
* 题目:
* 寻找图中长度至少为k+1的环
*
* 分析:
* 其实可以直接爆搜可过。。
* 另外,由于题目中保证了每个顶点都有至少k个相邻的顶点相连,所以我们可以从
* 每个顶点出发,寻找一个度最小的相邻顶点,然后判断是否没被遍历,如果没有的话,
* 可以直接从这个出发的点开始得到长度至少k+1的环。。。
*
* */
#include <cstdio>
#include <cstring>
#include <iostream>
#include <vector>
const int X = 100005;
std::vector<int> vec[X];
int s[X];
int ... | [
"545883134@qq.com"
] | 545883134@qq.com |
977da7029a3ff9077e90d8302ac190cb5e0f1e66 | 641b000da21d8bc523155865bba65d5af59f4869 | /EpySort.cpp | d7573a6052adf5688d7750c79abe98ecdbedd01d | [] | no_license | Lightwing-Ng/Online-Codings | f3ada5890390e5d434d6e2815d0a24dcdb331ba3 | 56b79143eeeb0a1012cedf645a3358d12b5e16f6 | refs/heads/master | 2021-04-03T01:31:39.795860 | 2018-03-11T20:03:35 | 2018-03-11T20:03:35 | 124,793,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | cpp | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
struct person {
long ID;
int age;
string name;
} Employee[10];
static bool compare(person a, person b) {
if (a.age < b.age || (a.age == b.age && (a.ID < b.ID || (a.ID == b.ID && a.name < b.name))))
return true;
... | [
"rodney_ng@icloud.com"
] | rodney_ng@icloud.com |
5654c7b81ccf6bfb1dd9e5113e0edccb32e7e665 | d9953ee10323fbb26cb26d79956a6be6d6c02384 | /COMP371_Project/vertex_loader.cpp | 4ec2b9fd95c9982354c764bbf955a4384b8b3ff5 | [] | no_license | gitScald/OpenGL-Project | 556c7aea60d588709bc51263368db2050b53ea1d | 4dbb7a84cc6fdde252524ad9f7b026157ffadc2e | refs/heads/master | 2021-09-11T21:53:40.248849 | 2018-04-12T17:02:04 | 2018-04-12T17:02:04 | 119,053,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,952 | cpp | #include "vertex_loader.h"
GLfloat* VertexLoader::loadAxesVertices(GLuint* size) {
GLfloat* verticesAxes = new GLfloat[6] {
// position
0.0f, 0.0f, 0.0f, // line origin
5.0f, 0.0f, 0.0f // line end
};
*size = 6 * sizeof(GLfloat);
return verticesAxes;
}
GLfloat* VertexLoa... | [
"vial.benj@gmail.com"
] | vial.benj@gmail.com |
66f19ad5d69117075b05283b00f3205536598919 | 5d513922371951e68767dbd0a89b92dcd2f7ecdf | /solution771.cpp | e9f07d59d23fdd3d1b96067a74e442904ee14a3b | [] | no_license | lazur5566/Leetcode | 2f7809e8d554f429b7824d183f57fd6523544110 | 08a227fb3ea35c61a42d7e5bc698acd329d0bd29 | refs/heads/master | 2020-03-22T00:17:29.094869 | 2018-09-20T03:01:08 | 2018-09-20T03:01:08 | 139,235,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,752 | cpp | //
// solution.cpp
// 771. Jewels and Stones
//
// Created by lazur on 2018/3/25.
// Copyright © 2018年 lazur. All rights reserved.
//
#include <set>
#include <string>
#include <iostream>
class Solution771 {
public:
int numJewelsInStones(std::string J, std::string S) { //golden solution on leetcode
int ... | [
"noreply@github.com"
] | lazur5566.noreply@github.com |
c9df710f87d0617b40a652842e6f840924752595 | 595abe56f20f3a2eb72ae7979f4073ee4b9c72fb | /BitTorrent/node.cpp | aad8bc492062d95fdb539bfd4cdf6be07b6dea21 | [] | no_license | jeacevedo92/Cliente-Servidor | 2cd8e050fb3e292dfbd4af5e5fd2532dd1197b3c | 0dad1bb89977f0bdedf09a544e953d695fdd7dc9 | refs/heads/master | 2021-01-15T17:50:15.115185 | 2017-12-06T12:56:39 | 2017-12-06T12:56:39 | 99,761,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,037 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <zmqpp/zmqpp.hpp>
#include <utility>
#include <chrono>
#include <thread>
#include <stdlib.h> /* srand, rand */
#include <time.h>
#include <random>
using namespace std;
using namespace zmqpp;
class Node {
private:
string ip;
... | [
"jeacevedo92@utp.edu.co"
] | jeacevedo92@utp.edu.co |
172a3a17ee6aac5b288d14a094bbbec8e3d7ab88 | 73c6ff4bdc7867f15dd41480feefe30004f43d84 | /dialog.h | db995a8de9226df50ddfe7cf7f8afbece11b6e4d | [] | no_license | k-pypin/Design-Patterns-Lab2 | 4249502ef24ac31e3476911f15f16e226ed757c3 | 9761c9d2935da8578c7bb9a345b666377d8b31dc | refs/heads/master | 2022-07-13T16:10:21.526752 | 2018-11-08T22:35:27 | 2018-11-08T22:35:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 782 | h | #ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
#include "qpaintwidget.h"
#include "headers/AMatrix.h"
#include "headers/consoledrawer.h"
#include "headers/guidrawer.h"
#include "memory"
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = nul... | [
"kirill_131097@mail.ru"
] | kirill_131097@mail.ru |
306941ebedb57ef49fe7151c7c639f31279fe051 | 4e7a6186817b2e328e18423cb4f14f05b51b49cc | /code/angeo/include/angeo/collision_shape_id.hpp | 2a024220bedf786ce12948cd8fe48d83c030c5a1 | [] | no_license | BlenderCN-Org/E2 | 584fdbda6803616fbe9071d756d2d7d0a4693230 | fa24459aa3c2b1e9b8e72b9efd314bcfbc571a23 | refs/heads/master | 2020-07-19T16:44:28.389666 | 2019-07-20T20:37:25 | 2019-07-20T20:37:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | hpp | #ifndef ANGEO_COLLISION_SHAPE_ID_HPP_INCLUDED
# define ANGEO_COLLISION_SHAPE_ID_HPP_INCLUDED
# include <utility/basic_numeric_types.hpp>
namespace angeo {
/**
* Types of "primitive" collision shapes for which we provide contact point computation.
* All these shapes represent a CONVEX set of points. It implies ... | [
"trtikm@gmail.com"
] | trtikm@gmail.com |
5095f56b6e85bff6d18dbb0b8a5067817a9b0bc1 | 8b8ee12a0fd0a37f35a26547ea89db91c8e680bb | /src/gpgpu-sim/old_fph_sc/hpcl_comp_sc2_pl.h | 4a53118f60506c9e81d9af3fdcee995788783c29 | [] | no_license | pdevpura/Compression-work | 81fdd523ab36c72006248dae8d6718dea8c4f51e | 023e1e4d4cbabec651af9aea7b497ef2774fa8ac | refs/heads/master | 2021-01-22T04:15:47.635409 | 2017-05-25T22:51:40 | 2017-05-25T22:51:40 | 92,448,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,465 | h |
// added by abpd
#ifndef HPCL_COMP_SC2_PL_H_
#define HPCL_COMP_SC2_PL_H_
#include "hpcl_comp_sc2_pl_proc.h"
#include "hpcl_comp_pl_data.h"
#include <vector>
#include <unordered_map>
#include <utility>
using namespace std;
#define MAX_INST 1000000000
#define VFT_SIZE 7168 // 7kb
#define WORD_SIZE ... | [
"ashwin21gowda@tamu.edu"
] | ashwin21gowda@tamu.edu |
3b4495dec53c249b24accb92028f82fda38c8d85 | 4111b4943472b96bf4aaa04c5d61f35ec0b9011b | /gecode/set/rel-op/subofunion.hpp | 09272641fcc31252ef095ca95be631e044617cb7 | [
"MIT"
] | permissive | jahewson/gecode | 3862ed7ac48124bbb5d16ddd39aa2803aacaf145 | 91f3bbeafe96ec7172aeb5417f624109143415bb | refs/heads/master | 2020-05-17T01:51:26.270717 | 2013-02-11T19:40:23 | 2013-02-11T19:40:23 | 6,619,246 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,580 | hpp | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Guido Tack <tack@gecode.org>
* Christian Schulte <schulte@gecode.org>
*
* Contributing authors:
* Gabor Szokoli <szokoli@gecode.org>
*
* Copyright:
* Guido Tack, 2004
* Christian Schulte, 2004
* ... | [
"john@jahewson.com"
] | john@jahewson.com |
a3db4ee493edad3c93b72b8e3cbbe80b18dabfa8 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-ec2/include/aws/ec2/model/ResetEbsDefaultKmsKeyIdRequest.h | 9ec84584ab327206876f47bc6b4c1ddb53ee5975 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 2,737 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/ec2/EC2Request.h>
namespace Aws
{
namespace EC2
{
namespace Model
{
/**
*/
class AWS_EC2_API ResetEbsDefaultKmsKeyIdRequest : publi... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
57aedfaa73062fe51b4fd4b50aa6f943efcc97ac | 727213382e3dbd831fa6168ae5dfeed26e22f153 | /tensorstore/internal/http/http_request.h | 5825e2bc5b09f151951aedf2c5b705c6aec31db4 | [
"BSD-3-Clause",
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | google/tensorstore | e3c41c9de41bdd56f26bbe31307c09d4ddd0278d | d38958e88130e7922f2c5d856a12114546ac9b73 | refs/heads/master | 2023-08-29T07:15:28.642462 | 2023-08-29T06:42:04 | 2023-08-29T06:43:13 | 251,312,202 | 1,190 | 88 | NOASSERTION | 2023-09-05T07:40:51 | 2020-03-30T13:24:59 | C++ | UTF-8 | C++ | false | false | 4,977 | h | // Copyright 2020 The TensorStore 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
00197692a6d80fb9b82f1d99d8060ac593cb75a3 | 399226ce3e031c63b0f89c515f58d83e96b0514d | /Varsta/main.cpp | def177a28809474bec863e5f3f8d94e4bbdc3696 | [] | no_license | MorariuElaIulia/ONI5 | 7981687c5ee9c7d72b4085dab910cfafebd7c860 | bc8b3996361b445ce6863960af71dba7ed865fe2 | refs/heads/master | 2023-01-24T22:39:30.176345 | 2020-12-10T10:24:49 | 2020-12-10T10:24:49 | 260,265,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | #include <iostream>
#include <fstream>
using namespace std;
ifstream fin("Varsta.in");
ofstream fout("Varsta.out");
int main()
{
//1.
int I = 0;
int M = 0;
//2.
fin>>I>>M;
//3.
if(I==M){
fout<<"Ei au aceasi varsta.";
}else{
if(I>M){
... | [
"noreply@github.com"
] | MorariuElaIulia.noreply@github.com |
e3435c7ffb4bd1682b7dee25cc94ec6288fdcd76 | 62869fe5152bbe07fbe9f0b61166be32e4f5016c | /3rdparty/CGAL/include/CGAL/Sphere_3.h | 90089bbd61a86b8e5a1b0ac6f2c01728dfe803ae | [
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-3.0-or-later",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-commercial-license",
"MIT"
] | permissive | daergoth/SubdivisionSandbox | aef65eab0e1ab3dfecb2f9254c36d26c71ecd4fd | d67386980eb978a552e5a98ba1c4b25cf5a9a328 | refs/heads/master | 2020-03-30T09:19:07.121847 | 2019-01-08T16:42:53 | 2019-01-08T16:42:53 | 151,070,972 | 0 | 0 | MIT | 2018-12-03T11:10:03 | 2018-10-01T10:26:28 | C++ | UTF-8 | C++ | false | false | 9,214 | h | // Copyright (c) 1999
// Utrecht University (The Netherlands),
// ETH Zurich (Switzerland),
// INRIA Sophia-Antipolis (France),
// Max-Planck-Institute Saarbruecken (Germany),
// and Tel-Aviv University (Israel). All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
// ... | [
"bodonyiandi94@gmail.com"
] | bodonyiandi94@gmail.com |
2c5ff30751fe44ba7602eeed97810a2f62008172 | f625b0ad58c42b3a021ecc0f3b242bcb84284dd7 | /lab_dict/pronounce_dict.cpp | aeeb2cb3b66cb478988fd076a35340fd23a48943 | [] | no_license | kmai1/CS225 | ba7e0fdc243dd75b1aa76431ec4ed1b594577283 | 3ba182d05b0e0fae071f812d21d2a980572df6f3 | refs/heads/master | 2023-03-10T10:17:44.462439 | 2021-02-23T04:28:56 | 2021-02-23T04:28:56 | 341,427,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,122 | cpp | /**
* @file pronounce_dict.cpp
* Implementation of the PronounceDict class.
*
* @author Matt Joras
* @date Winter 2013
*/
#include "pronounce_dict.h"
#include <iterator>
#include <sstream>
#include <fstream>
#include <iostream>
#include <cstring>
#include <algorithm>
using std::string;
using std::map;
using st... | [
"maikevin123@gmail.com"
] | maikevin123@gmail.com |
c473e5cb2be5da9a78f92721cf03126967457c80 | f879434ededbe74c92b19cdc0cc0294c3be27f0f | /extern/glslang/SPIRV/SPVRemapper.cpp | 965867efb0281fc7ed2225b596afaf3aa560d562 | [] | no_license | byhj/byhj-Render | 7bd0cea526286624f609fff15b07b79f9f09aadf | 5ca2746eabc952c8cff8e552d429cda880460db0 | refs/heads/master | 2021-01-21T04:42:10.246612 | 2016-07-02T06:23:00 | 2016-07-02T06:23:00 | 49,644,368 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 45,065 | cpp | //
//Copyright (C) 2015 LunarG, Inc.
//
//All rights reserved.
//
//Redistribution and use in source and binary forms, with or without
//modification, are permitted provided that the following conditions
//are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of condit... | [
"476652422@qq.com"
] | 476652422@qq.com |
2795238cd71ef5f7ed6727a6ad74a8ce770c690a | 72a08996beb7ba253ba9f6a03dbe00651aa3f835 | /Source/Tools/Editor/Inspector/MaterialInspector.cpp | da6a854204b70b49e237de6d54fc25a907dc1399 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | whztt07/rbfx | 3da41e3e8a9d29e9480fde40abd7475b3636c8c1 | ddf22512edf17c7ca3282c3216ef78fc00a53ef0 | refs/heads/master | 2020-04-16T06:23:08.390059 | 2019-01-05T11:39:33 | 2019-01-05T11:39:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,202 | cpp | //
// Copyright (c) 2018 Rokas Kupstys
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publi... | [
"rokups@zoho.com"
] | rokups@zoho.com |
22e147e97875f9d2eaaf5458ac98cff107c6be20 | bcd883ce7af79c5d124be20e1da62096d2096f21 | /include/TrackerLabel.h | 22e360240203dc39a31a60c647333df22bc5248b | [] | no_license | MichaelRRyan/AI-for-Games-Labs | 94212a194be7e982d26cb4fcde544225fa327510 | c5e9059158fa14532973b4cd41ba42f780d4e2d1 | refs/heads/master | 2023-08-13T11:48:22.795908 | 2021-10-15T12:40:42 | 2021-10-15T12:40:42 | 412,402,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | h | #pragma once
#include <SFML/Graphics.hpp>
#include <iostream>
#include <string>
#include "Plane.h"
class TrackerLabel : public sf::Drawable
{
public:
TrackerLabel(std::string const & t_string = "", Plane * t_target = nullptr, bool t_matchVisibility = true);
void update();
void setString(std::string const & t_st... | [
"c00239510@itcarlow.ie"
] | c00239510@itcarlow.ie |
2cec7d035cdf5dacd81ccce116d46a98714f1a21 | 59ff838da9407754852286d6e0689b9e0490f2e5 | /21.01.2012/21.01.2012/GLRenderer.h | 7ac49b8ecaf73208835a991a525b0c08bec482cf | [] | no_license | Marezen/OpenGL | 02f611b11096956a90d0736cd3a7959f0a1d31c7 | cc3cc308ac794e3e8dfb68ce815780655b7c55e9 | refs/heads/main | 2023-03-30T13:07:25.431286 | 2021-03-21T23:40:17 | 2021-03-21T23:40:17 | 349,613,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | h | #pragma once
class CGLRenderer
{
public:
CGLRenderer(void);
virtual ~CGLRenderer(void);
//osnovne funkcije:
bool CreateGLContext(CDC* pDC);
void PrepareScene(CDC* pDC);
void Reshape(CDC* pDC, int w, int h);
void DrawScene(CDC* pDC);
void DestroyScene(CDC* pDC);
UINT CGLRenderer::LoadTexture(CString fileName)... | [
"48247302+Marezen@users.noreply.github.com"
] | 48247302+Marezen@users.noreply.github.com |
5fdf899c7d57a0a5cbdf6e8dca9e7dee8f0cd249 | 4ce50b4aaa671d80441bc7c4d3a0dcf8308dda77 | /MyListWidget.cpp | 4dfb33c0978b453f062183ef13d41f5ccb60fed9 | [] | no_license | Selur/MKVSegmentJoiner | 8fba6cd7c0db410b2af8aa8060083eade8293896 | daaeb2e67b99fdc74904cea85a37b9eb2a3ad35e | refs/heads/master | 2020-03-29T14:27:56.202363 | 2016-01-05T16:29:50 | 2016-01-05T16:29:50 | 31,787,864 | 0 | 1 | null | 2016-01-05T16:29:50 | 2015-03-06T20:34:38 | C++ | UTF-8 | C++ | false | false | 2,001 | cpp | /*
* MyListWidget.cpp
*
* Created on: Dec 25, 2011
* Author: Selur
*/
#include "MyListWidget.h"
#include <QUrl>
#include <QFileInfo>
#include <QDirIterator>
#include <QMimeData>
#include <QDropEvent>
#include <QStringList>
#include <QDragEnterEvent>
MyListWidget::MyListWidget(QWidget *parent) :
QListWi... | [
"hybrid@selur.de"
] | hybrid@selur.de |
b8b742d18c2fb0733931b03b978b64ca433a9514 | 473fc28d466ddbe9758ca49c7d4fb42e7d82586e | /app/src/main/java/com/syd/source/aosp/system/vold/CryptCommandListener.cpp | 779338f5a3b89c72e329f35961a32abe72e4d4ce | [] | no_license | lz-purple/Source | a7788070623f2965a8caa3264778f48d17372bab | e2745b756317aac3c7a27a4c10bdfe0921a82a1c | refs/heads/master | 2020-12-23T17:03:12.412572 | 2020-01-31T01:54:37 | 2020-01-31T01:54:37 | 237,205,127 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 16,058 | cpp | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"997530783@qq.com"
] | 997530783@qq.com |
5a820528ac615b1f270211e00b3c5e2cc20b5d6f | 9077bec083096004ebf2a68ef47970826055380b | /pp4/ast_expr.h | ae4abafa731a8c31b927be1e92a47b82c4cc118d | [] | no_license | raingerber/CS4620 | 3bcefebfb1eb916fe791add1ecedbaafab3ba04b | fc2813f122b4a776fbb1e5c148b278ffee426665 | refs/heads/master | 2016-09-10T20:57:43.352044 | 2014-12-07T02:47:49 | 2014-12-07T02:47:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,206 | h | /* File: ast_expr.h
* ----------------
* The Expr class and its subclasses are used to represent
* expressions in the parse tree. For each expression in the
* language (add, call, New, etc.) there is a corresponding
* node class for that construct.
*/
#ifndef _H_ast_expr
#define _H_ast_expr
#include "ast.h"
... | [
"vmuser@trustyvm.cs.virginia.edu"
] | vmuser@trustyvm.cs.virginia.edu |
e109c8bb909971d19fd86daf3f035dfd09c0a7a1 | 775acebaa6559bb12365c930330a62365afb0d98 | /external/afl/includes/APathComponent.h | 177be17c17839bb9e19d8a8850109e434e70fe3e | [] | no_license | Al-ain-Developers/indesing_plugin | 3d22c32d3d547fa3a4b1fc469498de57643e9ee3 | 36a09796b390e28afea25456b5d61597b20de850 | refs/heads/main | 2023-08-14T13:34:47.867890 | 2021-10-05T07:57:35 | 2021-10-05T07:57:35 | 339,970,603 | 1 | 1 | null | 2021-10-05T07:57:36 | 2021-02-18T07:33:40 | C++ | UTF-8 | C++ | false | false | 9,385 | h | //========================================================================================
//
// $File: //depot/devtech/16.0.x/plugin/external/afl/includes/APathComponent.h $
//
// Owner: Michael Easter
//
// $Author: pmbuilder $
//
// $DateTime: 2020/11/06 13:08:29 $
//
// $Revision: #2 $
//
// $Chan... | [
"75730278+Tarekhesham10@users.noreply.github.com"
] | 75730278+Tarekhesham10@users.noreply.github.com |
36a9ddb9ca924927551f8c45635ab8851cc06505 | 9ad2190bf705bf3c948c69281311a9773f839b47 | /laukinectcamera.cpp | 9eab19ccb58a23e83714e887e3f0f63ae6062800 | [] | no_license | girardmatthew/LAUARProjector | c8ddf6f6c4f764926a88eaa8ae7cc3f1dfbfbab2 | 8ac6020a09b6596d5fde0d9250515cc0d2d2a818 | refs/heads/main | 2023-04-08T01:14:03.787069 | 2020-11-16T11:20:22 | 2020-11-16T11:20:22 | 308,712,467 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,889 | cpp | #include "laukinectcamera.h"
/****************************************************************************/
/****************************************************************************/
/****************************************************************************/
LAUKinectCamera::LAUKinectCamera(QObject *parent... | [
"noreply@github.com"
] | girardmatthew.noreply@github.com |
60f229a71bd9e6b47496bb1d1a0eae1d0bde8a72 | 050c8a810d34fe125aecae582f9adfd0625356c6 | /utility/main.cpp | 9943bac31b2b680032b3b47fe2dcc3fc2f62840e | [] | no_license | georgerapeanu/c-sources | adff7a268121ae8c314e846726267109ba1c62e6 | af95d3ce726325dcd18b3d94fe99969006b8e138 | refs/heads/master | 2022-12-24T22:57:39.526205 | 2022-12-21T16:05:01 | 2022-12-21T16:05:01 | 144,864,608 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | #include <cstdio>
using namespace std;
FILE *f,*g;
char s[10],c,ch;
int i;
int main()
{
// f=fopen("utility.in","r");
// g=fopen("utility.out","w");
// for(i=32;i<=127;i++)
// {
// fscanf(f,"%s",&s);
// fprintf(g,"strcpy(c[%d],%c%s%c);\n",i,c,s,c);
// }
// fclose(f);
// fclose(g);
... | [
"alexandrurapeanu@yahoo.com"
] | alexandrurapeanu@yahoo.com |
b9c19d7712693c2b4bb4de8d8b182dca1c7adc9d | d2af05f425bf88ebc1b7fdbe138c780bff3d078b | /Jurden_Lab1/Node.hpp | dee613d5d64971929615a0d4e63e2924d6a362b4 | [] | no_license | SLongofono/560Labs | 241a0f57fd332ad4f86fb49455aa8cea1c06bafb | 2082dc5348e72c5490ac43dcfbd3c4252155309d | refs/heads/master | 2021-01-19T22:58:58.092345 | 2015-12-09T23:41:25 | 2015-12-09T23:41:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | hpp |
Node::Node()
{
m_next = nullptr;
m_prev = nullptr;
m_value = 0;
}
int Node::getValue()
{
return(m_value);
}
void Node::setValue(int value)
{
m_value = value;
}
Node* Node::getNext()
{
return(m_next);
}
void Node::setNext(Node* next)
{
m_next = next;
}
Node* Node::getPrev()
{
return(m_prev);
}
voi... | [
"njurden@1005d-9.eecs.ku.edu"
] | njurden@1005d-9.eecs.ku.edu |
b4d225d425f41c74a124db374188b53fbd95b287 | fa777952273f497e80529958c7544a06cd17cf00 | /StudentWorld.cpp | e10d2c1e63257718e879a1bef8914420c0fde02d | [] | no_license | rohanneilkapoor/Boulder_Blast | c360d9abaa33f70e8a5a8c89dca5db8b757dd22c | ba132987779ed1cf3d28ad260a2b3d099ad6be3f | refs/heads/master | 2021-01-22T23:11:14.917062 | 2015-08-02T21:39:01 | 2015-08-02T21:39:01 | 40,093,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,469 | cpp | #include "StudentWorld.h"
#include "Level.h"
#include "Actor.h"
#include <iostream>
#include <string>
#include <stack>
#include <cassert>
#include <sstream>
#include <iomanip>
using namespace std;
GameWorld* createStudentWorld(string assetDir)
{
return new StudentWorld(assetDir);
}
// Students: Add code to thi... | [
"rohanneilkapoor@gmail.com"
] | rohanneilkapoor@gmail.com |
66aaa9a081dc1ef7392b89a316f7ffe89a228361 | 0d87d7a729acf1885565cf77a57ef8013190f754 | /hw4/src/main.cpp | 5f68a9a041f27fe3ef6cf30f2f652ac51d2b2d4f | [] | no_license | 13579and2468/NCTU-Unix-Programming-2021 | a4e8663e2765c4ab601d7d170638019744bf890d | 86c0b050fa4e8258acc13d96942c9136a2c5fe70 | refs/heads/master | 2023-08-16T12:02:43.882126 | 2021-10-21T03:40:59 | 2021-10-21T03:40:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,203 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "runcmd.h"
#include "load.h"
int state = 0;
struct program_content program;
void state_clean () {
state = STATE_NONE;
close(program.fd);
free(program.program_name);
}
void program_init() {
program.base_address = 0;
program.break_... | [
"p870613@yahoo.com.tw"
] | p870613@yahoo.com.tw |
58153e61c9e46949dd3e418a25d755bc5b515d90 | e9f12521f10e15eb6e1cfc6a94b0d76926bc75f8 | /Servo.ino | 9882619feea6f2dd3ef0e07bb3410c42916e2c93 | [] | no_license | mohammadalisiddiqui/arduinoprograms | d5591c9119eae87677243c8dc3d5eb597467236a | f79a878d2960955ceb13f2bfae815f1ec01e80d7 | refs/heads/main | 2023-03-19T03:25:35.317799 | 2021-03-15T14:41:10 | 2021-03-15T14:41:10 | 317,865,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | ino | void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
int x = analogRead(A0);
int y = map(x,0,1023,0,255);
analogWrite(3,y);
Serial.println(y);
delay(100);
}
| [
"noreply@github.com"
] | mohammadalisiddiqui.noreply@github.com |
47af843e00419405e73a6dab7d7a101c32038460 | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-sts/include/aws/sts/model/AssumeRoleWithSAMLResult.h | ff4b54d27619304ae6e85faec262a475e184b9e4 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 21,919 | h | /*
* 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" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
7ab5d4f776cd36bd1479b4a2a3137dc4245b69b3 | d51acd5bcd82f7b4fc6018748a550a0a3b84e832 | /code/frontend/test/inputs/conversion/cpp_casts.cpp | b7011a56475f5a2ea29a0d19862f18bce4103c48 | [] | no_license | insieme/insieme | 67e7a8f4ca5ac1d7762ccd9e99b22c53b3d117e4 | ee1ee58dfdba40a1ecf204116e7c96e7d13a70d3 | refs/heads/master | 2020-04-03T23:33:26.974364 | 2019-01-25T13:22:43 | 2019-01-25T13:22:43 | 9,626,931 | 31 | 9 | null | 2018-08-06T16:32:56 | 2013-04-23T15:50:23 | C | UTF-8 | C++ | false | false | 2,879 | cpp | /**
* Copyright (c) 2002-2017 Distributed and Parallel Systems Group,
* Institute of Computer Science,
* University of Innsbruck, Austria
*
* This file is part of the INSIEME Compiler and Runtime System.
*
* This program is free software: you can redistribute it and/or modify
* it u... | [
"peterz@dps.uibk.ac.at"
] | peterz@dps.uibk.ac.at |
1059290c23011d9f4c8887757c5e0ebd167fa047 | d09092dbe69c66e916d8dd76d677bc20776806fe | /.libs/puno_automatic_generated/inc/types/com/sun/star/accessibility/XAccessibleTable.hpp | 5eb5960bb9afdebff4186df989997f64ce0ed1b1 | [] | no_license | GXhua/puno | 026859fcbc7a509aa34ee857a3e64e99a4568020 | e2f8e7d645efbde5132b588678a04f70f1ae2e00 | refs/heads/master | 2020-03-22T07:35:46.570037 | 2018-07-11T02:19:26 | 2018-07-11T02:19:26 | 139,710,567 | 0 | 0 | null | 2018-07-04T11:03:58 | 2018-07-04T11:03:58 | null | UTF-8 | C++ | false | false | 1,602 | hpp | #ifndef INCLUDED_COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLETABLE_HPP
#define INCLUDED_COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLETABLE_HPP
#include "sal/config.h"
#include "com/sun/star/accessibility/XAccessibleTable.hdl"
#include "com/sun/star/accessibility/XAccessible.hpp"
#include "com/sun/star/accessibility/XAccessibleTa... | [
"guoxinhua@10.10.12.142"
] | guoxinhua@10.10.12.142 |
318662958ddb8412b4d9bc3bd66bb61b648a68d4 | 65852d0e39419e444ab12b775795b7d178263a21 | /ConsoleGamesCPP/pongTest/pong.cpp | c05aedbf35a2bdcc1dc51bdde136a9ce4fff6c6b | [] | no_license | 1lecter/ConsoleGames | 3334cddcafa9443505aeee0c1090a76629d9dc48 | f8e5d5eff59fed2f923f8831174545da308e4b57 | refs/heads/master | 2020-05-24T13:48:11.200888 | 2019-05-18T01:01:29 | 2019-05-18T01:01:29 | 187,297,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,244 | cpp | #include <iostream>
#include <conio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
using namespace std;
/*************** Arena ******************/
void initBorders(char arena[20][20])
{
for(int i=0;i<20;i++)
{
arena[i][0]=186;
arena[0][i]=205;
arena[i][19]=186;
are... | [
"646737375@qq.com"
] | 646737375@qq.com |
24bb052ba56f7f2c4aac704b713710c87e438a72 | f608d7f3e25aa380b2cf6347a530c510aa6f76e7 | /sevoo1.ino | 1d890b819e136782d271c32e90ecf577a67baf43 | [] | no_license | Electroholics/CodeREPO | 72464448e247b5bd1757b507c0ecb180a556a476 | 4d16cf4c1eca4622d25b6f5b6d5db948f1eae1f1 | refs/heads/master | 2021-01-17T07:13:18.101973 | 2016-07-11T14:50:31 | 2016-07-11T14:50:31 | 62,517,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | ino | /*
Controlling a servo position using a potentiometer (variable resistor)
by Michal Rinott <http://people.interaction-ivrea.it/m.rinott>
modified on 8 Nov 2013
by Scott Fitzgerald
http://www.arduino.cc/en/Tutorial/Knob
*/
#include <Servo.h>
Servo myservo; // create servo object to control a servo
int potpi... | [
"pulkit15158@iiitd.ac.in"
] | pulkit15158@iiitd.ac.in |
28b61ac88a9ad57afe47b8fb818ae7923d4bccc4 | 5e605a4728e34aa2484d5516817f1c91e17cfb18 | /BZOJ3745.cpp | 2db3d62b56c03d106247a6e6541ece8185335742 | [] | no_license | earringyyr/OI-Codes | d21181cec6958e79e6342c830817b9dc96e2b1b8 | 568c3d9be4c6c21158f6cef84eafa3ea2b271e58 | refs/heads/master | 2023-02-24T06:53:45.658937 | 2021-02-04T14:20:28 | 2021-02-04T14:20:28 | 280,356,055 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,954 | cpp | #include <iostream>
#include <cstdio>
#define int long long
#define mod 1000000000
using namespace std;
int n, ans, a[500005], s[500005][6];
void solve(int l, int r)
{
if (l == r)
{
ans = (ans + a[l] * a[l] % mod) % mod;
return;
}
int mid = (l + r) >> 1;
solve(l, mid);
solve(mid ... | [
"root@Earring-Laptop.localdomain"
] | root@Earring-Laptop.localdomain |
0bee9ef0305cbfab09bb9052cbaebe709a64248c | 0bccc05a0321f7bd23f8beca49f488f65829f7b9 | /3rdparty/os/linux.hpp | ba8b99d029b03f2c2d3578d9d419746b321e895e | [
"MIT"
] | permissive | capricornlg/application-manager | 166911bc30b2b187ca2e68f5c6f3efb4398872c6 | b17291421961d3f44d24a0be5e3a1335578d2fcd | refs/heads/master | 2020-04-24T14:40:00.906098 | 2019-02-22T03:06:48 | 2019-02-22T03:06:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,189 | hpp |
#ifndef __STOUT_OS_LINUX_HPP__
#define __STOUT_OS_LINUX_HPP__
// This file contains Linux-only OS utilities.
#ifndef __linux__
#error "os/linux.hpp is only available on Linux systems."
#else
#include <sys/types.h> // For pid_t.
#include <sys/sysinfo.h>
#include <unistd.h> // For sysconf
#include <dirent.h>
#include ... | [
"lvjm@163.com"
] | lvjm@163.com |
005b251ffd8a09689fa3cd530409b060774f12c3 | f4506a2804b2e62e57454745139e7d9a63037702 | /kernel/transform.cxx | 99d34e304fa14247d5bd5b961856eaf4547df864 | [] | no_license | splotchviz/galaxy3d | 8d61c0633e42d36ea6c4986179245521e6a52450 | 6960c29e1b475082602779fdf481b0be53fbbb78 | refs/heads/master | 2023-03-12T02:52:45.593474 | 2021-02-22T16:34:38 | 2021-02-22T16:34:38 | 335,584,499 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,556 | cxx | /*
* Ray++ - Object-oriented ray tracing library
* Copyright (C) 1998-2001 Martin Reinecke and others.
* See the AUTHORS file for more information.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the F... | [
"evgeniya.malikova@port.ac.uk"
] | evgeniya.malikova@port.ac.uk |
a47d5437d52e437de3710856c1c4fe855163817d | a4cb6426f98ca939d9a88baa49a24a2643fa018c | /src/figure-cli.cpp | 29465022fb7fa38350fe4c0cdee4b9310ffc64ca | [
"MIT"
] | permissive | DeCrypt0/figurecoin | 3208b1eae213fd7e65a49bb787bad2c44dfba78e | 5002792efe2691e55ef081ebf565fb3e2836e9bb | refs/heads/master | 2020-03-25T19:11:04.531106 | 2018-08-08T12:54:27 | 2018-08-08T12:54:27 | 144,068,931 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,328 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2017-2018 The Figure Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/li... | [
"figurecoin@gmail.com"
] | figurecoin@gmail.com |
8d3a89e05d7cfba3b205c0dc9842790465007505 | f7c4d108442648657c16d8dcb4e35115a8c4d0f0 | /src/sample/sample_set.cpp | c9eb702c563a0a6799eabadb5125d407ea4d2f6b | [
"MIT"
] | permissive | Magorx/WaveFunctionCollapse | 607ba1d463581b02634d93c9e02b298181a7678f | 1f3a29a319c2cfdfc99b01b67500a42dc6143241 | refs/heads/main | 2023-03-29T15:09:21.230084 | 2021-04-07T17:46:45 | 2021-04-07T17:46:45 | 311,355,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,231 | cpp | #include "sample_set.h"
wfc_SampleSet::wfc_SampleSet(const size_t rel_pos_amount_):
rel_pos_amount(rel_pos_amount_),
fitmask(nullptr)
{}
wfc_SampleSet::wfc_SampleSet(const wfc_SampleSet &other):
samples(other.samples),
fitmask(other.fitmask),
rel_pos_amount(other.rel_pos_amount)
{}
bool wfc_SampleSet::rebuild_fitmas... | [
"maxim.gorishniy@gmail.com"
] | maxim.gorishniy@gmail.com |
7ce33849254d5f1877e829556f1f8feea943edce | e6d4a87dcf98e93bab92faa03f1b16253b728ac9 | /algorithms/cpp/queriesonaPermutationWithKey/queriesonaPermutationWithKey.cpp | 92a9d6723ba394d216e093d1b5e54aaedc38c8f7 | [] | no_license | MichelleZ/leetcode | b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f | a390adeeb71e997b3c1a56c479825d4adda07ef9 | refs/heads/main | 2023-03-06T08:16:54.891699 | 2023-02-26T07:17:47 | 2023-02-26T07:17:47 | 326,904,500 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | // Source: https://leetcode.com/problems/queries-on-a-permutation-with-key/
// Author: Miao Zhang
// Date: 2021-04-30
class Solution {
public:
vector<int> processQueries(vector<int>& queries, int m) {
vector<int> p(m);
iota(begin(p), end(p), 1);
vector<int> res;
for (int q: querie... | [
"zhangdaxiaomiao@163.com"
] | zhangdaxiaomiao@163.com |
4661d8b438d8c24491dffaa6d027ed98cb4b83e8 | 01d7b500e0fc25c19c12312ab5b27f0fa8a959c5 | /UIModule/Comm/targetpersonimageitem.h | edc4bddf0b72e0009f8182722748be78dabfedf5 | [] | no_license | zhangjianscc/ZMClient | 5c3e97387cafbdd2b97a6bc7f5123b366bb986de | 6efedd322ad350c68e50dd557ec17a8b70f0eecc | refs/heads/master | 2021-01-23T16:25:33.365432 | 2017-07-01T12:55:09 | 2017-07-01T12:55:09 | 93,285,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | h | #ifndef TARGETPERSONIMAGEITEM_H
#define TARGETPERSONIMAGEITEM_H
#include <QWidget>
namespace Ui {
class TargetPersonImageItem;
}
class TargetPersonImageItem : public QWidget
{
Q_OBJECT
public:
explicit TargetPersonImageItem(QWidget *parent = 0);
~TargetPersonImageItem();
void setData(QPixmap pix,QSt... | [
"763466886@qq.com"
] | 763466886@qq.com |
93c401d5047af0946d560168f12d205317880f4a | cd0456790be03d10458939af0652e7cc0c0d5875 | /ProjectSUSHI/src/WAVを読み込んで再生.cpp | 6320c4d7056a50a135f806d147b8b80d9d63d55c | [] | no_license | mid-winter/SUSHI | 295f7833cf2ceb38aff35cfd0c732543609acfda | 05baac3f99d4777cd67c2adf75d40c8a9c659a3e | refs/heads/master | 2021-01-10T06:39:47.709767 | 2016-02-17T00:01:48 | 2016-02-17T00:01:48 | 50,075,152 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,756 | cpp | //
// OpenALによるWAV再生
//
// Windows:識別子minとmaxが乗っ取られるのを防ぐ
#define NOMINMAX
// Windows:cmathやmath.hをインクルードした時に
// M_PIとかを使えるようにする
#define _USE_MATH_DEFINES
#include <GLFW/glfw3.h>
#include <OpenAL/al.h>
#include <OpenAL/alc.h>
#include "wav.hpp"
int main() {
// GLFWの初期化
if (!glfwInit()) return -1;
// GLFW Wid... | [
"roleplaying.1222@gmail.com"
] | roleplaying.1222@gmail.com |
7989142d13dc3cce84214b8b82b596cfa4304c83 | 15b2865617cb14dae51534f5e577ebb8f4945a20 | /DNF/Dungeon_RollandDeep.h | 8df58c38b99e60f9451bb57cf5f7ac73fa5485ad | [] | no_license | jingjing54007/DNF | 22f547102652a6a9e17713b1a29f996580f8d596 | 3bc7f01f974f4a23828f8aa18f730db2f215f847 | refs/heads/master | 2021-06-18T05:51:24.744759 | 2017-07-08T23:41:46 | 2017-07-08T23:41:46 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 277 | h | #pragma once
#include "Dungeon.h"
/**
* @class CDungeon_RollandDeep
* @brief "洛兰深处"地下城
*
*
*/
class CDungeon_RollandDeep :
public CDungeon
{
public:
CDungeon_RollandDeep();
~CDungeon_RollandDeep();
void DoInitDungeon();
void DoRender(Mat& mat);
};
| [
"wax3515@outlook.com"
] | wax3515@outlook.com |
324b65e47dc9328eba390896603fdcd985af4df8 | b53bd365307e1e13cd00473cc373c6ba8df1ba7f | /src/CCA/Components/OnTheFlyAnalysis/turbulentFluxes.h | f4bc7721327939d0ff9bfee500835123177bf738 | [
"MIT"
] | permissive | Uintah/Uintah | b7c55757cac1f919ac70fa5ffb1d6ea421b2069d | 5678018f6d237faad6aff1c0bcc4791d6af2f61e | refs/heads/master | 2023-09-01T05:27:36.000893 | 2023-07-27T17:18:28 | 2023-07-27T17:18:28 | 206,165,649 | 47 | 25 | null | 2022-10-17T19:14:44 | 2019-09-03T20:22:50 | C++ | UTF-8 | C++ | false | false | 9,794 | h | /*
* The MIT License
*
* Copyright (c) 1997-2023 The University of Utah
*
* 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
* right... | [
"t.harman@utah.edu"
] | t.harman@utah.edu |
b6a88d50322398ea3137c1eca3418b7b0082c202 | 39254f8742b6610cf73721f7abbac2a4f38c3e92 | /39 Combination Sum_7.cpp | e71d5176f3e819a24c4709f62d37895e53f8029d | [] | no_license | heiyanbin/leetcode | 765dadbacb8d984a9acf2fdd902e0392217d17d9 | f7d8c61d94499ea08572fbef3f5f3cad88837aa3 | refs/heads/master | 2020-09-21T20:02:09.314158 | 2016-08-19T05:52:56 | 2016-08-19T05:52:56 | 66,046,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 933 | cpp | // 39
// Combination Sum
// https://leetcode.com//problems/combination-sum/
class Solution {
public:
vector<vector<int> > combinationSum(vector<int> &candidates, int target) {
sort(candidates.begin(),candidates.end());
vector<int> x;
backtrack(0,x,candidates,target);
return ... | [
"noreply@github.com"
] | heiyanbin.noreply@github.com |
449bb81c0b56ad180ef0601d39f4341b1a7dd175 | cd2e1723335097adace00e92d5c00da0bf737d80 | /src/graph/include/graph/detail/StaticGraphBuilder.hpp | 497c737dd3b029a961af129bf73cbda4344ac9a9 | [
"Apache-2.0"
] | permissive | SkyterX/rpclass | ce396a5da55eea12c21af9c1eb728fcda0cb6656 | 37dde72a37ae21f8d3bcf460f8112bcb2fa269e8 | refs/heads/master | 2021-01-11T15:09:43.728280 | 2015-11-21T17:43:19 | 2015-11-21T17:43:19 | 80,303,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,513 | hpp | #pragma once
#include <algorithm>
namespace graph {
template <typename Graph>
class GraphBuilder {
friend Graph;
using vertices_size_type = typename Graph::vertices_size_type;
using edges_size_type = typename Graph::edges_size_type;
using vertex_descriptor = typename Graph::vertex_descriptor;
using degree_... | [
"ghost1212@mail.ru"
] | ghost1212@mail.ru |
a798d917f28ce54f4e553909ffeb163065b6c8b4 | e1bf912ad17091fc1bc92cd63e5dcc23eb930853 | /UE4_Project/Physics_In_UE4/ChronoPhysicsDemo/Plugins/ChronoPhysics/Source/ChronoPhysics/Include/blaze-2.2/blaze/math/traits/TSVecEvalExprTrait.h | d6340f6c37bad0b43359eeefcf5f3998fd232391 | [
"BSD-3-Clause"
] | permissive | CGJiaxiLiu/MyPortfolio | da35fba3044fb04c74672d6c35f43ccd838ec353 | 637ac7c4398e08e363a0189abd87acc5f375625c | refs/heads/master | 2020-07-31T01:45:51.902508 | 2020-06-10T02:32:34 | 2020-06-10T02:32:34 | 210,438,097 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,780 | h | //=================================================================================================
/*!
// \file blaze/math/traits/TSVecEvalExprTrait.h
// \brief Header file for the TSVecEvalExprTrait class template
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze ... | [
"jliu807@gatech.edu"
] | jliu807@gatech.edu |
5ee171affe3b187d7f67be9edc2b9c725480c821 | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /ash/quick_pair/common/mock_quick_pair_browser_delegate.h | 90c01dc5aecf15ce0ba25f92ca61af027818021e | [
"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 | 1,591 | 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 ASH_QUICK_PAIR_COMMON_MOCK_QUICK_PAIR_BROWSER_DELEGATE_H_
#define ASH_QUICK_PAIR_COMMON_MOCK_QUICK_PAIR_BROWSER_DELEGATE_H_
#include "ash/quick_p... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
90a926107196e883dd636cda48615b8546d2c8f8 | 373a665c47f112450daa519b6ef7c111f83064ca | /Statement.h | 258c71b7fcf01bd4b39970e0ed3bf367e76bf193 | [
"BSD-2-Clause"
] | permissive | mattsnowboard/msu-compilers-tinyc | 8bd2dbcd9a39a8e6f60328f1cafed0196e924c44 | 799f89fc6a72a86daeabc7d352842719202360ad | refs/heads/master | 2020-04-17T20:45:14.769313 | 2012-10-17T04:11:05 | 2012-10-17T04:11:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | h | #ifndef _Statements_H
#define _Statements_H
#include <iostream>
#include <stdexcept>
#include "StatementVisitor.h"
class Statement
{
public:
Statement(int lineNum = 0) : _line(lineNum) {}
virtual ~Statement() {}
// Allow copying a Statement tree
virtual Statement* Clone() = 0;
// Support the V... | [
"durakmat@msu.edu"
] | durakmat@msu.edu |
fa049c7cf243a82e6caf3d2754f2f9795cd9d326 | 04319af71817dd88985bd957e59fd6c2c74d7a9e | /基础班作业/201910420221 吴晟楷/dierti.cpp | 1fb93573ea68959c50f0194c2c4353689ef020a2 | [] | no_license | wushengkai/2020C-homework | 65b68527258f5acb32ab40705479b5128ecb42f0 | c08390ced3c9feadc35880c77507bd47d6bf7fb9 | refs/heads/master | 2021-01-05T05:50:41.467090 | 2020-03-10T08:53:55 | 2020-03-10T08:53:55 | 240,889,198 | 0 | 0 | null | 2020-02-16T12:40:30 | 2020-02-16T12:40:29 | null | UTF-8 | C++ | false | false | 548 | cpp | #include<stdio.h>
#include<stdlib.h>
int main()
{
int n;
scanf("%d",&n);
int a=0;
int i,j;
for(i=1;i<n;++i)
{
for(j=i+1;j<n;j++)
{
int sum=(i+j)*(j-i+1)/2;
if(sum==n)
{
a=1;
f... | [
"992372558@qq.com"
] | 992372558@qq.com |
1efd72e16b21256baa4b484fa4a45f034ee0d71b | ddc7f86bd8e5001e5b99cedabee8268e985e4885 | /GameProjectActual/BoundingSphere.h | 8db00dd13a643c65edd6cbeaa87cb5633b4e0cde | [] | no_license | DominikWidomski/Cpp | 60c308915cf1943d4b2c8dcad9760b3cde1df07d | f60fb040e69844c45ecad0c55c6bbd5eca080fe9 | refs/heads/master | 2016-09-15T13:36:07.148793 | 2016-05-05T09:27:22 | 2016-05-05T09:27:22 | 4,567,025 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 950 | h | #ifndef __BOUNDINGSPHERE_H__
#define __BOUNDINGSPHERE_H__
#include "GameUtil.h"
#include "GameObjectType.h"
#include "BoundingShape.h"
class BoundingSphere : public BoundingShape
{
public:
BoundingSphere() : BoundingShape("BoundingSphere"), mRadius(0) {}
BoundingSphere(SmartPtr<GameObject> o, float r) : ... | [
"dominik@bitpie.com"
] | dominik@bitpie.com |
21ce39599bce3cf942241092a9ab4c85a39d8d94 | 87f4ac97c6918b8065cb7af2c28afeed1acc83d4 | /utils.h | dc131d7b1adb3da3d272cf0f5b15f807f176019b | [] | no_license | OliverPan/SimpleFTP | 00243a52e77bbf68ba58bef1adaf497f46ce03ff | 25d3acb15e02bbef0e58e9c71aa79611621ca19d | refs/heads/master | 2020-04-22T08:24:32.078825 | 2019-02-12T02:58:40 | 2019-02-12T02:58:40 | 170,241,285 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 940 | h | #ifndef SIMPLEFTP_UTILS_H
#define SIMPLEFTP_UTILS_H
#endif //SIMPLEFTP_UTILS_H
#include <sstream>
#include <iostream>
#include <fstream>
#include <string>
#include <tuple>
#include <regex>
#include <vector>
#include <winsock2.h>
struct fileAttr {
char date[9];
char time[8];
bool isDIR;
int size;
std::strin... | [
"panda@DESKTOP-CETJM5U"
] | panda@DESKTOP-CETJM5U |
bcefe44fc24747f53cad90af3d8657f6bd89cccc | 551ddfdc5c38cb235f4a7492071972b73058b12f | /cpp/godot-cpp/include/gen/LargeTexture.hpp | c2912259d41826c45b18068c6c9da0d5beb7b24c | [
"MIT"
] | permissive | GDNative-Gradle/proof-of-concept | e83c34690ebd07753c401a0d8a249ac149aca5b6 | 162f467430760cf959f68f1638adc663fd05c5fd | refs/heads/master | 2021-03-09T23:22:03.345010 | 2020-03-11T00:11:06 | 2020-03-11T00:11:06 | 246,392,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,656 | hpp | #ifndef GODOT_CPP_LARGETEXTURE_HPP
#define GODOT_CPP_LARGETEXTURE_HPP
#include <gdnative_api_struct.gen.h>
#include <stdint.h>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include "Texture.hpp"
namespace godot {
class Texture;
class LargeTexture : public Texture {
struct ___method_bindings {
godot_me... | [
"adamwbrown@gmail.com"
] | adamwbrown@gmail.com |
ab2748553ffb53974432e5a42e4a4ec3938dabe7 | 663bacdc44ac320e6ec453c5f68a0022dd4340c4 | /src/mnmcem.h | 1c67d732f61938c2b87cf2cb67e2f5a82c1cbcce | [] | no_license | acosta-stat/mcem-multinomial | e24816f0f4b5e3eae8b8aaa349150e17ae0f26f3 | 39091a1572f281e0182ce8746b2b27e8e9306315 | refs/heads/master | 2021-01-23T21:33:28.197212 | 2014-11-29T06:26:34 | 2014-11-29T06:26:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | h | #include <Rcpp.h>
using namespace Rcpp;
double loglikelihoodCpp(NumericMatrix kU, IntegerVector kY, NumericMatrix kBeta, NumericVector kLambda,
NumericMatrix kX, NumericMatrix kZ);
double logRatioCpp(NumericMatrix kU, IntegerVector kY, NumericMatrix kBeta, NumericVector kLambda,
NumericMatrix kX, NumericMatrix kZ);... | [
"acosta.felipe@gmail.com"
] | acosta.felipe@gmail.com |
bbf5ffbdeaa958f26a2e6d86e8e54d1796fe352d | e217eaf05d0dab8dd339032b6c58636841aa8815 | /IfcAlignment/src/OpenInfraPlatform/IfcAlignment/entity/IfcBoundaryNodeConditionWarping.cpp | c0932cf95509d5a7eb01cc8800c4f378e4f6a592 | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 5,075 | cpp | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the BlueFramework.
* \endverbatim
*/
#include <sstream>
#include <limits>
#include "OpenInfraPlatform/IfcAlignmen... | [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
1555b313384cf004144954dc040ca91bd9c61669 | 851f8fb7883afc7890280e42226421b0badb6483 | /First_Semester/HomeWork_4/Zadacha4.2/Zadacha4.2/qSort.cpp | 3b85a34d279fc280840c08f2765e8c641426aa4d | [] | no_license | kopokoca/VladislavGolikov | c5e5f3dc983d49f2c63cb386a9e3ab1130d61ca5 | fb8825b987618bdfaa4d46addac0fe578effd08c | refs/heads/master | 2021-01-15T11:14:43.160486 | 2015-06-02T14:15:20 | 2015-06-02T14:15:20 | 31,336,282 | 0 | 0 | null | 2015-06-09T15:20:46 | 2015-02-25T21:17:47 | C# | UTF-8 | C++ | false | false | 445 | cpp | #include <iostream>
#include "qSort.h"
using namespace std;
int quickSort(int arrayA[], int left, int right)
{
int i = left;
int j = right;
int pivot = arrayA[(i + j) / 2];
while (i < j)
{
while (arrayA[i] < pivot)
++i;
while (arrayA[j] > pivot)
--j;
if (i <= j)
{
swap(arrayA[i], arrayA[j]);
... | [
"golikovlad@yandex.ru"
] | golikovlad@yandex.ru |
3341145be3eea83fb110097f8db94497f60973e1 | 651b8518618387c84d082ae3c85c4087c14aa1bc | /chromium-new/patches/patch-components_url__matcher_regex__set__matcher.cc | 6a65eb1016a74cd2501484f78d189345f7f002f8 | [] | no_license | jcea/pkgsrc-wip | 3868cde803d99b2911971fe9592bb70f8162f905 | e4e1744528811203f8c31740d09d1f99c2c2617d | refs/heads/master | 2021-01-11T15:44:06.159591 | 2017-01-23T10:12:50 | 2017-01-23T10:12:50 | 79,915,472 | 0 | 0 | null | 2017-01-24T13:48:28 | 2017-01-24T13:48:28 | null | UTF-8 | C++ | false | false | 503 | cc | $NetBSD$
--- components/url_matcher/regex_set_matcher.cc.orig 2016-11-10 20:02:14.000000000 +0000
+++ components/url_matcher/regex_set_matcher.cc
@@ -10,8 +10,13 @@
#include "base/stl_util.h"
#include "base/strings/string_util.h"
#include "components/url_matcher/substring_set_matcher.h"
+#if defined(OS_BSD)
+#inclu... | [
"ryoon@NetBSD.org"
] | ryoon@NetBSD.org |
7f9a5400a525f54e731dea11ad700611ad005a94 | e4b84011af880ed2777eba1fcf074e253cdc1b1e | /zelda/algorithm/join.h | f4379f5edb27942cb99eb215088a6b32055afac5 | [] | no_license | pfultz2/Zelda | ddfb471be0624087e538866dbe0e19e278ad8684 | d2f336f028ed351c003f0ca545bb81a0f5e06523 | refs/heads/master | 2016-09-02T02:47:09.548654 | 2013-04-28T07:11:38 | 2013-04-28T07:11:38 | 3,142,372 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | h | /*=============================================================================
Copyright (c) 2012 Paul Fultz II
join.h
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)
=====================================... | [
"paul@paul-TPOWER-X79"
] | paul@paul-TPOWER-X79 |
5a1b4a44ec378252aa6359e5b81a9e25247fa423 | b36ff3e7634c7bbeb8b6c3ad9f971109bdd525bd | /build-flowers_shop_2-Desktop_Qt_5_12_0_MinGW_64_bit-Debug/debug/moc_typeswindow.cpp | 23d0f2a3156212a25fb82b9238d8b55666c2904f | [] | no_license | Captain-Vorobey/course_projects | 25b462950b30e7ef12a8daee944ca96d11149212 | 5c7007250b2a84a828ff9fcf574e18dd4ec3c0b4 | refs/heads/master | 2020-05-24T10:57:28.908201 | 2019-05-17T15:12:52 | 2019-05-17T15:12:52 | 187,237,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,428 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'typeswindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0)
**
** WARNING! All changes made in this file will be lost!
********************************************************... | [
"vorobyov_egor@bk.ru"
] | vorobyov_egor@bk.ru |
4756afbb746a325126b1f919f41c614b39d2d214 | 39a3f4afac268331edc3063fcd4f43234c62da23 | /src/qt/paymentserver.h | 7c923600a55b0a5a16f1b6d42361734e2ade390d | [
"MIT"
] | permissive | EducoinProject/educoin | 4a6c68e767be98c64eb64ae1edec449424a09f39 | 108f98b3935623dd2db735ed1e24c8125dd785b0 | refs/heads/master | 2020-04-23T00:14:23.015839 | 2019-02-18T16:11:56 | 2019-02-18T16:11:56 | 170,771,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,063 | h | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_PAYMENTSERVER_H
#define BITCOIN_QT_PAYMENTSERVER_H
// This class handles payment requests from clicking o... | [
"educoin.src@tryninja.io"
] | educoin.src@tryninja.io |
781f6af63af291b295fb6f8a0dbf7bde0ee8c63a | a3607abe68cfae1445cd220cc823ce426f2d0571 | /framework/hitPoint.cpp | 1670c5aeeffcbe6bd02000904c87f18cea4b38db | [
"MIT"
] | permissive | SiMein/programmiersprachen-raytracer | a57c167bfc1d683ab3ca26e16a356cfeb19cb2ed | 4de29e334ec77644c886312111293b0218670ee5 | refs/heads/master | 2020-06-05T05:46:24.235894 | 2019-07-10T14:27:21 | 2019-07-10T14:27:21 | 192,334,480 | 0 | 0 | MIT | 2019-06-17T11:33:35 | 2019-06-17T11:33:34 | null | UTF-8 | C++ | false | false | 114 | cpp | #include "hitPoint.hpp" // hitPoint.hpp nicht notwendig , da in diesem fall alles nötige in ray.hpp stehen kann | [
"Simon M"
] | Simon M |
55b0dc9e85975ab489f899ab446421ca3ff4f21a | d4042c55c865ab21ed8de27cbe4b6f0c76b20aa8 | /Maschinen/NamedPipeAsynchronous.cpp | 8c246ab426b31a09f92a9315bc3e477ac9b73bb9 | [] | no_license | LeonColt/skripsi | a1f207622a3c4aabab0f951e4f08767f3d085ba2 | 141af593ec65cd7adaedf7a90fc4cd7cde5cc602 | refs/heads/master | 2020-08-02T11:40:06.134151 | 2019-09-27T14:33:27 | 2019-09-27T14:33:27 | 211,331,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | cpp | #include "stdafx.h"
#include "NamedPipeAsynchronous.h"
maschinen::pipe::NamedPipeAsynchronous::NamedPipeAsynchronous() {
}
HANDLE maschinen::pipe::NamedPipeAsynchronous::create() {
open_mode |= FILE_FLAG_OVERLAPPED;
HANDLE th = CreateNamedPipe( getName(), open_mode, mode, max_instance, out_buffer_size, in... | [
"lionmanbloodsucker@yahoo.com"
] | lionmanbloodsucker@yahoo.com |
18f6cb1832fdda91ce59128d87aeeebded4c12d9 | 2e54b886390d261e8b02f047c6cd64c477bd9841 | /TLX/PemrogramanDasar/Chap11/caesarcipher.cpp | 41a8b3dd5e45e920d406e539a355aba1a9893c4c | [] | no_license | agungdwiprasetyo/Competitive-Programming | 67a90cca6b0f5bbc67f0f2bf2a62c478ac474a88 | 3b0366d530034b1ccc7789f40108fa057761e08b | refs/heads/master | 2021-01-12T02:29:55.845208 | 2020-02-13T07:37:45 | 2020-02-13T07:37:45 | 78,040,096 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 865 | cpp | #include<bits/stdc++.h>
using namespace std;
#define FOR(i, jan, cuk) for (int i = (int)jan; i <= (int)cuk; i++)
#define REP(jan,cuk) for (int jan = 0; jan < (int)cuk; jan++)
#define FOREACH(i,cuk) for ( i = (cuk).begin(); i != (cuk).end(); i++)
#define pb push_back
#define pf push_front
#define mp make_pair
typedef ... | [
"agungdwiprasetyo22@gmail.com"
] | agungdwiprasetyo22@gmail.com |
f6d3e176646472a22635627421f0871105b2a7db | 8313fd8094e182b2dcf93bd287a5796fa75cac5c | /branches/template-20160620/src/MessageCodec/msg_data_elem/msg_base_data_elem.cpp | 381f4140d2f91148c89f8acf2d5166ddaf63c937 | [] | no_license | SteveZiZi/xenaTester | bb48bf2aece1f6345eee1364bc424e934dc1ccf8 | 5414ed816eace2249e62515474101473fed682c7 | refs/heads/master | 2020-05-20T18:42:47.475334 | 2017-03-10T06:20:45 | 2017-03-10T06:20:45 | 84,506,015 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,465 | cpp | /// @file
/// msg_base_data_elem.cpp
///
/// @brief
/// 一般类型数据元素的编解码接口实现,该类型元素其内存值即数据值
///
/// @note
///
/// Copyright (c) 2013 广州炫通电气科技有限公司
///
/// 作者:
/// yangyuchao 2013.3.18
///
/// 版本:
/// 1.0.x.x
///
/// 修改历史:
/// : 时间 : 版本 : 详细信息
/// :-------------- :-----------:----------... | [
"383789599@qq.com"
] | 383789599@qq.com |
912dc0e15a24ec9f3102e2b445984680b74b2263 | 708018632035ff89e290ee32a3af4302a1b2593c | /include/click_label.h | 88236c5d3bd36f62791a9aaea43f99345213a76e | [] | no_license | fengyu1993/e_robot | 4c4d1fc782c153300af6d3eb4cd2dbc9930b48a5 | 4a969fdcc1de4c1f6ed95c8ffa16297607d4623e | refs/heads/master | 2022-12-15T01:48:59.426885 | 2020-09-08T02:21:07 | 2020-09-08T02:21:07 | 293,677,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | h | #ifndef CLICK_LEBEL_H
#define CLICK_LEBEL_H
#include <QLabel>
#include<QAction>
class CLick_Label:public QLabel
{
Q_OBJECT
public:
explicit CLick_Label(QWidget *parent = 0);
CLick_Label(const QString &text, QWidget *parent=0);
~CLick_Label();
void setMovable(bool can_move);
private Q_SLOTS:
... | [
"you@example.com"
] | you@example.com |
21098ad7bffef3ee57452900a5ec994c58d209c7 | be8f8c5a9e3793f863e0a304d3e7ccae441a020a | /build/qrc_ImageResources.cpp | 39701431af09ff8edece4a38aa234ea6095e92c1 | [] | no_license | patrickmurrow/eeg-app | d5a8579c1c471b23e72b3e5d15bd7175c1fe8580 | d98070f9169fa6684631392c63471d5ca1039209 | refs/heads/master | 2021-01-10T05:25:33.212888 | 2016-03-09T03:32:09 | 2016-03-09T03:32:09 | 53,464,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480,231 | cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 4.8.6
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <QtCore/q... | [
"patrickmurrow@Patricks-Air.fritz.box"
] | patrickmurrow@Patricks-Air.fritz.box |
bd80cff0650fdd86de43d080c1e0fa2ea87fb723 | 0af7145b7ee69aa751cac3fbbf7737ca653e8f24 | /Library/src/Person.cpp | 3596b64212755cc313d8bd9b1ba745f2a76170ef | [] | no_license | gurkankisaoglu/Time-Filler-Practices | 2d808c57fc4ce1d27b6758486e534906197e3da6 | 8226732ab6b23504776fa2f73f5c8385f557c8c2 | refs/heads/master | 2021-09-03T22:45:55.384819 | 2018-01-12T16:07:23 | 2018-01-12T16:07:23 | 117,258,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,552 | cpp | #include "Person.h"
Person::Person(){
}
Person::Person(string fullName){
this->fullName=fullName;
}
Person::~Person(){
}
string Person::getName(){
return this->fullName;
}
void Person::setName(string name){
this->fullName=name;
}
////////////////////////////////////////////////////... | [
"noreply@github.com"
] | gurkankisaoglu.noreply@github.com |
075f59f2563fe7a392d9abe2f493e3158793d6de | df3e12ef111c9663d318634468e70a7f7ad322e7 | /src/engine/core/test/TestEnumMap.cc | c91a371213f966ebeb7f35e1910de1ec225f8695 | [
"MIT"
] | permissive | aburgm/freeisle | 6fc51933d2c4bbc50fcdd34cb5228293dacedda1 | 5175897b31e471b4cf9bc2a9be7a88f8b4201d2a | refs/heads/master | 2023-08-31T23:29:11.059159 | 2021-10-21T20:34:02 | 2021-10-21T20:34:02 | 367,865,333 | 1 | 0 | MIT | 2021-10-20T21:20:56 | 2021-05-16T11:49:08 | C++ | UTF-8 | C++ | false | false | 4,392 | cc | #include "core/Enum.hh"
#include "core/EnumMap.hh"
#include <set>
#include <gtest/gtest.h>
enum class TestEnum {
Test1,
Test2,
Test3,
Num,
};
enum class TastEnum {
Tast1,
Tast2,
Num,
};
enum class TostEnum {
Tost1,
Tost2,
Num,
};
const freeisle::core::EnumEntry<TestEnum> test_enum_entries[] = ... | [
"noreply@github.com"
] | aburgm.noreply@github.com |
4528b7b0ec91ceb3bb19cdefb1c3ce34bd6e61fc | 55ebefc6de8dc3a452e46d8a2e6ac9b2943d4c19 | /some of the template/dsu on tree.cpp | 3bae2844df6323dc74b945ed2b388593613174a7 | [] | no_license | mokaddesh-rashid/competitive_programming | ab09ba0ceea0a214090438b9d9c1ff9c69c8f9e7 | acbf94c2e896b78693ac92193b69c43cdc48c255 | refs/heads/master | 2020-05-22T18:25:14.537259 | 2019-05-30T22:55:27 | 2019-05-30T22:55:27 | 186,468,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,645 | cpp | #include<bits/stdc++.h>
using namespace std;
#define FOR(i,j,k) for(int i=j;i<=k;i++)
#define MAX 500010
int lf[MAX], rg[MAX], lev[MAX], bigChild[MAX], sz[MAX], dfa[MAX], ti;
vector<int> mat[MAX], query[MAX], id[MAX];
map<int,int> cnt;
int col[MAX];
long long prin;
void dfs(int p,int pa)
{
lf[p] = ++ti; sz[p] =... | [
"mokaddeshrashidshovon@gmail.com"
] | mokaddeshrashidshovon@gmail.com |
87d1c3f366c0c1f90763b3c43c8f8313310a6bd7 | f6cecd4e3ca6f66ba36505173d959db53745036f | /ios/vendored/sdk44/react-native-reanimated/Common/cpp/headers/Tools/Scheduler.h | 7299bc93b18405cf5c73458d9a94c54e42ff065e | [
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | Simek/expo | 6d3844eb75206c72c35b91c8f1752328aee99749 | 6f3c4a42304030fc2d2fbd213b07c1aac6785206 | refs/heads/main | 2023-02-05T11:30:58.908890 | 2022-07-19T10:03:07 | 2022-07-19T10:03:07 | 222,480,219 | 1 | 0 | MIT | 2022-08-18T08:43:17 | 2019-11-18T15:23:00 | Objective-C | UTF-8 | C++ | false | false | 2,052 | h | #pragma once
#include <ABI44_0_0ReactCommon/ABI44_0_0CallInvoker.h>
#include <condition_variable>
#include <functional>
#include <memory>
#include <mutex>
#include <queue>
#include <thread>
#include <utility>
namespace ABI44_0_0reanimated {
//
// Copyright (c) 2013 Juan Palacios juan.palacios.puyana@gmail.com
// Sub... | [
"noreply@github.com"
] | Simek.noreply@github.com |
7ab13f58a27ca49c8ef58ef488c439c6a1ba36a1 | 1bf25e997d5ad78cda90b578134dbc219c1428fd | /Vendor/Vendor/ImGUI/misc/cpp/imgui_stdlib.cpp | ae8c3c4f62c4abc6b4ef05be5df2380fa2c433c3 | [
"MIT"
] | permissive | all500234765/Luna-Engine | 60790cb4210d8bb687cd7c4f3b6117155eadcd17 | 4011a43df48ca85f6d8f8657709471da02bd8301 | refs/heads/master | 2022-04-10T15:01:55.156117 | 2020-03-22T08:32:11 | 2020-03-22T08:32:11 | 186,264,190 | 47 | 6 | MIT | 2020-02-19T13:36:15 | 2019-05-12T14:18:49 | C++ | UTF-8 | C++ | false | false | 3,182 | cpp | // imgui_stdlib.cpp
// Wrappers for C++ standard library (STL) types (std::string, etc.)
// This is also an example of how you may wrap your own similar types.
// Compatibility:
// - std::string support is only guaranteed to work from C++11.
// If you try to use it pre-C++11, please share your findings (w/ info abou... | [
"mr.prototype2@mail.ru"
] | mr.prototype2@mail.ru |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.