blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
de957429b9e19818345b6a720c08d1e3e8caa483 | 160bd07c6077d8cbb6986a37ac05ea72ab3ffcb5 | /core/GameEvent.hpp | 7cf09dcf95deea16df98eba7ce6dcc2c2969d7d5 | [] | no_license | TShipilova/Explode | 7d85efc49ec72ed06491b4bf05cd938832e17eb0 | 0f007d828b180d7d2695e98c2dd43848cce8509b | refs/heads/master | 2021-01-16T21:18:47.719421 | 2012-03-05T20:09:28 | 2012-03-05T20:09:28 | 2,670,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | hpp | /*
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 2012 ilusionoflife <illusion.of.life92@gmail.com>
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 Fou... | [
"illusion.of.life92@gmail.com"
] | illusion.of.life92@gmail.com |
9e2c77a27efb6e40c0e8f76904cebd3b02dbc20f | 9e6a0cbb6bc935a6de9906471670aefba74bf30c | /001-100/047-Permutations II.cpp | 5acb04ccc471575babe3e85ca1b517058b5b5d3d | [] | no_license | celeste95/LeetCode | 9f4c7e5e7bc93997ca21510ca7722bf9d3a9b59a | a59864e5d5d9337e3c6969d285bc2c08b594bdf4 | refs/heads/master | 2018-11-19T05:46:43.327878 | 2018-09-19T13:29:39 | 2018-09-19T13:29:39 | 109,639,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | cpp | class Solution {
public:
vector<vector<int>> permuteUnique(vector<int>& nums) {
vector<vector<int> > result;
sort(nums.begin(),nums.end());
permuteRecursive(nums, 0, result);
return result;
}
void permuteRecursive(vector<int> num, int begin, vector<vector<int> > &result) {
if (be... | [
"qduzhaopu@gmail.com"
] | qduzhaopu@gmail.com |
af08dd6b5d698d975d73b2d549f2b81da92a9cd4 | 2bb59245909d899b0a7706f8d060f1e60b270f93 | /lib/Basic/Builtins.cpp | e82a9b276d7b761b3aa3c74f0d504d82064e9c37 | [
"NCSA"
] | permissive | KatherineLeeYQ/Clang135359 | e2a03fb34b138b9195bb392232afa3dd1b404ef8 | b9b882a8a22da96327dfccaa4240065346c468f5 | refs/heads/master | 2020-04-18T03:49:09.782055 | 2019-01-23T16:32:05 | 2019-01-23T16:32:05 | 167,214,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,244 | cpp | //===--- Builtins.cpp - Builtin function implementation -------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------... | [
"katherineleeyq@163.com"
] | katherineleeyq@163.com |
96128a2567bd5dbddcea2211d94d4c61ab198e5b | 6ec65e2eaa27257c53a39a0c66d4787137a57c78 | /codechef/persq.cpp | f1b52a71186b61c8f77bba3f9a340a54141a15cb | [] | no_license | Manjunath-Jakaraddi/Competitive-Coding | 10514d27f98687b11da9c85eab0a1060a06fc0b8 | 8f1d0ebc871f0dab68297f1fe25c48bf97becc78 | refs/heads/master | 2023-08-18T05:21:37.127728 | 2023-08-13T08:01:25 | 2023-08-13T08:01:25 | 128,106,728 | 0 | 0 | null | 2023-09-05T21:21:58 | 2018-04-04T18:51:20 | C++ | UTF-8 | C++ | false | false | 232 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
long long x,n;
cin>>n;
long long mx=0;
while(n--)
{
cin>>x;
double nf=sqrt(x);
int ni=nf;
if((nf-ni)!=0.0) mx=max(mx,x);
}
cout<<mx<<endl;
return 0;
}
| [
"manjunath180397@gmail.com"
] | manjunath180397@gmail.com |
68a5bd78645b4df5576e8c76789c997f43410af6 | 8f6c90ccdc665902a8685c0721596b3016005b81 | /dia/codeCPP_classes de base - pour dia2code - SUITE - etape 2/AffLabel.cpp | 88f73101a36407093a9cc755c0b4740aed4e50c4 | [] | no_license | c-pages/gui | 680636880049f97e98ee2f06d9129b445f33f72f | bcc06972ba3cdaa631702c9c1c73ad15fa2952a3 | refs/heads/master | 2021-01-10T12:55:58.224743 | 2016-04-20T14:43:45 | 2016-04-20T14:43:45 | 47,876,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | /////////////////////////////////////////////////
// Headers
/////////////////////////////////////////////////
#include <AffLabel.h>
namespace gui {
/////////////////////////////////////////////////
AffLabel::AffLabel ()
: m_texte ( "Label" )
, m_texteSFML ( )
, m_texteTaille ( 10 )
, m_police ( )
{
}
////... | [
"kristoffe@free.fr"
] | kristoffe@free.fr |
f9b78f44d4ff73b996643f32093f036f4766782e | 9aee810d0d9d72d3dca7920447872216a3af49fe | /AOJ/AOJ2425.cpp | fd8dcbd1634e7bfb36913e1be0d97204872b989b | [] | no_license | pulcherriman/Programming_Contest | 37d014a414d473607a11c2edcb25764040edd686 | 715308628fc19843b8231526ad95dbe0064597a8 | refs/heads/master | 2023-08-04T00:36:36.540090 | 2023-07-30T18:31:32 | 2023-07-30T18:31:32 | 163,375,122 | 3 | 0 | null | 2023-01-24T11:02:11 | 2018-12-28T06:33:16 | C++ | UTF-8 | C++ | false | false | 3,021 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll=long long;
using vb=vector<bool>;
using vvb=vector<vb>;
using vd=vector<double>;
using vvd=vector<vd>;
using vi=vector<int>;
using vvi=vector<vi>;
using vl=vector<ll>;
using vvl=vector<vl>;
using pll=pair<ll,ll>;
using tll=tuple<ll,ll>;
using tlll=tupl... | [
"tsukasawa_agu@yahoo.co.jp"
] | tsukasawa_agu@yahoo.co.jp |
5100d638801d3b606845f50ef6bfaceab1290119 | 7789a225157b4699d807cecc308f892ab2324fac | /СППМИ1/slae.cpp | 78a18997e179e43a98253150a89b1e99a1f2df63 | [] | no_license | DrMonez/MPAMI | d542e0f35757e34fac022f4ac27e940f013445cc | 389ef897d59ddb7ebe917ccca69c9d17a8a120e6 | refs/heads/master | 2020-04-17T13:49:34.301806 | 2019-01-20T06:57:00 | 2019-01-20T06:57:00 | 166,631,750 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 4,777 | cpp | #include "1.h"
void slae::CreatePortrait()
{
int ggSize = 0;
/* векторы для хранения связей узлов */
vector<vector <int>> nodesLinks;
nodesLinks.resize(nodes.size());
/* идем по всем элементам */
for (unsigned int i = 0; i < elements.size(); i++)
/* идем по всем узлам элемента */
for (int j = 0; j < 4; j++)... | [
"iostaleksey@gmail.com"
] | iostaleksey@gmail.com |
893974eb409773f5302ebd735c180f292f911b9c | be860595af470b827379d1fd43e1df0496238e3a | /Use-Third-Party-Lib/xl/Win32/COM/InterfaceHelper/xlIWMPCoreImpl.h | c129040ec7312cfed37a25f063f0f0550a248942 | [] | no_license | HIT-Alibaba/COM-Example | ac77cd023263ad925c966fed0e4f8ea799c430f4 | 4076eb1de53b9c29985292317f5090d9e13bc714 | refs/heads/master | 2021-01-21T12:47:17.547585 | 2018-06-27T02:05:28 | 2018-06-27T02:05:28 | 32,778,835 | 13 | 1 | null | 2015-03-25T09:20:59 | 2015-03-24T05:49:44 | C++ | UTF-8 | C++ | false | false | 3,215 | h | //--------------------------------------------------------------------
//
// Copyright (C) Streamlet. All rights reserved.
//
// File Name: xlIWMPCoreImpl.h
// Author: Streamlet
// Create Time: 2012-09-01
// Description:
//
// Version history:
//
//
//------------------------------... | [
"skyline75489@outlook.com"
] | skyline75489@outlook.com |
af23cc48f62c956a8292fc6ba114daf46374aa8a | 4943d3a1b5c7ee48fb4ea960d4390d45e99da4fb | /testsocket/testsocket/BaseResponseMsg.h | 5ec60471e8a08fddad712fbf6d3bc367d9e1679b | [] | no_license | wwb0709/feichuan | 9f511b76296360afd2f52dc17ae772fa06bfb45a | 35b4a736643a1830bcd1f98d1a7c6713ab4ab94a | refs/heads/master | 2020-12-24T14:26:57.724718 | 2013-12-20T02:04:14 | 2013-12-20T02:04:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | h | #pragma once
//#include "chat_msg_req.pb.h"
/****
这个主要是把 从请求中得到的值 转化成 所需要的对象
*****/
#define M_SYNTHESIZE(varType, varName, funName)\
protected: varType varName;\
public: varType get##funName(void) const { return varName; }\
public: void setStringTo##funName(const char* str,const int myl){ varType baseres... | [
"wwb1111@163.com"
] | wwb1111@163.com |
a699587d6a04745fbd49c5c4bb6452b8971932f6 | ddec9e8d3475ed03c37787c5be3322a033b9d4db | /src/Texture2DArray.h | 716ff68fbd08a98de16cf47ff5222153b0830a38 | [] | no_license | hisayoshi-kaneda/mesh2volume | 771535a16dddfdeb87ce255190f811c86668b50a | bc7ad4adb5f6352386947d3918e122b862261586 | refs/heads/master | 2020-08-13T06:17:36.308883 | 2020-03-12T07:11:31 | 2020-03-12T07:11:31 | 214,923,595 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,400 | h | #pragma once
#ifndef TEXTURE2DARRAY_H
#define TEXTURE2DARRAY_H
#include "common.h"
class Texture2DArray {
public:
GLuint textureArrayId = 0u;
GLenum textureArrayUnit;
Texture2DArray(int width, int height, int LayerN, GLint internalformat, GLenum format, GLenum textureArrayUnit = GL_TEXTURE0)
: te... | [
"hisayoshi@kinta122.local"
] | hisayoshi@kinta122.local |
25dfa823ef76dfbf3321a1f5fb48c8b67aa72610 | fa325cdf292f22dbe3f212b1d33fbc3e61126738 | /Shock/Types/include/Shock/Types/Limits.hxx | f1eb4bec3953f51be6c61201c3e5d7c1a64cd063 | [
"BSD-2-Clause"
] | permissive | adamlwgriffiths/Shock | 2f3aa9e07fc1ae78323df2d0478c1f2835197d6e | 04f7530bcb44db7a5ba94e4aa5fff8698808c3ea | refs/heads/master | 2021-01-17T05:46:45.999095 | 2015-09-01T23:43:10 | 2015-09-01T23:43:10 | 2,908,865 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,852 | hxx | /*
* Limits.hxx
*
* Created on: 07/11/2010
* Author: adam
*/
#ifndef LIMITS_HXX_
#define LIMITS_HXX_
// ---------------------------------------------------------------
namespace Shock {
namespace Types {
// ---------------------------------------------------------------
template <>
inl... | [
"adam.lw.griffiths@gmail.com"
] | adam.lw.griffiths@gmail.com |
95da454dac6a84b8209ffbf2f087cfd67fef140b | b22ef51e237b3b5492eb3e8b4922485ab0975b33 | /rok_2/technologie_sieciowe/List_3/zadanie2.cpp | 2ebc6261bfca1553f18bb7c542b7e45ece0083ed | [] | no_license | GabrielWechta/warm_cedar | 6e71480e0ecada05b4a5ab19399110f404a9d1b3 | 0bad374d25fbe76d59299494c4b9d061f82c6e08 | refs/heads/master | 2021-12-09T10:14:59.352419 | 2021-12-08T21:41:01 | 2021-12-08T21:41:01 | 217,345,267 | 0 | 3 | null | 2021-11-22T17:57:44 | 2019-10-24T16:33:46 | Jupyter Notebook | UTF-8 | C++ | false | false | 3,640 | cpp | #include <iostream>
#include <cstring>
using namespace std;
class Feeder {
private:
int location = 0;
int signal_value = 0;
int signal_location = 0;
public:
static int canal[10];
explicit Feeder(int location, int id) {
this->location = location;
this->signal_value = id;
... | [
"wechtagabriel@gmail.com"
] | wechtagabriel@gmail.com |
5a7e5a2285335178ac0bad28863c673b1725cf09 | 33b567f6828bbb06c22a6fdf903448bbe3b78a4f | /opencascade/Aspect_Grid.hxx | cce1715371bd6c8c7375ffec18aa678da5fc1825 | [
"Apache-2.0"
] | permissive | CadQuery/OCP | fbee9663df7ae2c948af66a650808079575112b5 | b5cb181491c9900a40de86368006c73f169c0340 | refs/heads/master | 2023-07-10T18:35:44.225848 | 2023-06-12T18:09:07 | 2023-06-12T18:09:07 | 228,692,262 | 64 | 28 | Apache-2.0 | 2023-09-11T12:40:09 | 2019-12-17T20:02:11 | C++ | UTF-8 | C++ | false | false | 4,707 | hxx | // Created on: 1995-03-02
// Created by: Jean-Louis Frenkel
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the... | [
"adam.jan.urbanczyk@gmail.com"
] | adam.jan.urbanczyk@gmail.com |
041ee6b751bf623a8fa0a617f79e0107c1f284e7 | c45ed46065d8b78dac0dd7df1c95b944f34d1033 | /TC-SRM-577-div1-250/lh.cpp | 92ad12c79579487a725e521ee72ce9ec930883cf | [] | no_license | yzq986/cntt2016-hw1 | ed65a6b7ad3dfe86a4ff01df05b8fc4b7329685e | 12e799467888a0b3c99ae117cce84e8842d92337 | refs/heads/master | 2021-01-17T11:27:32.270012 | 2017-01-26T03:23:22 | 2017-01-26T03:23:22 | 84,036,200 | 0 | 0 | null | 2017-03-06T06:04:12 | 2017-03-06T06:04:12 | null | UTF-8 | C++ | false | false | 1,700 | cpp | #include<cstdio>
#include<string>
#include<vector>
#include<cstring>
#include<sstream>
#include<iostream>
#include<algorithm>
using namespace std;
class EllysRoomAssignmentsDiv1{
static const int maxn=1000;
int num[maxn],n;
static bool cmp(int a,int b){
return a>b;
}
__float128 C(int a,int b){
if (a<b) return... | [
"1370086082@qq.com"
] | 1370086082@qq.com |
81ab598d62ea53ed8713e3c34cc6d289d447ff4d | 3a0c6853c494347443209b7ff6bb8e2346569391 | /BPostroitStroku.cpp | 6703d21bf3e43c417f91bfc3b483a1a31af93bbd | [] | no_license | agul/contest-tasks | 9b6e5656f66394d3aba4442087d3fd27746c201f | 739ded97b34f9767433bb85744877de787ace636 | refs/heads/master | 2023-03-27T19:32:06.490883 | 2021-03-30T17:06:25 | 2021-03-30T17:06:25 | 259,159,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | cpp | #include "../algolib/cpplib/base/header.hpp"
class BPostroitStroku {
public:
void solve(std::istream& in, std::ostream& out) {
// out << "Case #" << ++test_id_ << ": ";
int testsCount;
in >> testsCount;
for (int test : range(testsCount)) {
int n, a, b;
in >> n >> a >> b;
const int eq = a - b;
std:... | [
"agul@yandex-team.ru"
] | agul@yandex-team.ru |
1671d04f371645b1fc5f30bcf9e9bc2c19c3d657 | 734e6d4ccf786427f697812aba26c2b0d04c8c94 | /chapter6_Functions/getFallDistance.cpp | e9754f10599a316a3a748b79930823ccf96b9978 | [] | no_license | tlaxson14/basic.cpp.programs | bb322724faa94776298eda98cc772f0541a8425d | ebeb29cc1ba1a310b4a17e46ac9a049bb2063ab9 | refs/heads/master | 2021-01-20T07:09:10.972498 | 2017-10-09T05:39:20 | 2017-10-09T05:39:20 | 89,954,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,892 | cpp | /******************************************************************
This program will take input for the number of seconds an object
falls to the ground. This value will be used in functions to
calculate and show the distance the object fell. The distance
formula uses the gravitational constant (9.8m/s^2) and the time
... | [
"TravisLaxson@Traviss-MacBook-Pro.local"
] | TravisLaxson@Traviss-MacBook-Pro.local |
c29345847317a6acc3eab911ea50f63f082ca36c | 85fd25ed72c1b8b447fea0b0588745173c215774 | /Lab05_Animal_Farm/Chicken.cpp | 011ee175719719df417ab02190df60934c3a3676 | [] | no_license | arjangupta/Programming-II-Labs | 20b2d4ae5dab0066a4a19f1ffc2388d54bf52ea4 | af8ac4eed230e4a11cc394df0b4a963efd571995 | refs/heads/master | 2022-11-22T15:50:45.663686 | 2018-02-05T00:40:13 | 2018-02-05T00:40:13 | 96,052,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp | /**
* @file : Chicken.cpp
* @author : Arjan Gupta
* @date : 2015.03.04
* Purpose: Implementation file for Chicken class, Lab 05, EECS 268
*/
#include "Chicken.h"
Chicken::Chicken()
{
m_name = "Chicken";
m_sound = "Cluck";
}
int Chicken::getEggs() const
{
return m_eggs;
}
void Chicken::setEggs(int eggs)... | [
"arjangupta95@gmail.com"
] | arjangupta95@gmail.com |
5f1669533f6eea1eeda148319b349fe5ff7f6cbf | e180e67156b4497c069a528c356296f76405a39d | /Main.cpp | e1b68d800f40231654a582f0f76b4e0584b53a01 | [] | no_license | Myoung11/Sales-Receipt-I | 94cd04735b2d0ab590db1b7481469ce13ca130f7 | 0da2d6f9775da9b0b5004b5f91b1851c26902db2 | refs/heads/master | 2020-07-03T08:10:17.927680 | 2019-08-13T04:30:42 | 2019-08-13T04:30:42 | 201,848,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,655 | cpp | // Matthew Young
// Temperature Conversion
/* Summary: This program is made to convert temperatures between
Celius and Fahrenheit. */
#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
double userTemp; // Variable for user inputed temperature.
char userDegree; // Variable for ... | [
"noreply@github.com"
] | Myoung11.noreply@github.com |
3426b867d0397520dcec2f3eda73072dcad45165 | fd240be9bdc92099986370a963038142de163c23 | /GAM541/AlienEngine/source/D3DManager.cpp | 96fb242558e400ddc576541c58c11aba5bce388d | [] | no_license | sshedbalkar/DigiPen_Projects | 14fd47fb4f985626c71123342b5ed53c0f5e085e | e2c645a4bbf3827495b4f8e3d5eb83c6f8ca2d55 | refs/heads/main | 2022-12-27T03:02:55.375419 | 2020-10-11T09:10:57 | 2020-10-11T09:10:57 | 303,081,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,793 | cpp | #include "D3Dmanager.h"
#include "VMath.h"
#include <iostream>
namespace Framework
{
//==================================================
D3DManager::D3DManager()
{
}
//==================================================
D3DManager::~D3DManager()
{
Shutdown();
}
//=======================================... | [
"sanoysyg@gmail.com"
] | sanoysyg@gmail.com |
1ebbc650cdb6053bdd0eb0c420e779b55d16f5b2 | 882112a6838b799e1ba636042bca4efb34924422 | /stm32/jt/TouchGFX/gui/include/gui/requeststopscreen_screen/requestStopScreenPresenter.hpp | dd22cb6593ff3c33ce6cee5033c70e399b3ea448 | [] | no_license | ipupiara/JoesTriac | 0434812723f5013bab8ab5f8f12dad241beb17f6 | fb0f6a2ec159a64f0208ed7d34b3c9579f864c3c | refs/heads/master | 2023-08-27T00:42:24.267125 | 2023-08-20T00:27:15 | 2023-08-20T00:27:15 | 28,038,562 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,059 | hpp | #ifndef REQUESTSTOPSCREENPRESENTER_HPP
#define REQUESTSTOPSCREENPRESENTER_HPP
//#include <gui/model/ModelListener.hpp>
//#include <mvp/Presenter.hpp>
#include <gui/JtPresenter.hpp>
using namespace touchgfx;
class requestStopScreenView;
class requestStopScreenPresenter : public JtPresenter
{
public:
requestStopS... | [
"Brigitte Walker"
] | Brigitte Walker |
8481afe22e8bf700d7b66316d9e9a7ac08eb397c | 1cc631c61d85076c192a6946acb35d804f0620e4 | /Source/third_party/boost_1_58_0/tools/inspect/deprecated_macro_check.cpp | 88ef4826bbc49e5043a0f517da65824f5364c720 | [
"BSL-1.0"
] | permissive | reven86/dreamfarmgdk | f9746e1c0e701f243c7dd2f14394970cc47346d9 | 4d5c26701bf05e89eef56ddd4553814aa6b0e770 | refs/heads/master | 2021-01-19T00:58:04.259208 | 2016-10-04T21:29:28 | 2016-10-04T21:33:10 | 906,953 | 2 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 4,222 | cpp | // deprecated macro check implementation ---------------------------------------------//
// Protect against ourself: boostinspect:ndprecated_macros
// Copyright Eric Niebler 2010.
// Based on the assert_macro_check checker by Marshall Clow
//
// Distributed under the Boost Software License, Version 1.0.
//... | [
"reven86@gmail.com"
] | reven86@gmail.com |
b9a42f32f35ac32b19c76902a95efc91a75dc2a9 | 4e3c4f30415062da425ad3058a0c1fed167e961e | /interview/03.02.cpp | f77ced2e2b9ab1e3e773d60aa90c93e7617a5598 | [] | no_license | jing-ge/Jing-leetcode | 7f423d94d3983076630f33e7205c0ef6d54c20d8 | ae428bd3da52bb5658f3a25fbbd395b24552a735 | refs/heads/main | 2023-08-22T12:19:12.861091 | 2021-09-29T03:15:24 | 2021-09-29T03:15:24 | 321,316,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,436 | cpp | // 面试题 03.02. Min Stack LCCI
// How would you design a stack which, in addition to push and pop, has a function min which returns the minimum element? Push, pop and min should all operate in 0(1) time.
// Example:
// MinStack minStack = new MinStack();
// minStack.push(-2);
// minStack.push(0);
// minStack.push(-3);
... | [
"675324370@qq.com"
] | 675324370@qq.com |
58ab3328b392299578b5acd13416612e7a54cedf | 4ca019d30f376af9cb4e97c4f80792c18772db1e | /PSME/common/ipmi/src/command/generic/force_hdd_boot_continuous.cpp | 6a8ffbd6810b19d284065e2394c8c6843fa3b00b | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-other-permissive",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | shingchuang/intelRSD | 0f56a6bff3b71ba1ec2edbddb781b9eaaac8d1d7 | a2939201dd4487acec88ca47657702378577c5cf | refs/heads/master | 2021-01-23T01:50:55.150654 | 2017-03-23T10:35:15 | 2017-03-23T10:35:15 | 85,937,247 | 0 | 0 | null | 2017-03-23T10:31:41 | 2017-03-23T10:31:41 | null | UTF-8 | C++ | false | false | 2,531 | cpp | /*!
* @section LICENSE
*
* @copyright
* Copyright (c) 2015-2016 Intel Corporation
*
* @copyright
* 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
*
* @copyright
* http://www.apach... | [
"maciej.a.romanowski@intel.com"
] | maciej.a.romanowski@intel.com |
abd57f8fd9061d6ddd30ca1dd6bdb16f940a455a | 1fdda85a365a07abdd13332ab11cdeb0a9f485cb | /src/system/PageAllocator.hxx | fe1ca49988775cb37e8b0bfc0f77a305f90dbc5b | [] | no_license | CM4all/libcommon | 5a568ca3fce1ab985ff2ed9464a044bebb5ec5d5 | 5827f2ccec15cf1fbdbffab308268fd7d9ac1943 | refs/heads/master | 2023-08-18T08:15:48.015497 | 2023-08-17T14:34:48 | 2023-08-17T14:51:45 | 95,901,877 | 19 | 10 | null | 2018-02-28T21:16:40 | 2017-06-30T15:34:34 | C++ | UTF-8 | C++ | false | false | 1,999 | hxx | // SPDX-License-Identifier: BSD-2-Clause
// Copyright CM4all GmbH
// author: Max Kellermann <mk@cm4all.com>
#pragma once
#include "util/RoundPowerOfTwo.hxx"
#include <cstddef>
#include <sys/mman.h>
static constexpr std::size_t PAGE_SIZE = 4096;
/**
* Round up the parameter, make it page-aligned.
*/
static const... | [
"mk@cm4all.com"
] | mk@cm4all.com |
a7d2af372e782c0904e826bca8841a1aa6d2e198 | 1ef54d94b9c267f91bf39995f5dedb67a6674b86 | /src/objects/js-date-time-format.cc | bd6ce963135143342bc1f5cf2dd45449c056f494 | [
"BSD-3-Clause",
"SunPro",
"Apache-2.0",
"bzip2-1.0.6"
] | permissive | snapre/v8 | db2dc9947678d5cc6288f17a6d39561da20176a5 | 8b2a322110c2c0e03b9e851a21ed0f575d70d01a | refs/heads/master | 2022-06-23T22:06:23.043074 | 2020-05-12T13:06:21 | 2020-05-12T13:42:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 77,288 | cc | // Copyright 2018 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
#include "src/objects/js-date-time-format.h"
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4b40a9d02a15ea63d2b3707f5548799606bd5f36 | 872720439e885c794b4e8871702a2f302747a2b0 | /2/2.cpp | 81b1d1272841bb459d23eec5b42183ce8718c443 | [] | no_license | aircode610/project-euler | 7aad5f6e4069dba63d47c76395f74481d656ec85 | a7f3b437f9a7dca8732d206923b3f64eb576ce57 | refs/heads/main | 2023-02-01T05:04:00.595141 | 2020-12-09T16:09:35 | 2020-12-09T16:09:35 | 314,654,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | #include <iostream>
using namespace std;
int main() {
int last = 0;
int cur = 1;
int sum = 0;
int exceed = 4000000;
while (cur <= exceed) {
int temp = cur;
cur += last;
last = temp;
if (cur % 2 == 0){
sum += cur;
}
}
cout << sum;
return 0;
}
| [
"aircode610@gmail.com"
] | aircode610@gmail.com |
6f55a3955a66e0335c60b980b02ec27ad00b8ac6 | cb6bfbc06a89cab995d4f0373fe7c88b2b594877 | /ctci_1.1_unique_chars_in_string/CTCI_1.1/CTCI_1.1.cpp | e25a0684bc90a4ff701ad8523819e0498a6cfb2e | [] | no_license | kelchuri/CPrograms | a9dfdfd41943245b9893dd24ab4181c8fcda8dda | 232698eeed3fc48c3d984ae9c847e2ab07753b06 | refs/heads/master | 2021-01-17T14:34:29.232966 | 2017-03-06T15:54:56 | 2017-03-06T15:54:56 | 84,089,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | // CTCI_1.1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "malloc.h"
int len(char *str)
{
if(*str==NULL)
return 0;
else return 1+len(++str);
}
bool check_string1(char *ip)
{
int temp;
if(len(ip)>256) return false;
int char_set[256];
int length... | [
"kavya@20deg.com"
] | kavya@20deg.com |
749fa9461ba8e0f3bd0a61d73a7f6cf12b702f04 | f0d67609680ed3a29bf2787fa8d058740602471b | /Modules/plot/plotAzimuthTest.cc | bebdc25f158ff3229b2284cef85ba0fb759e816a | [] | no_license | liq07lzucn/work | 2575ff431d17b0535baccf4b1e304e104d142454 | 1a49c4e3466136e4664a709ffba5e505b59d1737 | refs/heads/master | 2021-09-18T18:14:43.161823 | 2018-07-18T03:43:37 | 2018-07-18T03:43:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,203 | cc | // Bradley Manning 5/2018
#include <vector>
#include <string>
#include <iostream>
#include <fstream>
#include <math.h>
#include <sstream>
#include <iomanip>
#include <vector>
#include "TVector2.h"
#include "TROOT.h"
#include "TSystem.h"
#include "TStyle.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TMultiGraph.h"
... | [
"bradley.manning@adelaide.edu.au"
] | bradley.manning@adelaide.edu.au |
b31c73e9c0131f6c7c8f27ded00c1dc2de020f42 | 43c4a41448dc7ddcec8441f38b5ae0a86f8db7dc | /AutoDiff/third_party/uxn/patl/partial.hpp | 3c7d53b3dc9711f4e7dee3d34958bcc6ee8f4523 | [] | no_license | msupernaw/ATL1 | 4473c9f7ba1b64f6562e8406d7b0dfe639911e56 | 72cf1f73725eb3e8eb69c3ddd0445ee28eaa46e5 | refs/heads/master | 2021-06-13T18:26:45.568944 | 2017-02-23T14:02:28 | 2017-02-23T14:02:31 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 4,562 | hpp | #ifndef PATL_PARTIAL_HPP
#define PATL_PARTIAL_HPP
#include "impl/partial_base.hpp"
namespace uxn
{
namespace patl
{
/// параметры шаблона: класс контейнера и флаг совпадения длин маски и ключа
/// (для суффикс-контейнеров имеет смысл только false)
template <typename Container, bool SameLength = false>
c... | [
"msupernaw@gmail.com"
] | msupernaw@gmail.com |
82cd8b9bb1c67c8479d845b6814365b5a387f9d0 | 7f6ac4ddeb50598df0b7ce1b9c69114448152c77 | /slovoed/libraries/shdd.engine.components.sdc/Engine/SldMetadataManager.cpp | f43132fd137f7cf2888b35f97a8337e8c7209921 | [] | no_license | dictcore/paragon_slovoed_ce | b463ee9980a83637c5d0502d450bf64d3232e70f | c414f795864b9b6509f1571e2bb111cdc584ba16 | refs/heads/master | 2022-11-14T22:49:40.385222 | 2020-06-11T09:17:14 | 2020-06-15T13:44:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,368 | cpp | #include "SldMetadataManager.h"
#include "SldMacros.h"
#include "SldMetadataTypes.h"
#include "SldStringStore.h"
#include "SldTools.h"
#include "SldUtil.h"
namespace {
template <typename T> struct struct_size_helper { static SLD_CONSTEXPR_OR_CONST size_t value = sizeof(T); };
template <> struct struct_size_helper<T... | [
"Semyon.Remizov@paragon-software.com"
] | Semyon.Remizov@paragon-software.com |
3794526067a5aae71cb73efeb8d7cfe77619c583 | 24007f6caf93a62890c3ee695ee6e29bbc0a4195 | /ID10137_TheTrip.cpp | 448104616f1d0b6697f40395f0852b6791ec35ba | [] | no_license | rafaeljack3/UVA-Online-Judge | 5219b392f0dd663b655f743197d0c6a59551bd91 | abfe5b85e39681fee004290b0f78e56e68c640e7 | refs/heads/master | 2023-02-11T04:48:00.810248 | 2021-01-10T17:40:37 | 2021-01-10T17:40:37 | 293,811,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | cpp | /* @JUDGE_ID: 10137, C++ "The Trip" */
/* @BEGIN_OF_SOURCE_CODE*/
#include <stdio.h>
#include<iostream>
#include <stdlib.h> /*Character handling functions*/
#include<string.h>
using namespace std;
const int INF = 0x3F3F3F3F;
const int NULO = -1;
const double EPS = 1e-10;
double MONEY_SPENT[1024];
... | [
"noreply@github.com"
] | rafaeljack3.noreply@github.com |
f3ae6ab537e861e1ebf0c3703bcdee8129f7d68d | c0f2a8b1df53f312f96cbf9e1e0c9e38f15961b0 | /kratscoin/src/wallet/feebumper.h | 14440d7d319ac4431d5f4589e03efdf6bf4e7dd8 | [
"MIT"
] | permissive | kratscoin/kratscoin | 918da525547822246b36de90fc91bbdc0ff848eb | 2f976f1dd747eb59b59a2b1f13c08fef0d852ac3 | refs/heads/master | 2020-09-11T12:23:56.612958 | 2020-04-26T18:35:46 | 2020-04-26T18:35:46 | 222,062,656 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,875 | h | // Copyright (c) 2017-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef KRATSCOIN_WALLET_FEEBUMPER_H
#define KRATSCOIN_WALLET_FEEBUMPER_H
#include <primitives/transaction.h>
class CWallet... | [
"kevin.ho@flochip.com"
] | kevin.ho@flochip.com |
1d1ac596001553028d02bf122ecc937a26362795 | fafaa4cd9bc46e8426af6e173e976c9c74098030 | /my_server/AccountServer/MsgAccount.cpp | 028ba6b452530bb2cc28c4ea5d1aadb4b4085acc | [] | no_license | XinJiangQingMang/fight | 2c7cf0af9a3f027eda7b355c193041160053d4a0 | 41846b583064f2c576d3f238aebcebcbb3bafd17 | refs/heads/master | 2021-06-12T05:31:38.338725 | 2016-12-11T05:08:17 | 2016-12-11T05:08:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,773 | cpp |
//**********************************************************
// 代码编辑器
//**********************************************************
// MsgAccount.cpp: implementation of the CMsgAccount class.
//
//////////////////////////////////////////////////////////////////////
//#include "AllMsg.h"
//#include "Account.... | [
"337918198@qq.com"
] | 337918198@qq.com |
0f54164e15681c6272d6e414fa9c3b89ee344846 | 903641d08888dbaa881f3f4183f79692831dd65e | /tutorial12/Source/GLWidget.cpp | 0f3c7f8bcbc8c84f65782b3bdaca51b8825ae479 | [
"Apache-2.0"
] | permissive | LouisParkin/LearnOpenGL | 48250ee993473505aa86fbd8f987307c86d0c0f1 | bd63bb2db151361474c4350b5bcc7816d385d6ee | refs/heads/master | 2020-12-24T21:28:24.639593 | 2016-04-26T14:43:39 | 2016-04-26T14:43:39 | 56,861,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,949 | cpp | #include <stdio.h>
#include <string.h>
#include <math.h>
#include "GLWidget.h"
#include <GL/glut.h>
#include <QThread>
#define WINDOW_WIDTH 1024
#define WINDOW_HEIGHT 768
int GLWidget::_myGlutWindow = 0;
GLuint GLWidget::_VBO = 0;
GLuint GLWidget::_IBO = 0;
GLuint GLWidget::_gWorldLocation = 0;
GLuint GLWidget::_... | [
"louis.parkin@gmail.com"
] | louis.parkin@gmail.com |
d54662d8304eeb37f3f6fd57ae9c26275363e556 | ed75c597fc752fd772f5adbe32d96bc661d2944b | /IscDbc/IscColumnKeyInfo.cpp | 9c73989779da142d243d9393d7c563a4e753b764 | [] | no_license | aafemt/firebird-odbc-driver | 794a910fa7687bd60de819b77883a6fa25e0b460 | 6866d6d711f5cf3e2efefe616828da901c944aec | refs/heads/master | 2023-07-05T19:03:41.646155 | 2021-08-06T11:43:24 | 2021-08-06T11:43:24 | 273,476,598 | 3 | 0 | null | 2020-06-19T11:23:27 | 2020-06-19T11:23:26 | null | UTF-8 | C++ | false | false | 2,284 | cpp | /*
*
* The contents of this file are subject to the Initial
* Developer's Public License Version 1.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.ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_idpl... | [
"paul_reeves@users.sourceforge.net"
] | paul_reeves@users.sourceforge.net |
f7ad9f66216890ea2547ec5f8cc844f27f4ab2a4 | f1c3330e168b81196cf2b5d2a032385ca08d693a | /inst/src_07_31_18/DemandF.hpp | 55ae056eaeb87b9dfc1119ce8ecb47850b438fdd | [] | no_license | joearossetti/Rrcgev | c1c8773cd8075f52bcceafe2c06e5b7e69b91051 | 70d3c1420f2d12377f4e50c586838aada461ac63 | refs/heads/master | 2020-03-22T22:29:02.506082 | 2018-08-19T01:04:27 | 2018-08-19T01:04:27 | 140,753,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,299 | hpp | #ifndef DEMANDF_HPP
#define DEMANDF_HPP
#include <Rcpp.h>
#include <RcppEigen.h>
//#include <stan/math.hpp>
// [[Rcpp::depends(RcppEigen)]]
template<const int NUM_PRODUCTS, const int NUM_DRAWS>
class DemandLogitF {
public:
DemandLogitF() {
J = NUM_PRODUCTS;
N = NUM_DRAWS;
N_ = 1 / (double) N;
u_opt_... | [
"joe.a.rossetti@gmail.com"
] | joe.a.rossetti@gmail.com |
8dd8869f300f38cad7c90da6fd35c41312c03e9c | 28e6f75b71bb38ca3b0164c5b72c38ab40460518 | /190110/2294.cpp | 9f45857a77a775d9dffd5099ee993bd2f8625fa9 | [] | no_license | spicyyou/BOJ | 1c1acf2473880d464cc6a3df270f08a0476bd574 | babb82eddc1c97cbc78711a86a1d965ef753046a | refs/heads/master | 2022-11-20T01:10:18.780947 | 2020-07-14T06:12:39 | 2020-07-14T06:12:39 | 149,769,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | #include<iostream>
#include<stdio.h>
#include<utility>
#include<vector>
#include<algorithm>
#include<stack>
#include<string.h>
#include<queue>
using namespace std;
int coin[105];
int dp[10005];
int main() {
int n, k;
cin >> n >> k;
for (int i = 0; i < n; i++) {
scanf("%d", coin + i);
}
for (int i = 1; i <= k; ... | [
"hyj5419@hanyang.ac.kr"
] | hyj5419@hanyang.ac.kr |
2b86faefe8fbf9a2a0bcd5b831d5f7e2e78513e7 | b7e38c7d1598dd459c33fb6522b0009acce7a30d | /13. 탐욕 알고리즘/거스름돈/거스름돈/main.cpp | 1af9a913edf9de4fd5d46c068b21ddcd40f38083 | [] | no_license | reach0908/BOJ | a31def6073f7c2c427815db3a847370d5b27da0b | 582af2e9a16df384828277b507f0b86f21093e4d | refs/heads/master | 2023-04-06T08:23:09.026918 | 2021-04-18T14:37:07 | 2021-04-18T14:37:07 | 289,498,306 | 1 | 0 | null | 2021-04-18T14:37:08 | 2020-08-22T14:00:33 | C++ | UTF-8 | C++ | false | false | 436 | cpp | //
// main.cpp
// 거스름돈
//
// Created by KJH on 2020/09/17.
// Copyright © 2020 KJH. All rights reserved.
//
#include <iostream>
using namespace std;
const int taro=1000;
int coin[6]={500,100,50,10,5,1};
int main() {
int N;
cin >> N;
N=taro-N;
int count =0;
for (int i=0; i<6; i++) {
... | [
"wlsghkim0908@gmail.com"
] | wlsghkim0908@gmail.com |
a9b5365b45a04878ea7eb4ea8d0d94447b3bbd8d | a75bfdb61d2bfa20f71d2a1548188db18a8e5e6d | /spoj/ACPC11B.cpp | 01b458c344b4bbafe8327c81cd4068bcb59b1d3f | [] | no_license | Ra1nWarden/Online-Judges | 79bbe269fd35bfb1b4a5b3ea68b806fb39b49e15 | 6d8516bb1560f3620bdc2fc429863a1551d60e6a | refs/heads/master | 2022-05-01T17:50:00.253901 | 2022-04-18T06:55:25 | 2022-04-18T06:55:25 | 18,355,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | #include <cstdio>
#include <algorithm>
#include <cmath>
using namespace std;
const int maxn = 1000;
int v0[maxn+5];
int v1[maxn+5];
int s0, s1;
int main() {
int tc;
scanf("%d", &tc);
while(tc--) {
scanf("%d", &s0);
for(int i = 0; i < s0; i++)
scanf("%d", &v0[i]);
sort(v0, v0 + s0);
scanf(... | [
"wzh19921016@gmail.com"
] | wzh19921016@gmail.com |
f3e0b51d05e28489935538c704b5913c0571ce1b | a5103b7d5066138ac1a9aabc273361491a5031cd | /c++/cs106B/build-sample-project-Desktop_Qt_5_12_2_GCC_64bit-Debug/moc_gtextfield.cpp | 8efc7bbd828b6015dae529e96c19a23923329ab9 | [] | no_license | mckjzhangxk/deepAI | 0fa2f261c7899b850a4ec432b5a387e8c5f13e83 | 24e60f24b6e442db22507adddd6bf3e2c343c013 | refs/heads/master | 2022-12-13T18:00:12.839041 | 2021-06-18T03:01:10 | 2021-06-18T03:01:10 | 144,862,423 | 1 | 1 | null | 2022-12-07T23:31:01 | 2018-08-15T14:19:10 | Jupyter Notebook | UTF-8 | C++ | false | false | 9,482 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'gtextfield.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"mckj_zhangxk@163.com"
] | mckj_zhangxk@163.com |
0caab13613e3df780a288185b1fcc5fe4091d9f3 | 7b1fc061cb7068b60c3fb029e9a4995ca2285240 | /imu_tcp_client.h | 031daf9a6ab748cb3d6587fc9f2eeac84aff04d0 | [] | no_license | AlexanderHazard/Motion_RC | 5f71633a43c3c6f02a7d9fbece953bf45e6798c3 | 03990d9e128ead10398ca1090205ca3a32a21158 | refs/heads/master | 2016-08-06T00:04:54.716836 | 2015-08-28T10:34:43 | 2015-08-28T10:34:43 | 33,239,277 | 0 | 0 | null | 2015-04-01T12:25:20 | 2015-04-01T09:39:38 | C++ | UTF-8 | C++ | false | false | 1,103 | h | #ifndef IMU_TCP_CLIENT_H
#define IMU_TCP_CLIENT_H
#include <QObject>
#include <QTcpSocket>
#include <QTime>
#include <QtEndian>
#include <QDataStream>
class IMU_Tcp_Client : public QObject
{
Q_OBJECT
public:
IMU_Tcp_Client(QString, int, QTcpSocket*);
private:
QString IP = "192.168.88.36";
int PORT... | [
"sasa.guldin@gmail.com"
] | sasa.guldin@gmail.com |
92590ecf7d278f2323a0fc4a274d43575023784c | f16ca93a097425dd80012deb14fa5840b87eb650 | /Common/Base/Types/hkRefVariant.h | abdbea600066fe34e32180042a43a0b63cb55e52 | [] | no_license | Veryzon/havok-2013 | 868a4873f5254709b77a2ed8393355b89d2398af | 45812e33f4bd92c428866e5e7c1b4d71a4762fb5 | refs/heads/master | 2021-06-25T23:48:11.919356 | 2021-04-17T02:12:06 | 2021-04-17T02:12:06 | 226,624,337 | 4 | 1 | null | 2019-12-08T06:21:56 | 2019-12-08T06:21:56 | null | UTF-8 | C++ | false | false | 2,131 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secr... | [
"veryzon@outlook.com.br"
] | veryzon@outlook.com.br |
ff838a8a3af2864504cbae8173db60adea070605 | b161aed1e38692e69e67ef9c2a2e2bae7171829b | /mosaics/maptiles.cpp | 5929d6582813e2c5457fc9071be8197b03180e14 | [] | no_license | Xuefeng4/Data_structure-Algorithm | 4a0f9c5e37f0fe843f6000af21a2f92dbf709bc6 | 38dc1e093831df78875220acdf4944a12f5b1bab | refs/heads/master | 2020-05-24T09:31:28.260754 | 2019-05-17T12:35:19 | 2019-05-17T12:35:19 | 187,207,764 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,314 | cpp | /**
* @file maptiles.cpp
* Code for the maptiles function.
*/
#include <iostream>
#include <map>
#include "maptiles.h"
//#include "cs225/RGB_HSL.h"
using namespace std;
Point<3> convertToXYZ(LUVAPixel pixel) {
return Point<3>( pixel.l, pixel.u, pixel.v );
}
MosaicCanvas* mapTiles(SourceImage const& theSourc... | [
"ivenqin@yahoo.com"
] | ivenqin@yahoo.com |
b96e1e2e22b4cb04183d483c1abc8c3eee1338cf | 1ab795776e7bb1e4d98b6b501a7c18f67ef2fce6 | /app/src/main/cpp/FFmpegAudio.h | eb30b41192236245cadd35a17ce9b227faba5bfa | [] | no_license | packll/AndroidFFmpegDemo | 55c46e06a600b841108470953d305a85b8eccc71 | 9eed877cdc53c6cda7f9cadea8d51eb9ad94a4c9 | refs/heads/master | 2022-12-05T01:13:35.023624 | 2020-08-31T12:32:28 | 2020-08-31T12:32:28 | 291,708,841 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | h | //
// Created by packll on 2017/9/27.
//
#ifndef FFMPEGMUSIC_FFMPEGAUDIO_H
#define FFMPEGMUSIC_FFMPEGAUDIO_H
#include <SLES/OpenSLES_Android.h>
#include <queue>
extern "C"
{
#include "Log.h"
#include <libavcodec/avcodec.h>
#include <pthread.h>
#include <libswresample/swresample.h>
class FFmpegAudio{
pu... | [
"liulei@yuewen.com"
] | liulei@yuewen.com |
b9a9ae0efd792960720b2084ea3bf32269e91f1c | ce487ef338233e2dda51e4fd4dd38d70e2dfe72d | /HelloParameter.cpp | c67efa8d593cc4fcfe464edf66518041bb988d09 | [] | no_license | ns-prof-theres/CheckWindowsUsers | f99218c0f9d4b6068ccdd2b06d4662ff20b946b5 | 84707b761c67d91d006a7aa08e088b9fca2b6004 | refs/heads/main | 2023-08-30T04:12:51.289837 | 2021-11-15T22:53:26 | 2021-11-15T22:53:26 | 428,441,647 | 0 | 0 | null | 2021-11-15T22:32:39 | 2021-11-15T22:32:38 | null | UTF-8 | C++ | false | false | 325 | cpp | // HelloParameter.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
int main(int argc, char const* argv[])
{
std::cout << "Hello Parameter!\n";
for (int i = 0; i <= argc; i++)
{
printf("Argument %d/%d: %s\n", i, argc, argv[i]);
}
return ... | [
"noreply@github.com"
] | ns-prof-theres.noreply@github.com |
f5e27268b99f5713d9c1fed659c5be0e52c0502a | 4ca8ae1f7732d8022e5f8736b0dda4658053ef60 | /QHacksArduino/QHacksArduino.ino | 957cca35c22c058399ca16cbedf6899deb1be298 | [] | no_license | vhenri/Find-The-Pots | 4c828110b4c22be4ef9951a48c1b94c419f54b53 | ccd704e447c6963a43e77985171afea4e0b13bf9 | refs/heads/master | 2021-01-09T06:18:01.441543 | 2019-02-20T01:38:36 | 2019-02-20T01:38:36 | 80,956,499 | 1 | 1 | null | 2017-02-04T23:47:10 | 2017-02-04T23:47:09 | null | UTF-8 | C++ | false | false | 1,170 | ino |
#include <Wire.h>
// This #include statement was automatically added by the Particle IDE.
#include "MMA7660.h"
MMA7660 accelerometer;
void setup()
{
accelerometer.init(); //prep accelerometer
Serial.begin(9600);
}
void loop()
{
int eventType; // 0=no event, 1=minor, 2=moderate, 3=major
int count = 0;... | [
"rinaruthfellenz@hotmail.com"
] | rinaruthfellenz@hotmail.com |
3bdab40290c347ba0111bad414ab67423c9fbfc4 | 5a1d6732a2e48fc8a363730a486cc0e34d45d4b1 | /Box2D_v2.3.0/Box2D/Testbed/Framework/Test.h | 6a2c3e41a922f6981426eec26b0847148e4fbc29 | [
"Zlib"
] | permissive | svenboogaartalten/box2d | 5203212e444123085422e085d5e162c56d753c82 | bd4931f71fb7245c1e4c7f5cb62f2c0ecf4681d3 | refs/heads/master | 2021-07-18T14:04:03.236013 | 2017-10-23T07:10:12 | 2017-10-23T07:10:12 | 106,567,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,843 | h | /*
* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... | [
"sven.van.den.boogaart@alten.nl"
] | sven.van.den.boogaart@alten.nl |
da73e1cf575ddc22e13b4fc709fa7a7cad8e2085 | a9ab72c3dd7fdfe8b6e0b1b5e296bf4c39b9989d | /round2/leetcode163.cpp | c822dba23b5aee5b942fc62a902a9f6f51c2b330 | [] | no_license | keqhe/leetcode | cd82fc3d98b7fc71a9a08c5e438aa1f82737d76f | 86b2a453255c909f94f9ea3be7f2a97a6680a854 | refs/heads/master | 2020-12-24T06:38:15.444432 | 2016-12-07T19:15:02 | 2016-12-07T19:15:02 | 48,405,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,133 | cpp |
class Solution {
public:
vector<string> findMissingRanges(vector<int>& nums, int lower, int upper) {
vector<string> res;
int left = lower-1;//notice here
if (nums.empty()) {
string t;
if (lower < upper)
t = to_string(lower) + "->" + to_string(upper);
... | [
"keqhe@cs.wisc.edu"
] | keqhe@cs.wisc.edu |
4c4f4e438b74d375a23168d6c1c2d2c11b1bfdb1 | 0e509498781d9f1bbd8fa51d21bd793666611565 | /main.cpp | 71cfbea177295951d9533979781bbdc64ebd1b5b | [] | no_license | stanleyHayes/cplusplus | 5540869e85b3ea0f8b3f380f4e664d91e28661fa | 6ce2b0f18ecb41fa7d0a940530ab0b2bc6ee7244 | refs/heads/master | 2022-12-12T22:08:21.238119 | 2020-09-08T11:26:51 | 2020-09-08T11:26:51 | 293,789,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | cpp | #include <iostream>
int main() {
//:: scope resolution operator which tells the compiler
//which namespace the object cout is from in this case std
std::cout << "Hello, Object-Oriented Programming!" << std::endl;
return 0;
} | [
"hayfordstanley@gmail.com"
] | hayfordstanley@gmail.com |
91ede37762b7335c2ca519054e4c0cd9a9637166 | 193aacd05d997604655a0872bbe1604f4585dc29 | /sachin codes/chef and stones.cpp | 4bd43c341972a5339c6d62fb1867d72922c4c505 | [] | no_license | NEERAJISM/codes | b27e375313b1c1c8c002f76159cb1160706c9eea | 9f770d7b2dbfbe0f12f235089dcdac7dfe370887 | refs/heads/master | 2021-01-19T11:10:31.721972 | 2016-07-30T05:27:41 | 2016-07-30T05:27:41 | 60,888,241 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | #include<iostream>
#include<stdio.h>
using namespace std;
int main()
{
int t,i,n,x;
long long int a[100002],b[100002];
long long int r,max,k;
scanf("%d",&t);
while(t--)
{
scanf("%d%lld",&n,&k);
for(i=0;i<n;i++)
scanf("%lld",&a[i]);
for(i=0;i<n;i++)
scanf("%lld",&b[i]);
max=0;
fo... | [
"8patidarneeraj@gmail.com"
] | 8patidarneeraj@gmail.com |
1e006d02953edc123169e9995491c88d707f7ba2 | d2614abcdf6226b83e9a9e0cf52ed2f1ebe171f0 | /vendor/github.com/google/go-jsonnet/cpp-jsonnet/case_studies/fractal/tilegen/mandelbrot.cpp | d12ce2b515981bfe1ffb6653915686f7979178a7 | [
"Apache-2.0"
] | permissive | BenHall/kubeless | 168605fce83ac352bddde5f8f694917c83f5ad45 | 398d0ee779d848655cf34dd28739f68a2f7bac8a | refs/heads/master | 2020-03-14T07:23:52.793507 | 2018-04-27T16:42:29 | 2018-04-27T16:42:29 | 131,504,015 | 0 | 0 | Apache-2.0 | 2018-04-29T15:01:29 | 2018-04-29T15:01:29 | null | UTF-8 | C++ | false | false | 4,427 | cpp | /*
Copyright 2015 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | [
"noreply@github.com"
] | BenHall.noreply@github.com |
94e0e2876255300ecf5aa85ed6bca839f517018d | 9b143d707d19e821eac25076511248e47573ff24 | /progcomp/aula2/cost_cutting.cpp | 2502b9a44815ba77afa507fd719726953f02e120 | [] | no_license | Joao-Luz/graduacao | d43870959c59c8b82795ad44e79a43bf74180aff | 17829b8a7c137d983e9364705ee3386ed6ee0171 | refs/heads/main | 2023-04-26T04:20:04.062711 | 2021-05-22T19:51:22 | 2021-05-22T19:51:22 | 322,866,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main(){
int t;
cin >> t;
for(int i = 0; i < t; i++){
vector<int> s;
int a, b, c;
cin >> a >> b >> c;
s.push_back(a);
s.push_back(b);
s.push_back(c);
sort(s.begin(... | [
"jlllima5@gmail.com"
] | jlllima5@gmail.com |
e3a6d4d28180ff2e32fac09da22b846e0a5fe399 | 2f4ecef9bb43a9f8468ddd08842124fb64aa7035 | /Source/Engine/Engine/Effect/Effect.h | 9cb7964a4676fe20b9e8beadf52ae85cf71e9c5d | [] | no_license | sandcastle-studios/GameEngine | f745849a087b488d1302666190679253daa3ea9b | 4feee60bfe7ab414346e5453cf593b521ae6e605 | refs/heads/master | 2020-02-26T15:32:50.033865 | 2016-10-01T18:49:11 | 2016-10-01T18:49:11 | 68,903,862 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | h | #pragma once
struct ID3D11InputLayout;
namespace ENGINE_NAMESPACE
{
class VertexShader;
class PixelShader;
class InputLayout;
class Effect
{
public:
Effect();
~Effect();
void AttachVertexShader(const std::string & aFileName, const char * aEntryPoint);
void AttachPixelShader(const std::string & aFileNa... | [
"erik.paldanius@gmail.com"
] | erik.paldanius@gmail.com |
844679be35de8eb603c7d441f004a1462b0dc598 | 1b34aca1738f45518f94d1f0ff1556ad67e82f35 | /Managers/attributemanager.h | f852627fea20da6172997306708a72cfc0375a01 | [] | no_license | pasbi/Splines | f8eea3f7c7a5dd5b955b9c4f3c65f2c0e8722665 | b39340f4007c473a6f31a47095d8c733c75e9afa | refs/heads/master | 2021-05-31T23:57:48.341743 | 2015-11-24T14:39:30 | 2015-11-24T14:39:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | h | #ifndef ATTRIBUTEMANAGER_H
#define ATTRIBUTEMANAGER_H
#include <QTabWidget>
#include <Objects/object.h>
#include <QVBoxLayout>
#include <QScrollArea>
#include "AttributeWidgets/attributewidget.h"
#include "dockablemanager.h"
class AttributeManager : public DockableManager
{
Q_OBJECT
public:
explicit Attribute... | [
"pascal.bies.42@gmail.com"
] | pascal.bies.42@gmail.com |
b8acc1e8a40622aa046843d9cc55c83bb7e7327d | 4f5ac67bfd7e78919b610938fe3c804a0c7a5f2f | /node/TestReceiver.cpp | af74ee69b8f4a909c9cda0e2ca6819b5f911e3ae | [] | no_license | StephenBrownCS/big-buck-pi | 55cbb9deb86a9b57afa9fc69f1bce7af8ff73664 | 4257b0e9ca63152425f36662bc5b3404814ddea3 | refs/heads/master | 2020-04-14T23:47:15.197746 | 2013-12-18T01:19:12 | 2013-12-18T01:19:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,429 | cpp | #include <iostream>
#include <arpa/inet.h>
/*
A program for posing as a master tablet - used for testing the nodes and
name server.
*/
#include "ListeningSocket.h"
#include "SendingSocket.h"
#include "Packet.h"
#include "UDPPacket.h"
#include "BigBuckPacket.h"
#include "Utility.h"
#include "HostAndPort.h"
#i... | [
"StephenBrownCS@gmail.com"
] | StephenBrownCS@gmail.com |
29f10f9306d01c58bb7bac3b0fb2e08517bd05a7 | 19ed92ab4031b6edfd2243dc89be30327c7c52a2 | /lume_fw/lcd1200.cpp | 0ec3b57499fe6a8e3a136aea44660ba43eee704b | [] | no_license | Kreyl/Lume | 7b51b1e916c170d045a7740a501c678a6b03046a | ad658d63ee66db557d751c330aa0f07b36733493 | refs/heads/master | 2021-01-10T19:16:28.389377 | 2018-05-28T10:54:03 | 2018-05-28T10:54:03 | 41,441,973 | 0 | 1 | null | 2017-12-02T22:29:06 | 2015-08-26T18:12:39 | C | UTF-8 | C++ | false | false | 7,531 | cpp | #include "lcd1200.h"
#include "lcd_font.h"
#include "string.h"
#include <stdarg.h>
#include "uart.h"
#define LCD_DMA_TX_MODE DMA_PRIORITY_LOW | \
STM32_DMA_CR_MSIZE_HWORD | \
STM32_DMA_CR_PSIZE_HWORD | \
STM32_DMA_CR_MINC | /... | [
"laystoll@yandex.ru"
] | laystoll@yandex.ru |
34c4c88058103f895b1a2ab78e46df4e2580efee | 9ee414cac0f96b4f15177b4acbbacf010ce96ec1 | /Creational/builder1.cpp | 38137322132ac39d8cb9729be4370fabf43095d2 | [] | no_license | GeorgePapageorgakis/Software-Design-Pattern-Examples | c8ed2b4cca41abe03dc92442163d9a4d8bebef3b | abc708681b876916de5c73ce36e1d46b865fd1ed | refs/heads/master | 2021-09-08T19:14:13.180433 | 2018-03-11T21:27:23 | 2018-03-11T21:27:23 | 124,785,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,209 | cpp | /*
* Copyright (C) 2011 Radek Pazdera
*/
#include <iostream>
#include <string>
/* Car parts */
class Wheel
{
public:
int size;
};
class Engine
{
public:
int horsepower;
};
class Body
{
public:
std::string shape;
};
/* Final product -- a car */
class Car
{
public:
Wheel... | [
"noreply@github.com"
] | GeorgePapageorgakis.noreply@github.com |
98eddcb9d88d55ceb6e6836f390160afb91888c5 | a37d3b38e5f31aa0129097e62c81ff12c666bf3b | /simulator/external/habitat-sim-geodesic/habitat_sim_geodesic/csrc/eigen/doc/snippets/Tutorial_Map_rowmajor.cpp | 23a22923b08a7a731066ea5d5ab02a9bb5b1043d | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | frankie4fingers/bps-nav | 4f52dba1534e8d85cd8f02b1faf2a5a2a298c7df | 4c237ba3aaa9a99093065e184c2380b22bb6e574 | refs/heads/master | 2023-08-19T14:51:21.006332 | 2021-09-18T19:33:35 | 2021-10-19T20:59:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | int array[8];
for(int i = 0; i < 8; ++i) array[i] = i;
cout << "Column-major:\n" << Map<Matrix<int,2,4> >(array) << endl;
cout << "Row-major:\n" << Map<Matrix<int,2,4,RowMajor> >(array) << endl;
cout << "Row-major using stride:\n" <<
Map<Matrix<int,2,4>, Unaligned, Stride<1,4> >(array) << endl;
| [
"etw@gatech.edu"
] | etw@gatech.edu |
63ff0aa1304eab0d025aef62efc657381e375955 | e24e635131e488ee20dcd47552d62d7f6eb7fc4b | /2D_GameEngine/Map.h | 3791c2cf09a9f93c1bf008e65d5bebb5218a486c | [] | no_license | JRVeale/hello-game | a4cd51f0e793142fe434bb4dffc7895d3a8164ce | 304b25af32ac1e1c8725c99eed3aecc25ddfe3b7 | refs/heads/master | 2020-05-05T12:12:18.807020 | 2019-05-05T18:19:12 | 2019-05-05T18:19:12 | 180,018,378 | 0 | 0 | null | 2019-05-05T18:19:13 | 2019-04-07T20:14:35 | C++ | UTF-8 | C++ | false | false | 297 | h | #pragma once
#include <string>
class Map {
public:
Map(std::string tID, int mscale, int tsize);
~Map();
void LoadMap(std::string path, int sizeX, int sizeY);
void AddTile(int srcX, int srcY, int xpos, int ypos);
private:
std::string texID;
int mapScale;
int tileSize;
int scaledSize;
};
| [
"JRVeale991@gmail.com"
] | JRVeale991@gmail.com |
0b4dcf4b9ef5704577b64a9e61347fdc32d08a6e | a90c59fe7d1d5cca756402751c41fa3b9e549efa | /FWCycleHero/server/src/lib/network/safe_mem_pool.cpp | 52999629f6e3eb72b4605f15d3e3eaed174fc95c | [] | no_license | liuxx220/GameApp | d2c60480c6560f200692383d22c0db9d0eb82c09 | c165aefa3e25a55090352bffba1a580ca6008b91 | refs/heads/master | 2020-03-19T04:26:09.765810 | 2017-08-29T09:50:54 | 2017-08-29T09:50:54 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,599 | cpp | //-----------------------------------------------------------------------------
// File: safe_mem_pool
// Desc: game tool mem pool 2.0
// Auth:
// Date: 2009-1-8
// Last: 2009-3-18
//-----------------------------------------------------------------------------
#include "safe_mem_pool.h"
namespace KBEngine
{
/... | [
"329258385@qq.com"
] | 329258385@qq.com |
8022281dfc6de8aebce4cf395e333a707053a336 | 911c465a620d0a079dbc37eed0609352153d38ee | /test18090801.cpp | d5fdeecc362984f7d40b971bf614d6ba0a62a40a | [] | no_license | erlosshex/MiNe | 7b42b5c38aa3c0ae3488b931044e145bd717f3b4 | 988426b23e20759ecfea720ef7023297ba1dbd2a | refs/heads/master | 2021-06-15T20:36:47.924443 | 2019-10-28T03:52:49 | 2019-10-28T03:52:49 | 111,351,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,707 | cpp | // this program is test code for studying the watershed algoritm
#include <iostream>
#include <string>
#include <opencv2/opencv.hpp>
const std::string readImageDirectory("D:\\Codes\\VS\\VC\\DoCpp\\Image\\");
const std::string readImageFile("testImage4Watershed.png");
// *randomColor
// generate a 3-channels color co... | [
"noreply@github.com"
] | erlosshex.noreply@github.com |
03fa4fe755ad3e6ab5c4428022c28f4ed116d456 | 57d3450653dddc7ea9654a9fcfbfeceb43645b4a | /game/ShipBuilder.cpp | 7656da1b2183feb9977c9656f4634ecc3918d232 | [] | no_license | Martyna-Tu/SHM-Dream-team- | c74820ca21b95efb822a235cb311e2982404d69c | 46a8dc0bf14d90a55c22f71283ab2acd956d794b | refs/heads/master | 2023-08-26T04:17:15.914303 | 2021-11-08T14:06:23 | 2021-11-08T14:06:23 | 415,838,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,838 | cpp | #include "../include/game/Ship.hpp"
#include "../include/game/ShipBuilder.hpp"
ShipBuilder& ShipBuilder::addFactorySettings() {
return *this;
}
ShipBuilder& ShipBuilder::setShipType(const std::string& type){
ship_.shipType_ = type;
return *this;
}
ShipBuilder& ShipBuilder::setSpeed(const Speed& speed) {
... | [
"martyna.tucholska.wkr@gmail.com"
] | martyna.tucholska.wkr@gmail.com |
caa17ec1c762de4116577575c7689c3e1d5f3223 | e7aeb9c49f0d35caa1cea7f416ee1d238c8a2426 | /POJ/POJ2234-Matches_Game.cpp | beacf77c9b6c2f78cc0a1be9bb48a543fc4248b2 | [] | no_license | protectors/ACM | 1ee0c2ade796c5bda80fc0551647661c2b40c65a | a9b33912d8763c6af37fbbae4135b2761a69a2a8 | refs/heads/master | 2022-07-26T13:57:40.590234 | 2022-06-21T03:41:13 | 2022-06-21T03:41:13 | 85,793,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int n;
while(cin>>n){
int a=0,b;
for(int i=0;i<n;i++){
cin>>b;
a^=b;
}
printf("%s\n",a?"Yes":"No");
}
return 0;
}
| [
"1176136493@qq.com"
] | 1176136493@qq.com |
2d017f0679c247692dbdd798993837abaa3a780f | 4eadb97498040ae07c5009d477dd9c7cf1f30789 | /LeetCode/hand-of-straights.cpp | 46829b134cf987ccecf0952f2252a27f10215a34 | [] | no_license | shikhar-dev/CodeX | a85bc161713db98fd816fe0447bc6fbe152f9ad6 | 1af62a74b3c3e50b815f6d61984627cdd2c66816 | refs/heads/master | 2022-04-19T18:46:26.077117 | 2020-04-19T11:47:30 | 2020-04-19T11:47:30 | 250,527,791 | 0 | 0 | null | 2020-04-19T11:47:31 | 2020-03-27T12:24:29 | C++ | UTF-8 | C++ | false | false | 709 | cpp | // Problem URL: https://leetcode.com/problems/hand-of-straights/
class Solution {
map <int,int> mp;
public:
bool isNStraightHand(vector<int>& hand, int W) {
for (auto x: hand) mp[x]++;
while (!mp.empty()) {
int i = 0, last = -1;
vector <int> dl;
for (auto x: ... | [
"nonushikhar1996@gmail.com"
] | nonushikhar1996@gmail.com |
bf0e6131f06aa3e2a1751895548250cfea9248da | 5ef1b052b0d40917d94ac0c56b77ea7f33cb0309 | /Rubik_Cube_Layer_All/solution1/syn/systemc/findCorner.h | 16d8bd8a02c556347d6d95df121809e4cf8a0483 | [] | no_license | JinYeeNg/RubikCubeOnFpga | 4724b77d0e86096b326e2d4e7258933ab90d6472 | 100fc82ad6fb876d1ff164f12558a437ddf17fde | refs/heads/master | 2022-01-06T08:36:54.950481 | 2019-07-08T09:45:33 | 2019-07-08T09:45:33 | 195,213,459 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,292 | h | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2018.2
// Copyright (C) 1986-2018 Xilinx, Inc. All Rights Reserved.
//
// ===========================================================
#ifndef _findCorner_HH_
... | [
"jin.ng15@imperial.ac.uk"
] | jin.ng15@imperial.ac.uk |
e2aa6eada536dc800fb39c2e4e513510a23eb956 | 23378c451e396684f712fc9f9e2a65a53a61a8a8 | /Dynamic_Programming/1130.Minimum-Cost-Tree-From-Leaf-Values/1130.Minimum-Cost-Tree-From-Leaf-Values_DP.cpp | f5a3d9046125c803827afff788a9d9cd4036cc54 | [] | no_license | wisdompeak/LeetCode | 25676a8bf606c0511dd9844d4e61388235de82f4 | f3d38bbe9e40ceb0ab9780a4cb0dec938eae578e | refs/heads/master | 2023-09-01T18:45:36.056015 | 2023-08-28T08:01:22 | 2023-08-28T08:01:22 | 83,542,585 | 5,153 | 1,209 | null | 2023-07-22T18:15:25 | 2017-03-01T10:30:52 | C++ | UTF-8 | C++ | false | false | 899 | cpp | class Solution {
public:
int mctFromLeafValues(vector<int>& arr)
{
int n = arr.size();
auto dp = vector<vector<int>>(n,vector<int>(n,INT_MAX));
auto large = vector<vector<int>>(n,vector<int>(n,INT_MIN));
int sum = 0;
for (int i=0; i<n; i++)
{
dp[i][i... | [
"noreply@github.com"
] | wisdompeak.noreply@github.com |
1a085962cc13eb8b27f5b2fd0fc40bf4d202ff5d | bb1c9d8f47789137ce7269fdd056992f7848fed0 | /src/api/dcps/isocpp/include/spec/dds/topic/TopicListener.hpp | a94c1a73c9f4bbf903618413a20dddf4dc9cd3fb | [
"Apache-2.0"
] | permissive | osrf/opensplice | e37ed7e1a24ece7c0f480b4807cd95d3ee18daad | 7c3466f76d083cae38a6d7fcbba1c29106a43ea5 | refs/heads/osrf-6.9.0 | 2021-01-15T14:20:20.065297 | 2020-05-11T18:05:53 | 2020-05-11T18:05:53 | 16,789,031 | 10 | 13 | Apache-2.0 | 2020-05-11T18:05:54 | 2014-02-13T02:13:20 | C | UTF-8 | C++ | false | false | 1,423 | hpp | #ifndef OMG_DDS_TOPIC_TOPIC_LISTENER_HPP_
#define OMG_DDS_TOPIC_TOPIC_LISTENER_HPP_
/* Copyright 2010, Object Management Group, Inc.
* Copyright 2010, PrismTech, Corp.
* Copyright 2010, Real-Time Innovations, Inc.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ma... | [
"pg@prismtech.com"
] | pg@prismtech.com |
ac8c8e17f1f6f85a0d08e84508ac577702d15bba | 849f613cee3aa54ce668fbc2371dd34a9ead3b29 | /QuickSort.cpp | dccea32b735b5576db3477d4bb9fb2ac0280d068 | [] | no_license | vikash7325/AlgorithmDesign | 0273929a0846b847465b59a0db44ecb3677f8233 | 8931e1608deb752cb7a0ec9d637938a9b996f512 | refs/heads/master | 2021-01-21T20:15:48.373763 | 2018-03-20T18:41:15 | 2018-03-20T18:41:15 | 92,209,587 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 841 | cpp | /*Quick sort Goldman Sachs vikash kumar*/
#include<iostream>
using namespace std;
void swap(int *a, int *b){
int temp;
temp = *b;
*b = *a;
*a = temp;
return;
}
int partition(int *array, int p, int r){
int pivot = array[r];
int i;
int index;
i = p - 1;
for (index = p; index < r; index++){... | [
"noreply@github.com"
] | vikash7325.noreply@github.com |
a3eb72f0511a56d5461a8a0a284ebc9128fd4abe | cd52e1882e29bac90d77593699a1111380256fc5 | /client/CloseException.h | 596441293181915f3923fd0ec9c70c3fa7f9cfcd | [] | no_license | chortas/TDP1-Portal | 5af5edf40d878939391877e72a944b116c60e40f | 70872b61ef882a9078e8b9c9cd6524f04d343371 | refs/heads/master | 2020-06-10T20:20:12.815077 | 2019-06-25T07:46:48 | 2019-06-25T07:46:48 | 193,735,074 | 2 | 1 | null | 2019-06-25T15:29:34 | 2019-06-25T15:29:33 | null | UTF-8 | C++ | false | false | 367 | h | //
// Created by camix on 24/06/19.
//
#ifndef PORTAL_CLOSEEXCEPTION_H
#define PORTAL_CLOSEEXCEPTION_H
#define CLOSED_EXC "The user want to close the process\n"
class CloseException: public std::exception {
public:
CloseException() = default;
virtual const char* what() const throw() {
return CLOSED_E... | [
"camiboj@gmail.com"
] | camiboj@gmail.com |
97ddfd399e260b68d08b0df26fe74f430b8f09ea | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /WebKit/Source/WebCore/svg/SVGFontFaceNameElement.cpp | 5d67bcb8341cbefd50c69104e3bdd76d45d9947f | [
"BSL-1.0",
"BSD-2-Clause",
"LGPL-2.0-only",
"LGPL-2.1-only"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 1,573 | cpp | /*
* Copyright (C) 2007 Eric Seidel <eric@webkit.org>
*
* 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; either
* version 2 of the License, or (at your option) any later version.
*... | [
"adzhou@hp.com"
] | adzhou@hp.com |
d9dde29893935153e1078d1c2ebe0e27b333a9ba | 0cb39213becca4fb4355f6651dab9ee78d2c9fdf | /catmario.cpp | 62abf50cf0f2f7e44e30234bc2c1ba0eed3252f1 | [] | no_license | nutmos/Code | 85fe9ab7e280e7f3eb93ccd692ea2e10857a5f4e | e300e3301a8429f5f82b27f7483084a87bf50243 | refs/heads/master | 2016-09-05T11:14:37.537892 | 2015-07-24T09:34:22 | 2015-07-24T09:34:22 | 16,691,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 589 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
using namespace std;
int main() {
int n,m;
int sum = 0;
scanf("%d %d",&n,&m);
int *level = (int *)calloc(sizeof(int), n);
int x,y;
for (int i = 0; i < m; ++i) {
scanf("%d %d",&x,&y);
if (level[x-1] == 0) {
sum... | [
"nuttapong_mos@hotmail.com"
] | nuttapong_mos@hotmail.com |
bbe3330fdd148a738094eb1481a26e25b67236e0 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir19789/dir19799/file19849.cpp | a84bd825413de5089219b2a187c14caf25c94d8d | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file19849
#error "macro file19849 must be defined"
#endif
static const char* file19849String = "file19849"; | [
"tgeng@google.com"
] | tgeng@google.com |
78f9d6f2ece8b026884ab4fd2a2842478f94a2c6 | 6b227d00c23ed7280d54c36d4eaf8329af7c3325 | /src/game/GuildMgr.cpp | 2a8579ea5286120232f07cbd72909f16c52ccc08 | [] | no_license | redlaine/Core | c7cbd842b48c42bf9edcdf07ca93ac763d822e1f | ab62449d9cd505577e8d1f9c171295c10cff0e3a | refs/heads/master | 2021-01-22T01:43:25.532773 | 2013-12-15T20:33:57 | 2013-12-15T20:33:57 | 18,005,524 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,039 | cpp | /*
* This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
*
* 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 o... | [
"hezekiah@europe.com"
] | hezekiah@europe.com |
10d38e455d10777cbb344f733084fb30b3a94da0 | c098b79d3cebe732ff9eb0294654c87a553ca085 | /common/objloader.hpp | 49665a6ca1f2a7c4830f675f07c4201f9eea8af7 | [] | no_license | stbn199650/GetOutofHere | 037f864c3de94b605fcfab7d2aca32e141d5844a | 6027f77577ac4e551623a625262f4fcbae1c6c1e | refs/heads/master | 2020-05-27T15:53:56.696955 | 2017-01-04T15:41:33 | 2017-01-04T15:41:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | hpp | #ifndef OBJLOADER_H
#define OBJLOADER_H
bool loadOBJ(
const char * path, bool IsSmooth,
std::vector<glm::vec3> & out_vertices,
std::vector<glm::vec2> & out_uvs,
std::vector<glm::vec3> & out_normals
);
bool loadAssImp(
const char * path,
std::vector<unsigned short> & indices,
std::vector<glm... | [
"noreply@github.com"
] | stbn199650.noreply@github.com |
80899bbf87e23fe489ae60d1a0154b7f9fcc5ab6 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir13029/dir15097/dir15260/dir15321/dir15524/dir16989/file17005.cpp | e94a4106422a607b785ec2a6658a7a765c6e1c73 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file17005
#error "macro file17005 must be defined"
#endif
static const char* file17005String = "file17005"; | [
"tgeng@google.com"
] | tgeng@google.com |
83292a375616ff05eab86c722cb63b4ca3057432 | 656243ae84ca3a2280cc9cc3aad95afca8e10565 | /Code/CryEngine/CryCommon/CryStructPack.h | 9bb0e4e189ac708f5c0d16277aaf1c9c392078d9 | [] | no_license | NightOwlsEntertainment/PetBox_A_Journey_to_Conquer_Elementary_Algebra | 914ff61bb210862401acb4d3a2eb19d323b00548 | 8383c5c1162d02310f460a1359f04891e5e85bff | refs/heads/master | 2021-01-22T09:48:55.961703 | 2015-11-11T11:26:27 | 2015-11-11T11:26:27 | 45,846,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,675 | h | /////////////////////////////////////////////////////////////////////////////
//
// Packing and unpacking of stored structures
//
// File: CryStructPack.h
// Description:
// Utility functions for packing and unpacking stored structures.
// Structure packing/unpacking is required for machines where the size ... | [
"jonathan.v.mendoza@gmail.com"
] | jonathan.v.mendoza@gmail.com |
f8d4587106a2a87cfbf277203eba8f2635b6a35a | 5f7f7fb66c95025a154007d90df0ea3e7a73c24a | /ForwardingCenter/transdata.cpp | adf7b75de87cfc67f078bd516f802d1b75236401 | [] | no_license | blank-black/NAS-Data-transfer-center | 76b6a4e61bd8d161030f7b1a5f3247f0c7013de2 | 4ee33e676cb7ca0db4d6b8172a34117ab1ccbae7 | refs/heads/master | 2021-09-02T06:47:42.581385 | 2017-12-31T06:02:03 | 2017-12-31T06:02:03 | 114,733,438 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,628 | cpp | #include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <signal.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <pthread.h>
#include <iostream>
using namespace std;
#define flag 0
#define cout if(flag == 1) cout << "[" << __FUN... | [
"wy98926@gmail.com"
] | wy98926@gmail.com |
9e54701f0e82b20924f53a33785b1d52d76a6163 | ac5bb06ce28345923fdad1041c4af74c15c2c4e0 | /giraffe.cpp | ccc5746d2be68eec939d8ce18f804d02fe04030d | [] | no_license | jkapurchicago/c-TEST | b44fe64d357c2ef015ed61d07448c038cd6edf8e | e297a58d88712bbfb507c8ca1a09558ceba5dff2 | refs/heads/master | 2020-08-24T17:49:28.360664 | 2019-10-22T17:49:11 | 2019-10-22T17:49:11 | 216,875,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | #include <iostream>
using namespace std;
int main()
{
string characterName = "John";
int characterAge;
characterAge = 35;
int newage;
cout << "There was once a man named " << characterName << endl;
cout << "His age was " << characterAge << endl;
cout << "He grew and lived t... | [
"jkapur.work@gmail.com"
] | jkapur.work@gmail.com |
86e34a9bf67841c0560cda222315c3cace4c3bda | 1adbea64905f41b978e42844d72721230272c69d | /src/SOS/lldbplugin/swift-4.1/lldb/Expression/Expression.h | 16de6737f9aa8a86b21d9349ec9c0bc24d2f5185 | [
"NCSA",
"Apache-2.0",
"LLVM-exception",
"MIT"
] | permissive | dotnet/diagnostics | 5b3e0901f87d6429fca4282d149986546cee8eb4 | 3357ebf5f4aaf4fe196c08e3e47fa2233096fada | refs/heads/main | 2023-09-01T12:42:17.138682 | 2023-09-01T08:37:32 | 2023-09-01T08:37:32 | 126,257,942 | 1,156 | 361 | MIT | 2023-09-14T13:47:19 | 2018-03-22T00:39:48 | C++ | UTF-8 | C++ | false | false | 6,238 | h | //===-- Expression.h --------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"noreply@github.com"
] | dotnet.noreply@github.com |
02834d4008b93bac457b0e1d14e499593c39095c | fc1b9ccac19cb8f51f17b553d734cdf7035203d6 | /app.h | 8fb648fea9d0e6ce0fabed73d17bddd47f51cfee | [] | no_license | diorahman/bisik | 394a9e87df86b19e8ce0a357c8cda25adfc1bc44 | 9d1f05c273588e89a77464d4a36ebbf751efb2d0 | refs/heads/master | 2021-01-10T12:05:37.343167 | 2015-11-21T07:48:59 | 2015-11-21T07:48:59 | 46,606,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | h | #ifndef APP_H
#define APP_H
#include <QObject>
#include <QList>
#include <pjsua2.hpp>
namespace suara {
class Account;
class App : public QObject
{
Q_OBJECT
public:
explicit App(QObject *parent = 0);
Q_INVOKABLE void initAccount(const QString& account);
Q_INVOKABLE void call(const QString& account)... | [
"diorahman@rockybars.com"
] | diorahman@rockybars.com |
76fe2718e0e4e4187671d950bd2a2e5eaa42219b | ba9322f7db02d797f6984298d892f74768193dcf | /emr/include/alibabacloud/emr/model/ListUsersRequest.h | 3363e48cb86e8312c090dd86820b613a3e25d257 | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 1,742 | h | /*
* 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... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
dd5bb00982f4a8cceb6ba27453f230abeba179c3 | f23cd91742e6abd82eb90b7acba6dc3d1b9a5949 | /source/mechanism_reduction/species_lumping/Average_Ea_n_zero_k_fitted.cpp | 273282e5013d505a30130364b6f77a36a4c6cbbd | [
"MIT"
] | permissive | Alborzi/chemical-kinetics-solver | cf2c472321f367068441be000a959985240b1c7b | ec1356adc64e445ac60fa4a81f80f06f84224c01 | refs/heads/master | 2020-03-28T05:43:40.886174 | 2018-04-02T10:38:17 | 2018-04-02T10:38:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,143 | cpp | /*
* Average_Ea_CalculateNewParametersSlow.cpp
*
* Created on: 17.01.2016
* Author: DetlevCM
*/
#include <MyHeaders.h>
ReactionParameter Average_Ea_n_zero_k_fitted(
vector< SingleReactionData >& temp_reactions3,
double temperature,
int Reaction_Group_Size
)
{
/*
* a "special" mapping...
* we t... | [
"detlevcm@googlemail.com"
] | detlevcm@googlemail.com |
0c8ccbb1b17f36068c273f26653e091de93b502d | 8875effac15cf5d5fc665c4ab0c479979f3ce913 | /codeforces/283/c.cpp | aa1f8b207c1464832397fae6a046dcedb913a0f8 | [] | no_license | modanhan/problem-solving | 03bee4a27a7d10a335d79e190e7760128fcfadeb | 9a98f0e87cf87dd75e4a7c8ebf13adef9976182c | refs/heads/master | 2021-09-06T22:29:40.869818 | 2018-02-12T16:25:32 | 2018-02-12T16:25:32 | 27,393,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> y >> x;
vector < string > v;
for (int i = 0; i < y; i++) {
string s;
cin >> s;
v.push_back(s);
}
if (y == 1) {
cout << "0\n";
return 0;
}
int ans = 0;
while (1) {
bool good=1;
for (int i = 1; i < y; i++) {
if (v[i -... | [
"hanhanhanronn@gmail.com"
] | hanhanhanronn@gmail.com |
537c2193cfb153eecc8f8934c9a20353d99518b6 | dd6b6da760c32ac6830c52aa2f4d5cce17e4d408 | /magma-2.5.0/sparse/control/magma_zmatrixchar.cpp | 1a7173d61dfb4c87f13bf8bf65276b566858ddc8 | [] | no_license | uumami/hit_and_run | 81584b4f68cf25a2a1140baa3ee88f9e1844b672 | dfda812a52bbd65e02753b9abcb9f54aeb4e8184 | refs/heads/master | 2023-03-13T16:48:37.975390 | 2023-02-28T05:04:58 | 2023-02-28T05:04:58 | 139,909,134 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,089 | cpp | /*
-- MAGMA (version 2.5.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date January 2019
@precisions normal z -> s d c
@author Hartwig Anzt
*/
#include "magmasparse_internal.h"
#define THRESHOLD 10e-99
/**
Purpose
... | [
"vazcorm@gmail.com"
] | vazcorm@gmail.com |
919c86f1ae79be3f46020d45655b536651d16f3e | d37de851f8047ed05e4b96dc1b49314f5bd6e569 | /OpenGL_GLFW_Project/ParameterInitializer.cpp | b1524e90b0442966dfa54caebb8ac7929ed945d6 | [
"MIT"
] | permissive | millerf1234/OpenGL_Windows_Projects | ada0163b7a944f06e6af4ea5dcaf811c387bfd1d | f7ca6e7a30773cf3e0964ffe07787230ae2b88d2 | refs/heads/master | 2023-08-22T13:20:27.677836 | 2023-08-04T03:10:55 | 2023-08-04T03:10:55 | 141,633,238 | 0 | 0 | null | 2019-11-15T06:14:45 | 2018-07-19T21:37:11 | C | UTF-8 | C++ | false | false | 140 | cpp | #include "ParameterInitializer.h"
ParameterInitializer::ParameterInitializer() {
}
ParameterInitializer::~ParameterInitializer() {
}
| [
"4estmiller@comcast.net"
] | 4estmiller@comcast.net |
b4e99dd15a40dbb12fb8b05a8058b6784849ff27 | 3d8d2e4ebe08730cbbed3edd590c3ffa0b9bb732 | /Graph Algorithms/Single Source Shortest Path/Dijkstra_algorithm.cpp | b68f50e622670966b878788379a68f22d9d1423a | [] | no_license | InnoCentCoder5497/DSA-in-C-plus-plus | 762ce2e9ccf30ac98f15f6821c4f3e737bc7ebfa | 4afc9afd47c6ea9ca0fe0dad95e767d402a74d4a | refs/heads/master | 2022-12-09T06:29:31.930326 | 2020-09-14T08:30:49 | 2020-09-14T08:30:49 | 285,457,864 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,640 | cpp | #include<iostream>
#include<vector>
#include<utility>
#include<queue>
#define NIL -1
#define INF 999
using namespace std;
struct vertex {
int name;
int d;
int pred;
};
struct Comparator {
int operator() (const vertex* v1, const vertex* v2){
return v1->d > v2->d;
}
};
ostream &operator<<(o... | [
"innocentcoder5497@gmail.com"
] | innocentcoder5497@gmail.com |
943f5e82435311c6458efebb7c5248e090d3c15c | f4d379f0f7c23ff36ff8e1fcc69b2b67bd27a12b | /ExpressionResolverUI/ExpressionResolverUI/ExpressionResolverUI.cpp | d211f06d8afbd7c2227df6debe03fd1499a165d0 | [] | no_license | KaralinskiDavid/CourseWork | fc98ca04c8e4fd4d601de7d5dc7473274cd60c62 | 9d19ed20614901303cac35fc1add01849594dc5d | refs/heads/main | 2023-02-01T10:56:51.368981 | 2020-12-15T07:51:08 | 2020-12-15T07:51:08 | 320,939,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,989 | cpp | #include "expressionnode.h"
#include "framework.h"
#include "HistoryLine.h"
#include "ExpressionResolverUI.h"
#include <CommCtrl.h>
#include <vector>
#include <sstream>
#include <ctime>
#pragma comment(lib, "ComCtl32.Lib")
#pragma warning(disable : 4996)
#define MAX_LOADSTRING 100
#define POSTFIX 0
#define INFIX 1
#... | [
"74316570+DavidKarolinskySoftacom@users.noreply.github.com"
] | 74316570+DavidKarolinskySoftacom@users.noreply.github.com |
251cf6e98607bd0ff420112c40888e7dc1f95fc9 | 732aa678835cace90eb16c7720602bf68766fbf4 | /problems-3-approx-algorithms/q3-set-cover.cpp | 15e17fc8962e8df1eba1be2cede9d147b02daf8a | [] | no_license | lucas-two/Advanced-Algorithms-Problems | 7f90f243c4aa3a37304778df683319960dcf437e | 02e581c3bb40a522abef5733d28723581dd4a0ca | refs/heads/main | 2023-04-12T21:32:25.586229 | 2021-04-28T00:24:47 | 2021-04-28T00:24:47 | 346,879,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,721 | cpp | /* Q3. Set cover problem */
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main()
{
const int numOfSets = 6;
vector<int> masterSet = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
vector<vector<int>> chosenFams;
vector<vector<int>> family = {
{1, 2, 3, 4, 5, 6}, //s0
... | [
"Lucas.Geurtjens@griffithuni.edu.au"
] | Lucas.Geurtjens@griffithuni.edu.au |
47c9f9e9b9e113c12a2b00c5ac0fa28a115b255f | 32ac06b1736b7881feeeef11326f09fada9c03e6 | /wibble/string.cpp | 0979a1afa45df9658f8cdb122e4b9388c62779c3 | [] | no_license | metux/libwibble | 55e178f8b7897e2a376e76bd63e9b3733828abc7 | aa0ee67e71072287ce3cb208b22570f80307cf09 | refs/heads/master | 2021-01-01T03:51:32.013810 | 2012-04-16T20:06:09 | 2012-04-16T20:06:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,475 | cpp | /*
* OO wrapper for regular expression functions
*
* Copyright (C) 2003--2008 Enrico Zini <enrico@debian.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2... | [
"james.westby@ubuntu.com"
] | james.westby@ubuntu.com |
fe327c5e44437d6b6b7b1e1b642b6c980f06f028 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/cm-compiler/2019/4/SemaInit.cpp | 1593e82741d00cf9ce4555afaf27bd57bed2ce1f | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 351,293 | cpp | //===--- SemaInit.cpp - Semantic Analysis for Initializers ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
4a0c898666816e31a0c93fe20b207e75ee1e0979 | 67158ed85ddd2ddc850e0158b74dbd1479540ff9 | /hist_tool.h | 26c2b0d6960011c22024d9f1e8f3a5f9a234b3d3 | [] | no_license | moukaddam/cstool | 46bb23def82d7efc8ae389cdfe845d072b41b37e | 37d4601f301b8effd56296e25fb4880a39d67797 | refs/heads/master | 2016-09-06T15:45:39.576034 | 2014-12-10T05:09:46 | 2014-12-10T05:09:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | h | #ifndef _HISTTOOL_CLASS
#define _HISTTOOL_CLASS
#include "kine_tool.h"
#include "Defines.h"
class hist_tool
{
public:
//Champ statiques
string fpath;
string fsystem;
string fpath_h_norm;
string fpath_h_2b_normalized;
TH1F *fHistEff; // efficacité
TH1F *fHist; // data
TH1F *fHistNormal; // data normalisé
TH1F *fH... | [
"mhd.moukaddam@gmail.com"
] | mhd.moukaddam@gmail.com |
9a760ec3058987055d0fac98f41181d43a44b8f4 | 5a6398e0b197dc76eb9d79e8c9a70940c826b00e | /src/include/izenelib/source/3rdparty/msgpack/mpsrc/wavy_kernel_epoll.h | a7bada22ad566777099957793b4532211c4b88c8 | [
"Apache-2.0",
"PostgreSQL"
] | permissive | RMoraffah/hippo-postgresql | 38b07cd802e179c3fce00097f49c843b238c3e91 | 002702bab3a820bbc8cf99e6fcf3bb1eface96c1 | refs/heads/master | 2021-01-12T00:48:53.735686 | 2016-12-02T01:01:15 | 2016-12-02T01:13:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,570 | h | //
// mpio wavy kernel epoll
//
// Copyright (C) 2008-20010 FURUHASHI Sadayuki
//
// 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... | [
"jiayu198910@gmail.com"
] | jiayu198910@gmail.com |
6001b65795ba114d1f6eab5331227614ebc8b1b3 | c45ed46065d8b78dac0dd7df1c95b944f34d1033 | /TC-SRM-582-div1-250/wyz.cpp | b1e55be157bfd1d14ce646193fedf0017061252e | [] | no_license | yzq986/cntt2016-hw1 | ed65a6b7ad3dfe86a4ff01df05b8fc4b7329685e | 12e799467888a0b3c99ae117cce84e8842d92337 | refs/heads/master | 2021-01-17T11:27:32.270012 | 2017-01-26T03:23:22 | 2017-01-26T03:23:22 | 84,036,200 | 0 | 0 | null | 2017-03-06T06:04:12 | 2017-03-06T06:04:12 | null | UTF-8 | C++ | false | false | 743 | cpp | // BEGIN CUT HERE
// END CUT HERE
#line 5 "SpaceWarDiv1.cpp"
#include <bits/stdc++.h>
#define ll long long
using namespace std;
const int maxn=55;
class SpaceWarDiv1{
int n;
pair<int,ll> a[maxn];
public:
long long minimalFatigue(vector <int> magicalGirlStrength, vector <int> enemyStrength, vector<long long> enem... | [
"wang_yuzhong@126.com"
] | wang_yuzhong@126.com |
38af4536e038d7e90fa71f3b3f5355bbffb7835f | beaeefee8412d35e8afee2643098dbc3870d47bc | /src/EAWebkit/source/internal/EAWebKitUtfXmlWrapper.cpp | 761ad6932d809634d579b0ed077ab7fe8a9edb6b | [] | no_license | weimingtom/duibrowser | 831d13626c8560b2b4c270dcc8d2bde746fe8dba | 74f4b51f741978f5a9d3b3509e6267fd261e9d3f | refs/heads/master | 2021-01-10T01:36:36.573836 | 2012-05-11T16:38:17 | 2012-05-11T16:38:17 | 43,038,328 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,000 | cpp | /*
Copyright (C) 2009-2010 Electronic Arts, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of cond... | [
"achellies@hotmail.com"
] | achellies@hotmail.com |
c0d6226d5d54d5d43b8c49429ec8d4ccda5a2982 | 0e72273ea11eed23489fe1367465f3a98c2f06f9 | /trsh/modelold/LightSource.cpp | fb728167d2b96ab5365c19fcfaf2b8952a3241d9 | [] | no_license | ezamyatin/Goldsteal | df92281c9208f31c68eccf66504595eb64259e17 | 1c1068a53445c00583f427c62e3baa6dfac1ab6d | refs/heads/master | 2023-01-18T14:54:54.097546 | 2015-08-27T15:38:13 | 2015-08-27T15:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | #include "Environment.h"
#include "LightSource.h"
void LightSource::setEnvironment(Environment* env) {this->env = env; bounds = env->calcVisible(pos);}
void LightSource::frame() {
} | [
"jeka_zamyatin@mail.ru"
] | jeka_zamyatin@mail.ru |
2b253871a79c6b2fb64ad2db59bd54f2a26fdc9b | 98c2026ab46bc42ddc3f48390d6fd2ab476da933 | /playground/pgApp/src/engine/resources/buffer.cpp | 659c43efa7c3b2f9d6099ab8984aa0f360ed4866 | [
"Apache-2.0"
] | permissive | raptoravis/DiligentEngine | 3802e17eaa58b236e90e0666b70ea79f344a9386 | cc9026e6403c20d47a597b392411dfd5d4c862eb | refs/heads/master | 2020-08-10T12:19:05.029645 | 2019-11-05T13:55:17 | 2019-11-05T13:55:17 | 214,339,953 | 0 | 0 | Apache-2.0 | 2019-10-11T03:58:54 | 2019-10-11T03:58:54 | null | UTF-8 | C++ | false | false | 2,414 | cpp | #include "../engine.h"
namespace ade
{
Buffer::Buffer(uint32_t stride, uint32_t count, Diligent::IBuffer* buffer)
: m_uiCount(count), m_uiStride(stride), m_BindFlags(0), m_bIsBound(false)
{
if (buffer) {
m_pBuffer.Attach(buffer);
m_pBuffer->AddRef();
}
}
Buffer::~Buffer()
{
m_pBuffer.... | [
"jonli@tencent.com"
] | jonli@tencent.com |
6f23ae81ae696e37600c8f4840f026ed01a8e964 | 064dd2d3b7a687988aa17a06931b5f218eec64c0 | /swift/base/exception.h | d803379bc473cae0675ba9ed03d9e7afd64c9cbe | [] | no_license | ApusApp/Swift | 14aaf6f61c4e782e1b356ac5fd36c2fd2bdbc417 | 0618c7c1de8743ab89c46d93b2c5b387acbc2a90 | refs/heads/master | 2021-06-27T09:03:42.362730 | 2017-03-07T03:15:48 | 2017-03-07T03:15:48 | 18,721,168 | 25 | 16 | null | 2017-03-07T03:15:49 | 2014-04-13T04:07:40 | C++ | UTF-8 | C++ | false | false | 1,354 | h | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | [
"yw_chen@qq.com"
] | yw_chen@qq.com |
f0edc1ec12e7e123a81aa295746b39aa5828d30f | 76b6b3f6f08545ef0a47ad4f6184aea33c2a7c23 | /src/NamespaceMacros.h | f9aee38dbc7c8fa42b9f4676ed1587d227a22873 | [] | no_license | RealImage/wire-api | 91d2520bd41d4a85f9864cd0b332464a0fe44b15 | d367786db59afc92195b7fabac6586255113b3d8 | refs/heads/master | 2021-01-19T02:27:27.751954 | 2015-09-16T09:45:49 | 2015-09-16T09:45:49 | 84,404,733 | 0 | 0 | null | 2017-03-09T06:07:57 | 2017-03-09T06:07:57 | null | UTF-8 | C++ | false | false | 896 | h | /**
* @file NamespaceMacros.h
* @author Qube Dev <QubeDev@realimage.com>
* @copyright Copyright © 2015 Qube Cinema Inc. All Rights reserved
*
* @brief
* Defines namespace of KeySmithClient application
*/
#pragma once
#define KEY_SMITH_NS Qube::KeySmith
#define KEY_SMITH_NS_START ... | [
"siva.chandran@realimage.com"
] | siva.chandran@realimage.com |
6c151670a53b1c9e5b8db8404dbe784b574243a7 | 5e67d1d432604c836c130de0fd90cdb376ae0be9 | /src/walletdb.cpp | d98bafe0b5e71bf9368c104117fb1bad8534b238 | [
"MIT"
] | permissive | WhyFund/WhyCoin | 8fa8c21f54b891ad60ac45790a2ea00207c653ca | 7766a95eb95c70f22b8317a80d1628f381205bf1 | refs/heads/master | 2021-01-10T14:33:22.650130 | 2015-11-26T10:18:56 | 2015-11-26T10:18:56 | 46,731,929 | 0 | 2 | null | 2015-11-26T10:18:56 | 2015-11-23T16:10:15 | C++ | UTF-8 | C++ | false | false | 27,349 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletdb.h"
#include "base58.h"
#include "protocol.h"
#include "seriali... | [
"wjridge@yahoo.com"
] | wjridge@yahoo.com |
5f81ca9d484b0793296bd55224a1226fc158dd9f | 93278aa111ef7053751f156280b807a8abe298fb | /src/Elements/AngleSpring.h | 5bdb2d4a2063c1ea221e376c649d287f9a8379d1 | [
"MIT"
] | permissive | wsklug/voom | 29c091dc8e90f1f913c389a4f04ded9a7c294252 | 43260b955a6cf11ba8e14e79c80b3618088a880b | refs/heads/master | 2020-04-05T21:12:05.821811 | 2017-10-13T21:05:51 | 2017-10-13T21:05:51 | 21,869,008 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,547 | h | // -*- C++ -*-
//----------------------------------------------------------------------
//
// William S. Klug
// University of California Los Angeles
// (C) 2004-2008 All Rights Reserved
//
//----------------------------------------------------------------------
#... | [
"amit112amit@gmail.com"
] | amit112amit@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.