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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0f33f8bdaa5e9c4acf1044e38b4ac91d1084a3e2 | 68df9db1d06637ab78b78cfb6004fded38329ca2 | /evaluador/src/ManejoBandejaEntrada.cpp | a38128befae6f2affffe331a6075564dc9274bf5 | [] | no_license | manfranco/Sistemas-Operativos | 6cc88322561498588b066048fd7c7cb565675e48 | 4189207aa614e65c8aced3b5a3c691a0c161df24 | refs/heads/master | 2020-06-01T04:03:58.513518 | 2019-06-10T18:20:54 | 2019-06-10T18:20:54 | 190,628,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,449 | cpp | #pragma once
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <semaphore.h>
#include <iostream>
#include <cstdlib>
#include <sstream>
#include <stdio.h>
#include <cerrno>
#include <cstring>
#include <unistd.h>
#include "../include/Elementos.h"
#include "AbrirMemoria.cpp"
using namespace std;
in... | [
"marmacesal@gmail.com"
] | marmacesal@gmail.com |
0f165465f39e233fdb26a4fdc9a8677f58d82da9 | 5c5e3f211aa0637673886b5c13402795deca3a9e | /Library/Il2cppBuildCache/WebGL/il2cppOutput/UnityEngine.CoreModule.cpp | 6d1b175dc0c6bd00417d9e17e6c439dbddacf8db | [] | no_license | tugcantopaloglu/animal-feeder | abf2fe2fd006c37145f4d02dfcb6f03b8b40e2af | eedc3a2163ef7e5b850aa46fb39b4a70aabcc3c1 | refs/heads/main | 2023-07-28T18:06:13.358701 | 2021-09-08T13:33:25 | 2021-09-08T13:33:25 | 404,349,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,465,969 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R, typename T1, typename T2>
struct VirtFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, R... | [
"topaloglutugcan@gmail.com"
] | topaloglutugcan@gmail.com |
49bbdd87710ff09b8c42f0071ec8ac0933103d55 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /tiledb/inst/tiledb/include/tiledb/filter_list.h | dbb32f97704c9805334df461de9219adc1db6a49 | [
"MIT"
] | permissive | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,750 | h | /**
* @file filter_list.h
*
* @section LICENSE
*
* The MIT License
*
* @copyright Copyright (c) 2017-2020 TileDB, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without r... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
6af9abb9b2cfe1bc29db095deb2ee4b0b68034f4 | 638c9b075ac3bfdf3b2d96f1dd786684d7989dcd | /visualizer/source/Procedural.inc | a0781914dced6eb427cce025981d169520480615 | [] | no_license | cycle-zz/archives | 4682d6143b9057b21af9845ecbd42d7131750b1b | f92b677342e75e5cb7743a0d1550105058aff8f5 | refs/heads/master | 2021-05-27T21:07:16.240438 | 2010-03-18T08:01:46 | 2010-03-18T08:01:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,544 | inc | //******************************************************************************
inline Real dg::r(Int iX)
{
return R[iX & R_TABLE_MASK];
}
//*******************************************************************************
inline Int dg::p(Int iX)
{
return P[iX & P_TABLE_MASK];
}
//************************************... | [
"dg@adminoff.cmm.uwa.edu.au"
] | dg@adminoff.cmm.uwa.edu.au |
e5b8dcdfa798dcc2ccde3de8e99912aa6ed40134 | c5e3a560cf95425bddb84cf760bab99d53e05f4d | /iam/autreta.cpp | 646b0fabb261fd82da7f795ed5d0bb5852ef163a | [] | no_license | jonatas57/aedi | b7c48e032ab092e1ff1eb908ef80fe0fb985075c | cd3d8a68bef58088a578c4d501277fd6bd4ea2a6 | refs/heads/master | 2021-04-28T02:42:27.167130 | 2018-05-06T23:35:06 | 2018-05-06T23:35:06 | 122,122,957 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,457 | cpp | #include <iostream>
#include <cstdlib>
#include <cstdio>
#include <string>
#include <vector>
#include <math.h>
using namespace std;
typedef vector<double> vdouble;
typedef vector<string> vstring;
typedef vector<double>::iterator dit;
typedef vector<string>::iterator sit;
class polinomio {
private:
int grau;
double... | [
"jdjonatasduarte57@gmail.com"
] | jdjonatasduarte57@gmail.com |
d49128e27176ebb5dfd4a4bf37e0978ba7106d6c | 7ea74c5ff02dc80f28d0b502c9fb0fa969d507f8 | /options/OptionPrinter.hpp | 4c4e044ffe87a5726fbfa8b56e00c108bd6b894d | [
"MIT"
] | permissive | anas-harby/Kompiler | 5f26abf98da88d88880f11f0ee5e4e9d670048fc | d4165e687fa1fc85cd69fb1c9b8483ec4c5611e8 | refs/heads/master | 2020-03-25T15:38:50.950987 | 2018-04-28T10:08:52 | 2018-04-28T10:08:52 | 143,894,142 | 0 | 1 | null | 2018-08-07T15:37:02 | 2018-08-07T15:37:02 | null | UTF-8 | C++ | false | false | 2,655 | hpp | /**********************************************************************************************************************
** __________ ___ ________ **
** \______ \_____ __| _/ _____ _____ ____ / _____/ ___... | [
"heshamlsawaf@gmail.com"
] | heshamlsawaf@gmail.com |
a45042816f74f12094f575f4adb95c7a74b23699 | 68529bf257281a1398225206002ce85c51095b87 | /components/sync/trusted_vault/trusted_vault_connection_impl_unittest.cc | ec38e05f6aa5e07df28909fd6686c00ae1d8bfe9 | [
"BSD-3-Clause"
] | permissive | mlogix/chromium | 183c925eae1bc57b3d1d50a0bf403d66d6cdad6f | 361b24d100d99c0c4924482d8d25c66d355950a7 | refs/heads/master | 2023-01-12T09:49:52.578270 | 2020-11-26T06:17:47 | 2020-11-26T06:17:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,904 | cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sync/trusted_vault/trusted_vault_connection_impl.h"
#include <utility>
#include "base/memory/scoped_refptr.h"
#include "base/run_lo... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ff1707d1868b096abe50dec374c444c8b02f5c32 | 53eeea812966ed4d4b5028236cf0520c6d97603d | /Project_2/bst.h | e0d3a2c3d9c8ad09ce5a8511636fb17d236d2c29 | [] | no_license | surabhiiyer/EECS395-DataStructuresFall2014 | edb0f3c53872728cf78a88024b719c9d6cba46f4 | 7f274c5649a03d729dec81f27cb27201f8f31a4a | refs/heads/master | 2020-05-17T12:03:00.844671 | 2014-12-22T07:34:44 | 2014-12-22T07:34:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 969 | h | // bst.h
// DS_Proj2_v4
//
// Created by Surabhi Ravishankar on 11/9/14.
// Copyright (c) 2014 Surabhi Ravishankar . All rights reserved.
#include <string>
#include <iostream>
using namespace std;
class bnode{
public:
int x;
int y;
string cityName ;
bnode *left;
bnode *right;
... | [
"surabhi.r.i@gmail.com"
] | surabhi.r.i@gmail.com |
b9271e285ee67b15c366b3908f32e679035aeb1a | 0184e96e37298e01d7270afa64035ef26888dc22 | /src/types/ltiCoordinateSystem.cpp | 23349069a2aab6cacc1880bd3f4bd57079c9d212 | [] | no_license | edwinV21/LTI-LIB2 | 8f938915cc9918f55618ac7e3213862dba2ecce1 | 458cb35eedc1c0d1758416b78c112ff226116ede | refs/heads/master | 2021-01-16T21:07:49.394303 | 2017-12-04T23:51:27 | 2017-12-04T23:51:27 | 100,211,418 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,553 | cpp | /*
* Copyright (C) 2009
* Pablo Alvarado
*
* This file is part of the LTI-Computer Vision Library 2 (LTI-Lib-2)
*
* The LTI-Lib-2 is free software; you can redistribute it and/or
* modify it under the terms of the BSD License.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, wi... | [
"edvl21@gmail.com"
] | edvl21@gmail.com |
effcab41ba7dd0f74df54ffb26730f25401cafe5 | 4d51f58973eecb0ed49bf26033811fdb428e83fd | /cpp/ceigen/eigen_mask.h | ce63104412248c1b151b98c097b9a7273686288c | [] | no_license | jf647/ir | 6abf5f1675c7b582ea11d58e894e625dd55011b5 | 95c927953b15fbed2f12003137216be68afbe206 | refs/heads/master | 2020-05-04T20:11:11.935027 | 2019-01-05T15:24:21 | 2019-01-05T15:24:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,913 | h | #ifndef EIGEN_MASK_H
#define EIGEN_MASK_H
#include <Eigen/SparseCore>
#include <iostream>
template <class MatrixType, class MaskType> class Masked;
namespace Eigen {
namespace internal {
template <class MatrixType, class MaskType>
struct traits<Masked<MatrixType, MaskType>> : traits<MatrixType> {
typedef Eigen::Spar... | [
"vinay.varma@thecarousell.com"
] | vinay.varma@thecarousell.com |
7801f07225d60c1d7478cec0c751fa714faaec1a | d5d5fef5c97c208bad527e3972385801ce82d20d | /op_convert.cpp | e4030d6450f6d1121274ff05b0be8d6c14196dae | [] | no_license | yywbxgl/onnx-parser | cab824357f8d350f09ea992f75b435d8e72a5f51 | debdc1fc7aa416c16abf61570ab426f1f75a3c39 | refs/heads/master | 2020-06-17T14:15:54.379283 | 2019-10-21T09:21:35 | 2019-10-21T09:21:35 | 195,948,143 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,616 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <iomanip>
#include <vector>
#include "onnx.pb.h"
using namespace std;
// 添加一个softmax节点在网络末尾
void add_softmax_node(onnx::ModelProto& model_proto)
{
//找到最后一个节点
cout << "---- add softmax at the end of network" << endl;
std::... | [
"qiliang.sun@innoic.com"
] | qiliang.sun@innoic.com |
fe5f6d46b278a08e792ec3f5cbbad1d7fd737769 | 5558f90148a82001e967ded1f950d71d0c236029 | /src/problems/shared/geometry/utilities.hpp | 08b1a41cc3f499145703a5fc57eef80c3c2ba38c | [] | no_license | RDLLab/tapir | 68281814d6b5ab5d97a77724c4e0652d511ebe78 | e2c0da73efca5e8ead33a860f26e75198459c262 | refs/heads/master | 2022-12-09T04:05:35.038038 | 2020-09-04T23:36:52 | 2020-09-04T23:36:52 | 292,951,917 | 18 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 470 | hpp | /** @file utilities.hpp
*
* Defines some utility functions for use with geometric calculations.
*/
#ifndef GEOMETRY_UTILITIES_HPP_
#define GEOMETRY_UTILITIES_HPP_
/** A namespace holding utility classes and functions related to 2-D geometry. */
namespace geometry {
/** Normalizes the given turn amount to a quantity... | [
"hannakur@gmail.com"
] | hannakur@gmail.com |
6e9cc5e9267b4fded48ca4a5d6fccaf00503aaee | b630725a5756a3bde82471bde2fae544e92bb436 | /image.cpp | 027cafc377ddecc09ed809971df5a38d601b63ee | [] | no_license | hanna-tseran/surface_cw | fd4669aa1917e839bd5aed10877d5520c9a0ff4d | 2a3ded4d8302e0b25da9d5b1255854973c4b2964 | refs/heads/master | 2021-01-01T20:10:46.165863 | 2014-05-18T20:16:10 | 2014-05-18T20:16:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68 | cpp | #include "image.h"
Image::Image(int n, int m)
{
for (int i )
}
| [
"hanna.tseran@gmail.com"
] | hanna.tseran@gmail.com |
7c6705522835f2bd4c501bf700c53c73872daba6 | ef690987e62e38df9aec3086f6e48b92b049af75 | /MagnetGame/Project1/Source/Actor/Performance/TitleLogo.cpp | 8a72d1fcbf6fe20aa1ec7e890c4b90a94911172c | [] | no_license | TsurumiMasayuki/MagnetGame | a3a840db56d38a950fa97d2c573552f882844881 | 4b8032ac145e6538ecfe5a947ec47482f307f889 | refs/heads/master | 2020-11-25T04:22:40.472345 | 2020-01-23T00:31:44 | 2020-01-23T00:31:44 | 228,498,929 | 0 | 0 | null | 2020-01-23T00:31:46 | 2019-12-17T00:16:41 | C++ | UTF-8 | C++ | false | false | 887 | cpp | #include "TitleLogo.h"
#include "Component\SpriteRenderer.h"
TitleLogo::TitleLogo(IGameMediator * pMediator, std::string TextureName)
:GameObject(pMediator)
{
name = TextureName;
}
TitleLogo::~TitleLogo()
{
}
void TitleLogo::start()
{
sprite = new SpriteRenderer(this,130);
sprite->setTextureName(name);
isFa... | [
"gumdam1999r@gmail.com"
] | gumdam1999r@gmail.com |
eafc1ab7dc63f1d9446b718e68f2dcf7f081a0c1 | fe91ffa11707887e4cdddde8f386a8c8e724aa58 | /content/browser/web_package/web_bundle_utils.cc | 42c75b865a5c70c575a3936be364a0b6355a15ea | [
"BSD-3-Clause"
] | permissive | akshaymarch7/chromium | 78baac2b45526031846ccbaeca96c639d1d60ace | d273c844a313b1e527dec0d59ce70c95fd2bd458 | refs/heads/master | 2023-02-26T23:48:03.686055 | 2020-04-15T01:20:07 | 2020-04-15T01:20:07 | 255,778,651 | 2 | 1 | BSD-3-Clause | 2020-04-15T02:04:56 | 2020-04-15T02:04:55 | null | UTF-8 | C++ | false | false | 5,390 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/web_package/web_bundle_utils.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#include "build/build_config.h"
#... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a9028af5da5bcfbaf0e6bb103361f42000691778 | 89b7e4a17ae14a43433b512146364b3656827261 | /testcases/CWE78_OS_Command_Injection/s07/CWE78_OS_Command_Injection__wchar_t_file_popen_83.h | fc6ea53a5d0266695bd2bd28cf26161dbcef5186 | [] | no_license | tuyen1998/Juliet_test_Suite | 7f50a3a39ecf0afbb2edfd9f444ee017d94f99ee | 4f968ac0376304f4b1b369a615f25977be5430ac | refs/heads/master | 2020-08-31T23:40:45.070918 | 2019-11-01T07:43:59 | 2019-11-01T07:43:59 | 218,817,337 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_file_popen_83.h
Label Definition File: CWE78_OS_Command_Injection.one_string.label.xml
Template File: sources-sink-83.tmpl.h
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: file Read input from a file
* GoodSource: Fi... | [
"35531872+tuyen1998@users.noreply.github.com"
] | 35531872+tuyen1998@users.noreply.github.com |
0a706aa14efd711b4b36244606c94418f9edb818 | 06e4db0fd47b18c35ab4f7c0f3f8239f7bf086a8 | /Own_Study/MAPS 2019/G/main.cpp | 074a5b9110eb30aa840c78902313e0b5c4a871b1 | [] | no_license | StevenMaMei/Competitive-Programming | 4ad6dce42a67ff8077a1142d0cc5ef2b0ceafe96 | 463f9fe91e3e2d900f6def24920012a1b8ffa431 | refs/heads/master | 2022-12-04T17:38:30.012751 | 2020-08-25T00:20:52 | 2020-08-25T00:20:52 | 216,122,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,216 | cpp | #include <bits/stdc++.h>
#define ff first
#define ss second
#define pb push_back
#define fore(i,a,b) for(int i=a,thxicesi=b; i<thxicesi;i++)
#define SZ(s) int(s.size())
using namespace std;
queue<char> instructions;
stack<int> st;
bool exe(string s){
//cout<<s<<" jejje"<<endl;
if(s == "SS"){
int sign = ... | [
"33093117+StevenMaMei@users.noreply.github.com"
] | 33093117+StevenMaMei@users.noreply.github.com |
a9f2b7536e925ee226f2c43bedd4745a36b4cdc4 | 85aed0bcac5d6aea781dff64029c2d23fcba984b | /enginelib/DxOctree/CollisionMapMaker.h | 04f75e3db0bf46978856e95898bc941466598949 | [] | no_license | youdontknowme17/ura | 3c76bf05eccd38b454b389841f1db49b59217e46 | e31bc9fd9c2312175d250dc4dc1f9c656c7f2004 | refs/heads/master | 2020-03-28T15:49:00.379682 | 2018-09-15T09:57:49 | 2018-09-15T09:57:49 | 148,628,762 | 0 | 2 | null | null | null | null | UHC | C++ | false | false | 573 | h | #ifndef __C_COLLISION_MAP_MAKER__
#define __C_COLLISION_MAP_MAKER__
// 클래스 선언
struct DxFrame;
class DxFrameMesh;
class CCollisionMapCell;
class CCollisionMapMaker
{
public:
CCollisionMapMaker ();
virtual ~CCollisionMapMaker();
private:
BOOL GetAllDataFromDxFrame ( DxFrameMesh* pFrameMesh );
private:
DWORD... | [
"markcalimosa@gmail.com"
] | markcalimosa@gmail.com |
1fdd4ef18c8eb9146436c839e552d4427db20bb8 | a9281e61f621f936561e148f6e2c293ccf73e34e | /CPU_Emulator/util/hash.cpp | 24e27f169f213a755cbd28583a52d89ecda9454d | [] | no_license | TheAviat0r/Learning | 458b0646081ae712fb0d6c9fae86d1399da7a818 | 58935099b50c9a10dc7c506a1b35f65206070e23 | refs/heads/master | 2021-05-08T01:45:46.239214 | 2017-10-22T21:18:03 | 2017-10-22T21:18:03 | 107,902,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,631 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
//!-----------------------------------
#ifndef NDEBUG
#define assert_ok(cond) if(!(cond)){\
printf("FAIL: %s in %s, %d %;", \
#cond, __FILE__, __LINE__, __PRETTY_FUNCTION__);\
... | [
"niatshin@tarantool.org"
] | niatshin@tarantool.org |
6f091a038963fdf888e614d4e02eab673f6e6612 | 8d15cc5ad244299311caacc1c0daa01c974334d8 | /include/qa/BaselineProcessor.h | 9d615ced7e164f4c72271d5501293e3a3ffcb411 | [] | no_license | omar-moreno/svt-qa | 0fa47d446c614b519a91182741b4017d5bf33ec2 | 0b37e9ed69922833412511f15c20eb51c8aa5b44 | refs/heads/master | 2021-09-14T21:17:22.011134 | 2021-08-31T06:48:42 | 2021-08-31T06:48:42 | 16,571,263 | 0 | 1 | null | 2019-08-05T05:39:06 | 2014-02-06T06:59:27 | C++ | UTF-8 | C++ | false | false | 2,669 | h | /**
* @file BaselineProcessor.h
* @brief Processor that create a tuple out of an SVT baseline run.
* @author Omar Moreno, SLAC National Accelerator Laboratory
*
*/
#ifndef __BASELINE_PROCESSOR_H__
#define __BASELINE_PROCESSOR_H__
//----------------//
// C++ StdLib //
//----------------//
#include <string... | [
"email@omarmoreno.net"
] | email@omarmoreno.net |
30968acbfe8407a0ce7fd364543de0e961902836 | 5832f65747e6142d1b8de9d46aa507092782aafc | /Codechef/ENIGMA 2020/D.cpp | cb6e9226216f06d7b7cee56fbe312b367ce02c90 | [] | no_license | subhashreddykallam/Competitive-Programming | 64cc42c5b23c03536187a1bb54e2b2ed82ee7844 | 973b66b4eb81352b98409ca52fa3aa75c28d8b6f | refs/heads/master | 2022-05-28T21:07:43.012922 | 2020-05-05T20:34:20 | 2020-05-05T20:34:20 | 226,814,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | cpp | # include<bits/stdc++.h>
# include<unordered_map>
# include<unordered_set>
using namespace std;
# define ll long long
// # define ll int
# define vll vector<ll>
# define vvll vector<vector<ll> >
# define vchar vector<char>
# define vstr vector<string>
# define vpll vector<pair<ll, ll> >
# define mll map<ll, ll>
# defin... | [
"42376739+Storm1seven@users.noreply.github.com"
] | 42376739+Storm1seven@users.noreply.github.com |
45af16cb4c56cda0a2cf3acd2f4a13cda20ef129 | 32624964ac9a5ccac8a0b1828bad8e2e8d8733b4 | /dp/dp优化/hdu3401.cpp | 2764e36e4dd74305fd4b66c074a8e9d1bd91ec6b | [] | no_license | lanmaoac/acm_icpc | 6a8776765bcdae2b066c1907722ebdf01c41a007 | 092b3dbcdc538430e7ecd49bc03e639effbde836 | refs/heads/master | 2016-09-03T07:04:11.756774 | 2014-06-18T10:33:58 | 2014-06-18T10:33:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,444 | cpp | #include <cstdio>
#include <cstring>
#include <set>
#include <algorithm>
using namespace std;
const int N = 2010;
int ap[N],bp[N],as[N],bs[N];
int w,maxp,t,head,tail;
int dp[N][N];
int q[N][5];
void gao()
{
for(int i=0;i<-t;i++)
for(int j=0;j<=maxp;j++)
dp[i][j]=-100000;
for(int i=1;i<=w+1;i++)
... | [
"accept@accept-HP-Pavilion-dv6-Notebook-PC.(none)"
] | accept@accept-HP-Pavilion-dv6-Notebook-PC.(none) |
323531540d55ff79c0e255a5225f445ef40337fd | 8ba215c9e277fd5022729970742205cc3c53e3c6 | /ShowImg/inputpath.cpp | 812d9971f27346312093e6b27e39cc4e07b78ba8 | [] | no_license | Wangkangrui57/ShowImg | 20e32843f15f796d64eee8d1db6a3fc20923f7c7 | 6d8fd34baf55df9199398edb3da41813393c1507 | refs/heads/main | 2023-08-07T02:40:43.636783 | 2021-10-10T15:35:33 | 2021-10-10T15:35:33 | 408,058,849 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,408 | cpp | #include "inputpath.h"
#include "showimg.h"
InPutPath::InPutPath(QWidget *parent) : QDialog(parent)
{
//控件基本设置
Label=new QLabel(this);
Label->setText(tr("请输入目标路径"));
InPut=new QLineEdit(this);
ConfirmButton=new QPushButton(this);
ConfirmButton->setText(tr("确认"));
BrowseButton=new Q... | [
"noreply@github.com"
] | Wangkangrui57.noreply@github.com |
0b8f92aae28f5f37f657466f0a93b900c7a48ab2 | 8fd41fecb53510f4226bf0c3a835bf6b651d322c | /Module02/ex01/Fixed.cpp | 95857bae95a927a9daa090b825493297c8c742f2 | [] | no_license | maartenRamadan/42-CPP | cfc7aa3514c6f08fbfcde2a1c020150d75a2d6b5 | cbb7bd4e190b29092879f9af6bd5c4a45d831a16 | refs/heads/main | 2023-04-17T20:49:28.249414 | 2021-05-07T21:16:34 | 2021-05-07T21:16:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,309 | cpp | #include "Fixed.hpp"
const int Fixed::_fraction = 8;
Fixed::Fixed(void) : _value(0)
{
std::cout << "Default constructor called" << std::endl;
return ;
}
Fixed::Fixed(Fixed const &src)
{
std::cout << "Copy constructor called" << std::endl;
*this = src;
return ;
}
Fixed::Fixed(const int num)
{
std::cout << "In... | [
"62135559+piramidebouwer@users.noreply.github.com"
] | 62135559+piramidebouwer@users.noreply.github.com |
aa12c860d8da8beda70059e2367bf85249d71fb2 | d83ceeafd709e03577d0ed5f996719128b621223 | /Baekjoon/Baekjoon/1168_조세퍼스_문제_2.cpp | 46a46724fbb781d4e52abd328743ed4185991742 | [] | no_license | hyunynim/Algorithm_Study | 58b56457e48471dfc3a6de2a758534babfffe4c0 | 1112a57ef95344b66f8313464f5fde428bb5bc3d | refs/heads/master | 2021-10-18T16:20:25.524826 | 2019-01-15T08:39:32 | 2019-01-15T08:39:32 | 125,656,431 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 503 | cpp | #include<cstdio>
#include<vector>
using namespace std;
int main() {
int n, k;
scanf("%d %d", &n, &k);
vector<int> seq;
for (int i = 0; i < n; i++)
seq.push_back(i + 1);
if (n == 1) {
printf("<1>");
return 0;
}
printf("<%d, ", seq[k-1]);
int cnt = k - 1;
seq.erase(seq.begin() + cnt);
while (seq.size() ... | [
"hyunynim1@naver.com"
] | hyunynim1@naver.com |
6645ada568848498653e66c909a33d3c4f9f94e4 | cab316b32ffda289ff63f11da00a794bb419dce0 | /tetris-11/Tetromino.h | 8dc04588430b291f279b325593f12a55711cc38d | [] | no_license | HUNG09-09/Tetris-SDL2-Master | 9791e262851670eaf6cc32454df6ebf8befceb0b | 9989629f6e177ad13c2170c82f5672b7891292f8 | refs/heads/main | 2023-03-27T16:23:36.366494 | 2021-03-23T17:53:19 | 2021-03-23T17:53:19 | 354,894,086 | 1 | 0 | null | 2021-04-05T16:13:14 | 2021-04-05T16:13:13 | null | UTF-8 | C++ | false | false | 522 | h | #pragma once
#include "dep\include\SDL\SDL.h"
class Tetromino
{
public:
Tetromino(SDL_Texture* tex, int x, int y, int tetroCurrent[4][4], int color = 0);
~Tetromino();
public:
void update(int x, int y);
void render();
void rotate();
bool canPieceMove(int x, int y, bool r = false);
public:
int posX;
int posY;
... | [
"hadung24062002@gmail.com"
] | hadung24062002@gmail.com |
f3bc5334856984f5b72df5cad0929feed95dd287 | 051839cfdc698f7dc53c08de696c925dc3cde79e | /codeforces/codeforces320/A.cpp | 7cf05dff4d78e0a0d0ebf23201732594a22e1b23 | [] | no_license | juangil/programmingContests | 37645ba582921cb104a66cd5332dfd94d59a9deb | dc0e7b11003411ebfee8f4fcb4024a10e5649b07 | refs/heads/master | 2021-01-17T13:40:07.398771 | 2016-07-13T15:25:50 | 2016-07-13T15:25:50 | 10,767,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | cpp | # include <bits/stdc++.h>
using namespace std;
typedef long long int lli;
bool ispow2(int a){
if(a == 1) return true;
int ret = 1;
while(ret < a){
ret = 2*ret;
if(ret == a) return true;
if(ret > a) return false;
}
}
int solve(int a){
if(ispow2(a)) return 1;
if(a == 0)... | [
"juangilopez@gmail.com"
] | juangilopez@gmail.com |
2c5451a47b03525b967d66e13e918a2ab51eab44 | 212d4a1c13f8ccbce673982df770258c03f9abcc | /libnmm/sml/spinalDynamics/dynamics/lib/io_system.cc | 81fb4be35522f0a502e9c527fba52aab7e9f77df | [] | no_license | ShravanTata/Mouse_Webots_BenchMarking | 0c3d62cd1d15c82134b8bdb8605f4e83d783875d | 90d838f42675752d68190e62c47693e45b6038e0 | refs/heads/master | 2020-12-30T15:07:40.042027 | 2017-05-29T15:47:37 | 2017-05-29T15:47:37 | 91,102,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cc | #include <io_system.hh>
#include <link.hh>
#include <state.hh>
IOSystem::IOSystem(int dim)
{
for(int i=0; i<dim; i++){
//inputs.push_back(&NetworkFactory::NewState(static_cast<Network *>(this),0.0));
inputs.push_back(new State(0.0));
}
for(int i=0; i<dim; i++){
//outputs.push_back(&NetworkFactory::NewState(st... | [
"tatarama@biorobpc4.epfl.ch"
] | tatarama@biorobpc4.epfl.ch |
555474887ae964311090e5458633ff06e7ee31c1 | 064c812442ce0cedfc400827d1fa2f8f4c4bb438 | /AutoDownloaded Codes/sshstamref/1958/1958.cpp11.cpp | 12d21c25fdf68e5637070b27a851c9cadfe2e84e | [] | no_license | TAMREF/problem-solving-storage | c1845571179771d33263cf03f3a26bff0cd75d53 | cab7bbe00343bd1bc4fe32a984a574f86aac545e | refs/heads/master | 2022-03-21T04:30:18.318602 | 2019-11-13T03:21:35 | 2019-11-13T03:21:35 | 78,931,251 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include <bits/stdc++.h>
using namespace std;
char S[105], T[105], U[105];
int p, q, r;
int D[105][105][105];
void input(){
scanf("%s%*c%s%*c%s",S,T,U);
p = strlen(S);
q = strlen(T);
r = strlen(U);
}
void pro(){
for(int i=1;i<=p;i++){
for(int j=1;j<=q;j++){
for(int k=1;k<=r;k... | [
"sluggeryck@naver.com"
] | sluggeryck@naver.com |
61dc8ee39b397a11ba91a6137e305671a0d14922 | ddab56ebec12e1be497a01799ead9dbff2254acb | /cpp/favourite/ContinuousSubarraySum.cpp | 4b57b7d058752ac60c821cb4889c2ec11297ec21 | [] | no_license | shujuan/leetcode | 07e8b314557ec06d4b3505360204ea00959ebe76 | 60039dd96c291a1b7ef8ded38e4346a23701f0f1 | refs/heads/master | 2020-12-03T03:56:41.040998 | 2019-10-27T16:35:15 | 2019-10-27T16:35:15 | 95,785,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | cpp | class Solution {
public:
bool checkSubarraySum(vector<int>& nums, int k) {
int n = nums.size();
if(!n) return false;
unordered_set<int>st;
int sum = 0, pre=0;
for(int i=0; i<n; i++){
sum += nums[i];
int mod = k==0 ? sum : (sum%k);
if(st.cou... | [
"wei@Weis-iMac.local"
] | wei@Weis-iMac.local |
6ec2553f033fe22935e4dc4625b1573aecdc7af7 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/termsrv/winsta/lscore/ra.cpp | a8825fa1db6bb8be3ea1648a4c0de581c6693916 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,709 | cpp | /*
* RA.cpp
*
* Author: BreenH
*
* The Remote Administration policy.
*/
/*
* Includes
*/
#include "precomp.h"
#include "lscore.h"
#include "session.h"
#include "ra.h"
/*
* extern globals
*/
extern "C"
extern HANDLE hModuleWin;
/*
* Class Implementation
*/
/*
* Creation Functions
*/
CRAPolicy:... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
a588eae4b48b94d197d201a976fac9606b8c346a | 81f7f1370b293143893c1c340232cbb3db9fec4f | /agorodilov/imgs2bow.cpp | 3a89b368baf35a8c98e054717a312f0eb8f6689e | [] | no_license | asayko/grand_challenege2013 | 21fe0690426cef37d5e5c5e0d027590d58b3d01f | 02559db10303dc74c6244e815cf3cd479eb66d4a | refs/heads/master | 2016-09-06T11:38:22.940796 | 2013-12-23T10:41:37 | 2013-12-23T10:41:37 | 10,849,522 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,982 | cpp | #include <opencv2/core/core.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/nonfree/features2d.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "vl/mathop.h"
#include "vl/sift.h"
#include "vl/generic.h"
#include "vl/ikmeans.h"
#include <vector>
#include <iostream>
#include <fstream>
#include <... | [
"agorodilov@agorodilov-osx.local"
] | agorodilov@agorodilov-osx.local |
86159aa5e6c162975b0d201f85eca5e9402ab45c | b45dd7cc777603a080cac2649c0c99ed5238c897 | /src/bitcoinrpc.cpp | 7aaf8a773eea1d71c847a450545b456ef57a93ff | [
"MIT"
] | permissive | wonderful8coin/wonderful8coin | a435db6b009768eaab6b757ecc29e890fbcf522b | 21a8681f0ecbe2fcd563fd13e8372153e985a4b1 | refs/heads/master | 2020-05-18T20:24:34.119902 | 2014-07-25T18:38:21 | 2014-07-25T18:38:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,298 | cpp | // Copyright (c) 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 "init.h"
#include "util.h"
#include "sync.h"
#include "ui_interface.h"
#includ... | [
"wonderful8coin2198754@163.com"
] | wonderful8coin2198754@163.com |
2c583a05bd5ec68a8e7b404c998a328717698fb0 | f0a860d374cff3c7b142abb3e294d0732dae6148 | /Array/mrgtw.cpp | b94dab9f54debe4a649345451137bb6d9c238942 | [] | no_license | gari3008ma/Algo-Wiki | 84f92020d07962da27e26a1214f7f5bee1df67fd | bc640ee26b8838acfae5bbc522647dbb908ba38e | refs/heads/master | 2022-01-05T02:02:35.685934 | 2019-06-09T16:25:30 | 2019-06-09T16:25:30 | 122,847,387 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | #include<bits/stdc++.h>
using namespace std;
void swp(int* a,int *b)
{
int tmp;
tmp=(*a);
(*b)=(*a);
(*a)=tmp;
}
int main()
{
int n,i,t,arr[1000],k,brr[1000],j,tmp;
cin>>t;
while(t--)
{
cin>>n>>k;
for(i=0;i<n;i++)
{
cin>>arr[i];
}
for(j=0;j<k;j++)
cin>>brr[j];
i=0;
j=0;
w... | [
"garima.gupta@github.com"
] | garima.gupta@github.com |
901970e7522fb0a002c0bb95001e466231dc67a0 | fbbff9f8c41c7c06fc2cacf76cf72d76c7510087 | /uva-solutions/11244.cpp | fe41188697cf25bea665245c3d2138dc43c248e7 | [] | no_license | diptadas/acm-resources | 91a8629f36819d7bbe1d4263ed3404ecfc92d2fc | 31e3a0c1ad5fae025d2893a712d0ee1a54eabff9 | refs/heads/master | 2023-07-09T13:23:02.658056 | 2021-08-18T07:44:05 | 2021-08-18T07:44:05 | 115,352,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | cpp | #include <iostream>
#include <algorithm>
#include <stack>
#include <queue>
#include <vector>
#include <string>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <sstream>
using namespace std;
int dx[]= {-1,0,1,-1,1,-1,0,1};
int dy[]= {1,1,1,0,0,-1,-1,-1};
int r,c,cnt;
char a[105][105];
void dfs(int x,int... | [
"dipta670@gmail.com"
] | dipta670@gmail.com |
ff4137e09638bc7cd35addb45c16e18e70b15f14 | e8dbd133582a3109f3ed3c7d36efc740ecfdb3d2 | /Program16.cpp | 75158b9aa70bcdc75288c0936e67f72f8f292c09 | [] | no_license | okyradiansyah/latihan | 588d37b84f5fca9cf20218c5ba39c8939e802b4e | 9388fe80bc7805f82bca4af7d603391cd21db3f1 | refs/heads/master | 2021-01-22T05:38:17.060448 | 2020-02-23T14:01:22 | 2020-02-23T14:01:22 | 81,683,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | cpp | #include <fstream>
#include <iostream>
//I.S Membuat Aplikasi Stream menuju File
//F.S Menampilkan Hasil Input kepada Output file .txt
using namespace std;
int main () {
//Kamus
char data[100];
//Buka File
ofstream outfile;
outfile.open("Text.txt");
cout << "Writin... | [
"noreply@github.com"
] | okyradiansyah.noreply@github.com |
6c9485b7fe89dbd86a22f8fb29c7aeffa9d386af | d48e9d47b52c413bcc318a8f0270c8b3bf81fde2 | /include/yampi/algorithm/replace_copy.hpp | 6bf61469b7860712f5d2e884a455a226933d952d | [
"MIT"
] | permissive | naoki-yoshioka/yampi | 3b1152b569b89d31a7701b800ad652f0a0424e70 | 6340e6d80d5e26e73f97593bf5dbf565d1ab2488 | refs/heads/master | 2023-08-10T10:02:10.850282 | 2023-07-25T06:35:47 | 2023-07-25T06:35:47 | 59,013,135 | 6 | 0 | MIT | 2023-09-13T02:33:18 | 2016-05-17T10:29:46 | C++ | UTF-8 | C++ | false | false | 9,661 | hpp | #ifndef YAMPI_ALGORITHM_REPLACE_COPY_HPP
# define YAMPI_ALGORITHM_REPLACE_COPY_HPP
# include <cassert>
# include <vector>
# include <algorithm>
# include <boost/optional.hpp>
# include <boost/none.hpp>
# include <yampi/send.hpp>
# include <yampi/receive.hpp>
# include <yampi/allocator.hpp>
# include <yampi/environme... | [
"yoshioka.naoki@gmail.com"
] | yoshioka.naoki@gmail.com |
7dffd78e41e8ecf7b7b0ac574d089bc778332ec9 | 6303cf4ae04d445915ace8b0e9d75572d7b67a6e | /include/generic_obstacle_detection/obstacle_classification.h | e39b1993cd2aaa8d4b63c4c93b822f9782376d8f | [] | no_license | YangZhengShi/csapex_generic_obstacle_detection | 70e6d76953b9d7ebd8adba38b3f918353ecba612 | bf076db25030bca76b2dc87248937f3d5a0db748 | refs/heads/master | 2022-01-06T16:47:00.188740 | 2018-10-20T21:02:15 | 2018-10-20T21:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | h | #ifndef OBSTACLE_CLASSIFICATION_H
#define OBSTACLE_CLASSIFICATION_H
namespace csapex
{
enum class ObstacleClassification {
UNKNOWN = 0,
FLOOR = 1,
UNSPECIFIED_OBSTACLE = 2,
OBJECT = 3,
LOW_OBSTACLE = 4,
OVERHANGING_OBSTACLE = 5,
WALL = 6,
CEILING = 7,
ARTIFACT = 9
};
}
#endif //... | [
"sebastian.buck@uni-tuebingen.de"
] | sebastian.buck@uni-tuebingen.de |
08446cf47a741d4321ef833b3cf47cb4b77cb233 | 9eaf679a99a88ccf42920fe7076856398b095402 | /Server/DataServer/src/TaxasPokerPeer.h | 633328e1b7ea7b37f1d9745319ee513260217685 | [] | no_license | daxingyou/MJ | 1fce631d11c14a2d08928260704a6c359bcca12b | 4fdfc39d710562cf6e493292c5e4afc967866a40 | refs/heads/master | 2021-06-18T19:18:08.864754 | 2017-07-11T10:05:56 | 2017-07-11T10:05:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,455 | h | #pragma once
#include "RoomPeer.h"
#include "NativeTypes.h"
#include "CommonDefine.h"
#include "TaxasPokerPeerCard.h"
class CTaxasPokerPeer
:public CRoomPeer
{
public:
CTaxasPokerPeer(CPlayer* pPlayer);
~CTaxasPokerPeer();
virtual bool OnMessage(stMsg* pMsg ) ;
virtual void OnPlayerDisconnect();
virt... | [
"dengh_dhsea@126.com"
] | dengh_dhsea@126.com |
360cb8443f117f5e1f648d3e8b421979a53d7a08 | 6640ca1ff0b4a40f97e26a284a209d61ddfc2c40 | /Sandbox/src/Main.cpp | 99ea4b5a4c74ef14c6e640c12d406f1c3ff8391b | [] | no_license | Dequilla/Ecees | 3a3ab574b46a034fa15332fb8b1c172ad8083791 | 516d4767ab65bf3ab0ffabb4c15fa483f225558e | refs/heads/master | 2020-04-13T17:23:04.379433 | 2019-01-01T20:46:37 | 2019-01-01T20:46:37 | 163,346,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,677 | cpp | #include <iostream>
#include "Ecees/Ecees.h"
#include "Ecees/Systems/PositionsSystem.h"
#include <SFML/Graphics.hpp>
// TODO: To components add an id so we can identify each component
// Use memory address or is that a bad idea?
// We need this to remove a certain child or parentand to keep track etc
// Game ob... | [
"edwin.wallin@dequilla.com"
] | edwin.wallin@dequilla.com |
91413f851ad9612b265204337c1265e2ea908ae4 | 3ef99240a541f699d71d676db514a4f3001b0c4b | /UVa Online Judge/v100/10005.cc | 9ecbb15abbc0049d8b5192502347599534491a81 | [
"MIT"
] | permissive | mjenrungrot/competitive_programming | 36bfdc0e573ea2f8656b66403c15e46044b9818a | e0e8174eb133ba20931c2c7f5c67732e4cb2b703 | refs/heads/master | 2022-03-26T04:44:50.396871 | 2022-02-10T11:44:13 | 2022-02-10T11:44:13 | 46,323,679 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,867 | cc | /*=============================================================================
# Author: Teerapat Jenrungrot - https://github.com/mjenrungrot/
# FileName: 10005.cc
# Description: UVa Online Judge - 10005
=============================================================================*/
#include <bi... | [
"15001582+mjenrungrot@users.noreply.github.com"
] | 15001582+mjenrungrot@users.noreply.github.com |
b3f0806355e785d942881c55dc0a3854bc132f1b | db3c1a2a1777ee05023fa42689d5d8ec719ba6b4 | /PerezSantiagoS4C4/holamundo.cpp | 829c47ee2af5b741029a91c23870d68f0722a9a9 | [] | no_license | seperez10/clasecompu | 316d2dbdb2faada824721d1247425cb8ff32606d | eb1048a459f3206cbd2ad4efbece206c89c50f62 | refs/heads/master | 2020-06-12T12:15:03.301777 | 2019-07-23T17:37:23 | 2019-07-23T17:37:23 | 194,296,101 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 109 | cpp | #include<iostream>
using namespace std;
int main(){
cout << "Hola Mundo";
return 0;
} | [
"se.perez10@uniandes.edu.co"
] | se.perez10@uniandes.edu.co |
2a2e0ce5c99e9636cda56cbb18096c9aa9c428fe | 799131d0fa55cffb6695bc562c24f01845f70db0 | /bitcoin-0.10/src/script/sigcache.cpp | c9391b785754fcf8123ed3d8bab28fb7adfbfe83 | [
"MIT"
] | permissive | maliaosaide/imnucoin | 21c8c8c7354928d29a140e6ff9365f12b119440b | 7255687ad7deede3df1bc4b982adbdbf650abc3d | refs/heads/master | 2020-12-15T00:57:34.129061 | 2020-02-26T06:58:27 | 2020-02-26T06:58:27 | 234,935,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,016 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Imnucoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sigcache.h"
#include "pubkey.h"
#include "random.h"
#include "uint256.h"
#... | [
"maliaosaide@gmail.com"
] | maliaosaide@gmail.com |
8effcf546845b91ef7ba7df85b12c74b6c5e698c | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch.alternative.numerics/eulerVortex.cyclic.twitch/4.27/p | 452d4abcfbf5f048dd7b3019ea1a1868bf379330 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,903 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
ee8bbbe549abc46763778808e0977acade4d73ec | b8723a2862a0bc34e02a44628a2f9434693ea7d1 | /kattis/fire2.cpp | 4d26910b60cb8530b4cad4607ebb0606420eacd6 | [] | no_license | mario7lorenzo/cp | ea6d20bbde7ec7217b7bab45f635dda40d2e078b | 253c16599a06cb676a3c94b4892279905486cf5d | refs/heads/master | 2022-05-03T22:27:07.710681 | 2022-04-10T08:37:53 | 2022-04-10T08:37:53 | 158,787,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,445 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
while (t--) {
int r, c;
cin >> c >> r;
char arr[r][c];
int arr1[r][c];
int arr2[r][c];
int x, y;
queue<pair<int, int> > jp, vp;
for (int i = 0; i < r; i++) {
for (int j = 0; j < c; j++) {
cin >> arr[i][j];
if (ar... | [
"mariolorenzo213@gmail.com"
] | mariolorenzo213@gmail.com |
ded538247c567a232e25c69de452b9a0c1486037 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /third_party/WebKit/Source/platform/geometry/LayoutRectOutsets.cpp | beaf0fe78aeb91c3f0288200f220fff628d26fdb | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 5,880 | cpp | /*
* Copyright (c) 2012, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditi... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
a0b087a7f21f6698afd59b48e2952b956bef28b8 | b4740ed57135f0f7ab55ed823f574de2e077ef21 | /test_android/src/CallbacksEGL/ColorPickingCallback.cpp | 201bf97f28a0e6f32c4d2196fc78b3709c77d121 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | gitter-badger/fillwave | f683cc9d76f67b2cf1ab99b39f1f35d8f7afadbf | 98ae599dbc5600ce8811c045981144fee5298055 | refs/heads/master | 2020-04-02T00:33:11.700748 | 2015-11-03T22:18:48 | 2015-11-03T22:18:48 | 45,499,968 | 0 | 0 | null | 2015-11-03T22:29:29 | 2015-11-03T22:29:29 | null | UTF-8 | C++ | false | false | 1,421 | cpp | /*
* ColorPickingCallback.cpp
*
* Created on: Nov 16, 2014
* Author: filip
*/
/*************************************************************************
*
* Copyright (C) 2014 Filip Wasil
*
* Filip Wasil CONFIDENTIAL
* __________________
*
* [2012] - [2014] Filip Wasil
* All Rights Reserved.
*
*... | [
"fillwave@gmail.com"
] | fillwave@gmail.com |
c3d77949c5f70580708c20c59255f4ff8b094f80 | 676d7d8ca8df424121a03d255c85111dca634bb8 | /src/bstat/visitor.cpp | 2e413b3d72f2c9599ee1f58d644582b142256147 | [
"MIT"
] | permissive | rix0rrr/libbruce | b19c5530bc00af6221dfad15c6f70c01ceb421d0 | bccef2ee4cc35b1fa941ee1d921aae837a4f4ce4 | refs/heads/master | 2021-01-10T05:14:17.047785 | 2017-09-28T11:15:18 | 2017-09-28T11:15:18 | 44,472,759 | 24 | 1 | null | 2017-09-28T11:15:19 | 2015-10-18T09:45:22 | C++ | UTF-8 | C++ | false | false | 1,818 | cpp | #include "visitor.h"
// Cheekily access the private API of the library
#include "../libbruce/src/serializing.h"
using namespace libbruce;
BruceVisitor::~BruceVisitor()
{
}
void doWalk(const nodeid_t &id, BruceVisitor &visitor, be::be &blockEngine, const tree_functions &fns, int depth)
{
mempage mem = blockEngin... | [
"rix0rrr@gmail.com"
] | rix0rrr@gmail.com |
78dcb223a7771fc75bd44754efd4b30619a9b2e8 | d650f0afa3d3f3f394b5f7d8f38963d0d35af1f3 | /Arduino/SensorAmperaj/SensorAmperaj.ino | 3171ad7e8e749ffb4cfe047bbff8be8b6f460efd | [] | no_license | ccencho/Angelhack | 658af51398d562087932e84a9b3f872810b40c13 | 9cd12d04e2287e70a852eb696e6c7f5e40b32a35 | refs/heads/master | 2021-01-24T07:09:30.058310 | 2017-06-04T18:31:35 | 2017-06-04T18:31:35 | 93,333,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,265 | ino |
// www.arduinesp.com
//
// Plot DTH11 data on thingspeak.com using an ESP8266
// April 11 2015
// Author: Jeroen Beemster
// Website: www.arduinesp.com
#include <Wire.h>
#include <ESP8266WiFi.h>
const char* ssid = "redpucp";
const char* password = "C9AA28BA93";
const char* server = "demo-alonso1978.rhcloud.com";
f... | [
"axgt8@hotmail.com"
] | axgt8@hotmail.com |
7e23888ada8143d8dc60b33e61e06dd6837cd87a | 8eae6774231f4a313e7aa8ac30d5c678dc1c2a42 | /luogu/1019.cpp | 94947376041632bd49acc8b8634d63b1946cdfa9 | [
"MIT"
] | permissive | windcry1/My-ACM-ICPC | c97b203e5e54d355168ed14db888f4a1b3e6c363 | b85b1c83b72c6b51731dae946a0df57c31d3e7a1 | refs/heads/master | 2021-09-06T20:47:56.525749 | 2021-08-22T14:06:10 | 2021-08-22T14:06:10 | 231,622,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,327 | cpp | /*************************************************************************
>>> Author: WindCry1
>>> Mail: lanceyu120@gmail.com
>>> Website: https://windcry1.com
>>> Date: 12/30/2019 11:03:37 PM
*************************************************************************/
//#pragma GCC optimize(3)//ACWing, CCF
//#define FA... | [
"lanceyu120@gmail.com"
] | lanceyu120@gmail.com |
4612bdccb5f1d46b2966136b515dedbc3aff0912 | cf18105e40b4fc07d7eeb9ad4f1dc28005d5bcf1 | /GameObject/Component/componentRenderer.h | 0f34d1b7e7a7c7ae10ff497dc0ad39a40fa43a5e | [
"MIT"
] | permissive | XZelnar/GameEngine | 5d49592ad9a6f1ad5aab50b70405979daaf12eab | cb28f6046249e77e30d5e3526f9f0a1fe7f3ef8f | refs/heads/master | 2016-09-05T16:34:53.837125 | 2015-09-09T22:02:23 | 2015-09-09T22:02:23 | 41,175,546 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | h | #pragma once
#include "../../stdafx.h"
#include "iComponent.h"
class Material;
class Transformation;
class ComponentRenderer : public IGameObjectComponent
{
public:
ComponentRenderer() : IGameObjectComponent() { }
virtual const Material* GetMaterial() { return material; }
virtual void SetMaterial(M... | [
"XZelnar@users.noreply.github.com"
] | XZelnar@users.noreply.github.com |
4947aaaebaaa5c127f460c1921cf3c5fe9ea8b87 | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/submergedBarResults180628-Eta/25.6/alpha.water | 0383ba9eb762995c67d5f0ac98609d6f7f3d7084 | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 131,424 | water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"abenaz15@etudiant.mines-nantes.fr"
] | abenaz15@etudiant.mines-nantes.fr |
4a529f780472805bdfd5bc168091657c6cb5dc76 | b73b6ba6b34afcd76efd02ca413cd01c7f75b33f | /cpp/boj2293.cpp | 2c29112950d07e7b9f7a479491ea1b811d5b0478 | [] | no_license | kim-seoyoung/basicprogramming | 45b44f926eb8b901b27cb919dac7f1f8d8db5281 | c0eb970984dac9eba36718a65dec84c658a88ccd | refs/heads/master | 2020-06-20T16:41:35.091565 | 2020-03-12T12:47:49 | 2020-03-12T12:47:49 | 197,181,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
int main(){
freopen("input.txt", "r", stdin);
int n, k, tmp;
int cases[10002]={1,};
int coin[101];
cin >> n >> k;
for(int i(0); i < n; i++){
cin >> coin[i];
}
for (int i(0); i < n; i++){
for (int j=coin[i]; j < ... | [
"bestseo02@naver.com"
] | bestseo02@naver.com |
f9eea286c73693cb38fc203e134c65f269a48d46 | 39a4502a406ff7cde0ea9a7d67b03bc077474e18 | /Ceng477-Introduction to Computer Graphics/HW1/Material.cpp | 7ef2b8b080e82d20db1c6e592e38cb9c2717cbfb | [] | no_license | aalparslan/METU-CENG | 795f29c26043b1fcb8b4ffcd2032ba55ce787a6e | 2ff1968a6e6b50b3d2340192c47be50d45f8d96e | refs/heads/master | 2023-04-10T23:03:06.451496 | 2020-08-02T17:39:34 | 2020-08-02T17:39:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68 | cpp | #include "Material.h"
Material::Material(void)
:phongExp(0)
{}
| [
"beste.burhan@technarts.com"
] | beste.burhan@technarts.com |
68032f843e9c656dc316d863154745d9f55ad795 | b655dac401f2c141e02f81b8dc87356af3d7cca9 | /Hazel/src/Hazel/Log.h | aae9f437d3d981d408acbd8a30571fd11fb871b6 | [] | no_license | dafidi/the_cherno_game_engine | 4b4beb9440e3eae5a45c0f8fea59199527e94310 | 03df271aa0caba6a6333b8d5fb5d7bbb4bb824af | refs/heads/master | 2020-04-24T13:01:31.725130 | 2019-09-10T19:10:17 | 2019-09-10T19:10:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | h | #pragma once
#include "Core.h"
#include "spdlog/spdlog.h"
#include "spdlog/sinks/stdout_color_sinks.h"
#include "spdlog/fmt/ostr.h"
namespace Hazel {
class HAZEL_API Log {
public:
static void Init();
static inline std::shared_ptr<spdlog::logger>& GetCoreLogger() { return s_CoreLogger; }
static inli... | [
"david.awogbemila@bison.howard.edu"
] | david.awogbemila@bison.howard.edu |
ef283824300e76e6133230f83eee4570e1f8cbe4 | 5c6e528153019931afd4cbcc6cfcfe6cdce010b5 | /test-dia5.cpp | 398b15196218e52da6eff62217deb1c64fd88ce9 | [] | no_license | Densatho/Faculdade-C | 629d1b36ab6eebc8cf86396816f6717a8aa6585a | 48ee2c3c5cbe4929b8d397c2def91becd09fec38 | refs/heads/master | 2020-12-10T16:04:25.258017 | 2020-01-13T17:01:38 | 2020-01-13T17:01:38 | 233,640,751 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 841 | cpp | #include <stdio.h>
#include <locale.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[]){
int n, i=0, cont=0, contador;
FILE *arquivo;
arquivo = fopen("C:\\Users\\Aluno\\Desktop\\saida.txt", "w");
setlocale(LC_CTYPE, "ptb");
do{
printf("Escreva a quantidade de al... | [
"noreply@github.com"
] | Densatho.noreply@github.com |
126a3aadab5b97580425c7427d12c965e56445b3 | 720c7503fd06b5168231c74d249be31521fe1f9e | /现代密码学算法/经典对称加密算法/源代码/TestAESCipher/TestAESCipher.cpp | 14101b1038ec2c384312eb61c17b3bf3e4d5f6d5 | [] | no_license | iznilul/Algorithm | 8c4817c1c1c285393ab5d0b6e3519406f3f3a9eb | ce4e44000bb4975ce9df15c44421f1e2f2745ad7 | refs/heads/master | 2021-09-06T14:02:22.108057 | 2018-02-07T09:11:39 | 2018-02-07T09:11:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | cpp | #include "stdafx.h"
#include "AES.h"
void print(unsigned char* state);
int main(int argc, char* argv[])
{
unsigned char input[] =
{
0x11, 0x22, 0x33, 0x44,
0x55, 0x66, 0x77, 0x88,
0x99,0x00,0xAA, 0xBB,
0xCC,0xDD, 0xEE, 0xFF
};
unsigned char key[] =
{
0... | [
"384863014@qq.com"
] | 384863014@qq.com |
7a3858553e27362fbe0db0b5894228269d924901 | efc9f7ce45fd208d6ed43c41ea9a6ed8b4664feb | /src/libs/SGAL/lib/SAI/SAI_field_template.hpp | fc097e97c13d8b16fad3488ea7b99b4203589fa7 | [] | 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 | 5,266 | hpp | // Copyright (c) 2004 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 |
b29fedc02a7e0d6b86e0a7b20d9ff8a7b17f60b7 | f26360b99a471d466af83f037a02ccc4667db913 | /veuilib/include/vpgclientwrapper.hpp | 48b36843124e8c8cf49cc6b175ba010010dc3c70 | [
"MIT"
] | permissive | gitkeidy/opencvr | 80646520b8099485edb6c666750808f876fabf97 | 9bd570ff30c407cf149acdaf483f22f0ebefa72e | refs/heads/master | 2021-01-18T08:56:04.463604 | 2016-02-08T05:10:18 | 2016-02-08T05:10:18 | 50,656,483 | 3 | 1 | null | 2016-02-08T05:10:20 | 2016-01-29T10:44:57 | Makefile | UTF-8 | C++ | false | false | 694 | hpp | //------------------------------------------------------------------------------
// File: vpgclientwrapper.hpp
//
// Desc: Profile G client - Profile G client wrapper
//
// Copyright (c) 2014-2018 INTINT. All rights reserved.
//------------------------------------------------------------------------------
#ifndef __V_... | [
"xsmart@163.com"
] | xsmart@163.com |
b7d4d3d57a399f8a1d782c8248165a0220eb1670 | 9f730bf91dc97735ebc3941d53743a44743c4b91 | /Precedence.hpp | a7bae378553a567614b23c9e2d38187e3d2fb50a | [] | no_license | dot-operator/ISPCompiler | 562c24c56b564900ce3af067758a0881c79f22c1 | 733fc6ddb190b6610c96feba82ddb20d57d0cf0b | refs/heads/master | 2020-04-15T20:06:11.380161 | 2020-03-11T06:18:35 | 2020-03-11T06:18:35 | 164,979,206 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,804 | hpp | //
// Precedence.hpp
// ISPCompiler
//
// Created by Sullivan Boyd on 1/11/19.
// Copyright © 2019 Sullivan Boyd. All rights reserved.
//
#ifndef Precedence_hpp
#define Precedence_hpp
// Operator Precedences
struct Precedence {
unsigned precedence = 0;
bool lhs = true;
Precedence(unsigned p, bool l){
... | [
"sullivan.h.boyd9@gmail.com"
] | sullivan.h.boyd9@gmail.com |
4a2ff0a68ea84ca0659e79ec0fe201695696f078 | f54f816c39b45c5d925352b5d50dd81990b4ad0e | /src/classes/equip/Potion.cpp | 5c7f0283920b7626b88fade2f15495069d461210 | [] | no_license | mdportnov/DungeonGame | f5d7f00f37726076f49ca4424e30fc8f3d7c767e | 1068771891fbef2b3ff956c4c4db28e308396d16 | refs/heads/master | 2023-04-13T17:40:43.476762 | 2021-04-11T13:31:37 | 2021-04-11T13:31:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | #include "include/model/equip/Potion.h"
Potion::Potion(Level &level, string &fileName, string &name,
string &type, string &subType, float x, float y, float w, float h, int layer, int state,
const map<string, string> &changesList) :
ChangesAttributes(changesList), Item(level, file... | [
"mdportnov@mephi.ru"
] | mdportnov@mephi.ru |
4e0b2469a872ae4abf974af337ba6fc2bd9bc50e | 7b49317a78fccd0d6752c918bfca89d8bf6f34bf | /src/PreProcessingToHough.cpp | 64bb32d14ab2cbc456bbecfcb3a7672e5a82d724 | [] | no_license | mecseid/ODC_HOUGH | a6de5158b2e5a5ff1cd039a2a3d805137be11583 | 63ac06d07afe34b4a96b0beed2f013808ae2795a | refs/heads/master | 2020-04-28T09:07:54.206774 | 2015-05-19T15:31:13 | 2015-05-19T15:31:13 | 35,782,268 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | #include "PreProcessingToHough.h"
#include "ChannelSelection.h"
cv::Mat preProcessingToHough(const cv::Mat *image)
{
double zoom = 576.0 / image->rows;
cv::Mat res;
cv::resize(*image, res, cv::Size(static_cast<unsigned int>(image->cols * zoom), 576), 0, 0, cv::INTER_LANCZOS4);
return getChannel(&res, GREEN);
}
| [
"mecseid@gmail.com"
] | mecseid@gmail.com |
9254b28ecd966dfe7c5a5ed4ec7478fd494046d9 | 59632d289f68fccfc9071a20e10cffc7bbf4f8d4 | /22.1-ExplodingObjects/Mesh.cpp | a3ee64a97cda155de86d05a7696554ea4e3f685b | [] | no_license | BennyFranco/OpenGLPractices | c3b0ce452ed2c65be0b59812da676eaf667504c2 | 91ded96387e1c5f12c4e0a2a330a08e9db76a2c9 | refs/heads/master | 2021-08-10T23:32:20.176800 | 2018-12-18T21:23:41 | 2018-12-18T21:23:41 | 115,046,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,464 | cpp | #include "Mesh.h"
Mesh::Mesh(std::vector<Vertex> vertices, std::vector<GLuint> indices, std::vector<Texture> textures)
{
this->vertices = vertices;
this->indices = indices;
this->textures = textures;
setupMesh();
}
void Mesh::setupMesh()
{
glGenVertexArrays(1, &VAO);
glGenBuffers(1, &VBO);
... | [
"bennyfranco@icloud.com"
] | bennyfranco@icloud.com |
8669e96fef8ec2f578de1ab6feb17ae6d4a67b55 | db21e79032946d1ef1f3d8ef05f0e775d733f7e3 | /Tutorials/Particles/NeighborList/NeighborListParticleContainer.cpp | f94ab36732cde0fc461d26abb7459adb637ed14c | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | knutsvk/amrex | 8d6794a7b2aca0531396fa4a00361e5bc084453b | ec579be7bf1be1665a868441bb16dd432eaac49d | refs/heads/master | 2022-02-14T22:52:08.877983 | 2018-12-03T16:44:35 | 2018-12-03T16:44:35 | 101,041,579 | 0 | 0 | null | 2017-08-22T08:43:33 | 2017-08-22T08:43:33 | null | UTF-8 | C++ | false | false | 4,387 | cpp | #include "NeighborListParticleContainer.H"
#include "neighbor_list_F.H"
using namespace amrex;
constexpr Real NeighborListParticleContainer::min_r;
constexpr Real NeighborListParticleContainer::cutoff;
NeighborListParticleContainer::
NeighborListParticleContainer(const Geometry & geom,
... | [
"atmyers2@gmail.com"
] | atmyers2@gmail.com |
2435a866724b52291c4fefaac08ae3812b5b4a3c | 53488849a95afd3383f69174f57603857abc0671 | /2nd_tour/smart_city/task_08/source.cpp | 52e087de246d58897c80c8aeedcc441f7c093224 | [] | no_license | NTI-contest/ONTI-2018-19 | b5b1f220a68bf9f01785bd2b8c233a3932b5170b | 4277b400c54bde472041c5d8356ab76e6cbf0d24 | refs/heads/master | 2020-04-08T15:42:21.725008 | 2019-07-24T16:47:33 | 2019-07-24T16:47:33 | 159,488,818 | 1 | 2 | null | 2019-01-11T19:18:13 | 2018-11-28T11:06:13 | null | UTF-8 | C++ | false | false | 521 | cpp | #include <cstdio>
#include <string>
#include <cmath>
using namespace std;
FILE *f = nullptr;
FILE *fo = nullptr;
int sol()
{
int k;
fscanf(f, "%d", &k);
int v = 3, c = 1;
for (;c < k;)
{
++v;
++c;
for (int i = v - 4, lc = 2; i >= 0 && c < k; --i)
{
if ... | [
"46607310+RiKate@users.noreply.github.com"
] | 46607310+RiKate@users.noreply.github.com |
71d28b4a31434f571189aeeb897d841f07e181f7 | b14edc0cd01d3097d04ac189529f73e3e63046cc | /Uebung1/skeleton/.svn/text-base/Robot.hpp.svn-base | a402368ea7713f631a5d003014c2edb09e33643d | [] | no_license | Spanky2013/CGI14-15 | 1170a01836ca177f832b79829f4205a49c2e5409 | d8d675621e7eb69bcd7a975d662083e4d9948d66 | refs/heads/master | 2016-09-06T05:51:23.940551 | 2015-02-06T13:46:27 | 2015-02-06T13:46:27 | 25,822,263 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 454 | /* ----------------------------------------------------------------
name: Robot.hpp
purpose: the scenegraph/robot hierarchy/construction
version: SKELETON CODE
TODO: nothing (see Robot.cpp)
author: katrin lang
computer graphics
tu berlin
----------------... | [
"tim_spankowski@gmx.de"
] | tim_spankowski@gmx.de | |
1a19ca186e85990f5c17b71635a96c8ac96e328c | 1c977193a5083bd1f335ac4c6dbc967590a1dec7 | /HEPNUM.cpp | ae59ae891ee64f439e9a6b43c7bd4553bdf767e1 | [] | no_license | enfinet/spoj | cf5aefc3f320234acca8a7aa23ee693533ba8f90 | 70db3112c794cf7a00f5ec753a0136e6d755fbf7 | refs/heads/master | 2016-08-11T07:55:14.641808 | 2015-06-20T09:26:37 | 2015-06-20T09:26:37 | 36,752,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | #include<iostream>
#include<cstring>
using namespace std;
int main()
{
char a[200000],b[200000],m[200000],n[200000];
cin>>a>>b;
while(a[0]!='*'){
int a1=strlen(a),i=0,j=0;
int f=0;
while(i<a1){
if(f==0){
while(a[i]=='0')
i++;
f=1;
}else{
m[j++]=a[i++];
}
}int a2=strlen(b),p=0,q=0;
int flag=0;... | [
"saurabh99849@gmail.com"
] | saurabh99849@gmail.com |
d25501ad6f2684738e9e96463421a30f9718dbc5 | f81fc050989f1eb9df5d8ef91e469c8f6d4d7f27 | /11192.cpp | a8f5790ce7321cced189351142e7b1bfc52a4e5d | [] | no_license | a-pramanik37/Solved-problems-of-UVA | 9102e583b7e5c091992c648efed238199e64567c | 71e5869dc47b4ac84d96896676e1cd31f7e4245a | refs/heads/master | 2020-05-27T10:03:03.210301 | 2019-05-25T14:51:22 | 2019-05-25T14:51:22 | 188,575,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | cpp | #include <cstdio>
#include <iostream>
#include <cstring>
#include <string>
#include <cmath>
#include <cstdlib>
#include <algorithm>
using namespace std;
int main()
{
char a[300], b[300];
int ar[500];
int i, j, coun, lenOFgroup, group, lenOFstr;
while(scanf("%d", &group)==1 && group!=0){
scan... | [
"bappycseju37@gmail.com"
] | bappycseju37@gmail.com |
434c6e2b30306800061e036174296928732263f5 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5670465267826688_0/C++/Aliaksei/C.cpp | 637e35b2ae9e0e4edc7e3a7c28c0c3e50d91ec48 | [] | 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 | 2,382 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
#include <vector>
#include <cmath>
using namespace std;
int mul(int a, int b)
{
int s = (a<0)? -1 : 1;
s *= (b<0)? -1: 1;
a = abs(a); b = abs(b);
if(a == 1) return s * b;
if(b == 1) return s * a;
if(a == 2 && b == 2) return -s;
if(a == ... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
b69f7c558827240d65d49dc0dff8a1460d06d871 | 4e08aadbc95e797bf0d8e28e9dbb228d43650f1e | /src/sim/forceeval_lj.hpp | 2eec6576dc6a1bce63124e1e90f1d9346f4e151e | [] | no_license | musab-k/MolDyCaT | 30f212a1506d87aae8374e70a4f7275677937e2d | caa855d4da47cf1c15abf985d7e126692e5130c6 | refs/heads/master | 2021-04-30T16:09:54.243950 | 2017-01-25T00:11:10 | 2017-01-25T00:11:10 | 79,967,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,688 | hpp | #ifndef SIM_FORCEEVAL
#define SIM_FORCEEVAL
#include <vector>
#include <cmath>
#include <vector>
#include "armadillo"
#include <iostream>
#include "../atom/vect3.h"
#include "../atom/atom.h"
#include "unitcell.h"
#include "simulation.hpp"
#include "../modules/moduleB.hpp"
#include "../modules/moduleC.hpp"
#include "... | [
"171913@gmail.com"
] | 171913@gmail.com |
7d144a28657705d93568d44da41542c7dcb4b6aa | 21cd67dba6322902d6aebdeb44f65fdeebc17523 | /classes/controller/InformationHandler.cpp | 449f3d054fc5565ad87f2bd7fa9c0e3745623f2c | [] | no_license | TheBiggestDaddy/ATM | b04746d2d0bee81a5c73ec90c77ba3e812024a27 | 56b33704302bb931750b98d5a2e7874db9d1a68a | refs/heads/master | 2020-05-18T20:19:48.883259 | 2014-11-18T14:01:05 | 2014-11-18T14:01:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cpp | /**********************
* Dobrianskiy Andriy *
* ****08.11.2014**** *
* ********************/
#include "InformationHandler.h"
InformationHandler::InformationHandler(Controller &master):
_master(master)
{
}
InformationHandler::~InformationHandler ()
{
}
void InformationHandler::backspaceClicked ()
{
_mast... | [
"andry-124@mail.ru"
] | andry-124@mail.ru |
d03d4a50d0b4a4e8175be14dc1e5299bd816477c | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-16.0/llvm/lib/TableGen/StringMatcher.cpp | c169b4e0a3620ce5e26406d16c69cc5fcee70571 | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 5,806 | cpp | //===- StringMatcher.cpp - Generate a matcher for input strings -----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com |
581a761701dc4f38ae11261104ff7315fc89c044 | 8e2874e5b2263fc7a010c1ef967c5584787db3eb | /dynamic_topology_experimental/Basic.hpp | de4daa803edd60b6902b5f1e6da7cfedc0ba9c12 | [] | no_license | paolorechia/projeto_gerencia_redes | fa02d0c100207c7ad6d9c93b0c2ce8fd180c8a51 | 71c6ead82c463e1053ae1631820c70059f6bf4e5 | refs/heads/master | 2020-05-09T15:53:58.186444 | 2019-07-11T11:42:13 | 2019-07-11T11:42:13 | 181,249,207 | 1 | 0 | null | 2019-06-24T23:20:53 | 2019-04-14T02:06:15 | C++ | UTF-8 | C++ | false | false | 1,952 | hpp | #ifndef BASIC_H
#define BASIC_H
#include <new>
#include <math.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#if defined( WIN32 ) || defined( _WIN32 )
#include <windows.h>
#endif
#if defined( __unix__ )
#include <unistd.h>
#endif
// ===========... | [
"ericlowsez@gmail.com"
] | ericlowsez@gmail.com |
2392dc3cbda626f33b4ffe0a3c59ad9884b32536 | 350d6ea7d82208b5027e8c23a2a17bc42fef4daa | /dependencies-include/ogre/include/OgreSimpleSpline.h | d7aa4b0900d0fc73d8fe2c19c1ac7f861fb0d410 | [] | no_license | bach74/Lisa | 2436d4da3765b9fe307d5e3dc31bfe532cf37dce | d80af7b880c0f99b914028dcf330d00ef0540cd3 | refs/heads/master | 2021-01-23T11:49:37.826497 | 2010-12-09T16:31:22 | 2010-12-09T16:31:22 | 1,153,210 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,052 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2006 Torus Knot Software Ltd
Also see acknowledgements in Readme.html
This program is fre... | [
"tomislav.reichenbach@fer.hr"
] | tomislav.reichenbach@fer.hr |
9b0032025f805a703ed20e09003ec228a72db641 | 2d951dc1134922b43743e4bda7abf3dc9fc1394a | /op/OpInterface.cpp | f9fad50d1d5c8f001c21fa7f2da5e7660efe18f8 | [] | no_license | energystoryhhl/op | f86898af3d390ef98e48158cb9bf835458da5993 | 7fecdfeb20eeb9568c485c547be1f732abd47479 | refs/heads/master | 2020-04-27T23:19:21.317013 | 2019-03-05T14:27:44 | 2019-03-05T14:27:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,607 | cpp | // OpInterface.cpp: OpInterface 的实现
#include "stdafx.h"
#include "OpInterface.h"
#include "Cmder.h"
#include "Injecter.h"
#include "Tool.h"
#include "AStar.hpp"
#include <filesystem>
// OpInterface
STDMETHODIMP OpInterface::Ver(BSTR* ret) {
#ifndef _WIN64
const char* ver = "0.2.3.0.x86";
#else
static const wchar_t... | [
"784942619@qq.com"
] | 784942619@qq.com |
98ce5d67f991cec0ead474569ec6c9ff610f3e5b | 9dc2587d7629b9a4c358b9d93383257338f32b40 | /AA2-08-rpt09/project01/Arduino/AAnn_CdS_DHT22.ino | d26ca6ef2bf20d03730c7daca8a5df620e0f68f8 | [] | no_license | dksdpcks1/aa2-08 | f464c64ba47928b10559bb3be4efbb4eaf7849d4 | f8887d55f96b86ccafdca4aed13716ce715c3905 | refs/heads/master | 2023-01-20T02:01:51.718286 | 2020-12-02T07:48:27 | 2020-12-02T07:48:27 | 292,203,502 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,298 | ino | // CdS + DHT22
#include "DHT.h"
#define DHTPIN 4
#define DHTTYPE DHT22
DHT dht(DHTPIN, DHTTYPE);
// CdS (LDR)
#define CDS_INPUT 1
void setup() {
dht.begin();
Serial.begin(9600);
}
void loop() {
int cds_value, lux;
float temp, humi;
// Lux from CdS (LDR)
cds_value = analogRead(CDS_INPUT);... | [
"noreply@github.com"
] | dksdpcks1.noreply@github.com |
4295aa772ea2bfa4dffe8cc3a18832fed200d09f | 46174a75cc1297d61669a2e0d5f944c40741e814 | /BattleBot_V2.0/BattleBot_V2.0.ino | 6fbe4b8c0611171021e96256e4da97b383fcfa65 | [] | no_license | Ajasper39/Trine-Robotics-Club | f086535542b471fc8c1beca0c03ea365ff837841 | 4aa2a6e95031bcc98c7790d47ed801d34b3c305f | refs/heads/master | 2022-04-08T18:51:25.348180 | 2020-03-17T22:43:26 | 2020-03-17T22:43:26 | 237,510,032 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,880 | ino | //Comment out DEBUG lines before competition
//#define DEBUG
//#define DEBUG2
//SOFTWARE DERIVED REQUIREMENTS
////// LED //////
//Arduino D8 to Anode of LED
//Arduino GND to Cathode of LED
////// Radio Receiver //////
//Arduino 5V to Receiver THRO +
//Arduino GND to Receiver THRO -
//Arduino GND to ESC GND (Brown)
//A... | [
"aj39aj10@gmail.com"
] | aj39aj10@gmail.com |
2a7d1880096f09c99de4a7014c3db79bc1aabf77 | d0424f69a2a59eb1ee7a1c25ac9a3e907ddca7ba | /CF_contests/13/B_Same_Parity_Summands.cpp | 8ff570ef4edb6cc5f6c848c063a0c1d4f8e960f3 | [] | no_license | akashtadwai/programming-practice | 528ef0603dc94df8d9e0f3bf4e06122ebc783b44 | c0802eca95e790b2b8f3a262f06729084a43477c | refs/heads/master | 2022-11-13T10:33:13.528882 | 2020-07-12T10:28:22 | 2020-07-12T10:28:22 | 268,848,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef std::pair<int, int> ipair;
#define int long long
#define pb push_back
#define ff first
#define INF INT_MAX
#define ss second
#define fr(i, j, a) for (int i = j; i < a; i++)
#define cnt_ones(x) __builtin_popcount(x)
#define all(x) x.begin(), x.end()
#define sz size()... | [
"akashadarsh.tadwai@gmail.com"
] | akashadarsh.tadwai@gmail.com |
61a78a02b69aa6d91a82c5093bf10417aba27072 | fe6baf4e442ce54dd25772570c64badc44a4e7a7 | /region_practice/region_practice/region_practice.cpp | a90e2eb16a67f26a310bec25c3ebbdd844595f3a | [] | no_license | abarankab/competitive-programming | aef5e1adf97824db88ed12056be3d6194db91a79 | c1e23841aae4f18859dd23c4a34a5ed3c9662d4f | refs/heads/master | 2020-07-31T15:58:18.385851 | 2019-09-25T17:07:01 | 2019-09-25T17:07:01 | 210,660,950 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | cpp | // region_practice.cpp : Defines the entry point for the console application.
//
#include <iostream>
#include <algorithm>
#include <string>
#include <map>
#include<vector>
using namespace std;
struct node
{
int l, r, val;
node()
{
l = r = val = 0;
}
node(int _val)
{
val = _val;
}
};
struct SegmentTree
... | [
"abarankab@gmail.com"
] | abarankab@gmail.com |
30f62dc36e05c25fe94a445eda60fd577403ffdd | e41f078dd0291b11cad935989b0b6f4ebcf0561b | /Common01/Source/Common/DrawSystem/Shader/ConstantBuffer.h | 768774f0bdd8139ebb5e0ee87367feb8d2cd4992 | [
"Unlicense"
] | permissive | DavidCoenFish/game02 | 27eba00e188b1d5e5a80553fbea5434b0f24e8a9 | 3011cf2fe069b579759aa95333cb406a8ff52d53 | refs/heads/main | 2023-08-23T07:55:39.745268 | 2021-11-02T06:35:41 | 2021-11-02T06:35:41 | 340,514,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,382 | h | #pragma once
class HeapWrapperItem;
/*
shader constant is reflection of a stuct with visiblity in the shader
pData has ownership in ConstantBufferInfo
*/
//either derrive off iResource, or be told by parent that DeviceLost/DeviceRestored
struct ConstantBuffer
{
public:
ConstantBuffer(
const int frameCount,
... | [
"fish_dsc@yahoo.co.uk"
] | fish_dsc@yahoo.co.uk |
3dafe38e0e893a07d2ade86cae2450db2dbc3e12 | 1314a9f386074a254f2b19da03570817c81679c1 | /hphp/runtime/ext/imagick/ext_imagick.cpp | c7bca0f45edb9f1ad83f8d4975fa643486acec35 | [
"Zend-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-generic-cla",
"PHP-3.01"
] | permissive | nareshv/hhvm | 0c75197817c6ee6ea1f3b26acff0effb449a5c02 | 3528dc973dec02a4cc18a10586ce485995818666 | refs/heads/master | 2020-02-26T17:28:38.933534 | 2014-03-09T04:25:00 | 2014-03-09T04:25:00 | 14,007,538 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,007 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... | [
"sgolemon@fb.com"
] | sgolemon@fb.com |
addb73598a711840504faae1eeb55e6da89983f5 | 313e686e0f0aa3b2535bc94c68644ca2ea7b8e61 | /src/server/game/Grids/Notifiers/GridNotifiers.h | e97e66d2c3b49b9ea4b29cf035231310bb87c60c | [] | no_license | mysql1/TournamentCore | cf03d44094257a5348bd6c509357d512fb03a338 | 571238d0ec49078fb13f1965ce7b91c24f2ea262 | refs/heads/master | 2020-12-03T00:29:21.203000 | 2015-05-12T07:30:42 | 2015-05-12T07:30:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,959 | h | /*
* Copyright (C) 2014-2015 TournamentCore
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 t... | [
"TournamentCore@gmail.com"
] | TournamentCore@gmail.com |
3c4a7e71f1e495fb02662624b344f1489845f924 | 29f4c0e1c9852e335afba70a50e09567c3dadff8 | /src/MonteRay/Particle/unit_test/RayWorkInfo_tester.cc | cdd296ac9f2d547e7846ddadd18cd0e029300685 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"BSD-3-Clause",
"BSL-1.0"
] | permissive | lanl/MonteRay | 4483b6bb02d556cce74a65264dd58b0f22fe7360 | 839636b6ddfae7a42462827445f9d7d13813a4cd | refs/heads/master | 2022-11-28T03:27:03.543048 | 2020-07-29T23:23:09 | 2020-07-29T23:23:09 | 283,623,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,041 | cc | #include <UnitTest++.h>
#include <iostream>
#include <string>
#include "MonteRayDefinitions.hh"
#include "GPUUtilityFunctions.hh"
#include "RayWorkInfo.hh"
SUITE( RayWorkInfo_tests ) {
// data is not normally allocated on the CPU
const bool allocateOnCPU = true;
using namespace MonteRay;
TEST( Ra... | [
"jsweezy@lanl.gov"
] | jsweezy@lanl.gov |
c86018220bd85910d6a88108f2216f62e8488843 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /swas-open/src/model/UploadInstanceKeyPairRequest.cc | ba7d09f6c776e40f2f62a623b7658c828ac1fd3a | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 2,359 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
0f0e0973df9a0989c6a249a17b89f61e8ccd54eb | c93cfb67825d8781bcbf091c1d975b39c2fbe211 | /UI/ResultViewWidget.h | 79478657cf71964ade5fa4cc051d12b64e6e18af | [] | no_license | mailagentrus/NoveoTest | cb9376627694e4a89990d8c893fe425cdaa37630 | 9a99c593575b29ac973e4384a28891128554d0cc | refs/heads/master | 2021-01-10T07:49:17.426298 | 2015-11-01T04:32:41 | 2015-11-01T04:32:41 | 45,327,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | h | #ifndef ResultViewWidget_H
#define ResultViewWidget_H
#include <QFrame>
#include <QScopedPointer>
namespace Ui {
QT_FORWARD_DECLARE_CLASS(ResultViewWidget);
}
QT_FORWARD_DECLARE_CLASS(QNetworkReply);
QT_FORWARD_DECLARE_CLASS(QNetworkAccessManager);
class ResultViewWidget : public QFrame {
Q_OBJECT
public:
... | [
"mailagentrus@gmail.com"
] | mailagentrus@gmail.com |
9ff58d0472fa291b90bafa67a42224dcb0c033c3 | ec2df3fc68d59fb282d5b22d41ed50c9b54bee64 | /example/uniqueptr_test.cpp | cefb26510d9ef88309d4cc7072947a0c41b8c101 | [] | no_license | GalaxyCreater/cplusplus | ba463e456d9baa88456573bd701a81e5a6ed49ce | 2291ec275f65343840383e12a29c79389ac2d6ee | refs/heads/master | 2023-01-04T12:05:05.848591 | 2020-10-28T10:34:52 | 2020-10-28T10:34:52 | 304,569,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | cpp | /*
unique_ptr 实现
*/
#include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
struct Base
{
int v;
};
class Derive : public Base
{
};
template <typename T>
class MyUniquePtr
{
public:
// 让使用起来更像指针
T *operator->() const { return m_v; }
T &operator*() const { return *m_v; }
operator bool() co... | [
"peiwen@qq.com"
] | peiwen@qq.com |
c086ca682476ab4bbe6d923fc495959cf79cf2ae | 11267ffd08839606fc4d8fd53c49cd3d373eedcd | /third_party/eigen3/Eigen/src/Core/IO.h | a1a90c119d0688153f0333a58ad2cfeb7b8f2cc1 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MPL-2.0",
"LGPL-3.0-only",
"BSD-3-Clause",
"LGPL-2.1-or-later",
"GPL-3.0-only",
"Minpack",
"LGPL-2.1-only"
] | permissive | him-28/TensorFlow | 65b7044fd1f74a85cde1e025861a628b3ee9c214 | 9871a5ef21785b720d75e46bd38b49eea829e808 | refs/heads/master | 2023-01-21T20:29:20.006510 | 2015-11-24T07:10:25 | 2015-11-24T07:10:25 | 66,283,292 | 1 | 1 | Apache-2.0 | 2022-12-20T11:37:24 | 2016-08-22T15:13:19 | C++ | UTF-8 | C++ | false | false | 7,750 | h | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If ... | [
"keveman@gmail.com"
] | keveman@gmail.com |
07f8947e7b6d26d8fc46d986a14b34a71d5a779e | fb3d9b1e9e8a7e270f982ca75b667e6367a62a2f | /src/Midg_II.cpp | eb6620a265a06a5feb559aa533a0066f61f81da3 | [] | no_license | OspreyX/midg | 7f48cefc705e0e7fedb981fc0bf83db35e0f613c | 8c3dcf8fc2914ed851b4f9b397935299c242ac81 | refs/heads/master | 2020-04-23T10:44:01.596013 | 2013-08-16T14:55:52 | 2013-08-16T14:55:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,578 | cpp | /**
*
* \file Midg_II.cpp
* \brief Microbotics Midg II controller.
* Parses data from Midg and posts to Midg, Imu and GPS (fix)
* topics.
* \author Chris Bessent <cmbq76>
* \author Jeff Schmidt <jschmidt@clearpathrobotics.com>
* \license BSD
*
* Redistribution and ... | [
"jschmidt@clearpathrobotics.com"
] | jschmidt@clearpathrobotics.com |
fad5019904bd006a99e23d598f43e39b07add960 | e27d9e460c374473e692f58013ca692934347ef1 | /drafts/quickSpectrogram_2/libraries/liblsl/external/lslboost/spirit/include/classic_common.hpp | fb88d938760ba45fe264c859afa23b1b9f87f43f | [
"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 | 593 | hpp | /*=============================================================================
Copyright (c) 2001-2008 Joel de Guzman
Copyright (c) 2001-2008 Hartmut Kaiser
http://spirit.sourceforge.net/
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http:... | [
"gabriel.ibagon@gmail.com"
] | gabriel.ibagon@gmail.com |
e90258e5c412f6889790fbe05796a273b9243690 | f1bd4d38d8a279163f472784c1ead12920b70be2 | /xr_3da/xrGame/game_sv_mp.cpp | 09fd2b79316af9cd9b073bfa32887cde3272af3c | [] | no_license | YURSHAT/stk_2005 | 49613f4e4a9488ae5e3fd99d2b60fd9c6aca2c83 | b68bbf136688d57740fd9779423459ef5cbfbdbb | refs/heads/master | 2023-04-05T16:08:44.658227 | 2021-04-18T09:08:18 | 2021-04-18T18:35:59 | 361,129,668 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 30,097 | cpp | #include "stdafx.h"
#include "game_sv_mp.h"
#include "xrServer.h"
#include "xrMessages.h"
#include "xrServer_Object_Base.h"
#include "xrServer_Objects.h"
#include "level.h"
#include "xrserver_objects_alife_monsters.h"
#include "actor.h"
#include "clsid_game.h"
#include "../XR_IOConsole.h"
#include "../igame_persistent.... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
faf54d9082ed4af225fa79d0602d2641f342853b | 868778cfaff0103c350abbb7af2aaddb62eae40c | /Chapter 7/7-17/main.cpp | 2200aa63e9c15d4b8468e5cd94161c071fe9fc49 | [] | no_license | Jerrydepon/C_plus_plus_Practice | a1f3287f98a0fb625218cfccfb9228d040186f13 | d75a4d3be64c6030d020c10a5bbb86e8313415c1 | refs/heads/master | 2020-07-06T16:36:38.765385 | 2019-08-19T02:03:19 | 2019-08-19T02:03:19 | 203,080,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | cpp | #include <iostream>
using namespace std;
class BigNum
{
private:
int biggest;
void determineBiggest(int num)
{
if (num > biggest)
biggest = num;
}
public:
BigNum()
{
biggest = 0;
}
bool examineNum(int);
int getBiggest()
{
return biggest;
}
};
... | [
"jerry2285@yahoo.com.tw"
] | jerry2285@yahoo.com.tw |
ffe7060b91ad5f3f3861eb8428f39a26d0364316 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/239/909/CWE401_Memory_Leak__twoIntsStruct_calloc_81_goodG2B.cpp | 952778b1ca83079b5aeea8378b2c3353a38a18f0 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 921 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE401_Memory_Leak__twoIntsStruct_calloc_81_goodG2B.cpp
Label Definition File: CWE401_Memory_Leak.c.label.xml
Template File: sources-sinks-81_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 401 Memory Leak
* BadSource: calloc Allocate data using calloc()
* GoodSource: Allo... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
b4f3ee651854a6ed6a9b0d27f2d5b4953770890d | 979313df352afb83c708ab2acc3912edbd0903ad | /GDP_Feeney_201718/GLFW_keyboardCallback.cpp | 532d552ebfc84761c56f9698f8273c4825cbc984 | [] | no_license | bharodiyadhaval/GEM_FINAL | 21234184645545e5e4986264b9501ae35300eee7 | 5983e9d38431cb7b14249c8f4bdcb47a47b24f23 | refs/heads/master | 2020-03-19T05:30:39.527265 | 2018-06-23T15:03:00 | 2018-06-23T15:03:00 | 135,939,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,610 | cpp | #include "globalOpenGL_GLFW.h"
#include "globalGameStuff.h"
#include <iostream>
#include "cAnimationState.h"
bool isShiftKeyDown( int mods, bool bByItself = true );
bool isCtrlKeyDown( int mods, bool bByItself = true );
bool isAltKeyDown( int mods, bool bByItself = true );
bool areAllModifierKeysUp(int mods);
bool a... | [
"you@example.com"
] | you@example.com |
9419b44968cf87f8a522e00916757059dbd54291 | 68cf09612e9efa2fe03b3d8334f3353266f74fad | /CC1120_TXRX_Code_-_V0.1/CC1120_TXRX_Code_-_V0.1.ino | a0289a2219fdcbb8a7d6d4a0e80c4df5b8321eed | [] | no_license | KeplerCommunications/Modem | 73dce1359a6b9ebb323b0714db391785a1683492 | a39c190f3bb8a4d1f20c047ed6c8f0d236e9c095 | refs/heads/master | 2020-05-30T10:39:30.847389 | 2015-08-26T20:49:48 | 2015-08-26T20:49:48 | 41,448,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,646 | ino | #include <stdio.h>
#include "SPI.h"
#include "cmd_strobes.h"
#include "registers.h"
#define DEVICE_ADDRESS 0xA5
//define SPI pins
#define pin_SS 8
#define pin_MOSI 11
#define pin_MISO 12
#define pin_SCK 13
#define pin_RESETN 7
#define pin_greenLED 2
#define pin_redLED 3
#define pin_yellowLED 4
//define crystal oscil... | [
"wenc.chonng89@gmail.com"
] | wenc.chonng89@gmail.com |
d8479a9fbf484c959037ccb871bf32000369646d | 6e59c9389347ffa86eb839a6d7bc9cab7b79871f | /C++ Applications/RobotSimulator/labs/lab07/src/robot_battery.cc | e278a99b98aa2930e160c238233270c37f0f0459 | [] | no_license | JonnySunny/Courses-Project | e1b2c22bc4d97969dbac82386cc800a8fa145514 | 5ca8cb01650fd02da4e936759a0e5b85e62a792b | refs/heads/master | 2020-03-27T23:45:56.273304 | 2018-09-04T12:57:04 | 2018-09-04T12:57:04 | 147,344,676 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | cc | /**
* @file robot_battery.cc
*
* @copyright 2017 3081 Staff, All rights reserved.
*/
/*******************************************************************************
* Includes
******************************************************************************/
#include <cmath>
#include "src/robot_battery.h"
/******... | [
"15953111511@139.com"
] | 15953111511@139.com |
47a8114a2140c5830b010899c4310431a1e231f8 | 0fbb0ce8241189849361de1c20f1757716219ec1 | /main.cpp | adbd2938217a6054572979e205de4c2f810e8d3e | [] | no_license | openrexproject/mx6openrex | 1724f1ff96891657ddf31b2873eadb8357700c86 | 27516fe64db5b5190b3386e13aeae956488bfa5b | refs/heads/master | 2021-01-11T15:27:55.904532 | 2017-01-29T14:34:06 | 2017-01-29T14:34:06 | 80,350,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | #include <stdio.h>
#include <string>
#include <iostream>
#include <thread>
#include <pthread.h>
#include <time.h>
void sleep(unsigned int mseconds)
{
clock_t goal = mseconds + clock();
while (goal > clock());
}
int main()
{
while (1)
{
std::cout << "Hello Emi!" << std::endl;
sleep(1000000)... | [
"your_email@example.com"
] | your_email@example.com |
f4e2b12614acf4e49f9d1f1b5d41c7ad58dc519f | 56d50f10d6ff2262a31248902efce32edacfd66f | /lab3/code/aes.cpp | f704944671e123aa59cce0de95e50f04225cd635 | [] | no_license | DonquixoteGarry/Cryptology | 1c2a0a8ade41d893ee8f2524116647adbf3dfd49 | ccef288e931ebc844eb6f6f0d948f04469242ab7 | refs/heads/master | 2023-02-02T14:23:11.131535 | 2020-12-20T06:10:44 | 2020-12-20T06:10:44 | 312,026,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,295 | cpp | #include <iostream>
#include <string>
#include "aes.h"
using namespace std;
int main()
{
int order;
cout<<"\nplease input task code: 1-encrypt / 2-decrypt / 3-test-snow-fall / 4-quit\n\n";
while(cin>>order)
{
if(order==1)
{
cout<<"\nplease input plaintext(32-hex):\n";
... | [
"zhengji20001205@gmail.com"
] | zhengji20001205@gmail.com |
70e52db568c57542d7f861bb66d9d8b8ba39521f | baa3e49b9128810247dbd9085fa940485d55813c | /CPP/bst_implementation.cpp | 5a0218c142a9dc589ca895f2da921b9b4c1b673e | [] | no_license | mba-mba/HacktoberFest2020-1 | 9f8699ae2be8fd27a7c648c4d0b64be6eafe0f50 | b1391e1521b504d66c89a757f5846147b6e8964b | refs/heads/master | 2023-01-05T23:26:47.965339 | 2020-10-30T08:50:31 | 2020-10-30T08:50:31 | 308,573,690 | 0 | 4 | null | 2020-10-31T04:27:53 | 2020-10-30T08:49:41 | JavaScript | UTF-8 | C++ | false | false | 3,079 | cpp | #include<iostream>
using namespace std;
//declaration for new bst node
struct bstnode
{
int data;
struct bstnode *left, *right;
};
// create a new BST node
struct bstnode *newNode(int key)
{
struct bstnode *temp = new struct bstnode();
temp->data = key;
temp->left = temp->right = NULL... | [
"sravanishivasln@gmail.com"
] | sravanishivasln@gmail.com |
604d9b81ea199c66b08fc16de3220889a47ec6ea | cfd33821398cede8c2aadd847d59b89d72d7e0a6 | /NotWorkingStuff/NotAdopted/Clist_ng/SRC/clistmod.cpp | f190c04319af1a4883cf9c3e43d689c19dd764ff | [] | no_license | miranda-ng/deprecated | 1c922e502d7ec35371a454131b9e5fa019e241fd | 137526f743d2e8237845b7faea992989a7e8fbd7 | refs/heads/master | 2023-01-28T20:57:12.499530 | 2023-01-13T23:32:54 | 2023-01-13T23:32:54 | 71,989,840 | 3 | 3 | null | 2017-08-22T18:52:34 | 2016-10-26T09:53:01 | C++ | UTF-8 | C++ | false | false | 7,348 | cpp | /*
* astyle --force-indent=tab=4 --brackets=linux --indent-switches
* --pad=oper --one-line=keep-blocks --unpad=paren
*
* Miranda IM: the free IM client for Microsoft* Windows*
*
* Copyright 2000-2010 Miranda ICQ/IM project,
* all portions of this codebase are copyrighted to the people
* listed in contribut... | [
"ghazan@miranda.im"
] | ghazan@miranda.im |
bc145795cb86d8562fbe054015eca8058e22d3af | edd4d1dbecbd8621d05263d3e4b3ea86b1d4d73f | /Fredrick Player Profile Database Submission/PlayerProfileDatabaseCPP/MenuChangePlayerProfile.cpp | 171c1da2f53f7a1e60cac6149b761ce97ab170bc | [] | no_license | fredrickbancan/PlayerProfileDatabaseCPP | 522cf022ac9946100273db83e374eee294cc284b | 040734c370d8c8f59cc20d2d1143fc55b7b5b1b5 | refs/heads/master | 2022-12-15T06:06:16.250686 | 2020-09-08T05:04:09 | 2020-09-08T05:04:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,302 | cpp | #include "MenuChangePlayerProfile.h"
#include "DatabaseManager.h"
#include "PlayerProfile.h"
#include "ProfileConsole.h"
void MenuChangePlayerProfile::doMenu()
{
PlayerProfile* foundProfile;
ProfileConsole::announce("Enter the name of the player whos high score you wish to edit:");
ProfileConsole::announce("(1-15 c... | [
"rabbet35@hotmail.com"
] | rabbet35@hotmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.