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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6fff5f36bb6e2e992bb12c902f9e94a38be955d4 | 8674060e2e7b0ce6eadfe8f6a6480b04801b9278 | /include/ren/container/list_pool.hpp | 105cbc7d0e68845cb33a9fcc3c8f59fcfc7fea30 | [] | no_license | taiyu-len/libren | 1ff94fb5882f79c282d1685dde563a5681e961e1 | e380e74a957260198bc8d70ddf1f609751acd6db | refs/heads/master | 2020-04-23T00:24:53.566929 | 2019-02-15T00:41:34 | 2019-02-15T00:41:34 | 170,778,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,525 | hpp | #ifndef REN_CONTAINER_LIST_POOL_HPP
#define REN_CONTAINER_LIST_POOL_HPP
#include <vector>
#include <iterator>
namespace ren::container
{
// pool of T*s
template<typename T, template<typename...> typename C = std::vector>
struct list_pool
{
private:
using value_type = T;
using list_type = size_t;
static constexpr li... | [
"taiyu.len@gmail.com"
] | taiyu.len@gmail.com |
8138cc96e3c1968580b9422520bdb6f46bc96307 | c726145075755c6d3d36b81af64e0f4049451da4 | /include/nme/Texture.h | c65d771a5a58ed9e23bd0aed4ad28dc440a1e8ec | [
"MIT"
] | permissive | haxenme/nme | edf20c532aebb7dee24300826fbb39a2d92f4e99 | 059bf21844a13fdcf30633b7d53ce4a3daae17bf | refs/heads/master | 2023-08-17T00:47:15.797892 | 2023-08-13T06:26:32 | 2023-08-13T06:26:32 | 5,051,566 | 205 | 54 | MIT | 2023-02-27T11:03:40 | 2012-07-14T22:19:48 | C | UTF-8 | C++ | false | false | 594 | h | #ifndef NME_TEXTURE_H
#define NME_TEXTURE_H
#include "Point.h"
#include "Rect.h"
namespace nme
{
class ImageBuffer;
class Texture
{
public:
virtual ~Texture() {};
virtual UserPoint PixelToTex(const UserPoint &inPixels)=0;
virtual UserPoint TexToPaddedTex(const UserPoint &inPixels)=0;
... | [
"gamehaxe@gmail.com"
] | gamehaxe@gmail.com |
276ff22ec2fdc3b205776a8bf3dc55d7565075f3 | 8db216339ac1d9abb6cc254995a96d30ab11af0e | /tic_tac_toe.cpp | 9e25d56b219e376dee3d7aa58f00587971987db5 | [] | no_license | bezn777/tic_tac_toe | 979fc2da318a5d18553affbf2edde6466cb0fb81 | 169d5f7b740c3d7b160fffbddc0b7786739b3ed8 | refs/heads/master | 2022-10-08T19:34:02.718849 | 2020-06-09T08:48:36 | 2020-06-09T08:48:36 | 270,946,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,442 | cpp | #include <iostream>
using namespace std;
char matrix[3][3] = {{'1','2','3'},{'4','5','6'},{'7','8','9'}};
char player = 'Y';
int co;
void board(){
cout<< "Welcome to Tic Tae Toc"<< endl;
for(int i = 0; i < 3; i++){
for(int j = 0; j<3; j++){
cout<< matrix[i][j]<< " ";
}
cout<... | [
"62727049+bezn777@users.noreply.github.com"
] | 62727049+bezn777@users.noreply.github.com |
acd00f118bf7bfcfc57c20ef55dae580b3955739 | b4ccf56c2a05151f4e43724fdca4bd1820d26627 | /src/reco/shaperec/nn/NNShapeRecognizer.h | 592bda0e0ef111b062f7017018355a1b46c8ec99 | [
"MIT"
] | permissive | gotomypc/lipi-core-toolkit-3 | 40bde68c7a6213717fcb46e205cfe9aa91db18ff | 92fafada82eeb7b0cabafe15c0b88acf35eeb314 | refs/heads/master | 2020-12-25T01:06:33.619167 | 2014-05-07T08:30:56 | 2014-05-07T08:30:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,319 | h | /*****************************************************************************************
* Copyright (c) 2006 Hewlett-Packard Development Company, L.P.
* 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
... | [
"spablo@fceia.unr.edu.ar"
] | spablo@fceia.unr.edu.ar |
b1857856c58ca154b8aed6e680f4d7124d87b574 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-pinpoint/include/aws/pinpoint/model/TemplateVersionResponse.h | e5d6a4901d98faf23b5a0afb1470d66f51ed7ff6 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 17,462 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
90063f4f875f37e0400e32e8e7afaddaccaaa92e | 3502ae6bb53f1c136c8d71158b61d251c777cfc3 | /letter_counter.h | b661445020635a27630c53c0875f3338db61e391 | [] | no_license | gdbien/9508-Taller-de-Programacion-TP2 | 88f9435ad40bb0301308c0fd33e928b39808dd67 | fccf1278473de5dfb27b4ad3aa2bfd2951ddc44e | refs/heads/master | 2022-07-04T20:21:06.052481 | 2020-05-14T00:29:34 | 2020-05-14T00:29:34 | 263,412,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | h | #ifndef LETTER_COUNTER_H
#define LETTER_COUNTER_H
#include <string>
class LetterCounter {
public:
LetterCounter();
~LetterCounter();
static size_t count(const std::string &line, const int letter);
};
#endif // LETTER_COUNTER_H
| [
"fschischlo@fi.uba.ar"
] | fschischlo@fi.uba.ar |
17a68e946708ffc3f14579e6f7e4fa1badfce1cf | 974d04d2ea27b1bba1c01015a98112d2afb78fe5 | /paddle/cinn/poly/map.cc | c8c77e5e0fe4fe61e821bac0bd50f123c57edb56 | [
"Apache-2.0"
] | permissive | PaddlePaddle/Paddle | b3d2583119082c8e4b74331dacc4d39ed4d7cff0 | 22a11a60e0e3d10a3cf610077a3d9942a6f964cb | refs/heads/develop | 2023-08-17T21:27:30.568889 | 2023-08-17T12:38:22 | 2023-08-17T12:38:22 | 65,711,522 | 20,414 | 5,891 | Apache-2.0 | 2023-09-14T19:20:51 | 2016-08-15T06:59:08 | C++ | UTF-8 | C++ | false | false | 3,585 | cc | // Copyright (c) 2021 CINN Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | [
"noreply@github.com"
] | PaddlePaddle.noreply@github.com |
078bad82edb3ad52312a96a787b266c0204e2338 | f7603094503bb9630e2c149c8eea50c5fab734cc | /lslands/lslands/GraphMatrix.h | f9d05a438b248b36940a0ca9bce07a003def9ecc | [] | no_license | Chaomin702/leetcode | 529ba7a7e1ceb8eb94b3aa57c8577d8e994d7477 | 90c7ec9003f6202214679a487c2c9cdfeacfa318 | refs/heads/master | 2021-01-10T18:16:16.727884 | 2016-12-21T13:25:16 | 2016-12-21T13:25:16 | 48,849,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,123 | h | #pragma once
#include <vector>
#include "graph.h"
using std::vector;
template <typename Tv> struct Vertex{
Tv data;
int inDegree, outDegree;
VStatus status;
int dTime, fTime;
Vertex(const Tv& d = (Tv)0) :
data(d), inDegree(0), outDegree(0), status(UNDISCOVERED),
dTime(-1), fTime(-1){}
};
template <typename Te... | [
"chaomin702@gmail.com"
] | chaomin702@gmail.com |
1307313578631b5831953f5369f3dd7111b47109 | 88ae8695987ada722184307301e221e1ba3cc2fa | /chromeos/crosapi/cpp/crosapi_constants.h | 9ca13c666acbab5c579b841ab01765469703cdc0 | [
"BSD-3-Clause"
] | 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,170 | h | // Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_CROSAPI_CPP_CROSAPI_CONSTANTS_H_
#define CHROMEOS_CROSAPI_CPP_CROSAPI_CONSTANTS_H_
#include "base/component_export.h"
namespace crosapi {
COMPONENT_EXPORT(C... | [
"jengelh@inai.de"
] | jengelh@inai.de |
97311166d161c5595216a990f173de954877bddf | f86b387de6fcddf0155f1c49d4b053cd3d67831a | /26.cpp | 242e9199da0a88ed4664b8c9e62c1ebb23c3e418 | [] | no_license | JiayiLi/algorithm-practice | 935bae2a9f41f3f3da90e95234e4b11dd132d46b | 5298d8cc687cddb3f3d4afdf66b5c48465467b8a | refs/heads/master | 2021-06-19T04:52:11.062261 | 2017-05-12T06:32:41 | 2017-05-12T06:32:41 | 83,320,605 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 921 | cpp | // 26:含k个3的数
// 描述
// 输入二个正整数m 和 k,其中1 < m < 100000,1 < k <5 ,判断m 能否被19整除,且恰好含有k个3,如果满足条件,则输出YES,否则,输出NO。
// 例如,输入:
// 43833 3
// 满足条件,输出YES
// 如果输入
// 39331 3
// 尽管有3个3,但不能被19整除,也不满足条件,应输出NO
// 输入
// m 和 k 的值,空格间隔
// 输出
// 满足条件时输出 YES,不满足时输出 NO
// 样例输入
// 43833 3
// 样例输出
// YES
#include <iostream>
using namespa... | [
"jiayi_li10@163.com"
] | jiayi_li10@163.com |
5738a89814860162fb8a135a0369fac858721eb5 | b615e948c1417665b008f145ac507cbe41caca46 | /src/tsplugins/tsplugin_pcradjust.cpp | d5f5cb74eab30c21a9fa97d07bec69918ed555db | [
"BSD-2-Clause"
] | permissive | spnngl/tsduck | 41f260c009a3bed9c2babb996ce98473bb598c93 | ca411244bf7dfe741466762baf96e16a4a5867cc | refs/heads/master | 2021-06-27T16:03:42.093986 | 2021-03-21T11:57:20 | 2021-03-21T11:57:20 | 221,499,020 | 0 | 0 | BSD-2-Clause | 2019-11-13T16:04:42 | 2019-11-13T16:04:41 | null | UTF-8 | C++ | false | false | 20,800 | cpp | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2021, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
b6ab10f8379f79ed9965025351a37b7a0cd80544 | 069b6c1e4e5a445235f49417ade6e5c3f79bb58d | /branches/2.3x/windows/PropertiesDlg.h | 0ca25837fea6d1b9236e8f8efc950860bf472307 | [] | no_license | BackupTheBerlios/airdc-svn | 65a99494d5267ecb2ad96f21ead0299e7811131c | 17236498160afe8dc317bb75db374be8234eb541 | refs/heads/master | 2021-01-01T17:56:34.167869 | 2013-10-16T13:01:20 | 2013-10-16T13:01:20 | 40,718,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,684 | h | /*
* Copyright (C) 2001-2006 Jacek Sieka, arnetheduck on gmail point com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any ... | [
"maksis@d6773c42-f83c-be49-aa62-2d473f764b1f"
] | maksis@d6773c42-f83c-be49-aa62-2d473f764b1f |
3bdc2a01116c246ff13563aa45803545a4983bb5 | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-17265.cpp | e095d0bb045582deb0c745edc72b337c801e42bd | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,906 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1 : virtual... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
e8e72aacff7d162b56fb5270f3148b140efb58d9 | fc960376277eebc97604f67b3a6552136856ce8f | /sdk/inc/comip.h | 38750b0d45ad3a5983e128b45db68a9b05af58b6 | [] | no_license | KernelPanic-OpenSource/Win2K3_NT_public | c3a573fc62da9dec182f7fb55b1c74b5de4d35dd | 44221d017659d6050f490d4e4c749d2aca1899b4 | refs/heads/master | 2023-04-06T21:18:57.161168 | 2021-04-17T17:24:50 | 2021-04-17T17:24:50 | 357,780,552 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,003 | h | /***
* comip.h - Native C++ compiler COM support - COM interface pointers header
*
* Copyright (C) 1996-1999 Microsoft Corporation
* All rights reserved.
*
****/
#if _MSC_VER > 1000
#pragma once
#endif
#if !defined(_INC_COMIP)
#define _INC_COMIP
#include <ole2.h>
#include <malloc.h>
#include <comutil.h>
#if _MSC_V... | [
"polarisdp@gmail.com"
] | polarisdp@gmail.com |
0afec789680fa12a09129b31fd234394a48cc513 | 670deea1f78710223322c7014130c2b82f604d29 | /libenginator/src/Engine/Zylinder.cpp | eb2dc3e5df60379d8b03bf43ed45f586eb81001b | [] | no_license | hgfzs/enginator | 500a79dbb0d875dd987e28de24227455c6be78f4 | 99489ed27f30e54666e2057c934faa4ae9d04c3e | refs/heads/master | 2021-08-27T16:10:50.523583 | 2016-10-03T13:33:48 | 2016-10-03T13:33:48 | null | 0 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 1,734 | cpp | #include "Zylinder.h"
#include "Engine.h"
Zylinder::Zylinder(float hub, float bohrung, float verdichtung,float pleuel_l,float desachs,
float in_del, float ex_del, Engine* parent) : EnginePart(parent) {
this->hub = hub;
this->bohrung = bohrung;
this->verdichtung = verdichtung;
this->pleuel_l = pleu... | [
"daniel@b3a2f769-a7ff-4d38-93eb-04cb15c46fdf"
] | daniel@b3a2f769-a7ff-4d38-93eb-04cb15c46fdf |
42bb58acbce7655f2561bac6f5267d3a0632e7df | 6daa0c47f246bb23e24b9cede80407b82c5f420e | /cartas.cpp | cf2ceb7e071c19eb84f3ed325a7f08381624fa85 | [] | no_license | christenis98/Practica-tortugas-laser | b59943f572fda82ad1b9638e2230e133a88467fd | ac2ee8eb28058d12685a39eb7d5f168bd99bf56c | refs/heads/master | 2021-09-20T12:04:47.382695 | 2018-08-09T10:28:21 | 2018-08-09T10:28:21 | 144,137,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | #include <iostream>
#include <string>
#include <algorithm>
using namespace std;
#include "Cartas.h"
void crearVacia(tMazo & mazo) {
for (int i = 0; i < TAM_MAZO; i++) {
if (i < 18) {
mazo[i] = AVANZAR;
}else if (i >= 18 && i < 26) {
mazo[i] = GIRODERECHA;
}
else if (i >= 26 && i < 34) {
... | [
"noreply@github.com"
] | christenis98.noreply@github.com |
46a2c1f2b330dac9685d3465afd4517b59a070c8 | d10259a74a60d3e89c8cfc1a6b6c1c8c4ea96ae3 | /CU/CommonUtilities/ContainerIncludes.hpp | b451284633d4c779908bf4ccf60d45982f31234c | [] | no_license | Wlammm/CommonUtilities | 9986ab6ab0a8edd03f3328e93923e92c201a7a79 | 6dc257858057fd91e722ef89da0a0d3d936cc8fd | refs/heads/main | 2023-08-13T21:34:18.053611 | 2021-10-03T20:40:08 | 2021-10-03T20:40:08 | 404,131,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 157 | hpp | #pragma once
#include "GrowingArray.hpp"
#include "DoublyLinkedList.hpp"
#include "BSTSet.hpp"
#include "Heap.hpp"
#include "Queue.hpp"
#include "Stack.hpp" | [
"32479398+Wille2130@users.noreply.github.com"
] | 32479398+Wille2130@users.noreply.github.com |
3ba8b009aa52eedcceddce4b06f953ccf2495f8a | 913f237eccf6319c6d3e30151918d1aa958ef786 | /BT_Reader.ino | 9d64746e59c3455282c4b5cfc1ec657940eef3dd | [] | no_license | MilasBaumgarten/Vitalsensor | 1a06ce70ab4007eb73b18c54a26fcd63b560e542 | 100ee1edcdfabcd0505162b92289778bbc959f00 | refs/heads/master | 2022-01-23T01:05:56.575763 | 2019-07-24T11:39:40 | 2019-07-24T11:39:40 | 198,199,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,853 | ino | // EDA Tutorial: https://www.instructables.com/id/Arduino-Lie-Detector/
// ECG Tutorial: https://learn.sparkfun.com/tutorials/ad8232-heart-rate-monitor-hookup-guide/all
// SLAVE : 00:18:E4:40:00:06
#include <SoftwareSerial.h>
#include "Reader.h"
#include "Time.h"
#define RXPin 10
#define TXPin 11
#define SENSOR tru... | [
"milas.baumgarten@freenet.de"
] | milas.baumgarten@freenet.de |
4267fdda768cbf53eb2c0acb5145a3179e9fff2e | 7d16841e88ec70083562169eff6346ecca799820 | /AudioRenderFilter/AudioRenderFilter.cpp | 0ed8167345fff30d1e55d88cd7c78ee566ad9966 | [] | no_license | ldd1987/SSPlayer | 953712556a29f5e736a4025b3c860d296925dbbd | 05ed32df89ecb547cec412ed8f4859e046fc881b | refs/heads/master | 2021-06-16T10:37:11.763442 | 2021-04-01T10:38:20 | 2021-04-01T10:38:20 | 183,565,603 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,642 | cpp | #include "AudioRenderFilter.h"
#include "../Common/waveout_output_win.h"
AudioRenderFilter::AudioRenderFilter(std::string &name) : CSSFilter(name)
{
m_iSampleRate = 0;
m_iChannels = 0;
m_iBitsPerSample = 0;
m_stOutPutStream = NULL;
}
int AudioRenderFilter::InputData(CFrameSharePtr &frame)
{
if (eAud... | [
"lidengdeng@live.cn"
] | lidengdeng@live.cn |
a7cc16aba8700aed743bb70e6c4b321b16ea98ce | 2cb681e118e3f1e4b2b141372ae1c6914599b835 | /codeforces/1207D.cpp | bfe6722f9a634b0571a31b5ebf7ded8e0f1f889c | [] | no_license | jatinarora2702/Competitive-Coding | 1ad978a91122c920c839483e46812b5fb70a246e | a77f5d4f1737ca4e408ccf706128ba90ed664286 | refs/heads/master | 2021-01-11T20:11:34.791960 | 2020-12-31T00:21:06 | 2020-12-31T00:21:06 | 79,060,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,757 | cpp | #include <bits/stdc++.h>
#define N 300005
#define PB push_back
#define MP make_pair
#define FF first
#define SS second
using namespace std;
typedef long long int lli;
typedef pair < int, int > pii;
const int MOD = 998244353;
map < int, int > mp1, mp2;
map < pii, int > mp3;
vector < pii > v;
int add(int x, int y) {... | [
"jatinarora2702@gmail.com"
] | jatinarora2702@gmail.com |
10305b29a9966fc23670cc763a742a9e6b37c78c | ed972cfade9539c6d1632f53ce448f410fe1f7ab | /libraries/plugins/block_info/block_info_plugin.cpp | 48eaf3dc15811b785f55d7888638399c41a97ae8 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | horsecoin/surfd-master | 042e6a573800ecc726d773fdfdcdca895ef0ee17 | 7892fa91305f84322b96593555d759b21dcb0bc9 | refs/heads/master | 2020-05-02T02:30:08.648667 | 2019-03-27T06:51:04 | 2019-03-27T06:51:04 | 177,705,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,684 | cpp |
#include <surf/chain/database.hpp>
#include <surf/chain/global_property_object.hpp>
#include <surf/plugins/block_info/block_info.hpp>
#include <surf/plugins/block_info/block_info_api.hpp>
#include <surf/plugins/block_info/block_info_plugin.hpp>
#include <string>
namespace surf { namespace plugin { namespace block_i... | [
"nickmthompson@mail.com"
] | nickmthompson@mail.com |
9031aa9c440bfebffa3e412147289880830e2915 | 8448de53a91d6e2ac638290baf8e8cf6b2115322 | /easyMule/src/WorkLayer/WebServices.h | 29bedb339381cd12f738673b6d5668eb38bd4b97 | [] | no_license | tempbottle/archive-code | 0986e3e8dc689eedfb79adbbbbc51f6582f02d51 | 4a0b65fa026d868a018dddd14d5ed20e6c6044c6 | refs/heads/master | 2020-12-25T15:29:37.601713 | 2015-08-11T16:26:14 | 2015-08-11T16:26:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,826 | h | /*
* $Id: WebServices.h 4483 2008-01-02 09:19:06Z soarchin $
*
* this file is part of easyMule
* Copyright (C)2002-2008 VeryCD Dev Team ( strEmail.Format("%s@%s", "emuledev", "verycd.com") / http: * www.easymule.org )
*
* This program is free software; you can redistribute it and/or
* modify it under th... | [
"V.E.O@TOM.COM"
] | V.E.O@TOM.COM |
3d442888111b31c2bb0a535ccae1592ebbef4269 | 637c4892287929583bdadd8630d5353dd78dc82c | /vendor/cubelib/src/tools/tools/0050.Test/test_calls.h | 74e52f627242734ce1bb3aa0b9f8ecbb56c56b70 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | readex-eu/readex-scorep | 6819f074bba6b4fe9d6de07cf7037d2829cbbccf | 38d7b84145f229b44670656d59f84faa51007ced | refs/heads/master | 2020-03-27T01:04:12.730561 | 2018-08-22T14:42:37 | 2018-08-22T14:42:37 | 145,679,275 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,786 | h | /****************************************************************************
** CUBE http://www.scalasca.org/ **
*****************************************************************************
** Copyright (c) 1998-2017 **
** Fors... | [
"robert.schoene@tu-dresden.de"
] | robert.schoene@tu-dresden.de |
d6e7ff49ca423adc7f6be92441f836afc721cd69 | 59754c35c1421043a9325f8594009302b5b6f56c | /common/metadata/include/metadata/ranged_converter.h | 3ca06f68fae4c15836956602daf3f5fb660a1b39 | [
"Apache-2.0"
] | permissive | STMicroelectronics/hardware-peripheral-camera | a1d6b90dbe2662bdf91abea3dfa83967129c5da2 | 8f575f17886a38bbd348aa00b386d6623cf602c1 | refs/heads/master | 2023-08-25T08:56:38.030434 | 2021-06-01T06:44:12 | 2021-09-02T07:27:40 | 212,054,367 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,445 | h | /*
* Copyright (C) 2019 The Android Open Source Project
* Copyright (C) 2019 STMicroelectronics
*
* 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... | [
"jean-philippe.romain@st.com"
] | jean-philippe.romain@st.com |
930d82c11600eff6e77c2a080a6b8159fe1bd005 | 844969bd953d7300f02172c867725e27b518c08e | /SDK/BP_gmp_tal_enchanted_compass_ros_01_b_ItemDesc_functions.cpp | d91eee9dfc4b1df73997d6584cb2cef79350a1dc | [] | no_license | zanzo420/SoT-Python-Offset-Finder | 70037c37991a2df53fa671e3c8ce12c45fbf75a5 | d881877da08b5c5beaaca140f0ab768223b75d4d | refs/heads/main | 2023-07-18T17:25:01.596284 | 2021-09-09T12:31:51 | 2021-09-09T12:31:51 | 380,604,174 | 0 | 0 | null | 2021-06-26T22:07:04 | 2021-06-26T22:07:03 | null | UTF-8 | C++ | false | false | 596 | cpp | // Name: SoT, Version: 2.2.1.1
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------------... | [
"51171051+DougTheDruid@users.noreply.github.com"
] | 51171051+DougTheDruid@users.noreply.github.com |
c2282ed5f9dc4d0f602dbb9882217b5de7be1f99 | 7cd8fae5fa574edfda433e48566aebd34159087a | /src/core/virtual_input.hpp | 100a21fa523db4a17d48235a473da1ae63a85716 | [
"MIT"
] | permissive | cornernote/sidewinderd | ba850c3f16708ea65a2c2e6be3f87ccc2e2cddf0 | 8a2adffe10490ff9c0a6c2aa810b20959730a732 | refs/heads/master | 2020-12-06T00:19:16.141467 | 2020-01-08T02:22:20 | 2020-01-08T02:22:33 | 232,287,294 | 0 | 1 | NOASSERTION | 2020-01-07T09:14:51 | 2020-01-07T09:14:51 | null | UTF-8 | C++ | false | false | 958 | hpp | /**
* Copyright (c) 2014 - 2016 Tolga Cakir <tolga@cevel.net>
*
* This source file is part of Sidewinder daemon and is distributed under the
* MIT License. For more information, see LICENSE file.
*/
#ifndef VIRTUALINPUT_CLASS_H
#define VIRTUALINPUT_CLASS_H
#include <process.hpp>
#include <device_data.hpp>
#inclu... | [
"tolga@cevel.net"
] | tolga@cevel.net |
871b6548c08b0defd05a106b3ce88c577dd29084 | f6cecd4e3ca6f66ba36505173d959db53745036f | /ios/versioned-react-native/ABI44_0_0/ReactNative/ReactCommon/react/renderer/components/scrollview/ABI44_0_0ScrollViewShadowNode.cpp | 08a292d698d2be54e9db43209eacd39564f84cdc | [
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | Simek/expo | 6d3844eb75206c72c35b91c8f1752328aee99749 | 6f3c4a42304030fc2d2fbd213b07c1aac6785206 | refs/heads/main | 2023-02-05T11:30:58.908890 | 2022-07-19T10:03:07 | 2022-07-19T10:03:07 | 222,480,219 | 1 | 0 | MIT | 2022-08-18T08:43:17 | 2019-11-18T15:23:00 | Objective-C | UTF-8 | C++ | false | false | 1,252 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ABI44_0_0ScrollViewShadowNode.h"
#include <ABI44_0_0React/ABI44_0_0renderer/core/LayoutMetrics.h>
namespace ABI44_0_0fa... | [
"noreply@github.com"
] | Simek.noreply@github.com |
852ac627375a0dda1a644eb7d0ca110cfcdaa987 | 087061f4f49a912b0f0536096a630bf7ba9b5dea | /Hw10/ex2.cpp | 5d2fb017b3accaab4347001f429c1f368da6acdf | [] | no_license | JovanShandro/Algorithms-and-Data-Structures | bb7d14c87152081838895ddb9700b1cc4e602aa9 | 69fe282bedee370e3f3ecc84c33b05187257c004 | refs/heads/master | 2020-08-15T06:08:20.240608 | 2019-10-19T20:35:59 | 2019-10-19T20:35:59 | 215,291,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,994 | cpp | #include <bits/stdc++.h>
using namespace std;
//the matrix that will be used to store the numbers
int matrix[100][100];
void find_max_path(int m[100][100], int size, int& sum, vector<int>& path);
int main()
{
string str;
int nrlines = 0, sum, nr_per_line, h;
vector<int> path;
while(getline(cin, ... | [
"shandrojovan@gmail.com"
] | shandrojovan@gmail.com |
cacf967c7fd779734d014c5a310fe7da1e29bcb1 | d3fcfbaa0e200f49cefe4b77388292402e428eb3 | /Codeforces/1399/C. Boats Competition.cpp | 692f77f64bbfa83d8ae75355dc9d530f5e317b8c | [] | no_license | edge555/Online-Judge-Solves | c3136b19dc2243e9676b57132d4162c554acaefb | 452a85ea69d89a3691a04b5dfb7d95d1996b736d | refs/heads/master | 2023-08-22T03:23:11.263266 | 2023-08-21T07:22:33 | 2023-08-21T07:22:33 | 145,904,907 | 14 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,436 | cpp | #include <bits/stdc++.h>
using namespace std;
#define FAST ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
#define pf printf
#define sc scanf
#define sf(n) scanf("%d",&n)
#define sff(n1,n2) scanf("%d %d",&n1,&n2)
#define sfff(n1,n2,n3) scanf("%d %d %d",&n1,&n2,&n3)
#define sl(n) scanf("%lld",&n)
#define... | [
"2010.ahmed.shoaib@gmail.com"
] | 2010.ahmed.shoaib@gmail.com |
b72dad4e62d3dffd922e6eaa597cfb4ac1361b3f | 0b6dd6d38f3d9cf3a3f2e0d818a4c24423169cce | /UnionFind.cpp | b7bb5164c6f9bf25e0825dbee96cdfef783b30d8 | [] | no_license | pione30/Kyopro_Library | 4173764b5f7fa8b68be1de9a3e7f0e2fe7664938 | 1a88aefa7679bed04e46da45ed09b65cf4b4f28a | refs/heads/master | 2020-05-16T23:47:29.969819 | 2016-10-10T05:22:30 | 2016-10-10T05:22:30 | 32,634,329 | 0 | 0 | null | 2016-10-10T05:22:31 | 2015-03-21T14:05:51 | C++ | UTF-8 | C++ | false | false | 396 | cpp | vi par(N);
//木の根を求める
int find(int x){
if (par[x] == x) return x;
else return par[x] = find(par[x]); //経路圧縮
}
// xとyが同じグループに属するか否か
bool same(int x, int y){
return find(x) == find(y);
}
// xとyの属するグループを併合
void merge(int x, int y){
int px = find(x);
int py = find(y);
if (px == py) return;
par[px] = py;
}
| [
"g.pionelish30@gmail.com"
] | g.pionelish30@gmail.com |
7fb35bc26cd2eb977d626b0cbd43d85ac667ff50 | 36ae375e3664bcaa26d9d4b32cba0cac5d636901 | /src/Rand.cpp | 3615aa24ab2eedfdacddaca9166d9dc4a3f9b3d9 | [] | no_license | NingDaoguan/UQ | e12b09dea9a325659c26c0f8880ac0222d27fb29 | 92622bce19dfd53e87a17e376a0e00c8f2f8f8cb | refs/heads/master | 2020-04-09T02:53:14.699161 | 2016-06-30T22:06:07 | 2016-06-30T22:06:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include <Utility.H>
#include <cmath>
// ******************************************************
// Generate uniformly distributed random number
Real drand() {
//return (std::rand()+1.0)/(RAND_MAX+1.0);
return BoxLib::Random();
}
// Generate standard normal random number
Real randn(){
Real pi;
pi = 3.141... | [
"MSDay@lbl.gov"
] | MSDay@lbl.gov |
22d1143ba6a842b55c2ae8f560dd77573f57761d | 7e86eac9931d3102dcaa999391cb2c7889cb3253 | /Practica 5/src/Bigrama.cpp | 409534edfda261df111c417f1979f2ffebc4ea28 | [] | no_license | migue99angel/MP | abfe79e096e41d4222dcddaf529954842ad0d3ed | 3282f7e624e5c6376df2dbabc9c3fe951c1fcd07 | refs/heads/master | 2020-04-15T06:48:05.677025 | 2019-03-26T19:52:31 | 2019-03-26T19:52:31 | 164,473,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,527 | cpp | /**
* @file Bigrama.cpp
* @author DECSAI
*/
#include <cstring>
#include <iostream>
#include "Bigrama.h"
#include <string.h>
using namespace std;
Bigrama::Bigrama() {
_bigrama[0] = '\0';
_frecuencia = -1;
}
const char * Bigrama::getBigrama() const {
return _bigrama;
}
int Bigrama::getFrecuencia() co... | [
"posadasarraez@correo.ugr.es"
] | posadasarraez@correo.ugr.es |
d0243bf99b4545fd53f330021b0ec2c414d17da6 | 903767e9e1bd7ae4c273621f2787e8e93ed38553 | /Codeforces/Div2/675/C.cpp | feeabacebe4112047def5cf46c843a4e2a5a2d28 | [] | no_license | itohdak/Competitive_Programming | 609e6a9e17a4fa21b8f3f7fc9bbc13204d7f7ac4 | e14ab7a92813755d97a85be4ead68620753a6d4b | refs/heads/master | 2023-08-04T08:57:55.546063 | 2023-08-01T21:09:28 | 2023-08-01T21:09:28 | 304,704,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,511 | cpp | #include <bits/stdc++.h>
#include <print.hpp>
using namespace std;
#define ll long long
#define ld long double
#define REP(i,m,n) for(int i=(int)(m); i<(int)(n); i++)
#define rep(i,n) REP(i,0,n)
#define RREP(i,m,n) for(int i=(int)(m); i>=(int)(n); i--)
#define rrep(i,n) RREP(i,(n)-1,0)
#define all(v) v.begin(), v.end()... | [
"itohdak@gmail.com"
] | itohdak@gmail.com |
e3c5d966449f7c4d1c02e19b1c2062e62161aadd | bf76ebe02527b728313664a9f6dfdfe1411e6a81 | /infer/tests/codetoanalyze/cpp/pulse-17/closures.cpp | d5c028a4db3bd7c0f3e4a377e0c9920ece4fae5e | [
"MIT",
"GPL-1.0-or-later"
] | permissive | facebook/infer | 30d13fd15e1d1c333800369b9120ac14c1e0c9e5 | 80a888ee5c534a40d4a178e5da3eaa61a3334ad1 | refs/heads/main | 2023-08-31T11:34:35.419621 | 2023-08-31T08:56:41 | 2023-08-31T08:56:41 | 29,857,799 | 15,855 | 2,632 | MIT | 2023-08-24T09:51:53 | 2015-01-26T11:19:13 | OCaml | UTF-8 | C++ | false | false | 319 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
void generic_lambda_ok_FP() {
int x = 1;
[&](auto y) { x += y; }(3);
if (x != 4) {
int* p = nullptr;
*p = 42;
}
}
| [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
0abca82c61024bae819f86ee7da0f126f4072da2 | 325802f64a2eef46af4db2351efbb9ca08922db6 | /AlgorithmsOnDirectedGraphs/tests.h | fa0b735458e9d59e9b3056c3b988a1e33fcd9b7b | [] | no_license | 3DGISKing/DesktopAppSamples | 536905ec33b7f196560678bf1940fae4788b80c4 | 5926c001ba3c44b206ed4bed17b15e92ca53e1c6 | refs/heads/master | 2023-03-01T11:59:16.107999 | 2021-02-07T10:03:53 | 2021-02-07T10:03:53 | 336,226,357 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,226 | h | #define CXXTEST_HAVE_EH
#define CXXTEST_ABORT_TEST_ON_FAIL
#include <cxxtest/TestSuite.h>
#include <iostream>
#include <vector>
#include <string>
#include <cstdlib>
#include <sstream>
#include <ctime>
#include <unordered_set>
#include "directed_graph.hpp"
#include "directed_graph_algorithms.cpp"
template <typename T>... | [
"wugis1219@gmail.com"
] | wugis1219@gmail.com |
d66d948fb629c04e4a72bb09be7cd22628cd2b8d | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/components/metrics/file_metrics_provider.cc | 78fb90a1211c5f6b4e69330517e4197aef496c58 | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,798 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/metrics/file_metrics_provider.h"
#include "base/command_line.h"
#include "base/files/file.h"
#include "base/files/file_util.h"
#incl... | [
"dummas@163.com"
] | dummas@163.com |
e2df60d84c2f4c4439a94ee127402a1b7a6694f9 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /tweenr/inst/testfiles/colour_fill_interpolator/colour_fill_interpolator_DeepState_TestHarness.cpp | 8f6230e6f4b0db5e1a6c578ef5b8a47b8361cf13 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,261 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// colour_fill_interpolator_DeepState_TestHarness_generation.cpp and colour_fill_interpolator_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#inc... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
b64a4aec767ba3eefb98ded429f194309c564bb0 | 31b22a60e6950434e357fc05ef7961f8c05648d2 | /examples/TreeNavigationBar/ui_treenavigationbartest.h | 4c10fcc067467e33a2e954c43bb8cb571b827457 | [] | no_license | KuaiXiaoDou/QtCustomWidgets | 30b0f2229f44958d13411f1690a9353ee8cd1f42 | 6666bebea50210f2ed46a96b5e6e69fc3a3ac487 | refs/heads/master | 2022-09-12T17:35:02.894334 | 2022-08-24T05:45:58 | 2022-08-24T05:45:58 | 205,616,808 | 1 | 0 | null | 2019-09-01T01:53:54 | 2019-09-01T01:53:54 | null | UTF-8 | C++ | false | false | 1,482 | h | /********************************************************************************
** Form generated from reading UI file 'treenavigationbartest.ui'
**
** Created by: Qt User Interface Compiler version 5.7.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***********************... | [
"lymsc2008@gmail.com"
] | lymsc2008@gmail.com |
9fc0c74823cd83607c4218f0fc175f82efd522ad | 42847bcb659a30023c27d2f110b819fc884e8f07 | /melko/LADDERS/random_init_state/ladder_rand.cpp | 11b98c6fab32f16e2a76337dcf1449cca60c71b0 | [] | no_license | rgmelko/VB_qmc | 9f57ae74bb125e35e6c76848bdf915005f25a13f | c563552db9c67aebce1f1403dde92f0990526c2d | refs/heads/master | 2020-04-14T18:04:49.566157 | 2019-01-03T20:14:06 | 2019-01-03T20:14:06 | 89,246,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,760 | cpp | //hopefully i'll be able to measure the vbEE of a ladder with OBC and
//an arbitrary number of legs
#include<iomanip>
#include"header.h"
#include"ladder_header_rand.h" //my ladder class
using namespace std;
int main()
{
string initstatefile, entfilename, enerfilename, bondopfile;
int legs, length; // system di... | [
"1702504+akallin@users.noreply.github.com"
] | 1702504+akallin@users.noreply.github.com |
ff369011994ea5da045df85320ce175dc1f0a8e3 | 11b9c0c3d66eb105fac37e369017ecbf3579e767 | /util.hpp | f209a65eb3e2c26c82d8b1cb17343b2568419f44 | [
"Apache-2.0"
] | permissive | yingfeng/partitioned_elias_fano | 2814779cbe227592249dc711d9b3ef71b89bef0d | 5319c48a00da5b093d38b5f3c28116266759f44c | refs/heads/master | 2020-12-03T09:29:04.027848 | 2016-06-22T08:02:50 | 2016-06-22T08:02:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,490 | hpp | #pragma once
#include <iostream>
#include<fstream>
#include <cmath>
#include <vector>
#include <iomanip>
#include <locale>
#include <sys/time.h>
#include <sys/resource.h>
#include "succinct/broadword.hpp"
#define QS_LIKELY(x) __builtin_expect(!!(x), 1)
#define QS_UNLIKELY(x) __builtin_expect(!!(x), 0)
... | [
"noreply@github.com"
] | yingfeng.noreply@github.com |
c0c99ef70b5232b9c3f3c9d4d594373894bec0d8 | d8a58ccd393d9bc0a8a3fa4ca29b12564bcb349a | /BinarySetShift.cpp | 9e0374dd904a89d5299143282601a4afea28db35 | [] | no_license | mukeshdewangan/ExperimentPrograms | 8e1dff4b080c6eea5b3bcf31caef2d889f9478b8 | 143cfec81ee371580d0304dcf22dc8852d3e0982 | refs/heads/master | 2016-09-06T14:45:37.048677 | 2015-05-05T02:12:29 | 2015-05-05T02:12:29 | 35,049,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | #include <stdio.h>
#include <string.h>
#include <malloc.h>
int power(int base , int expo)
{
int result=1;
while(expo>0)
{
result=result*base ;
expo--;
}
return result;
}
//Create the Bool Array Digit denotes the Binary representation of
void BoolArray(bool *Digit ,unsigned int dig,unsigned int num... | [
"mukeshdewangan89@gmail.com"
] | mukeshdewangan89@gmail.com |
d5720656a2b6affc774f906a422624c6e84a63c1 | 8776e5e32be27c16c7f8cd2a9a4259b6fb7a012b | /im_client/OleLinkInfo/stdafx.cpp | 68cab7f7ef43f5c501037646f6588fea7bd5e622 | [] | no_license | 736229999/im | 970b9754da2e15fd5cdaaed6ba189e7c497e15e3 | dc00c52e77a99fae28df9dba8366e31b578a7831 | refs/heads/master | 2021-01-15T11:11:56.737294 | 2017-06-14T07:56:44 | 2017-06-14T07:56:44 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 170 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// OleLinkInfo.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
| [
"duy1102002@gmail.com"
] | duy1102002@gmail.com |
6146b9cef55e157b1e072435ea27b28bd26cc0c3 | 6b915f19da209989a8ff92ee5960c9e1eb193bc8 | /PrintStatement.h | ba1a8778f3f6650867cc4dfaa26038e27a6cd078 | [
"Zlib"
] | permissive | jimtahu/LangS | a17a336ec391c81f079da96249eb7987592d4ffa | 7c81c87a07f6c0e7bc47018b979a3023554a0fc0 | refs/heads/master | 2020-05-31T05:32:49.261460 | 2016-06-21T03:17:34 | 2016-06-21T03:17:34 | 9,678,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | h | /*
* PrintStatement.h
*
* Created on: Apr 26, 2013
* Author: jimtahu
*/
#ifndef PRINTSTATEMENT_H_
#define PRINTSTATEMENT_H_
#include "Statement.h"
#include "Value.h"
namespace ParseTree {
class PrintStatement: public ParseTree::Statement {
private:
Value *value;
public:
PrintStatement(Value *output);
... | [
"jimtahu@gmail.com"
] | jimtahu@gmail.com |
f5ea7a96ad7f79ed130358c03bfb0557e78432e5 | 8db5fb1c1cd4fd0c589614a978d4f762ab3595e4 | /llvm/lib/Target/Patmos/SinglePath/Linearizer.h | b47d9308ec9db2c887db4d3ae0a79c8dfcf111b0 | [
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | t-crest/patmos-llvm-project | fd361f5993c1309f701780fffd6e3789126e369d | 82eb73bff7336674027afecb254f1e3ebd1c23c2 | refs/heads/master | 2023-07-07T06:54:36.803571 | 2023-06-14T11:28:10 | 2023-06-15T12:57:34 | 367,077,133 | 0 | 3 | null | 2022-03-18T10:20:42 | 2021-05-13T14:37:12 | null | UTF-8 | C++ | false | false | 1,313 | h |
#ifndef TARGET_PATMOS_SINGLEPATH_LINEARIZER_H_
#define TARGET_PATMOS_SINGLEPATH_LINEARIZER_H_
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "PatmosSubtarget.h"
#include "PatmosSinglePathInfo.h"
#include "PatmosMachineFunctionInfo.h"
namespace llvm {
class Linearizer : public MachineFunctionPass... | [
"emoun.open@gmail.com"
] | emoun.open@gmail.com |
687661895d984b21967962a4940fa912d2e1c652 | c5820543820c9841adc754061df21f4e37faa4c4 | /roy_and_trains.cpp | 4d89cd6a3826a5ba2642da76b2174b99aac6467c | [] | no_license | prateek-js/Hacker-Earth-Problems-Solutions | 1198bab8a906f7b307ad9797659f491c9f63206e | 7281733750f4b8154dd21a8a5591c4af1e28570a | refs/heads/master | 2022-07-07T04:54:36.569548 | 2014-06-28T19:21:17 | 2014-06-28T19:21:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int tc=0;
cin>>tc;
while(tc-->0)
{
float t0=0,t1=0,t2=0,v1=0,v2=0,d=0;
cin>>t0>>t1>>t2>>v1>>v2>>d;
int total1=0,total2=0;
float temp1=0;
int temp2=0;
temp1=d/v1;
temp1=temp1*60;
temp2=temp1;
if(temp1>temp2)
temp2++;
total1=t1+temp2;
... | [
"udit.kumawat@gmail.com"
] | udit.kumawat@gmail.com |
9ff58bb3298b171a230da91db6333cd6b6fc2c37 | a30d09985c3bbe308db025eb5358f375e9906e69 | /docs/ros_cyton_installNew/catkinWS/src/ros_cyton_pkg/include/manipulation/ecPathAction.h | 3fbae2c6d7e2c5479cb05f69afa346399da125f8 | [] | no_license | shelderzhang/ros_cyton_gamma | d86bb61bb6796aa8c49d61031fe23065d2bbb80d | fbadcc333518ea0522368be9bdb3e36d0c828dbf | refs/heads/master | 2021-01-18T10:21:13.524783 | 2014-09-05T21:04:16 | 2014-09-05T21:04:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,185 | h | #ifndef ecPathAction_H_
#define ecPathAction_H_
//------------------------------------------------------------------------------
// Copyright (c) 2002-2013 Energid Technologies. All rights reserved.
//
/// @file ecPathAction.h
/// @class EcPathAction
/// @brief This represents a path
//
//------------------------------... | [
"willcbaker@gmail.com"
] | willcbaker@gmail.com |
423fd964e164750c7853d6d842df1863b6f32f72 | 921fc585cf867536730049874c97adddbaf4626e | /application/common/signature_types.h | c26d4f935bbd13789548a0fdea7a8ae2d4ad0d81 | [
"BSD-3-Clause"
] | permissive | qjia7/crosswalk | 2882d2e0aedbe6e934dc430eaeaaf614210cbe95 | e42d0aa40fed0a32d406041a6a29fbe9ad30ca99 | refs/heads/master | 2021-01-22T14:46:57.408735 | 2014-08-19T20:48:26 | 2014-08-19T20:48:26 | 16,165,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | h | // Copyright (c) 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef XWALK_APPLICATION_COMMON_SIGNATURE_TYPES_H_
#define XWALK_APPLICATION_COMMON_SIGNATURE_TYPES_H_
#include <map>
#include <string>
namespace xwal... | [
"xu.u.zhang@intel.com"
] | xu.u.zhang@intel.com |
967029a2b51709503ea919a7a9d20fdd8b8b2adf | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_6023.cpp | 38d77f334355da6158b642bb1248db22d50c3340 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | cpp | fprintf(fp, "}\n\n");
}
-static int defined(char *name)
+static int
+defined(char *name)
{
- int i=0;
- if (!name)
- return 1;
- for(i=0;strcmp(defines[i].name, name) != 0; i++) {
- assert(defines[i].name);
- }
- return defines[i].defined;
+ int i = 0;
+ if (!name)
+ return 1;
+ for (i = 0; st... | [
"993273596@qq.com"
] | 993273596@qq.com |
849cd51e2cd26a9e619e54b6d846bf5e3e6217aa | 919cfc1b72affe8fa8bd87f9dfe2023d8051e7dd | /Interpret.cpp | a33861ad4b13a3cae8bfc6605edfcfe73b4341fb | [] | no_license | PiJoules/short-interpretter | 38ef37ccc2da33e4de307a6c186b506bdbb5ea19 | 8bbc01feed76ef2e4dcdcde6f4057636efae106b | refs/heads/master | 2020-04-26T12:32:28.293391 | 2019-03-06T05:16:05 | 2019-03-06T05:16:05 | 173,553,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,062 | cpp | #include <unordered_map>
#include "Interpret.h"
namespace lang {
TypeKind IntType::Kind = TYPE_INT;
TypeKind StrType::Kind = TYPE_STR;
TypeKind FuncType::Kind = TYPE_FUNC;
namespace {
unique<Type> MakeBinaryIntFuncType() {
std::vector<unique<Type>> arg_types;
arg_types.push_back(std::make_unique<IntType>());
... | [
"leonardchan@google.com"
] | leonardchan@google.com |
168e43ea90c8d0ee3b7dbc554650a01d57bb073a | a03d0951df62e64a366c28937d53979e66063082 | /playground/vulkan/logic/tennis.cfg.cc | 9807efc01cef0a285544a5a45507f96a9c8eedec | [
"MIT"
] | permissive | ans-hub/gdm_framework | d2c305e7d7525ca07c9fb35ad710b62cb5ff6574 | 4218bb658d542df2c0568c4d3aac813cd1f18e1b | refs/heads/main | 2023-04-15T08:33:57.898990 | 2021-04-29T07:17:10 | 2021-04-29T07:17:10 | 308,458,609 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,770 | cc | // *************************************************************
// File: tennis.cfg.cc
// Author: Novoselov Anton @ 2020
// URL: https://github.com/ans-hub/gdm_framework
// *************************************************************
#include <string>
#include <vector>
#include <unordered_map>
#include <fac... | [
"ans.novoselov@gmail.com"
] | ans.novoselov@gmail.com |
cd29e67bdaba6c2c5bc63508520f76dff5099edb | 99038ddca74c58511f7ca0c5df42fe7803175d48 | /cpp/Maximum Possible Sum of Products.cpp | fcd8e3d2c21028c24873f85bc583ae3a37fdcb19 | [] | no_license | agrawal-prateek/GeeksForGeeks | ba5ecad3244b7ce31e8cf4514d473169569e3188 | 7d62787f8e9b92218608107b947841e5b1c72dd9 | refs/heads/master | 2020-09-23T01:00:50.014385 | 2019-12-08T17:53:14 | 2019-12-08T17:53:14 | 225,360,773 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,575 | cpp | /*
You will be given two arrays A and B of positive integers. The number of values
in both the arrays will be the same say N. Your task is to find the maximum sum
of products of their elements. Each element in A has to be multiplied with
exactly one element in B and vice versa such that each element of both the
arr... | [
"prateekagrawal89760@gmail.com"
] | prateekagrawal89760@gmail.com |
9e962300e1857fe69b3bebe965c71f1d304e15f5 | 8d88dc1f023253d1b45fab98add69f405ca01a4e | /llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp | 2689212795ec7a3552fb4bbe98eca33ba218ab4d | [
"NCSA",
"LLVM-exception",
"Apache-2.0",
"MIT"
] | permissive | jhuber6/cgo2022-artifacts | e3a5feeb048bcbd6b3cb6586a27b3b1065cb7a70 | ecc085f8b26bd5e0491c6e22c7714df9c4ac506c | refs/heads/master | 2023-04-09T08:12:47.814166 | 2021-12-29T17:52:14 | 2021-12-29T17:52:14 | 428,824,058 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,134,136 | cpp | //===-- X86ISelLowering.cpp - X86 DAG Lowering Implementation -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"jhuber6@vols.utk.edu"
] | jhuber6@vols.utk.edu |
162508f6089c795805e34a9b098d38b69817167a | fa2875609dba746cffcdae24a1b192ba118a7323 | /BFS.cpp | f72fde458bae564ceac6ea466b87ea3cc5a67ee1 | [] | no_license | arunhc/DAA | a84959ef8e0d6aace7f9b48cd4db95808912745a | d588817a159a0a2ff09ee20a2aae71109d6f4bbd | refs/heads/master | 2020-05-23T05:43:18.252815 | 2019-05-28T03:47:22 | 2019-05-28T03:47:22 | 186,653,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | #include<iostream>
#include<conio.h>
#include<stdlib.h>
using namespace std;
int cost[10][10],i,j,k,n,qu[10],front,rare,v,visit[10],visited[10];
main()
{
int m;
cout <<"enterno of vertices";
cin >> n;
cout <<"ente no of edges";
cin >> m;
cout <<"\nEDGES \n";
for(k=1;k<=m;k++)
{
cin >>i>>j;
cost[i][j]=1;
}
cout <<"ent... | [
"noreply@github.com"
] | arunhc.noreply@github.com |
2d367a1f5a9296ceba5f9920495c4f113e98b25b | ecd7633fa730b694df1d842b783b4c578c3e1c1c | /src/system/terms/term_i.h | 234a1e5b6c65edcc34fba8662d30e3337ff254ff | [
"MIT"
] | permissive | SlaybaughLab/BART | 522d5f131620570f8fc6e6251b6e58db1ea36ea3 | 8eb32cb8ae50c92875526a7540350ef9a85bc050 | refs/heads/dev | 2021-07-06T06:41:02.917998 | 2021-05-19T18:28:29 | 2021-05-19T18:28:29 | 95,724,253 | 22 | 13 | MIT | 2021-05-19T18:28:30 | 2017-06-29T00:57:24 | C++ | UTF-8 | C++ | false | false | 3,779 | h | #ifndef BART_SRC_DATA_SYSTEM_TERM_I_H_
#define BART_SRC_DATA_SYSTEM_TERM_I_H_
#include <unordered_set>
#include "system/terms/term_types.h"
#include "system/system_types.h"
namespace bart {
namespace system {
namespace terms {
template <typename TermPair>
class TermI {
public:
using StorageType = typename Term... | [
"jsrehak@gmail.com"
] | jsrehak@gmail.com |
aedc94263efe73a39d551d6fc4b4035fcaec50aa | 8fb8920cfab06a8f12f76813e5da48f02182e046 | /painter/painter/INodeInformation.cpp | aeb5afc6781e35c0e23df42340a87bdc1fde0ad9 | [] | no_license | Jacky1207/graphics | 0da3846372616c3e179781e1b4fb687964ce6813 | 662f7f6ede15311cca27cb8c7607386a665c6c29 | refs/heads/master | 2020-03-08T01:39:28.719058 | 2018-04-10T05:55:11 | 2018-04-10T05:55:11 | 127,836,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,901 | cpp | #include "INodeInformation.h"
#include "math.h"
#include <QDebug>
#include <QtMath>
INodeInformation::INodeInformation(INodeInformation *parent):
_parent(parent)
{
_index = 0;
}
INodeInformation::INodeInformation(const QString str, INodeInformation *parent):
_parent(parent), _node_text(str)
{
_index ... | [
"Jacky1207@users.noreply.github.com"
] | Jacky1207@users.noreply.github.com |
2ddee2a985d0bf430fdb4ce8bf85dcfdf6f408d3 | 15f9a16aae100f56f81e86cce34c2cf939cea2a1 | /src/rpcmining.cpp | cf5ad96073c3dde82b97766426a5e10a529d67b5 | [
"MIT"
] | permissive | cryptoghass/21coin | e491a235a1cbd3ee2228f1ca7c88d32772a798dd | b4b7cd9db668c47d0a5ec32ce70bfbf8626c59f6 | refs/heads/master | 2020-04-05T16:29:12.528651 | 2014-01-25T23:02:20 | 2014-01-25T23:02:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,085 | 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 "chainparams.h"
#include "db.h"
#include "init.h"
#include "bitcoinrpc.h"
usi... | [
"carlos@carlos-VirtualBox.(none)"
] | carlos@carlos-VirtualBox.(none) |
6d149b4041b6dfce7b1a8a88fa85c6ac5c656df8 | f28fb63b8835fc54a033237774571fb452f29d5c | /src/PixMap.cpp | 86a0d8844c9e5fb4628b0309429d0ee0eed7c5ea | [] | no_license | FBergeron/tomotko-zaurus | 718a6374ac9b204b04fcaea9fc13f1d32baa32fe | ea94276e177be2ef988fc73f205432b7983b5292 | refs/heads/master | 2021-01-19T00:15:10.664542 | 2010-03-13T04:17:57 | 2010-03-13T04:17:57 | 731,418 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | #include <qapplication.h>
#include <qimage.h>
#include <qpixmap.h>
int small_display_cache = -1;
int small_display_p () {
if( small_display_cache < 0 ) {
QWidget *d = QApplication::desktop();
small_display_cache = ( d->width() * d->height() < 100000 );
}
return small_display_cache;
}
QPix... | [
"fbergeron@users.sourceforge.net"
] | fbergeron@users.sourceforge.net |
9ce84b2278bde43041d84255ab68e150be145c5f | fb2f856ff3bda433c85dae84370c48c25a642cc8 | /learning_julia/shared.cpp | 90bdf64e47317c60bd0d4f5771d246c34846ef8f | [] | no_license | shaguniitb/brown_sample_codes | a9809c539641b9d31bc78e69024fa0e2f6e5d772 | a9bf9b6471175e950260e7567924abc23709cb23 | refs/heads/master | 2020-12-30T09:57:54.929567 | 2013-05-24T14:53:59 | 2013-05-24T14:53:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | #include "shared.h"
unsigned int testfn2(unsigned int a, unsigned int b)
{
printf("in testfn2\n");
return a + b;
}
unsigned int testfn(unsigned int a)
{
printf("in testfn\n");
return a;
}
int main2()
{
printf("in main2\n");
return 0;
}
int main()
{
printf("in main\n");
return 0;
}
| [
"shaguniitb@gmail.com"
] | shaguniitb@gmail.com |
fcfbc565f0381ebab721f1b95fc6a5ddcbb735c5 | 7762b4f5086a76d6240c0d199a185c2ee4ee635f | /abc112/b/main.cpp | e8ec8f3ed5d2b1597a4e407649e0d93955cae2cd | [] | no_license | yuk1h1ra/AtCoder | 5c281dcb4a6a9af3831c63244b25c0db35184f61 | 3f866ec9e31051757c3780c054744f4335e6c2d8 | refs/heads/master | 2020-05-30T06:52:13.400593 | 2019-11-16T14:47:02 | 2019-11-16T14:47:02 | 111,213,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define debug(a) cout << #a << ": " << a << endl;
int main() {
int N, T; cin >> N >> T;
int minC = 10000;
rep(i, N) {
int c, t; cin >> c >> t;
if (t > T) continue;
minC = min(min... | [
"koheishoji913@gmail.com"
] | koheishoji913@gmail.com |
dec90322051e5e58b6a964d375ace8c5db8770a4 | c58fde2433222a98786bc3a389d69e42b6beb2e0 | /Base Code-2021/include/robot-config.h | 6726fcd0180f8548433ca91d62d05c1cab2e3473 | [
"MIT"
] | permissive | Tronface378/auton-selecor | 5608f33f9c450588adae6dde6482b3154ff4fe5c | 2fe07161220c67d7316e8c3d54c8ba157c5b39eb | refs/heads/main | 2023-08-27T17:19:08.199855 | 2021-10-09T17:46:03 | 2021-10-09T17:46:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 942 | h | using namespace vex;
//these are include guards, they make sure you dont have an infinitely large file
#ifndef H_ROBOT_CONFIGFILE
#define H_ROBOT_CONFIGFILE
//it doesn't matter how you set up the define because you can call them anything
// this is just how I prefer to name them
//if you were to put "#include driver... | [
"50177879+Tronface378@users.noreply.github.com"
] | 50177879+Tronface378@users.noreply.github.com |
def028457c2ef94698b4c54d882c1ea3c6a30489 | b8dd4bf9606dbffbb25961680f4e4587e14f354a | /libeYs3D_linux/include/base/threads/ThreadStore.h | dd3bfa2c50ed4a7bad9d10087039ffd199283d42 | [] | no_license | eYs3D/eys3d_opencv_wrapper | af263781c4b56b5e60eb37d18e747a2b0a986667 | c2894b4a74476728369f830d0d9d0fc4a5997915 | refs/heads/master | 2023-07-15T08:17:06.844750 | 2021-08-26T06:06:12 | 2021-08-26T06:06:12 | 369,095,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,982 | h | // Copyright (C) 2014 The Android Open Source Project
//
// 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 ... | [
"Terry.Lo@eys3d.com"
] | Terry.Lo@eys3d.com |
bdd957154e2e46fdacd2e3088fc56d0169fc406b | 562ab825e0891a7b5720d03b4b9f08f863e73f93 | /006/Timber/Timber/Timber.cpp | 99d155b0a897ab499248faff90a4d58c0f575b1e | [] | no_license | roundbananas/100-days-of-code | 7f12d50f1ed25a1e60995100f971554fc38ea9ab | 9da41158a098c8af91eecea68564002d419abe34 | refs/heads/master | 2020-03-26T01:08:27.342357 | 2019-06-24T12:38:39 | 2019-06-24T12:38:39 | 144,353,666 | 1 | 0 | null | 2018-08-11T03:55:43 | 2018-08-11T03:55:42 | null | UTF-8 | C++ | false | false | 24,882 | cpp | //
// Timber.cpp
// Timber
//
// Created by Carl Turner on 18/8/18.
// Following tutorial from https://www.udemy.com/learning-path-c-game-programming/
//
//#include <stdio.h> //was included by default when creating new cpp file
#include <SFML/Audio.hpp>
#include <sstream>
#include <SFML/Graphics.hpp>
#include <SFM... | [
"noreply@github.com"
] | roundbananas.noreply@github.com |
cbd0f11e6d0f1a36b7593244cf91547c564f183a | 5d0463f2ab3878258382e48c03799e3100899b75 | /AL 문제/SW/SW/부분수열의 합[1182](1).cpp | e42926326557a1743d7eb806c95d833a7027beab | [] | no_license | yjkwon07/Algorithm-study | b0bec47c404415baaf2d1edab7a278080da1e0ef | 4e95a568edfeae2fad4bb349625eeaf9c71ab45d | refs/heads/master | 2022-02-19T02:01:12.005794 | 2019-08-04T07:01:52 | 2019-08-04T07:01:52 | 148,448,931 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 934 | cpp | #include<iostream>
#include<vector>
using namespace std;
/*
부분수열의 합
https://www.acmicpc.net/problem/1182
서로 다른 N개의 정수로 이루어진 집합이 있을 때,
이 집합의 공집합이 아닌 부분집합 중에서
그집합의 원소를 다 더한값이 S가 되는 경우의 수를 구하는 문제
1 <= N <= 20
go(index, sum)
index: 부분집합에 포함할지 말지 결정해야 하는 인덱스
sum: 현재까지 부분집합의 합
*/
int go(vector<int> & a, int index... | [
"dudwns9073@nate.com"
] | dudwns9073@nate.com |
4112b3d5125f6a9025c6e97964fd2578c0499ca2 | 1440d1eda60d913c300ac58c532ad0aab86f6c27 | /Source/CPP_FLY/Private/MyEngine/MyGameInstance.h | 5106823726ae912334846dcf1cb5ee145341bcd1 | [] | no_license | AlexeyOgurtsov/UE4CppFly | 7584767b478be89681312468c0e077ae45c6ec5c | 87ccacb9e7d405cef9b207de483bc4708ad12cce | refs/heads/master | 2021-07-18T10:19:29.095797 | 2020-07-15T12:43:31 | 2020-07-15T12:43:31 | 190,428,758 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | h | #pragma once
#include "MyGameInstanceBase.h"
#include "MyGameInstance.generated.h"
UCLASS()
class UMyGameInstance : public UMyGameInstanceBase
{
GENERATED_BODY()
public:
UMyGameInstance();
}; | [
"alexey_eng@mail.ru"
] | alexey_eng@mail.ru |
3770e2f1406ef07d80f6c460cc10cea9e8218924 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/241/790/CWE762_Mismatched_Memory_Management_Routines__delete_array_char_realloc_12.cpp | c08e051663bae8ba167a5128f29c014dccfdb201 | [] | 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 | 4,337 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_char_realloc_12.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-12.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
19eb7902aef4a00623858053e8288136ea75b5b6 | 213f8d9a847a3a1d4bfd854e077690911321bb6d | /BasicLoop/BasicLoop.ino | b1829c22fe30a798a1565f8ea50dffc892a00dc7 | [] | no_license | ajpahl1008/aardvark | 22b927e02f29d16fe7aa7b89508148b7fe87b000 | 0f2d1c6c74facfebaee6465445e788d76a04b9a5 | refs/heads/master | 2021-01-10T14:53:39.996305 | 2016-11-29T22:12:24 | 2016-11-29T22:12:24 | 52,924,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 168 | ino |
int ledPin = 13;
void setup() {
pinMode(ledPin, OUTPUT);
}
void loop() {
digitalWrite(ledPin,HIGH);
delay(1000);
digitalWrite(ledPin,LOW);
delay(1000);
}
| [
"aj@AJ-MacBook-Pro.local"
] | aj@AJ-MacBook-Pro.local |
16b64b797e015dcca5066f4529bdeeb04ee8f2aa | 97aab27d4410969e589ae408b2724d0faa5039e2 | /SDK/EXES/INSTALL VISUAL 6 SDK/LEGACY/MSDN/SMPL/SMPL/MSDN/techart/2885/mainfrm.cpp | 91ac088ec3c5c11d47b9f47cc5314097af1e54cd | [] | no_license | FutureWang123/dreamcast-docs | 82e4226cb1915f8772418373d5cb517713f858e2 | 58027aeb669a80aa783a6d2cdcd2d161fd50d359 | refs/heads/master | 2021-10-26T00:04:25.414629 | 2018-08-10T21:20:37 | 2018-08-10T21:20:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,841 | cpp | // mainfrm.cpp : implementation of the CMainFrame class
//
#include "stdafx.h"
#include "mfcprop.h"
#include "mainfrm.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMainFrame
IMPLEMENT_DYNCREA... | [
"david.koch@9online.fr"
] | david.koch@9online.fr |
c5418b22c991cb768ebcb5d6b3a7551e32b18d68 | e77ce9f3a81804e1a36d70938e8b4737b532fe11 | /07/stack3.cc | 558928619b389cf11ad5d3be522de62cf630c6b6 | [] | no_license | lchorbadjiev/teach2015-2016 | 0119459ec1c85f686a1309995cf9f30ba19833f4 | bd81b151bc7d6ad933ef12ab57edcdfd98934cbc | refs/heads/master | 2021-01-10T09:18:42.559720 | 2016-04-26T11:22:27 | 2016-04-26T11:22:27 | 42,986,962 | 4 | 15 | null | 2016-04-12T19:07:03 | 2015-09-23T08:01:28 | PostScript | UTF-8 | C++ | false | false | 1,193 | cc | #include <iostream>
using namespace std;
#define STACK_SIZE 10
class StackError {
int status_;
public:
StackError(int status) {
status_ = status;
}
int get_status() {
return status_;
}
};
class Stack {
int data_[STACK_SIZE];
int top_;
public:
Stack() {
top_ = 0;
}
bool is_empty() {
return top_ ... | [
"lchorbadjiev@setelis.com"
] | lchorbadjiev@setelis.com |
eceb7435db47e186d9185c565759fb131481ad08 | 6c77cf237697f252d48b287ae60ccf61b3220044 | /aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/StackSetOperationResultSummary.h | d5694b9a765d3d9aa8a1e2c9bdefde5cf4bd1d3d | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | Gohan/aws-sdk-cpp | 9a9672de05a96b89d82180a217ccb280537b9e8e | 51aa785289d9a76ac27f026d169ddf71ec2d0686 | refs/heads/master | 2020-03-26T18:48:43.043121 | 2018-11-09T08:44:41 | 2018-11-09T08:44:41 | 145,232,234 | 1 | 0 | Apache-2.0 | 2018-08-30T13:42:27 | 2018-08-18T15:42:39 | C++ | UTF-8 | C++ | false | false | 13,781 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
c37083589584e235268976e0ec1944f63999e948 | 445f954d308dc95b8c45c38aea43a0fa3ded58f4 | /VCTITLE.H | f7d546715a48cf35803e047dd579a1a95bce195d | [] | no_license | RobertCurry/VarroaPop | 125bc8e79fcd5842bd3d15ff12f333875ca6555f | 6788ae96703693e825f3dcae13b30101d3a9195d | refs/heads/master | 2022-02-23T06:26:55.274332 | 2022-01-18T17:24:44 | 2022-01-18T17:24:44 | 247,331,515 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 991 | h | // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
// Dispatch interfaces referenced by this interface
class CVcTextLayout;
/////////////... | [
"stratpilot@gmail.com"
] | stratpilot@gmail.com |
6b41b8608ed9c767cab475e13692b443e06c1dc7 | 4f311064024e32b2cb9540323ee6c8f1ab5d5f99 | /src/SpMP/synk/barrier.cpp | 794a8759f9756a3b655959d79aab43c490b39efb | [
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | IntelLabs/SkimCaffe | f876770a954b7dc230fa2d1b5ea15c5e6b7c1a3a | 2f66b5a95329a478db3097849f2a6a74d74bb5eb | refs/heads/intel_scnn | 2022-12-22T13:12:06.297232 | 2022-12-16T15:52:14 | 2022-12-16T15:52:14 | 63,281,596 | 260 | 83 | null | 2018-04-02T03:10:01 | 2016-07-13T21:42:40 | C++ | UTF-8 | C++ | false | false | 7,586 | cpp | /**
Copyright (c) 2015, Intel Corporation. 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 conditions and th... | [
"jongsoo.park@intel.com"
] | jongsoo.park@intel.com |
93351490de9c385aec462af7273e4ae64a488fd9 | f6bb52a9c8261d1cdc631010f9d1c325a7eed522 | /sketchbook/libraries/makeblock/src/MeMegaPiDCMotor.cpp | 49e737edea872f4dbd97b6f9107d22b1230cb695 | [
"MIT",
"bzip2-1.0.6",
"LicenseRef-scancode-x11-doc",
"BSD-Protection",
"LGPL-3.0-or-later",
"MS-PL",
"blessing",
"BSD-4.3TAHOE",
"IJG",
"Zlib",
"LicenseRef-scancode-ibm-dhcp",
"NCSA",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-fftpack-2004",
"LicenseRef-scancode-khro... | permissive | technoman72/BlocklyArduino_electrified | f83d55c9bcaa0a8ac1d3d93eeceba6830c6ac7c2 | b91c1d37313ba5f5d0065e8cb264e7d7b45eb2e9 | refs/heads/master | 2020-04-28T23:54:41.710317 | 2019-03-08T18:12:38 | 2019-03-08T18:12:38 | 175,167,947 | 0 | 0 | MIT | 2019-03-12T08:34:04 | 2019-03-12T08:33:52 | null | UTF-8 | C++ | false | false | 7,040 | cpp | /**
* \par Copyright (C), 2012-2016, MakeBlock
* \class MeMegaPiDCMotor
* \brief Driver for Me Megapi DC motor device.
* @file MeMegaPiDCMotor.cpp
* @author MakeBlock
* @version V1.0.1
* @date 2016/04/07
* @brief Driver for Me Megapi DC motor device.
*
* \par Copyright
* This software is Copyright... | [
"scanet@libreduc.cc"
] | scanet@libreduc.cc |
550a2cecb4d457e2b5668f73622695d37d7e80aa | 6483c4793ea0e5c0f2e6d3b6ff765d81fa578f5e | /GameEngine/Component.cpp | 889487dec53266fce94cda88ae02f1dd418a6c8e | [] | no_license | MidnightDrifter/GAME-ENGINE-FINAL | fd8bf791858cba0142761262fdad94e506473bf2 | 2b8149fb238816e1f046f4909e74a2b2e9d820a2 | refs/heads/master | 2016-08-12T17:01:26.952988 | 2016-03-31T19:20:31 | 2016-03-31T19:20:31 | 45,163,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cpp | #include "Component.h"
#include "GameObject.h"
Component::Component()
{
type = -1;
owner = NULL;
}
Component::Component(int t)
{
type = t;
owner = NULL;
}
Component::Component(GameObject* g)
{
owner = g;
type = -1;
}
Component::Component(int t, GameObject* g)
{
owner = g;
type = t;
}
GameObject* Compon... | [
"linkmasterchief@aol.com"
] | linkmasterchief@aol.com |
ca16c0536ae1bf60bc6b904de7f377d4b9906cc2 | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /gaussdbfornosql/src/v3/model/NoSqlModiflyEpsQuotasRequestBody.cpp | 2fde09aa2814ae9ae58ade75e6c66e8fe4e14f45 | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 1,620 | cpp |
#include "huaweicloud/gaussdbfornosql/v3/model/NoSqlModiflyEpsQuotasRequestBody.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Gaussdbfornosql {
namespace V3 {
namespace Model {
NoSqlModiflyEpsQuotasRequestBody::NoSqlModiflyEpsQuotasRequestBody()
{
quotasIsSet_ = false;
}
NoSqlModiflyEpsQuotasRequestB... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
1c7df942e23c3f45109f28909bcdd00d5e50ed92 | 60b80b064bc8d595b4b3ab7f41d3579699d4e1d4 | /src/libs/OutputWriter.h | 37b202ee8293cb58522d57241f9099f3ce28efbd | [] | no_license | MarioSanzRodrigo/payloader | 389c168d8592887c2aeededa1da9d7dbb292d9bb | 919f94ebf530ebda8eaef4a81856911da13b6b8e | refs/heads/master | 2021-04-09T17:14:19.060374 | 2017-06-07T08:50:03 | 2017-06-07T08:50:03 | 125,845,086 | 0 | 0 | null | 2018-03-19T11:07:33 | 2018-03-19T11:07:33 | null | UTF-8 | C++ | false | false | 981 | h | #ifndef OUTPUTWRITER_H_
#define OUTPUTWRITER_H_
#include "Interfaces.h"
#include "Codecs.h"
#include <boost/scoped_ptr.hpp>
#include <boost/thread.hpp>
#include "logger.h"
#include <queue>
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavutil/avconfig.h>
#include <li... | [
"aalonsog@dit.upm.es"
] | aalonsog@dit.upm.es |
953c746682c4cf821337adbb52034f39bc249923 | 2f7861ef8123d42baacfa7a547a6e06feff7734a | /src/av5/backInsert.cpp | 970c4051a44244c3b1bb65b22ff133af39a9095a | [] | no_license | SofijaShi/softversko-inzenerstvo | e8d43048db91a26ea29fa26f17cbce0912b85113 | 1517df945000a8f91ca2db2e85b6ad3cac949cee | refs/heads/master | 2021-01-23T03:12:04.279597 | 2012-10-29T13:24:07 | 2012-10-29T13:24:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | cpp | #include <iostream>
#include <vector>
#include <iterator>
#include <algorithm>
#include "print.hpp"
using namespace std;
int main() {
vector<int> coll;
//create, back inserter for coll
// - inconvenient way
back_insert_iterator < vector<int> > iter(coll);
//insert elements with the usual iterator interface
*iter... | [
"tomce.delev@gmail.com"
] | tomce.delev@gmail.com |
831192606f54d11201fabb246e8a3822acb9f3cf | 8daeb0c11937793c99aed8daed6e5794361656d7 | /adventofcode/day1/bin/day1.cpp | a0dd0e187a96c2bb58a375076e77cc7f0fc5cd72 | [
"MIT"
] | permissive | terotests/Ranger | 8c35f4d444070454765c2c8f691af0b09bd8bf19 | 1ed644d3014cf1c27198701f9539d83447204d64 | refs/heads/master | 2020-05-22T17:19:01.357080 | 2018-11-10T14:05:06 | 2018-11-10T14:05:06 | 84,709,069 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,787 | cpp | #include <memory>
#include "variant.hpp"
#include <string>
#include <vector>
#include <sstream>
#include <iterator>
#include <functional>
#include <iostream>
// define classes here to avoid compiler errors
class day_one;
class operatorsOf;
typedef mpark::variant<std::shared_ptr<day_one>, int, std::string, boo... | [
"tero@DESKTOP-OVRCN99.localdomain"
] | tero@DESKTOP-OVRCN99.localdomain |
502089f4ff2b370a347b2fa248e3346ecbbd5aa5 | 8085f16eaf5133bebb45aeeabb9b172ae3db4176 | /hiho1078/hiho1078/main.cpp | fff020082cf41d5016a4a01378dedf28b34d353e | [] | no_license | EyciaZhou/acm | ff0dd40971424f338369eca8507e8c339497f946 | 50121929dc658be717b8fa6076ec28dea915ce97 | refs/heads/master | 2020-05-01T08:57:48.118961 | 2015-06-09T06:48:53 | 2015-06-09T06:48:53 | 35,026,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | cpp | //
// main.cpp
// hiho1078
//
// Created by eycia on 12/5/15.
// Copyright (c) 2015年 eycia. All rights reserved.
//
#include <iostream>
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
| [
"zhou.eycia@gmail.com"
] | zhou.eycia@gmail.com |
8e9bead095eb94ea70752817bca39ef02ac4aeae | b1dfe798ddc736823d5e253bed65b6ef40408f40 | /first/mash3_single_and_multi_modulus.cpp | 229e9f197834c933c3ae32c94dfff22069be4307 | [] | no_license | jrosser/dacmodel | f29f1ecb3737b13401431a794e0cd6e5e7f8cf43 | c2e1f73525b9676b30213caf0409e47d7ee1cc22 | refs/heads/master | 2021-01-01T20:17:43.031530 | 2015-03-26T22:22:22 | 2015-03-26T22:22:22 | 32,955,155 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | #include <fftw3.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "dsp/mash3.hpp"
int main(void)
{
mash3 mash;
mash3 mash_mm(16777213, (1<<24), (1<<24)-1);
int N = 10000000;
double *in = (double *) fftw_malloc(sizeof(double) * N);
double *out = (double *) ff... | [
"jonathan.rosser@rd.bbc.co.uk"
] | jonathan.rosser@rd.bbc.co.uk |
6fbea419156595601c18d9bc588a4295943d5d50 | cbc2e4244f6f460660b8c66a18c18514eed86cc0 | /ETH_SEL.ino | 6454966f653e6c4c245d149fee79743638fcbfd9 | [] | no_license | siliconcortex/Automatic-Power-Management-System | dcb8da6769a207424d4a05a07a135ba085aa063c | e0b2837f8c0e8faa0895165ecf77ce1c67f7037c | refs/heads/master | 2020-08-06T19:08:54.318002 | 2019-10-06T06:48:20 | 2019-10-06T06:48:20 | 213,118,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,726 | ino |
void sendElement(EthernetClient client,int element,int chunkSize ){
//called from ethernetMain at ETH.ino
Serial.println("SENDING element");
switch(element){
case 0:
webFile = SD.open("favicon.ico");
break;
... | [
"noreply@github.com"
] | siliconcortex.noreply@github.com |
f1998ba63f303d8bc07ff496f91d22cfd012a3e2 | 9ebc2e711ee6be1d3732d3b131f922954c631df0 | /tests/test_main.cpp | 73c224dd4d83277686021bb5c078c97dd4167d46 | [] | no_license | avovana/homework_07 | 55dbfdccebd8f929c31b837df2747581cbaf6d99 | f52477979989cf639e5f5066e46a76d906eeb895 | refs/heads/master | 2020-03-23T04:38:59.197048 | 2018-07-17T07:48:45 | 2018-07-17T07:48:45 | 141,096,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,213 | cpp | #include <iostream>
#include "package_manager.h"
#include "reporter.h"
#define BOOST_TEST_MODULE test_main
#include <boost/test/unit_test.hpp>
#include <boost/test/execution_monitor.hpp>
#include <boost/test/output_test_stream.hpp>
BOOST_AUTO_TEST_SUITE(test_suite_main)
BOOST_AUTO_TEST_CASE(console_handler_output... | [
"vladimir.englishbox@gmail.com"
] | vladimir.englishbox@gmail.com |
6ecbe3ff54af3362fcaa325fe007634a00a91a99 | d75f121aa96edbfcfd4cdb09ec09a9affdf0c625 | /11th Assignment/Sungjuk.cpp | 994bcb91abb1db4df1127e1cde996233fb3f4b63 | [] | no_license | XIOZ119/Object_oriented_programming | cc9047dc17e15584318ef9be170af664d2991003 | c329e14c5585b5c78b198507eeaa710ca0895560 | refs/heads/master | 2023-06-03T00:03:00.628945 | 2021-06-23T08:25:01 | 2021-06-23T08:25:01 | 379,532,818 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 984 | cpp | #include "Student.h"
#include <algorithm>
#include <iostream>
using namespace std;
inline void InputValue(int& ref) {
cin >> ref;
}
inline void InputValue(string& ref) {
getline(cin, ref);
if (ref.empty())
getline(cin, ref);
}
inline void PrintMenu() {
cout << "=========메뉴=========" << endl;
cout << "1. 학생 정보... | [
"tjwns53@naver.com"
] | tjwns53@naver.com |
73d8d3c2bf19f2f5dc0769e41cf00d2afe194859 | 6b66f3e22dec75fc7bd657a0c5fdbbb18e294b96 | /Engine/Application/ThemeGruvbox.cpp | 6db04dbdd4e9427519547011d0e8092ae7635580 | [] | no_license | AniCator/shatter-engine | cff01c191b0af3ca21b769842285c26556e2b5a9 | 9a8f715ab463418398146550af45a35626f13d3e | refs/heads/master | 2023-05-10T04:11:53.656999 | 2023-05-08T17:46:55 | 2023-05-08T17:46:55 | 119,185,578 | 41 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 11,168 | cpp | // Copyright © 2017, Christiaan Bakker, All rights reserved.
#include "ThemeDefault.h"
#include <ThirdParty/imgui-1.70/imgui.h>
#include <Engine/Display/Color.h>
/// Gruvbox Dark Theme
// Based on: https://github.com/morhetz/gruvbox
namespace Gruvbox
{
namespace Dark
{
// Regular
namespace Regular
{
Colo... | [
"contact@anicator.com"
] | contact@anicator.com |
eced24ed0f637a8053c5e7842dc70af462870c68 | e61f5b7a23c3b1ca014e4809e487e95a65fc3e2c | /Source/BansheeD3D11RenderAPI/Source/BsD3D11SamplerState.cpp | 39ab74a70a5644862a9f7a5d478bcdfafc0bbdd1 | [] | no_license | ketoo/BansheeEngine | 83568cb22f2997162905223013f3f6d73ae4227e | 1ce5ec1bb46329695dd7cc13c0556b5bf7278e39 | refs/heads/master | 2021-01-02T08:49:09.416072 | 2017-08-01T15:46:42 | 2017-08-01T15:46:42 | 99,069,699 | 1 | 0 | null | 2017-08-02T03:48:06 | 2017-08-02T03:48:06 | null | UTF-8 | C++ | false | false | 4,197 | cpp | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#include "BsD3D11SamplerState.h"
#include "BsD3D11RenderAPI.h"
#includ... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
a979bdfb738c751e295735a7da056c6d64989831 | 3b52957226a012ec352f3f73192fd77828ad501c | /LightOJ/1072 - Calm Down.cpp | 3a4f916f02c5076e1935742548c446212f6433dd | [] | no_license | jishnusaha/Competetive-Programming | 8912aa92962d4c72712de44449f6e9ac8f34fbbf | 5535ee9d67a37def87541639f488e328ba579a97 | refs/heads/master | 2021-06-30T00:18:26.959910 | 2020-12-21T18:18:37 | 2020-12-21T18:18:37 | 204,193,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cpp | #include<iostream>
#include<iomanip>
#include<math.h>
#define pi 2.0*acos(0.0)
using namespace std ;
int main ()
{
int t , i ;
cin>>t ;
for (i=1 ; i<=t ; i++)
{
double x , n , R ,r ;
cin >> R >> n;
x=sin(pi / n);
r=(x * R) / (1 + x) ;
cout << setprecision(10) << "Case " << i << ": " << r <<endl ;
}
... | [
"jishnusaha89@gmail.com"
] | jishnusaha89@gmail.com |
de5bbe8f6f4fff5cbd6a07511faf4204f0e5c858 | 5e4cd5a93fd2458979aa3c2dcc1cc62623c74fce | /Defs.h | ae8fb9a1ad03f1b7ee17cec00bb0cd8e77c945cf | [] | no_license | MichaelZhao21/CSCE1040-UNT-Project4 | 02ad94bb1b8aa31bed24cbae62485db7e639ad79 | c5c4085096fe800bf3dd1a67a78cebaa7730d110 | refs/heads/master | 2022-04-17T22:20:15.311463 | 2020-04-18T22:17:38 | 2020-04-18T22:17:38 | 254,800,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | h | #ifndef DEFS_H
#define DEFS_H
#include <string>
#include <vector>
#include <unordered_map>
#include <iostream>
#include <iomanip>
#include <limits>
#include <fstream>
#include <cmath>
#include <regex>
#include <cassert>
using namespace std;
typedef vector<string> vs;
typedef vector<int> vi;
#endif //DEFS_H
| [
"michaelzhao314@gmail.com"
] | michaelzhao314@gmail.com |
335ea278a382252b0c08847ba3d6c1e455a418be | 29a1989e08f9fc2b7f9bbf663b04a1fc6442735a | /Dynamic Programming/2579.cpp | e176efe7ce9d1f9bfe2f0b1cdb977d16d3c93746 | [] | no_license | giantim/algorithm_practice | 310a6130dca72a211e1624fea09af69a20a44bda | 009132a428c9ed7291078fe2d777e9e95b0bbc49 | refs/heads/master | 2021-06-17T13:50:31.510429 | 2021-04-10T01:48:34 | 2021-04-10T01:48:34 | 193,831,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | #include <iostream>
using namespace std;
int stair[300];
int total[300];
int main()
{
int T, i;
int count = 1;
cin >> T;
for (i = 0; i < T; i++)
cin >> stair[i];
total[0] = stair[0];
total[1] = stair[0] + stair[1];
total[2] = stair[0] > stair[1] ? stair[0] + stair[2] : stair[1] + stair[2];
for (i = 3; i <= ... | [
"giantim132@gmail.com"
] | giantim132@gmail.com |
191b7755965470350479a03e49b33d1c77cb892a | b516ffaa751c248a0f085e165e0da022dcd97df4 | /BonEngine/inc/Engine/Engine.h | ef849b97d9e41f19a8d67d97defdeb9b42a4ce5b | [
"MIT"
] | permissive | parhelia512/BonEngine | 0c90909cb15cfaa73a2d7da69e1b0b85fc8dec0d | 49cec684c2307715df0958ed673ff077eac0a395 | refs/heads/master | 2023-02-17T14:22:24.429552 | 2021-07-30T21:05:33 | 2021-07-30T21:05:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,411 | h | /*****************************************************************//**
* \file Engine.h
* \brief Define the main class that manage the game main loop.
*
* \author Ronen Ness
* \date May 2020
*********************************************************************/
#pragma once
#include "../dllimport.h"
#includ... | [
"RonenNess@gmail.com"
] | RonenNess@gmail.com |
4fd3e3872fd51e7f2740b52d0c599a7d8c1ba1a9 | 5a68ff9e58ebdc209e3b462f45d3e885bcfa48fd | /Submarine/test.cpp | 6d99ed676a77864d48ca2370afbe9fe76b6af41e | [] | no_license | MishaLivshitz/submarines | cc43b1df12627d98108b7bf3c034186df68de621 | b5beadd960b9edecae1f2b29ea7bc42676a02ef4 | refs/heads/master | 2020-07-31T13:41:12.756969 | 2019-10-07T07:17:29 | 2019-10-07T07:17:29 | 164,846,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | #include "mu_test.h"
#include "Submarine.h"
UNIT(submarine_test)
const size_t size = 5;
Submarine s(size);
while (!s.isDead())
{
ASSERT_THAT(!s.isDead());
s.setHit();
}
ASSERT_THAT(s.isDead());
END_UNIT
TEST_SUITE(Test of submarine unit)
TEST(submarine_test)
END_SUIT... | [
"michaellivshitz91@gmail.com"
] | michaellivshitz91@gmail.com |
d1d5584484d4509e3a6093c41513ad351773c5fe | 88f47d1e5d1adc0617d04055eaa08181c6f23777 | /tests/gtest-binary-search-tree-tests.cpp | 7e175501d61dcde6f5edfe80e6cb3878c58d9bc6 | [
"BSD-3-Clause"
] | permissive | syedhali/data-structures-practice | de04bf5a232c8b8f899702c42a44b42a1e375de2 | 66e916fe177d87794eb3638757594b6741e2e5b2 | refs/heads/master | 2021-01-11T21:30:28.741478 | 2017-01-20T20:27:19 | 2017-01-20T20:27:19 | 78,794,388 | 1 | 1 | null | 2017-01-20T20:27:19 | 2017-01-12T22:54:16 | C++ | UTF-8 | C++ | false | false | 4,276 | cpp | //
// Created by Syed Haris Ali on 1/18/17.
//
#include <gtest/gtest.h>
#include "Tree/BinarySearchTree.h"
using namespace ds::tree::binary;
class BinarySearchTreeTest : public ::testing::Test {
protected:
Node<int> *mRootWithChildren;
SearchTree *mTree;
BinarySearchTreeTest() {
populateChildren... | [
"syedhali07@gmail.com"
] | syedhali07@gmail.com |
9110d98534923d789537c83e84c41741052afc52 | 290b4c7ca63a975b38e55018cc38bd2766e14639 | /ORC_app/jni-build/jni/genfiles/tensorflow/core/framework/step_stats.pb.h | 429248f68c0a447bc991dfcf1b81222df44e6883 | [
"MIT"
] | permissive | luoabd/EMNIST-ORC | 1233c373abcc3ed237c2ec86491b29c0b9223894 | 8c2d633a9b4d5214e908550812f6a2489ba9eb72 | refs/heads/master | 2022-12-27T14:03:55.046933 | 2020-01-16T15:20:04 | 2020-01-16T15:20:04 | 234,325,497 | 0 | 1 | MIT | 2022-12-11T13:32:42 | 2020-01-16T13:25:23 | C++ | UTF-8 | C++ | false | true | 43,549 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/step_stats.proto
#ifndef PROTOBUF_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto__INCLUDED
#define PROTOBUF_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto__INCLUDED
#include <string>
#include <google/protobuf... | [
"abdellah.lahnaoui@gmail.com"
] | abdellah.lahnaoui@gmail.com |
ada312d917a4ba55acc5240220719bf1ff3fee2c | ee54e7bdf79b7ce264f0bc22d1fd78177010bf75 | /cpp_tutor/函数重载.cpp | 512874b833549e0be44936d68dee3a278796e5cc | [] | no_license | luningcowboy/AlgorithmPractice | 985effad2d286bc09d515c73d4884f7ee48cb435 | 1d2cd40fe2f85edab87939feab05525134d89538 | refs/heads/master | 2021-09-28T01:21:19.939324 | 2018-11-13T05:09:42 | 2018-11-13T05:09:42 | 115,409,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #include<iostream>
using namespace std;
void print(const char* myString){
cout<<myString<<endl;
}
void print(int myInt){
cout<<myInt<<endl;
}
int main(int argc, char const *argv[])
{
print("hello");
print(10);
return 0;
}
| [
"luning@tuyougame.com"
] | luning@tuyougame.com |
35369011c16164054dfb2be004c3b46df224da84 | 9be4b9a1b91b1acba724c2d5215104e352bbc93e | /node_modules/grunt-sass/node_modules/node-sass/libsass/sass_values.cpp | ac6b3afbb9fa03810e1e02423ad4b3f97c472490 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | railsgirlswgtn/intro-talk-may-2015 | a824a33b2c92dd9f44bed5215584196c7208ac9d | c2ba0be6d47cb4b57a1d429491aa114f750a18a2 | refs/heads/master | 2020-12-30T09:26:17.110159 | 2015-05-15T05:10:53 | 2015-05-15T05:10:53 | 35,654,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,897 | cpp | #include "stdlib.h"
#include "string.h"
#include "sass_values.h"
extern "C" {
union Sass_Value make_sass_boolean(int val) {
return new_sass_c_boolean(val);
}
union Sass_Value make_sass_number(double val) {
return new_sass_c_number(val);
}
union Sass_Value make_sass_percentage(double val) {
return new_sass_... | [
"merrin.macleod@gmail.com"
] | merrin.macleod@gmail.com |
6d8bb39532f0803b54167ccae958847e1497ff75 | b9d9b29c2a180399393c6ab298b9e5bfba17831e | /Top Interview Questions/328-Odd Even Linked List.cpp | 6ec9578d0304ad11d5d1b5df7c710322f61ebab1 | [] | no_license | qqwangxiaow/leetcode-fast-and-elegant | 08b7c6120b82f7ee3b5a99b84e7ba0f0eb38a477 | f5081a9e1d893b9d936d9486cf6141b5b35684e1 | refs/heads/master | 2022-02-11T00:36:22.911461 | 2022-01-02T05:14:20 | 2022-01-02T05:14:20 | 199,302,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cpp | /*
while(cur2&&cur2->next) key!
*/
class Solution {
public:
ListNode* oddEvenList(ListNode* head) {
if(!head||!head->next||!head->next->next)
return head;
ListNode *head1=head,*head2=head->next;
ListNode *cur=head1,*cur2=head2;
while(cur2&&cur2->next)
{
... | [
"ywwangxiaow@qq.com"
] | ywwangxiaow@qq.com |
dd83a2311e6c80dbe7ab37f038691a9783146f84 | c287f063100e0ddb29bcf27e9f901b914cca0f2e | /thirdparty/v8/src/src/spaces.cc | 6c03daa75aea0d862a72908807cf1e24e96c57c6 | [
"bzip2-1.0.6",
"BSD-3-Clause",
"MIT"
] | permissive | imzcy/JavaScriptExecutable | 803c55db0adce8b32fcbe0db81531d248a9420d0 | 723a13f433aafad84faa609f62955ce826063c66 | refs/heads/master | 2022-11-05T01:37:49.036607 | 2016-10-26T17:13:10 | 2016-10-26T17:13:10 | 20,448,619 | 3 | 1 | MIT | 2022-10-24T23:26:37 | 2014-06-03T15:37:09 | C++ | UTF-8 | C++ | false | false | 104,014 | cc | // Copyright 2011 the V8 project authors. 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 ... | [
"zcy920225@gmail.com"
] | zcy920225@gmail.com |
bf16887834fe216f410788fc2d0afec11bf14ea2 | a6703732232f45dadcadb352f0c3f5cf7a805e7c | /target.cpp | fe18a5363c33996f703c6614ba45bbd045b2c3a2 | [] | no_license | rrrrrerw/sokoban_game | 7c98ffe27e43552a2498f776aa9dcdb217f0b1d7 | bddd1dae4fd4a7d310da640f7b33db2cf2347dd6 | refs/heads/master | 2022-04-12T21:06:20.723281 | 2020-03-29T03:02:35 | 2020-03-29T03:02:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | cpp | #include "target.h"
target::target()
{
this->pixel = 64;
this->x_origin = 0;
this->y_origin = 0;
}
void target::set_origin(int x, int y)
{
this->x_origin = x;
this->y_origin = y;
}
| [
"lucky020372@gmail.com"
] | lucky020372@gmail.com |
746abf35b90193d7734776a56859e3ec22bc882a | 6d7f2381b8f1c5c0e0d96156ae36cac12be3017b | /atcoder/abc069/B/main.cpp | 0f47689b157bdd68367bdbb2d5c2bd452c83eed3 | [
"Unlicense"
] | permissive | Johniel/contests | 708ccf944d6aeb0ef0404eec47e8ff7819ea00f0 | 15d465b08cac56e394509bcf8f24764e3dc6ca7d | refs/heads/master | 2023-09-04T07:32:49.822786 | 2023-09-02T13:44:28 | 2023-09-02T13:44:50 | 48,701,889 | 0 | 0 | null | 2019-10-25T09:21:20 | 2015-12-28T16:38:38 | C++ | UTF-8 | C++ | false | false | 1,061 | cpp | #include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first << "... | [
"motohazu@mercari.com"
] | motohazu@mercari.com |
a6570385adf9e60c2e751976b4bad64a17f23ba1 | e68065baff69ae084c727c1482169006e6a51ae6 | /StatTools/interface/DataCardCreatorHTT_2D.h | a2db3a0ee380bc04c3e4ae01553bf46c19e85b69 | [] | no_license | isobelojalvo/PUAnalysis-1 | f0d6ed502bd518c64ee0f1e4b0745a6e5edd524b | ab635a1c313ae4ff280e9eb4039733cc6ec53412 | refs/heads/cmssw10_2_14_2018 | 2020-06-20T18:43:37.086594 | 2019-10-14T22:31:22 | 2019-10-14T22:31:22 | 197,211,373 | 0 | 0 | null | 2019-07-26T16:22:28 | 2019-07-16T14:37:11 | C++ | UTF-8 | C++ | false | false | 96,962 | h | /*
Thanks to Laura Dodd:
https://github.com/lmdodd/StatTools/blob/master/interface/DataCardCreatorHTT2D.h
couldn't merge commit but needed this code!
Modifer: Sam Higginbotham
Nov 19th, 2018
*/
#include "TCanvas.h"
#include "TROOT.h"
#include "TFile.h"
#include "TTree.h"
#include "TChain.h"
#include "TH1.h"
#includ... | [
"samhiggie72@gmail.com"
] | samhiggie72@gmail.com |
75d9768fddf982b7f8057f06170831dd2cf689c9 | 4dbb45758447dcfa13c0be21e4749d62588aab70 | /iOS/Classes/Native/UnityEngine_UI_U3CModuleU3E86524790.h | 2ab8d1ad4e6ccca06e51e7561f9b5ccaf730fcf1 | [
"MIT"
] | permissive | mopsicus/unity-share-plugin-ios-android | 6dd6ccd2fa05c73f0bf5e480a6f2baecb7e7a710 | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | refs/heads/master | 2020-12-25T14:38:03.861759 | 2016-07-19T10:06:04 | 2016-07-19T10:06:04 | 63,676,983 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <Module>
struct ... | [
"lii@rstgames.com"
] | lii@rstgames.com |
d20cf3d471ed01faa086529a179397e49c9b7be9 | 0c3a00a110988e96e669fdf9295a5add6152837d | /Source/wali/include/wali/witness/Witness.hpp | 67e50a17dbb3f4740fc86921b0af42ec9bb8bc49 | [
"MIT"
] | permissive | pdschubert/WALi-OpenNWA | 0e360ac04326aa9cd20155b311898e1b6ff99d07 | 57c26420fb25bbb4bba8a6de3641fef0eb9967e0 | refs/heads/master | 2022-08-27T07:32:07.005480 | 2022-08-18T13:54:50 | 2022-08-18T13:54:50 | 148,313,943 | 1 | 5 | NOASSERTION | 2020-02-20T12:06:30 | 2018-09-11T12:30:20 | C++ | UTF-8 | C++ | false | false | 3,813 | hpp | #ifndef wali_WITNESS_GUARD
#define wali_WITNESS_GUARD 1
/*!
* @author Nicholas Kidd
*/
#include "wali/Common.hpp"
#include "wali/Markable.hpp"
#include "wali/ref_ptr.hpp"
#include "wali/SemElem.hpp"
#include "wali/witness/Visitable.hpp"
namespace wali
{
class Visitor;
namespace witness
{
class Witness;
... | [
"linusjun@mail.upb.de"
] | linusjun@mail.upb.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.