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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
072243ffb3427e608c97cb5bffadb5ed376cf3e7 | 375ee821d2cebf8398aa61784d94883f519dffc8 | /data_structure/create_combinations.cpp | 6e488a5249111366bda85381c07995802d8e8b4a | [] | no_license | iam-hitesh/Programming | 837883ff25482ff7aa3c886fa7f4ae8140a8c001 | d33c2b62a9685d1ba1d706b088f4a9265066fe48 | refs/heads/master | 2022-03-05T10:07:30.128237 | 2018-10-31T19:32:52 | 2018-10-31T19:32:52 | 102,463,080 | 3 | 3 | null | 2019-10-14T15:05:14 | 2017-09-05T09:38:07 | C++ | UTF-8 | C++ | false | false | 1,045 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int no_of_cards, mod, target;
cin >> no_of_cards >> mod >> target;
vector<long long> A(no_of_cards + 1);
for(int i = 1; i <= no_of_cards; i++) scanf("%lld", &A[i]);
typedef vector <int> v_int;
vector <v_int> no_of_combinat... | [
"noreply@github.com"
] | iam-hitesh.noreply@github.com |
6f6a3a9dc2eebfc4f1943e658698b30420bb687a | 2ec3c51831ca29cd97fc50a28e2bfd10918ba296 | /avr/cores/casper/HardwareSerial0.cpp | c4258d811a06b053d3bebd0c40d02abf5a420a0c | [] | no_license | coduino/coduino_boards | d845767bbf6429c3fbaab578753a3d6fb90f81e5 | ca823a87493aef62ca31a433ceb0642cf7b0c3c2 | refs/heads/master | 2016-08-11T15:51:38.115652 | 2016-02-18T12:47:22 | 2016-02-18T12:47:22 | 52,006,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,608 | cpp | /*
HardwareSerial0.cpp - Hardware serial library for Wiring
Copyright (c) 2006 Nicholas Zambetti. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
versio... | [
"torworx@gmail.com"
] | torworx@gmail.com |
dec02c27cb19dc23c547d9b5cb1afc9703382700 | 46d12703bc79140473a46bb7b063f25029a1b7fa | /LaFarra/Tienda.cpp | cec6064de4ba38d9b0280bf4d2ce81164aa81838 | [] | no_license | Estefaniahurtadog12/POO | bcf8785e754e061b0cb07e8db1b4d813902d4b8b | d88e62f19df80b25fdedf53eca70dce4f52ddf46 | refs/heads/main | 2023-07-25T07:39:37.888812 | 2021-09-08T22:44:38 | 2021-09-08T22:44:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,952 | cpp | #include <iostream>
#include "Tienda.h"
// Constructor por defecto
Tienda::Tienda()
{
this->nombre = "La Farra";
this->contCodFactura = 1;
TipoProducto licor("Licor", 0.19);
TipoProducto snack("Snacks", 0.16);
Producto productoUno(licor, "Cerveza", 2500, 1800, 100, 10);
Producto productoDos(snack, "Papitas de li... | [
"lufe089@gmail.com"
] | lufe089@gmail.com |
80fc147cb0e2b8f13d23b8e6f80193c12698df34 | 757f94f197c14c918f8038b262b45d90ad79c1d3 | /src/params.hpp | 91356ec2a2a6c397fde36c390d0b459de8d4ee59 | [] | no_license | anhuipl2010/YOLOV3_ECO_tracking | 5b9e90149d337831493df59cd9770e0a0f2b1176 | 3bc5b8626a54cd59c0d2922378a2caf9456d48f3 | refs/heads/master | 2020-06-23T23:50:43.278396 | 2019-04-01T02:49:39 | 2019-04-01T02:49:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,232 | hpp | #ifndef PARAMS_H
#define PARAMS_H
#include <vector>
#include <string>
using std::vector;
using std::string;
//**** hog parameters cofiguration *****
struct hog_params
{
int cell_size;
int compressed_dim;
int nOrients;
size_t nDim;
float penalty;
}... | [
"chengxinnn@outlook.com"
] | chengxinnn@outlook.com |
fde340058c418c1ef72589852723eefcf3419bb7 | ad6e3ddf624e444820972845ed70d84a7628dd0b | /Cpp/417.cpp | 6470b8ab77817f17bf44bb428af3c92f702fe22d | [] | no_license | ZoeyeoZ/LeetCode-Program-Learning | 4c1d422a0d10e03ebce4154a8a400f6523e0da22 | 5369d7ed4eaeaa95542244aad1bce598e01e1386 | refs/heads/master | 2021-07-13T18:27:43.634167 | 2019-01-27T00:33:48 | 2019-01-27T00:33:48 | 114,710,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | cpp | //BFS
class Solution {
public:
void helper(vector<vector<int>> matrix, vector<vector<bool>>& visited, queue<pair<int,int>>& q){
int n = matrix.size();
int m = matrix[0].size();
vector<vector<int>> moves={{-1,0},{0,-1},{1,0},{0,1}};
while (!q.empty()){
int x = q.front().first, y = q.front().second;
q.p... | [
"noreply@github.com"
] | ZoeyeoZ.noreply@github.com |
f2d16dd925fc1595eee60be4f044e22d48e9625a | 09d6ac331a06641136618c929970138cad1556b6 | /include/yangavutil/video/YangYuvConvert.h | eae6a2fa5060710e2230f9104362483959ff6b4a | [
"MIT"
] | permissive | asdlei99/yangrecord2 | 2c69ef868922cc5153391561d9067f2d7c5b05b0 | 787eaca132df1e427f5fc5b4391db1436d481088 | refs/heads/main | 2023-06-27T10:14:04.303066 | 2021-07-28T11:47:14 | 2021-07-28T11:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,874 | h | /*
* YangYuvUtil.h
*
* Created on: 2020年10月8日
* Author: yang
*/
#ifndef YangYuvConvert_H_
#define YangYuvConvert_H_
//#include "yangutil/yangtype.h"
#include "stdint.h"
#include "yangutil/sys/YangLoadLib.h"
#include "libyuv.h"
using namespace libyuv;
class YangYuvConvert {
public:
YangYuvConvert();
virtua... | [
"noreply@github.com"
] | asdlei99.noreply@github.com |
76b9223868e81fdd7c6ac2f9382fa974d7ce3770 | 58bd6097e65226a63ad74a85303676b88db69ce1 | /ControlTask_8/Task_8.cpp | 43bab1940e89ba8573f16dce1a2441dc86a46a53 | [] | no_license | WarBall/Tasks.Cpp | c50f334c12a846a9833c86307d8e62c9513573b0 | f982ae09242b5c59752776711d1fa5503ed3e8c8 | refs/heads/master | 2023-06-28T12:40:38.857470 | 2021-08-01T19:52:07 | 2021-08-01T19:52:07 | 387,199,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | cpp | #include "Time.h"
#include <iostream>
int main()
{
Time time1(1, 70, 63);
time1.printTime();
Time time2(12, 53, 99);
time2.printTime();
Time time3 = time3.addTime(time1, time2);
time3.printTime();
}
| [
"desik_t9@mail.ru"
] | desik_t9@mail.ru |
9ba371fddc3727ed3dea4a092df61729b3a9dea1 | be60bef9d1a71e4f3efaedd63115a45cd6346d1c | /ecommserver/app/http/httpserver/httpconnectionhandler.h | b85cd40a35dfa495892626b1103c353ff916e63e | [] | no_license | robertoborgesqt/ecommv1 | 73873abd4c50259a51c63a6382dd45e39d7b3f4b | 0635092583790056b7c6ff6ce70a21a0e3a54abe | refs/heads/main | 2023-07-10T07:07:20.434685 | 2021-08-24T20:19:03 | 2021-08-24T20:19:03 | 399,258,521 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,245 | h | /**
@file
@author Stefan Frings
*/
#ifndef HTTPCONNECTIONHANDLER_H
#define HTTPCONNECTIONHANDLER_H
#ifndef QT_NO_OPENSSL
#include <QSslConfiguration>
#endif
#include <QTcpSocket>
#include <QSettings>
#include <QTimer>
#include <QThread>
#include "httpglobal.h"
#include "httprequest.h"
#include "httprequesthand... | [
"rborges67@me.com"
] | rborges67@me.com |
4ee03ce3de4d22a38b2891aa72d672d481af0a8a | 331bb7bf14c3a4204f59b4bdb9ab714e4f693866 | /OpenGL/src/VertexBuffer.cpp | 75c72119d778e2dca653efa6f3303601b106cdd4 | [] | no_license | woodsjs/cherno_opengl | 1b37e0b3c238dfa0a897b9ac407ca69e795b182d | 480ab1d1b57f5385c20508d12af4666e75e61ab3 | refs/heads/main | 2023-04-18T06:07:03.852238 | 2021-04-23T00:59:54 | 2021-04-23T00:59:54 | 352,333,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | #include "VertexBuffer.h"
VertexBuffer::VertexBuffer(const void* data, unsigned int size)
{
glGenBuffers(1, &m_RendererID);
glBindBuffer(GL_ARRAY_BUFFER, m_RendererID);
glBufferData(GL_ARRAY_BUFFER, size, data, GL_STATIC_DRAW);
}
VertexBuffer::~VertexBuffer()
{
glDeleteBuffers(1, &m_RendererID);
}
void VertexBuf... | [
"jason@coder.haus"
] | jason@coder.haus |
7ceb8ccafa2046a3b16f4ab9bb520658d97b6dca | 5b641d7b69ba0d43bd224d19831ab67a5b101582 | /talks/crosstalk/src/FindTwoPhoton/Class/FindTwoPhoton_DONT_TOUCH.cc | a926ba6ebca1b3157ed413ea56fd45af2e862373 | [] | no_license | jpivarski-talks/1999-2006_gradschool-2 | 9d7a4e91bbde6dc7f472ea21253b32a0eca104e4 | ca889b4d09814a226513e39625ae2f140c97b5d5 | refs/heads/master | 2022-11-19T11:37:55.623868 | 2020-07-25T01:19:32 | 2020-07-25T01:19:32 | 282,235,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,329 | cc | // -*- C++ -*-
//
// Package: FindTwoPhoton
// Module: FindTwoPhoton_DONT_TOUCH
//
// Description: DONT TOUCH THIS FILE
//
// Definition of bind action
//
// Implementation:
//
// Author: Jim Pivarski
// Created: Mon Jun 16 21:55:05 EDT 2003
// $Id$
//
// Revision history
//
// $Log$
#... | [
"jpivarski@gmail.com"
] | jpivarski@gmail.com |
554fb872a22d12008556df7e9fcf6f65574ada85 | 782f5876711aecea8c414b5281d01290c626b2ab | /db/c.cc | ee8a4722b9c344bdf73af9f41ded5e69c93825e1 | [
"BSD-3-Clause"
] | permissive | chronostore/leveldb | b1ca83755fbc053416bbaebc19a3c20364117665 | fbe4e3af3f4e368e0779b6d75cd6005d67469aa2 | refs/heads/master | 2021-01-18T20:38:31.238871 | 2011-08-06T00:19:37 | 2011-08-06T00:19:37 | 2,127,531 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,765 | cc | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "leveldb/c.h"
#include <stdlib.h>
#include <unistd.h>
#include "leveldb/cache.h"
#include "le... | [
"gabor@google.com@62dab493-f737-651d-591e-8d6aee1b9529"
] | gabor@google.com@62dab493-f737-651d-591e-8d6aee1b9529 |
1b6cbce5e974b84ac856721d2de0f84d61f350b5 | ae8763b93c3c32ecb266891a85859c7e1b731f32 | /WestWorld5/WestWorld5/Guest.cpp | d8bb67fde74e2522ec6b52dc00586e96f4795978 | [] | no_license | Miapata/CSC215 | 98a6ade4a7355a21c489c1af97a8f1f09019f5cd | 535bedab8822ad22c097cbc2d50882d75adef146 | refs/heads/master | 2020-03-17T20:39:26.933385 | 2018-06-28T06:44:36 | 2018-06-28T06:44:36 | 133,582,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180 | cpp | #include "stdafx.h"
#include "Guest.h"
#include"Denizen.h"
#include <iostream>
using namespace std;
void Guest::trueDeath() {
cout << getName() << " is dying for reals!"<<endl;
}
| [
"MIAPATA@uat.edu"
] | MIAPATA@uat.edu |
35dcd7c87f891b97031a7dfd764bc2a7db5d1a4d | a29a30550ce70f7fe7358bc2e91132b62721b383 | /build/lin/obj/moc_pagemotorsettings.cpp | 339940f38f7b59306ddbb135142dabe7bb8ef98f | [] | no_license | console-beaver/vesc_tool | 2223cd0e119d3c6ea3b0d8388c6f5bfd09bb2e7e | ea1865aae233489a4298f97f5dabe8b34577e42e | refs/heads/master | 2021-09-11T00:52:22.346906 | 2018-04-05T04:36:43 | 2018-04-05T04:36:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,565 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'pagemotorsettings.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.3)
**
** WARNING! All changes made in this file will be lost!
***************************************************... | [
"tlalexander@gmail.com"
] | tlalexander@gmail.com |
7a03817bf52a3b08da9ad4cf2a6d8ad9f20750b2 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/pb_potential/SetupPoissonBoltzmannPotential.fwd.hh | d13b4af8a4652652811497c7128efab8c67b9885 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,556 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
3088533550dc4630d0250aa29e0a466826813625 | 645a7fdf468e107f62811de7a57b0be4b2c87936 | /server/node_modules/opencv-build/opencv/build/modules/core/convert.vsx3.cpp | f5905361a3c341ec25e639880b68c5a151a3ad9b | [] | no_license | nnaboon/WebForRecNodejs | 20acc1123f3473369b8f1a8456af0cbdf90bef22 | 83613dbb0515d8fb88c0871cd33fdc278d13b19c | refs/heads/main | 2023-02-19T04:35:35.782345 | 2021-01-18T10:51:47 | 2021-01-18T10:51:47 | 330,635,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp |
#include "/Users/naboon/Develop/wks/react_wks/camera_test2/server/node_modules/opencv-build/opencv/opencv/modules/core/src/precomp.hpp"
#include "/Users/naboon/Develop/wks/react_wks/camera_test2/server/node_modules/opencv-build/opencv/opencv/modules/core/src/convert.simd.hpp"
| [
"srisawasdina@gmail.com"
] | srisawasdina@gmail.com |
55bf2cb666b28952b1f71e683b888c194760bc81 | ec7acad8f079b37c5c855ceda374414240426e67 | /eq-hmi20191219/dialog_truck_info.cpp | b935b62b6172c9f03fce833498baed279d98ca31 | [] | no_license | chouer19/eqProj | 145143e732608127776eaaf3aac755956a5ffbe7 | 0815fb46295ce70aafe8e1637863e2eb43e4d510 | refs/heads/main | 2023-06-30T12:51:26.200328 | 2021-08-02T01:42:14 | 2021-08-02T01:42:14 | 391,785,564 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,755 | cpp | #include "dialog_truck_info.h"
#include "ui_dialog_truck_info.h"
Dialog_truck_info::Dialog_truck_info(QWidget *parent) :
QDialog(parent),
ui(new Ui::Dialog_truck_info)
{
ui->setupUi(this);
QRect screenRect = QApplication::desktop()->availableGeometry();
move (screenRect.width()/2-this->width()/2, s... | [
"xuec17@icloud.com"
] | xuec17@icloud.com |
0c97e0e738c4e6054edb52fda21f9d19d57617f2 | 39c51a1d5e98e2761f9318fb080ec80ec2056c13 | /Unit1.cpp | b3647f11e4e9d8a69be9775ec90f437fdd014363 | [
"MIT"
] | permissive | EkaterinaNova/TRPO | 1e38f7191d89f8f069651fde6fa83ff16d7d3fd5 | a5f6866e6d8e12d749f27fb02ea37e4dc8a9b54a | refs/heads/main | 2023-02-18T23:16:16.226204 | 2021-01-16T11:55:15 | 2021-01-16T11:55:15 | 322,257,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 839 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//------------------------------... | [
"noreply@github.com"
] | EkaterinaNova.noreply@github.com |
672f637ddf95d63f52d9c0c9ec3368fce3b1c947 | 4220a8edb142338ac240e521705c8f3f99a151e9 | /src/local_search.cpp | 038c13eabdb7cb92798458bb3f60c5938d6612e3 | [] | no_license | sergei-sl/CVRPTW-Solver | e4f80e8183b57a806190ee3f8527a13d46676907 | 0c91d2001ad0dd7b3bfb5ea750e5141adc69b552 | refs/heads/master | 2020-04-01T11:56:51.648718 | 2018-10-15T21:37:09 | 2018-10-15T21:37:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,798 | cpp | #pragma once
#include "local_search.h"
#include <random>
#include <algorithm>
#include <iterator>
bool TwoOpt(Problem& problem, Route& route)
{
if (route.size() < 4)
return false;
bool route_changed = false;
for (size_t iteration = 0; iteration < 2; ++iteration)
{
label:
bool change... | [
"sergeisl95@yandex.ru"
] | sergeisl95@yandex.ru |
e32bc6caeff908c748c7e75c175d3b799a193365 | 45d300db6d241ecc7ee0bda2d73afd011e97cf28 | /OTCDerivativesCalculatorModule/Project_Cpp/lib_static/FpmlSerialized/GenClass/fpml-asset-5-4/ExchangeTradedContract.hpp | 0caca004b5482341cb751bd6a70aef3259407584 | [] | no_license | fagan2888/OTCDerivativesCalculatorModule | 50076076f5634ffc3b88c52ef68329415725e22d | e698e12660c0c2c0d6899eae55204d618d315532 | refs/heads/master | 2021-05-30T03:52:28.667409 | 2015-11-27T06:57:45 | 2015-11-27T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,577 | hpp | // ExchangeTradedContract.hpp
#ifndef FpmlSerialized_ExchangeTradedContract_hpp
#define FpmlSerialized_ExchangeTradedContract_hpp
#include <fpml-asset-5-4/ExchangeTraded.hpp>
#include <built_in_type/XsdTypePositiveInteger.hpp>
#include <built_in_type/XsdTypeString.hpp>
#include <fpml-shared-5-4/AdjustableOrRelativeDa... | [
"math.ansang@gmail.com"
] | math.ansang@gmail.com |
987aad008647fc2fdf7521d2af939f718672595b | 71a798687f8c83510cdc52ae769b71f31e5f95d0 | /spoj/NHAY/main.cpp | 3642d9a5f1150205694a915e00f370f618d73133 | [] | no_license | shashank30071996/mycodes | 210f59eaad81115898c044b85a2adeee3934155b | 729010cd7ac77285f4c5b962f0ecd6e83096157a | refs/heads/master | 2021-01-02T08:35:29.695258 | 2017-08-01T17:05:26 | 2017-08-01T17:05:26 | 99,024,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | cpp | #include <bits/stdc++.h>
using namespace std;
void KMP(string pat,string txt,int m);
void computelps(string pat,int *lps,int m);
int main()
{
int m;
string pat;string txt;
while(scanf("%d",&m)!=EOF){
cin>>pat;
cin>>txt;
KMP(pat,txt,m);
}
}
void KMP(string pat,string txt,i... | [
"singhshashank229@gmail.com"
] | singhshashank229@gmail.com |
11ae714ac88a2569573f685843e77bfcfe0921d2 | 8f588242dc7ff6ff4e19d05022fea095b93fc070 | /transportInc/System/construct/insertPlate.cxx | 90ea9f23312c7bf1bd1e80f20e89ebb51a8819c5 | [] | no_license | milocco/sinbad | fe768462b26b2cfa5f0bf4ea76d9ba211fb2fc13 | 60a9d3e6e4abf8f701a97ed4ba8b3c62d5d0c9b2 | refs/heads/master | 2021-01-15T23:11:57.499083 | 2016-02-14T23:31:59 | 2016-02-14T23:31:59 | 30,890,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,120 | cxx | /*********************************************************************
CombLayer : MCNP(X) Input builder
* File: construct/insertPlate.cxx
*
* Copyright (c) 2004-2015 by Stuart Ansell
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... | [
"alberto.milocco@gmail.com"
] | alberto.milocco@gmail.com |
24d0779ca65af0ea636b63ced2abdcf423599c5a | d1590021cb64d76623c5804d36cab12c24f1cb1a | /2020/day02.cpp | 1bdf7286dff33f969a27f2b9f4d1793a73c0aee7 | [] | no_license | evroon/adventofcode | 697bff2650cfef2cc96e02aa303a539bfc74e4bd | ceffd754b2723dd3f7141eb754ab4384590e8a14 | refs/heads/master | 2022-12-13T12:53:45.298040 | 2022-12-06T21:32:09 | 2022-12-06T21:32:09 | 159,942,333 | 1 | 0 | null | 2022-11-09T18:13:25 | 2018-12-01T12:28:25 | C++ | UTF-8 | C++ | false | false | 743 | cpp | #include <iostream>
#include <fstream>
#include <stdlib.h>
#include <vector>
#include "manager.h"
R day2_part2(std::ifstream& input)
{
std::string line;
R occurences = 0;
while (std::getline(input, line))
{
int min = std::atoi(line.substr(0, line.find("-")).c_str());
std::string rest ... | [
"erik.vroon22@gmail.com"
] | erik.vroon22@gmail.com |
f026d8f08a6ae5356f4e5a6007780494f371e1b7 | 5963efb46c9bbef73ccb6744ab4a52b6ebd6b305 | /Reference_Implementation/crypto_kem/ntru-hrss701/ntru01/enc/syn/systemc/AES256_ECB_ctx_RoundKey.h | fc1d50721fd864fc4fe8558fcce25335954f045b | [] | no_license | Deepsavani/Post-Quantum-Crypto---NTRU | a5c0324c0281a9890fc977eae55cc4432c5dd8bd | 5494bd4af96998d4056a17ef425489cf45efbae7 | refs/heads/master | 2023-03-18T03:15:59.184060 | 2021-03-16T16:14:22 | 2021-03-16T16:14:22 | 348,408,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,753 | h | // ==============================================================
// File generated on Sun Aug 23 21:46:48 EDT 2020
// Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC v2018.3 (64-bit)
// SW Build 2405991 on Thu Dec 6 23:36:41 MST 2018
// IP Build 2404404 on Fri Dec 7 01:43:56 MST 2018
// Copyright 1986-... | [
"deepsavani@deeps-mbp.myfiosgateway.com"
] | deepsavani@deeps-mbp.myfiosgateway.com |
be2bb0f66c5a044b890db47d0bf81d0a13bea092 | 5105bdcb3fe6e73df70ebf77bb1a8343efb96425 | /simd_helpers/simd_trimatrix.hpp | 53c0ac5b2a32bcf07bcdbaed52d5d78ecae19860 | [] | no_license | kmsmith137/simd_helpers | 6b642040574bda8e4cddb4f138ed0349c56858bf | ba14240db3f6ff6d7dce824752076e208cf96140 | refs/heads/master | 2022-03-16T06:37:04.764112 | 2022-03-03T18:07:53 | 2022-03-03T18:07:53 | 75,947,098 | 4 | 1 | null | 2022-03-03T18:07:54 | 2016-12-08T14:55:18 | C++ | UTF-8 | C++ | false | false | 7,426 | hpp | #ifndef _SIMD_HELPERS_SIMD_TRIMATRIX_HPP
#define _SIMD_HELPERS_SIMD_TRIMATRIX_HPP
#if (__cplusplus < 201103) && !defined(__GXX_EXPERIMENTAL_CXX0X__)
#error "This source file needs to be compiled with C++11 support (g++ -std=c++11)"
#endif
#include "core.hpp"
#include "simd_ntuple.hpp"
namespace simd_helpers {
#if 0
... | [
"kmsmith@perimeterinstitute.ca"
] | kmsmith@perimeterinstitute.ca |
367bfd33f63c2a4e1e5d68067019fad2cff956d1 | 06d5fc42053e6449f8abc03ab2000267bf53c7ff | /ex8/boost.cpp | c5967b961233939dfe8c78d8fa61f51582dc8158 | [] | no_license | GenosW/many_cores | 15ce5733c2b8bdb8c1fa96d69d5bab719be1184b | cb0a36ecaccb9d8d6e8843416733de0b368abb0c | refs/heads/main | 2023-02-21T23:23:05.757698 | 2021-01-24T13:27:22 | 2021-01-24T13:27:22 | 306,657,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,304 | cpp | #include <vector>
#include <string>
#include <algorithm>
#include <numeric>
#include <iostream>
#include <fstream>
#include <cstdlib>
#include "timer.hpp"
// boost
#include <boost/compute/algorithm/transform.hpp>
#include <boost/compute/algorithm/inner_product.hpp>
#include <boost/compute/container/vector.hpp>
#include... | [
"peter.anton.holzner@student.tuwien.ac.at"
] | peter.anton.holzner@student.tuwien.ac.at |
78b3ead3b247720b2db601b5277611e02857d878 | 8ea53d45e88f919f94b7050bb2856e4d86d0329f | /Assignment4/bai4_1.cpp | 48941a4bd4d383c26e8b209efd9cb2d9d16e5683 | [] | no_license | newstar94/VyTDuong-LBEP | be4d53724743bd428330a7c6e475de43cb21a8b0 | c47e9b6a99a340b8b10819eea40dce48d3afabcc | refs/heads/main | 2023-05-08T07:39:49.930954 | 2021-06-05T09:04:22 | 2021-06-05T09:04:22 | 367,024,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 152 | cpp | #include <stdio.h>
#include <math.h>
int main(){
double s,n;
s=0;
n=0;
while (n<100001){
s=s+n;
n++;
}
printf("Tong day so la: %.0lf",s);
}
| [
"77623864+newstar94@users.noreply.github.com"
] | 77623864+newstar94@users.noreply.github.com |
c060a6b98f2ff592c9ae0a6eefd94a151e30fa43 | 772d932a0e5f6849227a38cf4b154fdc21741c6b | /CPP_Joc_Windows_Android/SH_Client_Win_Cpp_Cmake/App/src/base/component/IComponent_UIView.cpp | 1241a87e5cc203a22966d56bd01ac8281f236116 | [] | no_license | AdrianNostromo/CodeSamples | 1a7b30fb6874f2059b7d03951dfe529f2464a3c0 | a0307a4b896ba722dd520f49d74c0f08c0e0042c | refs/heads/main | 2023-02-16T04:18:32.176006 | 2021-01-11T17:47:45 | 2021-01-11T17:47:45 | 328,739,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | #include "IComponent_UIView.h"
#include <base/exceptions/LogicException.h>
#include "ComponentsHandler.h"
int IComponent_UIView::COMPONENT_CATEGORY = GetNew_COMPONENT_CATEGORY();
int IComponent_UIView::getComponentCategory() {
return COMPONENT_CATEGORY;
}
| [
"adriannostromo@gmail.com"
] | adriannostromo@gmail.com |
1189e4b485078b58190df854540798cc7528d5e7 | edfb435ee89eec4875d6405e2de7afac3b2bc648 | /tags/selenium-2.0-rc-1/cpp/IEDriver/IEDriverServer.cpp | cd5570675f4124b69859e20a57c712fe7a4ff1b1 | [
"Apache-2.0"
] | permissive | Escobita/selenium | 6c1c78fcf0fb71604e7b07a3259517048e584037 | f4173df37a79ab6dd6ae3f1489ae0cd6cc7db6f1 | refs/heads/master | 2021-01-23T21:01:17.948880 | 2012-12-06T22:47:50 | 2012-12-06T22:47:50 | 8,271,631 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,307 | cpp | // Copyright 2011 WebDriver committers
// 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 ... | [
"eran.mes@gmail.com@07704840-8298-11de-bf8c-fd130f914ac9"
] | eran.mes@gmail.com@07704840-8298-11de-bf8c-fd130f914ac9 |
de83464e4af98521a91b597bbcfa38aa6e9b828d | e60678d3bd87ba051f73772fe956271847bd09d5 | /34-android-system-module/34-26-weidongshan_4_term_android/cpp_projects_weids_bak/cpp_projects/03th_ProgramStructure/06th/dog.cpp | c94acceff733ae7a5c9d11bc73fd3defa2009d06 | [] | no_license | juyingguo/android-knowledge-principle-interview | da75682d97ab9353850567eb9d96f516a7d36328 | 368a3ce91bc9bd735d78985a8dd8925232f9b8c6 | refs/heads/master | 2023-04-15T06:18:36.200436 | 2023-03-21T13:39:29 | 2023-03-21T13:39:29 | 198,389,681 | 2 | 2 | null | 2022-09-01T23:10:43 | 2019-07-23T08:44:37 | Java | UTF-8 | C++ | false | false | 401 | cpp |
#include <iostream>
#include "dog.h"
namespace C {
using namespace std;
void Dog::setName(char *name)
{
this->name = name;
}
int Dog::setAge(int age)
{
if (age < 0 || age > 20)
{
this->age = 0;
return -1;
}
this->age = age;
return 0;
}
void Dog::printInfo(void)
{
cout<<"name = "<<name<<" age = "<<age<<... | [
"juying2050@sina.cn"
] | juying2050@sina.cn |
2a01fc2d9b743278cdb6b750deefdc1c6e31aa5e | 119aeffc0718f28f16bfb1575139739021d2b5ef | /Cpp全/Cpp/C++练习/juzhen1.cpp | 9b16f377f1090a8a614ccf2a8d4f70effd73db91 | [] | no_license | bsyess/Anything | 058c420564548e8198c180d197fcbb31d4509d8b | 5da9ea8c26579fd4a61c4a846d24b9e3d95861a1 | refs/heads/main | 2023-02-17T19:20:43.057901 | 2021-01-14T14:13:40 | 2021-01-14T14:13:40 | 320,489,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | cpp | #include<iostream>
using namespace std;
class Matrix
{
public:
int a[10][10],n;
Matrix(){};
};
istream & operator >>(istream &in,Matrix &m)
{
int i,j;
in>>m.n;
for(i=0;i<m.n;i++)
{
for(j=0;j<m.n;j++)
{
in>>m.a[i][j];
}
}
return in;
}
ostream & operato... | [
"noreply@github.com"
] | bsyess.noreply@github.com |
11398fcd9b6e27be602fe664a2e4f2a805075841 | ef9a782df42136ec09485cbdbfa8a56512c32530 | /branches/Chickens/src/livestock/pullets.h | c749dc10141b4aaa4eab4ddf9c42d4f114f9875c | [] | no_license | penghuz/main | c24ca5f2bf13b8cc1f483778e72ff6432577c83b | 26d9398309eeacbf24e3c5affbfb597be1cc8cd4 | refs/heads/master | 2020-04-22T15:59:50.432329 | 2017-11-23T10:30:22 | 2017-11-23T10:30:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,314 | h | /****************************************************************************\
$URL$
$LastChangedDate$
$LastChangedRevision$
$LastChangedBy$
\****************************************************************************/
/****************************************************************************\
\****************... | [
"sai@agro.au.dk"
] | sai@agro.au.dk |
727fe622abd40599079460362a90d4be30213f46 | de7e771699065ec21a340ada1060a3cf0bec3091 | /core/src/java/org/apache/lucene/codecs/blocktree/SegmentTermsEnumFrame.cpp | 42fe22190d478ec12a1ef715bf9a84f1837b826c | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,113 | cpp | using namespace std;
#include "SegmentTermsEnumFrame.h"
#include "../../index/IndexOptions.h"
#include "../../store/ByteArrayDataInput.h"
#include "../../util/ArrayUtil.h"
#include "../../util/BytesRef.h"
#include "../BlockTermState.h"
#include "SegmentTermsEnum.h"
namespace org::apache::lucene::codecs::blocktree
{
u... | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
68c93b16f9e4a99cff2675eb8731d261e8e014e9 | 8f3f67b62569a2104bb534486cac0aca019dd223 | /include/SDIMCompiler/ScopingBlock.hpp | fe0b751e9e32807d726d982beb45f3b1f76e9692 | [
"MIT"
] | permissive | DamienHenderson/SDIM | 872122b64d9f0055af25f578cc9292fc32a47f88 | 623ac00402a68a504451c3b7c76cd16fde2fa57e | refs/heads/master | 2020-04-19T03:22:54.326678 | 2019-05-30T03:22:17 | 2019-05-30T03:22:17 | 167,932,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | hpp | #pragma once
#include "Types.hpp"
#include <unordered_map>
#include <string>
namespace SDIM
{
// Scoping block
// has it's own set of key value pairs of strings to variables
// each scoping block is completely self contained
// variables in scopes closer to the current scoping block have precedence over variables... | [
"damien.henderson97@gmail.com"
] | damien.henderson97@gmail.com |
3880b95823533733f57be0432ef23e78c1cf9bff | c93ac2f725f4ea1e09ec3178dee52de56a41783a | /SPOJ/BC.cpp | d6139012ee4e7d87eccdeb1bc77482d5daf77ce6 | [] | no_license | TheStranger512/Competitive-Programming-Stuff | 4b51f140907c044616c28b14db28e881ee9d2f41 | 66824e816b1f3ee113e29444dab3506a668c437d | refs/heads/master | 2021-01-21T01:26:36.676309 | 2014-01-22T08:18:01 | 2014-01-22T08:18:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | cpp | /* Solved
* 9935. Break the Chocolate
* File: BC.cpp
* Author: Andy Y.F. Huang
* Created on September 30, 2012, 12:30 PM
*/
#include <cstdio>
#include <iostream>
#include <cmath>
#include <algorithm>
#include <stack>
#include <vector>
#include <queue>
#include <string>
#include <cstring>
#include <fstream>
#inc... | [
"huang.yf.andy@live.ca"
] | huang.yf.andy@live.ca |
848d7e370c013bb7fda11f5aafe760406fbadbc0 | cdf069f16596a61d39d51e739cc8454deb132b38 | /Framework/MeshContainer.h | c9232a0a253261bee045eb21088683cbe533bfea | [] | no_license | YutaTachibana0310/hackathon0729 | bfcb944d628fd3eaaaab80d242b18d10b190ba9a | b05f1324758351b4faafab2b28a5ddb650d51d27 | refs/heads/master | 2020-06-25T09:09:50.555342 | 2019-07-29T08:01:18 | 2019-07-29T08:01:18 | 199,267,811 | 0 | 0 | null | 2019-07-29T06:45:42 | 2019-07-28T09:32:36 | C++ | SHIFT_JIS | C++ | false | false | 1,242 | h | //=====================================
//
//メッシュコンテナヘッダ[MeshContainer.h]
//Author:GP12B332 21 立花雄太
//
//=====================================
#ifndef _MESHCONTAINER_H_
#define _MESHCONTAINER_H_
#include "../main.h"
/**************************************
マクロ定義
***************************************/
/*************... | [
"yuta.tachibana0310@gmail.com"
] | yuta.tachibana0310@gmail.com |
24da316d0ca01b5796c3b78957daa40d9823e0b6 | 5f8d9d61075c2f3e604b3ad21eb20a7b5b581184 | /Project4/MapLoader.cpp | 9dfeda72aced785120ad4f4d34918a5636af01c7 | [] | no_license | olivergoch/Computer-Science-32 | 16d85f03bcd2d69c24538920c13bf186151231b1 | a281bc292bb9dace9f8939a9af90fd0511603f94 | refs/heads/master | 2020-03-27T21:30:16.120638 | 2018-09-03T04:14:55 | 2018-09-03T04:14:55 | 147,149,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,956 | cpp | #include "provided.h"
#include <string>
#include <vector>
#include <fstream>
using namespace std;
class MapLoaderImpl
{
public:
MapLoaderImpl();
~MapLoaderImpl();
bool load(string mapFile);
size_t getNumSegments() const;
bool getSegment(size_t segNum, StreetSegment& seg) const;
private:
vector<StreetSegment> ... | [
"the.oliver.goch@gmail.com"
] | the.oliver.goch@gmail.com |
63a2de36c2206c235110b5c98e01c34a320ea358 | 0e40a0486826825c2c8adba9a538e16ad3efafaf | /S3DWrapper10/Commands/CreateDepthStencilState.h | 4f5751791465a803eedf0db965b1a142f7beb4f1 | [
"MIT"
] | permissive | iraqigeek/iZ3D | 4c45e69a6e476ad434d5477f21f5b5eb48336727 | ced8b3a4b0a152d0177f2e94008918efc76935d5 | refs/heads/master | 2023-05-25T19:04:06.082744 | 2020-12-28T03:27:55 | 2020-12-28T03:27:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,461 | h | #pragma once
#include "Command.h"
#include <memory.h>
namespace Commands
{
class CreateDepthStencilState : public CommandWithAllocator<CreateDepthStencilState>
{
public:
CreateDepthStencilState()
{
CommandId = idCreateDepthStencilState;
}
CreateDepthStencilState(const D3D10_DDI_DEPTH_STENCIL_DESC* ... | [
"github@bo3b.net"
] | github@bo3b.net |
1da93f3476ab0f1d84350766d9bd6f032d6dadf4 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/angle/src/libANGLE/renderer/metal/renderermtl_utils.h | 54615ce89c4889ae7be36b40cb4cda51945961e5 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 1,346 | h | //
// Copyright 2023 The ANGLE 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.
//
// renderermtl_utils:
// Helper methods pertaining to the Metal backend.
//
#ifndef LIBANGLE_RENDERER_METAL_RENDERERMTL_UTILS_H_
#define LIBA... | [
"jengelh@inai.de"
] | jengelh@inai.de |
a954b1a96105b2fe465e357652c4bd711a8cee77 | 79d343002bb63a44f8ab0dbac0c9f4ec54078c3a | /lib/tsan/interception/interception_win.h | 4590013019e375a41817fc088a06463012d34b3b | [
"MIT"
] | permissive | ziglang/zig | 4aa75d8d3bcc9e39bf61d265fd84b7f005623fc5 | f4c9e19bc3213c2bc7e03d7b06d7129882f39f6c | refs/heads/master | 2023-08-31T13:16:45.980913 | 2023-08-31T05:50:29 | 2023-08-31T05:50:29 | 40,276,274 | 25,560 | 2,399 | MIT | 2023-09-14T21:09:50 | 2015-08-06T00:51:28 | Zig | UTF-8 | C++ | false | false | 3,463 | h | //===-- interception_linux.h ------------------------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... | [
"andrew@ziglang.org"
] | andrew@ziglang.org |
63b68925ce1d6919caca4ba1e2205dcf64e1cf56 | 928775398b79b42c42fb20b5622b6f1a9d653b2b | /config-generic.h | 5143710b74556b397295616d116e6db0294b1882 | [
"MIT"
] | permissive | davidchisnall/azure-freebsd-minimal | 5f55a874d6904453a7b1f4306886ea25e13990ad | 9b41e81a2f38e7ce9fcd05d3ad69f138aa2e9ece | refs/heads/main | 2023-08-27T22:32:35.388360 | 2021-10-16T11:49:13 | 2021-10-16T11:49:13 | 393,779,072 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,362 | h | // Copyright David Chisnall
// SPDX-License-Identifier: MIT
#pragma once
#include <algorithm>
#include <assert.h>
#include <chrono>
#include <initializer_list>
#include <optional>
#include <string_view>
#include <ucl.h>
#include <unordered_map>
#include <utility>
#include <stdio.h>
#ifndef CONFIG_DETAIL_NAMESPACE
# ... | [
"David.Chisnall@microsoft.com"
] | David.Chisnall@microsoft.com |
53d8f229799b9cffd83d8f7f6a7459457a46a0b2 | 768bda36062ffa1a5c6357b28cb8367f9b2be1ed | /AbleClass/CreadFile.cpp | e8e368057f8a0f5a2d3634afdb8b9471cc190458 | [] | no_license | djia99/creadIWB | 446f9c77c5e97c3774a8fd3efdf9a66e82a64f1c | 6fd0b41f42b29df61dac7952249db8715de076b1 | refs/heads/master | 2020-04-16T22:52:46.243102 | 2019-01-16T07:07:53 | 2019-01-16T07:07:53 | 165,988,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,395 | cpp | #include "stdafx.h"
#include "CreadFile.h"
CCreadFile::CCreadFile() :
m_nWrittenSize(0)
{
m_strYearMonth = _T("");
m_strDay = _T("");
memset(m_strFileName, 0, MAX_PATH * sizeof(char));
memset(m_strFilePath, 0, MAX_PATH * sizeof(char));
m_pFile = NULL;
m_nDay = 0;
m_bSeekEnd = FALSE;
}
CCrea... | [
"noreply@github.com"
] | djia99.noreply@github.com |
7e8e716368ba2637eefc312a437c2fb190ee2010 | 2ba2e7b90f2582f67790e7515a34610b94b80010 | /common/strings/rebase.cc | 23a8a037e535ba60bc435cab2984a25b7f2c28af | [
"Apache-2.0"
] | permissive | antmicro/verible | 8354b0d3523bd66c58be9cf3a9bc2c9359734277 | 9f59b14270d62945521fd7e93de1f304ad9c4a28 | refs/heads/master | 2023-07-22T22:18:03.579585 | 2023-05-19T17:01:34 | 2023-05-19T17:01:34 | 221,144,955 | 1 | 2 | Apache-2.0 | 2023-02-17T08:58:07 | 2019-11-12T06:21:02 | C++ | UTF-8 | C++ | false | false | 1,085 | cc | // Copyright 2017-2020 The Verible 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 o... | [
"h.zeller@acm.org"
] | h.zeller@acm.org |
4764164789b35e5d9e541b92a09bc153306b6fea | dde31782e6e39cf6dcbff2a4bbea46e75091693a | /src/pagespeed/kernel/base/string_util.cc | a042975da76f45202bee7af1f333987350f4933e | [] | no_license | apache/incubator-pagespeed-debian | 02a320a67860118b22be3019428d3acf176fc59c | 0202964b14afc20ea2a17a21444bb5be3e3c8c1c | refs/heads/master | 2023-07-02T21:15:01.888831 | 2023-04-21T06:58:40 | 2023-04-21T14:55:52 | 78,453,135 | 3 | 5 | null | 2023-04-21T14:55:53 | 2017-01-09T17:43:02 | C++ | UTF-8 | C++ | false | false | 20,638 | cc | /*
* Copyright 2010 Google 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... | [
"morlovich@google.com"
] | morlovich@google.com |
b37bcff6cbdfc524dc36bd98e7e90849d50f560d | 357fe03065b6cb5e15272f0f426e2bfaec39b004 | /2020-21-1/algo II/codes/minta/bruteforce.cpp | 31b4d5893371927e3d3d9f0f651f75445bbff962 | [] | no_license | imdonix/elte-ik-bsc | f2101456dac556264ee5bed0650829bf9522fbaa | 126181bebcf9af323b54222a2177eb8dbb797144 | refs/heads/master | 2023-07-30T23:36:03.440246 | 2022-05-17T21:25:57 | 2022-05-17T21:25:57 | 219,555,437 | 6 | 4 | null | 2021-11-17T22:07:07 | 2019-11-04T17:15:05 | C++ | UTF-8 | C++ | false | false | 801 | cpp | #include <iostream>
#include <string>
#include <vector>
void print_results(std::vector<int> S)
{
std::cout << "Talalatok:";
for (int i = 0; i < S.size(); i++)
{
std::cout << " " << S[i];
}
std::cout << std::endl;
}
void Bruteforce(const std::string& T, const std::string& P)
{
std::cout... | [
"tamas.donix@gmail.com"
] | tamas.donix@gmail.com |
260f9098c4a0b2b5a0d516371ad5578cdfac05e7 | 74dda91e9469dd2b95f5f1448ac7ac36b2624f8a | /case_Dziekson/0/p | 0bd05f02559921ea9d59187584ec3fae894d550e | [] | no_license | DomDziekan/Obliczenia-Inzynierskie-w-chmurze | fa87735170342bd46b6b90cf0aadc956e7882823 | b1eb2ebaa87671b5c1ce41694a63d67e793711ee | refs/heads/master | 2020-04-20T21:55:42.116565 | 2019-02-07T18:53:45 | 2019-02-07T18:53:45 | 169,123,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 |
/*--------------------------------*- C++ -*----------------------------------*| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 2.0.1 |
| ... | [
"noreply@github.com"
] | DomDziekan.noreply@github.com | |
65af69b3a62a2cefb728a24d7cdb00f293047b4c | 0e8f68043c4349175c7a877aa0b89201c1fe1c76 | /leetcode/Discuss/027.Serialization.Deserialization.of.a.Binary.Tree.II.cpp | 5ba16454fee09742c3fbe908f9d9f343a194f1be | [] | no_license | jiabailie/Algorithm | f26f0d9f5e4e4b1d42cee7d2150cfc49ca2c6faf | 1357cccf698a98a32e7e03a84d697478b56e3fe5 | refs/heads/master | 2021-01-25T07:08:20.331355 | 2016-11-23T06:25:26 | 2016-11-23T06:25:26 | 9,423,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,246 | cpp | #include <cstdio>
#include <iostream>
#include <fstream>
#include <vector>
#include <cstring>
#include <vld.h>
using namespace std;
struct TreeNode
{
int i_val;
TreeNode *p_left;
TreeNode *p_right;
TreeNode() : i_val(0), p_left(0), p_right(0) {}
TreeNode(int val) : i_val(val), p_left(0), p_right(0... | [
"spotlightyrg@gmail.com"
] | spotlightyrg@gmail.com |
711d1a5a1d7e264265d76bc1a8d8f2a479916e16 | efc9f7ce45fd208d6ed43c41ea9a6ed8b4664feb | /src/libs/SGAL/lib/geometries/Tex_coord_array.cpp | 719f9d341626352df01de84ee5ece1e1574fc61d | [] | no_license | efifogel/sgal | 312d604e879240baae60e82faa87acc637a38542 | bb3ebcb1c06aff311f3ea095f50e02cc6bd2983e | refs/heads/master | 2020-03-27T22:15:31.407935 | 2018-09-03T13:38:10 | 2018-09-03T13:38:10 | 147,217,311 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,673 | cpp | // Copyright (c) 2013 Israel.
// All rights reserved.
//
// This file is part of SGAL; 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; version 2.1 of the
// License. See the file LICENSE.LGPL distributed with SGAL.
//
... | [
"efifogel@gmail.com"
] | efifogel@gmail.com |
29bac6eb072cda6fa0fb39475862ac1f3edf5d20 | 7fa6aa899c62125789da0368c3cbd514cd7def10 | /PagedLOD/Tests/UnitTests/TestCase_3002/test.cpp | 25ef21dd679448ad90213c5b206006fba520d774 | [] | no_license | xiaoqiye/RFPagedLOD | f78e72d537319101063980a98b675eec13f37b32 | aa0eefe17955cef5144874612d0d37f34b2f21fc | refs/heads/master | 2022-11-21T20:18:59.908851 | 2020-07-26T12:21:31 | 2020-07-26T12:21:31 | 255,565,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,886 | cpp | #include "pch.h"
#include "MockData.h"
TEST(TestMeshLURList, TestPushTileNode)
{
auto LRUList = MockData::createMeshLRUList();
//1 insert
LRUList.push(SSplayElement("Tile_1_3.bin", 400, 400));
LRUList.push(SSplayElement("Tile_1_2_1.bin", 300, 200));
LRUList.push(SSplayElement("Tile_1_2_0.bin", 200, 200));
LRULi... | [
"806707499@qq.com"
] | 806707499@qq.com |
bfaf862660651a6e89249f4d705084e413f2ae9f | 4e70b3c405ac56c985f61b6394591fae98563eb0 | /configuration.cpp | fcf8c7c00dd6869eb80146375fd20a4d96ae5cc2 | [] | no_license | chrisschuette/GL.Minimizer | 06c6833f26d8d3a907a7e85e44c5277a8788e504 | aed4339e8025295c1156c7df56a90dd70cb2cf80 | refs/heads/master | 2021-01-25T07:28:15.472121 | 2014-06-28T10:39:32 | 2014-06-28T10:39:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,169 | cpp | /*
* File: Configuration.cpp
* Author: chris
*
* Created on January 2, 2012, 2:32 PM
*/
#include "configuration.h"
#include "exception.h"
#include "utils.h"
#include "luainterpreter.h"
#include <iostream>
#include <sstream>
using namespace basic;
bool Configuration::s_registered = scripting::LuaInterpreter... | [
"mail@christophschuette.com"
] | mail@christophschuette.com |
cecf04243930bf73b99295818f8167dc73848408 | 9e7ad0241ab120559af94050a1e31c62f1d63941 | /addons/ofxRaycaster/example-segment-intersection/src/ofApp.h | 6b65952d4497607612f56de41984d22dd4d3fb12 | [] | no_license | nickdchee/CityBuilderRTS | d27117ab7aa7ac672d1d5cc83556752cbbfc77a2 | 16e77418bdbae36cb0f01e22bf8a340ab894365b | refs/heads/master | 2020-04-16T17:38:59.848644 | 2019-01-29T08:08:19 | 2019-01-29T08:08:19 | 165,784,090 | 1 | 0 | null | 2019-01-20T16:52:31 | 2019-01-15T04:15:49 | C++ | UTF-8 | C++ | false | false | 811 | h | #pragma once
#include "ofMain.h"
#include "ofxRaycaster.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int... | [
"tiganov@ualberta.ca"
] | tiganov@ualberta.ca |
32d23bdc35819faea861565dc2c47cebf243ae0f | 71e5b5cd3b6834fa1f342b991dffb7212816274b | /ldr/ldr.ino | 4be4ac35397d6740d272480feaa1b589311efde1 | [
"Apache-2.0"
] | permissive | trcclub/Basic-Arduino-Projects | b222296509cb5830c6ab91468696d99f0b8fe35d | 230cbad2fd8008f529ee5b983c66c3e8fb264e41 | refs/heads/master | 2022-06-01T02:00:38.371728 | 2020-04-22T17:39:43 | 2020-04-22T17:39:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | ino | int sensorPin=A0;//select the inputpin for LDR
int sensorValue=0;
void setup() {
Serial.begin(9600);
}
void loop(){
sensorValue = analogRead(sensorPin);
Serial.print("sensorValue");
Serial.println(sensorValue);
delay(250);
}
| [
"thameemk612@gmail.com"
] | thameemk612@gmail.com |
166983321fd345be2f23756dd9eb5c173ff36f0b | 5e9c396ea5d81dce62ef4e6f260db21385608922 | /src/chrono_vehicle/tracked_vehicle/track_shoe/TrackShoeSinglePin.cpp | 662719708ee0afb9888a706b36fe4223ec05d57d | [
"BSD-3-Clause"
] | permissive | gvvynplaine/chrono | 357b30f896eb6c1dcabcebd0d88f10fab3faff20 | a3c0c8735eb069d5c845a7b508a048b58e022ce0 | refs/heads/develop | 2023-01-05T08:43:13.115419 | 2020-07-09T08:24:34 | 2020-07-09T08:24:34 | 278,308,549 | 0 | 0 | BSD-3-Clause | 2020-10-30T12:17:47 | 2020-07-09T08:33:24 | null | UTF-8 | C++ | false | false | 6,892 | cpp | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | [
"serban@wisc.edu"
] | serban@wisc.edu |
f261c6aab6aaf1707ad00245a1180d01e8d80a52 | e27d9e460c374473e692f58013ca692934347ef1 | /drafts/quickSpectrogram_2/libraries/liblsl/external/lslboost/spirit/home/phoenix/object/construct.hpp | a278872d71753b23f52406af9732eff0a821a753 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | thoughtworksarts/Dual_Brains | 84a0edf69d95299021daf4af9311aed5724a2e84 | a7a6586b91a280950693b427d8269bd68bf8a7ab | refs/heads/master | 2021-09-18T15:50:51.397078 | 2018-07-16T23:20:18 | 2018-07-16T23:20:18 | 119,759,649 | 3 | 0 | null | 2018-07-16T23:14:34 | 2018-02-01T00:09:16 | HTML | UTF-8 | C++ | false | false | 2,573 | hpp | /*=============================================================================
Copyright (c) 2001-2007 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.lslboost.org/LICENSE_1_0.txt)
================================... | [
"gabriel.ibagon@gmail.com"
] | gabriel.ibagon@gmail.com |
b367509d880debf451309c520306dc9492177831 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5631572862566400_1/C++/psir/bffs.cpp | 49020311517c0529e5564d03d6a2dd435d1e0bf7 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,067 | cpp | #include <iostream>
#include <algorithm>
#include <cmath>
#include <vector>
#include <string>
#include <cstdio>
#include <map>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <set>
#define FOR(i,a,b) for(int (i)=(a);(i)<(b);++(i))
#define FORC(it,cont) for(__typeof(cont.begin()) it=(cont... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
9b5c494c80cc3db7ddb7592d1fb97c92155b5528 | 0733126cd332199e01982462c5a282c49e33a9cf | /Algorithm/cpp/67.AddBinary.cpp | b2fa5263f871bcafbbfa081c7c7eb7b5ddcc8fc9 | [
"MIT"
] | permissive | 741zxc606/LeetCodePractices | 70d271f70a4ecc5e2506dc842c5f610dd5eea1b7 | 6a87edf601ecc52d627b1a5e19b96983fc37bc92 | refs/heads/master | 2021-06-04T20:24:52.674715 | 2019-12-31T08:16:55 | 2019-12-31T08:16:55 | 95,416,039 | 0 | 0 | null | 2019-01-10T03:01:22 | 2017-06-26T06:37:02 | C++ | UTF-8 | C++ | false | false | 1,026 | cpp | /*
* 67.Add Binary
* Given two binary strings,return their sum(also a binary string).
* For example,
* a = "11"
* b = "1"
* return "100"
*/
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
string addBinary(string a, string b)
{
int alen = a.s... | [
"noreply@github.com"
] | 741zxc606.noreply@github.com |
30c29ee641f1f979c8f265d6906064860003f7be | fb9a9e720c116281da77d77bc8648e7f010322a3 | /01-1/Betweenadder/betweenAdder.cpp | b1efee65ff7319b773a5901faaf79c734c239107 | [] | no_license | Jelcream/Cpp_study | fac6e706e6f903ace237cebac56bf4ab9eac6673 | c3b073b1630bd97c2fd7617f37feed3ba971612d | refs/heads/master | 2023-03-30T06:07:32.207733 | 2021-04-05T16:20:59 | 2021-04-05T16:20:59 | 354,875,840 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 447 | cpp | #include <iostream>
int main()
{
int val1, val2;
int result = 0;
std::cout<<"두 개의 숫자입력: ";
std::cin>>val1>>val2;
if(val1 < val2)
{
for (int i = val1+1; i<val2; i++)
{
result+=i;
}
}
else
{
for(int i = val2+1; i<val1;i++)
{
... | [
"43948280+Jelcream@users.noreply.github.com"
] | 43948280+Jelcream@users.noreply.github.com |
6df387db2ba225a9ed5171f331368c03a90bdcfa | fe402a0d7dcbedf88f68aed85e531b5a9c519dd8 | /spring10/evilsnakes/enemy.h | 47321de7e472f406493a37f6a6fd093358ee7a8e | [] | no_license | ericx2x/csundergradhomework | 1e12c68ffeb50406648238142cc0abe29735e1a1 | 486bcd8c09e7bba39953e2509e61045ff4adbff3 | refs/heads/master | 2021-06-09T12:47:09.025877 | 2016-12-13T23:32:14 | 2016-12-13T23:32:14 | 76,407,145 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 843 | h | /*********************************************************/
/* Programmer: Michael Staub */
/* */
/* File Name: enemy.h */
/* */
/* Date: 2/28/2010 ... | [
"ericjlima@gmail.com"
] | ericjlima@gmail.com |
48702dbfe46eb357ccff793bd750038900df46fe | 1ee5f4a7d365db72ab3dc5d87a16d4f64debe5e3 | /Source/SourceStringChecker.h | cf2f81b9f87f04c3981b188718fcb4ddf5b7dc07 | [] | no_license | Bigstorm20008/FileConverter | 9fe4f409811f155b80c82f69877cabf2616875b5 | effc773eadd48ae56575d0397c6f862e44a18a35 | refs/heads/master | 2020-03-28T02:18:31.427612 | 2018-09-09T05:42:24 | 2018-09-09T05:42:24 | 147,561,434 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 597 | h | #ifndef SOURCE_STRING_CHECKER_H
#define SOURCE_STRING_CHECKER_H
#include <string>
class SourceStringChecker
{
public:
SourceStringChecker();
~SourceStringChecker();
bool isCorrectString(const std::wstring& sourceString);
const std::wstring& getUnixTimeStamp()const;
const std::wstring& getBid()const;
const st... | [
"bigstorm@3g.ua"
] | bigstorm@3g.ua |
2f87390fa07a68a5beca58140f5c8ea4cbb46a75 | b7ee9ac14d6981e18fa1b19214366878a4884a42 | /Projects/Irrlicht/Source/SoftwareDriver2_helper.h | 2185b23f8111402926cb82842b338a38d91ec967 | [
"MIT"
] | permissive | skylicht-lab/skylicht-engine | 89d51b4240ca6ed5a7f15b413df5711288580e9e | ff0e875581840efd15503cdfa49f112b6adade98 | refs/heads/master | 2023-09-01T02:23:45.865965 | 2023-08-29T08:21:41 | 2023-08-29T08:21:41 | 220,988,542 | 492 | 46 | MIT | 2023-06-05T10:18:45 | 2019-11-11T13:34:56 | C++ | UTF-8 | C++ | false | false | 8,303 | h | // Copyright (C) 2002-2012 Nikolaus Gebhardt / Thomas Alten
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
/*
History:
- changed behavior for log2 textures ( replaced multiplies by shift )
*/
#ifndef __S_VIDEO_2_SOFTWARE_HELPER_H_INCLUDED... | [
"hongduc.pr@gmail.com"
] | hongduc.pr@gmail.com |
7d42abb775f6a53c122d5c8f2124163100221058 | 55ae9643ce366b1d5e05328703cd82af5bf2bde3 | /3019.cpp | fabec7b20320cb975178ef54993e05bc6fa5d936 | [] | no_license | thextroid/edunote | 486a9030cc60e1aca454d55d8228babe4d7cedf8 | 8fe6ac5929ce3fc322a2196ab716d4cc9136786e | refs/heads/master | 2021-01-19T21:40:43.428088 | 2017-04-19T01:59:11 | 2017-04-19T01:59:11 | 88,685,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cpp | #include <iostream>
#include <stdio.h>
#define abs(a) (a)<0? -(a):(a)
using namespace std;
int main(){
freopen("data.in","r",stdin);
freopen("data.out","w",stdout);
int NT,n;
int v[51];
scanf("%d",&NT);
while(NT--){
scanf("%d",&n);
for(int i = 0 ;i < n;++i)
scanf("%d",&v[i]);
int diff=0;
for(int i = 0 ... | [
"thexfer@gmail.com"
] | thexfer@gmail.com |
db3fd5cd898473c2e716c47b7068fe11a66d86da | cc5a7ff1651b7f744096b963b706da193c9fda64 | /ch1_DP1/9095.cpp | f7f7a0c5cec085726ae2fd33f5c9cd0ca096165e | [] | no_license | Taeu/Algo | bc80a0c7c12b6e80b72c5510bb8601c73e46996e | 8aa5d7c72bcd52b6c6c66460e1a69dd018f6f1f5 | refs/heads/master | 2020-03-10T19:15:16.344175 | 2019-07-04T09:00:33 | 2019-07-04T09:00:33 | 129,544,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | #include<vector>
#include<iostream>
using namespace std;
#pragma warning(disable:4996)
int dp[1001];
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
dp[1] = 1;
dp[2] = 2;
dp[3] = 4;
for (int i = 4; i < 12; i++) {
dp[i] = dp[i - 1] + dp[i - 2] + dp[i - 3];
}
while (n--) {
in... | [
"specia1ktu@gmail.com"
] | specia1ktu@gmail.com |
2dfe461e3d84346201040bdb3c1a9a205ed01958 | 0df59ab0f0e41625b93e9860bb2c7d61b7127cef | /algoritmoGeneticoCPlusPlus/teste.h | ed0c7ab8d238bbce130edd7a651ea4fbc4f0eae6 | [] | no_license | RichardUlissesGabriel/tcc-algoritmo-genetico | 3a5a95fa66562f48c370a8f08a878f6e877b55c1 | d0ad3058111ac46ce58bcbd06bb38d1d5c76c0c7 | refs/heads/master | 2023-01-30T04:56:03.814396 | 2020-12-14T23:56:19 | 2020-12-14T23:56:19 | 321,500,986 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 976 | h | #pragma once
#include <string>
#include <vector>
#include <map>
using namespace std;
class teste{
private:
string nomeTeste;
string nomeFileSaida;
//vetor de parametros, cada elemento é um conjunto de parametros
map<string, int> conjuntoParams;
public:
teste();
~teste();
string getNomeTes... | [
"rick_gabriel2009@hotmail.com"
] | rick_gabriel2009@hotmail.com |
1cb16f60ae9d45d53867db08b50eb9c9b46db20e | 005eb1edbcef8e69a7f203642c4a849f27d82668 | /2261/main.cpp | 747770707b52c82a891ec2dc3293ecc06f9082ab | [] | no_license | JustinLiu1998/ECNU-Online-Judge | 3dc2e1fe899f4ff7d64decafc5f21508b8bab40d | c57d4343334c5c15b48e6ce09882ec8092e07672 | refs/heads/master | 2022-04-07T14:05:06.856405 | 2020-02-25T13:28:36 | 2020-02-25T13:28:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,883 | cpp | //
// main.cpp
// 2261
//
// Created by 刘靖迪 on 2017/9/18.
// Copyright © 2017年 刘靖迪. All rights reserved.
//
#include <iostream>
#include <cstring>
using namespace std;
int power (int n, int prime, int e) {
int ans=0;
while (n / prime) {
n /= prime;
ans += n;
}
return ans/e;
}
int ... | [
"liujingdiljd@icloud.com"
] | liujingdiljd@icloud.com |
b6d1ae100c4b12d58497a1eaad56b48cb81c983b | c732666c24d86e0da4cd2c1ee12619e9c514e818 | /offline/01_03/02-14/1654.cpp | 13d2c8ada4c13da6beb6b7997db7ce669f3af75e | [] | no_license | Algostu/boradori | 032f71e9e58163d3e188856629a5de4afaa87b30 | 939d60e8652074e26ba08252217f7788cae9063c | refs/heads/master | 2023-04-22T03:57:26.823917 | 2021-04-06T23:09:36 | 2021-04-06T23:09:36 | 263,754,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | cpp | // Created on 강한결의 iPad.
#include <bits/stdc++.h>
using namespace std;
inline long long splitN(vector<int> &arr, int N){
long long sum = 0;
int size = arr.size();
for(int i=0; i<size; i++){
sum += arr[i] / N;
}
return sum;
}
int main() {
int k, n;
cin >> k >> n;
vector<int> ar... | [
"consistant1y@ajou.ac.kr"
] | consistant1y@ajou.ac.kr |
cffa2092ab5e08861aa438506ca0fea668b0babb | c67ed12eae84af574406e453106b7d898ff47dc7 | /chap02/Exer02_35.cpp | b5ed3a275f16d6ad777e7194ae1f76d2ed6a57cb | [
"Apache-2.0"
] | permissive | chihyang/CPP_Primer | 8374396b58ea0e1b0f4c4adaf093a7c0116a6901 | 9e268d46e9582d60d1e9c3d8d2a41c1e7b83293b | refs/heads/master | 2022-09-16T08:54:59.465691 | 2022-09-03T17:25:59 | 2022-09-03T17:25:59 | 43,039,810 | 58 | 23 | Apache-2.0 | 2023-01-14T07:06:19 | 2015-09-24T02:25:47 | C++ | UTF-8 | C++ | false | false | 408 | cpp | #include<iostream>
int main()
{
const int i =42;
auto j = i; // int
const auto &k = i; // const reference(or say, reference to const)
auto *p = &i; // pointer to const, const of i is not ignored, so it's const int *
const auto j2 = i, &k2 = i; // j2, const int; i, const reference
std::cout << j ... | [
"chihyanghsin@gmail.com"
] | chihyanghsin@gmail.com |
13b3ed05554dd766bf91ac84b3e2edecb486548b | 0e8d03dca67ab0c0f884e4d23a2ff98a24e9c4c9 | /codeforces/515div3-a.cpp | ace69605929d2bb05c97073751dbc78a8b8e6e18 | [] | no_license | abhihacker02/Competitive-Coding | c735c0db8a22d26d7f943061baac3fcbdda80418 | 55ba9789a19b687453845860d535e3a7b5271aec | refs/heads/master | 2020-06-21T02:29:04.492324 | 2019-07-17T13:28:58 | 2019-07-17T13:28:58 | 197,323,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,680 | cpp | #include<bits/stdc++.h>
using namespace std;
//using namespace __gnu_pbds;
//typedef tree<ii,null_type,less<ii>,rb_tree_tag,tree_order_statistics_node_update> set_t;
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL);cout.tie(NULL);
#define mp make_pair
#define mt make_tuple
#define pb push_back
#defi... | [
"noreply@github.com"
] | abhihacker02.noreply@github.com |
db61f3de0417c3cc4b3ed4571c7f94071e8d4af3 | 8cf32b4cbca07bd39341e1d0a29428e420b492a6 | /contracts/libc++/upstream/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/copy.pass.cpp | 78090344684003b947e775308c9aab6751315c55 | [
"NCSA",
"MIT"
] | permissive | cubetrain/CubeTrain | e1cd516d5dbca77082258948d3c7fc70ebd50fdc | b930a3e88e941225c2c54219267f743c790e388f | refs/heads/master | 2020-04-11T23:00:50.245442 | 2018-12-17T16:07:16 | 2018-12-17T16:07:16 | 156,970,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===---------------------------------... | [
"1848@shanchain.com"
] | 1848@shanchain.com |
6767b3cf9937418c1ae894221d24ce4fd5504510 | 239e2373f459d08b3eabd7e99242c1f756dc97f3 | /logdevice/ops/ldquery/tables/LogGroups.cpp | d7b45659450a4a160a23ebe4753db51c5d395120 | [
"BSD-3-Clause"
] | permissive | zhengxiaochuan-3/LogDevice | edb04140e1906f281faf26f6789ddd26db3a2cc3 | 01e2302a382db1d87f934e305c8cc74ffc0a24a4 | refs/heads/master | 2020-07-06T22:44:08.337104 | 2019-08-19T10:05:17 | 2019-08-19T10:07:21 | 203,161,120 | 1 | 0 | NOASSERTION | 2019-08-19T11:41:10 | 2019-08-19T11:41:09 | null | UTF-8 | C++ | false | false | 5,081 | cpp | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "logdevice/ops/ldquery/tables/LogGroups.h"
#include <folly/Conv.h>
#include <... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
8616cd8024f931c0daae2555fbcb3027ba1779dc | 01ec5fae952211e0a0ab29dfb49a0261a8510742 | /backup/source/cpp/[1121]将数组分成几个递增序列.cpp | 682e3261a9144f8b5931619d7c448aad77125899 | [] | no_license | algoboy101/LeetCodeCrowdsource | 5cbf3394087546f9051c493b1613b5587c52056b | 25e93171fa16d6af5ab0caec08be943d2fdd7c2e | refs/heads/master | 2021-02-20T00:18:51.225422 | 2020-06-21T09:04:24 | 2020-06-21T09:04:24 | 245,323,834 | 10 | 4 | null | 2020-03-09T02:23:39 | 2020-03-06T03:43:27 | C++ | UTF-8 | C++ | false | false | 888 | cpp | //给你一个 非递减 的正整数数组 nums 和整数 K,判断该数组是否可以被分成一个或几个 长度至少 为 K 的 不相交的递增子序列。
//
//
//
// 示例 1:
//
// 输入:nums = [1,2,2,3,3,4,4], K = 3
//输出:true
//解释:
//该数组可以分成两个子序列 [1,2,3,4] 和 [2,3,4],每个子序列的长度都至少是 3。
//
//
// 示例 2:
//
// 输入:nums = [5,6,6,7,8], K = 3
//输出:false
//解释:
//没有办法根据条件来划分数组。
//
//
//
//
// 提示:
//
//
// 1 <= n... | [
"chenwenwen0210@126.com"
] | chenwenwen0210@126.com |
866029caeb3f341d798cf6bfa5d73c3448c139cb | b78fc2c6f75020a534a5fd62cd75549fecd73f77 | /lib/string_utils.cpp | ef7386f84434d5d760597bec0eac078109820f68 | [] | no_license | mrdooz/world | a59b5204bdbc12edaaf255d6cdadb6326f199551 | 7782ed26200bee2ef0ae6e506241fd8610b603fd | refs/heads/master | 2021-01-10T06:14:46.035579 | 2015-11-16T02:14:29 | 2015-11-16T02:14:29 | 45,221,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,491 | cpp | #include "string_utils.hpp"
#include <stdint.h>
using namespace std;
namespace world
{
string ToString(char const* const format, ...)
{
#ifdef _WIN32
va_list arg;
va_start(arg, format);
const int len = _vscprintf(format, arg) + 1;
char* buf = (char*)_alloca(len);
vsprintf_s(buf, len, format,... | [
"magnus.osterlind@gmail.com"
] | magnus.osterlind@gmail.com |
62f8a88d8ea63c077e9336e5ce6429e445ace5aa | d05383f9f471b4e0691a7735aa1ca50654704c8b | /CPP2MIssues/SampleClass686.cpp | 169e8ab2423e5fa61bbe6a647e17af80d4179f57 | [] | no_license | KetkiT/CPP2MIssues | d2186a78beeb36312cc1a756a005d08043e27246 | 82664377d0f0047d84e6c47e9380d1bafa840d19 | refs/heads/master | 2021-08-26T07:27:00.804769 | 2017-11-22T07:29:45 | 2017-11-22T07:29:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,048 | cpp | class SampleClass686{
public:
void m1() {
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
i... | [
"ketki.thosar@acellere.com"
] | ketki.thosar@acellere.com |
e4f9283d1f122b5342e17a597ce18e4d26591a3c | 5e0e71cfae09eaac12d8fe929eda9b1d0630764e | /AADC/src/aadcUser/MarkerDetector/stdafx.h | 8bb5f6de2e3aea58f255edc4c9d42488236292d6 | [
"BSD-2-Clause"
] | permissive | viettung92/AADC | 418232e01587757e17e036f146167e037fef069c | ac25f2a7e66ef9d8f9430921baf6ddcac97d6540 | refs/heads/master | 2020-10-02T02:25:24.123886 | 2020-01-15T14:57:53 | 2020-01-15T14:57:53 | 227,669,243 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,202 | h | /*********************************************************************
Copyright (c) 2018
Audi Autonomous Driving Cup. 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 m... | [
"hoang.viettung@gmx.de"
] | hoang.viettung@gmx.de |
742b82d140ef9dc0d6bd463ee9b262c4a323357a | 0ce9c7737c67548001d757eb4f3225b693f1619b | /src/Raster_Reader.cpp | 58caea814741e7bc225082ce37da394bd6ad0c13 | [] | no_license | welarfao/Fire-rs-internship | 808a6c8ce66882599d542ffca59ed6ad8cf9eb15 | 1c0fc8e2778e7bdf5dc35cd0147d8ecd22eb89f7 | refs/heads/master | 2020-03-27T22:20:52.766353 | 2018-09-03T15:22:07 | 2018-09-03T15:22:07 | 147,223,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,523 | cpp |
#include "Raster_Reader.h"
Raster_Reader::Raster_Reader( ){
}
Raster_Reader::Raster_Reader( const std::string& path){
GDALAllRegister() ;
/*Once the drivers are registered, the application should call the free standing GDALOpen() function to open a dataset,
passing the name of the dataset and the access desire... | [
"welarfao@laas.fr"
] | welarfao@laas.fr |
afba313b38f9188acd995d6e894ae782a099d92f | 653709022e7a5c93c7091ccc4d9ec17a518820b3 | /DirectXFramework/Graphics2/BoundingVolume.h | 383b24d2fd6954f1efc7cdef473d9449c3551f28 | [] | no_license | ShayyP/Graphics-2-Coursework | cf99071a472091b17e960977e722839bbc9cd9dc | 3e0ac4a16320e96630298bfecc998221fd850ac5 | refs/heads/master | 2022-06-17T22:22:14.298664 | 2020-05-10T16:31:01 | 2020-05-10T16:31:01 | 240,533,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | h | #pragma once
#include "core.h"
#include "DirectXCore.h"
#include <vector>
#include "Structs.h"
using namespace std;
// Base class for bounding volumes, has virtual methods that are overridden by child classes
class BoundingVolume : public enable_shared_from_this<BoundingVolume>
{
public:
BoundingVolume() { XMStoreFl... | [
"shayp2000@gmail.com"
] | shayp2000@gmail.com |
f208fe64e10922f4127ce82544d841edb7761c8e | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_Sexy_Jeans_Shorts_02_functions.cpp | e6131ce2fabe7b1fb0bfa6bef4d203571cfa1480 | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,196 | cpp | // Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function ConZ.ClothesItem.... | [
"65712402+Kehczar@users.noreply.github.com"
] | 65712402+Kehczar@users.noreply.github.com |
4baa3758359665b3ca2f7202abdb4460e2b72126 | b956eb9be02f74d81176bc58d585f273accf73fb | /aladdin/audio/Sound.h | 0b8f7ea1c21f0a1df4922be162ecfbc05981f84a | [
"MIT"
] | permissive | Khuongnb/game-aladdin | b9b1c439d14658ca9d67d5c6fe261ec27084b2e9 | 74b13ffcd623de0d6f799b0669c7e8917eef3b14 | refs/heads/master | 2020-05-05T10:20:05.616126 | 2019-04-07T09:05:11 | 2019-04-07T09:05:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | h | #ifndef __ALADDIN_AUDIO_SOUND_H__
#define __ALADDIN_AUDIO_SOUND_H__
#include "AudioInclude.h"
NAMESPACE_ALA
{
ALA_CLASS_HEADER_2(Sound, ala::Initializable, ala::Releasable)
private:
std::string _sourceFile;
public:
Sound( const std::string& sourceFile );
virtual ~Sound();
public:
void initialize() override... | [
"khuongnb1997@gmail.com"
] | khuongnb1997@gmail.com |
783fc3cd1c5421ac9e2fc132756c161c07388069 | a06515f4697a3dbcbae4e3c05de2f8632f8d5f46 | /corpus/taken_from_cppcheck_tests/stolen_10725.cpp | ab83292c58601c24314184208008b7b23b8d1cfc | [] | no_license | pauldreik/fuzzcppcheck | 12d9c11bcc182cc1f1bb4893e0925dc05fcaf711 | 794ba352af45971ff1f76d665b52adeb42dcab5f | refs/heads/master | 2020-05-01T01:55:04.280076 | 2019-03-22T21:05:28 | 2019-03-22T21:05:28 | 177,206,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 112 | cpp | void f(int x) {
int ret;
switch (x) {
case 123:
ret = 1;
break;
}
ret = 3;
} | [
"github@pauldreik.se"
] | github@pauldreik.se |
8e52c41b4ef6752e827ee75e017dcdaf79d44b63 | a48b49c869283d4fbd6902f30c6df0fa922bfdb6 | /oldSocialHat/SocialHat.ino | 032c45fd1779c38fa356ba60c5320acf4c074522 | [] | no_license | jakeschievink/SocialHat | 2fbb941afa6eb19bfedd8bc508ca61918946bb11 | 33c94832649d4f14c504e353b2ba3f27bc25fceb | refs/heads/master | 2020-05-18T01:06:11.810953 | 2014-11-01T23:19:55 | 2014-11-01T23:19:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,227 | ino | #include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <EEPROM.h>
#include "EEPROMAnything.h"
#include "Scroll.h"
#include "Pictures.cpp"
Scroll scrollscreen(9, 10, 11, 13, 12);
char message[200];
bool imagedisplayed = false;
bool interTrigger = false;
typedef enum {SCROLL, IMAGE} mode;
cons... | [
"jakeschievink@gmail.com"
] | jakeschievink@gmail.com |
bd6f6e2d7f8647c6251e2bcdf5cf39da0f45eeac | 8465159705a71cede7f2e9970904aeba83e4fc6c | /src_change_the_layout/modules/IEC61131-3/Conversion/BYTE/F_BYTE_TO_WORD.h | 5231045cb24368637df36a289a3acba93d9a0a6e | [] | no_license | TuojianLYU/forte_IO_OPCUA_Integration | 051591b61f902258e3d0d6608bf68e2302f67ac1 | 4a3aed7b89f8a7d5f9554ac5937cf0a93607a4c6 | refs/heads/main | 2023-08-20T16:17:58.147635 | 2021-10-27T05:34:43 | 2021-10-27T05:34:43 | 419,704,624 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,841 | h | /*******************************************************************************
* Copyright (c) 2011 ACIN
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier:... | [
"tuojianlyu@gmail.com"
] | tuojianlyu@gmail.com |
2a8fae1a8ed8c2dc5f464711bb82a26f1dc2bab1 | 5a8b9a20f7c498981eb4ea33c1cba4b9554440b4 | /Xindows/src/site/text/selrensv.h | 9522be36edd1bd9f2c8eef281799775a838b306a | [] | no_license | mensong/IE5.5_vs2008 | 82ae91b3e45d312589b6fb461ceef5608dfb2f6b | 6149654180d0f422355e38b0c5d8e84e6e8c6a0c | refs/heads/master | 2022-05-01T07:32:15.727457 | 2018-11-14T03:07:51 | 2018-11-14T03:07:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,623 | h |
#ifndef __XINDOWS_SITE_TEXT_SELRENSV_H__
#define __XINDOWS_SITE_TEXT_SELRENSV_H__
int OldCompare ( IMarkupPointer * p1, IMarkupPointer * p2 );
struct PointerSegment
{
CMarkupPointer* _pStart;
CMarkupPointer* _pEnd;
HIGHLIGHT_TYPE _HighlightType;
int _cpStart;
int _cpEnd;
BOOL _fFiredSelection... | [
"mail0668@gmail.com"
] | mail0668@gmail.com |
e15e0190faaa4749c2d9e144a8a911437b95660a | 8291fc32d222d7cd8f4ff8cd3179ce63181cafdc | /cpp_module_05/ex03/Bureaucrat.cpp | 170580d0c0001a99d6c9b7df852d2b3fc7552173 | [] | no_license | FrenkenFlores/CPP_Module | d09d5b15ee79053c2d817492e9b9102fb0b56078 | 8d9458cb02bd2c4e67febe9df46d502772e6d627 | refs/heads/main | 2023-04-10T08:11:56.738638 | 2021-04-14T22:22:41 | 2021-04-14T22:22:41 | 344,802,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,215 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Bureaucrat.cpp :+: :+: :+: ... | [
"saifualdin.evloev@gmail.com"
] | saifualdin.evloev@gmail.com |
bf9274f25d4fd06e54a9cd469ad293b8a3eb6e2a | 9eed36ccf2be5585685f9531e595c1d14fd8ef76 | /extern/3rd/PcapPlusPlus-19.12/Pcap++/src/RawSocketDevice.cpp | c44590723929610ba0b9e6913a62f40b132eb6cb | [
"WTFPL",
"Unlicense"
] | permissive | Cyweb-unknown/eft-packet-1 | 756ab75b96e658a0b2044e09389b7a06d285c971 | 925da44fc1f49e4fe6b17e79248714ada4ea451d | refs/heads/master | 2022-10-27T11:47:09.454465 | 2020-06-13T14:41:43 | 2020-06-13T14:41:43 | 272,038,457 | 1 | 1 | WTFPL | 2020-06-13T15:46:17 | 2020-06-13T15:46:16 | null | UTF-8 | C++ | false | false | 13,573 | cpp | #include "RawSocketDevice.h"
#if defined(WIN32) || defined(WINx64) || defined(PCAPPP_MINGW_ENV)
#include <winsock2.h>
#include <ws2tcpip.h>
#endif
#ifdef LINUX
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <linux/if_ether.h>
#include <netpacket/packet.h>
#include <ifaddrs.h>
#include <net/if.h>
#en... | [
"koraydemirci86@gmail.com"
] | koraydemirci86@gmail.com |
542621f05afd4050dfdb14ed0478d45627db6e3e | 4a2c47d8a84a821235dcdda8d898ff82aea54238 | /opcn2.h | ab63b004f00314fafb30eee227d6c745b91ecf8b | [] | no_license | iamczar/opcn2-Arduino | 3d3b2ca4f25376903af5b69f6498b9299bf8ea23 | 3be64397e00d437dd1856a7da9376621c078f382 | refs/heads/master | 2020-05-16T06:48:06.324850 | 2019-04-22T20:11:00 | 2019-04-22T20:11:00 | 182,858,708 | 0 | 0 | null | 2019-04-22T19:59:51 | 2019-04-22T19:59:50 | null | UTF-8 | C++ | false | false | 3,894 | h | /*
opcn2.h - Library for operating the Alphasense OPC-N2 Particle counter.
Created by David H Hagan, March 2016.
Modified by Marcelo Yungaicela, May 2017
Released with an MIT license.
*/
#ifndef Opcn2_h
#define Opcn2_h
// Includes
struct Status {
int fanON;
int laserON;
int fanDAC;
in... | [
"n.marceloy@gmail.com"
] | n.marceloy@gmail.com |
f0802552d0b0fc2d1584640a80db77bc248a1ff1 | d9b19ff32fd930a8e87fc5226e8e4d09dd1e4a52 | /simParams.cpp | d35df207775a71c657d67e5ee6f3fe76428a6e88 | [] | no_license | yyy910805/cme213 | 26f49052fe189762bcc5061105ec51e2564b48ca | 81f78e41e9404b2d74b28fb3338f93f72c7a067c | refs/heads/master | 2021-01-02T16:54:07.051824 | 2020-02-11T08:32:32 | 2020-02-11T08:32:32 | 239,710,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,296 | cpp | #include <fstream>
#include <iostream>
#include <cassert>
#include <stdlib.h>
#include "simParams.h"
simParams::simParams(const char* filename) {
std::ifstream ifs(filename);
if(!ifs.good()) {
std::cerr << "Couldn't open parameter file!" << std::endl;
exit(1);
}
ifs >> nx_ >> ny_;
... | [
"noreply@github.com"
] | yyy910805.noreply@github.com |
c163b77ddc758f80373ae592dfdd1532e1285514 | 7acc4c004ab9865b9ddd2ffdbe1075bcecbf519a | /tetrixwindow.cpp | 721065a7cab3089d780f398a3214b80aa4dafd10 | [] | no_license | m17saitou/QTetris | 8d84e4faaca4f7b4cfe4f700c51eacaf73457a65 | ccc25f034ba455ff4682da3606b95924e161d93f | refs/heads/master | 2020-08-31T01:07:57.230127 | 2019-11-02T00:44:09 | 2019-11-02T00:44:09 | 218,542,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,384 | cpp | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt... | [
"m17saitou@gmail.com"
] | m17saitou@gmail.com |
9b168f4fe8f8e6c11c94e10ea7224f7d98e6b974 | b39c7014415ea7904e1786e381a2a724eb91cb6e | /Codesignal/The Core/Book Market/isUnstablePair.cpp | 60c5d5e67d9dcab8aebf230085f11b5758ab1cff | [] | no_license | chidihn/Learn-cpp | e217d2a722d49226269b8fa727ca1e909714fc12 | 682d44edb14d75d700bd7ec50ee1b61d52ed67fe | refs/heads/master | 2020-08-06T00:15:33.650474 | 2019-10-01T06:37:23 | 2019-10-01T06:37:23 | 212,767,703 | 3 | 0 | null | 2019-10-04T08:20:17 | 2019-10-04T08:20:17 | null | UTF-8 | C++ | false | false | 342 | cpp | // Như return
#include <iostream>
using namespace std;
bool isUnstablePair(string a, string b) {
string c, d;
for (char i : a)
c += tolower(i);
for (char i : b)
d += tolower(i);
return (a < b && c > d) || (a > b && c < d);
}
int main() {
cout << boolalpha << isUnstablePair("aa", "A... | [
"trvathin@gmail.com"
] | trvathin@gmail.com |
79cd3ca002ada3a3a9ffaf694479eed71249d196 | 827405b8f9a56632db9f78ea6709efb137738b9d | /CodingWebsites/LeetCode/CPP/Volume1/11.cpp | 65bab5bc7aac7006c42ee04fca36729ba295dc7e | [] | no_license | MingzhenY/code-warehouse | 2ae037a671f952201cf9ca13992e58718d11a704 | d87f0baa6529f76e41a448b8056e1f7ca0ab3fe7 | refs/heads/master | 2020-03-17T14:59:30.425939 | 2019-02-10T17:12:36 | 2019-02-10T17:12:36 | 133,694,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,955 | cpp | #include <cstdlib>
#include <cstdio>
#include <iostream>
#include <queue>
#include <algorithm>
#include <vector>
#include <cstring>
using namespace std;
class Solution {
private:
int n;
vector<int> ST;
struct A{
int id,a;
A(){}
A(int id,int a):id(id),a(a){}
bool operator < (... | [
"mingzhenyan@yahoo.com"
] | mingzhenyan@yahoo.com |
694e370c5ac4b7fb9ea81c1c650ba561a066095d | 2b4bd3b3a18759c1d25476bda3be3f8aee8ca371 | /PAT/Advanced/1008.cpp | fb4bf740bf6430018f4512e6212a2964eaf86d48 | [] | no_license | cusion/Algorithm | 54318d208e1c8aaece9053b98d8641e279c63444 | 8c826399285aa3fee88031fe84a610a56c542147 | refs/heads/master | 2016-09-10T18:35:43.740494 | 2014-10-14T06:57:28 | 2014-10-14T06:57:28 | 16,759,961 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int req;
int cur = 0;
int time = 0;
for (int i = 0; i < n; ++i) {
scanf("%d", &req);
if (req == cur) {
time += 5;
} else if (req < cur) {
time += (cur-req)*4 + 5;
} else {
time += (req-cur)*6 + 5;
}
cur ... | [
"kuixiong@gmail.com"
] | kuixiong@gmail.com |
fc9cfb96b5077731a05df4c864ec915e9704957d | e5b48f9f4669f050d6fd699e7f4f4566c9c52402 | /GroupEntry.cpp | 14ebc5e8784cec3e5d936f9b78d67f9fca6790ee | [] | no_license | sayrun/SOboe | f3b3a6e6fb789098d9482651d903eacff5d4f931 | 787348ce2b6ffaa21219fc41e350750290bad2f7 | refs/heads/master | 2021-01-10T04:02:46.603279 | 2016-04-08T21:47:59 | 2016-04-08T21:47:59 | 50,247,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,253 | cpp | #include "stdafx.h"
#include "SOboe.h"
#include "GroupEntry.h"
BOOL CGroupData::SetGroupData( const GROUPDATA* pstGroupData, int nSize)
{
if( NULL == pstGroupData)return FALSE;
if( nSize < pstGroupData->nSize)return FALSE;
if( _GROUPSTRUCT_VER100 < pstGroupData->unStructVersion)return FALSE;
m_nParentGroup = pstG... | [
"sayrun@hotmail.co.jp"
] | sayrun@hotmail.co.jp |
e521583358cd02e95c53306d6597579fc0363c12 | 90cef3c0759f9463da3d6bb79834ee7793678166 | /opengesnative/src/main/jni/nativeDraw.cpp | 028fe5cf41a6a2c93764ece0b9e20a64dd5d4487 | [] | no_license | Linus-Smith/OpengGL-ES | 86dccad34c823563b9215b4edd93a9cd6bdb9d0b | def9d5b7428d4db34e8249d5bc58fc455fc88ee1 | refs/heads/master | 2021-01-11T03:59:05.322698 | 2017-09-05T12:10:53 | 2017-09-05T12:10:53 | 71,265,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,833 | cpp |
#include "nativeDraw.h"
#include "common/esUtil.h"
void onSurfaceCreated() {
mProgram = esLoadProgram(vShader, fShader);
shIndex.mvpMatrix = glGetUniformLocation(mProgram, "uMVPMatrix");
shIndex.position = glGetAttribLocation(mProgram, "aPosition");
shIndex.color = glGetAttribLocation(mProgram, "aColor")... | [
"chyangbast@yeah.net"
] | chyangbast@yeah.net |
d64caeb017e88dc89ce02f04189ed456dc358910 | 941576c946628eeda4424c450396598908be2094 | /ChakraDemoApp/Chakra.h | 69c81f725d2ddec5910ce28b087b4f0a62dda7fe | [] | no_license | mslavchev/chakra-wp81 | 6f4b8e6a7dc7536a87dce31d65d3822b331bd06d | 951de7277183c88e593544849e32e013537483ad | refs/heads/master | 2016-08-07T19:48:53.691951 | 2014-09-10T13:26:14 | 2014-09-10T13:26:14 | 23,870,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | h |
#include "jsrt.h"
namespace ChakraDemoApp
{
class Chakra
{
public:
Chakra();
Platform::String^ GetGreeting();
~Chakra();
private:
JsRuntimeHandle m_runtime;
JsContextRef m_context;
};
} | [
"meslav@hotmail.com"
] | meslav@hotmail.com |
cf76cbcac9d51ccce976f98a8cef5e4de243234c | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-old-new/CMake-old-new-joern/Kitware_CMake_old_new_old_function_1439.cpp | f1d4b8115fc2b3b92633bac69f823f486335d936 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,146 | cpp | int cmCTest::CoverageDirectory()
{
std::cout << "Performing coverage" << std::endl;
std::vector<std::string> files;
std::vector<std::string> cfiles;
std::vector<std::string> cdirs;
bool done = false;
std::string::size_type cc;
std::string glob;
std::map<std::string, std::string> allsourcefiles;
std::m... | [
"993273596@qq.com"
] | 993273596@qq.com |
574c65bb4faab48d825cce120665c99823c7f7b4 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/v8/torque-generated/src/objects/feedback-cell-tq-csa.cc | 20681e8daf91dbea734a1cfd6aac204d90f41885 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,607 | cc | #include "src/builtins/builtins-array-gen.h"
#include "src/builtins/builtins-bigint-gen.h"
#include "src/builtins/builtins-collections-gen.h"
#include "src/builtins/builtins-constructor-gen.h"
#include "src/builtins/builtins-data-view-gen.h"
#include "src/builtins/builtins-iterator-gen.h"
#include "src/builtins/builtin... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
4d90c4a8dac2d0b07f1a223cccae144c9f7b269d | a090af918e3ec59140027dbddd54aa4ca1c73910 | /codechef/oct_maandi.cpp | 80351d171d5d8906dab9a9287ccca4ea91ecbd75 | [] | no_license | nitesh-147/Programming-Problem-Solution | b739e2a3c9cfeb2141baf1d34e43eac0435ecb2a | df7d53e0863954ddf358539d23266b28d5504212 | refs/heads/master | 2023-03-16T00:37:10.236317 | 2019-11-28T18:11:33 | 2019-11-28T18:11:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,817 | cpp | #include <cstring>
#include <cassert>
#include <vector>
#include <list>
#include <queue>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <... | [
"milonju01@gmail.com"
] | milonju01@gmail.com |
c005e6c7cdd8311ccc4c13d140066dab9832c50d | ade02ce99c8ee41a9c5267985516be106c50605a | /fit_scripts/parton_350_bukinFit.cpp | 9c486be8c82a55789cc8bf92d84a203fbea27e2c | [] | no_license | KomalTauqeer/madanalysis5_ALP | 800e1ff92e6430f464ec9fc6d2d135c5b52ff91b | d4550892b33b66ff57d4681a855edd6dd1a04911 | refs/heads/master | 2020-07-29T09:10:21.194207 | 2019-09-20T11:07:04 | 2019-09-20T11:07:04 | 209,741,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,014 | cpp | #include <TFile.h>
#include <TCanvas.h>
#include <TF1.h>
#include <TH1F.h>
void parton_350_bukinFit()
{
Double_t bukin(Double_t *x, Double_t *par);
TFile *file = new TFile("/afs/cern.ch/work/k/ktauqeer/private/MadGraph/madanalysis5/rootFiles/parton_level_350.root","READ");
TFile *f1 = new TFile("/afs/cern.ch/wor... | [
"ktauqeer@lxplus791.cern.ch"
] | ktauqeer@lxplus791.cern.ch |
654fc6c409a75b6e4b2c6588696e1ec9e7ac16ad | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /media/test/fake_encrypted_media.h | 9e1e643a0ceefe7f2d482dc1cf398ce498904631 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 2,835 | 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 MEDIA_TEST_FAKE_ENCRYPTED_MEDIA_H_
#define MEDIA_TEST_FAKE_ENCRYPTED_MEDIA_H_
#include "media/base/cdm_context.h"
#include "media/base/content_de... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
289c1f2ff3f6911d758c6c39ad0b836400c70e00 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/pmbs12/pmsb13-data-20120615/trunk/sandbox/arsenew/apps/msplazer/stellar_routines.h | 06a3e04c4cd8e64ccbde67c5af8329ff7bdf096a | [
"MIT",
"BSD-3-Clause"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,103 | h | // ==========================================================================
// msplazer
// ==========================================================================
// Copyright (c) 2011, Kathrin Trappe, FU Berlin
// All rights reserved.
//
// Redistribution and use in source and bin... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
3fcd6504c751ebdb71b7f16eca03ca6e31373112 | 43a2fbc77f5cea2487c05c7679a30e15db9a3a50 | /Cpp/External (Offsets Only)/SDK/Title_CollectorOfLegendaryVillainousSkulls_functions.cpp | 021f9c3931668c2a45e25d0c5bf33586c2c80493 | [] | no_license | zH4x/SoT-Insider-SDK | 57e2e05ede34ca1fd90fc5904cf7a79f0259085c | 6bff738a1b701c34656546e333b7e59c98c63ad7 | refs/heads/main | 2023-06-09T23:10:32.929216 | 2021-07-07T01:34:27 | 2021-07-07T01:34:27 | 383,638,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | cpp | // Name: SoT-Insider, Version: 1.102.2382.0
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
8326e5f9f6e80d5749438a935eb9e1be5347b437 | 8bd9ac901535033737a70fa5f677a2d23114aabf | /STL/priority.cpp | 81bbd343c7b81aabe6fda91f3840c71f28141fe9 | [] | no_license | Double-Wen/CPlus | 5657c3e6a73d113fcc5d6f017668534924641654 | b24fe08f8f254c1da4b6c23b45b78004b98fd1d4 | refs/heads/master | 2022-11-14T20:45:40.686160 | 2020-07-15T15:46:51 | 2020-07-15T15:46:51 | 258,478,082 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | cpp | #include <iostream>
#include <queue>
using namespace std;
int main()
{
priority_queue<int> q;
q.push(5);
q.push(1);
q.push(3);
q.push(6);
for(int i=0; i<4; i++)
{
cout << q.top() << endl;
//注意优先队列和传统队列不同,
//它是用堆而不是线性结构来维护的,
//所以它只有top来取堆顶元素
//而不是传... | [
"tcliuwenwen@126.com"
] | tcliuwenwen@126.com |
936f28c3971ae60176f3dfe89bcb7a577d87d2fb | efdd5a69e84d75d5c906c43de6efb335c80aecb9 | /src/Index.re | e81c6860eba7ee5aaf678f52d63704606d53857d | [] | no_license | kennetpostigo/mangosnake | c5d713e82dc99dd79178ed2a6aa9aa2277f42205 | 3bf01ed1a21416089dcbf8f096fbf8ef92e84860 | refs/heads/master | 2021-09-06T07:38:33.706976 | 2018-02-03T21:43:02 | 2018-02-03T21:43:02 | 120,058,501 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52 | re | ReactDOMRe.renderToElementWithId(<Canvas />, "app"); | [
"kennetfpostigo@gmail.com"
] | kennetfpostigo@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.