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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ecd472d3c6c2943d0b90dee70d40c8289787f288 | 9c204958b8dd7aa617df414e82c1b94fcf6587d7 | /src/display.hpp | 4ec5a4404a514012660e5c3292a16e915cd60a17 | [] | no_license | xyl1t/gui | e8393094be067e1bbf0948fe63bf43cb526415fc | af20829bffa373bee8b3f228ba25973725f67b24 | refs/heads/master | 2023-06-26T17:01:43.854921 | 2021-08-01T13:25:00 | 2021-08-01T13:25:00 | 391,633,842 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | hpp | #ifndef DISPLAY_HPP
#define DISPLAY_HPP
#if __has_include("SDL2/SDL.h")
# include <SDL2/SDL.h>
#else
# include <SDL.h>
#endif
#include <string>
#include "eventHandler.hpp"
#include "cidr.hpp"
// A wraper for SDL_Window and some other stuff
class Display {
public:
Display(int width, int height, const std::strin... | [
"marat.isaw23@gmail.com"
] | marat.isaw23@gmail.com |
750e9ee0d43ad08a1efbdc3ef48569f1c0fb78b5 | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/webrtc-jumpingyang001_for_boss/rtc_base/numerics/moving_median_filter_unittest.cc | 08e6ac5829789fa74789ff82f25b2c83fc75c6c9 | [
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 1,775 | cc | /*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"slacealic@nate.com"
] | slacealic@nate.com |
d6d4e938844fde4cd9cb3a2bda17d8063c2e3ec8 | 1cbb4b9f4cf513846622d4124588f50347e22eac | /Intro-to-C-Programming/week10/anomaly.cpp | 2c64914462c4ae8ccb0c34397235425b6c88e4f2 | [] | no_license | googed/coursera-Foundamentals-of-Programming-and-Algorithms | 51831718bebf7cc94aadc80e9ca1339ac06c07f8 | edc394a9d67cb1300c30eef513a588f12a7eea22 | refs/heads/master | 2021-01-15T22:51:37.054239 | 2017-02-26T18:20:14 | 2017-02-26T18:20:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int N = 0;
int a[100][100];
int sum = 0;
cin >> N;
for ( int i = 0; i < N; i++ )
{
for ( int j = 0; j < N; j++ )
{
cin >> a[i][j];
}
}
for ( int i = 1; i < N - 1; ... | [
"zipan@paypal.com"
] | zipan@paypal.com |
64c6f04cd899364e8834ccdb174421dceb96c6e7 | afd94e972a1d547216306c730df36b979726945a | /src/imslib/src/ims/isotopedistribution.cpp | 8568ea2e45a8bbb85da6ef85cdb3ae174bba685f | [] | no_license | sneumann/Rdisop | 67347bf53797f6d488b715b64eeb14a2496de89e | e87e53e8e4c8833a81d4c40d8c10c9b9f6b8b90d | refs/heads/master | 2023-02-16T23:25:31.738603 | 2023-02-12T14:05:03 | 2023-02-12T14:05:03 | 18,190,796 | 4 | 8 | null | 2023-02-12T14:05:04 | 2014-03-27T20:43:56 | C++ | UTF-8 | C++ | false | false | 6,569 | cpp | /**
* isotopedistribution.cpp
*
* Author: Anton Pervukhin <Anton.Pervukhin@CeBiTec.Uni-Bielefeld.DE>
*
*/
#include <functional>
#include <numeric>
#include <iostream>
#include <cmath>
#include <ims/isotopedistribution.h>
namespace ims {
IsotopeDistribution::size_type IsotopeDistribution::SIZE;
IsotopeDistribut... | [
"hpages@fhcrc.org@bc3139a8-67e5-0310-9ffc-ced21a209358"
] | hpages@fhcrc.org@bc3139a8-67e5-0310-9ffc-ced21a209358 |
729c517af520c5f23ac7fecc5d83257b305f1c27 | e65a1ca327b20a208f6d1999d4fc716ce4e5e60c | /opecapture.cc | 35d0ddb9abaffd8793d2eaeb4afd918bcd26ae23 | [] | no_license | pilambdaepsilon/sigomk1 | 2eba03b3159610ae2b871c25b5df67fe8871f123 | 8516f9c70b1d7ab4c2f8e7f3078ef26aaf008130 | refs/heads/master | 2020-04-12T09:44:39.079681 | 2017-06-09T17:40:42 | 2017-06-09T17:40:42 | 62,845,552 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,375 | cc | #include <gsl/gsl_integration.h>
#include <gsl/gsl_math.h>
#include <string>
#include <sstream>
#include <iostream>
#include <ctime>
#include <cmath>
#include <fstream>
#include "CONSTANTSandCONVERSIONS.hh"
double coeff(int counter, double mDM, double sigchi2, double w, double vT){
sigchi2 *= pow(convcmtoinvGeV, 2.)... | [
"pedro@astro.physics.arizona.edu"
] | pedro@astro.physics.arizona.edu |
f8674f1c051275e9b66e131b755c958bb305890f | dd89190f6867ae11b5bcdb8f4b6484931d76c8aa | /Builders/BuilderFacets/Person.cpp | 706a37830bd95615efdd9b557e3c0e27889c49a7 | [] | no_license | V1aD1/CPP-Playground | 76c620cbc7ce98b549baf4a39fc8d31ed4b88273 | f0837c9d032339e428773b0962c50d282e2cb547 | refs/heads/main | 2023-07-15T09:37:16.662083 | 2021-08-23T17:28:31 | 2021-08-23T17:28:31 | 307,412,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | #include "iostream"
#include "Person.h"
#include "PersonBuilder.h"
PersonBuilder Person::create()
{
return PersonBuilder();
}
std::ostream& operator<<(std::ostream& os, const Person& person)
{
os << "address: " << person.m_streetAddress << ", " << person.m_postalCode << ", " << person.m_city << " working at " << pe... | [
"v_baderca@wargaming.net"
] | v_baderca@wargaming.net |
2c45978cc07ef62129485fecf6ff8609674f5776 | c72eb07b5da35ce54a757ef333a6b18dbed641a9 | /02/linalloc.cpp | 94af194ac18ba0cd5cd39cae84f1a3e471c9f9f3 | [] | no_license | covalkovmaxim/msu_cpp_autumn_2019 | f25781c5607d58d1ea6fe3d67b9b5f60cbd723cf | 854a9d9ac1a8eb4ffe415908865247484bebf2fa | refs/heads/master | 2020-08-17T08:49:05.119283 | 2019-12-03T10:36:10 | 2019-12-03T10:36:10 | 215,640,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | #include "lib.hpp"
LinearAllocator::LinearAllocator(size_t maxSize)
{
pos=0;
maxSiz=maxSize;
buf=new char[maxSiz];
}
LinearAllocator::~LinearAllocator()
{
if(buf!=nullptr)
{
delete [] buf;
}
}
char* LinearAllocator::alloc(size_t size)
{
if(pos+size>maxSiz)
{
pos=maxSi... | [
"covalkov.maxim@yandex.ru"
] | covalkov.maxim@yandex.ru |
ff8c41b71502d295be62956341b2f41bae7e5837 | 24cb74052f95d275dfb8599ea342cadd5e312fa1 | /Dynamic Programming/Pattern - Kadane's Algorithm/Print Maximum Sum Subarray.cpp | 8e2e3ac4386eddb3ccce24fc825f908b848f1176 | [
"MIT"
] | permissive | Datta2901/Algorithmic-Implementations | 44ccd6b1996fac660ec1c268a5fa44fda59abb0e | 9e1afe97d54d4dc50be9170bc1a155562e0aafa6 | refs/heads/master | 2023-08-31T17:25:52.391313 | 2021-10-15T17:46:56 | 2021-10-15T17:46:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,103 | cpp | // PROBLEM: Given an array of n integers. Print a contiguous sub-array with maximum sum.
// Ref: https://www.geeksforgeeks.org/print-the-maximum-subarray-sum/
/****************************************************************************************************/
#include<bits/stdc++.h>
using namespace std;
#define ll ... | [
"kapil181112309@gmail.com"
] | kapil181112309@gmail.com |
f2f3391d529061ca63016bdc1a4bc3d21cab6dd1 | 5a4dd76b1bad3fd7b77702d775d3879ad2165fc6 | /src/Code.cpp | ad460b81aca5357ac22860d7099aadc0be52e669 | [] | no_license | Moore306/STL | 13b74e2d8bdf949c0b236ae943c9d6aaf50d9c46 | 0ca56053dd9dc3f01cbbe33fc4889379790b595e | refs/heads/master | 2020-03-27T18:18:31.451872 | 2018-08-31T15:41:21 | 2018-08-31T15:41:21 | 146,913,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | cpp | //============================================================================
// Name : Code.cpp
// Author : orange
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#includ... | [
"yangyanglan1@163.com"
] | yangyanglan1@163.com |
6dc655af426318ab07654a0e6680e6ff691898d0 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_3267_httpd-2.2.11.cpp | 6d2d3e1c8eb4d2cef0db69ab648c6e1ea588362b | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | static apr_ldap_rebind_entry_t *apr_ldap_rebind_lookup(LDAP *ld)
{
apr_ldap_rebind_entry_t *tmp_xref, *match = NULL;
#ifdef NETWARE
get_apd
#endif
#if APR_HAS_THREADS
apr_thread_mutex_lock(apr_ldap_xref_lock);
#endif
tmp_xref = xref_head;
while (tmp_xref) {
if (tmp_xref->index == ld) {
... | [
"993273596@qq.com"
] | 993273596@qq.com |
7e2877923ed5fa524f453136fe48c48cc82903cf | 23977c48e5570106e8dc2fa789dfc872e110c5e6 | /ch5/10474.cpp | a92e3f4791be6247d1978d01419d49b11af78f9f | [] | no_license | WangQiuc/aoapc-bac2nd | ff4c9e7e803a398cb6ac67f489e73dd6451efdf4 | 53b3ad21296a6d884ac45895d08c5031193ebcc3 | refs/heads/master | 2022-11-28T14:44:14.854103 | 2020-08-03T20:54:27 | 2020-08-03T20:54:27 | 254,982,716 | 0 | 1 | null | 2020-04-12T00:48:59 | 2020-04-12T00:48:58 | null | UTF-8 | C++ | false | false | 601 | cpp | // UVa10474 Where is the marble
// wangqc
#include <cstdio>
#include <algorithm>
using namespace std;
const int maxn = 10000;
int main()
{
int n, q, x, a[maxn], kase = 0;
while (scanf("%d%d", &n, &q) == 2 && n)
{
printf("CASE# %d:\n", ++kase);
for (int i = 0; i < n; i++) scanf("%d", &a[i... | [
"qiuchew1@uci.edu"
] | qiuchew1@uci.edu |
35561bfe6e8a38953b88ef77f5c791a7565f1b2f | a347ca242dd2828e07f24d762da9bc7367cf66f2 | /Source/ToonTanks/GameModes/TankGameModeBase.cpp | 8189163e97e16308ac0e0ace91cfaed2f8f5b254 | [
"MIT"
] | permissive | DavidConsidine/ToonTanks | 2e8b167044c0248953e5ca12092337280e7e3579 | 6bf6aab7fe475a1d2a2547e4a4d5e47f099b8810 | refs/heads/master | 2022-11-04T21:48:35.822917 | 2020-06-28T15:37:22 | 2020-06-28T15:37:22 | 275,209,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,967 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "TankGameModeBase.h"
#include "ToonTanks/Pawns/PawnTank.h"
#include "ToonTanks/Pawns/PawnTurret.h"
#include "ToonTanks/PlayerControllers/PlayerControllerBase.h"
#include "Kismet/GameplayStatics.h"
void ATankGameModeBase::BeginPla... | [
"dmconsie@gmail.com"
] | dmconsie@gmail.com |
65f2e45e048423d6d9e23ef15ba0086c237b0d33 | f64fce5497811985b6712933fa2536fa65a8fab9 | /src/etw/krabs/guid.hpp | 734482d93c50fad5cf4f7c8b3f8898ddad243093 | [] | no_license | yaotechuang/WinSnacks | 3def192985fb1ad984dc23190e5a9352fcf61a7c | c8d558b2341293828b894c000aa251c3c63aad3a | refs/heads/master | 2023-07-05T14:23:03.738488 | 2021-08-20T12:14:24 | 2021-08-20T12:14:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,264 | hpp | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#pragma once
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#include <objbase.h>
#include <new>
#include <memory>... | [
"qjajdccyqt@qq.com"
] | qjajdccyqt@qq.com |
7b15a27373733d36e1e285b9599daf854faa227c | 9915d10abb9655f255c09f9c4ee7b50cbd424279 | /cn.openjudge/NOI/1.5/OJ 1.5.06.cpp | 9ddb0157daee573e88477d14e295ab70dcb517fe | [] | no_license | XiaoLins/NOIP | a535a58aa1fd051071ede07a5c22f725c7cc313a | 42b2563f641865556637625319233cb6fc64e1c9 | refs/heads/master | 2021-07-20T10:39:00.176585 | 2018-11-20T02:37:27 | 2018-11-20T02:37:27 | 137,981,098 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | cpp | //OJ 1.5.06 整数序列的元素最大跨度值
#include <cstdio>
#include <iostream>
using namespace std;
int main(){
int n,temp,max,min;
cin>>n>>max;
min = max;
for (int i = 2; i <= n ; i++){
cin>>temp;
if (temp > max){
max = temp;
}
if (temp < min){
min = temp;
}
}
cout<<(max-min);
return ... | [
"root@earthsky.cn"
] | root@earthsky.cn |
86a52e88ee4cad16524d4655ab4f3b496fcf3cb3 | 9321598e5dbac9c7a9477efcd7a0da47fcf67362 | /Src/Entities/Knife.h | 5f2e06c8a746e64ac3778336ed78928538427a4c | [] | no_license | NicMen99/Jojo-Run | 6b5c3a6ab654c120eb4204925e64c65bf5bf4258 | 0ddb4a8a834b1dee71ad367fd5584dbbf4f944bc | refs/heads/master | 2023-04-12T23:56:01.365514 | 2021-04-19T16:12:48 | 2021-04-19T16:12:48 | 262,828,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | h | //
// Created by angiolo99 on 29/01/20.
//
#ifndef JOJO_RUN_KNIFE_H
#define JOJO_RUN_KNIFE_H
#include "Entities/Bullet.h"
class Knife final: public Bullet
{
public:
explicit Knife (std::string id);
~Knife() override;
void init();
void update(int32_t delta_time) override;
void event(GameEvent ev... | [
"niccolo.menghini@stud.unifi.it"
] | niccolo.menghini@stud.unifi.it |
f0d70323af904a4d54f9520354583724ce567ef3 | 40c247844ef84bba5aa2afd7fa367b14cc0c7047 | /896. monotonic array.cpp | 68156907f77433ea98c6373bcbf7cc6f8bc9e843 | [] | no_license | pranav245/CP2_CIPHERSCHOOLS | 0c0281bc9ee53363155d3f53b679552806f3baff | b7e2f4e114d7e2b940facda6db7a475c6d07dd42 | refs/heads/master | 2022-12-16T00:10:56.000930 | 2020-08-30T09:25:58 | 2020-08-30T09:25:58 | 287,325,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | class Solution {
public:
bool isMonotonic(vector<int>& A) {
bool non_inc = true;
bool non_dec = true;
for(int i=1;i<A.size();i++)
{
if(A[i]<A[i-1])
{
non_inc = false;
}
if(A[i]>A[i-1])
... | [
"p.patelpranav245@gmail.com"
] | p.patelpranav245@gmail.com |
f39089d2a4a361d9f28d5325c0b706f6c9870e1b | 9d9c8eeb19f0b889ca51e84271a1ad6c065b9f6a | /PUServer_2/tileevent.h | 565be21587feda216b246426fead4156d11b5702 | [] | no_license | PokemonUniverse/PUServer_CPP | d1c79d88c8ac5eb9c1d3dbc61105caee683a0cb7 | 799baf7a2af5b96674befaa7cbce209399202292 | refs/heads/master | 2016-09-06T11:46:48.022455 | 2015-02-20T10:53:13 | 2015-02-20T10:53:13 | 31,060,000 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 442 | h | #ifndef INC_TILEEVENT_H_
#define INC_TILEEVENT_H_
#include "definitions.h"
#include "thing.h"
class Creature;
enum TileEventType_t
{
EVENT_NONE = 0,
EVENT_WARP = 1,
};
class TileEvent
{
public:
TileEvent() {};
virtual ~TileEvent() {};
virtual TileEventType_t getEventType() { return EVENT_NONE; };
virtual Re... | [
"mr_dark@darkweb.nl"
] | mr_dark@darkweb.nl |
5349483f06b85e76950d4f7fa73da0d14089d92a | 9150901853b2d1d1cc42016df030e4f6ddd469f7 | /simulation-environment/resources/locationLogger/LocationLogger.h | 0ac3d98e75bcc4f60fc9d562995f6fcd11558875 | [] | no_license | fg-inet/vagrant-omnet-simulation-mobility | c377878c22521c92cf0d531bc03d861f5ffe6dc4 | 556431bf937ab2295c9bc62e79864e26060362c0 | refs/heads/master | 2021-07-16T20:50:31.881388 | 2020-10-14T15:55:00 | 2020-10-14T15:55:00 | 218,059,278 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 599 | h | /*
* LocationLogger.h
*/
#ifndef LOCATIONLOGGER_H_
#define LOCATIONLOGGER_H_
#include <omnetpp.h>
#include "inet/common/INETDefs.h"
namespace inet {
class LocationLogger: public cSimpleModule {
protected:
double xLoc;
simsignal_t XLocation;
double yLoc;
simsignal_t YLocation;
double logInt... | [
"marcin.l.bosk@campus.tu-berlin.de"
] | marcin.l.bosk@campus.tu-berlin.de |
a7b36c4cd133580c0cbcd3c14550479ae0e5b0b2 | b8b491f3a7f6024f2eb80fef9563d653dd1202a4 | /SP4 Proposal and FrameWork/FrameWork/AI Assignment 1/GameState.h | 843560ddc516dc766aeb91e12ee9935c60d88735 | [] | no_license | ShumWengSang/SP4 | b654a27e15e508acf7d7b4000e0c7417e3466b89 | f9571980dc20db2f3d168eded52bf4dd487e2729 | refs/heads/master | 2021-03-12T21:55:19.312179 | 2015-03-05T04:04:47 | 2015-03-05T04:04:47 | 30,836,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | h | #pragma once
#include "GameStateManager.h"
class CGameState
{
protected:
CGameState(void) {};
public:
virtual void Init() = 0;
virtual void Cleanup() = 0;
virtual void Pause() = 0;
virtual void Resume() = 0;
virtual void HandleEvents(CGameStateManager * GSM) = 0;
virtual void Update(CGameStateManager * GSM... | [
"tzu_0223@hotmail.com"
] | tzu_0223@hotmail.com |
fb772ef5341d1953bdc688ca0cba23e86d57b74a | 080d0991b0b9246584851c8378acbd5111c9220e | /11448 - Who said crisis/bigint-2007.07.07/BigInteger.cc | ba4918000eebac4933b45ac9fa2ec16c49785308 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | jlstr/acm | 93c9bc3192dbfbeb5e39c18193144503452dac2a | cd3f99e66ac5eb9e16a5dccaf563ca489e08abc3 | refs/heads/master | 2021-01-16T19:33:50.867234 | 2011-09-29T19:56:16 | 2011-09-29T19:56:16 | 8,509,059 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,184 | cc | /*
* Matt McCutchen's Big Integer Library
*/
#include "BigInteger.hh"
// MANAGEMENT
// Assignment operator
void BigInteger::operator =(const BigInteger &x) {
// Calls like a = a have no effect
if (this == &x)
return;
// Copy sign
sign = x.sign;
// Copy the rest
BigUnsigned::operator =(x);
}
// Constructor f... | [
"andmej@gmail.com"
] | andmej@gmail.com |
36e5d5cd790f3a056bbc3e759cb7d5add8c05fdb | dd239ca86acad10971fb6d743464865e2eda18cd | /stereo_egomotion/cv_plotter.h | 1fa5c4116718e4fd67d761e546022a05712717cd | [
"BSD-3-Clause"
] | permissive | ivankreso/stereo-vision | 80bae794d0d78739df88ffefec0ff40bfcc4362e | 2e2638c2f47e9c0d1c023598923d5c0ce85da200 | refs/heads/master | 2021-07-22T22:19:32.350972 | 2021-02-14T08:13:28 | 2021-02-14T08:13:28 | 55,307,848 | 55 | 26 | NOASSERTION | 2021-02-14T08:13:29 | 2016-04-02T17:40:56 | C++ | UTF-8 | C++ | false | false | 782 | h | #ifndef STEREO_ODOMETRY_CV_PLOTTER_H_
#define STEREO_ODOMETRY_CV_PLOTTER_H_
#include <iostream>
#include <string>
#include <fstream>
#include <opencv2/core/core.hpp>
class CvPlotter
{
public:
static const int kDefaultThickness = 2;
static const int kDefaultLineType = 8;
CvPlotter(unsigned w, unsigned h, do... | [
"ivan.kreso@fer.hr"
] | ivan.kreso@fer.hr |
8fff0493f8035c881ec7e4667fc1a1205735c673 | a7e218434fccac38a851b2c5ca53dc92610acd78 | /Opengl Week 6/Code/main.cpp | e874f33766de6e66b0792b20c46498e85fe657a5 | [] | no_license | JosvanGoor/ComputerGraphics | c8cdbdb2e39ff747c9d7316e2ad0fbff0529a537 | b698d163bc34ca99c9160ba6c9a79e8221ee70f1 | refs/heads/master | 2021-01-12T10:33:11.504169 | 2017-03-28T11:07:19 | 2017-03-28T11:07:19 | 81,309,366 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 633 | cpp | #include "mainwindow.h"
#include <QApplication>
#include <QSurfaceFormat>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
// Request OpenGL 3.3 Core
QSurfaceFormat glFormat;
glFormat.setProfile(QSurfaceFormat::CoreProfile);
glFormat.setVersion(3, 3);
glFormat.setOption(QSurfaceF... | [
"josvangoor@gmail.com"
] | josvangoor@gmail.com |
9b51f46cdb5acd465af99b179bf2751126a15b27 | 73a8f3c9c640af08acbefe657bff62e3d1751fc2 | /Dependencies/Qt-5.4.1/include/QtDeclarative/5.4.1/QtDeclarative/private/qdeclarativefontloader_p.h | a7f102b5a6da51d330dfce5de73b501d2de30ec2 | [] | no_license | knight666/pitstop | 8d5ad076a71055803df1601e1df1640430ad56ca | 4e541d90507f38f36274e50b0d702a284d648e27 | refs/heads/master | 2020-07-10T00:51:28.141786 | 2019-08-24T20:08:02 | 2019-08-24T20:08:02 | 204,123,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,854 | h | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtDeclarative module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License U... | [
"knight666+github@gmail.com"
] | knight666+github@gmail.com |
8e40c082581a0482a1314a9b1e378ae3146ff808 | 6b688f94d29b90b4bf5f284369186e3c97927405 | /Pixel.cpp | e13d7ac52f265b835a0a539754772f52da940af7 | [] | no_license | NadavOrzech/DS_HW4 | 949f73b0f1b464307d00a4b18e72e9471aef4608 | f38fa8c687f1f265aa99b8f3eebe26114f2c3e1e | refs/heads/master | 2020-04-14T14:15:06.076943 | 2019-01-04T21:05:05 | 2019-01-04T21:05:05 | 163,890,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 157 | cpp | #include "Pixel.h"
Pixel::Pixel(int ID):pixel_ID(ID), father_pixel(nullptr) {
SuperPixel* super_tmp=new SuperPixel(this);
this->super=super_tmp;
}
| [
"nadavorzach@gmail.com"
] | nadavorzach@gmail.com |
61b079b3b6d21bad70594a3daca97507b95e189b | 87695eaa682e23b55f8da8a29840c33c2576daa1 | /Greedy-Algorithm/Busy_man.cpp | fb91d8f79557f073bed730524c1d0248bfc05d1c | [] | no_license | priyansh18/launchpad | 33993514512a4072539b0e175634d21f99bbf38e | b9cc164fbdf077017e5e1c6ce3a0aa25a349edbb | refs/heads/master | 2021-03-23T13:56:26.843697 | 2020-05-02T08:28:46 | 2020-05-02T08:28:46 | 247,460,802 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
bool compare(pair<int, int> p1, pair<int, int> p2)
{
return p1.second < p2.second;
}
int main()
{
int t, n, start, end;
cin >> t;
vector<pair<int, int>> v;
while (t--)
{
cin >> n;
for (int i = 0; i < n; i++)
{
... | [
"48357563+priyansh18@users.noreply.github.com"
] | 48357563+priyansh18@users.noreply.github.com |
f6d6ae3035ac65daa01d3977baadf7bc8eacb36f | 58ea57ed76a9cb4d423cb43cd35b42e3306b9feb | /src/ast.hpp | 827d773e1e2d24f26612ca775b770935e4e995cb | [
"Apache-2.0"
] | permissive | davidmoreno/loglang | eb56a1c0a5096fc20e9f3fd14e007480f57eadcc | 2126e7d57407111dc473d4d2552ef1ea26d8112b | refs/heads/master | 2016-09-05T15:32:54.062585 | 2015-03-29T10:38:23 | 2015-03-29T10:38:23 | 27,278,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | hpp | /*
* Copyright 2014 David Moreno
*
* 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 ... | [
"dmoreno@coralbits.com"
] | dmoreno@coralbits.com |
f779dc396de1ed51d95b35d6dd2d2916d16577c2 | b6b83aaaba42a8223cdf41ad0c8af2e7153bb7f5 | /test/test_tcl_image.cpp | 6add17cbde0e3c13226651d8099779dc64ee628e | [
"MIT"
] | permissive | colinw7/CTclApp | 3cca0bf3c5b3b37ca662dff1268b528b13acf2f8 | 96f8ac56e7b6860e04b2ab9485aed6bd38e8e8c8 | refs/heads/master | 2022-10-20T15:31:21.288597 | 2022-10-02T20:25:59 | 2022-10-02T20:25:59 | 134,008,362 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | #include <CTclApp.h>
#include <CTclAppCanvas.h>
#include <CTclCanvas2D.h>
#include <test_tcl_image.k>
class testApp;
class testApp : public CTclApp {
public:
testApp(int argc, char **argv) :
CTclApp(argc, argv) {
init();
}
protected:
void addCommands();
std::string getTclStr();
};
//---
int
main(... | [
"colinw@nc.rr.com"
] | colinw@nc.rr.com |
fcee036145617eee0a0b2024bd01aa94d9f9f1f3 | 57a6a89661ed8bd0bbebcc867bce77b8277902e8 | /flow/flow/terminal/all.h | f5eb265d1ae912c18ff6631620e51c11fb1c4ee9 | [
"MIT"
] | permissive | twentylemon/flow | 05a19491df625d6b6f8d1768f25cc0870a606900 | 2c1c2a9435ea322e8183661e1ede4b81c0ee11ea | refs/heads/main | 2021-06-09T03:24:06.735201 | 2015-11-13T19:06:28 | 2015-11-13T19:06:28 | 42,273,441 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,277 | h |
/**
* \cond LICENSE
* The MIT License (MIT)
*
* Copyright (c) 2015 Taras Mychaskiw
*
* 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 limitati... | [
"taras.mychaskiw@gmail.com"
] | taras.mychaskiw@gmail.com |
449fc5788548687a71f408dc217a1470f1d07614 | ed25dc3fdf080e59316c19b2fb8a1f05a49c88ef | /sample/window/os2/menuedit/savemenu.hpp | 11901b48b1f94332c840d7c713af14e604816d03 | [] | no_license | druppy/uwinf | b31f728787773deab9b32a0c3c3a1bfec6fd7f61 | ef1fbab1893d4cfa55b07efe3d78ebdeda5e50b3 | refs/heads/master | 2020-05-22T14:33:21.444998 | 2015-09-26T18:46:51 | 2015-09-26T18:46:51 | 32,198,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 87 | hpp | #include "menuitem.hpp"
int SaveMenu(const char *filename, const MenuItemList &mil);
| [
"bolorentsen@b0d57361-8f52-0410-94e9-e535195c87f4"
] | bolorentsen@b0d57361-8f52-0410-94e9-e535195c87f4 |
a07029b71e944174c4afdfab9a41e7467fca1f57 | 44de7d7dd40ce520aacd1d233cd147b35e73d1fc | /DarkIsland/GameContent/Sphere.h | 2d827793e2bddf10488a35f6fe5021519847e582 | [] | no_license | craiggriff/DarkIsland | 37e817b7675f5d1dc9f78e8ef5cbafe743263c06 | d6c84ad78aace0d6b0c5ca42bd40e9a195330a63 | refs/heads/master | 2022-10-25T13:13:04.817389 | 2022-10-13T21:05:36 | 2022-10-13T21:05:36 | 163,533,967 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,425 | h | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PA... | [
"craiggriffice@hotmail.co.uk"
] | craiggriffice@hotmail.co.uk |
bd6f3daf91024ce47d7c0dfdf7d06671780c1018 | 4a3b2947276261ef7c9e6bfd3a13517c8c594aef | /Praktikum09/linkedlist.h | c800a11f48f319579ef177fbb9a267d6c5dfa1db | [] | no_license | armanivers/Programmierkurs-2 | 7d156a36b4ea20535942f855421208a4acf144ec | 9678a60bb4d67d93f288025dd08b2c5a15eb689b | refs/heads/master | 2021-08-08T20:57:19.468872 | 2021-03-16T19:47:03 | 2021-03-16T19:47:03 | 246,174,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,239 | h | #ifndef _LINKEDLIST_
#define _LINKEDLIST_
#include "iterator.h"
#include "iostream"
namespace fhdo_pk2{
template <class T>
class LinkedList{
private:
class Node{
public:
Node *next;
Node *prev;
T text;
Node(){
next = nullptr;
prev = nullptr;
... | [
"armanivers@hotmail.com"
] | armanivers@hotmail.com |
0d68deb16d6d31b968b3088c3c27f50836c4e372 | 7cf0595bcffa98c88df20bc13bc2672a127a448b | /src/xdlrc/util/TileLookup2D.cpp | d87a19a77c4e9f410aedf4a3b5b0a199d73ab5c7 | [
"BSD-2-Clause-Views"
] | permissive | CSLDepend/bil | bbff795b65a8bc0f2cf2fd487f52fcead7083aa4 | d5f201afcfa54606db3f368cb34fa146c045b36c | refs/heads/master | 2021-05-03T17:10:36.745918 | 2016-10-27T18:56:24 | 2016-10-27T18:56:24 | 72,053,785 | 0 | 0 | null | 2016-10-26T23:42:29 | 2016-10-26T23:42:29 | null | UTF-8 | C++ | false | false | 1,393 | cpp | /**
* \file TileLookup2D.cpp
* \brief Contains definition of TileLookup2D class.
*/
#include <xdlrc/model/Device.hpp>
#include <xdlrc/util/TileLookup2D.hpp>
using namespace bil;
TileLookup2D::TileLookup2D():
m_rowCount(0),
m_columnCount(0),
m_tiles()
{
}
unsigned TileLookup2D::rowCount() const
{
return... | [
"florianbenz@florianbenz.de"
] | florianbenz@florianbenz.de |
d4c6e667cdbede6e6f724aa2e5997f0bd048dab6 | d38c022150d1254fb68b68ccb2036641ae6f95c8 | /lib/ODriveArduino/ODriveArduino.cpp | fad4817c56a69b3197b9e910690bc5863fb77d83 | [
"MIT"
] | permissive | octavio2895/ventilador_minsa | de9cccd7225673b749185ecafbe7a551494a4505 | 2e25b747fa1208265411fad0699a0de414708acf | refs/heads/master | 2023-01-01T20:55:02.917079 | 2020-10-27T19:50:49 | 2020-10-27T19:50:49 | 261,588,717 | 0 | 1 | null | 2020-05-16T17:40:58 | 2020-05-05T21:38:26 | C++ | UTF-8 | C++ | false | false | 2,994 | cpp |
#include "Arduino.h"
#include "ODriveArduino.h"
static const int kMotorOffsetFloat = 2;
static const int kMotorStrideFloat = 28;
static const int kMotorOffsetInt32 = 0;
static const int kMotorStrideInt32 = 4;
static const int kMotorOffsetBool = 0;
static const int kMotorStrideBool = 4;
static const int kMotorOffsetUi... | [
"octavio2895@gmail.com"
] | octavio2895@gmail.com |
a7ce264fd8c2407de2e92093ebcf3d4e67a26dc3 | c4a70a2ef03ee4b89b61b4c6d65a3898b1133958 | /vol004/450_LittleBlackBook.cpp | 4e18874546912efc570a5fae42ee37aacfe62c0a | [] | no_license | GonzaloCirilo/UVa | 40803053f26aba966e95e6d08c44cb6dee294651 | 2f106aa76ef5bb9471b747322302fad3051de7d7 | refs/heads/master | 2023-04-13T05:08:57.704904 | 2023-04-06T20:06:09 | 2023-04-06T20:06:09 | 98,001,587 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,434 | cpp | #include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <algorithm>
using namespace std;
struct Person {
string title, firstName, lastName, address, homePhone, workPhone, mailbox, department;
bool operator<(const Person& a) const
{
return lastName < a.lastName;
}
};... | [
"gonzalo_cirilo@hotmail.com"
] | gonzalo_cirilo@hotmail.com |
08a650aec6decb89dc7b9201fbd7dfe58281be00 | 2a8566b98bad4712b63714f63e7d517f87b7fbd2 | /fromtheheARt_Hololens/Hololensbuild/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_3Table.cpp | 777b1c469544b54c82f15663d61e5ee3a95c0428 | [] | no_license | creatingrealitysubmissions/fromtheheARt-1 | 1725c0758a31cb5a40eed3385d38a55c56515276 | 86499e6339d5a91e6f745e38a3e2fd0f61c7a909 | refs/heads/master | 2021-04-06T11:53:57.371236 | 2018-03-15T01:38:50 | 2018-03-15T01:38:50 | 125,295,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118,578 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "object-in... | [
"bmotwani@LAPTOP-BORB1A0P.localdomain"
] | bmotwani@LAPTOP-BORB1A0P.localdomain |
a3b99d8a833cca3a079028ed68b713a3a6748610 | 61b0f3ac55da6d86367db7e639a1eb933caab2a3 | /core/quaternion.cpp | c49f7eb8e13f803ffbeba6a7ef6a1856a8b5273e | [] | no_license | vlopezsa/code | 21455bedd9b325fcc699a9b8275df495c5d8fd8f | aa75f4c54f948ad4e1bf2c94d478cb42c93cb329 | refs/heads/master | 2021-01-15T15:42:48.496463 | 2016-09-18T22:47:23 | 2016-09-18T22:47:23 | 51,019,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,039 | cpp | #define _USE_MATH_DEFINES
#include <math.h>
#include "graphics.h"
#include "quaternion.h"
Quaternion::Quaternion()
{
m_x = m_y = m_z = 0.0f;
m_w = 1.0f;
}
Quaternion::~Quaternion()
{
}
void Quaternion::CreateFromAxisAngle(float x, float y, float z, float degrees)
{
// First we want to convert the degr... | [
"victor@lugarc.com"
] | victor@lugarc.com |
1404143082f65caa3df30d8eaa3b532a2caf929d | b0dd7779c225971e71ae12c1093dc75ed9889921 | /tools/quickbook/test/snippets/unbalanced_snippet1.cpp | d20c1a800a366cc22a1d123fb4a729a7e8834b8d | [
"LicenseRef-scancode-warranty-disclaimer",
"BSL-1.0"
] | permissive | blackberry/Boost | 6e653cd91a7806855a162347a5aeebd2a8c055a2 | fc90c3fde129c62565c023f091eddc4a7ed9902b | refs/heads/1_48_0-gnu | 2021-01-15T14:31:33.706351 | 2013-06-25T16:02:41 | 2013-06-25T16:02:41 | 2,599,411 | 244 | 154 | BSL-1.0 | 2018-10-13T18:35:09 | 2011-10-18T14:25:18 | C++ | UTF-8 | C++ | false | false | 28 | cpp | //[unclosed
int main() {} | [
"tvaneerd@rim.com"
] | tvaneerd@rim.com |
bd4ca9367d4d1d8f178314c91c14f0300214c507 | 1fae09abaa5111af0b3568cf714ecf6a92ea027e | /C-Strings-Worksheet/removeSpaces.cpp | 1b88915bb7df0dab75189a43a8a4085302217ad1 | [] | no_license | ashok201198/C-course | 00d8543d697d0f1bf673d69f05e749626e9f7753 | 14ca7648b965f59ad6ff6daadadec02a6b29350f | refs/heads/master | 2020-03-17T09:02:42.241140 | 2018-05-15T04:26:33 | 2018-05-15T04:26:33 | 133,458,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | cpp | /*
OVERVIEW: Given a string, remove all spaces in it.
E.g.: Input: "abd scd". Output: "abdscd"
INPUTS: A string.
OUTPUT: Return string after removing spaces.
ERROR CASES: Return '\0' for invalid inputs.
NOTES: Don't create new string.
*/
#include<stdio.h>
char removeSpaces(char *str) {
int i=0,j=0,l=0;
if (str ==... | [
"ashokkumar.201198@gmail.com"
] | ashokkumar.201198@gmail.com |
016a22ac3eebb77f87871e4d76dfae5b414b1f4c | f3a0e04e9496ea8c720f255e489b38429be9004d | /Lab_12.3(рекурс.)/Lab_12.3(рекурс.).cpp | 8ef901499e27c80a7c6c45acb32b151620918fd8 | [] | no_license | Woloda/Lab_12_3_RECURS | 8f71ae4d68750eb0299e492c524e831e56c02c4e | 474f2f50f89417db15488dbae6ba96ab68f0fc2c | refs/heads/master | 2023-02-01T16:56:34.143643 | 2020-12-18T14:04:05 | 2020-12-18T14:04:05 | 322,600,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,722 | cpp | #include <iostream>
#include <Windows.h>
#include <time.h>
using namespace std;
typedef int inform;
struct Spusok
{
Spusok* link1,
* link2;
inform inf;
};
int Creata(Spusok*& first, Spusok*& last, int index, int N, int i);
int COUT(Spusok*& T, inform inf, int N, int index);
void Process(Spusok*& T, inform v1, ... | [
"dorozovecvoloda@gmail.com"
] | dorozovecvoloda@gmail.com |
b55d8539c6aa0661f5a3176191262c1f69306e20 | b494742e7d0db4a1056656bdc28240f800a038e6 | /src/tcstock/source/stockview/tcstockscene.h | b3fcdefdf377e76baecea734f088656d0bbb8d35 | [] | no_license | zhuzhenping/CTP-MATLAB | 5fd4953c15579840f8de92e294cafbeff754f064 | aecef74c3533d298cb4b4e6a6c499d4c87b3ef5a | refs/heads/master | 2020-03-17T00:52:39.154075 | 2017-11-06T10:03:32 | 2017-11-06T10:03:32 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,361 | h | #ifndef tcstockscene_h
#define tcstockscene_h
#include <QtCore/QVariant>
#include <QGraphicsScene>
#include <QPainter>
#include "../stockinfo/tcstockinfopack.h"
#include "../viewmodel/tcviewmodelpack.h"
class tcViewStockGroup;
/*! \brief tcStockScene
\author tony (tonixinot@gmail.com)
\version 0.01
\date 2006... | [
"84020702@qq.com"
] | 84020702@qq.com |
5c7621fe154f05a56d75fabcad0c062de5072f04 | 73d648a072775d64db7a4c4711b9da32c69fbece | /codeforce/735B.cpp | 987005e65beae8d436cebac2abaadb7799e12e57 | [] | no_license | 12Dong/acm | e209605c57e8a2d0247ef5c86f50aec1d43e86b3 | 4f0c98fd4649f730db2ab8300ce45d04dd31e766 | refs/heads/master | 2020-12-30T17:51:18.751827 | 2017-10-21T07:30:56 | 2017-10-21T07:30:56 | 90,933,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | cpp | #include<iostream>
#include<algorithm>
#include<cstdio>
using namespace std;
bool cmp(double a,double b)
{
return a>b;
}
double num[1000005];
int main()
{
int n,n1,n2;
while(cin >> n >> n1 >> n2)
{
for(int i=0;i<n;i++)
{
cin >> num[i];
}
sort(num,num+n,cmp);
int n3=min(n1,n2);
int n4=max(n1,n2);
d... | [
"289663639@qq.com"
] | 289663639@qq.com |
07cc4ce2b7f56288000a3d57fac24664d4453330 | 64f859ebd99c85f3f8af07bf7c8b71850700ad5e | /LAB/LAB_3/linked_list.cpp | 9264b66d4040e0d44f0a3616e2cf865d108e1f8c | [] | no_license | abhishek0220/CSL106 | a27d7c3c820484b046cc5644000a6df8ac3d7759 | 8a43788f1da56c61563fcd6a26e7ecbcc9bca86f | refs/heads/master | 2020-08-12T17:03:56.219166 | 2020-03-28T11:42:48 | 2020-03-28T11:42:48 | 214,805,427 | 4 | 2 | null | 2020-03-28T11:42:50 | 2019-10-13T11:07:55 | C++ | UTF-8 | C++ | false | false | 2,391 | cpp | #include<bits/stdc++.h>
using namespace std;
class Node{
public:
int data;
Node *next;
};
class linked{
public:
Node *Head,*ch;
linked(){
Head=NULL;
}
void push(int da){
Node* new_node=new Node();
new_node->data=da;
new_node->next=Head;
Head=new_node;
}
void append(int da){
N... | [
"abhishekchaudhary0220@gmail.com"
] | abhishekchaudhary0220@gmail.com |
f4a0505e729994155b3a06d9748422f47df7a673 | d387c3750d6ee7481df3b30a621a1f1f67a097f2 | /codeforces/1385/A.cpp | 656ac75a153e6951571f0678fe210d0be094a5be | [] | no_license | sahilkhan03/CF-Solutions | 54b7c4858d0c810ea47768f975f4503bd83fff8b | 67e9e9581d547229b44bee271b4844423fff3a29 | refs/heads/master | 2023-04-22T01:37:43.022110 | 2021-04-19T13:34:00 | 2021-05-10T05:00:23 | 333,403,802 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,660 | cpp | /*
Author : DemonStar
*/
#pragma GCC optimize("Ofast")
#pragma GCC target ("sse4")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define fast ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define all(x) x.begin(), x.end()
#define loop(i, n) for(ll i = 0; i < n; i++)
#define mset(v, a... | [
"sahilkhan0307.sk@gmail.com"
] | sahilkhan0307.sk@gmail.com |
bc58bb8de60d31a5304fef2a65cb89b8a8297042 | 3eb8e65f8ff4c9c2b7ce96d735229b2cfa4b596b | /GameServer/Battle_NPCDropItem.cpp | eaf72c75cbfcccb0ea9c645c164073618b4350fc | [
"Apache-2.0"
] | permissive | openlastchaos/lastchaos-source-server | 778d44cb2af1cb8fec646c50ae362224124133ac | 935b770fa857e67b705717d154b11b717741edeb | refs/heads/master | 2023-06-24T11:10:21.088498 | 2021-07-31T21:49:40 | 2021-07-31T21:49:40 | 391,469,204 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 17,559 | cpp | #include "stdhdrs.h"
#include "Server.h"
#include "CmdMsg.h"
#include "Log.h"
#include "hardcoding.h"
#include "Battle.h"
// npc - 사망 npc, pc - 공격한 캐릭터, tpc - 우선권 캐릭터, level - npc를 공격한 캐릭터의 평균레벨
typedef void (*NPC_DROP_FUNCTION) (CNPC* npc, CPC* pc, CPC* tpc, int level);
void ProcDropItemAfterBattle(CNPC* df, CPC* op... | [
"openlastchaos@protonmail.com"
] | openlastchaos@protonmail.com |
c233c050f4bd0c034648aa9d910ff64f84d6adeb | b406c69ec1dec6166c3545f6c9c4b19203c48d0e | /cpp/Mrpt.h | 75a87d604ba9e883a85f19d39500213e942b8c50 | [] | no_license | JVonderwell/hyperbolics | 0e2f0a8c3d8b783e604efa76967c532dc2308da2 | c89b15aedbc2fae32a913d501f7976bdb1b57990 | refs/heads/master | 2020-03-10T22:52:18.668395 | 2018-04-25T02:21:08 | 2018-04-25T02:21:08 | 129,628,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,830 | h | #ifndef CPP_MRPT_H_
#define CPP_MRPT_H_
#include <algorithm>
#include <functional>
#include <numeric>
#include <random>
#include <string>
#include <vector>
#include <cmath>
#include <Eigen/Dense>
#include <Eigen/SparseCore>
using namespace Eigen;
class Mrpt {
public:
/**
* The constructo... | [
"jvonderwell@gmail.com"
] | jvonderwell@gmail.com |
0ae88b7730c5aae156b578cf8ef51f389a9266b0 | 650f2211d8a8d80e42017dd222d7b83d412dc1bc | /dp/fibonacci_number.cpp | 2c10877f8b4d4bf52176433c690328da5216dd30 | [] | no_license | riveridea/g20 | 43798bc2f1459b7c445c25c7b5c5fa89644d1953 | 61dc87e197dd1b0566b94c079ac8582848f9ed8f | refs/heads/master | 2020-12-13T13:50:38.392180 | 2017-04-29T20:01:19 | 2017-04-29T20:01:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | cpp | /*
Cracking the coding interview, 4th Question 8.1
Write a method to generate the nth Fibonacci number.
*/
class Solution {
public:
int fibo(int n) {
if (n < 0) {
return -1;
}
if (n = 0) {
return 0;
}
int a = 1, b = 1;
for (int i = 3; i <= n; i++) {
int c = a + b;;
a = b;
b = c;
... | [
"yuliang.name@gmail.com"
] | yuliang.name@gmail.com |
ced376fa6fe2d54bb2e4c426c992177ec158a05c | f23445c51f8d9212e3157f8f52c69bf4b7361a22 | /DayZ_Epoch_13.Tavi/CfgServerTrader/Category/OriginStrongHolds.hpp | f2ee851dc984f376c461000cc4ca0f51c89a5ad5 | [] | no_license | quitanddead/FBIOverpoch | 0378eb8a436d3a646671f8587b5fdd783d3c81d9 | 80e16d07e72ffe5ce6460cffd8ab80d2d727dc20 | refs/heads/master | 2021-01-18T05:21:55.263607 | 2014-09-10T05:19:24 | 2014-09-10T05:19:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | hpp | class Category_903 {
class ItemObsidian {
type = "trade_items";
buy[] ={1000000,"Coins"};
sell[] ={10000,"Coins"};
};
}; | [
"incogone3@gmail.com"
] | incogone3@gmail.com |
da84585382e3d010d1b01165bd675e23d438ad3d | f954d4becae0ef07d253dec5ebe9eb7238919f4d | /editor/offer67.cpp | 1c17b4650194adc2dac517d5d9fa1cee0afd818f | [] | no_license | iznilul/leetcode- | ec2c4f3d6ea487daa0791810c45971abeca87952 | c4ee1510701601e6d0851e68753ba0768099cbfb | refs/heads/main | 2023-03-30T14:46:19.387944 | 2021-04-09T05:02:21 | 2021-04-09T05:02:21 | 315,317,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | cpp | //
// Created by Administrator on 2021/3/4.
//
#include <iostream>
#include <unordered_map>
#include <vector>
using namespace std;
class AutoMac{
string state = "start";
unordered_map<string, vector<string>> table = {
{"start", {"start", "signed", "in_number", "end"}},
{"signe... | [
"1773950094@qq.com"
] | 1773950094@qq.com |
51bfcf2ecf1a054bc73d877de4a2dc8f2514554a | f4e3c2adcb9c94fc7ee047f9077b0e32cb319b27 | /map/1122.cpp | b175f6fc1d8b109272f3f289b21f44d3b840d96c | [] | no_license | sstar2257/PAT-Sort | 4165a11bd2eaee9f3423228bce443fbf6bd2edd7 | 32e616da4056ce2ce306dc7e1a3dd8e9c4fb1573 | refs/heads/master | 2020-05-05T02:36:32.082375 | 2019-05-06T02:23:21 | 2019-05-06T02:23:21 | 179,644,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | cpp | #include <iostream>
using namespace std;
int table[201][201];
//考察哈密顿回路
//题目刚开始看了好几遍没理解意思。。。其实就是下面4个判断
//满足了以下条件即输出YES,只要有不满足的就输出NO:
//1.路径节点个数等于n + 1
//2.相邻点之间存在连通的边
//3.前n点各只出现过1次
//4.第一个节点等于最后一个节点,构成回路
int main()
{
int N, M;
cin >> N >> M;
int x, y;
for (int i = 0; i < M; i++) {
cin >> x >> y... | [
"chenjiahui.zju@gmail.com"
] | chenjiahui.zju@gmail.com |
2e283295b5f1edf8696ccc72d58ff01d41cd007f | 8dcf693fc5da1d743d67e806e4c637deebc36eca | /include/ReadLocker.h | a164bf5232f546f3d196a2f7d52535bdada0f716 | [
"Zlib"
] | permissive | turutosiya/mod_uploader24 | c50218fe704d564a6b240aca1be5e82595bb9345 | 7c95ee7ae7e10465cbb26ae3025036b917c5fd38 | refs/heads/master | 2020-07-02T00:00:04.156949 | 2015-05-14T10:47:16 | 2015-05-14T10:47:16 | 35,604,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,743 | h | /******************************************************************************
* Copyright (C) 2007 Tetsuya Kimata <kimata@acapulco.dyndns.org>
*
* All rights reserved.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any
* damage... | [
"turutosiya@gmail.com"
] | turutosiya@gmail.com |
904ceda6b0fc3cc5b767466b4758f56040605291 | 533e1256cc13b7bfc9efa288db9b4c2052ec0d1a | /Src/PID.cpp | e0652a3da3f14eddc50b515b820b2f4243b70877 | [] | no_license | enmate95/InHaleV2tests | eebb7e252abf246041b7d3ee334556f3c85cb417 | a74f5865d3c3dca81b07ddc61cf7a12a0c592cf2 | refs/heads/master | 2022-07-19T09:03:57.412394 | 2020-05-29T14:04:58 | 2020-05-29T14:04:58 | 267,859,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 888 | cpp | /*
* PID.cpp
*
* Created on: May 29, 2020
* Author: mate_pc
*/
#include "PID.h"
uint16_t PID::run(float signal, uint32_t timeStamp) {
static volatile float error = 0;
static volatile float last_error = 0;
static volatile float control_signal = 0;
static volatile float integral = 0;
static volatile fl... | [
"mate@hunifylabs.com"
] | mate@hunifylabs.com |
a9acb4ec76074a0c8f0c47981761971eb6341dd0 | e7fadeaa0be7f681722dccde42f92f1c6ee16a9b | /vod/src/model/DeleteEditingProjectRequest.cc | 5f4895c98c8338e81543b4c3046159ef9e428b04 | [
"Apache-2.0"
] | permissive | ELLIEbleu/aliyun-openapi-cpp-sdk | 5a360447016d7fc32420907d0152e5aab43eeb9b | 9b7dbef9c81c814a5fd519250b621d44339d3497 | refs/heads/master | 2020-04-10T21:08:54.368882 | 2018-12-06T02:28:48 | 2018-12-06T02:28:48 | 161,288,710 | 2 | 0 | null | 2018-12-11T06:38:23 | 2018-12-11T06:38:23 | null | UTF-8 | C++ | false | false | 2,574 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"yixiong.jxy@alibaba-inc.com"
] | yixiong.jxy@alibaba-inc.com |
e6628f2ee9336ccf3d713d240e4e3aec82997818 | 1a451f3f333f577291474e8091c211fe2cb69882 | /Information Security/lab2/encfile.cpp | 7ad78b88514ce15a1d73b733966a0392c241ed1e | [] | no_license | USTC-ERIC/USTC | f73162a46db32e32b0f9fd81000b4500b53f2ea3 | e27e6f46425ec8fadf17a10e8cbfc5a10bca6e6f | refs/heads/master | 2023-03-14T11:26:00.606589 | 2021-03-02T13:26:59 | 2021-03-02T13:26:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,229 | cpp | // cryptoDemo.cpp : Defines the entry point for the console application.
// Windows: cl cryptoDemo.cpp
// Linux: gcc -o encfile encfile.cpp -lcrypto -std=gnu++0x -U__STRICT_ANSI__
#include <memory.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/stat.h>
#include "openssl... | [
"hechunwang2000327@hotmail.com"
] | hechunwang2000327@hotmail.com |
045a529f305506d9a18b21605a61d61cb1fbda46 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /net/dns/dns_session.h | 788474a22a04df465c26859e8746dece632b89eb | [
"BSD-3-Clause"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 5,388 | h | // 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.
#ifndef NET_DNS_DNS_SESSION_H_
#define NET_DNS_DNS_SESSION_H_
#include <stdint.h>
#include <memory>
#include <vector>
#include "base/lazy_instance.... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
c7aa080a941857da496b1e76e57c0f0b6cf19add | 06d17df268172cc852acfd47b0d003461fdd7914 | /Tic Tac Toe/Tic Tac Toe/main.cpp | 7688c611070e5e7b2d22b3fbdc43023752e9a5b1 | [] | no_license | uniquews/Cracking-Code-Interview | 77c4f02ebe773bf2d18035474a835aa17c4c7cf9 | dd81f1cf0de94511f1e01f587c50675205c49b67 | refs/heads/master | 2020-05-31T01:20:19.483306 | 2014-11-14T01:50:33 | 2014-11-14T01:50:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,170 | cpp | //
// main.cpp
// Tic Tac Toe
//
// Created by Shuai Wang on 10/31/14.
// Copyright (c) 2014 Shuai Wang. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int checkWon(vector<vector<int>> &board) {
int row = (int)board.size();
int colu... | [
"wstjpu@gmail.com"
] | wstjpu@gmail.com |
2ce9192a09204ede56f4907d1694afa4fa352bde | eed80c86cfb2b38f17c99a32f5820d5a6ce15403 | /Algorithm/Sort/Data/data.cpp | 0d563bb1c1c678691ac94d122ee475cc181b5914 | [] | no_license | RyodoTanaka/Programming | be45bbf9b9c93e1972498f72a36c2bc001e12dd1 | feef117953566fdc7645bc75976aa408ebda22da | refs/heads/master | 2021-01-17T21:25:44.828195 | 2017-02-09T08:32:07 | 2017-02-09T08:32:07 | 34,675,171 | 0 | 0 | null | 2017-02-09T08:32:08 | 2015-04-27T15:36:56 | C++ | UTF-8 | C++ | false | false | 337 | cpp | #include "data.hpp"
using namespace std;
Data::Data()
{
InitRand();
cout << "How many datas ? : ";
cin >> data_size;
cout << "Max ? : ";
cin >> max;
cout << "Min ? : ";
cin >> min;
data = new int [data_size];
for(int i=0; i<data_size; i++)
data[i] = GetRand(max, min);
}
Data::~Data()
{
de... | [
"k104073r@mail.kyutech.jp"
] | k104073r@mail.kyutech.jp |
cd3a447cfc51061f8961e675e0beedad5a15c720 | 3f719177651d09c8d68532020270c0e35ee1e445 | /DotMatrix_GrowingHeart.h | 3548b0f5f8960eec1b97446892925413081dd690 | [
"MIT"
] | permissive | techman83/dotmatrix-growingheart | 7fa576800132b8207479c36502103314fe743bf0 | d232359a54045c04d3aab5e2a4679970f209810a | refs/heads/master | 2020-04-14T01:08:22.070212 | 2019-01-01T07:07:26 | 2019-01-01T07:07:26 | 163,552,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | h | #ifndef __DOTMATRIX_GROWINGHEART_H
#define __DOTMATRIX_GROWINGHEART_H
#include <Adafruit_DotStarMatrix.h>
#include <cstdlib>
class DotMatrix_GrowingHeart {
private:
Adafruit_DotStarMatrix* matrix;
uint16_t PIXELS;
uint16_t CUR_INDEX;
uint32_t COLOUR; //RED
uint32_t OFF; //BLACK
void displayImage(uint64_t ... | [
"techman83@gmail.com"
] | techman83@gmail.com |
3e70a52aef018c5fe09dd6dee9b1bf40ac69db5a | c082c6de0dc12084d213e96eb5a13b49f380de3d | /实验4.2(2)/实验4.2(2)/实验4.2(2)Doc.h | 23a6dd9fb86944a3cff6d7087f7473afbbe6ddfa | [] | no_license | levi-Ackerman6/test1 | 395ad496dfbf28db0d217d0fcdfef4c001185cf7 | bdee6c2de604ae3d2ca1d26a3dfebad52cd84209 | refs/heads/master | 2022-11-16T09:32:37.600772 | 2020-07-05T19:22:01 | 2020-07-05T19:22:01 | 261,464,799 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 920 | h |
// 实验4.2(2)Doc.h : C实验42(2)Doc 类的接口
//
#pragma once
class C实验42(2)Doc : public CDocument
{
protected: // 仅从序列化创建
C实验42(2)Doc();
DECLARE_DYNCREATE(C实验42(2)Doc)
// 特性
public:
// 操作
public:
CRect m_clientRec;
// 重写
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
#ifdef SHARED_HANDL... | [
"2535133278@qq.com"
] | 2535133278@qq.com |
7a13a429c15c96fe01daf9601c5b09abca517ffa | d8f64e03cd2d146b10cdc1a2aa6d642ac7d27aee | /AsyncMBus.cpp | 59ebb8cd6032230e683503047ce591a28352eb93 | [
"Apache-2.0"
] | permissive | timotto/AsyncMBus | 6924ef54e2f0190b25c459bec1dd045afc7db78f | d7905bc5dadbc469b952102e3d37dfade851c557 | refs/heads/master | 2016-09-06T03:08:17.224323 | 2013-08-21T23:07:41 | 2013-08-21T23:07:41 | 12,152,962 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,473 | cpp | #include "AsyncMbus.h"
#define TX_OFF LOW
#define TX_ON HIGH
static AsyncMBus *_aMbus = 0;
static void _asyncMBusTimerISR();
static void _asyncMBusPinChangeISR();
static inline int bits(const uint32_t msg);
AsyncMBus::AsyncMBus(int rxPin, int txPin, t_onMessageCb onMessageCb, t_onTxCb onTxCb, t_onFaultCb onFaultCb)... | [
"tim@ubergrund.de"
] | tim@ubergrund.de |
621b16bbe62d9cb66c1776b65c119f5013a3d677 | ad822f849322c5dcad78d609f28259031a96c98e | /SDK/ShuttleMedium_AnimBP_functions.cpp | 8c981eb5415ddc8f7c8b3ee7eaa92739fba402af | [] | no_license | zH4x-SDK/zAstroneer-SDK | 1cdc9c51b60be619202c0258a0dd66bf96898ac4 | 35047f506eaef251a161792fcd2ddd24fe446050 | refs/heads/main | 2023-07-24T08:20:55.346698 | 2021-08-27T13:33:33 | 2021-08-27T13:33:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,891 | cpp |
#include "../SDK.h"
// Name: Astroneer-SDK, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function ShuttleMedi... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
6cbe52dc411154451119a21dd6790f351a5b3ab1 | baa3ee98dbf85da951f78c139434d0564aaa757c | /Tetris/block.cpp | d730b3a15e4ade63249e0d2811ba97783dd90e55 | [] | no_license | tak-taishi/dx-tetris | 1759cf43c744159679333cc3ecef309f5fa3151e | d542102134129121d5990d52cd90525fac3c35a9 | refs/heads/master | 2016-09-05T11:02:13.801129 | 2015-09-28T14:19:29 | 2015-09-28T14:19:29 | 30,456,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | cpp | #include <DxLib.h>
#include "block.h"
#define BLOCK_LENGTH (20)
int block[4][4] = {
{ 0, 0, 0, 0 },
{ 0, 1, 1, 0 },
{ 0, 1, 1, 0 },
{ 0, 0, 0, 0 }
};
int block_offset_x = 0;
int block_offset_y = 0;
int block_left_limit = 0 + BLOCK_LENGTH;
int block_right_limit = 10 * BLOCK_LENGTH;
int block_low_limit = 16 * BL... | [
"tak.taishi@gmai.com"
] | tak.taishi@gmai.com |
51f4aa9c37d9a388d5cd83239dd0d9f230cfd093 | 5a79993b31c18ca8d983559cdbdc67d3ba1e8ada | /Game/Actors/Enemy.cpp | 3ec389ab8a659ccffe56dd7cf625144ca637d757 | [] | no_license | MartinMargolin/CSC196_REAL | 341e417a5e03e7b93a631d8ff4570c1d9bb68383 | b52b167893f4c5901ead7eefe3685f5e6042f8ec | refs/heads/master | 2023-06-22T07:54:37.619462 | 2021-07-20T21:36:25 | 2021-07-20T21:36:25 | 387,919,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | cpp | #include "Enemy.h"
#include "Math/MathUtils.h"
#include "Projectile.h"
#include "Engine.h"
void Enemy::Update(float dt)
{
Actor::Update(dt);
transform.position += nc::Vector2::Rotate(nc::Vector2::down, transform.rotation) * speed * dt;
transform.position.x = nc::Wrap(transform.position.x, 0.0f, 800.0f);
transform... | [
"mmargolin@student.neumont.edu"
] | mmargolin@student.neumont.edu |
19fedeab459a4161613da86161f6525897bcdf22 | b2b2e2952d5ec410fab6167821476efb9705be60 | /PP10/GameObject.h | dcb1ca2b5fa82a661a7b72528f7ab240e10bc62a | [] | no_license | taewhei/PP10 | eec46567196aa13dfc697561ba45bd6edabfbeef | e872adc3c77aec5330708ea91927b0ea977fcf12 | refs/heads/master | 2020-04-01T20:14:45.030692 | 2018-10-18T09:07:04 | 2018-10-18T09:07:04 | 153,595,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | h | #pragma once
#include<SDL.h>
#include<string>
#include"TextureManager.h"
class GameObject
{
public:
virtual void load(int x, int y, int width, int height,
std::string textureID);
virtual void draw(SDL_Renderer* pRenderer);
virtual void update();
virtual void clean();
protected:
std::string m_textureID;
int m_c... | [
"20171270@vision.hoseo.edu"
] | 20171270@vision.hoseo.edu |
44852435f721169513037d921cc505bf9a21ab78 | 8dc31889551a9eaf567fb8af89a81bd615220c7e | /Atcoder/ABC/162/f.cpp | 518e9ff608812608877b0c656fc4a6ac1b8b800f | [] | no_license | mijinko17/competitive-programming | c025cd731a227908f93b150c020a01d144b4358a | 8743ef7f62aadba66c5c2f46bd199e50ce4160da | refs/heads/master | 2020-07-30T07:34:23.255781 | 2020-05-19T15:46:16 | 2020-05-19T15:46:16 | 210,136,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,880 | cpp | #include <bits/stdc++.h>
typedef long long lint;
using namespace std;
// 累積和
struct cumulative_sum {
using lint = long long int;
int sz;
// data[i]:元の数列
vector<lint> data;
// cum[i]:[0,i)の和
vector<lint> sum;
// 要素数を指定して初期化
cumulative_sum(const int _sz) : sz(_sz) {
data.assign(sz... | [
"kougouseikeidansi@gmail.com"
] | kougouseikeidansi@gmail.com |
cef807a984022b5127d514ea7e6d538f64075c4b | 8d4a9e8edf325be26b76e3caf149c681fd5fd746 | /VIUploader/VIUploader.cpp | 7c462b75c191b7fcdbbda477314268640e0b66ef | [] | no_license | eblis/VersionInfo-Uploader | 40d69d74480c254a16bb8630bde19accaa65022f | 5f844050c1d1255e0aebfa0c156ebf68156a25e2 | refs/heads/master | 2021-01-25T13:35:13.914923 | 2018-03-02T14:13:38 | 2018-03-02T14:13:38 | 123,587,380 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,384 | cpp | /*
VersionInfo Uploader plugin for Miranda IM
Copyright © 2007 Cristian Libotean
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 Foundation; either version 2
of the License, or (at your option) any later versio... | [
"cristian.libotean@paddypowerbetfair.com"
] | cristian.libotean@paddypowerbetfair.com |
54e27aca2b6c37ec6c435e15319f5e8838059b99 | 8b03af5fac63f2e207bcd1dd492dbd3cf0dceb04 | /main.cpp | f3951381936810e2a65e10353727cfd0f0a23327 | [] | no_license | anshulbahukhandi/BitVector | 4782ea71d5581f169cf5f0f630b4ddbc05de2379 | d594c75a4fd92ec5db34903e3a38b7ba840dcecc | refs/heads/master | 2021-01-10T13:49:03.956953 | 2016-01-09T04:01:33 | 2016-01-09T04:01:33 | 49,309,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | #include"bitvector.cpp"
#include<iostream>
using namespace std;
int main(int argc , char * argv[])
{
bitVector b1;
b1.resize(32);
b1.setOne(31);
b1.printBits();
return 0;
} | [
"anshulbahukhandi@gmail.com"
] | anshulbahukhandi@gmail.com |
d088fee669a0321370f62def422ee7e6f7178bae | 496240f46cda7d07d28ee475b57025e97ae7f879 | /src/module/Registries.cpp | 3df06b1cc33e575071bd99ae61195202a0b2db12 | [] | no_license | joecharamut/fcw-rpg | f62f0a6d89d647100988454c9693429619b8273b | e598e8e0acc03650b6443856c0725915d616f3d0 | refs/heads/master | 2023-06-05T09:47:21.098785 | 2019-06-28T22:46:44 | 2019-06-28T22:46:44 | 378,156,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | cpp | #include <module/Registries.h>
Registry<ResourceFile *> Registries::resourceFileRegistry;
Registry<Sprite *> Registries::spriteRegistry;
Registry<Object *> Registries::objectRegistry;
Registry<Gui *> Registries::guiRegistry;
Registry<Map *> Registries::mapRegistry;
void Re... | [
"12399761+joecharamut@users.noreply.github.com"
] | 12399761+joecharamut@users.noreply.github.com |
2347d3efae203b3ac81cce8969335dfe026b845a | e1402bc56b5eba90bcdd956a04f5571d89a7d100 | /codechef/kamen.cxx | 4d8b35bda70ddb95b843ac26753ba4e56dd34523 | [] | no_license | markverick/ioi-training | 5dc9248ad394de0272abafb54d52d90c5073fb27 | 57a15aa332a908b6044a8cb90b3c0b660ff13ae4 | refs/heads/master | 2018-12-13T01:28:01.326534 | 2018-10-23T18:26:04 | 2018-10-23T18:26:04 | 148,653,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,513 | cxx | #include<bits/stdc++.h>
#define X first
#define Y second
#define MP make_pair
using namespace std;
char maps[30135][33];
vector<pair<int,int> > v[33];
int main()
{
int i,j,k,r,c,n,a,x,y,anc;
pair<int,int> p;
scanf("%d %d",&r,&c);
for(i=1;i<=r;i++)
scanf("%s",maps[i]+1);
for(i=1;i<=c;i++)
... | [
"sirapop741@gmail.com"
] | sirapop741@gmail.com |
76496cffdd7c7d9b66121e94f2c226d890ca1c34 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_10699.cpp | c9b8bf70a9496b6ca8789a6bfd701e91e2b50090 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | (simple) {
f->coders[i].numInStreams = 1;
f->coders[i].numOutStreams = 1;
} else {
if (parse_7zip_uint64(
a, &(f->coders[i].numInStreams)) < 0)
return (-1);
if (UMAX_ENTRY < f->coders[i].numInStreams)
return (-1);
if (parse_7zip_uint64(
a, &(f->coders[i].numOutStreams)) < 0)
r... | [
"993273596@qq.com"
] | 993273596@qq.com |
41ac39009037203f4c375fdd1a0b66093462215e | fcf03ead74f6dc103ec3b07ffe3bce81c820660d | /Base/IPC/Async/AcceptInput1/AcceptInput1.cpp | 0087d9cfac73c1267f68556951402c2cb8495ac4 | [] | no_license | huellif/symbian-example | 72097c9aec6d45d555a79a30d576dddc04a65a16 | 56f6c5e67a3d37961408fc51188d46d49bddcfdc | refs/heads/master | 2016-09-06T12:49:32.021854 | 2010-10-14T06:31:20 | 2010-10-14T06:31:20 | 38,062,421 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,425 | cpp | // AcceptInput1.cpp
//
// Copyright (C) Symbian Software Ltd 2000-2005. All rights reserved.
// Asynchronous keyboard processing with messenger program.
// A single CKeyMessengerProcessor active object (derived from
// class CActiveConsole) which accepts input from keyboard, but does not
// print it.
// This ... | [
"liuxk99@bdc341c6-17c0-11de-ac9f-1d9250355bca"
] | liuxk99@bdc341c6-17c0-11de-ac9f-1d9250355bca |
7af035aec1ff51d556cd4234a61fd05499818d6f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_old_hunk_1406.cpp | 962ffd9ec2deb7aba61488f46714be5eb4b7a7d8 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 169 | cpp | if(source)
fprintf(stderr, "LIMIT %s:%d %s reached memlimit\n",
source, line, func);
return TRUE; /* RETURN ERROR! */
}
else
| [
"993273596@qq.com"
] | 993273596@qq.com |
ec8b98181b3d9251dd98cb5be1889392e2c1f0d3 | e4d765e5d919c1221888232cf177201ca330df5a | /src/objects/js-duration-format-inl.h | 1d32a600a8fadc21e86ba7840df51654b012ff8f | [
"SunPro",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | v8/v8 | 76d02c4a3ed542ab98118ccdc043b1d9bd1dc3f2 | 25933a97b1c4a4beeabc16da9694e66f37522457 | refs/heads/main | 2023-08-18T19:59:36.949512 | 2023-08-17T11:04:21 | 2023-08-18T19:13:45 | 24,420,506 | 23,260 | 4,890 | NOASSERTION | 2023-08-09T21:57:14 | 2014-09-24T15:24:30 | C++ | UTF-8 | C++ | false | false | 4,211 | h | // Copyright 2022 the V8 project 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 V8_INTL_SUPPORT
#error Internationalization is expected to be enabled.
#endif // V8_INTL_SUPPORT
#ifndef V8_OBJECTS_JS_DURATION_FORMAT_INL_H_
... | [
"v8-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | v8-scoped@luci-project-accounts.iam.gserviceaccount.com |
5ba4359395d8cfeef6d77e18d3dac1cd796cbc1d | dfb7585fb38b5fed5164fd30b4e5c67635b2792c | /esame20150707/main.cpp | 620a49c9ba9e1d3fa561ea117a717d9ff6643b75 | [] | no_license | steelass/SdEM | 43abf8998119bc55a462031cf51d1bc8e3f11e67 | 8531dcea322630072470377f170b4cf5d4fadd3d | refs/heads/master | 2021-01-21T14:17:07.772473 | 2016-07-11T09:22:56 | 2016-07-11T09:22:56 | 58,265,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,997 | cpp | #include "huffman.h"
#include <string>
#include <fstream>
#include <iterator>
#include <iomanip>
#include <iostream>
using namespace std;
class bitreader {
ifstream ∈
uint8_t buf;
uint8_t n = 0;
uint8_t readbit() {
if (n == 0) {
buf = in.get();
n = 8;
}
--n;
return (buf >> n) & 1;
}
public:
... | [
"giacomoresci@gmail.com"
] | giacomoresci@gmail.com |
03cdf411d6de67269bc9fb440136b4d48a1c1d1e | 65e3391b6afbef10ec9429ca4b43a26b5cf480af | /PYTHIA8/pythia8243/include/Pythia8/Pythia.h | e27f493d85b1feed93510d69a33e2d31d401180a | [
"GPL-2.0-only",
"GPL-1.0-or-later"
] | permissive | alisw/AliRoot | c0976f7105ae1e3d107dfe93578f819473b2b83f | d3f86386afbaac9f8b8658da6710eed2bdee977f | refs/heads/master | 2023-08-03T11:15:54.211198 | 2023-07-28T12:39:57 | 2023-07-28T12:39:57 | 53,312,169 | 61 | 299 | BSD-3-Clause | 2023-07-28T13:19:50 | 2016-03-07T09:20:12 | C++ | UTF-8 | C++ | false | false | 17,095 | h | // Pythia.h is a part of the PYTHIA event generator.
// Copyright (C) 2019 Torbjorn Sjostrand.
// PYTHIA is licenced under the GNU GPL v2 or later, see COPYING for details.
// Please respect the MCnet Guidelines, see GUIDELINES for details.
// This file contains the main class for event generation.
// Pythia: provide ... | [
"pzhristov@users.noreply.github.com"
] | pzhristov@users.noreply.github.com |
443142c750e7817369ae314122cf92aeb97e56e5 | 91ba0c0c42b3fcdbc2a7778e4a4684ab1942714b | /Cpp/SDK/BP_FishingFish_Pondie_05_Colour_05_Moonsky_classes.h | 969d4530ac8db95a4300ea615ea89736b722611e | [] | no_license | zH4x/SoT-SDK-2.1.1 | 0f8c1ec3ad8821de82df3f75a0356642b581b8c6 | 35144dfc629aeddf96c1741e9e27e5113a2b1bb3 | refs/heads/main | 2023-05-12T09:03:32.050860 | 2021-06-05T01:54:15 | 2021-06-05T01:54:15 | 373,997,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | h | #pragma once
// Name: SoT, Version: 2.1.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//--------------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
784115a2759f7f6a9fdfe0b4e943c3ea6a36e2a0 | d0a91e125e26c70ae3108a09f8715d6616fd7498 | /Duel/src/Server/GameServer.hpp | e3d1dc905d974e8918969111c22dcfedc2a75ad8 | [] | no_license | minexew/StormGraph | cdf7353624987c6d2075af97e282e1640f796279 | dd8cb62de26f0fd6081b135a4385b1f47bbac4c8 | refs/heads/master | 2023-08-17T00:09:53.141166 | 2023-08-04T19:59:07 | 2023-08-04T19:59:07 | 73,623,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,979 | hpp | /*
Copyright (c) 2011 Xeatheran Minexew
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including... | [
"minexew@gmail.com"
] | minexew@gmail.com |
73d04d45fe03af16563e93898f47f3e661fd867d | fe91ffa11707887e4cdddde8f386a8c8e724aa58 | /chrome/browser/data_saver/subresource_redirect_browsertest.cc | 1791651b7ec6af57525b015ecf798c0672ea3949 | [
"BSD-3-Clause"
] | permissive | akshaymarch7/chromium | 78baac2b45526031846ccbaeca96c639d1d60ace | d273c844a313b1e527dec0d59ce70c95fd2bd458 | refs/heads/master | 2023-02-26T23:48:03.686055 | 2020-04-15T01:20:07 | 2020-04-15T01:20:07 | 255,778,651 | 2 | 1 | BSD-3-Clause | 2020-04-15T02:04:56 | 2020-04-15T02:04:55 | null | UTF-8 | C++ | false | false | 47,646 | cc | // Copyright 2019 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/path_service.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/test/metrics/histogram_tester.h"
#include "build/bui... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a404b46db562698a6aadfcbdb27829899478cbbe | bdc532367175c4d4a62bdd7a9703bbb581ed53ae | /StaticOptimization2.cpp | 3e553c3c900db9c4d412754667c1fc3570ecfde9 | [] | no_license | uwabilitylab/osimsynergyplugin | 49922417cde26b9f139d7318f827ef711572e855 | 463fe463f111275922d18f08da63a0ae7b4512e1 | refs/heads/master | 2020-04-10T19:36:01.197926 | 2018-12-13T18:52:04 | 2018-12-13T18:52:04 | 161,241,054 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 31,427 | cpp | /* -------------------------------------------------------------------------- *
* OpenSim: StaticOptimization2.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *... | [
"nick@meanfreepath.com"
] | nick@meanfreepath.com |
a49bc1d7002ebd5138568828f2c0b1282a41b66c | 3619d0424621eedfa5c10131e744aba724e6d716 | /StoChemSimSequential/common/inputVerifier.h | 1538716019240c6989525fdb0f8a41b2406856ec | [
"MIT"
] | permissive | jaxondl/StoChemSim | e3f82898c1fa37218aa955184eaee3382aff6814 | 6efb890620c4029727e00101a58e8ab3bf00ebdf | refs/heads/master | 2023-04-20T05:05:31.634901 | 2021-05-07T22:02:17 | 2021-05-07T22:02:17 | 299,811,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | h | #ifndef INPUTVERIFIER_H
#define INPUTVERIFIER_H
#include <string>
#include <iostream>
#include <fstream>
using namespace std;
class inputVerifier {
public:
bool verifyFile(string iFile);
string chopOffComments(string line);
bool checkReactionSlice(string reactionSlice, int lineNumber, bool errorExists, ... | [
"Isaac.Lee@utexas.edu"
] | Isaac.Lee@utexas.edu |
c103c95b276b2863bd5025906d21b19e3a7a132f | 62b62f4c8baa51fb3800b6ca397d9a4a4784e3fd | /TycheCash/src/HTTP/HttpResponse.cpp | 12f436d59bc42abd88f7f08bdda5b8b62957027b | [] | no_license | blockchain-next/QtGUI-Wallet-TycheCash | ce344038c3b3a6c845b6353aa6e73cbe48a70da4 | 4fd2ccb9729c1e7377c8b1331a7d86d1144d1534 | refs/heads/master | 2020-03-29T21:49:56.631543 | 2018-09-26T07:58:25 | 2018-09-26T07:58:25 | 150,389,992 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,116 | cpp | // Copyright (c) 2017-2018 The TycheCash developers ; Originally forked from Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "HttpRespons... | [
"tychecoin@gmail.com"
] | tychecoin@gmail.com |
b1aaa4d5127fc3b203c8d5abe7c794089638285f | d3667989cbfef8941e11bd445c0573dd91454883 | /stepik/strings/task7.cpp | 7be598c770f362a6e306689c1e0f9360f494a678 | [] | no_license | djeriko/cpp_algoritms_and_data_structures | 6cb98849378e62b075ff91c47f20c33c584b4376 | 72b0baedca697b75fa588c3370544694d3716540 | refs/heads/master | 2021-06-10T19:16:26.854482 | 2020-07-22T15:19:08 | 2020-07-22T15:19:08 | 254,341,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
string s;
getline(cin, s);
int countPoint = 0;
string number = "";
for (auto c : s)
{
// Check to number
if ((c < '0' || c > '9') && c != '.')
{
cout << "NO";
return 0;
}
// Count points and write numbe... | [
"jerikosalivan@gmail.com"
] | jerikosalivan@gmail.com |
0a994ede1345c6ebb2786e2d9e6a1150461a9ff0 | 540caabe83af65d221fecf4fd4cebe17412ea37d | /libEngine/CPreprocessor.h | 5e3f1d2e7eddcc184a00c9a0cd3122b1b998a37d | [] | no_license | rodrigobmg/GameProject | 939b54d1455bb1ece555a3a9e377216ca7a69c78 | 80c7df303406e72ea2794e323f027f8fb83c6162 | refs/heads/master | 2020-04-27T19:33:45.861972 | 2019-03-02T09:54:46 | 2019-03-02T09:54:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,488 | h | #pragma once
#ifndef CPreprocessor_H_09DCE0C0_9F70_44E8_A8B4_1C2DF2BC8685
#define CPreprocessor_H_09DCE0C0_9F70_44E8_A8B4_1C2DF2BC8685
#include "StringParse.h"
#include <vector>
#include <set>
#include <map>
#include <string>
#include <ostream>
namespace CPP
{
class CodeOutput
{
public:
CodeOutput(std::ostream&... | [
"HiggsLin@gmail.com"
] | HiggsLin@gmail.com |
293294c9bfa5b0ab15836ed6eac9afb31fdf10f9 | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /released_plugins/v3d_plugins/bigneuron_siqi_stalker_v3d/lib/ITK_include/itkFEMElement3DC0LinearHexahedron.h | cc984735a01da6753041a01de465562a748bafa7 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 4,209 | h | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | [
"sliu4512@uni.sydney.edu.au"
] | sliu4512@uni.sydney.edu.au |
d730241a3c8a7ea4662a7b167a1ea9122e3c642f | 9d0c610dc9f4b646b13b7221230132e96d5c9ab0 | /acordes_intergalaticos2.cpp | 789da7b0a30c8acf99f6b50f8e62f42315c6fa3f | [] | no_license | uni-assignments/Competitive-Programming | cb6e947c4d16748960c177eb1e5d94266fe675fa | f574a3155b10ac28ba0abce980022c845a81d5cb | refs/heads/master | 2023-08-22T19:34:26.800426 | 2021-09-07T21:21:12 | 2021-09-07T21:21:12 | 372,088,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,024 | cpp | #include <bits/stdc++.h>
using namespace std;
#define _ ios_base::sync_with_stdio(0);cin.tie(0);
#define ll long long
const int MAX = 1e5+10;
int n, q;
vector<vector<int>> seg(4*MAX, vector<int>(9, 0));
vector<int> keys(4*MAX, 1);
vector<int> zeros(9, 0);
vector<int> combina(vector<int> a, vector<i... | [
"ritarezborges@gmail.com"
] | ritarezborges@gmail.com |
b5d3cbbd8a6f5cf5cd6e4030ae81080c76d0d81b | 349d920059c0cfff0ac4cfc53ddc2fa14ec063c8 | /besttimetobuyandsellstockii.cpp | 7773357e0c1ebd564a8e482e2eb3fc0064b39f6f | [] | no_license | eqy/pyramid | b8809aa5da065e413974d0c0e774853f6ae478ff | b4ab61caee32295e26b2196eb63f44c778126caa | refs/heads/master | 2023-02-09T08:38:21.304461 | 2021-01-04T00:22:20 | 2021-01-04T00:22:20 | 254,609,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | class Solution {
public:
int maxProfit(vector<int>& prices) {
int total_profit = 0;
const int len = prices.size();
if (!len) {
return total_profit;
}
int buy = prices[0];
int prev_profit = 0;
for (int i = 0; i < len; i++) {
const int cu... | [
"Loser777@gmail.com"
] | Loser777@gmail.com |
8b669daef410db327d7e2cddee78965c5cd985fc | f95975d9454984803586de7f0600f3ecf9918f60 | /lang_service/java/com/intel/daal/algorithms/optimization_solver/sum_of_functions/input.cpp | 53dd74c571da1292f1e38db1e6fd3878453a466e | [
"Intel",
"Apache-2.0"
] | permissive | jjuribe/daal | f4e05656ca5f01e56debdbd2de51eeb2f506ca3d | 242d358db584dd4c9c65826b345fe63313ff8f2a | refs/heads/master | 2020-09-15T01:33:34.752543 | 2019-11-21T08:27:26 | 2019-11-21T08:27:26 | 223,316,648 | 0 | 0 | Apache-2.0 | 2019-11-22T03:33:41 | 2019-11-22T03:33:39 | null | UTF-8 | C++ | false | false | 3,158 | cpp | /* file: input.cpp */
/*******************************************************************************
* Copyright 2014-2019 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
... | [
"nikolay.a.petrov@intel.com"
] | nikolay.a.petrov@intel.com |
9a35babad89cef0c9aa6aae218dc9006005848d1 | 9e12e31debbdf2b5663c74e16e06ee2b7be6f345 | /NetworkPipe/NetworkPipe.cpp | c9b7fec782b4a68a2a3c0db4e5777a3e5818d09e | [] | no_license | Demolishun/NetworkPipeOBSE | 11bf0a8b7bfbcc8ff855061a24cd9115d6320e26 | b70811ea033a0362022677b87dbf1a9be1daf6bf | refs/heads/master | 2020-06-20T19:54:17.054423 | 2019-07-16T16:33:36 | 2019-07-16T16:33:36 | 197,228,911 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,428 | cpp | #include "NetworkPipe.h"
const OBSEInterface * g_Interface = NULL;
OBSEScriptInterface * g_scriptInterface = NULL; // make sure you assign to this
IDebugLog gLog("obse_network_pipe.log");
PluginHandle g_pluginHandle = kPluginHandle_Invalid;
OBSESerializationInterface * g_serialization = NULL;
OBSEArrayV... | [
"Demolishun@c4f3e375-280e-4be0-8fe8-783b3fd976b5"
] | Demolishun@c4f3e375-280e-4be0-8fe8-783b3fd976b5 |
3de03aa329755c5d4c7388f0fb380454949784db | 4b4674d344e039184a778fc5719b7fcb92534ba5 | /Viewer JDS Creator/GameMonopoly.cpp | 1eeab0acea96a8eb768a59b4ccf9416638a7c4e9 | [] | no_license | Keride/JDS-Creator | 7800d1cb03f79ee4dd4c58af38f46490ce53c769 | 689fd9b63a471147dcb002fa5485b7469f8b0c06 | refs/heads/master | 2021-01-12T17:44:11.911680 | 2017-01-22T21:00:06 | 2017-01-22T21:00:06 | 71,633,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,611 | cpp | #include "GameMonopoly.h"
#include "Bouton.h"
GameMonopoly::GameMonopoly() {};
void GameMonopoly::initZones() {
float x = 1.0f;
float z = -1.0f;
float sizeX = 0.25f;
float sizeZ = 0.25f;
//-------
cases.push_back(new Case(new Zone(glm::vec3(x, 0.0f, z), glm::vec3(x - sizeX, 0.0f, z), glm::vec3(x - sizeX, 0.0f, ... | [
"kevin.colombier2@gmail.com"
] | kevin.colombier2@gmail.com |
7a1341e5f8dca9900e408ab5c4c4b84922ee5a1f | 8ae31e5db1f7c25b6ce1c708655ab55c15dde14e | /比赛/学校/2019-11-8测试/source/PC33_mjc/9.cpp | a20b2caac484accc06ad7963cfdb1ee663d07ffb | [] | no_license | LeverImmy/Codes | 99786afd826ae786b5024a3a73c8f92af09aae5d | ca28e61f55977e5b45d6731bc993c66e09f716a3 | refs/heads/master | 2020-09-03T13:00:29.025752 | 2019-12-16T12:11:23 | 2019-12-16T12:11:23 | 219,466,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cpp | #include<bits/stdc++.h>
using namespace std;
priority_queue<int > pq;
int n;
int main(){
freopen("9.in","r",stdin);
freopen("9.out","w",stdout);
scanf("%d",&n);
for(int i=1;i<=n;i++){
int op;
scanf("%d",&op);
if(op==1){
int x;
scanf("%d",&x);
pq.push(x);
}
else{
int u=pq.top();
printf("%d\n... | [
"506503360@qq.com"
] | 506503360@qq.com |
ba4127f8d39efac0d7964766afc593e9abd8d238 | 0f7a4119185aff6f48907e8a5b2666d91a47c56b | /sstd_utility/windows_boost/boost/type_traits/remove_volatile.hpp | f4c6a7a1a2a1befa7d92a2bbf35514ccf51e99cb | [] | no_license | jixhua/QQmlQuickBook | 6636c77e9553a86f09cd59a2e89a83eaa9f153b6 | 782799ec3426291be0b0a2e37dc3e209006f0415 | refs/heads/master | 2021-09-28T13:02:48.880908 | 2018-11-17T10:43:47 | 2018-11-17T10:43:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,399 | hpp |
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard
// Hinnant & John Maddock 2000.
// Use, modification and distribution are subject to 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).
//
// See http://www.bo... | [
"nanguazhude@vip.qq.com"
] | nanguazhude@vip.qq.com |
686fa8137449bfb3692629aba6f137eccfae50f6 | fca22e8e83e1026ae09cec9194a43e3f883c44cb | /ui/base/gestures/gesture_point.h | 8ef28d69ae656c812ba9bbbd6295acc4b6444bb5 | [
"BSD-3-Clause"
] | permissive | Chingliu/WTL-DUI | 409a1001f3b8a9b3ab86c51adeb128f27d0439cd | 232638c56378a8b2e621e8403be939d34d3c91a0 | refs/heads/master | 2021-01-15T14:24:00.135731 | 2013-08-14T08:00:20 | 2013-08-14T08:00:20 | 14,512,988 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,498 | h | // 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.
#ifndef UI_BASE_GESTURES_GESTURE_POINT_H_
#define UI_BASE_GESTURES_GESTURE_POINT_H_
#pragma once
#include "base/basictypes.h"
#include "ui/base/gestu... | [
"xshellinit@qq.com"
] | xshellinit@qq.com |
76525f92653153b5042dbec5527a127965fd143c | 179f76cf2ba4bb12e0709c4ecfebf56b426447cb | /HW1c/HW1a/perlin.h | 6da9dbbfddb64465661d4c3009bd738a59eb3f2c | [] | no_license | katzeforest/Computer-Graphics | f83844886ddf7e81a4503bd0ff2ae5c851fcca9a | b69c84e8106615fc7e5ce97ddfa2ffdf97a15f1e | refs/heads/master | 2021-01-15T17:45:42.045496 | 2015-06-08T21:23:15 | 2015-06-08T21:23:15 | 37,092,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,279 | h | //added the function that lets you actually get 3 dimensional noise - Cory Boatright
#ifndef PERLIN_H_
#define PERLIN_H_
#include <stdlib.h>
#include "Vector.h"
#define SAMPLE_SIZE 1024
class Perlin {
public:
Perlin(int octaves,float freq,float amp,int seed);
float Get(float x,float y) {
float vec[2];
... | [
"sonyang@seas.upenn.edu"
] | sonyang@seas.upenn.edu |
e410fcaecfc65a679af94d853a6a9fe390159fb8 | 2a9213024770a6c6c6b305bf3cf45f44e6398d47 | /caf/libcaf_core/caf/parser_state.hpp | 35d1893d18f8b001a8eb4cc328d98abd2a69904f | [
"Unlicense"
] | permissive | wissunpower/WeizenbierGame | 195d36e7a32485dc76f06c2b0d5c11ee6d5b4a60 | 34f027c43055dfa6b05e62ca0b6c31271af013f3 | refs/heads/main | 2023-08-06T06:44:36.240176 | 2021-09-29T07:34:29 | 2021-09-29T07:34:29 | 390,057,582 | 0 | 0 | Unlicense | 2021-09-26T16:22:57 | 2021-07-27T16:43:06 | C++ | UTF-8 | C++ | false | false | 3,524 | hpp | // This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#pragma once
#include <cctype>
#include <cstdint>
#include "caf/fwd.hpp"
#include "caf/p... | [
"30381759+wissunpower@users.noreply.github.com"
] | 30381759+wissunpower@users.noreply.github.com |
aa267699431fc0c9ed8938fd90196a36690451e2 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/net/tapi/skywalker/filters/video/tapivcap/cpucp.cpp | 8c765f23a738a5b98f5e6a781e5b5f716c0378a7 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 28,994 | cpp |
/****************************************************************************
* @doc INTERNAL CPUCP
*
* @module CPUCP.cpp | Source ile for the <c CCPUCProperty>
* class used to implement a property page to test the new TAPI internal
* interface <i ICPUControl>.
*
* @comm This code tests the TAP... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
ec018778582e125778c15e9601e36dcf361fee2e | dcf517b234dcddbcbd7b4cc99152cb9c0ead0941 | /cxm1500ge-scd30/examples/send_payload_SCD30/send_payload_SCD30.ino | 464fb604f4b6bd02284f19a7ebf9048611d8736a | [] | no_license | sahabatsatwa/SCD30Mega | 07056a5c00e77537e4b2d1a5ecd10a569dfcf238 | 87ec7b567927ef6c0fe27aed2a43e28ecf808986 | refs/heads/master | 2023-06-10T17:56:48.975532 | 2021-06-23T04:36:08 | 2021-06-23T04:36:08 | 375,637,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,558 | ino |
/*
* this program sample is using CXM1500GE LPWA IC library with Arduino ATmega2560
* the library is using pin D9, D12, D18, D19. Do not reuse them.
* this example is using library version 0.2
*/
#include "cxm1500geInterface.h"
#include <stdio.h>
#include "generatePayload_scd30.h"
#include <Adafruit_SCD3... | [
"mgprabowo@student.telkomuniversity.ac.id"
] | mgprabowo@student.telkomuniversity.ac.id |
ab74b8b1053e29bd9b7ad98e51ddeec90d9db237 | db0761d6fc262fb3760695f6ed4fae7c9605980a | /IOCP/TcpServer/InetAddress.h | 41b64fce7d5b62e2f2e6e8cc23a470e788186866 | [] | no_license | lxq2537664558/project | 1e6d9cfb7f13c575ce615a0c14e521f782210f94 | be8c681c45ae435e823a5dcd3b4a18bb77ea41fb | refs/heads/master | 2020-03-23T21:17:25.018513 | 2016-11-07T16:14:17 | 2016-11-07T16:14:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 988 | h | #pragma once
#include <stdint.h>
#include <string>
#include "Net.h"
#include "Sock.h"
class InetAddress
{
public:
InetAddress(){}
InetAddress(std::string ip, uint16_t port)
{
memset(&m_addr, 0, sizeof(m_addr));
m_addr.sin_family = AF_INET;
m_addr.sin_addr.s_addr = Sock::HostToNetwork32(ip);
m_add... | [
"410017376@qq.com"
] | 410017376@qq.com |
3ef632c440d0682d6c7042c88a7aff683e9c0872 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp | 9662994473fb0520d8f6bd9ae2ac2327ec599ed7 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 4,864 | cpp | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "platform/WebTaskRunner.h"
#include "platform/scheduler/test/fake_web_task_runner.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace b... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
b23120665b83f4bb7830dba0251bcc628ad1d015 | 8b2028d77adbb1ba4d5f7bf43234b56fb4809e1c | /Win32TestSolution/volume/test.cpp | 3c5fab90dc7ebb84a265aa5b9ac1b6455dceb949 | [] | no_license | yedaoq/YedaoqTestSpace | add8cf62968d749adb688450c6d9140c43709d15 | 391725687477492be40f7b8ef9509b8a93bd44c8 | refs/heads/master | 2021-01-18T21:39:35.025010 | 2017-07-19T07:03:46 | 2017-07-19T07:03:46 | 4,998,083 | 2 | 2 | null | null | null | null | GB18030 | C++ | false | false | 2,498 | cpp |
bool GetVolumeControl(HMIXER hmixer ,long componentType,long ctrlType,MIXERCONTROL* mxc)
{
MIXERLINECONTROLS mxlc;
MIXERLINE mxl;
mxl.cbStruct = sizeof(mxl);
mxl.dwComponentType = componentType;
if(!mixerGetLineInfo((HMIXEROBJ)hmixer, &mxl, MIXER_GETLINEINFOF_COMPONENTTYPE))
{
mxlc.cbStruct = sizeof(mxlc);
... | [
"yedaoq@gmail.com"
] | yedaoq@gmail.com |
b5864d9ae49be8b713eb5a5de700e152aad1c82d | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /2017-2021/2017/codefestival/tournament/e3_b.cpp | bb8f4b5e15cbaf8e2cda177ab2dd568e015d3dd6 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 1,620 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
a5017df0191d4abcfe55d8f49f72f8f934ddc43d | cbc4ea886696c52eae4377775fefc4d103928362 | /lab14/lab14/Q1 main .cpp | 4df918f1b2043a1f1f825e537fffaabd75a259ce | [] | no_license | AzamAzam/OOPLabsAssignments | 22598c2ab9eded6861db5df2161d23d1071c3107 | 849e5fddc1a19b134842ac87c111ff95323df766 | refs/heads/master | 2020-03-23T18:03:25.116054 | 2018-06-17T12:11:04 | 2018-06-17T12:11:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | cpp | //#include <iostream>
//#include"DateTime.h"
//using namespace std;
//int main()
//{
// int d, m, y, h, min, s;
// cout << "ENter Day : ";
// do {
// cin >> d;
// cout << endl;
// } while (d<1||d>31);
//
// cout << "ENter Month : ";
// do {
// cin >> m;
// cout << endl;
// } while (m<1 || m>12);
//
// cout << "EN... | [
"hafizmuhamadazam@gmail.com"
] | hafizmuhamadazam@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.