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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4720ddd6f924c1440f538dc2e54d454fc6ae6611 | ba669258440257996a608125797065c382c2233c | /haizei/4.算法/euler/14.euler.cpp | 3bad509e77ab6da6ccaf586fca790d0f72ce2ceb | [] | no_license | seeinto/Code | f047e3a6493cc40d439158abea0332f7381801d0 | 880f6c35f7c2440982d06b1e40693164fe315d30 | refs/heads/main | 2023-02-04T20:08:14.090354 | 2020-12-27T16:39:34 | 2020-12-27T16:39:34 | 323,687,399 | 0 | 0 | null | 2020-12-27T16:36:02 | 2020-12-22T17:10:33 | null | UTF-8 | C++ | false | false | 627 | cpp | /*************************************************************************
> File Name: 14.euler.cpp
> Author:
> Mail:
> Created Time: Tue 22 Dec 2020 08:34:26 PM CST
************************************************************************/
#include<iostream>
using namespace std;
long func(long n) {
if (n ... | [
"noreply@github.com"
] | seeinto.noreply@github.com |
03c78646d1b99637afd237e18841d786880a4f62 | 3fd9d36e2affaa8c55fe2acfc3068d07ec08c61c | /Server/SWallEntity.hpp | 5adb3c68c28460650fb77cefe0755d6045e7e445 | [] | no_license | mukmai/CSE190-Final-Project | b5cd3195516709b6a7b797422db00db19a5e7931 | 80ccd33c577b44af036750ec5b143ea851925446 | refs/heads/master | 2020-05-29T13:23:13.749294 | 2019-06-11T22:58:25 | 2019-06-11T22:58:25 | 189,159,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,690 | hpp | #pragma once
#include "SBaseEntity.hpp"
class SWallEntity : public SBaseEntity
{
public:
SWallEntity(glm::vec3 scale, glm::vec3 pos) {
// Allocated a state struct and initialize (Modify if using other state)
_state = std::make_shared<BaseState>();
// Base defaults
SBaseEntity::initState();
_state->type = ... | [
"deaconkum@ymail.com"
] | deaconkum@ymail.com |
df7f02e3b1d978826a70f821fdaac4e2384d9c18 | 8223abd30c6923b43c79a502f853d23fd89f5c8c | /cppcode/base_kw.cpp | 1c71669b7437450e37355f80a18615939b4710c7 | [] | no_license | ajaygh/code | 8ba8131dc65f8e269ac02928483003422d4f13df | cfb65ce725acf2f661e8b219d7a32125d3ff13a7 | refs/heads/master | 2021-06-18T20:39:31.316815 | 2017-03-24T04:49:23 | 2017-03-24T04:49:23 | 58,198,492 | 0 | 0 | null | 2017-03-24T04:49:24 | 2016-05-06T10:04:28 | HTML | UTF-8 | C++ | false | false | 308 | cpp | #include<iostream>
using namespace std;
class A
{
protected:
virtual void fun()
{
cout<<"A:fun\n";
}
};
class B : public A
{
public:
void fun() override
{
cout <<"B:fun\n";
}
void checkBase()
{
A::fun();
}
};
int main()
{
auto b =new B();
b->fun();
b->checkBase();
return 0;
}
| [
"ajay.k@greyorange.sg"
] | ajay.k@greyorange.sg |
5b649319cdfb3f9cc5c80b4eeedb5466c0cc9988 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /gpdb/src/model/DescribeNamespaceResult.cc | 48c860a96c455c28c0b0273550c98d86f78bf9ef | [
"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,210 | 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
058b1d7e83e88f7c6a1c26f17118ef7d96172a5e | 07915111c538b8887613ec9400fc25bc89742ae2 | /SkiaCode/gm/poly2poly.cpp | a850e43d06193b6e84f512b474746b4df663e056 | [
"BSD-3-Clause"
] | permissive | 15831944/skiaming | f4f683dafc393263193629545880d1ffbac810c9 | d6500ec2afe1ab45b8a42470ac9dff30c7297b57 | refs/heads/master | 2021-12-05T17:25:46.351775 | 2012-10-10T09:54:13 | 2012-10-10T09:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,247 | cpp |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
namespace skiagm {
class Poly2PolyGM : public GM {
public:
Poly2PolyGM() {}
protected:
virtual SkString onShortName() {
return SkString("pol... | [
"zhangming@users.noreply.github.com"
] | zhangming@users.noreply.github.com |
55eae5ddd23fca241f7b4f9eb1ad039b6c144ddf | c7d7866ebaf8b7402bbfe0ecce6d6aad0c8b6259 | /Sorting Algorithms/Source/HeapSort.cpp | fa6124b8b4c186ad6a300ee619f79fc05d9f7f5b | [] | no_license | tobsa/Sorting-Algorithms | 5340c91a0ee3ce1260e1aa32233c723e3838d4df | e760f2e83d2514999ca9e87f1a7df3dbbe611363 | refs/heads/master | 2021-01-21T04:50:35.718275 | 2012-09-21T09:29:03 | 2012-09-21T09:29:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | cpp | ////////////////////////////////////////////////////////////////////////////////
// HeapSort.cpp
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
// Headers
/////////////////////////////////////////////////... | [
"tcs1000@hotmail.com"
] | tcs1000@hotmail.com |
5b59f793cb34c8e0cb808c5c207896bc0c887bde | 13e87bedfeecf62a2ee92f7dc81b010178910d47 | /CppPrimer/13/String.h | 3ae36484f5dbb10ad2b45fc4f87468de1d66e633 | [] | no_license | longlinht/SourcesFromBook | fc44e4a2f67bb4df3a6866280c562a82ed83b6bd | 6eea43041800e843a22d4bb0757222d8064b8716 | refs/heads/master | 2021-07-18T03:18:57.075712 | 2021-03-03T07:31:50 | 2021-03-03T07:31:50 | 61,864,811 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,391 | h | /*
* This file contains code from "C++ Primer, Fifth Edition", by Stanley B.
* Lippman, Josee Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that book:
*
* "Copyright (c) 2013 by Objectwrite, Inc., Josee Lajoie, and Barbara E. Moo."
*
*
* "The authors a... | [
"longlinht@gmail.com"
] | longlinht@gmail.com |
a25e39997000658c34be9428fc0af2959ce02096 | 9d62bcbd0e6f4ce943d19e6ae13b4c2e70fed55d | /core/nlp/super_string.hpp | 2c1a5321490205aca8ebb5a7878dada985aa40d8 | [] | no_license | stenniswood/bk_code | 87ce26e032c1f1895c1c557c4e2ba4465a61b438 | 13535863decc23414854c08ebf8fc90c06a92fbd | refs/heads/master | 2021-07-05T21:25:37.512024 | 2021-06-02T08:01:40 | 2021-06-02T08:01:40 | 25,167,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,071 | hpp | //
// super_string.hpp
// abkInstant
//
// Created by Stephen Tenniswood on 3/17/16.
// Copyright © 2016 Stephen Tenniswood. All rights reserved.
//
#ifndef super_string_hpp
#define super_string_hpp
#include <stdio.h>
#include <string>
#include <vector>
#include <regex>
using namespace std;
class SuperString : ... | [
"root@s198-12-154-113.secureserver.net"
] | root@s198-12-154-113.secureserver.net |
28d8217796c0aedd02e9acb6b56def1928d2f0f6 | 0061c3cfdcf74e8cfbb732e26db8289b29d496eb | /Header Files/Neuron.h | 89687ee4372274a08d4ae9f7df2314b4295f8682 | [] | no_license | Nagelsaker/SimpleNN | c5f6f50a094de85b0fa5e8dedb8367bf21cec228 | 7668e257212154372a338779bf978a829d75a883 | refs/heads/master | 2020-04-01T10:27:21.868769 | 2018-11-18T17:34:34 | 2018-11-18T17:34:34 | 153,118,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,762 | h | #pragma once
#include "utils.h"
#include <vector>
using namespace std;
class Neuron {
private:
double active;
double derSig;
double softMax;
double derAct = 1.0;
double derSoft = 1.0;
double tanhAct;
double derTanh;
double bias = 1;
double wbias = 0.5;
vector<double> weights;
vector<doub... | [
"noreply@github.com"
] | Nagelsaker.noreply@github.com |
979ae65e7aafd9ef9adc2bc7020760d92db515da | 57b216c8c49097080d384e75ed22776dcd7bbd69 | /Master/PPD-master/parallel_no_for.cpp | 41b5171a8e6019ccf3c1b526dd5d29ff8bb45e9a | [] | no_license | vladulmeteanu/PPD1 | 30e54c24d9196209cf37766ea80709170c732fba | 4ec8b7ed773c92e9d4d078edd459bb966c96ee2d | refs/heads/master | 2020-05-24T07:44:31.612007 | 2019-05-17T08:49:41 | 2019-05-17T08:49:41 | 187,167,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,286 | cpp | // Example program
#include "pch.h"
#include <iostream>
#include <string>
#include <omp.h>
#include <time.h>
using namespace std;
int main()
{
// Rows and columns
int N = 10;
int M = 10;
// Define Vector
float *vector;
vector = new float[N*M];
// Inistialise Vector
for (int i = 0; i... | [
"noreply@github.com"
] | vladulmeteanu.noreply@github.com |
a6fc5bb461dc2bebb204196243760ecf8d2c84aa | 4172929ddfc4f19bc6fca1a43894b7ded0880ddf | /src/init.cpp | e910cf64f150d0942e90f814c9d94201ca5aa27d | [
"MIT"
] | permissive | hope21kmj/melon | df75bce8ce68a84efa281036dfd4d2a8ae292cea | 09c1b0f75ed758e4dce390edd09a37031364734a | refs/heads/master | 2020-04-16T08:11:34.824843 | 2019-01-14T07:05:59 | 2019-01-14T07:05:59 | 165,415,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,404 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 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 "txdb.h"
#include "walletdb.h"
#include "bitcoinrpc.h"
#include "net.h"
#... | [
"sugargun@naver.com"
] | sugargun@naver.com |
acdc7e80f6e9037f53bba33acc57c94bd40d4ded | 20b031ece787c555f8ede23666cf803a77415556 | /src/qt/rpcconsole.cpp | aaf5c1d52692316a9ab786503622985e498a448c | [
"MIT"
] | permissive | venturecoin/venturecoin | ac16c885b27cb1993363aa683ed643a4a83586c2 | 5fd786179cf747994dba35091ba4f911838ac5d0 | refs/heads/master | 2021-01-19T09:43:58.533690 | 2014-07-21T13:30:16 | 2014-07-21T13:30:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,200 | cpp | #include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QThread>
#include <QKeyEvent>
#if QT_VERSION < 0x050000
#include <QUrl>
#endif
#include <QScrollBar>
#include <openssl/crypto.h>
// TODO: add a scrollback limit, as the... | [
"venturecrypto@gmail.com"
] | venturecrypto@gmail.com |
7631db7685fafd28b29e8025936fda4d1e36f355 | b84c0f8d69f2a557e3bb131935abfad6e9898508 | /Chapter13/Game.h | 1c9218a956b175b636671cb85064d825e8bf2f9e | [] | no_license | JoyusGim/GameProgrammingInCpp | 6384da60459db8c9f3ba6a349b55ccdf00e17522 | 8cb5b3f3cd003709d057d1fb01028d7875f95370 | refs/heads/master | 2023-06-22T23:44:47.059094 | 2021-07-19T03:39:40 | 2021-07-19T03:39:40 | 374,504,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,855 | h | #pragma once
#include <SDL.h>
#include <vector>
#include <unordered_map>
#include <string>
class Game
{
public:
enum GameState { GamePlay, GamePause, GameExit };
private:
class Renderer* mRenderer;
class AudioSystem* mAudioSystem;
class InputSystem* mInputSystem;
class PhysWorld* mPhysWorld;
bool mIsRunning;
... | [
"Joyus.gim@gmail.com"
] | Joyus.gim@gmail.com |
df43a45a49ed9b54c99273800046584e723058f1 | 3b511c38812561fe357d3b09fa5516a38a9aa2f6 | /development/Common/Render/include/TextureResource.h | 172b962aa7569ba898fc760b7fc5e7dcb55c1228 | [
"MIT"
] | permissive | eglowacki/zloty | 67115b8abce40ef502883eb6dee06336790623bf | 21aa479f31a41640d97f6c15996031ca1884e439 | refs/heads/master | 2023-08-19T09:24:59.854602 | 2022-08-28T21:05:26 | 2022-08-28T21:05:26 | 136,251,442 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,699 | h | /////////////////////////////////////////////////////////////////////////
// TextureResource.h
//
// Copyright 2/26/2017 Edgar Glowacki.
//
// NOTES:
// Wrapper for texture resource
//
//
// #include "TextureResource.h"
//
/////////////////////////////////////////////////////////////////////////
//! \file
#pragma... | [
"edgar_glowacki@yahoo.com"
] | edgar_glowacki@yahoo.com |
3e83a0c8bea99e4f098517ccd86b539904b62e72 | ac7ec9600f6f31fc559bc263972fedcff0b23b5f | /compiler/blocks/conditions/cCondLeq.cpp | 6a50b27138ddb6868d4417e9ce9d5fc59bb62532 | [] | no_license | krzysztofMlczk/compiler | 4ce9ef3b683def89dc0e701348e9c77f14e37d32 | 68c80e0cda0c56b64e19935e0637bb7c2b20bb44 | refs/heads/main | 2023-02-17T06:02:34.856508 | 2021-01-16T15:59:21 | 2021-01-16T15:59:21 | 320,866,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | cpp | #include "cCondLeq.hpp"
CondLeq::CondLeq(Value* val1, Value* val2):Condition(val1, val2) {
this->clobber_counter = 1;
}
vector<string> CondLeq::getCode(SymbolTable* symbolTable, RegManager* regManager) {
vector<string> code;
// this condition needs additional register
this->clobbers = regManager->get... | [
"gajderstudio@gmail.com"
] | gajderstudio@gmail.com |
108a0309e51c352f7bc6d1dbdc69f923bd280189 | 157fd7fe5e541c8ef7559b212078eb7a6dbf51c6 | /TRiAS/TRiASDB/TRiASUI/Strings.cpp | 68f01a47eeb18f80ab6223efbee2723e1056517a | [] | no_license | 15831944/TRiAS | d2bab6fd129a86fc2f06f2103d8bcd08237c49af | 840946b85dcefb34efc219446240e21f51d2c60d | refs/heads/master | 2020-09-05T05:56:39.624150 | 2012-11-11T02:24:49 | 2012-11-11T02:24:49 | null | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 601 | cpp | // $Header: $
// Copyrightę 1998 Fernerkundungszentrum Potsdam GmbH, All rights reserved
// Created: 10/05/1998 10:53:59 PM
//
// @doc
// @module Strings.cpp | Stringkonstanten
#include "StdAfx.h"
#include "Strings.h"
const TCHAR g_cbNil[] = TEXT("");
const TCHAR g_cbTRiASDefaultName[] = TEXT("TRiAS«");
... | [
"Windows Live ID\\hkaiser@cct.lsu.edu"
] | Windows Live ID\hkaiser@cct.lsu.edu |
8bd125ce6d0d0c32bb84718e7b48acfe4e3e1b8f | 5292a9ddd4cd92855d825a8bf06e69114fa36e7b | /INTERSEC.CPP | 1f3de853cb0def67982a9e01b2ac6bbf687c3db0 | [] | no_license | Kushagratandon12/Coding-Competition-Problems- | 9eb2d3be303f0d47ed78d439d9f54032105585bf | a6c9b0385affcb984d1ab1acabd9703b4e1a5757 | refs/heads/master | 2023-02-14T20:09:09.320631 | 2021-01-06T04:35:53 | 2021-01-06T04:35:53 | 243,587,963 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,499 | cpp | #include<iostream.h>
#include<conio.h>
struct Node
{
int data;
Node* next;
} ;
void insert(Node** head, int x)
{
Node* new_node = new Node();
new_node->data=x;
new_node->next=NULL;
Node* last=*head;
if(*head==NULL)
{
*head=new_node;
return;
}
while(last... | [
"kushagra.tandon.124@gmail.com"
] | kushagra.tandon.124@gmail.com |
d70961b89c80c2c6f961d3ffe466c1105d631e62 | 2b6f0d5fb2dfa70186a95afa66d26f3eff29c964 | /day07/ex02/main.cpp | 934c13bcaba78d69d7c5fcc9d9165b30d1f5f0b7 | [] | no_license | skarryhi/cpp_module | f72260d26bb21a46d70931e1441a3d9a81f5dfc6 | a6bd2b1af687c4e571ddae04a03645e916eee618 | refs/heads/master | 2023-03-26T02:03:26.080942 | 2021-03-26T13:59:05 | 2021-03-26T13:59:05 | 315,029,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | #include "Array.hpp"
int main() {
std::cout << "Test 1" << std::endl;
Array<int> irray(30);
for (int i = 0; i < 30; i++)
irray[i] = (i + 1);
try {
for (int i = 0; i < 50; i++)
std::cout << irray[i] << " ";
}
catch (std::exception const& e) {
std::cerr << ... | [
"skarry@et-a2.kzn.21-school.ru"
] | skarry@et-a2.kzn.21-school.ru |
e02972e9aae4491095aec7750e33428b10a2da32 | 071c74384fb6e929ef37b5ff712d21e6f147d10c | /include/OSX/NyxTypes.hpp | d8180880cf828469339131838620c1a35923759c | [] | no_license | cobreti/Nyx | 410597bd763ed2c6583f212f63ba26f1ea3f8c36 | 0c62ba53a2999ad80d7f20f6bbebb00f1247f673 | refs/heads/master | 2016-09-05T11:54:24.773722 | 2014-08-10T13:21:46 | 2014-08-10T13:21:46 | 5,074,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,217 | hpp | #ifndef _NYXTYPES_HPP_
#define _NYXTYPES_HPP_
#include <carbon/carbon.h>
#include <libkern/OSAtomic.h>
#include "NyxSize.hpp"
namespace Nyx
{
typedef u_int8_t UInt8;
typedef int8_t Int8;
typedef UInt8 Byte;
typedef u_int16_t UInt16;
typedef int16_t Int16;
typedef u_... | [
"danny.thibaudeau@hotmail.com"
] | danny.thibaudeau@hotmail.com |
e06c2d9702b76de01dc7b4571305f412e16d88d3 | ddd96bd9c0bc5d5b31b9b305f4720f1175777d32 | /app/src/main/cpp/crashpad/include/minidump/minidump_thread_writer.h | dfeae77f0b089f6d4a520cdc14dd2957973b810b | [
"Apache-2.0"
] | permissive | zh-eastsun/CrashPadDemo | acd89ca6238670df793d13d132083315dc550af1 | 891de1aca6875c9f4023b62a0cbc20aa9b5d51c3 | refs/heads/main | 2023-03-31T11:15:22.156305 | 2021-04-07T09:16:29 | 2021-04-07T09:16:29 | 352,273,503 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,792 | h | // Copyright 2014 The Crashpad 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 ... | [
"zh_eastsun@163.com"
] | zh_eastsun@163.com |
20f97ca44fbc8b9eab4ca5eff4a85d2e2f4a1269 | 424db3d9cdeec381d9c59d1ae281e70daa5fbb52 | /GameApplication/src/XMLOptionsParser.cpp | 5ccd789a35d55b7fd9b73042b8fafd0a2ebae79f | [] | no_license | CameronWallace01/GP2BaseCode1617 | b08281e3824b8bede38c0bae077cfca66a22ec31 | 43877503c01136120141fcf8873491016d3f2e27 | refs/heads/master | 2021-01-12T15:09:11.809600 | 2016-07-19T21:27:44 | 2016-07-19T21:27:44 | 69,352,078 | 0 | 0 | null | 2016-09-27T11:59:31 | 2016-09-27T11:59:30 | null | UTF-8 | C++ | false | false | 1,646 | cpp | #include "XMLOptionsParser.h"
#include "tinyxml2.h"
#include "utils/Log.h"
using namespace tinyxml2;
XMLOptionsParser::XMLOptionsParser(const string& filename)
{
m_Filename=filename;
}
XMLOptionsParser::~XMLOptionsParser()
{
}
void XMLOptionsParser::parse(ProgramOptions &options)
{
//parse xml file, keep eleme... | [
"brian.mcdonald@gcu.ac.uk"
] | brian.mcdonald@gcu.ac.uk |
0c2c6b92bd791e1447e4960f38af45a8c7bfcac4 | 4dcc7fb1758e91fac49cddbb0e15f354e0a9355e | /LeetCode/cpp/458.poor-pigs.cpp | af45f9aab90c45805dfcc1e56674c64774cf640b | [] | no_license | Galibier/AlgoPractise | ac0d6c1b201f637e11bf683fa6197417f52aaf46 | e6138de6276e6b999da1ec44ec18effb13801a71 | refs/heads/master | 2021-07-18T16:11:12.665258 | 2021-05-18T17:53:57 | 2021-05-18T17:53:57 | 249,162,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | #include <cmath>
#include <iostream>
using namespace std;
class Solution {
public:
int poorPigs(int buckets, int minutesToDie, int minutesToTest) {
int states = minutesToTest / minutesToDie + 1;
return ceil(log(buckets) / log(states));
}
};
int main() {
Solution sol;
return 0;
} | [
"cx.sjtu@gmail.com"
] | cx.sjtu@gmail.com |
cde29440939e784ba5502ec6ba74e89032419d8c | bb82a5f977bef455714c16e24e2d8254e2d0faa5 | /src/vendor/cget/cget/pkg/chriskohlhoff__asio/install/include/asio/experimental/detail/channel_receive_op.hpp | ad3935777876fb13bcad508a2276e07d90acebb1 | [
"Unlicense"
] | permissive | pqrs-org/Karabiner-Elements | 4ae307d82f8b67547c161c7d46d2083a0fd07630 | d05057d7c769e2ff35638282e888a6d5eca566be | refs/heads/main | 2023-09-01T03:11:08.474417 | 2023-09-01T00:44:19 | 2023-09-01T00:44:19 | 63,037,806 | 8,197 | 389 | Unlicense | 2023-09-01T00:11:00 | 2016-07-11T04:57:55 | C++ | UTF-8 | C++ | false | false | 3,651 | hpp | //
// experimental/detail/channel_receive_op.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICE... | [
"tekezo@pqrs.org"
] | tekezo@pqrs.org |
907b82bc3a348a5bed37937b700dbfffa0491ff7 | e77ce0f53b884b573717b754ec858f7f28888fd2 | /C++CustomTemplate10.cpp | 008147543940b5dcf0f0f9c6806246c8eba1103f | [] | no_license | Karthik-Ragunath/competitive_programming | 8cbed182bfab93a5260c04e4245696f032e3a039 | 6ac627154756f43bf6b3759fb632262b034f4fd4 | refs/heads/master | 2022-03-11T09:12:24.110153 | 2022-02-16T17:31:08 | 2022-02-16T17:31:08 | 194,724,003 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
vector< pair< int, int > > vec(3);
vec[0] = make_pair(1,2);
vec[1] = make_pair(2,3);
vec[2] = make_pair(3,4);
for(auto iter = vec.begin(); iter != vec.end(); iter++)
{
cout << iter -> first << " " << iter -> second << " ";
}
... | [
"karthik@madstreetden.com"
] | karthik@madstreetden.com |
ed3b861f2b4180e25f8f3ba738c81b7c6e5e4f03 | 591df59d439e1d7cc630a6a5958e7a92c6bdaabc | /ui/component_creator/RecipeManager.cpp | 1ac47923806f8839d1c75ee630d1cebdcbacaf66 | [] | no_license | kjhgnkv/DSControl_17_09 | b929ef051d7a17705bc963c1bcda96badf860463 | 03957e8153e3852cbf026ec37bdac340a6b23f24 | refs/heads/main | 2023-08-02T19:20:05.527221 | 2021-10-01T14:59:20 | 2021-10-01T14:59:20 | 412,485,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,796 | cpp | #include "RecipeManager.h"
#include "BlankComponent.h"
#include "CppHeaderFrame.h"
#include "CmakeFrame.h"
#include "BndlspecFrame.h"
#include <QDomDocument>
//init function registry frame and recipe facotres
void RecipeManager::init()
{
_frameFactroyLibrary = new FrameFactroyLibrary();
_frameFactroyLibrary->registr... | [
"yingfanyz@gmail.com"
] | yingfanyz@gmail.com |
dd2dc834d764d1a7150886a4877fdf850ff251e6 | b7f1b4df5d350e0edf55521172091c81f02f639e | /chrome/browser/ui/views/payments/shipping_option_view_controller.cc | e5afb1605c758f35e18f7ae1831e2ba4999b2a10 | [
"BSD-3-Clause"
] | permissive | blusno1/chromium-1 | f13b84547474da4d2702341228167328d8cd3083 | 9dd22fe142b48f14765a36f69344ed4dbc289eb3 | refs/heads/master | 2023-05-17T23:50:16.605396 | 2018-01-12T19:39:49 | 2018-01-12T19:39:49 | 117,339,342 | 4 | 2 | NOASSERTION | 2020-07-17T07:35:37 | 2018-01-13T11:48:57 | null | UTF-8 | C++ | false | false | 4,040 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/payments/shipping_option_view_controller.h"
#include <memory>
#include "chrome/browser/ui/views/payments/payment_reque... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
41c5487dc93da3378eb68d1d479b6bf4459d31c1 | 051482d24cf3d5dbc4676ad0ce6ab32e64e968da | /MOGoap/Source/MOGoap/MOGoapCharacter.cpp | e5b82485b9c632181c5c8b6fa73f57aab7237ab5 | [] | no_license | Hengle/GoapSystem | ee449e4b9b7b9f71327ec46381cd4ba56a6d8072 | fd2699f4c98ffec968d31906161693e6a4551c48 | refs/heads/main | 2023-03-16T02:20:11.452675 | 2020-11-08T09:20:36 | 2020-11-08T09:20:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,584 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "MOGoapCharacter.h"
#include "HeadMountedDisplayFunctionLibrary.h"
#include "Camera/CameraComponent.h"
#include "Components/CapsuleComponent.h"
#include "Components/InputComponent.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "GameFramewor... | [
"longtao.chou@gmail.com"
] | longtao.chou@gmail.com |
68b1a9e5b89bd0cc55197545a186791413980771 | c5ae35042c43332674e64f6b8191d78ffc069c2a | /Client/jianghu/jhleitaiconfirm.cpp | e24a1544cf47916838d057ac9b2cee416121045e | [] | no_license | PubFork/DesktopXiuXian | 9d764cfe6aa16141021b7718ca296302080e4762 | 51c64245317eb6c445e3da7f277f8b040f071c25 | refs/heads/main | 2023-09-02T14:48:40.643147 | 2021-11-18T15:37:46 | 2021-11-18T15:37:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include "jhleitaiconfirm.h"
#include "ui_jhleitaiconfirm.h"
JHLeiTaiConfirm::JHLeiTaiConfirm(QWidget *parent) :
QDialog(parent),
ui(new Ui::JHLeiTaiConfirm)
{
ui->setupUi(this);
connect(&_timer,&QTimer::timeout,this,&JHLeiTaiConfirm::onTimerOut);
_timer.start(500);
}
JHLeiTaiConfirm::~JHLeiTaiCon... | [
"fu@ns.sc.cn"
] | fu@ns.sc.cn |
8de8d69696c9afabb458882b7f3bcc9aef17cafd | 96417cb7efc82be2eb44299155bac6c39fb20a5c | /BIA.Bridge/Application.cpp | 4e9024e4cd467aa91426c445dcfac211b7a28590 | [] | no_license | concierginho/BIA | 700fe20949822492ae98a0845491d23c29bf4274 | 4132d352b844b6151f9a86da786d856ed458a033 | refs/heads/main | 2023-04-09T09:56:58.223608 | 2021-04-15T15:33:30 | 2021-04-15T15:33:30 | 321,487,743 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | cpp | #include "pch.h"
#include "Application.h"
namespace BIA::Bridge
{
Application::Application()
{
}
Application::~Application()
{
}
Application::!Application()
{
}
void Application::SetHinstance(HINSTANCE& instance)
{
_instance = instance;
}
HINSTANCE Application::GetHinst... | [
"konradlenartmain@gmail.com"
] | konradlenartmain@gmail.com |
225cb5df76ed788f05ac9b9716bf2a5704433206 | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_Donkey_Steak_classes.hpp | 02702b677cbe60a2e0e1c55bc677ba5549155c39 | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | hpp | #pragma once
// Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace Classes
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Donkey_Steak.... | [
"65712402+Kehczar@users.noreply.github.com"
] | 65712402+Kehczar@users.noreply.github.com |
8d65840bcccfd8e35636ec2387760c5f2c788106 | 334195768bad0fc7d8b01b6b01c5039378c37e8d | /src/spinview.h | 044dfc7a64ba44d3720204c63e4b5c700b01e74a | [] | no_license | cran/mvgraph | 2aadf0159897cfbfce4ccf84e422ac056df827a7 | 3fdce7fe7f42225b6bf4d86ab0c31b7ed5e3048a | refs/heads/master | 2016-09-10T10:51:42.378846 | 2010-07-16T00:00:00 | 2010-07-16T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,786 | h | #ifndef SPINVIEW_H
#define SPINVIEW_H
#include <QWidget>
#include <QSize>
#include <QPoint>
#include <QCursor>
#include <QColor>
#include <QProgressDialog>
#include <QtOpenGL>
#include <QGLWidget>
#include "iconview.h"
#include "infowidget.h"
class Spinview : public QGLWidget {
Q_OBJECT
public:
Sp... | [
"csardi.gabor@gmail.com"
] | csardi.gabor@gmail.com |
92abcb4fc464804920c76b8c2e0db1504a702990 | fae07705406f17f3d70a06298b6164a7172b01c4 | /Novice/Standard Problems/Problem/Data Structure/Stack/ReduntantBraces.cpp | f2c790d948786acbd76927b6a42b0ba79f9dec74 | [] | no_license | sauravchaudharysc/Programming | a6131fa90f30ff87b5e01df531f13aa5b3bacd7e | 3861a6eb5c6c65ac11a18014d35ca8b7843e27b1 | refs/heads/main | 2023-04-19T20:52:45.215158 | 2021-05-08T17:32:42 | 2021-05-08T17:32:42 | 365,564,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,491 | cpp |
/*You are given an balanced expression. You have to find if it contains duplicate parentheses or not. A set of parentheses are duplicate if same subexpression is surrounded by multiple parenthesis.
Input Format
First line contains integer t as number of test cases.
Next t lines contains one balanced expression each.
... | [
"sauravchaudhary717@gmail.com"
] | sauravchaudhary717@gmail.com |
674ab31f9522088c3a2c6cc40ab4ba563d45b9c4 | 573b7f2b79b6fb8b21b40985f7639bc003b60f7e | /SDK/BP_Arbalet_Kord_classes.h | 5e84d3f04a79d62cf2b2336d504c818c21941f09 | [] | no_license | AlexzDK/SquadSDK2021 | 8d4c29486922fed3ba8451680d823a04a7b7fc44 | cdce732ad4713b6d7f668f8b9c39e160035efb34 | refs/heads/main | 2023-02-21T02:52:15.634663 | 2021-01-23T23:28:57 | 2021-01-23T23:28:57 | 332,328,796 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,946 | h | #pragma once
// Name: Squad, Version: 13-01-2021
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------... | [
"39485681+AlexzDK@users.noreply.github.com"
] | 39485681+AlexzDK@users.noreply.github.com |
5149677688b3ff725b5fa4442d99ea126c4e503f | a2f9618474d27a9898eaa424da4ce06abcc192e9 | /Manmeet Singh/HackerRank Ques/Q38.cpp | 836c1b45009685615905eecd49cc5fe8fb771ea1 | [] | no_license | kunal121/C-And-Cpp-Questions | 4299b1ec33b753c381aafd53c94d645b127c68af | af331cec311a5de8835177c16f000b63b5a162f2 | refs/heads/master | 2020-04-05T09:35:57.270507 | 2019-10-19T16:21:41 | 2019-10-19T16:21:41 | 81,636,991 | 12 | 18 | null | 2019-10-19T16:21:42 | 2017-02-11T07:05:20 | C++ | UTF-8 | C++ | false | false | 878 | cpp | #include <iostream>
using namespace std;
class Area_Figure
{
protected:
double dSide;
public:
Area_Figure(double a){dSide=a;};
virtual ~Area_Figure(){};
Area_Figure(){}
virtual float Surface(){return 0;};
virtual float Circumference(){return 0;};
};
class CSquare:public Area_Figure{
public:
CSquare(... | [
"singhmanmeet2222@gmail.com"
] | singhmanmeet2222@gmail.com |
ec6d44094ebfeeac70fa4cc4d4ac6ad6cdd99836 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14795/function14795_schedule_36/function14795_schedule_36.cpp | c6acac165f1b46d086e7d1293ba5cd202f9da5fe | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 727 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14795_schedule_36");
constant c0("c0", 256), c1("c1", 1024), c2("c2", 256);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i01("i01"), i02("i02"), i03("i03"), i04("i04"), i05("i05"),... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
0a1e62d6e4577c7443b1c9601f15e68afabdb570 | a9e9f1fc24d6b11ebb7b5900fddb2c4e778e9a11 | /Lab10/src/figure.cpp | 883e4e9e0d3bb4e88e97fff5b3d7b457a84a8fa5 | [] | no_license | Igor-Tukh/cplusplus | 82ea1ba45fbeeda67de2756fc45c05b20a9dac77 | f6040a68faf831e6fe525e708d723a09e330989c | refs/heads/master | 2020-04-05T22:56:12.924717 | 2017-05-10T16:27:34 | 2017-05-10T16:27:34 | 68,147,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | cpp | #include "figure.h"
Figure::Figure(int id, int x, int y){
this->id = id;
this->x = x;
this->y = y;
}
void Figure::move(const int new_x, const int new_y){
this->x = new_x;
this->y = new_y;
}
int Figure::get_id(){
return id;
}
Figure::~Figure() {}
| [
"igor-tukh@yandex.ru"
] | igor-tukh@yandex.ru |
23d5cd89f3e93b891e1006844aa5909cd5531e1c | e05e70cf88d1f8ed156e472266c67cb435188a70 | /arcade/intro/level-2/matrixElementsSum.cpp | d9c1ae3820f13c4386279f0731c4ca5c26805709 | [] | no_license | thiagodroz/code-signal | 90d1327cd0e5c6212d136437e2b9206315ed1c79 | e6f51f9cf79e95f27d2c99c153ba7b7fa37ba13a | refs/heads/master | 2020-03-26T17:54:25.017579 | 2018-08-21T04:35:55 | 2018-08-21T04:35:55 | 145,186,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | int matrixElementsSum(std::vector<std::vector<int>> matrix) {
int result {0};
for (int c = 0; c < matrix.at(0).size(); c++) {
for (int r = 0; r < matrix.size(); r++) {
if (matrix.at(r).at(c) == 0)
break;
result += matrix.at(r).at(c);
}
}
return result;
}
| [
"thiago.droz@gmail.com"
] | thiago.droz@gmail.com |
6a8848edae29616c0ac8640b8ec11ed2c9e3a951 | 84bb92e14a82e77db5a05c76346db6edd1369149 | /SDL2Game/source/map.cpp | 237b747f671208cd7b7a277e1a58ad214543ab66 | [] | no_license | Galileo2010/TmxMapSDL2 | d89031bbb527b45abd35ae4273c49b4c63d509b1 | 06719e6f06519fbe6189cbb6c1a1b0883c1b03ef | refs/heads/master | 2020-03-25T20:09:08.421186 | 2018-08-10T04:06:10 | 2018-08-10T04:06:10 | 144,117,707 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,165 | cpp | #include "map.h"
#include "exceptions.h"
#include "logger.h"
cc::Map::Map(const std::string& path, SDL_Renderer* renderer)
: cc::Object("", renderer)
, _path(path)
, _showGrid(false)
{
;
if(!this->_map.load(this->_path))
throw cc::Exception("Failed to parse map:", this->_path.c_str());
... | [
"15549070600@163.com"
] | 15549070600@163.com |
bc725d387a779b9c0742378dd53b47b09eb38740 | 117cc4c661077c6b2b70dcfb975a8215d59012d1 | /solutions/0380. Insert Delete GetRandom O(1)/0380.cpp | e0a41adfef23a770791aa2f2df0369f1d8929785 | [] | no_license | agboola6/LeetCode | a0e693ab627a0366b4046881de8d30039dd9a813 | fe7be0d57d99b1b8f0a7243b4161e1ca70e2763b | refs/heads/master | 2022-12-27T03:32:42.310866 | 2020-10-13T03:56:15 | 2020-10-13T03:56:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | cpp | class RandomizedSet {
public:
/** Inserts a value to the set. Returns true if the set did not already contain the specified element. */
bool insert(int val) {
if (valToIndex.count(val))
return false;
valToIndex[val] = vals.size();
vals.push_back(val);
return true;
}
/** Removes a value... | [
"walkccray@gmail.com"
] | walkccray@gmail.com |
42837951f69dba1605da2c1a81dc344e4cf8fee0 | 7190cd64cfbc166e191933f76a11a54136f3252b | /heap.cpp | 9cb8d37b24073de45b4b82f089255e41abb3388a | [] | no_license | AakanshaDhawan/algorithms | 487f84c89496e7db4c42817e609061d311414081 | 4a912ebaf634ab74b6339a4133ea1d09abb96ff3 | refs/heads/master | 2021-01-19T17:41:23.369199 | 2017-11-30T13:06:19 | 2017-11-30T13:06:19 | 101,084,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,678 | cpp | #include<stdio.h>
#include<stdlib.h>
long int* heapsort(long int*x1, int y);
long int* build_max_heap(long int*x1,int y);
long int* max_heapify(long int* x1, int y, int z);
int main()
{
int i,size;
printf("enter the no. of elements\n");
scanf("%d",&size);
long int*primary;
primary=(long int*)malloc(size... | [
"noreply@github.com"
] | AakanshaDhawan.noreply@github.com |
07eeb99ed200005be93d18115308061f7142aa95 | 5d6c856c7b2ce846f9e78ff4a9faff885d216433 | /Week-02/1. Primitive/Solutions/Manjeeta Maurya(GCS-1932033)/solution-03.cpp | 7f6b8edf1126b2172d79f72e54ee83288a8d2f6d | [] | no_license | SSDC-SLIET/practice | c285f8f6553a0f3a89f7c18d22d722ca06f9ccc1 | a77259450e4a9455c099265c99e4fd931178a5ce | refs/heads/master | 2021-07-23T20:57:41.702153 | 2020-07-19T15:13:31 | 2020-07-19T15:13:31 | 199,048,826 | 11 | 48 | null | 2019-09-01T13:50:19 | 2019-07-26T16:30:20 | Python | UTF-8 | C++ | false | false | 222 | cpp | #include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
for(int i=0;i<t;i++){
int n;
cin>>n;
int a[n];
for(int i=0;i<n;i++)
cin>>a[i];
for(int j=n-1;j>=0;j--)
cout<<a[j]<<" ";
cout<<endl;
}
return 0;
}
| [
"noreply@github.com"
] | SSDC-SLIET.noreply@github.com |
574b7f5a05405bbbd0df5dde2f98e07e8552be4c | 2f221b4831a6948a3e6a8e292606aff002235540 | /BattleTank/Source/BattleTank/TankTurret.cpp | 6ac66191097c274ce5d9ba94b50a20edde1aa2f3 | [] | no_license | Golden-Nuggs/BattleTank | 2e9bdf46a42fa0af038bef3940a337af7e838f0b | 013b11afa77d6439f33226333bafe79ea30930a5 | refs/heads/master | 2020-12-22T12:14:19.541509 | 2020-02-03T22:46:03 | 2020-02-03T22:46:03 | 236,775,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "TankTurret.h"
void UTankTurret::Rotate(float MoveSpeed)
{
MoveSpeed = FMath::Clamp(MoveSpeed, -1.f, 1.f);
float DeltaYaw = MoveSpeed * RotationSpeed * GetWorld()->DeltaTimeSeconds;
float NewYaw = GetRelativeRotation().Yaw + D... | [
"53103113+Golden-Nuggs@users.noreply.github.com"
] | 53103113+Golden-Nuggs@users.noreply.github.com |
8dde17d1e7fb289fa0ef9916e3125421bc3606fd | ad7a97fa53ee0fdd08fa72dfd5c2c6e076927f9e | /Laba13/Laba13/car.cpp | b85894fbfc63ada9c9d6556988e56b00de4c06e2 | [] | no_license | Gesendex/SPbCT_BulyninMA | 84f89964a0fe1711f013836c6ae106c37444cfb8 | be74ad8a9e8ca7402d4a612f91612e988f494623 | refs/heads/main | 2023-01-01T07:00:32.582337 | 2020-10-24T17:54:37 | 2020-10-24T17:54:37 | 307,394,848 | 1 | 0 | null | 2020-10-26T14:12:48 | 2020-10-26T14:12:48 | null | WINDOWS-1251 | C++ | false | false | 1,105 | cpp | #include "Car.h"
//конструктор без параметров
Car::Car(void)
{
mark = "";
cyl = 0;
power = 0;
}
//деструктор
Car::~Car(void)
{
}
Car::Car(string M,int C,int P)
{
mark = M;
cyl = C;
power = P;
}
Car::Car(const Car& car)
{
mark = car.mark;
cyl = car.cyl;
power = car.power;
}
//модификаторы
void Car::Set_cyl(int C)
{
... | [
"bulynin.misha@gmail.com"
] | bulynin.misha@gmail.com |
2f1fc3e687b4458901a3db2f9e56dd7bf22b4d05 | 396d1510005dc4feae4a2018f308c07e95a68cc9 | /setdialog.h | 19763cc56458051009f8e8e36ffe4d0b248d059d | [] | no_license | JarvistFth/ImageProcessQT | 947759c758e952a6f66dab855a421f36ea590c25 | 56322577a6256d711329ab6805538601a2cafee8 | refs/heads/master | 2020-03-18T23:34:00.449192 | 2018-05-30T08:22:38 | 2018-05-30T08:22:38 | 135,410,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | h | #ifndef SETDIALOG_H
#define SETDIALOG_H
#include <QDialog>
#include <QAbstractButton>
#include <QDoubleSpinBox>
#include <QSlider>
namespace Ui {
class SetDialog;
}
class SetDialog : public QDialog
{
Q_OBJECT
public:
explicit SetDialog(QWidget *parent = 0);
~SetDialog();
private slots:
void doubles... | [
"Jarvist@126.com"
] | Jarvist@126.com |
2e8cecba46fcf57de18f866af36e64de8bfd4bdc | 4e28aa755b1f5e2b8c25d13846efde9ede64e3d1 | /src/communicator.hpp | c516136d689c5e801293fcf759cf3114a8deb82f | [
"Zlib"
] | permissive | BadOPCode/Oblivion2-XRM | c6c787fbb05137c73d13f98a74bb5eb2bce1e5c2 | d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9 | refs/heads/master | 2022-01-25T19:09:24.797135 | 2020-08-17T09:04:18 | 2020-08-17T09:04:18 | 215,611,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,581 | hpp | #ifndef COMMUNICATOR_HPP
#define COMMUNICATOR_HPP
#include "data-sys/text_prompts_dao.hpp"
#include "model-sys/structures.hpp"
#include "model-sys/config.hpp"
#include "safe_queue.hpp"
#include "session_manager.hpp"
#include "common_io.hpp"
#include <algorithm>
#include <iostream>
#include <string>
#include <mutex>
... | [
"mrmisticismo@hotmail.com"
] | mrmisticismo@hotmail.com |
3971ae4528207656f432fb9ac3209d089e0772a6 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_18266.cpp | 33ef1b8980c2e2ee4c8326d4b1e4fec7a50ef26d | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | {
new_len = buf_avail;
matches_count = 0;
while (new_len > coder->matches[matches_count].len)
++matches_count;
coder->matches[matches_count++].len = new_len;
} | [
"993273596@qq.com"
] | 993273596@qq.com |
dc22912767d71ef616ea1135a03c2b8f262ef131 | 0f6abfdfce999eec62f8844e3bfa078faa4439e3 | /src/net.h | 077d9881db4a9507afe92e16335b921a1b057adf | [
"MIT"
] | permissive | romamaslennikov/straks | d77c03cc2be9d19e5cb3db7f1cbe3c8e4a54e0c7 | a68d73accc16b480a267b0f83ca9f8f34cd16f64 | refs/heads/master | 2021-05-14T11:25:47.264422 | 2018-01-04T23:55:47 | 2018-01-04T23:55:47 | 116,381,232 | 1 | 0 | null | 2018-01-05T12:08:39 | 2018-01-05T12:08:38 | null | UTF-8 | C++ | false | false | 26,758 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2017 The Dash developers
// Copyright (c) 2017 STRAKS developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php... | [
"squbs@protonmail.com"
] | squbs@protonmail.com |
327be75620d83d1089e0a82e38709d69f59843c6 | 10f4e13787cd66bec1e70fe833d4df3915877d8f | /lab1_polynomial/lab1_polynomial.h | dc970a5d871964125ed4cc072a2207b68ad39d0d | [] | no_license | AyrusCode/Polynomials | cdec53ba2a6526047cc8652f4d4c688d858d26e0 | 33436e6643b22a50e774071bf4ad99d260426378 | refs/heads/master | 2020-04-22T02:28:14.602826 | 2019-02-09T06:07:22 | 2019-02-09T06:07:22 | 170,050,456 | 0 | 0 | null | 2019-02-11T01:47:32 | 2019-02-11T01:47:31 | null | UTF-8 | C++ | false | false | 4,945 | h | // Tips for Getting Started:
// 1. Use the Solution Explorer window to add/manage files
// 2. Use the Team Explorer window to connect to source control
// 3. Use the Output window to see build output and other messages
// 4. Use the Error List window to view errors
// 5. Go to Project > Add New Item to ... | [
"noreply@github.com"
] | AyrusCode.noreply@github.com |
334e7d40884f819ae16501320434c4d9b5077389 | 5793be5223cb592233b8f967180c090b83795522 | /NbodyGravitation/ConfigFile.hpp | a2633adc65e3b866e8c0dfea4b753d53a0ebc4e7 | [] | no_license | AlexandraTchalakian/NumericalPhysicsProject | d009e82fc66d884ad4e268013731339d0f7d7546 | 493cc3384dbcd98896a1903c88ebacd370c57876 | refs/heads/main | 2023-04-03T03:17:10.883677 | 2021-03-28T14:19:20 | 2021-03-28T14:19:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | hpp | #ifndef TEST_CONFIGFILE_H_INCLUDED
#define TEST_CONFIGFILE_H_INCLUDED
#include <map>
using namespace std;
class ConfigFile{
public:
ConfigFile(const std::string& filename);
~ConfigFile();
template<typename T> T get(const std::string& key) const;
void process(const std::string& li... | [
"noreply@github.com"
] | AlexandraTchalakian.noreply@github.com |
6ab6f08e24844ca03ab4c9d561a604790179ed61 | e695d0ddeffa22aed711e72aacdbd88a950a5abb | /cf/18.9.17 r510 div2/F dfs+贪心.cpp | 19241ae347d3e682104b82a87ac9830acbe374f9 | [] | no_license | nNbSzxx/ACM | febe12eae960950bb4f03d0e14e72d54e66b4eee | e3994e292f2848b3fbe190b6273fdc30d69e887b | refs/heads/master | 2020-03-23T22:08:11.582054 | 2019-02-07T12:45:27 | 2019-02-07T12:45:27 | 142,155,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <vector>
using namespace std;
const int MAX = 1e6 + 10;
struct edge {
int v, nt;
} e[MAX << 1];
int head[MAX], cnte;
int n, k, deg[MAX];
int ans;
void add(int u, int v)
{
++ cnte;
e[cnte].v = v;
e[cnte].nt = head[u];... | [
"hpzhuxiaoxie@163.com"
] | hpzhuxiaoxie@163.com |
6212af9d6bb8c132fee54433a7fbdf724b94e1ad | 39240f11267b4ca816c039cb5fc63b0ec772fa87 | /PROJECT/PhysX-3.3/PhysXSDK/Samples/SampleFramework/renderer/src/RendererInstanceBuffer.cpp | 721c67a35fcb271caf8a6d17eaab29479ecc30df | [] | no_license | flylong0204/osgProjs | 39f34f177fce27847162c2e4d5d4ffa671e2ec60 | b7a113a1db345fe424721e0f261c54d054ec5996 | refs/heads/master | 2021-06-21T21:31:42.507231 | 2017-08-24T02:19:51 | 2017-08-24T07:54:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,593 | cpp | /*
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... | [
"lc@burun.com"
] | lc@burun.com |
81e8995b9a064f487922639d0217997effb1f81e | 7bd4506d1ef5b2e9d7049a716bc8dc0f1a0aeef4 | /UserCode/dsperka/wprimetb/test_theta/theta/utils/test/test-histogram.cpp | 1321a1d8e126ab96bebea1759708ffb8b1c59135 | [] | no_license | drankincms/David_bak | 1c9034fe009ef2a18ea203f1c2a6eeb817f37060 | 4c8deab24a38e776c7149e4518626c0108261113 | refs/heads/master | 2021-01-01T19:38:37.366848 | 2015-06-23T10:35:31 | 2015-06-23T10:35:31 | 22,979,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,900 | cpp | #include "interface/histogram.hpp"
#include "interface/histogram-function.hpp"
#include "interface/phys.hpp"
#include "interface/utils.hpp"
#include "interface/random.hpp"
#include "interface/exception.hpp"
#include <boost/test/unit_test.hpp>
#include <iostream>
using namespace std;
using namespace theta;
void che... | [
"drankin@bu.edu"
] | drankin@bu.edu |
ac1183a0d6c5bbb9f4a380fa9cf5b0071a794761 | 0893368c6bc9da5569d54adc57a2545da756e0f8 | /Tools/Toolset/dep/co/base/fastream.h | 98478da55adc340c410bc241788a1b405f74a815 | [
"MIT"
] | permissive | BPXXX/Kursk | f14d5b574071efc080e5e70e98cd0c1fd39a2e6a | dd3c8dab04e3cd568ad6c4526e7ca790acfaedf1 | refs/heads/master | 2022-12-26T15:11:15.475188 | 2020-07-12T13:17:29 | 2020-07-12T13:17:29 | 279,060,811 | 1 | 0 | null | 2020-10-13T23:30:28 | 2020-07-12T12:34:14 | C | UTF-8 | C++ | false | false | 6,202 | h | #pragma once
#ifdef _WIN32
#pragma warning (disable:4624)
#endif
#include "fast.h"
#include "fastring.h"
#include <assert.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <string>
#include <new>
class fastream {
public:
explicit fastream(size_t capacity = 32) {
... | [
"1281004573@qq.com"
] | 1281004573@qq.com |
44207737aac6eae4dd99e6269f68f03b620edbf0 | 96d047708032427be45c3fa07b1614e46dde864d | /src/Engine/Animation/Bone.cpp | 23c070e5a0990fd44993f8e5aa61b4f48420b775 | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | Chainsawkitten/Deathcap | cd6a68816182ba811aeb8319a00d00d6b45f459e | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | refs/heads/master | 2021-09-11T21:13:39.476678 | 2018-04-12T11:47:16 | 2018-04-12T11:47:16 | 101,864,822 | 0 | 1 | MIT | 2018-04-12T11:47:17 | 2017-08-30T09:44:43 | C++ | UTF-8 | C++ | false | false | 1,391 | cpp | #include "Bone.hpp"
#ifdef USINGMEMTRACK
#include <MemTrackInclude.hpp>
#endif
using namespace Animation;
Bone::~Bone() {
if (rotationKeys != nullptr)
delete[] rotationKeys;
if (rotations != nullptr)
delete[] rotations;
}
void Bone::Save(std::ofstream* file) {
file->write(reinterpret_ca... | [
"ludvig.arlebrink@outlook.com"
] | ludvig.arlebrink@outlook.com |
8448166ff2b5f882da8bea29b5aa1e5e95989955 | ad08242a535c95f18d91b750bd9572ea41988782 | /Codeforces/726/E1/main.cpp | ae3fa7039d2237b6a937943f6a27483cd7f0747b | [] | no_license | AnhDungDoan/UIT-ALGO-BOOTCAMP | 1ef981b2ed26ae0db5a1acca86bac14e5f2e8d9d | bbe4f6fc7081b17e24395852f09666eb2e84d2b0 | refs/heads/master | 2023-07-17T20:06:37.096454 | 2021-08-25T13:51:13 | 2021-08-25T13:51:13 | 366,372,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 968 | cpp | /*
author: gnudnaod
create: ..............
*/
#include <bits/stdc++.h>
#define F(i,a,b) for (int i = a; i <= b; i++)
#define _F(i,a,b) for (int i = a; i >= b; i--)
#define ll long long
#define pb push_back
using namespace std;
const int maxn = 5100;
int n, k;
char s[maxn], ans[maxn];
char text[maxn];
void solve(... | [
"khongphaidoandung@gmail.com"
] | khongphaidoandung@gmail.com |
8916b8c5267f0c5cb487d13c64cddc836264819c | bb2343701a817dd6a038e8825bfb1f2797aa91c3 | /src/bounding_box.cpp | 702dc7426ea9aebfd72cbbc02ddb18bc3fee51bd | [] | no_license | hpaugam33/kinect_scan | c3a5f60240a5c3a8e01f7d2aaa78734716f81aa1 | 4bd4f82de5c03cc60d547874f803142376ec4f0b | refs/heads/master | 2020-04-12T11:39:12.915784 | 2018-12-19T17:35:30 | 2018-12-19T17:35:30 | 162,466,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,141 | cpp | #include <iostream>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/filters/crop_box.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/common/common.h>
#include <ros/ros.h>
// PCL specific includes
#include <sensor_msgs/PointCloud2.h>
#include <pcl_conversions/pcl_conversions.h>
#i... | [
"hugo@hugo-Ubuntu16.04"
] | hugo@hugo-Ubuntu16.04 |
7f7f59ff5573baab9107bb191cb3d1b89b27c0e7 | 9ac56ff5b745fdebf34083ac113c577a8b120aa3 | /src/game/server/ai_behavior_follow.cpp | bee3c76559007f09547d93483bca0eefe122d5ed | [] | no_license | FriskTheFallenHuman/swarm-sdk-template | 16e8e29edb9a19ecd1b38ededcc31fb1f6653ae1 | a6e6bf7fcbe5b93b5e5fc4ad32944022dae27f90 | refs/heads/master | 2023-01-13T17:23:32.693199 | 2020-11-11T00:44:59 | 2020-11-11T00:44:59 | 38,081,794 | 8 | 3 | null | 2020-11-11T00:45:00 | 2015-06-26T00:32:09 | C++ | WINDOWS-1252 | C++ | false | false | 87,901 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "tier1/utllinkedlist.h"
#include "bitstring.h"
#include "utlvector.h"
#include "ai_navigato... | [
"kosire.dk@gmail.com"
] | kosire.dk@gmail.com |
417ac42ad61c7ae8040979e9c375caa7cd590e6b | 5e274ad2fbf7829245c0820b61deebc4479ed546 | /시간계산/시간계산/main.cpp | ea42910042d4555fef8629953018b0c6fd1d2a8f | [] | no_license | DaEunKim/ClassCpp | 0d693b7372508bcc8201c47a3a10de8830a63e6c | b4648f22e68e093898573287736299ae61f272a9 | refs/heads/master | 2021-01-18T19:57:23.471846 | 2017-06-19T08:26:50 | 2017-06-19T08:26:50 | 86,922,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,623 | cpp | //
// main.cpp
// 시간계산
//
// Created by 김다은 on 2017. 3. 7..
// Copyright © 2017년 김다은. All rights reserved.
//
#include <iostream>
#include <cstdlib>
#include <fstream>
using namespace std;
int main(void){
ifstream inStream;
inStream.open("/Users/Dani/Documents/111Coding/C++class/시간계산/시간계산/input.txt"... | [
"ekdms717@kookmin.ac.kr"
] | ekdms717@kookmin.ac.kr |
9c4d74bb66e3d26bd64464260b650c7aabd34669 | f3d628043cf15afe9c7074035322f850dfbd836d | /codeforces/DIV2_676/b.cpp | 2f795b07caade25fd5b172143751c83cedff65db | [
"MIT"
] | permissive | Shahraaz/CP_S5 | 6f812c37700400ea8b5ea07f3eff8dcf21a8f468 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | refs/heads/master | 2021-07-26T13:19:34.205574 | 2021-06-30T07:34:30 | 2021-06-30T07:34:30 | 197,087,890 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,345 | cpp | // Optimise
#include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "/home/shahraaz/bin/debug.h"
#else
#define db(...)
#endif
using ll = long long;
#define f first
#define s second
#define pb push_back
#define all(v) v.begin(), v.end()
const int NAX = 2e5 + 5, MOD = 1000000007;
void solveCase()
{
in... | [
"shahraazhussain@gmail.com"
] | shahraazhussain@gmail.com |
17dae5ce3b9f77abdc6a4920e7bb9a559c9886f7 | 7fccc936fdda934add00b3f6a23b93b3345698e3 | /src/qt/optionsmodel.cpp | 85e21abea4fd1cb23ea6c4500fa5061cab356131 | [
"MIT"
] | permissive | Safranil/transcendence | 7fa488d6c6c679a5e29f4568194e01ca4661956e | d230acbfc4b8ae16ad9ff8f255c5d95abed817bd | refs/heads/master | 2020-07-24T12:05:08.497926 | 2019-12-01T11:16:00 | 2019-12-01T11:16:00 | 207,920,232 | 0 | 0 | MIT | 2019-09-11T22:52:01 | 2019-09-11T22:52:01 | null | UTF-8 | C++ | false | false | 15,763 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#incl... | [
"mobiledevman07@gmail.com"
] | mobiledevman07@gmail.com |
3ae9a8b11b3576152b1d61253610e5ee4eb1f270 | 63ced832c3b484b58eca78037e0c116c0bd8f986 | /LinkedList.cpp | 0ce269e3beb873ad43967a396962119a2e8a6c43 | [] | no_license | aunabdullah/Assignment-1-Aun-Abdullah | 3928e4563c1f1a4c4056174dd8bdc23d81729c2b | 9c44545cb3772481122dc8a3584a51b65e2a30e9 | refs/heads/master | 2020-09-01T18:17:20.515595 | 2019-11-01T16:43:05 | 2019-11-01T16:43:05 | 219,024,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,751 | cpp | #include <iostream>
using namespace std;
struct node
{
int data;
node*next;
};
class list
{
private:
node*head, *tail;
public:
list();
void createnode(int value);
void display();
void insert_start(int value);
void insert_position(int pos, int value);
void delete_first();
void delet... | [
"noreply@github.com"
] | aunabdullah.noreply@github.com |
fb0a8f4f223f918ba96658bf75b3c9d88bbb9d53 | fec81bfe0453c5646e00c5d69874a71c579a103d | /blazetest/src/mathtest/operations/smatdmatmult/MCaSLDb.cpp | a9130e4281d8d76f33fc6da4e415541c68523108 | [
"BSD-3-Clause"
] | permissive | parsa/blaze | 801b0f619a53f8c07454b80d0a665ac0a3cf561d | 6ce2d5d8951e9b367aad87cc55ac835b054b5964 | refs/heads/master | 2022-09-19T15:46:44.108364 | 2022-07-30T04:47:03 | 2022-07-30T04:47:03 | 105,918,096 | 52 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 4,628 | cpp | //=================================================================================================
/*!
// \file src/mathtest/operations/smatdmatmult/MCaSLDb.cpp
// \brief Source file for the MCaSLDb sparse matrix/dense matrix multiplication math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserv... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
66e92a72f903613e2e8334ff2c7a6f799cff3eb2 | b637dea49d3d67a5a7c4f7a012c5208ea0478ee6 | /old/script/abc083c.cpp | 584b65b1af5636e209d678762e82b465e9db2fba | [] | no_license | orca37/atcoder | 0797a3ef14d7c962e3e8456cab138557bd93c0b2 | 71f9ff28e083a78112f628ff8214ab50bfa13a09 | refs/heads/master | 2021-07-25T11:43:36.602752 | 2020-04-23T16:38:55 | 2020-04-23T16:38:55 | 157,965,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | #include<iostream>
#include<string>
#include<vector>
#include<iomanip>
#include<algorithm>
#include<queue>
#include<stack>
#include<map>
using namespace std;
#define ll long long
int main(){
ll a,b;
cin >> a >> b;
ll ans=0;
while(a<=b){
a=2*a;
ans++;
}
cout << ans;
return 0;
}
| [
"22870342+orca37@users.noreply.github.com"
] | 22870342+orca37@users.noreply.github.com |
5b386f255164289f9faf9e2a37a0f4fdbcdea049 | 8e9379271f8ca05b79a9dea0e25ba82c8e8b51a8 | /socket.h | 995e9a47f1c1ba5360308d54a68a55cf5a736f86 | [] | no_license | wsx92/rpc | ffff39dcbea1feb3c976378e06fb95f181d056bb | 2c32b1f6fd611c825860d90c3640432f86ced5f4 | refs/heads/master | 2021-05-08T18:48:14.478495 | 2018-02-04T14:39:51 | 2018-02-04T14:39:51 | 119,537,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | h | #include<atomic>
#include<map>
#include"iobuf.h"
class Socket {
public:
Socket();
static int StartInputEvent(int fd, uint32_t epoll_events);
static int Create(int fd);
static std::map<int, Socket*> _socket_map;
ssize_t DoRead(size_t size_hint);
static void* ProcessEvent(void* arg);
int ResetFileDescri... | [
"543993160@qq.com"
] | 543993160@qq.com |
6988cc74820080f186f6794ef2b8d480d2f1a1b6 | 9b553bbfc8b0807d7f860964d6044d6ccf6d1342 | /rel/d/a/e/d_a_e_ms/d_a_e_ms.cpp | 959e88d2e3b53a43d76ef689bbd27a3c2b7ec90d | [] | no_license | DedoGamingONE/tp | 5e2e668f7120b154cf6ef6b002c2b4b51ae07ee5 | 5020395dfd34d4dc846e3ea228f6271bfca1c72a | refs/heads/master | 2023-09-03T06:55:25.773029 | 2021-10-24T21:35:00 | 2021-10-24T21:35:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,292 | cpp | //
// Generated By: dol2asm
// Translation Unit: d_a_e_ms
//
#include "rel/d/a/e/d_a_e_ms/d_a_e_ms.h"
#include "dol2asm.h"
#include "dolphin/types.h"
//
// Types:
//
struct request_of_phase_process_class {};
struct mDoMtx_stack_c {
/* 8000CD9C */ void transM(f32, f32, f32);
/* 8000CE38 */ void scaleM(f32, f... | [
""
] | |
32c93d56356f8f9d7ef19a9dc2ac5f124802914b | e5e1cb377800788960377842db4ab5f92e2559d7 | /chip.cpp | b683b082aa5e3ec1367fa3e4886e106c69e9998e | [] | no_license | jaikgp/interncodes | f69de71cdb72d8e1601d70abb3fa5c7e818041f1 | 7e4cdb243f9b35fdf12a9f893339bb2ec89af179 | refs/heads/master | 2021-01-09T20:41:52.272133 | 2016-07-08T12:24:09 | 2016-07-08T12:24:09 | 62,887,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include <iostream>
#include <math.h>
#include <iomanip>
using namespace std;
int main()
{
int t;
cin >> t;
int orgt=t;
while(t--)
{
double resu,n;
cin >> n;
resu=4.0*((double)pow(n,2))+(1.0/4.0);
cout << "Case " << orgt-t << ": " << setprecision(50) << resu << endl;
}
}
| [
"ubuntu@ip-172-31-17-65.ap-southeast-1.compute.internal"
] | ubuntu@ip-172-31-17-65.ap-southeast-1.compute.internal |
402374751ecd02b6762efd5e67f334cfbe97881a | fe06d8a5ed895eba6231fbb5441a19938ffafe53 | /google/protobuf/field_mask.pb.h | ecaba1479f8e623fe591058d4eec489f5c3a563a | [] | no_license | Esther-99/Trajectory-Planning | f2c863368252ad41fd6c5251a73ca84d69ee7440 | 1741033fdd29ee2be8be6021f9b361852133789c | refs/heads/master | 2021-01-03T18:23:17.412165 | 2020-02-13T06:35:46 | 2020-02-13T06:35:46 | 240,190,147 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 12,336 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/field_mask.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ffield_5fmask_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ffield_5fmask_2eproto
#include <limits>
#include <string>
#include <google/protobuf/por... | [
"lemon199907@gmail.com"
] | lemon199907@gmail.com |
5b87bf50f367b68a8dd7e3ce931d8e9cd137b1a6 | 758e144a4915e5a4a76699d284e64ef8c6382c01 | /VrAppFramework/Src/OVR_Stream_Impl.h | 357c0f1f5bf50294ca1d85d73574926010d29a35 | [
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | drewwebster/lovr-oculus-mobile | 32c9489e39a228d91765af91529385b310813c62 | 9c0dd9c44829b75bc088d4d014a77c57ef245417 | refs/heads/master | 2020-11-29T04:53:30.035460 | 2019-10-15T20:26:15 | 2019-10-15T20:26:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,283 | h | /************************************************************************************
Filename : OVR_Stream_Impl.h
Content : Implementations of file streams classes.
Created : July 2, 2015
Authors : Jonathan E. Wright
Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. ... | [
"andi.m.mcclure@gmail.com"
] | andi.m.mcclure@gmail.com |
3f4f2c7bb74578eeb4e44722dcbe5b5c3eb3036c | ddcadc460cd2ced213396de76fcc53f61866998b | /Tutorial Projects/00 Blueprints to C++/BP to C++ - Course Project Files/06 UPROPERTY Exposing Variables/BlueprintsToCpp/Source/BlueprintsToCpp/Quests/QuestManager.cpp | 197d0c862d4e4811490b00bfe5affdd08eb4baf4 | [
"MIT"
] | permissive | mukobi/Unreal-Engine-Learning | 8ae3f35567cf2ddb6f8bbfd2ce94d5a243768ed1 | 90048cd46342ffb8e9c5b9e80c022fafbe547ae8 | refs/heads/master | 2022-11-01T13:18:01.291717 | 2020-06-15T00:53:06 | 2020-06-15T00:53:06 | 271,365,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "QuestManager.h"
// Sets default values
AQuestManager::AQuestManager()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
... | [
"gabrielmukobi@gmail.com"
] | gabrielmukobi@gmail.com |
dba5e890cef40da6c4e667ea136368c2424111c8 | a4c3e0d7c90ed722b34c072739d26d66a20d0ab5 | /Labirynth/Library/Il2cppBuildCache/Android/armeabi-v7a/il2cppOutput/lumpedcpp/Lump_libil2cpp_vm-utils.cpp | f044075692ea788b829b14657c57716982475487 | [] | no_license | CashmereOgre/LabirynthVR | b277bba2e53d6b2b2dcbf26714921d4e91c108ab | 7f089a32a74327df1ea4daebde07f2c243db21cf | refs/heads/main | 2023-09-01T07:16:03.289603 | 2021-09-17T12:06:12 | 2021-09-17T12:06:12 | 407,224,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | cpp | #include "il2cpp-config.h"
#include "D:\Unity\2020.3.18f1\Editor\Data\il2cpp\libil2cpp\vm-utils\BlobReader.cpp"
#include "D:\Unity\2020.3.18f1\Editor\Data\il2cpp\libil2cpp\vm-utils\Debugger.cpp"
#include "D:\Unity\2020.3.18f1\Editor\Data\il2cpp\libil2cpp\vm-utils\NativeDelegateMethodCache.cpp"
#include "D:\Unity\2020.3... | [
"43883388+CashmereOgre@users.noreply.github.com"
] | 43883388+CashmereOgre@users.noreply.github.com |
95f7da295f6fdc97529ccf2e081471c1811a7722 | 9f81d77e028503dcbb6d7d4c0c302391b8fdd50c | /google/cloud/compute/region_ssl_certificates/v1/internal/region_ssl_certificates_rest_stub.cc | 1e4dd7aeef20d3714bf97d552c360efcae128f8b | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | googleapis/google-cloud-cpp | b96a6ee50c972371daa8b8067ddd803de95f54ba | 178d6581b499242c52f9150817d91e6c95b773a5 | refs/heads/main | 2023-08-31T09:30:11.624568 | 2023-08-31T03:29:11 | 2023-08-31T03:29:11 | 111,860,063 | 450 | 351 | Apache-2.0 | 2023-09-14T21:52:02 | 2017-11-24T00:19:31 | C++ | UTF-8 | C++ | false | false | 8,488 | cc | // Copyright 2023 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"noreply@github.com"
] | googleapis.noreply@github.com |
cc28b345a0f64f11fc7627e5d531340f6dfffe0b | 09907daaa32f79743ada4901d5de178932ab117d | /LIB/TMRLIB/TimerEvent.cpp | cae7a58bccfa6337460ef7eac36fcaddfed178f8 | [] | no_license | Ntels-sup/SRC_ATOM_BE | 64c6923d78e1db66cdd87dbf0c6f89d8f35db71e | cd9dc2d92314c20f4840b395761ea610bf28188e | refs/heads/master | 2021-01-19T06:27:42.768707 | 2016-06-14T00:23:05 | 2016-06-14T00:23:05 | 59,884,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | cpp | #include "TimerEvent.hpp"
TimerEvent::TimerEvent(UINT type) : Timer(type)
{
prevTick = GetCurTick();
entry = new TimerEntry[TIMER_MAX_ENTRY];
}
TimerEvent::~TimerEvent()
{
delete entry;
}
TimerNode* TimerEvent::Start(ULONG expTm, UINT event, VOID *data)
{
ULONG expTick = 0;
UINT idx = 0;
TimerNode *node = N... | [
"kslee@ntels.com"
] | kslee@ntels.com |
97dc42e739ac50c817629d9a2595899e6b032ed7 | 6851fcc253d39350e13b92b051e93df6fded8ac2 | /practice/8.cpp | a39c17bf9094d66ef32f6ce6015e237d629377ef | [] | no_license | shamanth-ch/webholes | 50988e64ca541ba563cfd31f578473c2e78c6736 | f10347c947102068c97dfaafe7a53d43ec205951 | refs/heads/main | 2023-05-07T18:34:12.512312 | 2021-06-02T16:00:21 | 2021-06-02T16:00:21 | 365,740,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int arr[5][5],ans=0;
for(int i=0;i<5;i++)
{
for(int j=0;j<5;j++)
{
cin>>arr[i][j];
}
}
for(int i=0;i<5;i++)
{
for(int j=0;j<5;j++)
{
if(arr[i][j]==1)
{
... | [
"shamanthdaffodils@gmail.com"
] | shamanthdaffodils@gmail.com |
0fada074d2bf477315a162929ca82658e6be91ad | bc1c43d7ebb8fbb23d022f1554e1639285f276b2 | /osl/core/osl/move_classifier/kingOpenMove.h | 8b9e521b3d2344fd50061814e9aae12f30b8f6f9 | [] | no_license | ai5/gpsfish | d1eafdece0c7c203c32603892ff9263a8fbcba59 | b6ed91f77478fdb51b8747e2fcd78042d79271d5 | refs/heads/master | 2020-12-24T06:54:11.062234 | 2016-07-02T20:42:10 | 2016-07-02T20:42:10 | 62,468,733 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,237 | h | /* kingOpenMove.h
*/
#ifndef OSL_MOVE_CLASSIFIER_KING_OPEN_MOVE_H
#define OSL_MOVE_CLASSIFIER_KING_OPEN_MOVE_H
#include "osl/move_classifier/classifierTraits.h"
#include "osl/numEffectState.h"
namespace osl
{
namespace move_classifier
{
/**
* Pの王をopen checkにする手でないことをチェック.
* - P==move playerの時は自殺手かど... | [
"taibarax@gmail.com"
] | taibarax@gmail.com |
125e2222ed23668494c674581e353ee32c06a75e | b493c79f88b4d37dd4886a687c0b3652a9ba52dd | /src/Button.cpp | 4d97b272b76a45f4e2922ef211b71718ec37bddd | [] | no_license | DhruvBandaria/WebGameProgrammingAssignment2 | 1ad288436a27c0c452f68058d81b58161e81e2b9 | 76288ffb5232a705265258f7df14b9ca91d2a075 | refs/heads/master | 2021-05-18T20:50:11.048992 | 2020-04-02T22:51:06 | 2020-04-02T22:51:06 | 251,413,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,445 | cpp | #include "Button.h"
#include "Game.h"
Button::Button(std::string imagePath, std::string buttonName, GameObjectType type, glm::vec2 position, bool isCentered) : m_name(buttonName), m_isCentered(isCentered), m_alpha(255)
{
TheTextureManager::Instance()->load(imagePath,
m_name, TheGame::Instance()->getRenderer());
... | [
"dhruvbandaria@hotmail.com"
] | dhruvbandaria@hotmail.com |
cefb4024e0ee1a7df749321b44dde96448a74046 | 6a881bd00b282e36606a6ae286e06b0dc304c7ea | /DirectX/Component/Game/Player/BulletShooter.h | 6664785b5fd7fa7ee85863342db1ffc559af1f12 | [] | no_license | soelusoelu/U22 | 4888aae858991a97bddd924b84a92857e14e1938 | 7456dbbbbff272f8523e2122917bdbfa9cf74e2c | refs/heads/master | 2023-08-14T13:25:22.355532 | 2021-09-09T08:45:04 | 2021-09-09T08:45:04 | 365,081,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,402 | h | #pragma once
#include "../PlayerEnemyCommon/IShotRaySetter.h"
#include "../../Component.h"
#include "../../../Collision/Collision.h"
#include "../../../Device/Function.h"
#include <functional>
#include <memory>
class GameObject;
class Camera;
class SkinMeshComponent;
class SoundComponent;
class HitPoint;
class Time;... | [
"llmn.0419@gmail.com"
] | llmn.0419@gmail.com |
a9923a5829deda38df4e2e38d8f13daa8dac9470 | 6eacd319c941791908c6c1821146dd2847ad7900 | /TichDaThuc.cpp | c5d2dfab88fe3ace769f03b5013ab869af966e02 | [] | no_license | m10barcp1/Algorithsm-DS | 8c00e5a664472696d46406438c794c8ecb3a386b | 1c764d39b1c9215f87d2a1f6dc326f6cb7e7978a | refs/heads/main | 2023-06-28T00:32:24.454538 | 2021-07-26T05:44:01 | 2021-07-26T05:44:01 | 373,788,604 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 601 | cpp | #include<bits/stdc++.h>
using namespace std;
int c[1000005];
void solve(){
int m,n;
cin>>m>>n;
int a[m],b[n];
for(int i = 0; i < m; i++) cin>>a[i];
for(int i = 0; i < n; i++) cin>>b[i];
int maxx = m+n;
for(int i = 0; i < m+n; i++) c[i] = 0;
for(int i = 0; i < m ... | [
"m10barcp1@gmail.com"
] | m10barcp1@gmail.com |
d7212c19b8f0692308080aafe72a1b61d9d528ae | a181e4c65ccef369d4ab7e182e2818aa622debc1 | /yact/dosbox_emu/setup.cpp | c3600e3f63328a264040451ffe06bd7d8d7341ac | [] | no_license | c1p31065/Win86emu | 259c32eb5bac1ed9c4f5ceebe2ca0aa07fdf4843 | 71c723fcab44d5aae3b6b3c86c87154ad3c4abb5 | refs/heads/master | 2021-12-02T18:24:51.564748 | 2014-02-06T14:12:11 | 2014-02-06T14:12:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,152 | cpp | /*
* Copyright (C) 2002-2010 The DOSBox Team
*
* 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 later version.
*
* This p... | [
"saberconer@gmail.com"
] | saberconer@gmail.com |
6ab828078d7b3f041c7afd7065390fc7c760261a | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /6381/Sharipova/2/лр2.cpp | cecf83b9fcb5775f0dcfba48ece138fa13f6d867 | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 11,613 | cpp | // ConsoleApplication1.cpp: определяет точку входа для консольного приложения.
//
#include "stdafx.h"
#include <iostream>
#include <cmath>
#include <conio.h>
class Shapes
{
protected:
static int count;
int color;
float left_x, left_y, right_x, right_y;
Shapes() { count++; }
public:
virtual ~Sha... | [
"noreply@github.com"
] | moevm.noreply@github.com |
c7f8e187c6888baa017a4b5dbbb66a6b655e40e6 | 81f2b85a9542b8fd365b44d0caa39f2fb6f8e122 | /leetcode/Array/Pascal's Triangle II/main.cpp | d8d2b4c4a012d4e33df0f9d4f539809a4b92b838 | [] | no_license | setsal/coding | c66aa55e43805240c95e1c4f330f08b0fb0df7ba | 7ee094b8b680107efe88a0abb3aba5c18d148665 | refs/heads/master | 2023-08-26T20:03:03.723747 | 2021-09-24T18:04:14 | 2021-09-24T18:04:14 | 298,565,963 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | cpp | class Solution {
public:
vector<int> getRow(int rowIndex) {
// initial
vector<int> res;
// first element
res.push_back(1);
if ( rowIndex == 0 ) return res;
// second element
res.push_back(1);
if ( rowIndex == 1 ) return res;
int... | [
"contact@setsal.dev"
] | contact@setsal.dev |
d38a06b684136d10c1b18ba1704c49a6cd9f3616 | 5c68c8c058917b76f43f02a40f0c6e1a7f3c20fe | /src/designer/deditcommand.cpp | 5423ecb3e4bfcce668162476c7cd5e9e96960e37 | [] | no_license | app/ananas-labs-qt4 | 388d7046abc35f70776d1ef00b0a2c9945733066 | 197abe41bed277cadb72af06ea3c5d8465e7be5a | refs/heads/master | 2020-05-17T02:54:20.073166 | 2009-05-25T16:37:41 | 2009-05-25T16:37:41 | 93,703 | 6 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 6,308 | cpp | #include "deditcommand.h"
#include <qvariant.h>
#include <qimage.h>
#include <qpixmap.h>
#include <qstatusbar.h>
#include <q3header.h>
//Added by qt3to4:
#include <QPixmap>
#include "acfg.h"
//extern aCfg cfg;
/*
* Constructs a dEditCommand as a child of 'parent', with the
* name 'name' and widget flags set to ... | [
"apaskal@gmail.com"
] | apaskal@gmail.com |
8ea5aff6cd10edfb1c85cda47beb2127a1010c0b | bdcd0020d1159e23894a2e0f0fbb679ec14736d6 | /src/general-algorithms/rmq-II.cpp | d4358391128111eccf375d1bdbce7af34be1bf54 | [] | no_license | joseraulperezrodriguez/algorithms-and-datastructures | 6e9f8c1233c3e38477d92c6b615c0e7231a007b7 | e69503dcd41e2d82139726ea4e5bf974f0f6227b | refs/heads/master | 2020-03-26T20:13:08.506668 | 2019-09-14T21:58:28 | 2019-09-14T21:58:28 | 145,311,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | cpp | /*
koder : melkor
TASK : Range Minimum Query Problem: Given a sequence S of real numbers,
RMQ(i,j) returns the index of the element in S[i...j] with
smallest value.
Performance:
Initialize STree --> O(N)
Answer query --> O(log N)
*/
#include <cstdio>
#define LGN ... | [
"joseraul.perezrodriguez@gmail.com"
] | joseraul.perezrodriguez@gmail.com |
96bb61b201f7b91d625c6e5df3e0bfd693b77d6c | 0a6955434267a94c5aceffa3cbdaed4412f5f58e | /raster-cli/src/images/PPM.cpp | 348e2d1dd84b62942419846fcb9568e7734f1b0b | [] | no_license | chef-cats/raster-cli-2 | 97d73da92ef3681fb711eb478e1160ae4f18ae25 | 3fe97d77636d7b52dad951ac95631177aec885dd | refs/heads/master | 2020-06-05T12:25:16.369669 | 2019-07-01T22:29:20 | 2019-07-01T22:29:20 | 192,438,144 | 0 | 0 | null | 2019-07-02T00:15:53 | 2019-06-18T00:40:41 | C++ | UTF-8 | C++ | false | false | 2,855 | cpp | #include <images/PPM.hpp>
#include <operations/Operation.hpp>
#include <utils/Formatter.hpp>
PPM::PPM(const std::string& file_name) : NetpbmWithMaxValue(file_name) {}
void PPM::apply(const Operation& operation) {
operation.apply_to(*this);
}
/**
* throws std::logic_error - if some of the data is not loaded.
*/... | [
"nikolowa.yoanna@gmail.com"
] | nikolowa.yoanna@gmail.com |
8116a56bb5b23b25dbb2fbb59ba836311161d6f8 | 2d523026df010e3e234cd8c76a04f5c12a8a4418 | /DirectSound/voicemanagement/voicemanagement.cpp | 856c273388b9a91151d73f64063b470f3308eb1b | [
"MIT"
] | permissive | cedarz/directx-sdk-legacy-samples | 45479be0e5c17ac0940b5b5fd3874011b00033ed | e72af93b5c64e59e39e76030dcbbec0cf54acf3b | refs/heads/main | 2023-03-27T03:09:42.638484 | 2021-04-03T18:27:18 | 2021-04-03T18:27:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,666 | cpp | //----------------------------------------------------------------------------
// File: VoiceManagement.cpp
//
// Desc: Main application file for the VoiceManagement sample.
//
// This legacy sample tries to use DSBPLAY_LOCHARDWARE when possible, but falls
// back to software when it's not supported. DSBPLAY_LOCHARDWA... | [
"chuckw@windows.microsoft.com"
] | chuckw@windows.microsoft.com |
7dd81337243e26240f090c7ce6d104312a5c3802 | 8f5c6088261a55e3ffc0e28675b504ff545771ef | /GTEngine/Samples/Mathematics/NURBSSphere/NURBSSphereWindow.cpp | 586d2d426b4db0ea36a3f522b1785c122af0e723 | [
"BSL-1.0"
] | permissive | dfqytcom/GeometricTools-2 | 56283300e6b6a97e9441475e69fb283c70f17d44 | ae6e933f9ab3a5474d830700ea8d9445cc78ef4b | refs/heads/master | 2022-01-31T06:34:38.991605 | 2018-12-10T12:51:15 | 2018-12-10T12:51:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,963 | cpp | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2018
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 3.18.0 (2018/10/28)
#include "NURBSSphereWindow.h"
int mai... | [
"p.m.joniak@gmail.com"
] | p.m.joniak@gmail.com |
03095cdac1329025a4b85e2eeea4cfe8bbec7fac | 393342b158891746e7b64dc25c6ccbce90abd0e3 | /Project2-ZooTycoon/turtle.cpp | 3992c646214c5ec5ac94349a891cab95494094e6 | [] | no_license | zwetekamm/CS162 | 6a307f3536858a2494be763d4c1ca4606ca0bc8d | fcd6a6cf09751b68c713a0cf86b41fbcc38b5ec7 | refs/heads/master | 2020-04-05T01:47:55.516462 | 2018-12-19T19:45:17 | 2018-12-19T19:45:17 | 156,450,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,070 | cpp | /*******************************************************************************
* Author: Zachary Wetekamm
* Date: 07/22/18
* Description: Source file for the class Turtle.
*******************************************************************************/
#include "turtle.hpp"
/**************************************... | [
"43650976+zwetekamm@users.noreply.github.com"
] | 43650976+zwetekamm@users.noreply.github.com |
9617a4f0654aab2060553278ef10bbd8b68251fa | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_DinoDropInventoryComponent_Kaiju_Forest_classes.hpp | 2aeb0edafd1d45c0d3e2558aa9a19a973725361f | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 937 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DinoDropInventoryComponent_Kaiju_Forest_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
750f3aceeea7a6f4757804da16e1fbd12679139e | 4acaf3c1fcb4215005c29246876c363c0532769e | /AnalysisPackage_qqHWWlnulnu/test/Latinos/k_factors/ptHWeightH128.cxx | fb55c9583e3d29da8967ded94a99dab783149f1a | [] | no_license | amassiro/usercode | a622d43299ebf746e3afbb53383ea7576321341f | 91e19d2dad3a6f413fb65555b125452a355a0275 | refs/heads/master | 2020-03-29T16:43:58.666141 | 2015-08-05T11:03:53 | 2015-08-05T11:03:53 | 12,158,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,295 | cxx | double ptHWeight(double pt){
if (pt < 0) return 1;
if (pt >= 0 && pt < 1) return 1.64199 ;
if (pt >= 1 && pt < 2) return 1.68591 ;
if (pt >= 2 && pt < 3) return 1.53228 ;
if (pt >= 3 && pt < 4) return 1.44276 ;
if (pt >= 4 && pt < 5) return 1.30687 ;
if (pt >= 5 && pt < 6) return 1.27706 ;
if (pt >= 6 && pt < 7)... | [
""
] | |
ce1c5475148bae39a3ea493973a51bfbff463217 | 3008bd1a649374b78607d9443a00c4d23021c4be | /src/bitcoinunits.cpp | c93c1f86cbad7632fd75e9606dbc5f9e5d6fb4ed | [
"MIT"
] | permissive | ssu22/Operand | 0fe0ef82a1b88af51ca56713d5276a106539606f | f6360ddfb84c86ca8e52960700c67bc4bf0ba084 | refs/heads/master | 2021-01-18T08:13:04.848240 | 2016-03-11T01:11:39 | 2016-03-11T01:11:39 | 61,931,163 | 1 | 0 | null | 2016-06-25T07:01:00 | 2016-06-25T07:00:59 | null | UTF-8 | C++ | false | false | 4,696 | cpp | // Copyright (c) 2011-2013 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 "bitcoinunits.h"
#include <QStringList>
BitcoinUnits::BitcoinUnits(QObject *parent):
QAbstractListModel(par... | [
"info@operand.money"
] | info@operand.money |
6f14fb2cd88205ac534e3419dfc1e6d62213b778 | 78ad56de233962343b0fefb2a93a992e7b430311 | /src/utils/Utils.h | 8f8d614c75031143c32d894aeb1ef8dea49d27c5 | [
"MIT"
] | permissive | darkcl/drafter | ebbf6f18f85dc89bae5ff0fcbd03fd24d610158f | 62dcc54341d76b1dae7bca1777f5eea8815b0c3b | refs/heads/master | 2020-04-09T18:12:25.608193 | 2018-03-09T06:52:39 | 2018-03-09T06:52:39 | 124,238,879 | 0 | 0 | MIT | 2018-03-07T13:20:10 | 2018-03-07T13:19:56 | C++ | UTF-8 | C++ | false | false | 2,585 | h | //
// utils/Utils.h
// librefract
//
// Created by Thomas Jandecka on 20/01/2018
// Copyright (c) 2018 Apiary Inc. All rights reserved.
//
#ifndef DRAFTER_UTILS_H
#define DRAFTER_UTILS_H
#include <type_traits>
#include <iterator>
#include <tuple>
namespace drafter
{
namespace utils
{
constexpr si... | [
"tjandecka@gmail.com"
] | tjandecka@gmail.com |
dfa7da5fa02bc78e82c0fe96f23fa7d5b4b74179 | 7c94c3f48cbdc33f6df3387e094a2060affa8211 | /include/BangMath/Vector2.tcc | f7269fc11d8e09088090e1000a49ae878eb2d205 | [] | no_license | Bang3DEngine/BangMath | c9678147633e1c0009943bdcafa82bc6e56ba5e7 | 8e91d25213300b45661c16fe96243e13ebc738ad | refs/heads/master | 2020-05-21T17:28:50.480753 | 2019-05-15T17:54:14 | 2019-05-15T17:54:14 | 186,124,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,100 | tcc | #include "BangMath/Vector2.h"
#include "BangMath/Math.h"
namespace Bang
{
template <typename T>
T Vector2G<T>::Cross(const Vector2G<T> &v1, const Vector2G<T> &v2)
{
return (v1.x * v2.y) - (v1.y * v2.x);
}
template <typename T>
Vector2G<T>::Vector2G()
{
for (int i = 0; i < 2; ++i)
{
At(i) = static... | [
"victorantondominguez@gmail.com"
] | victorantondominguez@gmail.com |
b30c6eb9289f2a87a51969b712f5b33f6bba91d5 | 23ae2265ea68650786517bfd6d5c5cb90c2c0d1c | /ProcedurGeneration16bitPeople/Data/VertexArray.cpp | 2711ed0f7fc21b7b07fd8465583d850413f64816 | [] | no_license | ASIF1998/ProcedurGeneration16bitPeople | 825df85a3b985acd13e1692aff8908a2932dbf9e | 90604171b1b270e32c89c0b72725afee677915d7 | refs/heads/master | 2020-04-08T00:41:46.239468 | 2019-03-23T11:37:47 | 2019-03-23T11:37:47 | 158,862,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | cpp | //
// VertexArray.cpp
// ProcedurGeneration16bitPeople
//
// Created by Асиф Мамедов on 23/11/2018.
// Copyright © 2018 Asif Mamedov. All rights reserved.
//
#include "VertexArray.hpp"
#include <stdexcept>
using std::invalid_argument;
using std::runtime_error;
VertexArray::VertexArray()
{
glGenVertexArrays(... | [
"asif.mamedov.98@bk.ru"
] | asif.mamedov.98@bk.ru |
2274514785a79a0c8a6f569d0d2c72507ae9118a | b81c7be9e15e3c51b097410e1a79cec8b50e0b28 | /physics/bullet_wrapper.cpp | 1245aae67a359f37c77bba6f3e08a4d46ff9c1c7 | [
"BSD-2-Clause"
] | permissive | jsj2008/runner | 19b3ee5f087c8f58d6a41f64550895450fdeacaf | 4e8cd23d9de395aa79de2b13a3fb5cc609602571 | refs/heads/master | 2021-01-24T01:04:54.002342 | 2011-12-16T13:28:24 | 2011-12-16T13:28:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,983 | cpp | #include "physics.h"
#include <world.h>
#include <logging.h>
#include <btBulletDynamicsCommon.h>
static inline btVector3 vc(const vec3f_t* v)
{
return btVector3(v->x, v->y, v->z);
}
class MotionStateProxy : public btMotionState
{
motionstate_setter mSetter;
motionstate_getter mGetter;
void* mUserData;
pu... | [
"kulak47@gmail.com"
] | kulak47@gmail.com |
7c6ceef35a5c28140b16f15821674b2227d21bf7 | 777fc6f8debd99dcc1b459e80c56846cfd55a61b | /Lab_3/myStack.cpp | cd1ceb5976e3461608f2c34f2e2079feec00b570 | [] | no_license | ChaseOdgers/Data-Structures | c45131872f710892a5bc2303367e94d3b26f7c56 | 4d6b7d84cbc312f4f817dc7ad29031245732884f | refs/heads/main | 2023-01-22T14:22:26.792803 | 2020-11-10T04:50:47 | 2020-11-10T04:50:47 | 309,506,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | cpp | #include "myStack.hpp"
#include<iostream>
using namespace std;
template<typename T>
myStack<T>::myStack(void)
{
size=10;
s_ptr=new T[size];
head=-1;
}
template<typename T>
myStack<T>::~myStack()
{
delete[] s_ptr;
}
template<typename T>
void myStack<T>::push(T val)
{
if(!isfull())
{
s_ptr[++head]=val;... | [
"chaseodgers@ku.edu"
] | chaseodgers@ku.edu |
14d44294b97626649349c4e8cd104796293fc3e4 | eb8b33a4c20f091abcce2f1599bffdb8501ae384 | /fibonacci_number.cpp | 97c20b263ab5dfae8904d67ceceac076af1d4095 | [] | no_license | srikanthBitsPilani/coding_problems-solutions | 369b3c124069e1cfb643aa099337f98148171550 | 445381425a8e81baa8672d53bfe96fcf72a4b1ce | refs/heads/master | 2022-04-26T13:37:04.332658 | 2020-04-28T16:18:29 | 2020-04-28T16:18:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include <iostream>
#include <vector>
using namespace std;
int find_fibonacci(int n)
{
vector<int> F(n+1);
F[0]=0;
F[1]=1;
for(int i=2;i<n+2;i++)
F[i] = F[i-1]+F[i-2];
return F[n];
}
int main()
{
int n;
cin>>n;
cout<< find_fibonacci(n);
} | [
"srikaanth.00@gmail.com"
] | srikaanth.00@gmail.com |
f3b2d47212eb91f20ff3b74e09acbf46e1a7e143 | ecbf25db945ef16fe46a0d403ac492ce9ab163a8 | /Mouse.h | 92757a01823cb3970651a463dd476a67f3167d54 | [] | no_license | jamolnng/SDL2_Application | 61e72c38e55ddb059dabf5fb69fcc72df9e7e457 | 9dcf2f9ddcdddff2dc35f7467bbd464c1e01f74f | refs/heads/master | 2021-01-23T12:06:01.556116 | 2015-03-15T04:56:04 | 2015-03-15T05:01:23 | 21,079,598 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | h | #pragma once
#include <SDL.h>
#include "glm\glm.hpp"
class Mouse
{
public:
Mouse(void);
~Mouse(void);
void onEvent(SDL_Event& sdl_event);
void clear(void);
void setScrollAmount(unsigned int scroll);
void lock(bool locked);
bool down(unsigned int button);
bool clicked(unsigned int button);
bool dr... | [
"contact@jlaning.com"
] | contact@jlaning.com |
510a55c39c136df71f7b13519e3d768dca53f43d | c1ea68b90dfc799af449e7f34ef54445ad4b525b | /tools/write_proto_loop.cpp | 9f0b2ff2248739eee3316d3fe7b88e6bb0a36838 | [
"MIT"
] | permissive | arslan-urtashev/geo-base | cce218bd5d3cf96116d2571306e98c6709d48b33 | 9d90c5d90cb0ea9f48c3071e6a6f92b01dd578b1 | refs/heads/master | 2022-05-24T03:21:30.107986 | 2016-03-11T09:31:48 | 2016-03-11T09:31:48 | 40,986,827 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,798 | cpp | // Copyright (c) 2016 Urtashev Arslan. All rights reserved.
// Contacts: <urtashev@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software"), to deal in the Software without
// restriction, including without limi... | [
"avitella@yandex-team.ru"
] | avitella@yandex-team.ru |
9078f8ddd2bef11414bea284fb51fa8112694a8d | 0e2ee1cd50a6ba70f34dd6a570a0652b5a17ee33 | /encoding.h | 1b53a4305ad5af5f5aa30566461fd042a0fb373d | [] | no_license | pzoxiuv/biostuff | e694356c824c0cdcbb107cb07d88cdb95a306531 | 6d32de235da49a7ce8c7b5b08b257a3ab031d5d7 | refs/heads/master | 2021-01-10T04:47:40.028539 | 2016-01-03T02:11:28 | 2016-01-03T02:11:28 | 48,925,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 181 | h | #ifndef ENCODING_H
#define ENCODING_H
#include <string>
typedef struct {
uint64_t enc_1, enc_2;
} enc_t;
enc_t enc_substr(std::string s);
std::string deencode(enc_t e);
#endif
| [
"alex.merenstein@gmail.com"
] | alex.merenstein@gmail.com |
1c1b054ecc44f1f6291328be3c7f9797abfadf78 | efd43a5e5e4b2f0827140b8f3dc836983b2e0016 | /Hackerrank/LarrysArray.cpp | e6146768f9205cc682adc85a6038aee7dee9e936 | [] | no_license | praveenagrawal/practiceCodes | c5641c01f41046797e2be917969599a8eb98458b | 62b3455d011bfe6681f00c43fc2977794612cd04 | refs/heads/master | 2020-12-24T07:18:27.424580 | 2019-08-18T13:00:17 | 2019-08-18T13:00:17 | 58,453,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
std::vector<int> A(n);
for(int i=0;i<n;i++)
... | [
"praveen.agrawal0@gmail.com"
] | praveen.agrawal0@gmail.com |
cba1184f90b7f3e8c52374932f7897ff262bf21e | ca1a85272cf9895dc2957b43c2d19aa8012dc83a | /numstr.cpp | 482757cc1ecc345cec375f06ed44017775d43c0d | [] | no_license | gleibson/numstr | 26c9dbbe7a54b9f0b3ac62eaaf0b971851fbd7b3 | 8760f33043bee35f8599b8a8c15a102f0037f20a | refs/heads/master | 2021-01-19T20:50:33.366216 | 2017-04-18T01:20:02 | 2017-04-18T01:20:02 | 88,566,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include <iostream>
int main()
{
std::cout << "What year was your house built? " << std::endl;
int year;
std::cin >> year;
std::cout << "Whats is its street address? " << std::endl;
char address[80];
std::cin.getline(address, 80);
std::cout << "Year built: " << year << std::endl;
std::cout << "Address: " << ad... | [
"gleibsonglas2@yahoo.com.br"
] | gleibsonglas2@yahoo.com.br |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.