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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
01a7ab9e10fef3cc1c08332c7e33107024081637 | 832ab919748632d0bad116c4a7d9c1de970ece0d | /SetHunterA1/CollisionDetector.cpp | 62145ba5131865f4c257cc385b1f359883c945b5 | [] | no_license | mayesi/sethunter | 1e9d11a946318dbc5c5620e7b97c0cb3a122b2e3 | 263c6220a705c5a640cc54464e2953c8a31460f8 | refs/heads/master | 2020-04-23T03:55:31.752931 | 2019-04-12T19:05:49 | 2019-04-12T19:05:49 | 170,892,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include "CollisionDetector.h"
CollisionDetector::CollisionDetector()
{
}
CollisionDetector::~CollisionDetector()
{
}
// True - collision detected
bool CollisionDetector::CollisionCheck(HitBox box1, HitBox box2)
{
return (box1.upperx < box2.lowerx &&
box1.lowerx > box2.upperx &&
box1.uppery < box2.lowery &&
... | [
"maye.saechao@gmail.com"
] | maye.saechao@gmail.com |
b9632644721ea13fa2618f0fd4fe702867bc901b | 3f8b288711bb5adc2394171507f54c62dc60c601 | /ari/schedule.cpp | 5bbacb4b4fc6d6aa0ce3c4fe49d4142d145e49e9 | [] | no_license | pontsuyo/procon | 65df6356f0ea1cfb619898d9e8cc6e326c0586e7 | 804aaeb526946172a8f41e0619712f5989b6b613 | refs/heads/master | 2021-06-15T15:13:04.441761 | 2021-03-20T05:26:54 | 2021-03-20T05:26:54 | 175,234,672 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,n) for(int i=0;i<n;i++)
const int MAX_N = 100000;
int N, S[MAX_N], T[MAX_N];
pair<int, int> itv[MAX_N];
void solve(){
rep(i, N){
itv[i].first = T[i];
itv[i].second = S[i];
}
sort(itv, itv+N);
int ans=0, ... | [
"tsuyopon9221@gmail.com"
] | tsuyopon9221@gmail.com |
c740eab1c4f8850ceaebb5f245e85fa4726fe2bb | eae39e688a55ae5359ee374d24980fee6b88c1a6 | /app/src/main/cpp/rtmp_pusher.cpp | fbad70b708816359e4282d46203a532e4f278636 | [] | no_license | AnJoiner/X264Cmake | 2380c763f128ef6884de9f2c2bbd843a860fa51f | 907bba0098db84dc51174b8be0505d06ced04324 | refs/heads/main | 2023-06-13T00:47:33.300557 | 2021-07-10T10:07:58 | 2021-07-10T10:07:58 | 356,831,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,699 | cpp | //
// Created by c2yu on 2021/5/10.
//
#include "android/log.h"
extern "C" {
#include "jni.h"
#include "rtmp_core.h"
}
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG , "rtmp-pusher", __VA_ARGS__)
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO , "rtmp-pusher", __VA_ARGS__)
#define LOGE(...) __andro... | [
"anjoiner@163.com"
] | anjoiner@163.com |
a3b605cdcd9ee24248f275916c1bdc1aea9b89fb | 67662fce6ea9265d5b413b26b1dc66e898afe35b | /motoman_driver/include/motoman_driver/simple_message/motoman_read_single_io.h | ab5cc40a7837b715d0a30f7ce350f4a008bbfb63 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | gavanderhoorn/motoman | 71194335d4a08b662148bd41e0566da90f3f08c7 | 63e624215180110474e0d89289f7434eb961d3b0 | refs/heads/kinetic-devel | 2023-07-07T21:14:16.399614 | 2023-03-21T12:15:18 | 2023-03-21T12:15:18 | 15,493,825 | 2 | 8 | null | 2020-10-22T19:30:23 | 2013-12-28T14:46:31 | C++ | UTF-8 | C++ | false | false | 4,364 | h | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2016, Delft Robotics Institute
* 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 r... | [
"dan.ambrosio@gmail.com"
] | dan.ambrosio@gmail.com |
cf7f3835902f6018c5342540e804d9f352fa44b0 | 83bd35233ed87ac36a61e1b32e26c4e3af41cd4d | /Graphics/004_line_intersection.CPP | 412874d2e2a57ca98c6224f0e10844d753a9d3ec | [] | no_license | KamalDGRT/TurboCPP | c7c89afbba6d0695bdf0f2074529a2c48ec4827a | e326ca2948dbec77e8d2a5ac13543e79b6046557 | refs/heads/master | 2020-12-03T18:59:18.760753 | 2020-09-24T18:19:33 | 2020-09-24T18:19:33 | 231,441,492 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,181 | cpp | #include<stdio.h>
#include<math.h>
#include<graphics.h>
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float m1,c1,m2,c2,x1,y1,x2,y2,dx,dy,X_Intersection,Y_Intersection;
int gd=DETECT,gm;
initgraph(&gd,&gm,"");
cout<<"Program to find the intersecting point of two lines\n";
cout<<"Enter Line 1 X1 ... | [
"kamaldgrt@gmail.com"
] | kamaldgrt@gmail.com |
e567f96489f66fe5ecf22b75c226d58e2758eacc | 972cbb6a65ab3347ec0b1f08b6f3003d75186f43 | /Chapter03/colordetector.cpp | 1425a372b697713e7bda13bc0d61a63b406f8c2d | [
"MIT"
] | permissive | PacktPublishing/OpenCV3-Computer-Vision-Application-Programming-Cookbook-Third-Edition | e37f0f8d8725578f460a4e08cdc4cad662882bd6 | 2f3a251612b2879f00819f7f57009b9121ff89ab | refs/heads/master | 2023-02-03T20:35:50.202816 | 2023-01-30T08:05:22 | 2023-01-30T08:05:22 | 81,076,786 | 221 | 131 | MIT | 2022-08-02T03:40:05 | 2017-02-06T10:42:01 | C++ | UTF-8 | C++ | false | false | 2,089 | cpp | /*------------------------------------------------------------------------------------------*\
This file contains material supporting chapter 3 of the book:
OpenCV3 Computer Vision Application Programming Cookbook
Third Edition
by Robert Laganiere, Packt Publishing, 2016.
This program is free software; permission is h... | [
"subhalaxmin@packtpub.com"
] | subhalaxmin@packtpub.com |
11c585171579c70119796cc72c9455d5dfe2dbb5 | ceeddddcf3e99e909c4af5ff2b9fad4a8ecaeb2a | /tags/release-1.1/source/Irrlicht/IImagePresenter.h | f822f594eba2dbc7b83fb20df59537e90304289e | [
"Zlib",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jivibounty/irrlicht | d9d6993bd0aee00dce2397a887b7f547ade74fbb | c5c80cde40b6d14fe5661440638d36a16b41d7ab | refs/heads/master | 2021-01-18T02:56:08.844268 | 2015-07-21T08:02:25 | 2015-07-21T08:02:25 | 39,405,895 | 0 | 0 | null | 2015-07-20T20:07:06 | 2015-07-20T20:07:06 | null | UTF-8 | C++ | false | false | 798 | h | // Copyright (C) 2002-2006 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_IMAGE_PRESENTER_H_INCLUDED__
#define __I_IMAGE_PRESENTER_H_INCLUDED__
#include "IImage.h"
namespace irr
{
namespace video
... | [
"hybrid@dfc29bdd-3216-0410-991c-e03cc46cb475"
] | hybrid@dfc29bdd-3216-0410-991c-e03cc46cb475 |
dab4155c9627a64b354d211cd5b348ff02146913 | 482c0df0db19446f3f3c68705b366777c9795bb4 | /test/unittest/compiler/unittest_interpreter.cpp | ee4f3c5247c3be7902c77f543ef9aacdd1d3caff | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | priyankmohanverma/nntrainer | dc5efa1aabe3fddbec4485b56059a495550f6787 | 0c82b2f21d2587dce0a18afa35fbc8d59c23adcd | refs/heads/main | 2023-08-29T04:14:56.297226 | 2021-10-14T17:07:03 | 2021-10-18T04:28:55 | 408,322,547 | 0 | 0 | Apache-2.0 | 2021-09-23T12:14:42 | 2021-09-20T05:35:59 | C++ | UTF-8 | C++ | false | false | 6,530 | cpp | // SPDX-License-Identifier: Apache-2.0
/**
* Copyright (C) 2021 Jihoon Lee <jhoon.it.lee@samsung.com>
*
* @file unittest_interpreter.cpp
* @date 02 April 2021
* @brief interpreter test
* @see https://github.com/nnstreamer/nntrainer
* @author Jihoon Lee <jhoon.it.lee@samsung.com>
* @bug No known bugs except for ... | [
"jijoong.moon@samsung.com"
] | jijoong.moon@samsung.com |
f45972a6712be8f86cd0b4a5a2fc1b6579e1ba53 | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/shell/themes/themeui/thscheme.h | db3d60cedfa06972a8c53a7bc70b0b7e3dea2636 | [] | no_license | proaholic/Win2K3 | e5e17b2262f8a2e9590d3fd7a201da19771eb132 | 572f0250d5825e7b80920b6610c22c5b9baaa3aa | refs/heads/master | 2023-07-09T06:15:54.474432 | 2021-08-11T09:09:14 | 2021-08-11T09:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,046 | h | /*****************************************************************************\
FILE: thScheme.h
DESCRIPTION:
This is the Autmation Object to theme scheme object. This one will be
a skin.
BryanSt 5/9/2000 (Bryan Starbuck)
Copyright (C) Microsoft Corp 2000-2000. All rights reserved.
\*****... | [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
bcec913585aa7aff2ac4c3751333ba2190154001 | bb97dfe96fdaa550058b28248d1f414bf4ff809d | /Except/Except/Myexceptions.h | 43690918a7c6124e54d1fffbed9a3a47fadc089b | [] | no_license | Anat37/cpl_2018 | 65fdc81816e085a041c38aeab411965fa9f6bca5 | 8a02d246db272d27f24c7c7e614fdbddfc2a15cf | refs/heads/master | 2021-04-05T23:47:21.220862 | 2018-05-01T11:01:34 | 2018-05-01T11:01:34 | 124,889,081 | 0 | 0 | null | 2018-05-09T21:40:34 | 2018-03-12T12:55:31 | C++ | UTF-8 | C++ | false | false | 1,290 | h | #pragma once
#include<vector>
#include<setjmp.h>
#include <iostream>
class BaseObject {
public:
BaseObject();
virtual ~BaseObject();
};
class BaseException {
public:
virtual ~BaseException() {};
};
extern std::vector<jmp_buf*> envs;
extern std::vector<BaseObject*> stackObjects;
extern std::vector<int> tries;
ext... | [
"kozlof9@yandex.ru"
] | kozlof9@yandex.ru |
f70d8ed14eaac9d9f9874344a9368f5090b5fcad | 97ae532fd3b838ef80917a4a64e09e1167781911 | /plugins/gui/src/widgets/MinimalPopUp.h | 02f42352fd234477ce61db6524f1ade6a07abf54 | [] | no_license | aiosin/megamol | 88417a47b24b238131cf82548f9ed8a6e93fb658 | 9f0331272203d73d6cc2b4136ff316c1862249f5 | refs/heads/master | 2022-12-19T23:03:17.854986 | 2020-08-14T13:21:41 | 2020-08-14T13:21:41 | 288,465,958 | 0 | 0 | null | 2020-08-18T13:37:34 | 2020-08-18T13:37:34 | null | UTF-8 | C++ | false | false | 705 | h | /*
* MinimalPopUp.h
*
* Copyright (C) 2019 by Universitaet Stuttgart (VIS).
* Alle Rechte vorbehalten.
*/
#ifndef MEGAMOL_GUI_MINIMALPOPUP_INCLUDED
#define MEGAMOL_GUI_MINIMALPOPUP_INCLUDED
#include "GUIUtils.h"
namespace megamol {
namespace gui {
/**
* String search widget.
*/
class MinimalPopUp {
public... | [
"matthias.braun@visus.uni-stuttgart.de"
] | matthias.braun@visus.uni-stuttgart.de |
8f40468fc32d2536eb7a3f03f63699b77284d107 | 3981346b574bfa72ca68350835c3bc6c7e8936e5 | /OpenMesh-6.3/src/OpenMesh/Apps/ClothSimulation/Particle.h | 8db9c799947ee5be41090b80b06f25681c2a2fa9 | [
"BSD-3-Clause"
] | permissive | humberthumbert/drape | 98ee73e930bec5148bd90720fef919b04df159d8 | 90515d04baa8ec016af04130f19e4e92708997f5 | refs/heads/master | 2021-05-01T13:19:50.453833 | 2018-03-22T20:17:14 | 2018-03-22T20:17:14 | 121,075,716 | 0 | 0 | null | 2018-02-22T22:37:02 | 2018-02-11T02:30:50 | C++ | UTF-8 | C++ | false | false | 2,082 | h | #ifndef PARTICLE_H
#define PARTICLE_H
#include "GlobalTypes.h"
#include "Vector.h"
// -------------------- STL
#include <functional>
// -------------------- OpenMesh
//#include <OpenMesh/Core/Geometry/VectorT.hh>
class Particle
{
private:
bool m_active;
bool m_movable;
float m_mass;
//MyMesh::VertexIter v_it; /... | [
"lemonloic@gmail.com"
] | lemonloic@gmail.com |
115774102baedf75540fa08703b415bd94a47ee5 | 8ed4f41e2db7c11ddfe3ae5569f5a1f0fb145dd7 | /ScaleVeiw/3DScreen.cpp | c777837c2b4320cee7e425d6bfb017c164a2c1aa | [
"MIT"
] | permissive | hillelskolnik/TabsFrame | 4299c2ab3a691a3bf9b82945947da207b02b73e4 | 58115e2eb4a156f21596e608d4ce516b1e8f4420 | refs/heads/master | 2020-05-29T21:44:45.788823 | 2019-05-30T10:52:19 | 2019-05-30T10:52:19 | 189,389,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,595 | cpp | //#include "3DScreen.h"
//#include "3DScreen.h"
//#include "3DScreen.h"
//#include "3DScreen.h"
//#include "3DScreen.h"
#include "stdafx.h"
#include "ScaleVeiw.h"
#include ".\3dscreen.h"
//#include "DEFF.H"
C3DScreen::C3DScreen(void)
: m_edgeLeft(0)
, m_edgeTop(0)
, m_edgeReight(0)
, m_edgeBottom(0)
... | [
"hillelskolnik@gmail.com"
] | hillelskolnik@gmail.com |
2a1519efd7787b652aee64f6bd6f74c5587911e6 | 3b1d08997d0dc9c444f2bdaaab55a8606c60d332 | /IOCMain/BestWrap/BT3Debug.h | cf868b82fcae221e0d845c21f95689bed51819cd | [] | no_license | zjsaisi/sm2000 | 8303ece373516c871694d382bb3daef9f5129d1a | 0fa74cdb7566621162e1845dd4558723182a49ac | refs/heads/master | 2020-04-16T09:22:12.797424 | 2019-01-23T10:31:07 | 2019-01-23T10:31:07 | 165,461,667 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 993 | h | // BT3Debug.h: interface for the CBT3Debug class.
//
//////////////////////////////////////////////////////////////////////
/*
* Filename: BT3Debug.h
* Author: Zheng Miao
* All rights reserved.
* RCS: $Header: BT3Debug.h 1.1 2007/12/06 11:41:04PST Zheng Miao (zmiao) Exp $
* $Revision: 1.1 $
*/
#if !defined(AFX_... | [
"you@example.com"
] | you@example.com |
1e97fd5242acc23155a8545c5875a8d74b4079f5 | 777fc6f8debd99dcc1b459e80c56846cfd55a61b | /Lab_5/main_test.cpp | 7b58d246c222aae1dc57060584fb720ab38d7dc9 | [] | no_license | ChaseOdgers/Data-Structures | c45131872f710892a5bc2303367e94d3b26f7c56 | 4d6b7d84cbc312f4f817dc7ad29031245732884f | refs/heads/main | 2023-01-22T14:22:26.792803 | 2020-11-10T04:50:47 | 2020-11-10T04:50:47 | 309,506,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,857 | cpp | //Main Program to test all Doubly Linked list methods
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <stdexcept>
#include "myHashTable.hpp"
using namespace std;
int main(int argc, char* argv[])
{
if(argc != 3)
{
std::cout << "You have to provide one test instance file an... | [
"chaseodgers@ku.edu"
] | chaseodgers@ku.edu |
f2044ee62959d1507491b6d2ab5d59fa0c642da0 | ee6c236ba07ddd2f1328e38f3b0a00c3eaf3a38a | /Code/Client/FindingTreasure_Test_PhysicalCollision_20170326/Player.cpp | e721e17fc2a129b5854ff23b9a28941c7d7c236e | [] | no_license | GreeeeeShot/Graduation-Work | b01b4662813a1a25a0ed82f0a43af92c38801bbc | 53e2c000241b71da222d065d0697ec79b0ded65c | refs/heads/master | 2021-01-11T01:55:47.025089 | 2017-10-18T10:25:06 | 2017-10-18T10:25:06 | 70,653,275 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 13,239 | cpp | #include "stdafx.h"
#include "Player.h"
#include "CameraOperator.h"
#include "PhysicalCollision.h"
CPlayer::CPlayer()
{
// m_pCamera = NULL;
//InitCameraOperator();
m_d3dxvMoveDir = D3DXVECTOR3(0.0f, 0.0f, 0.0f);
m_d3dxvVelocity = D3DXVECTOR3(0.0f, 0.0f, 0.0f);
m_fDamping = PLAYER_DAMPING_VALUE;
}
CPlayer::~CPl... | [
"batherit0703@naver.com"
] | batherit0703@naver.com |
71ab05bfed2ae38965bcbc1c3aea07e7dce4a962 | 1b1f088d7b3c314e97f8c63610958a85edefaa11 | /src/prx/utilities/heuristics/medial_axis.cpp | 699b688a3f608a9c46e63347c2df4f6a3fec6440 | [
"MIT"
] | permissive | hello-starry/ML4KP | 8b9969e620ecbb9df1bcc81016e8a9e7c4af3ca4 | ccbbb97a778dcfdca961e5d7085ef67398d16d56 | refs/heads/main | 2023-06-19T09:33:06.701877 | 2021-07-07T13:45:52 | 2021-07-07T13:45:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,837 | cpp | #include "prx/utilities/heuristics/medial_axis.hpp"
#include <fstream>
#include <string>
#ifdef __cpp_lib_filesystem
#include <filesystem>
using std::filesystem::exists;
#elif __cpp_lib_experimental_filesystem
#define _LIBCPP_NO_EXPERIMENTAL_DEPRECATION_WARNING_FILESYSTEM
#include <experimental/filesystem>
using ... | [
"aravind.siva@rutgers.edu"
] | aravind.siva@rutgers.edu |
2ccd77cf15b25ea41180c36ef39480e0345cb0f8 | 425fbce7733ebf5aafe8d10e604a4cbcae6518cf | /rice/detail/cfp.hpp | 4176405ecbb5e3c7f2456179928fc642dd862287 | [
"BSD-2-Clause"
] | permissive | nobu/rice | 19d232bad9869a2f330fcf47dba09116f243ed09 | 29bce9c3510ed2b782262c52aed7448bb74ff96f | refs/heads/master | 2020-12-07T22:54:38.949857 | 2019-11-28T17:11:25 | 2019-11-28T17:11:25 | 232,821,079 | 0 | 0 | NOASSERTION | 2020-01-09T13:55:58 | 2020-01-09T13:55:57 | null | UTF-8 | C++ | false | false | 337 | hpp | #ifndef Rice__detail__cfp__hpp_
#define Rice__detail__cfp__hpp_
#include "ruby.hpp"
namespace Rice
{
namespace detail
{
VALUE * cfp();
VALUE & cfp_data_memo_node_and_pc(VALUE * cfp);
VALUE & cfp_self(VALUE * cfp);
VALUE & cfp_method_class(VALUE * cfp);
} // detail
} // Rice
#include "cfp.ipp"
#endif // Rice__d... | [
"cout@sapphire.(none)"
] | cout@sapphire.(none) |
b6ab455a8d0a5f4d52bfdbe564b7367c472a530a | 3e1e78cd64328f947fdd721213f75b47a810d68c | /windows/src/ServiceManager.h | f0fafd326bc1454f02526445195d74906e0537e3 | [] | no_license | phuonglelephuong/dynamicipupdate | daeb10b891a06da80d345ced677cd96bdaa62d8f | 58eb721427f132900d81ee95acf3cb09ea133f59 | refs/heads/master | 2021-01-15T20:53:17.046848 | 2011-12-06T18:41:32 | 2011-12-06T18:45:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,607 | h | // Copyright (c) 2009 OpenDNS Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICE_MANAGER_H__
#define SERVICE_MANAGER_H__
#define OPENDNS_UI_UPDATER_SERVICE_NAME _T("OpenDNS Dynamic IP")
enum ServiceStatus {
Serv... | [
"kkowalczyk@gmail.com"
] | kkowalczyk@gmail.com |
6048c604c08113c0dc9b96e89e7c8463d1e00733 | d32424b20ae663a143464a9277f8090bd017a7f6 | /leetcode/674-LongestContinuousIncreasingSubsequence.cpp | 15e5753ac8e9e9ad9545e6f50f57e25fb3ce57cc | [] | no_license | Vesion/Misirlou | a8df716c17a3072e5cf84b5e279c06e2eac9e6a7 | 95274c8ccb3b457d5e884bf26948b03967b40b32 | refs/heads/master | 2023-05-01T10:05:40.709033 | 2023-04-22T18:41:29 | 2023-04-22T18:43:05 | 51,061,447 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
using namespace std;
class Solution {
public:
int findLengthOfLCIS(vector<int>& nums) {
if (nums.empty()) return 0;
int res = 1, len = 1;
for (int i = 1; i < (int)nums.size(); ++i) {
if (nums[i] > nums[i-1]) res = max(res,... | [
"xuxiang19930924@126.com"
] | xuxiang19930924@126.com |
8c97a956c27fd5b4e017cb0b0add822933e0e937 | e50b5f066628ef65fd7f79078b4b1088f9d11e87 | /llvm/.svn/pristine/1c/1cbe4c9f94b54f87b3d7b3141236a9496dd6e095.svn-base | 36edb34b90f821ea57a2b927a1cde07df00ec7fd | [
"NCSA"
] | permissive | uzleo/coast | 1471e03b2a1ffc9883392bf80711e6159917dca1 | 04bd688ac9a18d2327c59ea0c90f72e9b49df0f4 | refs/heads/master | 2020-05-16T11:46:24.870750 | 2019-04-23T13:57:53 | 2019-04-23T13:57:53 | 183,025,687 | 0 | 0 | null | 2019-04-23T13:52:28 | 2019-04-23T13:52:27 | null | UTF-8 | C++ | false | false | 24,988 | //===- ELFYAML.cpp - ELF YAMLIO implementation ----------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------... | [
"jeffrey.goeders@gmail.com"
] | jeffrey.goeders@gmail.com | |
7a18f60883f05c6dfdffecdb8a2695b5d1531153 | 48997fd1b34a7a1ed05bcee92e76beef39b8fb35 | /EngineCore/Shader.h | 6a69d565b851be4f1d85dad7e19ab2fd4af2dc6d | [] | no_license | EthanNichols/DataVox | db64ff0e2b2967f294d8b8d3baafb6f791e582d3 | cab758d1cc3cb512ac5ee3fe3d6bbe56dd7bd667 | refs/heads/master | 2023-01-14T16:31:51.479141 | 2020-11-20T18:31:11 | 2020-11-20T18:31:11 | 291,543,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | h | #pragma once
#include <glm/glm.hpp>
#include <iostream>
#include <string>
class Shader
{
public:
Shader()
{
m_id = 0;
}
Shader(std::string& vertexPath, std::string& fragmentPath);
Shader(const std::string& vertexPath, const std::string& fragmentPath);
~Shader();
void Use();
uint32_t GetID() const;
void... | [
"ethan.thomas.nichols@gmail.com"
] | ethan.thomas.nichols@gmail.com |
be940f13c2a01ee8400100509ef0ef67d983bb4b | 8583b5bfc594b994f51d24d012e92ae66bf2e5ea | /src/BabylonCpp/include/babylon/meshes/builders/lathe_builder.h | 65c300ae8d70307bbca89a991a0ac50ac398c482 | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | samdauwe/BabylonCpp | 84b8e51b59f04a847681a97fa6fe0a5c554e9e1f | 3dad13a666299cbcf2e2db5b24575c19743e1000 | refs/heads/master | 2022-01-09T02:49:55.057544 | 2022-01-02T19:27:12 | 2022-01-02T19:27:12 | 77,682,359 | 309 | 41 | Apache-2.0 | 2020-11-06T12:16:17 | 2016-12-30T11:29:05 | C++ | UTF-8 | C++ | false | false | 2,960 | h | #ifndef BABYLON_MESHES_BUILDERS_LATHE_BUILDER_H
#define BABYLON_MESHES_BUILDERS_LATHE_BUILDER_H
#include <memory>
#include <string>
#include <babylon/babylon_api.h>
#include <babylon/babylon_fwd.h>
namespace BABYLON {
class LatheOptions;
class Scene;
FWD_CLASS_SPTR(Mesh)
/**
* @brief Class containing static funct... | [
"sam.dauwe@gmail.com"
] | sam.dauwe@gmail.com |
848a27f03d84943934f05ea9092650e501e0e1bd | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-16.0/llvm/lib/ObjectYAML/MachOYAML.cpp | 8c8b4532dcdec726ad0bfc38b01c42afe5c03a01 | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 24,028 | cpp | //===- MachOYAML.cpp - MachO YAMLIO implementation ------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com |
bfddb7ff274ffdf562e03ae09a06bd1d629fdb1a | 43edde90fdb5ca509b43e43f0c16864f32227c98 | /MSerialsCore/Preferences/Preferences.cpp | e176013e7bd0810a6494ce5efa2184a0cbc7c119 | [] | no_license | MSerials/PunchNew | 97183ba79b89d95a91013d6ba719211be341b2c9 | 93cd7ea9a2b86a4ee8c0c36ac7207f9de7fc4b63 | refs/heads/master | 2020-08-18T05:21:46.249881 | 2019-11-14T08:19:59 | 2019-11-14T08:19:59 | 215,752,172 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 34,979 | cpp | #include "../../stdafx.h"
// Preferences.cpp: implementation of the CPreferences class.
//
//////////////////////////////////////////////////////////////////////
#include "Preferences.h"
#include <fstream>
#pragma warning(disable:4996)
using namespace std;
//CPreferences *ini = NULL;
/////////////////////////////... | [
"prayedsoul@qq.com"
] | prayedsoul@qq.com |
9a062053ed0538780bcbc490b79d5dc1aa784055 | 8aa9a970895b0b2cf639f75738e33b0a4487208e | /DataStructures/Stack/valid_parentheses.cpp | ebdf3334acad9d37a9d6be57da28e73f1f8ff439 | [] | no_license | VladAdGad/leetcode-solutions | 09d24c3cdd1f95ea45746a67a71ebfb944933152 | 0431f983ab86a53b5a22dc9deca62746c877e7e7 | refs/heads/master | 2023-01-30T16:14:37.235018 | 2020-12-11T19:24:45 | 2020-12-11T19:24:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | #include <catch2/catch_all.hpp>
#include <stack>
#include <iostream>
bool isValid(const std::string& s) {
std::stack<char> data;
const std::map<char, char> parentheses = {
{'(', ')'},
{'[', ']'},
{'{', '}'}
};
for (const char& elem : s) {
if (elem == '(' || ... | [
"vladadgad@gmail.com"
] | vladadgad@gmail.com |
03ca725db80a104a2ad7e959f65333bd082a0429 | 22a794a73503d4dd1dd4a5833c74d851910d72b7 | /W9/Data.h | bf447cbf6d35257f3c06ff036e564c0b9c3c977c | [] | no_license | skim33/OOP244 | ee0a195a24291a2ce50f3f39d0dfd034a468c506 | 7dc36efce8b6c0798a1d3dcdbe6f947fad85c4bd | refs/heads/master | 2020-03-30T03:38:17.953367 | 2018-09-28T07:06:42 | 2018-09-28T07:06:42 | 150,699,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,545 | h | // OOP244 Workshop 9: Function Templates
// File: Data.h
// Date: 2018/04/02
// Author: Woohyuk Kim
// E-mail: wkim33@myseneca.ca
// Description:
// This file contains declarations.
///////////////////////////////////////////////////
#include<iostream>
using namespace std;
namespace sict {
// These numbers define
... | [
"shawnkimwk@gmail.com"
] | shawnkimwk@gmail.com |
cd487d3f6c3fe9fd35cb048806797003ee676543 | ce71ba08e9094a4d76c8cc1e0cc7891ae016ff60 | /Lib/Chip/CM4/STMicro/STM32F469/OTG_FS_GLOBAL.hpp | 4ff03a55d2e87b1aa8c25df80da9d483734641ec | [
"Apache-2.0"
] | permissive | operativeF/Kvasir | 9bfe25e1844d41ffefe527f16117c618af50cde9 | dfbcbdc9993d326ef8cc73d99129e78459c561fd | refs/heads/master | 2020-04-06T13:12:59.381009 | 2019-01-25T18:43:17 | 2019-01-25T18:43:17 | 157,489,295 | 0 | 0 | Apache-2.0 | 2018-11-14T04:12:05 | 2018-11-14T04:12:04 | null | UTF-8 | C++ | false | false | 25,420 | hpp | #pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//USB on the go full speed
namespace OtgFsGlobalFsGotgctl{ ///<OTG_FS control and status register (OTG_FS_GOTGCTL)
using Addr = Register::Address<0x50000000,0xfff0f0fc,0x00000000,std::uint32_t>;
///Session request success
... | [
"thomas@dwarfcraft.com"
] | thomas@dwarfcraft.com |
7bb60e86ed724fe8cce9713e6da36fd3fc2c0100 | 69ea183c1bb6fcea7e2a0cb4d9d5fff67c9cd143 | /Academy_특이한자석/은경.cpp | 61dcd0b1a23d04420315ff9fc3188ab4125e0f48 | [] | no_license | moonps/ProblemSolving | fa2d0e1da998f8f2be7bd485bb035dacf5aa8ab9 | b15c8fa0effe9b3d21cf13a90dba77940059c815 | refs/heads/master | 2020-06-14T16:32:15.284981 | 2019-10-19T15:18:19 | 2019-10-19T15:18:19 | 195,056,594 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,732 | cpp | #include<cstdio>
#include<vector>
#include<cstring>
#include<math.h>
using namespace std;
vector<pair<int, int>> v;
int arr[5][10];
int is_move[5];
// 돌리자
void circle(){
for(int i=1; i<=4; i++){
if(is_move[i]==1){
int temp=arr[i][8];
for(int j=7; j>=1; j--){
arr[i][j+... | [
"ch-aa@naver.com"
] | ch-aa@naver.com |
3038d71c883e38831a5a0ef8cecf5b375e17e8c4 | b3145d9bc238f87b541954f7ca007274eef04b71 | /test/string.cpp | b3fdf4ac784f72016b74a8b7cacf88b52fa90418 | [] | no_license | maksimus1210/compile_time | 92bb49a3009d22917be3105f99b802ab1721911b | 252c7d11be997404fef498b6f54b654b261dd0a5 | refs/heads/master | 2020-04-05T07:48:46.498360 | 2017-10-31T06:36:51 | 2017-11-23T16:45:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,100 | cpp | #define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE "String"
#include <string>
#include <boost/test/unit_test.hpp>
#include "compile_time/string.hpp"
#include "common.hpp"
namespace CT = compile_time;
BOOST_AUTO_TEST_CASE(strlen_test) {
CART_CHECK_EQUAL(CT::strlen(""), ::strlen(""));
CART_CHECK_EQUAL(CT::strlen... | [
"lakshayg@outlook.in"
] | lakshayg@outlook.in |
60e9ba3004966bff9492b3d31645712c9cce44ac | a84b013cd995870071589cefe0ab060ff3105f35 | /webdriver/branches/chrome/chrome/src/cpp/include/chrome/Release/obj/V8Bindings/DerivedSources/V8CSSMediaRule.h | f53bac44b871dcb8c94adc52f8ed07d4819c9230 | [
"Apache-2.0"
] | permissive | vdt/selenium | 137bcad58b7184690b8785859d77da0cd9f745a0 | 30e5e122b068aadf31bcd010d00a58afd8075217 | refs/heads/master | 2020-12-27T21:35:06.461381 | 2009-08-18T15:56:32 | 2009-08-18T15:56:32 | 13,650,409 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,364 | h | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
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 Free Software Foundation... | [
"noel.gordon@07704840-8298-11de-bf8c-fd130f914ac9"
] | noel.gordon@07704840-8298-11de-bf8c-fd130f914ac9 |
c9db0b4fe66725e74e44c89f511fd38f66410fa6 | ba63cfe1d4b142375ec65223dded3a74372da876 | /third_party/dawn/src/dawn_native/Format.h | 82b40d81ccee2aac6cab367fbddbaef2e330f642 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT"
] | permissive | iseeyo/src | 5843b9c612769628480e2e218ea6a0974ebdf5fd | 1517a4f7cdab5e0688339edecb9f9e77f9cb8bf2 | refs/heads/master | 2023-06-01T09:11:21.303692 | 2021-07-11T13:00:23 | 2021-07-11T13:00:23 | 300,853,336 | 0 | 0 | BSD-3-Clause | 2020-12-02T11:09:16 | 2020-10-03T10:25:55 | null | UTF-8 | C++ | false | false | 2,698 | h | // Copyright 2019 The Dawn 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 agreed t... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
e70fb060fd5e952329da6bfadb3f2183eb5c2502 | 5427bd70e08a4fb7966aad2a907673a8af77ed5e | /ljutova_ts/Practice/Practice7/main.cpp | 7a43611b31df5e2419294d632f744dc29d138305 | [] | no_license | lutovatanya/mp1-practice | 5e34c507233cbe9721bea2bdcd4c813bc838dd2d | 51e9315196548d694d4f512a6f1208326cade352 | refs/heads/master | 2020-03-28T10:43:39.197875 | 2019-06-03T07:41:42 | 2019-06-03T07:41:42 | 148,138,657 | 0 | 0 | null | 2019-06-03T10:29:04 | 2018-09-10T10:28:07 | C++ | UTF-8 | C++ | false | false | 2,386 | cpp | #include "Vector.h"
#include "main.h"
using namespace std;
int main()
{
int n1;
cout << "Enter size vector 1: ";
cin >> n1;
Vector v1(n1);
cout << " Enter coordinats" << " V1 = " << endl;
cin >> v1;
cout << "Coordinates of your vector: ";
cout << v1;
cout << endl << endl;
int... | [
"lutovat20@gmail.com"
] | lutovat20@gmail.com |
6688ede0fbcd3749738f2844354e8d597d4f95a0 | ad59cfb990622e8e66ea5719f73b1c8f58544835 | /src/main.cpp | 914aac759d79f75398ed3c8065838b2ea0c85c5a | [] | no_license | balduvian/Language568 | 48af8c94d88de79e06c1c74e6d4f1a47b89abe06 | c12520f923e9da7aff2c0e2a1f3adb19752e8bec | refs/heads/master | 2023-02-23T15:03:02.878091 | 2021-01-30T03:59:39 | 2021-01-30T03:59:39 | 225,721,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp |
#include <iostream>
#include "image/image.h"
#include "engine568.h"
int main(int argc, char ** argv) {
if (argc != 2) {
std::cout << "need 1 argument" << std::endl;
return 2;
}
auto image = CNGE::Image::fromPNG(argv[1]);
if (image == nullptr || !image->isValid()) {
std::cout << "invalid filename" << std::... | [
"emmettglaser@gmail.com"
] | emmettglaser@gmail.com |
8fd95bc3210c022101dcabcd2fd02c2825712cb4 | a349be8a5d6ba5a4af843f918a6fe6eff01dc33b | /Source/GOAPerDemo/GOAPerDemo.cpp | d2fe7f2ab74a28ca66d2f386df632a56d5b2912f | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | denfrost/GOAPerDemo | 59c82ad506dfda4e7c29e07c9cc177fd24be2c17 | d5d7fbc6bd9079e15a5aaa64e86f7d0fcc501105 | refs/heads/master | 2020-03-27T02:26:35.450414 | 2018-09-21T03:35:31 | 2018-09-21T03:35:31 | 145,790,605 | 0 | 0 | MIT | 2018-08-23T02:42:05 | 2018-08-23T02:42:05 | null | UTF-8 | C++ | false | false | 188 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "GOAPerDemo.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, GOAPerDemo, "GOAPerDemo" );
| [
"chrisashworth@appzeit.com"
] | chrisashworth@appzeit.com |
43a85b603ea768fbca118762317f2f5927080e9e | f0dbabac157fc79094062513cfcc28be253d9b70 | /modules/log/src/Log.cpp | f75e89b42b96c2a9ef898299aaf058435fa6bb27 | [
"Apache-2.0"
] | permissive | TankerHQ/sdk-native | 4c3a81d83a9e144c432ca74c3e327225e6814e91 | c062edc4b6ad26ce90e0aebcc2359adde4ca65db | refs/heads/master | 2023-08-19T02:59:40.445973 | 2023-08-09T12:04:46 | 2023-08-09T12:04:46 | 160,206,027 | 20 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 515 | cpp |
#include <Tanker/Log/Log.hpp>
#include <Tanker/Log/LogHandler.hpp>
#include <Tanker/Log/Record.hpp>
namespace Tanker::Log
{
void format(Log::Level level,
char const* cat,
char const* file,
std::uint32_t line,
fmt::string_view format,
fmt::format_args args)
{... | [
"alexandre.bossard@tanker.io"
] | alexandre.bossard@tanker.io |
fbb8c5fd322ab57aaf9049a8f469705c7e1bd8b3 | 2f53b2c0264f982ccd9a50772f8bdfe1c2c2d890 | /Samsung/Samsung/17140_이차원_배열과_연산.cpp | 73bd7d54a83746301b97751ea5b562d77d9a03cc | [] | no_license | GGimDong/SAMSUNG-CODING-TEST | 2518e3648a6297920a72b9ed8f4650d54a49cb1a | 6406dab799ce2ff7238b99b3301168eba12d7bfd | refs/heads/master | 2022-12-23T11:22:55.019301 | 2020-09-29T10:53:28 | 2020-09-29T10:53:28 | 266,772,685 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,632 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int r, c, k;
int arr[101][101];
int X = 3, Y = 3;
int temp_X, temp_Y;
struct p {
int idx;
int num = 0;
};
p make_p(int a) {
p t;
t.idx = a, t.num = 1;
return t;
}
bool cmp(p a, p b) {
if (a.num < b.num) return true;
else if (a.n... | [
"boramatlulu@gmail.com"
] | boramatlulu@gmail.com |
40bbb1676d74105f53850cf443caff79ee1627b7 | f2b71319845eda397df343d3e6963d7e8de85543 | /cpp/include/Packet.h | 133fd01dccdbfec7a61f792c7c0860bb930dc0f1 | [] | no_license | jonturner53/forest-net | a2730d6bd1d336736ceb2f94f0c5394d8df80220 | ce22e8a6419da4af35b60ba97e05c2b6b8f90814 | refs/heads/master | 2020-05-17T16:24:03.670402 | 2015-03-14T13:54:46 | 2015-03-14T13:54:46 | 32,215,782 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,852 | h | /** @file Packet.h
*
* @author Jon Turner
* @date 2011
* This is open source software licensed under the Apache 2.0 license.
* See http://www.apache.org/licenses/LICENSE-2.0 for details.
*/
#ifndef PACKET_H
#define PACKET_H
#include "Forest.h"
namespace forest {
/** Class that defines fields in Forest p... | [
"jonturneratwustl@gmail.com@859b52aa-9282-db45-41ff-2f5699c6ee4d"
] | jonturneratwustl@gmail.com@859b52aa-9282-db45-41ff-2f5699c6ee4d |
9c7422b2111576f4c4a1e3f2116e4a23c50e1862 | 53733f73b922407a958bebde5e674ec7f045d1ba | /VIR/0904pm/agc047_a/main0.cpp | 04ba673a7d23642a24e713d855c4a0e044c78e97 | [] | no_license | makio93/atcoder | 040c3982e5e867b00a0d0c34b2a918dd15e95796 | 694a3fd87b065049f01f7a3beb856f8260645d94 | refs/heads/master | 2021-07-23T06:22:59.674242 | 2021-03-31T02:25:55 | 2021-03-31T02:25:55 | 245,409,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,603 | cpp | #include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
using ll = long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
#define ull unsigned long long
#define ld long double
#define vi vector<int>
#define vll vector<ll>
#define vc vector<char>
#define vs vector<string>
#define vpii v... | [
"mergon-nitro-pale_fluorelight@hotmail.co.jp"
] | mergon-nitro-pale_fluorelight@hotmail.co.jp |
9280ff17f03b55254deabcae21f72f7764cf0a79 | c6392d2e028a1671c7527b05d2596c13b37d2e83 | /hhvm-3.2-include/hphp/third-party/folly/gen/String-inl.h | 651252f511510967d363c5cb39333c06c255ed38 | [
"PHP-3.01"
] | permissive | sandeepone/hhvm_ext_pcurl | 7a47ced0b54639c8c9b1dfb820a55cd0e03aaccf | d445f6b47c66e646e039a71d8e22860a5831e0a6 | refs/heads/master | 2021-01-15T17:51:32.224760 | 2015-04-21T15:49:37 | 2015-04-21T15:49:37 | 42,769,830 | 2 | 0 | null | 2015-09-19T11:05:17 | 2015-09-19T11:05:17 | null | UTF-8 | C++ | false | false | 8,640 | h | /*
* Copyright 2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | [
"adriang@gmx.net"
] | adriang@gmx.net |
459f0eaee036bee9bc096258ab4c22efbb18aeb9 | 77a091c62781f6aefeebdfd6efd4bab9caa51465 | /Done/Random/E346.cpp | 6e3f4152b415fe37c1bf3f7f9786860d5cbcf60f | [] | no_license | breno-helf/Maratona | 55ab11264f115592e1bcfd6056779a3cf27e44dc | c6970bc554621746cdb9ce53815b8276a4571bb3 | refs/heads/master | 2021-01-23T21:31:05.267974 | 2020-05-05T23:25:23 | 2020-05-05T23:25:23 | 57,412,343 | 1 | 2 | null | 2017-01-25T14:58:46 | 2016-04-29T20:54:08 | C++ | UTF-8 | C++ | false | false | 952 | cpp | #include<bits/stdc++.h>
using namespace std;
#define debug(args...) fprintf(stderr,args)
const int MAXN=112345;
const int INF=0x3f3f3f3f;
vector<int> adj[MAXN];
vector< pair<int,int> > edg;
pair<int,int> cmp[MAXN];
int marc[MAXN],resp,num,n,m;
int dfs(int x){
marc[x]=1;
int tam=adj[x].size();
(cmp[num].first)++... | [
"breno.moura@hotmail.com"
] | breno.moura@hotmail.com |
29a8caa95646ef31ba7438e26c76225de2eda90e | 6cd69d24276d418be9fb3ad5fbb850bdcaca9f7e | /oss_src/fiber/fiber_conditional.hpp | 9c056e2c9026d9d48ba58093b0b633c8d51e9c84 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | charles2648/SFrame | e8cd14074932635af067aa20a86d1a9cbf7cf698 | 43fdd3ed9fde4ec0f26d548b5f1eebb4cdf1bea5 | refs/heads/master | 2021-01-18T11:23:21.447110 | 2016-03-16T08:51:56 | 2016-03-16T08:51:56 | 54,029,970 | 1 | 0 | null | 2016-03-16T12:29:02 | 2016-03-16T12:29:02 | null | UTF-8 | C++ | false | false | 2,856 | hpp | /**
* Copyright (C) 2015 Dato, Inc.
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
#ifndef GRAPHLAB_FIBER_CONDITIONAL_HPP
#define GRAPHLAB_FIBER_CONDITIONAL_HPP
#include <vector>
#include <queue>
#include <fiber/f... | [
"toby@dato.com"
] | toby@dato.com |
47a545bcdd47ab890a229b7af6c5348538d02951 | ac0ae7f42f80131ec34490eec2498f50d96adf92 | /output/messages/FriendUpdateMessage.cpp | 2c3b3ae0d622f533ead33e0d75e0cfe005f4adf4 | [] | no_license | w0dm4n/Protocol-builder-Ankama-2.4x | 2fad5d35467ee2cb0a5cfe7b2729c9b0170bae00 | 1b521c9e9eed8ebc3f62b72a699cf27c2ba139f8 | refs/heads/master | 2021-01-20T09:07:33.673393 | 2017-05-04T08:19:16 | 2017-05-04T08:19:16 | 90,224,495 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | #include "FriendUpdateMessage.hpp"
FriendUpdateMessage::FriendUpdateMessage(FriendInformations& friendUpdated)
{
this->friendUpdated = friendUpdated;
}
FriendUpdateMessage::FriendUpdateMessage()
{
}
ushort FriendUpdateMessage::getId()
{
return id;
}
std::string FriendUpdateMessage::getName()
{... | [
"w0dm4n@hotmail.fr"
] | w0dm4n@hotmail.fr |
d713887c8c9b5ea449d323ab1e091b47ed4dbd44 | b8499de1a793500b47f36e85828f997e3954e570 | /v2_3/build/Android/Debug/app/src/main/include/OpenGL.GLIndexType.h | 1e89b1e012d3ce7fff0eee17f2166689f7559bfc | [] | no_license | shrivaibhav/boysinbits | 37ccb707340a14f31bd57ea92b7b7ddc4859e989 | 04bb707691587b253abaac064317715adb9a9fe5 | refs/heads/master | 2020-03-24T05:22:21.998732 | 2018-07-26T20:06:00 | 2018-07-26T20:06:00 | 142,485,250 | 0 | 0 | null | 2018-07-26T20:03:22 | 2018-07-26T19:30:12 | C++ | UTF-8 | C++ | false | false | 352 | h | // This file was generated based on C:/Users/Vaibhav/AppData/Local/Fusetools/Packages/UnoCore/1.9.0/Source/OpenGL/GLEnums.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace OpenGL{
// public extern enum GLIndexType :166
uEnumType* GLIndexTy... | [
"shubhamanandoist@gmail.com"
] | shubhamanandoist@gmail.com |
1eb628c13d77e330b8f4be5f230e48cd21cdbe60 | 9cc00bc45c12d4b49c852af42a4cdc2303a5735b | /sse_util.inl | 91d0b638640ba5375ac6ef96b5d454d3920f57ff | [
"MIT"
] | permissive | Hengle/BlueNoiseGenerator | 6f4f70e4a01043e6f8ad82f768ad2e6e5e77e79d | 6dd1a27c355ef9e45e7ee9ba93bf03780ce0fc7d | refs/heads/master | 2021-06-10T04:11:35.213387 | 2017-02-03T13:33:00 | 2017-02-03T13:33:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,016 | inl | #include "debug_opt.h"
#if !defined(OLD_VER)
#ifndef SSE_UTIL_INCLUDE_START
#error Please do not include this file directly, include "sse_util.h" instead.
#endif
#ifdef USE_SSE
inline __m128 Negate(__m128 value)
{
return _mm_xor_ps(value, _mm_set1_ps(-0.0));
}
inline __m128 Mad(__m128 v0, __m128 v1,... | [
"nicovize@club-internet.fr"
] | nicovize@club-internet.fr |
fbb79e33dc0610cc30832a492f9b7fe192bfff58 | 5902fa0857cd4f722a9663bbd61aa0895b9f8dea | /BMIG-5101-SequencesAsBioInformation/Blast/ncbi-blast-2.10.0+-src/c++/include/algo/blast/api/seqsrc_multiseq.hpp | 472b03d5a44150f560572c2dbd55f8f134b9c26e | [] | no_license | thegrapesofwrath/spring-2020 | 1b38d45fa44fcdc78dcecfb3b221107b97ceff9c | f90fcde64d83c04e55f9b421d20f274427cbe1c8 | refs/heads/main | 2023-01-23T13:35:05.394076 | 2020-12-08T21:40:42 | 2020-12-08T21:40:42 | 319,763,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:24d638c804422568942592636a0af0165819ff2c9e2ba82fbe41ff7c714a7221
size 2226
| [
"shawn-hartley@sbcglobal.net"
] | shawn-hartley@sbcglobal.net |
f55e02257c62cf818fcb9d60c6b04868563355b1 | 4fae3414cd7bc66a9f9ab80664390d397dee0214 | /Arduino/EHealth/Bluetooth.h | a008559bd6b256133f858b10d07159815977cef2 | [] | no_license | eHealth2015/old2014project | 810dd94db53d09ca94b7a9bcec22f7dc163af2c4 | d005fed8ea81ea55f5d5372a288a498b56a7c845 | refs/heads/master | 2016-08-11T09:12:50.686558 | 2015-10-25T11:19:30 | 2015-10-25T11:19:30 | 44,546,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | h | #ifndef BLUETOOTH_H
#define BLUETOOTH_H
#include "Memory.h"
#define SNUMBER "00112233445566778899AABBCCDDEEFF"
#define FIRMWARE "0.1a"
#if ARDUINO < 100
#include <WProgram.h>
#else
#include <Arduino.h>
#endif
class Bluetooth{
private:
String trame;
Memory* mem;
public:
Bluetooth();
Bluetoot... | [
"gatux94@gmail.com"
] | gatux94@gmail.com |
09ae99d15da169f0d066a31811e60df0946fcf04 | 2e91f04e516e9f719784786e0229f39fc843fa45 | /toki-open-2018-group/solution-4.cpp | 0df6efb8d85e63d45eeae2753fbdae713f88b934 | [] | no_license | jonathanirvings/toki-open-2018 | e38362102b5dee2db047a77a97667027687fb969 | b0e05719d3ecdf2ed142cce18e25aaed3f514a4e | refs/heads/master | 2020-03-18T20:03:34.050550 | 2018-06-02T12:32:58 | 2018-06-02T12:32:58 | 135,193,425 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | #include "group.h"
#include <bits/stdc++.h>
using namespace std;
int getMinimumDelay(int N, vector<int> X, vector<int> Y) {
if (N <= 2) return 0;
int ans = 2000000000;
sort(Y.begin(), Y.end());
for (int i = 0; i < N - 1; i++) {
ans = min(ans, max(Y[i] - Y[0], Y[N - 1] - Y[i + 1]));
}
return ans;
}
| [
"jonathan.irvin@yahoo.com"
] | jonathan.irvin@yahoo.com |
28a074b26ca2518e154044b76dd3f64debb30306 | 98054c0fc0415cd7d7733ed63c69d1d25547b338 | /src/WalletLegacy/WalletLegacy.h | 1ed7316071d68b4515e5e6671a5051c4858fef22 | [
"MIT"
] | permissive | freelacoin/freelabit | 18dc3f23f0671cb73d1df8a22baca43305549eae | f5a2fa5b9258e5e5688d3281e45503f14e0cb914 | refs/heads/freelabit | 2021-12-11T08:33:30.992223 | 2021-08-31T16:42:48 | 2021-08-31T16:42:48 | 102,800,887 | 3 | 6 | MIT | 2018-05-12T04:02:35 | 2017-09-08T01:01:08 | C++ | UTF-8 | C++ | false | false | 7,186 | h | // Copyright (c) 2011-2017 The Cryptonote developers
// Copyright (c) 2014-2017 XDN developers
// Copyright (c) 2016-2017 BXC developers
// Copyright (c) 2017 Royalties developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.ph... | [
"ericvesprini@yahoo.com"
] | ericvesprini@yahoo.com |
325eb1b473a82bd0ff33a605de0a0794cf4cc7d6 | e9c02bb0df7ad3a928cf7c97b8294451eaa8dbc8 | /graph-source-code/527-E/10336560.cpp | ee3e31649454f47bc4692bf66a01ed59e970ee93 | [
"MIT"
] | permissive | AmrARaouf/algorithm-detection | b157a534545fa8920bbe94e7307d4b937a74aa60 | 59f3028d2298804870b32729415d71eec6116557 | refs/heads/master | 2021-01-13T14:37:04.074339 | 2015-12-06T21:14:31 | 2015-12-06T21:14:31 | 45,905,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | cpp | //Language: GNU C++
#include <iostream>
#include <vector>
#include <fstream>
#include <set>
using namespace std;
const int N = 1e5 + 5;
multiset<int> g[N];
int cv[N];
vector<int> euler;
void dfs(int v) {
while(!g[v].empty()) {
int to = *g[v].begin();
g[v].erase(g[v].begin());
... | [
"amr.abdelraouf93@gmail.com"
] | amr.abdelraouf93@gmail.com |
aef7717855119d20c7072964937c44a608d2fd79 | ad594d3d1cc6fe4c34b596d9564a7b1bf54a2f7a | /139.cpp | 9e36fcf8a427fee6af7cee9807de51de67eec570 | [] | no_license | colinlee1999/leetcode | 16199151de09073754e2d209af170fd3b489bb21 | 5ada773459ca45a942113a96581550a1b1af9987 | refs/heads/master | 2020-05-21T23:13:27.766217 | 2017-08-23T06:07:28 | 2017-08-23T06:07:28 | 61,930,482 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | #include "iostream"
#include "vector"
#include "set"
#include "map"
#define INT_MIN (1<<31)
#define INT_MAX (~INT_MIN)
using namespace std;
class Solution {
public:
bool wordBreak(string s, unordered_set<string>& wordDict) {
unordered_set<int> true_pos;
true_pos.insert(0);
int longest = 0;
for (int i = 0; i <... | [
"arteest@foxmail.com"
] | arteest@foxmail.com |
d4e472c9ecce2049e00a54f4d95dde8de679e13b | 0e88892ac677c180d6aa9bb5665729a609d3a170 | /src/core/math/math_types.h | 3090c7b6e76267925b24852d18f992325569601e | [
"MIT"
] | permissive | UIKit0/crown | 630720672389903140392db772b70e1dd9f3c998 | 11e8631a0a80830695ba3594a952a2d0ac278d54 | refs/heads/master | 2020-12-03T03:34:41.998651 | 2015-12-12T13:54:29 | 2015-12-12T13:54:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,285 | h | /*
* Copyright (c) 2012-2015 Daniele Bartolini and individual contributors.
* License: https://github.com/taylor001/crown/blob/master/LICENSE
*/
#pragma once
#include "types.h"
namespace crown
{
/// @defgroup Math Math
/// @ingroup Math
struct Vector2
{
float x, y;
};
/// @ingroup Math
struct Vector3
{
float... | [
"danyatk@gmail.com"
] | danyatk@gmail.com |
b5c9c12d65816d1d627af291943928c061a85372 | 0d553b926bd876f255d7b2ec29d179f98022e04a | /main.cpp | 8127926ddd17df72d9b72f2c41bed20bd774d030 | [] | no_license | Karol03/SnakeANN | 1ed399b873ca0946d84aacaf5443b699cf33f1a3 | 9cad22c4f20a8a2f448a419214c1baef7da3c71b | refs/heads/master | 2020-05-20T09:00:35.545821 | 2019-05-19T10:58:05 | 2019-05-19T10:58:05 | 185,488,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cpp | #include <QCoreApplication>
#include "Engine/game.hpp"
#include "utilities/generator.hpp"
#include "utilities/logger.hpp"
using namespace std;
int main(int argc, char *argv[])
{
logger::Logging log(logger::Logging::Info);
QCoreApplication a(argc, argv);
Generator::initialize();
Game game;
game.ru... | [
"karol_dudzic_03@wp.pl"
] | karol_dudzic_03@wp.pl |
174a4dce8776e85798fbabb8c8121371cd7418a2 | cabe040f3d980106401ca8f02051705fa954d4b4 | /Student.h | 9b6f953bff64dd275757509e96c65a6a7e5d9edc | [] | no_license | aedelgado19/CS162-LinkedLists2 | d0b9cb926c766181cc907758b9d84b5252030c5c | 8d32d9c9926a3169a94d97c3a71e0890d1ee97cf | refs/heads/master | 2023-01-06T13:53:57.026072 | 2020-11-11T04:36:11 | 2020-11-11T04:36:11 | 310,903,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | h | //Author: Allison Delgado
#include <iostream>
class Student{
public:
Student* getStudent();
void setFirstName(char* inputName);
char* getFirstName();
void setLastName(char* inputName);
char* getLastName();
void setID(int inputID);
int getID();
void setGPA(float inputGPA);
float getGPA();
Student... | [
"aedelgado19@gmail.com"
] | aedelgado19@gmail.com |
bb0990eaf13d48d4d96b2b8b7e9ac59c3941ed9a | 2ccbd5ca4588d5edee12d5ac5d1044927c797b49 | /ccc15s3.cpp | b48d765bbdcb76dcd49fe8febf5a254bb958231d | [] | no_license | 2ee2ee2ee/Competitive_Programming | 9c1ab1da209b000ab27bf908f8b38d80e0ac9c31 | cf7558f62fb2fa1dc5ad21727ecdbba63a3224c0 | refs/heads/master | 2023-03-11T20:31:49.234470 | 2021-02-20T22:13:29 | 2021-02-20T22:13:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include <bits/stdc++.h>
using namespace std;
set<int> os;
set<int>::iterator it;
int main() {
cin.sync_with_stdio(0);
cin.tie(0);
int G,P;
cin >> G >> P;
for (int i = 1; i <= G; i++) os.insert(i);
for (int i = 1,x; i <= P; i++) {
cin >> x;
it = os.lower_bound(x);
if (it == os.begin() && *it != x) {
co... | [
"38817928+sa35577@users.noreply.github.com"
] | 38817928+sa35577@users.noreply.github.com |
6263f1f733f034a7241802efdf8ad4e18947e26e | d8cb5ca60948919a441da933a01b5c8e84bb3a44 | /wxwidgets/wxWidgets-2.9.1/src/generic/notifmsgg.cpp | fc377f6db833e37d0fcee15315968d4142cc710e | [] | no_license | sonyomega/wxWidgets | 6d028af7097b87944aa41ab1331303ae7acf3ce1 | da8de1d8b0259d4fa4c958b1ff6a33c25728c503 | refs/heads/master | 2020-09-12T22:15:44.006866 | 2011-06-22T21:47:42 | 2011-06-22T21:47:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,452 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Name: src/generic/notifmsgg.cpp
// Purpose: generic implementation of wxGenericNotificationMessage
// Author: Vadim Zeitlin
// Created: 2007-11-24
// RCS-ID: $Id$
// Copyright: (c) 2007 Vadim Zeitlin <vadim@wxw... | [
"erwin.coumans@gmail.com"
] | erwin.coumans@gmail.com |
b393cd1a19226ed45a671c5bdd7c5fd5043eb219 | d2e68e00be2ef67e29cb4d3a9c8478bef7cfd99c | /src/ast/sweep_down_node.h | 6a8ac762da9928a9852d691af7305ce5a3e785d0 | [] | no_license | ist181045/com1617-xpl | ca3af5869e51b5eda172874ee34cd383953b7665 | b4dd6594e82d9e6f8198ae38577b86bb22087ef4 | refs/heads/master | 2021-03-27T13:53:26.926042 | 2018-09-23T20:35:18 | 2018-09-23T20:35:18 | 80,261,968 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | h | #ifndef __XPL_SWEEPDOWNNODE_H__
#define __XPL_SWEEPDOWNNODE_H__
#include <cdk/ast/basic_node.h>
#include <cdk/ast/expression_node.h>
#include <cdk/ast/integer_node.h>
#include <cdk/ast/lvalue_node.h>
namespace xpl {
class sweep_down_node: public cdk::basic_node {
cdk::lvalue_node *_lvalue;
cdk::expression_... | [
"rui.ventura@tecnico.ulisboa.pt"
] | rui.ventura@tecnico.ulisboa.pt |
0c659d8abcb201f21a339f0c8160ce738692da6a | b81e786d614f6593b948d5e39eea64d1a82f3f97 | /solutions/261.graph-valid-tree.276785020.ac.cpp | 84f94261548a3e15d3859165ef42570a12b66185 | [
"MIT"
] | permissive | Jiltseb/Leetcode-Solutions | 67350b2b12c4e49ac7f6d46a14a3170b66acac20 | 2edff60d76c2898d912197044f6284efeeb34119 | refs/heads/main | 2022-12-30T22:14:11.666308 | 2020-10-23T15:25:35 | 2020-10-23T15:25:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | cpp | struct DSU {
int n;
int setCount;
vector<int> parent;
vector<int> size;
DSU(int n) : n(n), size(n, 1), parent(n), setCount(n) {
for (int i = 0; i < n; i++)
parent[i] = i;
}
int getSet(int i) {
if (parent[i] == i)
return i;
return parent[i] = getSet(parent[i]);
}
bool join(in... | [
"satviksr@gmail.com"
] | satviksr@gmail.com |
9f234b5198d6a23ac3a1c0877d168d164bd596f5 | 178b73c122021e4d53303505f675cadb3ad3803c | /GridRead.cpp | 98cd6815039205946541ed12f9580c6ec043f7d1 | [] | no_license | cejutue/MeteMapping | 0da6a9f06d56cd5ae96fe7437ffc6014d25461b7 | 29a30d0c4ec3c7504ceb0f49a73b3d4efd90851e | refs/heads/master | 2022-07-30T10:38:17.292802 | 2022-07-09T02:54:11 | 2022-07-09T02:54:11 | 211,217,788 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | cpp | #include "stdafx.h"
#include "GridRead.h"
GridRead::GridRead()
{
}
GridRead::~GridRead()
{
delete m_Databuff;
}
bool GridRead::Read(const char * InPath)
{
FILE *fin_bin = fopen(InPath, "rb");
int rc = 0;
struct stat s;
stat(InPath, &s);
m_Databuff = new float[s.st_size / sizeof(float)];
m... | [
"373580574@qq.com"
] | 373580574@qq.com |
a639e729e7bc0e709e388bb5745f4be9f8041ab2 | 5041bdc8ce649616b6dcf32aeade9ae27075ae2b | /remoting/host/daemon_process.cc | d0ccd0cd05656acba7bba44a4415121b7b841cbe | [
"BSD-3-Clause"
] | permissive | aSeijiNagai/Readium-Chromium | a15a1ea421c797fab6e0876785f9ce4afb784e60 | 404328b0541dd3da835b288785aed080f73d85dd | refs/heads/master | 2021-01-16T22:00:32.748245 | 2012-09-24T07:57:13 | 2012-09-24T07:57:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/host/daemon_process.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/single_thread_task_runner.h"
#include ... | [
"kerz@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c"
] | kerz@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c |
3698e0e7064c30b5a9aba42b1864dfb545ba5383 | e7c68e4b8053329afd867fb37dd48242f12fd8ba | /VerdiMain/src/VerdiPrerequisites.cpp | 69ac987f908118bd38f30dc97fcd596125b355a2 | [] | no_license | xwize/Verdi | a233274b3c0aceb3f2076f04451c67f8ea470c27 | 2b86321e02b76f992fc232939e5b41eb91c77aac | refs/heads/master | 2023-04-20T16:59:03.887959 | 2021-05-10T11:33:23 | 2021-05-10T11:33:23 | 365,752,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 938 | cpp |
#include "VerdiPrerequisites.h"
// We also need GL, GLU and GLee.
#include <GLee.h>
namespace Verdi {
void _glAssert(const char* szMessage, const char* szFile, int iLine)
{
static int iPrevLine = -1;
static std::string strPrevFile = "";
GLenum error = glGetError();
if(error != GL_NO_ERROR)
... | [
"this.verb@gmail.com"
] | this.verb@gmail.com |
c6a1afd035bd7d300fe47595abc0403a0f85cc46 | 40278ddab2745877dc19500564c3617ff6f00f9f | /ImagingMedical/3D/RegSegmentation.cpp | d813284fe463a61e06959c08bea0c26a4ed590a4 | [] | no_license | AlexSou/BusinessStats | 17267f9f8dabf1a065b4775601e47e2ad4e718ac | 6efa61d3565920f12d5142233bc193b03fedbbdf | refs/heads/master | 2016-09-06T19:59:55.244946 | 2012-11-13T06:10:14 | 2012-11-13T06:10:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,724 | cpp | /*
* File: RegSegmentation.cpp
* Author: A Soulier
*
* Created on November 2009
*/
#include "RegSegmentation.h"
RegSegmentation::RegSegmentation() {
imageSet_ = false;
coordSet_ = false;
upperSet_ = false;
lowerSet_ = false;
imgReader_ = ImgReaderT::New();
i... | [
"alesouli@gmail.com"
] | alesouli@gmail.com |
9a114dd0c8ef1288d7ddd7e14dd2d4f38afa1851 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /ui/events/event_sink.h | e31c1be2815c4c2c72f441814d5a1c6490794c73 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 611 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_EVENT_SINK_H_
#define UI_EVENTS_EVENT_SINK_H_
#include "ui/events/event_dispatcher.h"
namespace ui {
class Event;
// EventSink recei... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
8d342f702d14aeb74df2c04d9042fe048b3ada21 | bd2f117637be64d13d7b94093c537d346ca3257f | /Examples/GUI/GUI_Layered/Sources/gui_3d.cpp | f35010ca04a5dd3af88b0f58fd914199f255db3f | [
"Zlib"
] | permissive | animehunter/clanlib-2.3 | e6d6a09ff58016809d687c101b64ed4da1467562 | 7013c39f4cd1f25b0dad3bedfdb7a5cf593b1bb7 | refs/heads/master | 2016-09-10T12:56:23.015390 | 2011-12-15T20:58:59 | 2011-12-15T20:58:59 | 3,001,221 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,268 | cpp | /*
** ClanLib SDK
** Copyright (c) 1997-2009 The ClanLib Team
**
** 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 a... | [
"rombust@cc39f7f4-b520-0410-a30f-b56705a9c917"
] | rombust@cc39f7f4-b520-0410-a30f-b56705a9c917 |
8660a47caabc0da0a8a86e3b4745e65bb2a84ef7 | cd2d31b6b627423dc890f510da6fcb860a81cfe0 | /_studio/mfx_lib/decode/vp9/include/mfx_vp9_dec_decode_hw.h | 635d298c1c2ef1671a31ce6caf386ee94e078681 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | eistarov/oneVPL-intel-gpu | 1ce39b47ad6352b02c725e322676803951cb0dc9 | e041fa223aaf079faecf8ba248eb8247149bc21a | refs/heads/main | 2023-07-01T23:23:29.303857 | 2021-07-02T06:26:45 | 2021-07-02T06:32:26 | 383,012,333 | 0 | 0 | NOASSERTION | 2021-07-05T04:26:44 | 2021-07-05T04:26:43 | null | UTF-8 | C++ | false | false | 5,715 | h | // Copyright (c) 2014-2020 Intel Corporation
//
// 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,... | [
"oleg.nabiullin@intel.com"
] | oleg.nabiullin@intel.com |
021bd471ecc63e03e96576db2f0f14e27d9543fe | 12d9d7fe88baf2cdefaedc42e8dde6c77e6d7d48 | /Parser/src/FIleUtils.cpp | f46fa604af4f08c4513e103b1c9c17df41fdd5b6 | [] | no_license | phish3y/CParser | 8986dc020066830e777122216f22adccea663bea | 490a5d4d88993ecd646d68da55fd11ba9793043a | refs/heads/master | 2022-02-22T06:27:36.431631 | 2019-10-03T20:14:35 | 2019-10-03T20:14:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | cpp | #include "FileUtils.hpp"
#include <stdio.h>
#include <sys/stat.h>
size_t getFileSize(int fd) {
struct stat s;
if(fstat(fd, &s) < 0) {
return -1;
} else {
return s.st_size;
}
}
int mapFile(int fd, size_t size, char** mappedFile) {
*mappedFile = (char*) mmap(NULL, size, PROT_READ, M... | [
"logsdonevan1@gmail.com"
] | logsdonevan1@gmail.com |
00dc0c870abf2e3011a94277b3ecdd5fa9ff328c | f848b5f96330586ecf1af131e3e02e2bafefd7cb | /RestaurantManagmentSystem/src/FileHelper.h | 7c5f6a587ec4a2039fac862860174a8be885ef8b | [] | no_license | eabasguliyev/RestaurantManagmentSystem | 1bee544925cc08bcbda2fc64fd592e1d3be797c8 | cc1fd82a07198f1b294405b5736fee63eee6ee6e | refs/heads/master | 2023-02-19T15:05:39.833972 | 2021-01-10T07:06:21 | 2021-01-10T07:06:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | h | #pragma once
#include "Restaurant.h"
class FileHelper
{
public:
static void writeToFile(Restaurant& res);
static bool readFromFile(Restaurant& res);
static void writeLog(const std::string& file_name, const std::string& error);
}; | [
"40658140+eabasquliyev@users.noreply.github.com"
] | 40658140+eabasquliyev@users.noreply.github.com |
e2842fe29c77d591944b75a813d1b99c540a3a85 | 1747c8202e8e915fba72c05656df819ffb342682 | /Servo/Behaviours/T-6/B-123/O-108.hpp | 49a89002a0b3dfd53914e3e96e881f2bafcad3a1 | [] | no_license | prisme-studio/SERVO | 7fd7de4ec0892237198c276718bdb5eeb34ffda4 | b231991542931cf685f0060743ef641fa81578dc | refs/heads/master | 2021-01-09T04:35:00.939465 | 2020-03-16T17:18:43 | 2020-03-16T17:18:43 | 242,246,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | hpp | //
// O-108.hpp
// Talkers
//
// Created by Valentin Dufois on 2020-02-24.
//
#ifndef O_108_hpp
#define O_108_hpp
#include "../../Output.hpp"
class O108: public Output {
public:
O108(): Output(108, // Output ID
false, // Is tree end ?
124, ... | [
"valentin@dufois.fr"
] | valentin@dufois.fr |
d2933ac6fd2511222f5356e765646af8aff3b0af | fc3cb4f2d5afe9b7093a3c6f9f1cd95211ccf7b8 | /L08S03.ObjectFactory/GameLibrary.h | 7a0242d8bfc9620a2191ec98a456e37e202afe01 | [] | no_license | CPSC-2377-UALR/CPSC.2377.Code.Examples | a8967a9aac7feac1a73b0f625f590959f3323c25 | 80318fe1e395c8e4eb8cfe032b4607260c2988f7 | refs/heads/master | 2022-02-19T04:25:46.417542 | 2019-09-11T17:50:10 | 2019-09-11T17:50:10 | 127,178,682 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 202 | h | #ifndef GAMELIBRARY_H
#define GAMELIBRARY_H
#include<string>
#include<map>
#include"ObjectFactory.h"
using namespace std;
class GameLibrary{
public:
map<string,ObjectFactory*> inventory;
};
#endif | [
"smorme@ualr.edu"
] | smorme@ualr.edu |
c7e4e3e0c4ce5dcc9a0278c2dcd199b01027bafa | 4b64ae7a608d6ea578bcf1ae61cbb306e5e6779f | /Towers.cpp | 863dd8ed280b2023c4ebdb721ab5a88e72540a89 | [] | no_license | hyydrra/Field-Runner-Game | 800052ce365bec9511ac97f88efc1f9e8837cd32 | cc833aec1093279e00c262a6ae5f42d6dc95c1f0 | refs/heads/master | 2022-11-20T19:55:22.299304 | 2020-07-11T20:40:52 | 2020-07-11T20:40:52 | 278,925,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,730 | cpp | #include "Towers.h"
#include "Enemy.h"
#include "Variables.h"
using namespace std;
Variables variables_t = Variables();
Towers::Towers(int position_x_, int position_y_) {
position_x = position_x_;
position_y = position_y_;
maxlevel = 2;
}
void Towers::draw(Window *window) {
int enemy_x, enemy_y;
... | [
"amirho3eingh98@gmail.com"
] | amirho3eingh98@gmail.com |
9f93d992c0ac4624323ac6444a4c642750710b68 | f371a1e57b354cc1b985dbfc17f057c186d9f7a0 | /programmers/source/1-10.cpp | e19fe67b9b92f568ad955cdf0460869446fb111d | [
"MIT"
] | permissive | tdm1223/Algorithm | 7ea3d79eaa7244a1cfe8a420e25d89b783465e8f | c773ab0338e5a606ad0fc7d8989b0ee7cc1bf3fa | refs/heads/master | 2022-11-14T01:34:08.955376 | 2022-10-30T11:00:54 | 2022-10-30T11:00:54 | 143,304,153 | 8 | 9 | null | 2019-08-06T02:41:24 | 2018-08-02T14:16:00 | C++ | UTF-8 | C++ | false | false | 544 | cpp | // 제일 작은 수 제거하기
// 2019.06.28
#include<string>
#include<vector>
using namespace std;
vector<int> solution(vector<int> arr)
{
vector<int> answer;
int min = arr[0];
// 제일 작은 수를 찾음
for (int i = 1; i<arr.size(); i++)
{
if (arr[i] < min)
{
min = arr[i];
}
}
// 제일 작은 수를 제외하고 벡터에 넣음
for (int i = 0; i<arr.si... | [
"tdm1223@naver.com"
] | tdm1223@naver.com |
e3a66175626d287feeae8b87742c33df92e5b3ea | b88eeed20d442c3e164c727a97db7bdf1935b70f | /contrib/mul/vpdfl/vpdfl_gaussian_kernel_pdf.cxx | f068f31cb178854143f59234c2b095d3c2da13ff | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | huanghailiang/vxl-1.17.0 | be3b4909ef31efc2aa0eb4ee884e5190704ca060 | c3076ac1013f10a532fe6d6b3c5f5b78eb26466e | refs/heads/master | 2021-07-23T04:05:36.954717 | 2017-11-01T07:23:22 | 2017-11-01T07:23:22 | 109,099,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,299 | cxx | // This is mul/vpdfl/vpdfl_gaussian_kernel_pdf.cxx
#ifdef VCL_NEEDS_PRAGMA_INTERFACE
#pragma implementation
#endif
//:
// \file
// \brief Multi-variate spherical gaussian_kernel_pdf kernel PDF.
// \author Tim Cootes
#include "vpdfl_gaussian_kernel_pdf.h"
#include <vcl_cstdlib.h>
#include <vcl_cassert.h>
#include <vcl... | [
"huanghailiang711@163.com"
] | huanghailiang711@163.com |
bd9bab29421f1bcab451ac516cb02f83f72aa2d2 | ad715f9713dc5c6c570a5ac51a18b11932edf548 | /tensorflow/lite/experimental/telemetry/telemetry_settings.h | 52ba9b8b10e5d664e2e76a2596b59dd802adc6bb | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | rockzhuang/tensorflow | f1f31bc8edfa402b748c500efb97473c001bac95 | cb40c060b36c6a75edfefbc4e5fc7ee720273e13 | refs/heads/master | 2022-11-08T20:41:36.735747 | 2022-10-21T01:45:52 | 2022-10-21T01:45:52 | 161,580,587 | 27 | 11 | Apache-2.0 | 2019-01-23T11:00:44 | 2018-12-13T03:47:28 | C++ | UTF-8 | C++ | false | false | 1,721 | h | /* Copyright 2022 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
5b3cf07dd2a624addbea1abbf7a39dfb72a84991 | a583ce8dbc8a0998866b3df6c19498167e3e514f | /recover-binary-search-tree.cc | 80eb576d5ca79c87ed3fa609f27a562de0b02969 | [] | no_license | sealiay/leetcode | 12826662313a99cf9cf36792bced3d0c1503c277 | d57d2bfe5e474d43f0aad29a90993690d2b5d2e3 | refs/heads/master | 2016-09-10T18:28:08.010252 | 2014-03-29T06:29:15 | 2014-03-29T06:29:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | cc | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
TreeNode *er[2];
bool g = false;
void recoverTree(TreeNode *root) {
TreeNode *c = root;... | [
"eric.3zc@gmail.com"
] | eric.3zc@gmail.com |
a50951346482e06185f2a138bb21ee9db731b026 | 611bd60e4d8f648c6fc2552076f124c739cb05c9 | /Robotic_arm_Ghanshyam's work/Moveit_files/doc/pick_place/src/pick_place_check.cpp | 2bb3fac49fdc5021d2c76b20748f551fbfdecbd4 | [] | no_license | GSHYAM-MRM/MRM-Research-Ghanashyam_Codes | 79d6c3d89394822abf1838c0c31a65f809f4d2dd | e8c48bc7aa8e214cdb9e6950feb03142a0e2fc73 | refs/heads/main | 2022-12-19T00:17:03.680013 | 2020-10-03T22:06:10 | 2020-10-03T22:06:10 | 300,925,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,108 | cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | [
"gscourses1489@gmail.com"
] | gscourses1489@gmail.com |
44e4da81e57f086a5eab33fd9e540db5282e25ab | 66fa38b0a78c7199e4a08fb7d89e1f0ea407d8aa | /__source__/DataStructures/Primitives/Pure/Vector3/Vector3.impl.h | 0d364cd6ed73041fc26ee839f9fe1412871df95d | [
"MIT"
] | permissive | TheDonsky/DumbRay | b5a4fb5795937318340f503fa6df66bfa658c3d8 | 5625d51d9ba48fb05a5ff0a600a29188344b013d | refs/heads/master | 2022-11-27T07:23:41.147536 | 2022-11-16T19:16:33 | 2022-11-16T19:16:33 | 61,559,713 | 5 | 0 | null | 2018-05-25T07:36:23 | 2016-06-20T15:44:20 | C++ | UTF-8 | C++ | false | false | 30,315 | h | #include"Vector3.h"
/** ########################################################################## **/
/** //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\// **/
/** ########################################################################## **/
// Macros:
/** ----------------------------------... | [
"nikadon.net@gmail.com"
] | nikadon.net@gmail.com |
41a31dae8a887645ca92b8952a91f54d9be76b2b | 09ed831aeec406e86a992f13ae7de7ea7d20b4c9 | /HydroxUtilities/include/Utilities/Timer/TimerGPUOGL.h | e0aa183a497a026324ee18586f4c302c516ea4bd | [] | no_license | HyDr0x/Hydrox_Engine | 77a7e0beef0b9f757fb739a09c7d786c76334cb6 | 563c17523dc0a2ce4490387a2c9188d423a408e2 | refs/heads/master | 2021-05-31T02:13:42.040613 | 2014-05-06T10:25:29 | 2014-05-06T10:25:29 | 14,363,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | h | #ifndef OGLTIMER_H_
#define OGLTIMER_H_
#include <iostream>
#include <string>
#include <GL\glew.h>
#include "Utilities/DLLExport.h"
#ifdef _WIN32
#define MICROSIGN unsigned char (230)
#else
#define MICROSIGN unsigned short (0xC2B5)
#endif
namespace he
{
namespace util
{
class GRAPHICAPI OGLTimer
{
... | [
"christoph.laemmerhirt@st.ovgu.de"
] | christoph.laemmerhirt@st.ovgu.de |
ec96db1cdfd71028abf4a2f5b91ad8d3e85a5d0a | 96a72e0b2c2dae850d67019bc26b73864e680baa | /Study/DirectX/HW7/directx1/modelclass.h | 9428d6f37c3fd0329913ba9cc7638c25e270ca72 | [] | no_license | SeaCanFly/CODE | 7c06a81ef04d14f064e2ac9737428da88f0957c7 | edf9423eb074861daf5063310a894d7870fa7b84 | refs/heads/master | 2021-04-12T12:15:58.237501 | 2019-07-15T05:02:09 | 2019-07-15T05:02:09 | 126,703,006 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,414 | h | #pragma once
#ifndef _MODELCLASS_H_
#define _MODELCLASS_H_
//////////////
// INCLUDES //
//////////////
#include <fstream>
#include <d3d11.h>
#include <d3dx10math.h>
using namespace std;
///////////////////////
// MY CLASS INCLUDES //
///////////////////////
#include "textureclass.h"
///////////////////////////////////... | [
"SeaCanFly@gmail.com"
] | SeaCanFly@gmail.com |
e3374b4afa46ce3a4d6289845fe42c03d3f62b7c | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/113/955/CWE762_Mismatched_Memory_Management_Routines__delete_array_struct_realloc_73a.cpp | 7d2aaa712a5ae73093eb77c2fa595eed6e2f9bdb | [] | 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 | 3,282 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_struct_realloc_73a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-73a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Manage... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
bc9110c2c05ae7c8655cce80a2fbb42c960b513e | 284047fb958e867033fac5eb9893d0fce503d1cf | /chapter14/page502/main.cpp | ea31f986c2f523368c5fa5b477343b55750672f5 | [] | no_license | liuxinyu123/cpp-primer | d8bbc4c209e077187221d6bdb12c1f88a0002cfb | 5f27e737de13df705fb7f5a57a4a5ac07cb24200 | refs/heads/master | 2021-01-13T16:42:45.948833 | 2017-02-22T15:01:32 | 2017-02-22T15:01:32 | 77,421,962 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | cpp | #include <iostream>
#include "strblob.h"
#include "strblobptr.h"
using std::cout;
using std::endl;
int main (int argc, char *argv[])
{
StrBlob sb1 ({"hello", "world", "what", "are", "you", "doing"});
cout << sb1.Size () << endl;
cout << sb1 << endl;
StrBlobPtr sbp1(sb1);
cout << sbp1.Deref () << endl;
sbp1.Inc... | [
"happy_lucky52@163.com"
] | happy_lucky52@163.com |
bb162bf1548e6ac4b5f9fdf52df77e9e6c6f8d0b | fd19b1e99f869e2fc2dd530cf8fa404c8f1995f3 | /CPP/May/uafh.cpp | b3bf64e95fe3bbeff9a2b0465452e04b79e7c29b | [] | no_license | sumanthreddy07/Competitive_Programming | 3c16eeb7c9133bfc4c7af4c51f53b0205dd32a57 | 0291d75d4fa017b2a3e206e8aa1d4001e864d550 | refs/heads/master | 2023-06-28T07:03:06.665869 | 2021-07-10T17:41:34 | 2021-07-10T17:41:34 | 242,544,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | cpp | #include <bits/stdc++.h>
#include <vector>
#include <string>
#include <algorithm>
#define LL long long
#define L long
#define run(i,a,b) for(long i=a;i<=b;i++)
#define revrun(i,a,b) for(long i=b;i>=a;i--)
#define PAIR pair<long,long>
using namespace std;
int main()
{
L t,i,j,flag=0,sum=0;
cin>>t;
whil... | [
"kota.sumanthreddy@gmail.com"
] | kota.sumanthreddy@gmail.com |
f1032affb9cd18cdb3ed42c429bd736e3aa81ac4 | dc802fc27398276106626e12ab1e5ae957bde460 | /thirdparty/openexr/source/IlmImf/ImfAttribute.cpp | 85dd269162a25a666c4263dff9ba1db373ae57cd | [
"BSD-3-Clause",
"Unlicense"
] | permissive | simoncblyth/Optix7Sandbox | 495e58e017cb94c28a506ce8f9e948526b1eba4d | 06c703ea9bd00d65a32ea3dcd26d9fc208655543 | refs/heads/master | 2020-09-11T13:01:49.553607 | 2019-10-20T09:18:34 | 2019-10-20T09:18:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,239 | cpp | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2002, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"microsoft@hurleyworks.com"
] | microsoft@hurleyworks.com |
9c1b3fd8ee20ba62b8b5bf7ee4a471cc7667a0d6 | 46562ad5824f919d47fb9b31f9ba781c15504028 | /src/models/resources/tile-extractor.hpp | 46eb369fb457b47952cd154425b8251f31394686 | [
"MIT"
] | permissive | undisbeliever/untech-editor | f61c233340e6f1a5882034a8917901c5ca5416e7 | 0927e385c7d8085f3e2caafa48038c563499d9b2 | refs/heads/master | 2023-07-08T03:41:51.347757 | 2023-07-01T08:49:21 | 2023-07-01T08:49:21 | 75,025,364 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,631 | hpp | /*
* This file is part of the UnTech Editor Suite.
* Copyright (c) 2016 - 2021, Marcus Rowe <undisbeliever@gmail.com>.
* Distributed under The MIT License: https://opensource.org/licenses/MIT
*/
#include "invalid-image-error.h"
#include "models/common/image.h"
#include "models/common/iterators.h"
#include "models/... | [
"undisbeliever@gmail.com"
] | undisbeliever@gmail.com |
58f4bfa2ae2fb58677bcb7745a92dc56e7f45aaa | aa9c6b23ad708439c2553b2982bef9436c2c99b4 | /Source/Tokens/Globals/TGDate.cpp | 0129b1844293f338a965daf7bea21d67474ef95a | [] | no_license | Y-Less/yavascript | a07ba883380a81c86de2ed14416605b572284d30 | 4911c182d6b09fd46e67a61d6f080c4a97d0ca3f | refs/heads/master | 2021-01-19T07:43:26.120864 | 2013-06-01T20:07:42 | 2013-06-01T20:07:42 | 10,427,721 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,191 | cpp | // =========================================================================
// The contents of this file are subject to the Mozilla Public License
// Version 1.1 (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// http... | [
"alex@y-less.com"
] | alex@y-less.com |
8f3489e6b0095496c9678522c4ae26342f9cc072 | 0edfc6919ec7b1d1ec5fe41169304f28a4a98c6c | /main.cpp | b004a09adb0736f0d2855554710f97e722c85539 | [] | no_license | sanadtm/CS162 | 707825ef2af361f87a9be262330ac61e6879916d | ea00cf3cb19c675d37740536970cd9ea0b4e29b2 | refs/heads/master | 2023-03-08T04:39:51.940471 | 2021-02-26T04:15:31 | 2021-02-26T04:15:31 | 342,460,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,346 | cpp | // Sanad Thapa
// CS 162 - Program 5
//The purpose of the 5th program is to implement the new concepts learned which include linear linked lists.
//Our goal is to continue to create programs with a small main function that delegates to a series of functions where the real work takes place.
//Unlike the previous progr... | [
"sanad@babbage.cs.pdx.edu"
] | sanad@babbage.cs.pdx.edu |
06cb500203c83f6ee01c2b4b5d86b6a696a54d1e | 6e30d8bf61b216fddd1b9eb0c73486763dce7d67 | /WindowsKernel/ShadowDriver/PacketHelper.cpp | 90d405a54bfd35cdb83f84e4a5b06ffae65f1a8c | [] | no_license | XeonKHJ/ShadowDriver | c22039fa60a505fbf022bf691510d1ffba6875fc | b22dc3e9e7f8154976e2c5eb63db2da7bd4f4e0f | refs/heads/master | 2021-11-21T16:11:34.911088 | 2021-10-24T13:40:41 | 2021-10-24T13:40:41 | 249,103,890 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | cpp | #include "PacketHelper.h"
#include "IOCTLHelper.h"
void PacketHelper::FilterFunc(NetLayer netLayer, NetPacketDirection direction, void* buffer, unsigned long long bufferSize, void * context)
{
UNREFERENCED_PARAMETER(direction);
UNREFERENCED_PARAMETER(netLayer);
auto helper = (IOCTLHelper*)context;
if (helper !=... | [
"redalertkhj@live.cn"
] | redalertkhj@live.cn |
7e31ecfbc3b0275fb9cd32a61a96c8b9c95b4a05 | 0b90d18bf8e2000d3c47a17f3403be51b4a8ecd8 | /src/Dataflow/Modules/Math/BuildNoiseColumnMatrix.cc | 8839209da0846c8e5254f145de08fb3093d05c9a | [
"MIT"
] | permissive | merced317/scirun4plus | c3d8d65dd68f9d119b43cf084ea8b9d94921ce33 | f29630e03d3cf13c0ce8b327676ad202e3981af0 | refs/heads/master | 2020-12-10T19:20:18.401161 | 2018-06-27T09:21:54 | 2018-06-27T09:21:54 | 233,683,375 | 0 | 0 | null | 2020-01-13T20:09:14 | 2020-01-13T20:09:13 | null | UTF-8 | C++ | false | false | 3,480 | cc | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2009 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (... | [
"ppetrov@joker.umcutrecht.nl"
] | ppetrov@joker.umcutrecht.nl |
034a6338133cbbe2c196f97c1b515ff6f7c85327 | 931a8f1634feb32916cf20ac6cd28a3ee2830ba0 | /Native/System/Libraries/libpyro/gui/fontrequester/fonthandle.h | b5593ca0da4b45a34e7f102e8ee4633a57d78f42 | [] | no_license | PyroOS/Pyro | 2c4583bff246f80307fc722515c5e90668c00542 | ea709dc1f706c4dfc182d959df14696d604572f8 | refs/heads/master | 2021-01-10T19:47:17.787899 | 2012-04-15T12:20:14 | 2012-04-15T12:20:14 | 4,031,632 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,139 | h | // Sourcery -:- (C)opyright 2003-2004 Rick Caudill
//
// This 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 version.
//
// This program i... | [
"mail@pyro-os.org"
] | mail@pyro-os.org |
73bc440668a3dbb5317dc728e7c54f973993251f | ae2b328457a6df9dc967cda4e37878a4a48a7e79 | /Unity/iOS-Build/Classes/Native/Bulk_Generics_1.cpp | b4674d03c3521f9efd2b8b847f39d89a8f136b86 | [] | no_license | Adventure2Fitness/A2F_Mobile | 965e47902ebac76776e443b35b071a5a41044e10 | dea3966f9018c259cb2c5d03a2cfd7a5897ba78c | refs/heads/master | 2021-01-18T01:42:06.723267 | 2016-02-17T21:03:46 | 2016-02-17T21:03:46 | 51,940,762 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 586,180 | 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>
// System.Predicate`1<System.Object>
struct Predicate_1_t_1076464049_0;
// System.Object
struct Object_t... | [
"amberm@mit.edu"
] | amberm@mit.edu |
e9beff6cc7a6364ec0192b5e0c0633cb82870cfe | 7b9796ed8ac2d1811d4b7b1867a9e47e1324d1b4 | /hybris/egl/platforms/hwcomposer/hwcomposer_window.h | f5208bdb52daf965a8c9bd88e5a7a6bcbcd58b00 | [
"Apache-2.0"
] | permissive | vamanea/hybris | 8a4d187a06470ff5c7c291183bfd231e91bce770 | 1868a00ba62026626b863665f0ded068f7ff0b71 | refs/heads/master | 2021-01-22T07:11:14.034851 | 2013-11-16T05:25:10 | 2013-11-16T05:25:10 | 14,051,362 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,870 | h | /*
* Copyright (C) 2013 libhybris
*
* 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 ... | [
"carsten.munk@jollamobile.com"
] | carsten.munk@jollamobile.com |
9c1f094341f2e9ea3d0b40064df4a0859eeebe61 | e9854cb02e90dab7ec0a49c65f658babba819d56 | /Curve Editor Framework/QT/src/corelib/statemachine/qabstractstate.cpp | ca183be84e30a456b5b0b035f4b8b1c50b76aff1 | [] | no_license | katzeforest/Computer-Animation | 2bbb1df374d65240ca2209b3a75a0b6a8b99ad58 | 01481111a622ae8812fb0b76550f5d66de206bab | refs/heads/master | 2021-01-23T19:46:13.455834 | 2015-06-08T21:29:02 | 2015-06-08T21:29:02 | 37,092,780 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,894 | cpp | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
**... | [
"sonyang@seas.upenn.edu"
] | sonyang@seas.upenn.edu |
ef55b3f5e8998b16449fb675db6e3cad561bfd69 | d238efe4b1f1999e8ef254201ddabc99dcd4fded | /c++/rio_lib/src/rio_lib/data.cc | dfb570b37aea65f69c9dd1e29bae62328a860bf3 | [
"MIT"
] | permissive | WaldJohannaU/3RScan | fccd2c342c0a7e86a4f38eaf2567e03b8d07c616 | 12f040d3dc849e394ed366acd7b54e63acb49205 | refs/heads/master | 2022-06-21T20:19:39.439416 | 2022-05-06T20:23:21 | 2022-05-06T20:23:21 | 211,139,161 | 132 | 16 | MIT | 2022-05-25T22:43:34 | 2019-09-26T16:55:23 | C++ | UTF-8 | C++ | false | false | 3,308 | cc | // dataset loader
#include <fstream>
#include <iostream>
#include "rio_lib/data.h"
Data::Data(const std::string& data_file) {
std::cout << "loading " << data_file << std::endl;
ReadJson(data_file);
}
void Data::ReadJson(const std::string& data_file) {
// Read json file and save its output.
std::ifst... | [
"johanna.wald@tum.de"
] | johanna.wald@tum.de |
97ca755c1c27a8393c66eef620b0da04d7486990 | 9ffca60e69fafff0c58aaf0be69250e7b5704200 | /LightOJ/1200-1299/1255.cpp | 965b09eb26b7eb50ec2f359f7cc2790dc8321eb2 | [] | no_license | rizky-bagus/Tsunemori-Akane | 344a4e0cbc4d144f236da7643454587408ad9783 | 28e5b9cac2b17f0ab90d41637618091affadef21 | refs/heads/master | 2020-07-12T00:40:51.942999 | 2017-01-31T19:37:55 | 2017-01-31T19:37:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
using namespace std;
const int maxn = 1000005;
char s[maxn], t[maxn];
int f[maxn];
int KMP() {
int n = strlen(s), m = strlen(t), ans = 0;
f[0] = -1;
for (int i = 1, j = -1; i < m; ++i) {
while (j >= 0 && t[i] != t[j + 1]) j = f[j];
if... | [
"shimi@hackerrank.com"
] | shimi@hackerrank.com |
24ea9649ddda63e2339d969cc5539cbe8fc59106 | 408f0fceec97ed5ec45b475a16001200925e74e4 | /SimpleShooting/Main.cpp | 91966527d90aa07458fb9f90f59794b6048eb630 | [] | no_license | a1502020/hello-siv3d | 69c47adb4f487b2c028335d2836bee52c4623b91 | 1f99318a55a9ada59375f5437448b5efeb28edee | refs/heads/master | 2021-01-20T18:23:43.841658 | 2016-06-24T00:09:44 | 2016-06-24T00:09:44 | 61,181,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,481 | cpp |
# include <Siv3D.hpp>
#include "OwnChar.h"
#include "EnemyChar.h"
#include "Shot.h"
#include <list>
using namespace std;
void Main()
{
// 自機 { 初期位置, 半径, 色, 速度 }
OwnChar me = { { 320, 400 }, 20,{ 255, 0, 0, 255 }, 6 };
// 自機の弾
list<Shot> ownShots;
// 自機の弾の発射間隔
const int32 shotInterval = 10;... | [
"a1502020@sendai-nct.jp"
] | a1502020@sendai-nct.jp |
ee1ae7d7d43d6a5d4d92a796d4ae3648105a9a5b | 29be7c52e05d32a4b02e6c0a1a6424abb2f60d57 | /fuse-qreader/Example/build/Android/Debug/app/src/main/include/Fuse.Gestures.SwipedHow.h | 14b032c2df5d54abfb941d583220a86af6dbbf4e | [
"MIT"
] | permissive | redtree0/CITOS-APP | 3b8cbc86fd88f6adb5b480035788eac08290c7a6 | 624f69770d8573dffc174f1f9540c22f19c71f14 | refs/heads/master | 2020-03-29T05:42:49.041569 | 2018-09-25T14:24:55 | 2018-09-25T14:24:55 | 149,594,359 | 0 | 0 | null | 2018-09-20T10:47:57 | 2018-09-20T10:47:57 | null | UTF-8 | C++ | false | false | 374 | h | // This file was generated based on C:/Users/채재윤융합IT학부/AppData/Local/Fusetools/Packages/Fuse.Gestures/1.9.0/Swipe.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Fuse{
namespace Gestures{
// public enum SwipedHow :521
uEnumType* SwipedHo... | [
"moter74@naver.com"
] | moter74@naver.com |
811b9476d8fe73225b61bcc0cb0609d5c5a57e0e | c2d270aff0a4d939f43b6359ac2c564b2565be76 | /src/net/socket/socket_test_util.cc | 363efd7e41bc9207e27ab26eed624dd5e6f6ddf8 | [
"BSD-3-Clause"
] | permissive | bopopescu/QuicDep | dfa5c2b6aa29eb6f52b12486ff7f3757c808808d | bc86b705a6cf02d2eade4f3ea8cf5fe73ef52aa0 | refs/heads/master | 2022-04-26T04:36:55.675836 | 2020-04-29T21:29:26 | 2020-04-29T21:29:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,072 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/socket/socket_test_util.h"
#include <inttypes.h> // For SCNx64
#include <stdint.h>
#include <stdio.h>
#include <algorithm>
#include <... | [
"rdeshm0@aptvm070-6.apt.emulab.net"
] | rdeshm0@aptvm070-6.apt.emulab.net |
6c6326b34078fea7d4e446d3d82b2c05d114dde2 | c411e49cdacb485415bcc3603feaa98f45e97963 | /AtividadeLaco/Programa15/main.cpp | 9226668bfc17fc667d62e7edc796855e6e2f79f4 | [] | no_license | Icoeer22/ProgramasC- | a5b256b8a3fbaf0ed982f326122ce8bfb0e0e8c9 | 51270adf362a491a469d46cf0066bf97a57edd5d | refs/heads/master | 2023-05-26T06:20:04.915905 | 2021-06-11T17:03:19 | 2021-06-11T17:03:19 | 362,957,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | cpp | #include <iostream>
#include <locale.h>
using namespace std;
int main()
{
setlocale(LC_ALL, "Portuguese");
int num, impar,par = 0,c;
for (c = 0; c <= 19; c++){
cout<< "Informe um valor: ";
cin>> num;
if(num % 2 == 0){
par ++;
}
else{
impar ++;... | [
"pabloaugustodequadros@gmail.com"
] | pabloaugustodequadros@gmail.com |
af04cc63127979f5b85157a0408e0468eb40eab3 | c4988fbdd3dd1f3b363997de3f87f9ae31d3f279 | /sdk/cpprest/api/OperatorInformationApi.cpp | a148fbdcc28d44fb32989af8ae128d6b8d4478ed | [
"Apache-2.0"
] | permissive | JonathanBlood/rtpi-swagger | f49683b2f25c10819415a32d63bec5afe375c228 | 3fa98394d06f50bef420de545e7f14b6457ccf60 | refs/heads/develop | 2020-03-28T22:59:35.820441 | 2017-06-17T15:53:43 | 2017-06-17T15:53:43 | 94,630,491 | 0 | 0 | null | 2017-06-17T15:55:37 | 2017-06-17T14:58:01 | C++ | UTF-8 | C++ | false | false | 6,656 | cpp | /**
* RTPI REST Web Services API
* <p>RTPI REST Web Services API (<a href=\"https://goo.gl/s6NTJe\">RRWS API</a>) provides REST interface to retrieve information on real time bus information, timetables and bus stops. </p> <p>Each method available in RRWS API will be invoked using plain HTTP Request (GET method). Dep... | [
"JonathanBlood2009@gmail.com"
] | JonathanBlood2009@gmail.com |
49f3e988d0b835ea9020a775d6e0c634b095820f | acbc9d24964a47850b8c3e02ceeacc3ad39fa854 | /playGround.cpp | 239b50865c5b03b0668e22059680cb42e74fbe63 | [] | no_license | Shung-2/Mystic_Art | 0906b3373728645dfe5010e382d7f7d44e9f984b | fc767c28b15fee19c922cacb4c62d815a9ebb991 | refs/heads/main | 2023-08-15T16:32:58.699567 | 2021-09-24T08:21:14 | 2021-09-24T08:21:14 | 409,871,910 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,958 | cpp | #include "stdafx.h"
#include "playGround.h"
playGround::playGround()
{
}
playGround::~playGround()
{
}
//초기화는 여기다 하세요 제발
HRESULT playGround::init()
{
gameNode::init(true);
/* SHIP 수업 내용 */
//IMAGEMANAGER->addImage("배경", "background.bmp", WINSIZEX, WINSIZEY, true, RGB(255, 0, 255));
//_ship = new spaceShip;
//... | [
"66060749+Shung-2@users.noreply.github.com"
] | 66060749+Shung-2@users.noreply.github.com |
ade1eda37ce4f24b3d890d1ccb765f4f6c4b73db | c5bbed363b5d4e887271faeb0361ae7ac6af8b82 | /binary search/18_staircaseSearch.cpp | 7643fb7da46d9e9aa00dd5d5ea7010d4354ebf55 | [] | no_license | adityachoudharyclg/codingFinalYear | f78be4d59086b1166274c1b0dece714d680c0acb | 9098ce79c65ec0e816b0c801a401a07c98eeb1af | refs/heads/master | 2023-02-12T21:45:22.026770 | 2020-12-31T23:46:49 | 2020-12-31T23:46:49 | 266,867,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | cpp | #include <bits/stdc++.h>
#define ll long long
#define mod 1000000007
using namespace std;
int solve(int arr[][500], int m, int n, int ele) {
int i = 0;
int j = n - 1;
while (i < m && j >= 0) {
if (arr[i][j] == ele) {
return 1;
} else if (arr[i][j] > ele) {
j--;
... | [
"33027155+adityachoudary54@users.noreply.github.com"
] | 33027155+adityachoudary54@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.