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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1182f7c1bd3a34e5312624104bfe44d8001afe5d | 09dd20a03ec1e9930db6c1651f58ed524a2e3548 | /Source/Project/Sever/Sever/Player.h | 131172422da6614998b737735b651fb1221bec50 | [] | no_license | trongtuyen96/Client_Server_Final | c75af63c3164e5645fb5627a0244b08fa030130e | 27c66cfc48180af068642b66316b958758ae9ff2 | refs/heads/master | 2020-12-30T14:57:14.059199 | 2017-05-12T14:22:12 | 2017-05-12T14:22:12 | 91,098,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | h | #include <iostream>
#include <fstream>
#include <string.h>
#include <string>
using namespace std;
#pragma once
class Player
{
public:
string Name;
int Score=0;
int ID;
//bool checkName(string A); //Kiểm tra đây có phải là 1 cái tên đúng không
//int Random(int a, int b);//Random an int number
Player();
~Player... | [
"1453057@student.hcmus.edu.vn"
] | 1453057@student.hcmus.edu.vn |
b73f76aef830ac8278bf023bc37be5502ed2e0f5 | b1b1c4018f1caa313b062a4447ac9dd175e30e16 | /partition/inst/testfiles/rank_c/rank_c_DeepState_TestHarness.cpp | 5463340e771cdbd0c407b7a353e63b74da6fbf96 | [] | no_license | akhikolla/Rcpp-TestPkgs-WebPages | a26287e3d0b0e2f444840a724336d080ebc459b9 | 5417e829d7a6b0b5a1c0c7852b3d8ccf0515c483 | refs/heads/master | 2023-05-30T22:28:51.475440 | 2021-06-17T09:57:18 | 2021-06-17T09:57:18 | 377,724,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// rank_c_DeepState_TestHarness_generation.cpp and rank_c_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepState.hpp>
Rcpp::NumericV... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
4f625a9f9ac28155a0122c295764188782c8add8 | 70f46db7f53566a63063356386bcc1f7ff88309c | /include/wtf/ObjCRuntimeExtras.h | cab93073eb3ebea7149011014a9401b88b4ac247 | [
"Apache-2.0"
] | permissive | openkraken/jsc | 79510114c028f98912e0021c27081ae98c660f27 | 05f661f9b44ad655486c9a1d61f50eb958eb2c89 | refs/heads/master | 2023-05-27T20:24:59.730326 | 2021-06-01T12:55:44 | 2021-06-01T12:55:44 | 356,278,322 | 4 | 1 | Apache-2.0 | 2021-04-30T07:54:54 | 2021-04-09T13:20:25 | C++ | UTF-8 | C++ | false | false | 1,997 | h | /*
* Copyright (C) 2012, 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of cond... | [
"chenghuai.dtc@alibaba-inc.com"
] | chenghuai.dtc@alibaba-inc.com |
ed8dc3d88fadbde014d44c28b8b67dbb4f6304fc | 195fd6138a612ea53abab9e8acedfb1689d3d99a | /devel/include/dobot/GetJOGJointParamsRequest.h | 231bc025b4b38de738bfff80112b5d6da34ce338 | [] | no_license | THTing123/DobotMagician | e3f17d23ed3f4df3ef930bd6575de4cca4e6b98c | 82e4168fed25bb0e9b1667e5a7df514ead8c2937 | refs/heads/master | 2021-05-05T23:01:13.760788 | 2018-01-05T14:54:47 | 2018-01-05T14:54:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,882 | h | // Generated by gencpp from file dobot/GetJOGJointParamsRequest.msg
// DO NOT EDIT!
#ifndef DOBOT_MESSAGE_GETJOGJOINTPARAMSREQUEST_H
#define DOBOT_MESSAGE_GETJOGJOINTPARAMSREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_messag... | [
"15008212551@163.com"
] | 15008212551@163.com |
babc95b8c566d0cf8842644944429bca4b935bc9 | 8e3cfd1089035fd3e64694d1c7d5610862e075b3 | /src/arcemu-world/ConsoleCommands.cpp | b1ebd880516af3f91a6b609cb369560d9a405d4e | [] | no_license | Naqvamp/Sandbox | b7c6dd65047fc21b8f7a868f25e0bf7a788ae83c | 30a8f5c3e5e19079990ca4adc8396cab5bfb96ca | refs/heads/master | 2021-01-22T20:49:14.032718 | 2013-01-31T23:44:38 | 2013-01-31T23:44:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,372 | cpp | /*
* ArcEmu MMORPG Server
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2008 <http://www.ArcEmu.org/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foun... | [
"Naqvam@gmail.com"
] | Naqvam@gmail.com |
922ec72cf1274b078552f1e8f3b6676c6bf3b5ae | 8f76cb5e386fa68f29489d479286d5ac7fac8c59 | /src/support/NsprWrap/Sleeper.cpp | 3290f83f59ecdf2a81a17d365bb3db68f5d9c947 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | isabella232/Heliod-Web-Server | ce672d264e705b0d2128ddd7846434804db24905 | 6fc8b2f0ed8e76979140fae7912b44cd03ca4289 | refs/heads/master | 2022-02-13T21:55:02.995051 | 2016-05-23T12:38:23 | 2016-05-23T12:38:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,466 | cpp | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
*
* THE BSD LICENSE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistribut... | [
"jyri@virkki.com"
] | jyri@virkki.com |
c4a22fce9a49392a371a246d4b9847b3e8b5f757 | 3c8c72b133e12e64db61c8dd8ef9b9027a26df27 | /cmmse/cmmsearch/lib/utils/fblock_util.h | 651206b92bedff0467ba009aa12b5190064db826 | [] | no_license | sinomiko/56wlk | 67498c31f460a9fd1634926e21425599be31e40b | 1c74ee2eb1a2e96949e7596260b965fe3c9d1f71 | refs/heads/master | 2020-12-08T09:37:59.899011 | 2020-01-10T02:26:48 | 2020-01-10T02:26:48 | 232,948,314 | 0 | 0 | null | 2020-01-10T02:26:23 | 2020-01-10T02:26:22 | null | UTF-8 | C++ | false | false | 1,487 | h | /**
* @file fblock_util.h
* @author
* @date 2013.01.06 09:50:01
* @version $Revision: 1.1 $
* @brief 实现高速顺序io
*
**/
#ifndef __FBLOCK_UTIL_H_
#define __FBLOCK_UTIL_H_
#include "fileblock.h"
#include "mfiles.h"
#include "tinyse.h"
#define DEFAULT_BUF_SIZE (1024*1024*10)
class fblock_writer
{
private:
f... | [
"sayigood@gmail.com"
] | sayigood@gmail.com |
a9c2fb1608b1bc246dbf2c7a7613c825cb14c529 | 4e7f736969804451a12bf2a1124b964f15cc15e8 | /AtCoder/ABC/ABC211/E_res.cpp | a210b57676b4c1ffeca4db47ced8c0cd5d3eb829 | [] | no_license | hayaten0415/Competitive-programming | bb753303f9d8d1864991eb06fa823a9f74e42a4c | ea8bf51c1570566e631699aa7739cda973133f82 | refs/heads/master | 2022-11-26T07:11:46.953867 | 2022-11-01T16:18:04 | 2022-11-01T16:18:04 | 171,068,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | cpp | #pragma region Macros
// #pragma GCC target("avx2")
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#include <atcoder/all>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rrep(i, n) for (int i = (n - 1); i >= 0; i--)
#define ALL(v) v.begin(), v.end()
#define endl "\n"
#define popcount(bit) __builtin_popcoun... | [
"hayaten415@gmail.com"
] | hayaten415@gmail.com |
ca3a33b143e9dd36cbef768d2921b5931291c247 | 1cc17e9f4c3b6fba21aef3af5e900c80cfa98051 | /chrome/browser/sync/test/integration/typed_urls_helper.cc | 045ca051c43d3f3ab60dfce261bbf101ba456279 | [
"BSD-3-Clause"
] | permissive | sharpglasses/BitPop | 2643a39b76ab71d1a2ed5b9840217b0e9817be06 | 1fae4ecfb965e163f6ce154b3988b3181678742a | refs/heads/master | 2021-01-21T16:04:02.854428 | 2013-03-22T02:12:27 | 2013-03-22T02:12:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,546 | cc | // Copyright (c) 2012 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/sync/test/integration/typed_urls_helper.h"
#include "base/compiler_specific.h"
#include "base/synchronization/waitable_event... | [
"vgachkaylo@crystalnix.com"
] | vgachkaylo@crystalnix.com |
6bb322c345b5aba7c59b0e3339a3994cf197b008 | 1029a3609fab311c7ff36e023075a8c9c11949d4 | /src/util_key.cpp | 93ab0d5126391ee8023c26d23ea523b271a8c28a | [] | no_license | Pozidriv/CFP | 9f3b1f38d27979e61809c71204f3d48b576583ff | 5fea135fa5ad2ff899676a853c1c1707f448f4d4 | refs/heads/master | 2022-03-28T18:34:26.257448 | 2020-01-01T20:45:36 | 2020-01-01T20:45:36 | 231,246,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,400 | cpp | #ifndef BITS
#define BITS
#include <bits/stdc++.h>
#endif
#ifndef BITOP
#define BITOP
#include "bitop.h"
#endif
#ifndef UTIL_IO
#define UTIL_IO
#include "util_io.h"
#endif
#ifndef UTIL_KEY
#define UTIL_KEY
#include "util_key.h"
#endif
using namespace std;
bit_word::bit_word() {
bsize = 0;
bword = vector<bitset... | [
"youri.tamitegama@mail.mcgill.ca"
] | youri.tamitegama@mail.mcgill.ca |
045cc7a2e3d66955aa9f97d4dd711b380b821888 | 32b2711e6f0115e5cb3dac996372a1e3b0ff4a74 | /src/Variable.h | fd68da5e5a517181f6aa1db943655981ec15e0d9 | [] | no_license | pschmitt/cpp_project | 0b50ddb13f0580db335b5d970fd23cda5e19c864 | 302166d6bee69a2bf22d1490e130d81272e355fb | refs/heads/master | 2016-09-05T18:38:20.393787 | 2012-01-06T10:50:47 | 2012-01-06T10:50:47 | 2,828,225 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 473 | h | //filename: Variable.h
// Author : Tenguemne Frantz
#ifndef _VARIABLE_H_INCLUDED_
#define _VARIABLE_H_INCLUDED_
#include "Object.h"
#include <string>
using namespace std;
class Variable: public Object{
public:
Variable(const string& name, const string& typeObject, const string& value = "",
Visibility visib... | [
"tk_frantz@yahoo.fr"
] | tk_frantz@yahoo.fr |
cfb7a54a776204975f3041441887df1b8584a921 | 82b9d8772f4639fa3988a5a803285a253abeb6b8 | /Unit1.cpp | 250e2d3e443cdc2ab30b7d121e70641c635c3042 | [] | no_license | OlegMakarenko/Path-Generator-DXF | 34b4d9b1b8e0a478e8f82695759b2f17443163f6 | eb03da3f4e2d87aeab1dea5da73c253791f7e4ee | refs/heads/master | 2021-08-30T06:13:58.821748 | 2017-12-16T11:43:54 | 2017-12-16T11:43:54 | 109,744,115 | 0 | 1 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 4,248 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
#include "Unit2.h"
#include "GUIMethods.h";
#include <Math.h>
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma... | [
"noreply@github.com"
] | OlegMakarenko.noreply@github.com |
690ee0c8095003310bc5198d45c4f93c54aa13cf | 7a96a3d9c80da8e3f359273c59717e8f81820ca8 | /Steps/Table-4.cpp | 6554e23b090f6a1716d43ae9a610bf20c6bf5868 | [] | no_license | AlexeyPopovMIPT/HashTable | c606e2336652d448a32e27f7023ec2da802f783b | 37fdf1697d96c5eb1edc9cbe92f89ac4235dcc7e | refs/heads/master | 2023-04-11T07:12:58.114472 | 2021-04-19T12:59:32 | 2021-04-19T12:59:32 | 353,999,668 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,545 | cpp | #include <iostream>
#include <limits.h>
#include <string.h>
#include <sys/stat.h>
#include <time.h>
//#include <immintrin.h>
//#include <xmmintrin.h>
//измерение функций после каждого изменения
typedef unsigned short hash_t;
const char* alloc_n_copy(const char* src)
{
int len = strlen(src);
char* dest = (... | [
"noreply@github.com"
] | AlexeyPopovMIPT.noreply@github.com |
ae1a88405313279f0cb3629c6e25e25d1de5885f | 8fcbbf0ec3bbfa7cd7097363f59272cd22e69d6b | /CPP_Module06/ex02/Base.hpp | c8056ba8ca216ea7fabd51d84b43087dc4656499 | [] | no_license | VictorinaVicka/CPP_Module | 43fb70dbcbb1548a06c4450b4b984d34c85e5365 | 28a114b04d9ac2a4d64ace72ea3fb52272ed7292 | refs/heads/master | 2023-02-05T19:13:08.822486 | 2020-12-23T15:04:26 | 2020-12-23T15:04:26 | 305,949,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Base.hpp :+: :+: :+: ... | [
"city_br@mail.ru"
] | city_br@mail.ru |
d6a34e1e3151ccb72d473369a0b1000ad8337d89 | d0fd562ef7a512ac58f273273208fc6936429830 | /Algorithm/Leetcode/Array/longest-rectangle-histogram.cpp | d60dfa0495dcdeff98e25b3deb1764055bcfa2c8 | [] | no_license | SummerZm/Note | f7cec5dd57f13d78181a095796c94e5406395861 | 8c432b5f455543adf4c37f2cf45191114147899e | refs/heads/master | 2023-05-31T20:52:48.719871 | 2023-05-18T13:27:51 | 2023-05-18T13:27:51 | 223,598,911 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,022 | cpp | /*************************************************************************
> File Name: largest-rectangle-in-histogram.cpp
> Author: Leafxu
> Created Time: 2021年03月29日 星期一 10时10分05秒
************************************************************************/
/*
* 问题:柱状图中最大的矩形.
* 示例:
* 给定 n 个非负整数,用来表示... | [
"1254551981@qq.com"
] | 1254551981@qq.com |
056e27b362723b8e72c2a0abc89216308e043210 | 583a2c00f38698537864ad4e24e414231f352054 | /SimpleTree.h | 191a7e88b0221ecfae148aadf5d030540c17c633 | [] | no_license | keewon/winter-source-beta-3 | c873cd06bb5f0eb4720f69e0fc9ea7c55f173df9 | 6fb5d1f524119344785b3587ecb71dff74120b91 | refs/heads/master | 2020-08-06T15:53:58.439391 | 2019-10-05T21:32:59 | 2019-10-05T21:32:59 | 213,065,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | h | // SimpleTree.h: interface for the SimpleTree class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SIMPLETREE_H__E7CA741D_2C54_4D5C_AC49_6083F2FD403B__INCLUDED_)
#define AFX_SIMPLETREE_H__E7CA741D_2C54_4D5C_AC49_6083F2FD403B__INCLUDED_
#if _MSC_VER > 1000
#pragma o... | [
"keewon@mbp13.local"
] | keewon@mbp13.local |
02d6c36b6fc0a22fee6cbcaf0095ffdf07e91a86 | ce1c3e64b8c19bbd5a48ea2ed87819aec1127e35 | /Plugins/Voxel/Source/Voxel/Classes/VoxelWorldGenerators/LandscapeWorldGenerator.h | 6a66d50cfc5a99f7c3652b7a7cf1a46f2fd9917e | [
"MIT"
] | permissive | whisper2shade/MarchingCubes | 903537cb8877fc1d0e52d04aa0c62440f89cf9f2 | ca788e0fc3ae4904aacdf609aea3c3b6e0127a7e | refs/heads/master | 2021-07-20T12:13:24.172682 | 2017-10-25T19:12:36 | 2017-10-25T19:12:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | h | // Copyright 2017 Phyronnaz
#pragma once
#include "CoreMinimal.h"
#include "VoxelWorldGenerator.h"
#include "LandscapeWorldGenerator.generated.h"
class ALandscapeVoxelAsset;
/**
*
*/
UCLASS(Blueprintable)
class VOXEL_API ULandscapeWorldGenerator : public UVoxelWorldGenerator
{
GENERATED_BODY()
public:
UPROPERT... | [
"phyronnaz@gmail.com"
] | phyronnaz@gmail.com |
14a3c574cb2fb6bb15ed8957665e8cf95d8ba2fe | 9ba6c8207201e153ec4b4d9030a1ae9c6a6b8992 | /Sparky-core/IndexBuffer.cpp | 5ae8074d8ab7ce4250286c88ab4690e3628d5a63 | [] | no_license | ankurparihar/Sparky | 0f70dec6abb521bd8214b5ac21d79675ce51fb61 | 1110ab3dfd3e3f379173347aab2e14f00b1adee0 | refs/heads/master | 2020-05-03T09:26:03.923362 | 2019-05-03T06:03:50 | 2019-05-03T06:03:50 | 178,553,635 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | cpp | #include "IndexBuffer.h"
namespace sparky {
namespace graphics {
IndexBuffer::IndexBuffer(GLushort* data, GLsizei count)
: m_Count(count)
{
glGenBuffers(1, &m_BufferID);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_BufferID);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, count * sizeof(GLushort), data, GL_STATIC_D... | [
"pariharankur101@gmail.com"
] | pariharankur101@gmail.com |
20ec883607824580eda9de10ebd87df215496227 | 110f8081090ba9591d295d617a55a674467d127e | /tests/MTTest.cpp | 4d623aefeaccdcc15d5333f6af0536d3bdf283b2 | [] | no_license | rayfill/cpplib | 617bcf04368a2db70aea8b9418a45d7fd187d8c2 | bc37fbf0732141d0107dd93bcf5e0b31f0d078ca | refs/heads/master | 2021-01-25T03:49:26.965162 | 2011-07-17T15:19:11 | 2011-07-17T15:19:11 | 783,979 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | cpp | #include <cppunit/extensions/HelperMacros.h>
#include <math/MersenneTwister.hpp>
#include <sstream>
class MTTest : public CppUnit::TestFixture
{
private:
CPPUNIT_TEST_SUITE(MTTest);
CPPUNIT_TEST_SUITE_END();
public:
};
CPPUNIT_TEST_SUITE_REGISTRATION( MTTest );
| [
"bpokazakijr@287b3242-7fab-264f-8401-8509467ab285"
] | bpokazakijr@287b3242-7fab-264f-8401-8509467ab285 |
216d94b740b14c1384cee41d89e859123f5a7447 | 56e322b5a57e712f4f77cee1dd85dd0b6b9434ba | /BCurve.cpp | 6104b171b2066860b11011d459e7a33cd738a5b1 | [] | no_license | hailinzeng/Graphics | 2a7e2f2d985fe7d2c565481f6161eb8425afc5a0 | 41e18e84bbf9e615376246540a056a7b29a8c251 | refs/heads/master | 2016-09-05T21:24:10.040826 | 2012-09-06T10:04:36 | 2012-09-06T10:04:36 | 5,698,724 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,910 | cpp | // BCurve.cpp: implementation of the BCurve class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Graphics.h"
#include "BCurve.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//largger
const int bei=20;
//displ... | [
"zeng.hailin@qq.com"
] | zeng.hailin@qq.com |
aeb90aa92a3df1d7719dc43feb64d1aff1147752 | bfcede495bef6f559273d87827de41ca1afec11f | /codeforces/722B.cpp | 1196196ee7cdf673128fc1d046649b3e28681455 | [] | no_license | gabrieltaets/Competitive-Programming | b2c5a5b2d1d2bead8dfc9c7b699bcb12b0752d2a | 4e54a0dbf869ff2e10f10c2cbc03edcf3daa75d0 | refs/heads/master | 2021-01-02T15:39:00.448915 | 2017-11-01T04:32:55 | 2017-11-01T04:32:55 | 99,305,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | cpp | #include <bits/stdc++.h>
#define F first
#define S second
#define mp make_pair
#define pb push_back
#define INF 0x3f3f3f3f
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int,int> ii;
typedef vector<ii> vii;
bool isVowel(char c){
return c == 'a' || c == 'e' || c == 'i' || c == 'o' || ... | [
"gabrieltaets@gmail.com"
] | gabrieltaets@gmail.com |
955478c1d6b6df3dc15c68f1d9af6fca045be9f5 | b31b614e871829d6d1f30b47022a5ff1ad96d936 | /string.besarkecil.cpp | e001da78d6892035424bda85e17d7b31a4b280b6 | [] | no_license | fikrialkautsar/String-ap2 | d7df5e9adaf0e66f88f64985a4f4e89bbb4b1976 | 787922ac8c58c693757428e951c3ee60ad3ea837 | refs/heads/master | 2021-05-18T14:58:19.122016 | 2020-03-30T12:04:23 | 2020-03-30T12:04:23 | 251,289,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 523 | cpp | #include<iostream>
using namespace std;
void fungsi(char *a)
{
int i;
for(i=0;i<15;i++)
{
if(a[i]>=65&&a[i]<=90)
{
a[i]=a[i]+32;
}
else if(a[i]>=97&&a[i]<=122)
{
a[i]=a[i]-32;
}
}
}
int main()
{
ch... | [
"noreply@github.com"
] | fikrialkautsar.noreply@github.com |
af326bce9d369c9523127307fd1f8416e6f709f4 | bf2918787710662576e26a402a1d0c3da14f6ea0 | /export/mac64/cpp/obj/include/__ASSET__assets_font_pressstart2p_ttf.h | ff5284915fde2ceaa855dc725eeb8dac3649d945 | [] | no_license | sbarrio/mizu | 2d921a77be7189212242dce35b183d5309cc02ed | 0af12963357cdb00a181b567b5ee0d506288e9f4 | refs/heads/master | 2021-05-06T23:25:15.875849 | 2017-12-12T07:37:41 | 2017-12-12T07:37:41 | 112,970,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 1,683 | h | // Generated by Haxe 3.4.4
#ifndef INCLUDED___ASSET__assets_font_pressstart2p_ttf
#define INCLUDED___ASSET__assets_font_pressstart2p_ttf
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl__legacy_text_Font
#include <openfl/_legacy/text/Font.h>
#endif
HX_DECLARE_CLASS0(__ASSET__assets_font_pressstart2p_... | [
"sergio.barrio.s.ocker@gmail.com"
] | sergio.barrio.s.ocker@gmail.com |
75e502a96b971210efdae9b8b04a7a6b46873eb1 | 83981d23b41afead9da5c9ec7e630aab563c55e3 | /src/qtum/qtumDGP.cpp | 95e64a35b43cfc72d201430af8e4ea4beb60b700 | [] | no_license | opennetworkproject/wallet | 180a1749d219c1006c2da4908e4aefbab70aa5f8 | 56b6e5a5f49f417680fa48d4769550e893c2bfd7 | refs/heads/master | 2021-05-10T19:07:16.715090 | 2018-01-19T15:50:22 | 2018-01-19T15:50:22 | 118,142,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,593 | cpp | #include "opennetworkDGP.h"
void OpennetworkDGP::initDataEIP158(){
std::vector<uint32_t> tempData = {dev::eth::EIP158Schedule.tierStepGas[0], dev::eth::EIP158Schedule.tierStepGas[1], dev::eth::EIP158Schedule.tierStepGas[2],
dev::eth::EIP158Schedule.tierStepGas[3], dev::eth::EI... | [
"nindom@hotmail.com"
] | nindom@hotmail.com |
53adb59393db6dba361bccfa89061396b5eb647e | 7e2dec5d88ac1403340f76eb13aea42682726008 | /src/vk/video_bitstream.cc | 4e12ca846ff4fdae33123a89fd26331c0565edb8 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | ogukei/fuurin | 84f94f74fbed31dd5ec2dea7c1d2f1b3d267daec | f6109e56661aa977459e7d4b01eac60e3cc0d66f | refs/heads/master | 2023-06-01T10:05:16.633864 | 2021-06-13T21:26:15 | 2021-06-13T21:26:15 | 365,659,214 | 1 | 0 | MIT | 2021-06-13T21:26:15 | 2021-05-09T03:31:13 | C++ | UTF-8 | C++ | false | false | 2,714 | cc |
#include "vk/video_bitstream.h"
#include <cstring>
#include "vk/buffer_memory.h"
#include "vk/device.h"
#include "vk/device_queue.h"
#include "vk/physical_device.h"
#include "vk/command_pool.h"
#include "vk/video_bitstream_segment.h"
namespace vk {
std::shared_ptr<VideoBitstreamBuffer> VideoBitstreamBuffer::Creat... | [
"noreply@github.com"
] | ogukei.noreply@github.com |
8f479734e4c07ad5951a3d028d6651287cb7b604 | d01dc4b327e33816ac2ce2af40945a721f7b5854 | /aws-cpp-sdk-ec2/source/model/TransitGatewayMulticastDomainAssociations.cpp | 92a5b352d272b5f381f561f8122c92e59b25969c | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | hpcc-systems/aws-sdk-cpp | 36f89272e3b140fea596c73234c09fb240f86520 | 9c93f28159e1e01ea3ef789a1b0c2c9643955c96 | refs/heads/master | 2022-07-17T05:18:08.190972 | 2020-10-19T20:59:11 | 2020-10-19T20:59:11 | 90,974,127 | 0 | 1 | Apache-2.0 | 2022-06-30T14:47:34 | 2017-05-11T11:58:14 | C++ | UTF-8 | C++ | false | false | 5,591 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ec2/model/TransitGatewayMulticastDomainAssociations.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSString... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
66e980506fde851d8ebddb5d6b3ef2a2f00b6c1a | 7f5ffde87499597c2183362696fb69662f88d4d5 | /SDL2TestProject/SDL2TestProject/ISpace.h | 2ee8e1fdc9a8a39193c6fc39cb703227c5605d72 | [] | no_license | Backupparsley06/Expermimental3DGameEngine | 5b7ff925f1958efd223d1d99f39f77975b0c2e67 | 63af92b813feb2a56995411b93173500291fdcc7 | refs/heads/master | 2021-01-01T14:26:22.840801 | 2020-02-09T14:44:08 | 2020-02-09T14:44:08 | 239,319,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | h | #pragma once
#include "IPoint.h"
#include "IRay.h"
#include "IObject.h"
class ISpace {
public:
virtual void AddObject(IObject * o) = 0;
virtual SDL_Color GetCollisionPointColor(IRay * ray) = 0;
};
class Space : public ISpace {
IObject * obj;
public:
void AddObject(IObject * o)
{
obj = o;
}
SDL_Color GetColl... | [
"backupparsley06@gmail.com"
] | backupparsley06@gmail.com |
0f0fbaba936cd73d675ef1c0a28e4fdf75cb5aea | f10a5776abc10830f41038f5487a52e19541cc2d | /client/testClient.cpp | 070c45df6bd427019c89494984ea7272c5c5ae8d | [] | no_license | Request2609/ThreadFile | 51365b3ddb45edef1911016d97c79696dd502d6b | 81755dde5b867125adf6b15b95af94c7c7e2bda9 | refs/heads/master | 2020-05-27T01:24:50.086432 | 2019-05-24T14:37:59 | 2019-05-24T14:37:59 | 188,437,378 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,011 | cpp | #include"testClient.h"
#include"ReadWrite.h"
struct sockaddr_in addr ;
int main(int argc, char** argv)
{
if(argc != 3) {
printf("usage:./a.out ip port\n") ;
exit(1) ;
}
int sockfd = socket(AF_INET, SOCK_STREAM, 0) ;
if(sockfd < 0) {
printf("创建套接字失败!");
exit(1) ;
}
... | [
"1433882609@qq.com"
] | 1433882609@qq.com |
565bf59d1e65e9115321a9cec5ff2530994d61c1 | b1af8bb863a6730e6e4e93129efbad89d33cf509 | /SDK/SCUM_Camo_Beanie_07_classes.hpp | 6cda7c3e3605b82650106f0670873b87dc383a31 | [] | no_license | frankie-11/SCUM_SDK7.13.2020 | b3bbd8fb9b6c03120b865a6254eca6a2389ea654 | 7b48bcf9e8088aa8917c07dd6756eac90e3f693a | refs/heads/master | 2022-11-16T05:48:55.729087 | 2020-07-13T23:48:50 | 2020-07-13T23:48:50 | 279,433,512 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 782 | hpp | #pragma once
// SCUM (4.24) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Camo_Beanie_07.Camo_Beanie_... | [
"60810131+frankie-11@users.noreply.github.com"
] | 60810131+frankie-11@users.noreply.github.com |
f27e592a3487232e4abdba64fc4a6ec463c96e7e | b3264aa462991f7a2f53815aa22a6d30ebad1a3c | /src/Container.h | 3ea77ae39bbac3b19465e57c18870ffb5014e938 | [] | no_license | jonathanvdc/space-invaders | ab3008a9d7ac36a84d6794fa5cd8fd1836c13d6c | 9d48eec577c80e6f50f248f2703288d61804b95f | refs/heads/master | 2021-01-10T10:00:06.528655 | 2016-01-10T19:07:44 | 2016-01-10T19:07:44 | 46,492,703 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,948 | h | #pragma once
#include <algorithm>
#include <memory>
#include <vector>
#include "Event.h"
namespace si
{
/// Defines a base class for objects that
/// store a number of shared pointers
/// to items.
template<typename T>
class Container
{
public:
/// Adds the given item to this container.
void add(const std:... | [
"jonathan.vdc@outlook.com"
] | jonathan.vdc@outlook.com |
4f9ee7e40e2a48d97fbd006e33684996ac87c018 | d26185a130c7d383628fc24d7ff6a3fe1fa5405d | /VRP/VRPCore/src/inputTools/ArgParser.cpp | 96bef0435fe05d64eb7a1f464e4955b6e7cf0b75 | [] | no_license | lubiedak/currentOrSupported | 0324f4d3dd6c24a982b69b3707de49da6cdbd45b | fbb939b8364d5c8a61483eee47b8ee363555c6e5 | refs/heads/master | 2016-09-09T17:08:36.907592 | 2015-04-22T07:01:36 | 2015-04-22T07:01:36 | 28,624,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,762 | cpp | #include "ArgParser.h"
#include "FileDirChecker.h"
ArgParser::ArgParser(void)
{
}
ArgParser::ArgParser(int argc, char** argv):
argc_(argc)
{
argc_-=(argc_>0);
argv+=(argc_>0);
option::Stats stats_(usage, argc_, argv);
options_ = new option::Option[stats_.options_max];
buffer_ = new option::O... | [
"l.biedak@wp.pl"
] | l.biedak@wp.pl |
9767b33e993fba1827d1672e87c9e1819e03af06 | fd753470a1b0fe901080cdd2ebc7e181134be6f3 | /0027. Remove Element.cpp | ee4e2f7efe87d4026b0a100824fab9b1b7f44b22 | [] | no_license | virsing/Leetcode | 5e420459ca6be13ec7070eef154d24ad66ca7c3e | ef94bc7a6cce289d597ac41bc4a1f07f6e85dc33 | refs/heads/master | 2021-06-28T19:11:25.497561 | 2019-02-13T09:54:35 | 2019-02-13T09:54:35 | 134,942,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | cpp | //题目与具体思路参考我的博客:https://blog.csdn.net/vir_lee/article/details/80497824
class Solution {
public:
int removeElement(vector<int>& nums, int val) {
int n=nums.size(),k=0;
for(int i=0;i<n;i++) if(nums[i]!=val) nums[k++]=nums[i];
return k;
}
};
| [
"noreply@github.com"
] | virsing.noreply@github.com |
c10fecc9fc12efadf9a9613c75f72e9956397bbc | ce0e280865e0041eb6da59c8e0b64d52ac099100 | /11388 - GCD LCM.cpp | 8505add3b5f0cad00689a2e059daf89d2f0db241 | [] | no_license | akramkhan153/UVA-Solutions | 44e9c73f724dc5f22341844a5924484a19bebe29 | c4c545d5dfeb32971b720c29fb40228255e36044 | refs/heads/master | 2021-06-11T11:43:02.634948 | 2017-02-19T20:28:21 | 2017-02-19T20:28:21 | 258,232,169 | 1 | 0 | null | 2020-04-23T14:28:36 | 2020-04-23T14:28:35 | null | UTF-8 | C++ | false | false | 274 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int tc,a,b;
scanf("%d",&tc);
while(tc--){
scanf("%d %d",&a,&b);
if(b%a!=0)printf("-1\n");
else printf("%d %d\n",a,b);
}
return 0;
}
| [
"noreply@github.com"
] | akramkhan153.noreply@github.com |
54cb439f1b0f4341ae0e5d0d1bef024feda313f0 | cb5b061a07eaaaef65aaf674a82d82fbb4eea0c0 | /depends/sdk/include/nsIDOMMozMmsEvent.h | 8067314355e971e206d6310004314fc467df655f | [] | no_license | shwneo/MonacoIDE | 5a5831a1553b2af10844aa5649e302c701fd4fb4 | 6d5d08733c2f144d60abc4aeb7b6a1a3d5e349d5 | refs/heads/master | 2016-09-06T07:34:03.315445 | 2014-06-01T15:06:34 | 2014-06-01T15:06:34 | 17,567,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,697 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM d:/xulrunner-24.0.source/mozilla-release/dom/mobilemessage/interfaces/nsIDOMMozMmsEvent.idl
*/
#ifndef __gen_nsIDOMMozMmsEvent_h__
#define __gen_nsIDOMMozMmsEvent_h__
#ifndef __gen_nsIDOMEvent_h__
#include "nsIDOMEvent.h"
#endif
/* For IDL files that don't want to in... | [
"shwneo@gmail.com"
] | shwneo@gmail.com |
afec845b37ab22bec6d7b839d84e52a4502bc024 | 64fae903313830487625d431b064bbcf1cfd0a4b | /plugins/src/modules/expressions.cpp | 038198dd60245d0007bc5e72d50d5949df9ff24e | [
"MIT"
] | permissive | spacemud/PawnPlus | a9c1334a6773c6f5c9fbeb37784631655e286298 | d9e888e890a3d0e52ad968158802bbb8602e8161 | refs/heads/master | 2020-08-07T11:12:15.281185 | 2019-09-24T10:55:11 | 2019-09-24T10:55:11 | 213,427,038 | 1 | 1 | null | 2019-10-07T16:01:28 | 2019-10-07T16:01:28 | null | UTF-8 | C++ | false | false | 102,399 | cpp | #include "expressions.h"
#include "tags.h"
#include "errors.h"
#include "modules/variants.h"
#include "modules/parser.h"
#include "utils/systools.h"
#include <string>
#include <stdarg.h>
#include <cstring>
object_pool<expression> expression_pool;
void amx_ExpressionError(const char *format, ...)
{
va_list args;
va... | [
"illidans4@gmail.com"
] | illidans4@gmail.com |
6fab533f6a0c75627b274bd6b4658a2c5b429229 | 850a39e68e715ec5b3033c5da5938bbc9b5981bf | /drgraf4_0/MouseMgr/Dbmouse.cpp | 39403e42b34d438cd5b42ae8d0468c7b8ed599cf | [] | no_license | 15831944/drProjects | 8cb03af6d7dda961395615a0a717c9036ae1ce0f | 98e55111900d6a6c99376a1c816c0a9582c51581 | refs/heads/master | 2022-04-13T12:26:31.576952 | 2020-01-04T04:18:17 | 2020-01-04T04:18:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,289 | cpp | // Mouse.cpp : implementation file
//
/*
////////////////////////////////////////////////// Add Plate to DrObjectList
CDListMgr* pDListMgr = pObjectMgr->GetObjectList();
/////////////////////////////////////////////
CNewObjs* pNewObjs;
CDrPlat* pAddPlat = (CDrPlat*)(pNewObjs->NewObject(PLATE));
//////... | [
"sray12345678@gmail.com"
] | sray12345678@gmail.com |
bb4a901dab496b07fcc4c111119b3fd91d39cde9 | 8cf763c4c29db100d15f2560953c6e6cbe7a5fd4 | /src/qt/qtbase/src/corelib/io/qwindowspipewriter.cpp | afa7d28f35865d18832b38750c9182f908dc08d7 | [
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-digia-qt-commercial",
"LGPL-3.0-only",
"GPL-3.0-only",
"LicenseRef-scancode-digia-qt-preview",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0... | permissive | chihlee/phantomjs | 69d6bbbf1c9199a78e82ae44af072aca19c139c3 | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | refs/heads/master | 2021-01-19T13:49:41.265514 | 2018-06-15T22:48:11 | 2018-06-15T22:48:11 | 82,420,380 | 0 | 0 | BSD-3-Clause | 2018-06-15T22:48:12 | 2017-02-18T22:34:48 | C++ | UTF-8 | C++ | false | false | 4,914 | cpp | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** License... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
eb9850d560a87fa0a929b56275382b98cf8039ff | d524dc1cf48dfb3dac6b288d0f5d3206ac2ad33b | /CMSSW/src/bainbrid/Test/test/PATPhotonIDProducer.cc | d84f869dbc220efdc25355c3548ee469b73c1157 | [] | no_license | bainbrid/usercode | 59e7e2c2ba66be8ee6696be5b7fdddc3fa5d6d2a | 3d1ae8563ff470725721100f6e5a2e7b5e8e125e | refs/heads/master | 2016-09-07T18:38:31.267514 | 2013-09-10T20:21:21 | 2013-09-10T20:21:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,970 | cc | #include "bainbrid/Test/test/PATPhotonIDProducer.h"
#include "DataFormats/Common/interface/View.h"
#include "DataFormats/PatCandidates/interface/Photon.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/ParameterSet/interface/InputTag.h"
#include "FWCore... | [
""
] | |
12de0fc9ec842ced16356b6cd1b277dd0f530408 | 60db84d8cb6a58bdb3fb8df8db954d9d66024137 | /android-cpp-sdk/java2cpp/model/Type.h | a5caf9ef368e1b001e4abd100a818656a143b21c | [
"BSL-1.0"
] | permissive | tpurtell/android-cpp-sdk | ba853335b3a5bd7e2b5c56dcb5a5be848da6550c | 8313bb88332c5476645d5850fe5fdee8998c2415 | refs/heads/master | 2021-01-10T20:46:37.322718 | 2012-07-17T22:06:16 | 2012-07-17T22:06:16 | 37,555,992 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | h | #ifndef JAVACPP_MODEL_TYPE_H
#define JAVACPP_MODEL_TYPE_H
namespace model {
class Class;
class Type
: public enable_shared_from_this2<Type>
, protected noncopyable
{
public:
Type();
virtual ~Type();
virtual bool is_intrinsic() const = 0;
virtual bool is_array() const = 0;
... | [
"baldzar@gmail.com"
] | baldzar@gmail.com |
20511d6bdfcf4768517da13773f2d5bc31d0c85c | 02095cd4aeaa3a0d724f7362cdb8795fe9a81620 | /oplink/algorithms/team/src/skeleton/utils/fuzzylite.old/src/term/Accumulated.cpp | 0a6206fc497839411f80e0688f9b9f6b0fca0265 | [] | no_license | PAL-ULL/software-metco | ba5123cb1423fed4a2ac678ab375728ba4bbfbc8 | 59edc4e49bddbd9fc7237bf2f24271bdfc8afd79 | refs/heads/master | 2021-04-15T04:12:56.292543 | 2021-03-08T13:29:14 | 2021-03-08T13:29:14 | 126,484,450 | 10 | 5 | null | 2020-07-21T18:43:10 | 2018-03-23T12:49:10 | C++ | UTF-8 | C++ | false | false | 3,455 | cpp | /* Copyright 2013 Juan Rada-Vilela
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | [
"edusegre@gmail.com"
] | edusegre@gmail.com |
6e85fc97bde5665ab0e673574f1665b1ce2e4ba4 | d9747101a2f82b415b0c261ca70115aa44d9e443 | /base/include/huffmanTable.h | 8ebf54f031759bda3bedeeeff4a2839161c2c15a | [] | no_license | wanghonggao007/ImebraTest | aa662e32adb5cce93447b83e7c8879f23c987153 | d3a1751f38af8049b422cc2911732185365ca764 | refs/heads/master | 2022-04-25T02:41:34.789262 | 2020-03-26T06:42:10 | 2020-03-26T06:42:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,462 | h | /*
Imebra: a C++ dicom library.
Copyright (C) 2003, 2004, 2005, 2006 by Paolo Brandoli
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.
This program is distributed in the hope that it w... | [
"1263956078@qq.com"
] | 1263956078@qq.com |
e319046205df7dbccd6ba822d13560ce54e87f27 | 923961f0cbd5dec50873fdecd1cead5027f6d8b7 | /src/main.cpp | 6272b9ff6edb2bdde7dcd7147aec6e438d5ddb87 | [] | no_license | SadScream/FlatProject_Lab | 34f83bac04a6d493f90bfc612c99980e0aff10f8 | 335329b2b650f6d21774b4a55d2641d8f2ba7a6b | refs/heads/master | 2022-12-25T07:06:47.388220 | 2020-09-28T15:16:10 | 2020-09-28T15:16:10 | 299,315,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | #include "src/headers/mainwindow.h"
#include "src/headers/queue.h"
#include <QApplication>
#include <QDebug>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.constructor();
qDebug("showing window");
w.show();
qDebug("cancelling to show window");
a.exec();
... | [
"sadscream.ilia@gmail.com"
] | sadscream.ilia@gmail.com |
1e956fd96dc8f1fed0854b9179c70eadb82f86c8 | fd4b42eb8a59fad84d899dbbafd86396d63c61c5 | /sources/Utils/misc.h | 9312dc8c660c29935aa1d25fd08970a496d9b802 | [
"Apache-2.0"
] | permissive | MIPT-ILab-Compilers/mipt-scheme-compiler | 7440d83bdcf7b404e5e7e06c1036f240a45079bd | c14fd5fb79324a42cfc0450c196f3ebdfaba4edd | refs/heads/master | 2021-05-29T16:59:54.245732 | 2015-10-30T10:01:05 | 2015-10-30T10:01:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,356 | h | /**
* @file: misc.h
* @defgroup Misc Miscellaneous
* @brief Various auxiliary routines
* @ingroup Utils
*/
/*
* Copyright (C) 2012 MIPT Scheme Compiler team
*/
#ifndef MISC_H
#define MISC_H
/**
* Check if pointer is not null
* @ingroup Misc
*/
inline bool isNotNullP( const void *pointer)
{
return point... | [
"necto@frtk.ru"
] | necto@frtk.ru |
903f470c31493f8c3ba7fe72d7edf3f235306e2f | d440f00e5e541bf5f8f45d84b65aae2bd30dafa5 | /leetcode/712_minimum_ascii_delete_sum_for_two_string/main.cc | 8c4b7f02abeb6a9a118bbd594176f9adf85c96c9 | [] | no_license | negibokken/sandbox | dd8fc47d1e0f38eb3aad5284d1fb21380801f1e1 | 852ea91af5987906a00dd681658f01c457e966bd | refs/heads/main | 2023-02-08T23:51:28.119011 | 2022-11-14T06:05:35 | 2022-11-14T06:05:35 | 88,619,333 | 0 | 0 | null | 2023-01-27T04:28:16 | 2017-04-18T11:53:05 | C++ | UTF-8 | C++ | false | false | 3,129 | cc | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vect... | [
"negibokken@gmail.com"
] | negibokken@gmail.com |
dde139651e8765ca4f449cbafcb19c31c3000da0 | e7be2ee48f952308f5672240c2c833d718d9d431 | /Juliet_Test_Suite_v1.3_for_C_Cpp/C/testcases/CWE78_OS_Command_Injection/s03/CWE78_OS_Command_Injection__char_environment_w32spawnl_81_bad.cpp | 39da8f98ec4d2327f1295caddfe1e70a0b959c05 | [] | no_license | buihuynhduc/tooltest | 5146c44cd1b7bc36b3b2912232ff8a881269f998 | b3bb7a6436b3ab7170078860d6bcb7d386762b5e | refs/heads/master | 2020-08-27T20:46:53.725182 | 2019-10-25T05:42:36 | 2019-10-25T05:42:36 | 217,485,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_environment_w32spawnl_81_bad.cpp
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-81_bad.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input from ... | [
"43197106+buihuynhduc@users.noreply.github.com"
] | 43197106+buihuynhduc@users.noreply.github.com |
82406ffb5ada64ddf163c41700e3af9408961583 | 6abdc994648eef5fa5138de9125f1a7fb9141fc9 | /20180911hello2/hello2.cpp | f725d3d9f06db323ac505bb269f51c292f626c3f | [] | no_license | karen933/cp2013890066 | d475acfa3e0c26a3beb8baecb9fc78a32c4e89ca | c703ed3df41ab6d66a0ecabb427d69de50f9bec6 | refs/heads/master | 2020-03-28T22:33:28.013964 | 2018-12-11T07:42:45 | 2018-12-11T07:42:45 | 149,241,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74 | cpp | #include <stdio.h>
int main(){
printf("my name is young\n");
return 0;}
| [
"harryjames@naver.com"
] | harryjames@naver.com |
cc7ec2fe6084a5124779dc620414035e56b5a597 | 3ed99388472896177bc59dd2e0f6b75b007c37ca | /9sbook-android/CrossApp/cocos2dx/actions/CCActionInstant.cpp | d7889b889ce2622f75e4db4faca1a85604b48cce | [
"MIT"
] | permissive | socketstack/9miao | ee923c2f5fbd2fc9e1da56626eef30c74bfaa49d | be56acac4070cb6796ce1d30e6302df923b0246c | refs/heads/master | 2020-04-22T00:26:58.245429 | 2014-06-26T07:03:19 | 2014-06-26T07:03:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,422 | cpp | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and as... | [
"dreamsxin@126.com"
] | dreamsxin@126.com |
ca2a49814c83e69d68c61afe32433ab7811ec211 | 26b90f03e3f280a69198212c156ca715d31fa5a7 | /src/Track.cpp | f78750d8686813f07ea56ab926c80c45cae5f53c | [] | no_license | Athos06/SkyPlatforms | 7f8f234ac7a0ebaf51b399a04897d8ad90dfa9bd | d1b79c9a777f378f172ec779fbed4f01eab3bc3c | refs/heads/master | 2020-03-16T20:01:59.355471 | 2018-05-13T09:53:27 | 2018-05-13T09:53:27 | 132,943,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,031 | cpp | #include <OgreArchive.h>
#include <OgreResourceGroupManager.h>
#include <OgreLogManager.h>
#include "Track.h"
Track::Track (Ogre::ResourceManager * pManager,
const Ogre::String & resource_name,
Ogre::ResourceHandle handle,
const Ogre::String & resource_group,
bool manual_load, Ogre::Manual... | [
"jorge.rosique6@gmail.com"
] | jorge.rosique6@gmail.com |
5c1d7e662fa549154966e0c1a86c333312a59b5c | 88f6070a41bace233f369f9710a005e4c2bb4132 | /mp_stickers/StickerSheet.h | ef4e2ff1b32838c5eabce4a830df9e447c4f4c55 | [] | no_license | avinda-desilva/Data-Structures | 604a1fff20b913524c13366c81fc7bb229ea03b9 | 04519b76c7781b0ea9cf10132cf4361a7f9d4707 | refs/heads/main | 2023-06-06T14:49:56.342533 | 2021-06-30T21:17:54 | 2021-06-30T21:17:54 | 381,834,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 921 | h | /**
* @file StickerSheet.h
* Contains your declaration of the interface for the StickerSheet class.
*/
#pragma once
#include "Image.h"
#include <vector>
#include <utility>
namespace cs225{
class StickerSheet {
public:
StickerSheet(const Image & picture, unsigned max);
~StickerSheet();
StickerS... | [
"avindad2@illinois.edu"
] | avindad2@illinois.edu |
c581647e3f70aba7da9dc799549a11ef3ba85f84 | 027d35121eddbd105ae8d33c63de0dd9d49d9ff2 | /testing/cc/metadata_impl.cc | 8dfe7fb243212af2edd751cefc1d851d0bf54abf | [
"Apache-2.0"
] | permissive | yoavamit/tink | 89dce94b4459e8c4de55d9a5d3eba1a5c1d5d9bd | a8f8912c88b0575af4ed777edb37097cb90cdfab | refs/heads/master | 2023-01-19T02:33:06.260226 | 2022-07-28T19:47:17 | 2022-07-28T19:47:17 | 173,323,012 | 0 | 0 | Apache-2.0 | 2019-03-01T15:16:55 | 2019-03-01T15:16:55 | null | UTF-8 | C++ | false | false | 1,262 | cc | // Copyright 2020 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
94c203e1f24cf05182556025c34f3161a58821c5 | 66169a2be2a38aa8b5090308d43b42c63549ca94 | /Nesis/Common/CanUnitInfo/UnitInfoBaseContainer.cpp | c04af9e2ea2d5a6c6ab3cf550a7d3faaa523558b | [] | no_license | jpoirier/x-gauges | 6a5a3b05673aeff8632908cdfc2975a0a07f75ee | 8261b19a9678ad27db44eb8c354f5e66bd061693 | refs/heads/master | 2016-09-06T11:13:27.022707 | 2011-12-19T06:54:23 | 2011-12-19T06:54:23 | 1,551,637 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,374 | cpp | /***************************************************************************
* *
* Copyright (C) 2007 by Kanardia d.o.o. [see www.kanardia.eu] *
* Writen by: *
* Ales... | [
"devnull@localhost"
] | devnull@localhost |
033179e3a8d39040fd818e900995b9bb987fd9e7 | 18a3f93e4b94f4f24ff17280c2820497e019b3db | /BOSS/SimHelpers/DetectorGeometryHelper.cxx | 6a16886ba5ed85bd8664c7304101448e82c69d8d | [] | no_license | jjzhang166/BOSS_ExternalLibs | 0e381d8420cea17e549d5cae5b04a216fc8a01d7 | 9b3b30f7874ed00a582aa9526c23ca89678bf796 | refs/heads/master | 2023-03-15T22:24:21.249109 | 2020-11-22T15:11:45 | 2020-11-22T15:11:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | cxx | #include "SimHelpers/DetectorGeometryHelper.h"
#include <iostream>
DetectorMap DetectorGeometryHelper::theMap;
DetectorGeometryHelper::DetectorGeometryHelper(std::string n, DetectorType t)
{
theMap[n]=t;
}
DetectorType DetectorGeometryHelper::GeometryType(std::string n)
{
if (theMap.find(n) != theMap.end()) return... | [
"r.e.deboer@students.uu.nl"
] | r.e.deboer@students.uu.nl |
c9bb96148863d83d76ca45e5f41ed627fe4bce7c | 0825fb2f43bc09a9e603d08764dbaf4d97b2c0cc | /src/plugins/lmp/plugins/jos/mobileraii.h | ff170c745b105a7f479721cfe17982d80ef7500a | [
"BSL-1.0"
] | permissive | project-renard-survey/leechcraft | 66927b2d36f42d22819fcde75734ad8cd52d5ce5 | 2c3ee319036ca905b3343935b237fc70d9753d69 | refs/heads/master | 2020-05-22T01:59:26.945935 | 2019-05-04T17:30:03 | 2019-05-04T17:30:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,095 | h | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
bd09739bddf3c8073095baaf2ac29bde0bf9706a | 12144cba8c23d6b1454ee8e59c6a9aebae585bb6 | /RefArrayAnalysis/Task.cpp | 805842eb4a6664f1b258784f3a04fedad098b1d0 | [] | no_license | interfas24/RefArrayAnalysis | 285544d58696d8cd593b9012f84d276255dd5d6b | 92719d1d6125c44fb4e9cb0327399a7fe303b3ae | refs/heads/master | 2021-09-17T22:20:56.507268 | 2018-07-06T03:10:12 | 2018-07-06T03:10:12 | 114,635,372 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,672 | cpp | #include "Task.h"
using namespace std;
using namespace gxx_math;
void Task::SetField(size_t i, const EOrHField & field)
{
field_[i] = field;
}
CartesianCS Task::operator[](size_t i)
{
return calc_points_[i];
}
std::vector<double> Gain::PostProcess()
{
vector<double> res;
//E field R Theta Phi
for (const EOrHF... | [
"interfas24@gmail.com"
] | interfas24@gmail.com |
0fb692828b4e08146855bbb6ae5d299456f0d2a7 | f9dea5bc1854b47f5a529665927c8dfe60fb4516 | /source/Bonus.cpp | 2303698217a361a3b04714a6ea168c8691215744 | [
"BSD-3-Clause"
] | permissive | marcellus-trixus/duel6r | 9d0ff7085a236da9370c2b05e1bbeb45e4ef4a66 | ee469eca1fe4f7332e4c4930c95128dc508f1356 | refs/heads/master | 2020-12-26T05:01:24.415775 | 2015-07-23T14:31:22 | 2015-07-23T14:31:22 | 37,579,270 | 2 | 0 | null | 2015-07-23T14:31:22 | 2015-06-17T07:22:48 | C++ | UTF-8 | C++ | false | false | 2,501 | cpp | /*
* Copyright (c) 2006, Ondrej Danek (www.ondrej-danek.net)
* 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, ... | [
"ondrej.danek@gmail.com"
] | ondrej.danek@gmail.com |
6625457726c853de160d361f2cf863ebf04dd8c5 | d65833a1fdfa3dc5a419e098d81e67848b7a4d86 | /logdevice/server/test/NodeRegistrationHandlerTest.cpp | e6f82c8cc1f74ae30152479aaa604dc667248158 | [
"BSD-3-Clause"
] | permissive | icikic/LogDevice | 6c8104b9672256cae58d8887896097a561babc02 | e3f4cc991ab19298225865e55f32dedbe4da31b8 | refs/heads/master | 2020-12-26T13:52:33.436105 | 2020-01-31T21:42:20 | 2020-01-31T21:44:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,381 | cpp | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "logdevice/server/NodeRegistrationHandler.h"
#include <gtest/gtest.h>
#inclu... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
f58cf11a2669fab7bea41a9e007ee45da143aa8b | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/rsync/gumtree/rsync_old_log_144.cpp | 9e46738452a1e48ba286a42e9133b58732c4c958 | [] | 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 | 54 | cpp | fprintf(stderr,"chdir %s : %s\n",dir,strerror(errno)); | [
"993273596@qq.com"
] | 993273596@qq.com |
7c48bb73ffd1f69592e4b5cc6d30dd6224464079 | 698245d5df84e7a03da65e62107d82f43cf999ce | /exercise1.cpp | edcb1c22ef23019455987365abb9bb3994d197f7 | [] | no_license | adeteriba/Software-Design | 456cab37a442a278dccfbc9a49abe50ffc6c5669 | ec6467b3a6bd90e8c516677571bad8ab6dd5b355 | refs/heads/master | 2020-04-01T07:36:09.913350 | 2018-10-14T17:03:25 | 2018-10-14T17:03:25 | 152,995,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | cpp | #include <iostream>
using namespace std;
int main() {
cout << "Enter a sentence: " << endl;
string shortest;
string longest;
string word;
cin >> word;
while (cin>>word){
if(word.size()>longest.size())
longest = word;
else if(word.size()>shortest.size())
shortest = word;
}
cout <<"\nLongest word: " ... | [
"noreply@github.com"
] | adeteriba.noreply@github.com |
b1eb68ad78a4c9936607c02ef393f7259ce0d3d4 | 4adace3b69868884f9f160bc019f91050219513f | /codevs/1012.cpp | c64637ba25d17f30b2aee0b421f9f9d3e7f12c78 | [] | no_license | Dawn-K/Andy | f14e23d1b1317e2ad078b63756dd67b60ed6f4ce | 98845bb46312d5195987bc08d9a957a45cf33d45 | refs/heads/master | 2021-09-20T08:35:03.989167 | 2018-08-07T02:45:26 | 2018-08-07T02:45:26 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 566 | cpp | #include<iostream>
using namespace std;
int gcd(int x, int y) {
return y ? gcd(y, x % y) : x;
}
int main() {
int x, y;
int p, q;
cin >> x >> y;
int sum = 0;
//若例子为 12 4096 不加此条件会超时。
// (p / x) * (q / x)*x == y
//是利用的 p * q ==x * y ,这样写的原因是避免p*q溢出
if(y % x == 0) {
for (p = ... | [
"kon.gzhen@163.com"
] | kon.gzhen@163.com |
f752d65514e0a9bfafa37a86bdc893233adad2c2 | 8ac12c56f8d01c45613c4afdbf165128d6f84cb3 | /src/shared/include/network.h | d109146e1054aaf976fecf5346ed483f5fb3b636 | [] | no_license | Nojus2001/microsoft_zone_internetgames | 1f7d813edb3a0e39d0c7432e8c2f73b46183e0ab | d6f83127d287a5ea46a8f4b36351b2a2389393cd | refs/heads/master | 2020-06-30T00:54:19.197556 | 2019-08-04T18:58:01 | 2019-08-04T18:58:01 | 200,671,380 | 2 | 1 | null | 2019-08-05T14:27:36 | 2019-08-05T14:27:35 | null | UTF-8 | C++ | false | false | 8,784 | h | #ifndef _NETWORK_H_
#define _NETWORK_H_
#ifdef __cplusplus
#include "zonedebug.h"
#include "netcon.h"
#include "pool.h"
#include "queue.h"
#define ZNET_NO_PROMPT 0x1
#define ZNET_PROMPT_IF_NEEDED 0x2
#define ZNET_FORCE_PROMPT 0x4
// window messages
// WPARAM is 1 when dialog is shown
// 0 when dialog is cl... | [
"masonleeback@gmail.com"
] | masonleeback@gmail.com |
58114fe28a33b15d0c4300cac9c2512e9514c426 | 7c7ba64a2f18eb0f8713185e5491ef4557f996fe | /EndGame/Sandbox/PacMan/PacManLayer.hpp | ee87c1954222dc3c85f8f24366984ba894fafb02 | [
"MIT"
] | permissive | siddharthgarg4/EndGame | f86963b5776984c26d2203ea3d8537a680b13a80 | ba608714b3eacb5dc05d0c852db573231c867d8b | refs/heads/master | 2022-11-27T03:21:53.787321 | 2020-07-30T21:12:02 | 2020-07-30T21:12:02 | 266,642,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,039 | hpp | //
// PacManLayer.hpp
// EndGame
//
// Created by Siddharth on 18/07/20.
// Copyright © 2020 Siddharth. All rights reserved.
//
#ifndef PacManLayer_hpp
#define PacManLayer_hpp
#include <EndGame/EndGame.h>
#include <Sandbox/PacMan/PacMan.hpp>
class PacManLayer : public EndGame::Layer {
public:
//static... | [
"30897961+coder004@users.noreply.github.com"
] | 30897961+coder004@users.noreply.github.com |
edc16428a932adbcf79581f5f3cab3d55863aca2 | 1f9decefe1f0601f3c2f35c791eb59b329b8a8fe | /MRPresetListC.hpp | c8a3bf9f06d4403eceaa4ddf199be51878af6961 | [] | no_license | MidiRack/GUI | 5dd30925bd59c8de2e4d2d872b40c49fc60b45ee | a481dabf7707a61676e8ccab54305b24768fcb1c | refs/heads/master | 2021-09-14T19:57:26.518944 | 2018-05-18T12:41:48 | 2018-05-18T12:41:48 | 125,999,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,233 | hpp | #ifndef MRPRESETLIST_HPP
#define MRPRESETLIST_HPP
#include <QWidget>
class MRLCDButton;
class MRPresetList : public QWidget
{
Q_OBJECT
public:
explicit MRPresetList(QWidget* parent = nullptr);
~MRPresetList();
//Current page
int page();
void setPage(int page_);
//Current selected item index
int selectedIn... | [
"sanderthedragon@zoho.com"
] | sanderthedragon@zoho.com |
93b064d2e76d9da78ddd98f4c2c99d5bef620c8e | 709cd826da3ae55945fd7036ecf872ee7cdbd82a | /Term/Bowling/tags/Submittion2/LethalBowling/RenderingContext.cpp | a7530fd8dc649e243910fe80d5fa424966100a0a | [] | no_license | argapratama/kucgbowling | 20dbaefe1596358156691e81ccceb9151b15efb0 | 65e40b6f33c5511bddf0fa350c1eefc647ace48a | refs/heads/master | 2018-01-08T15:27:44.784437 | 2011-06-19T15:23:39 | 2011-06-19T15:23:39 | 36,738,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | #include "RenderingContext.h"
#include "OpenGlException.h"
#include <gl/GL.h>
using Virgin::OpenGlException;
namespace OpenGl
{
RenderingContext::RenderingContext(HDC hdc)
: handle_(nullptr)
{
CreateContext(hdc);
}
RenderingContext::~RenderingContext(void)
{
if(handle_ != nullptr)
... | [
"pocatnas@gmail.com"
] | pocatnas@gmail.com |
e6e7b9a1fce3bb4ba11d3bb11cab8bb02e176c37 | 2db6ccfa9fbba541eab74738940b39f7ffcfdaf0 | /C语言/函数/2-求π的值.cpp | 50316dc3a5dcc1d3028544df4082f5e40b68e067 | [] | no_license | 420xincheng/c | 5852a2878486dc6676a8fad7a13690af230c8823 | 4a097f5a0ffe733c98beece1ec1850c5ae611b25 | refs/heads/main | 2023-06-14T18:06:21.741291 | 2021-07-03T10:49:08 | 2021-07-03T10:49:08 | 342,118,709 | 0 | 0 | null | 2021-02-26T07:01:41 | 2021-02-25T04:08:11 | C++ | GB18030 | C++ | false | false | 394 | cpp | /* π/2 = 1+1/3+(1×2)/(3×5)+(1×2×3)/(3×5×7)+...+(1×2×3×...×n)/(3×5×7×...×(2n-1))
*/
#include <stdio.h>
double pai(double ex)
{
double pi=1,s=1,n=1,t;
while (s>=ex)
{
t = n/(2*n+1);
s = s*t; //下一项的值
pi = pi+s;
n++;
}
pi = pi*2;
return pi;
}
void main ()
{
double ex;
printf ("请输入精度:");
scanf ("%lf",... | [
"1844733921@qq.com"
] | 1844733921@qq.com |
0a09139ee63e0888d142abd06a98087b4de30d9f | a6b7c80c91f271239afe3f31fee1360e94d5eaea | /include/NumCpp/Vector/Vec2.hpp | 2e442ebd6bfd99d503cb260a66044b883ebf3b65 | [
"MIT"
] | permissive | stjordanis/NumCpp | c1dcbd0162e4c46d3bae32984fbc2137036ca20e | 2ecc1312f5f4fd8aeba298f917228c120f98d155 | refs/heads/master | 2022-11-05T08:03:54.988549 | 2020-06-21T02:32:09 | 2020-06-21T02:32:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,599 | hpp | /// @file
/// @author David Pilger <dpilger26@gmail.com>
/// [GitHub Repository](https://github.com/dpilger26/NumCpp)
/// @version 2.0.0
///
/// @section License
/// Copyright 2020 David Pilger
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy of this
/// software and associa... | [
"dpilger26@gmail.com"
] | dpilger26@gmail.com |
f774d696511f8ebac73545f3d24e77fa3eab765f | 0e52beeada21a07e1dda68f7d681e505e0d43162 | /OpenGL_Project/src/Renderer.cpp | 41ea165bdd98bbd69b0301992c98658fcbce8c03 | [] | no_license | Jmakharashvili7/Project_OpenGL | d921be8317c237804b710acbcc216b3f7bd115d2 | af5be6713b67862973e3c5844027f16b1137b543 | refs/heads/master | 2023-04-01T05:29:36.327616 | 2021-04-22T08:26:39 | 2021-04-22T08:26:39 | 351,905,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | cpp | #include "Renderer.h"
#include <iostream>
#include "VertexArray.h"
#include "IndexBuffer.h"
void GLClearError()
{
while (glGetError() != GL_NO_ERROR);
}
bool GLLogCall(const char* function, const char* file, int line)
{
while (GLenum error = glGetError())
{
std::cerr << "[OpenGL Error] (" << err... | [
"m017735i@student.staffs.ac.uk"
] | m017735i@student.staffs.ac.uk |
87f9b6affe0c4d0df8101bd6fd182b875f978c23 | 8be023f90d9a18f4917af4bba8fb31230df3df2a | /SigLog_MibLib/snmp-usm-dh-objects-mib/usmDHUserKeyTable/usmDHUserKeyTable_data_get.cpp | 2de89d6d1b308a6b0fb76524cde8dba2e9b89f99 | [] | no_license | duniansampa/SigLog | d6dba1c0e851e1c8d3aef3af4bb85b4d038ab9c9 | 3dae0e42a36ebc5dca46fb044d3b1d40152ec786 | refs/heads/master | 2021-01-10T12:25:17.511236 | 2016-03-12T18:38:19 | 2016-03-12T18:38:19 | 44,571,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,879 | cpp | /*
* Note: this file originally auto-generated by mib2c using
* version : 1.20 $ of : mfd-data-get.m2c,v $
*
* $Id$
*/
/*
* standard Net-SNMP includes
*/
#include <siglog/net-snmp-config.h>
#include <siglog/net-snmp-includes.h>
#include <siglog/agent/net-snmp-agent-includes.h>
#include <openssl/dh.h>
/... | [
"duniansampa@outlook.com"
] | duniansampa@outlook.com |
7a39ce13e3d9c90dc1e67abade1c37fc5a443eda | 5a5d4edf1a44c80014776b0161ce6bfd34d8c9bd | /plugins/memcached/memcachedplugin.hpp | a176a435c42c54b84770ab72e5d7200a4648f2c3 | [
"Apache-2.0"
] | permissive | aranjan1002/HPCC-Platform | d92cbedfe8a61e1a26bc3963dd98103fe326e726 | 68bd6cb5481aa77d5a1341d0ebbe7f71a3441bfc | refs/heads/master | 2021-01-21T19:27:45.979521 | 2015-08-07T21:32:12 | 2015-08-07T21:32:12 | 36,676,213 | 0 | 0 | null | 2015-06-01T17:19:00 | 2015-06-01T17:18:59 | null | UTF-8 | C++ | false | false | 5,282 | hpp | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2014 HPCC Systems.
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 ... | [
"james.noss@lexisnexis.com"
] | james.noss@lexisnexis.com |
1b64a2e668623d35626993775704921b407bedb4 | b48af13290e6412af05aa01e907f7c6fff707ec7 | /labb2v1/wall.hpp | 9ced02d400024a0e2403310732a2b2d146848118 | [] | no_license | byteofsoren/DVA222 | 2d436f52bcfaedf56e244709c3e5eb3c0b7f5464 | d8f5a2a7c8aeee2456cb530478ca89931a6df3a4 | refs/heads/master | 2021-01-12T10:33:28.399345 | 2017-03-06T08:19:49 | 2017-03-06T08:19:49 | 81,720,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | hpp | #ifndef WALL_H
#define WALL_H
#include "g_object.hpp"
#include "ball.hpp"
class Wall: public GObject
{
private:
int efect; // Detrmins the action of a wall -1 for bounse 1 for slowdown.
std::vector<Ball> *balls;
public:
Wall(); //No param
Wall(float posx, float posy, float width, float height, int efe... | [
"r00tr4t@gmail.com"
] | r00tr4t@gmail.com |
5ac28e81b04bc785537a704bf41db705520bcd7b | 3a2e172106b0d1248fef3d3163c471eb8b48e49a | /RegularContest/040-049/046/A.cpp | 071182d7856e4ff1044d1ba1f03cad4c36fd6a34 | [] | no_license | rsotani/AtCoder | 4b7eadb99981af1b2e9154d1382f011ac3100880 | 22d30769136bcb8496007a04126376984d533357 | refs/heads/master | 2020-03-27T09:09:12.612611 | 2019-01-01T13:05:29 | 2019-01-01T13:05:29 | 146,317,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int N;
cin >> N;
if (N<10) cout << N << endl;
else if (N<19) cout << (N-9)*11 << endl;
else if (N<28) cout << (N-18)*111 << endl;
else if (N<37) cout << (N-27)*1111 << endl;
else if (N<46) cout << (N-36)*11111 << endl;
else cout << (N-45)*111111... | [
"sosososotaniryota@gmail.com"
] | sosososotaniryota@gmail.com |
9da65ed7171e3e02cea6e9925c0d67ae7c197473 | 0417720a0c8e977a7aeddfe047422c408deaee24 | /apps/ossim-header-crawl/ossim-header-crawl.cpp | b40abb2b495b930d1d403374a07e56a9f87de547 | [
"MIT"
] | permissive | ossimlabs/ossim | e093899a1e001cf8db16fb6da121ec174a7bc6ff | 3eda6223501b5d1c566e91261b832bc24975cf32 | refs/heads/dev | 2023-06-21T21:54:22.889489 | 2023-06-15T23:33:36 | 2023-06-15T23:33:36 | 41,825,646 | 300 | 161 | MIT | 2023-08-29T20:15:07 | 2015-09-02T20:20:52 | C++ | UTF-8 | C++ | false | false | 9,559 | cpp | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: See top level LICENSE.txt file.
//
// Author: Ken Melero
// Originally written by Oscar Kramer.
//
// Description: This app displays a binary file in a nice
// for... | [
"okramer@radiantblue.com"
] | okramer@radiantblue.com |
10ecae4c01c829c3afb22c1cbf32086a127c00eb | f9d4d3a1a14838981b49bc3314e46df446b9e8ef | /WxCommon/ReportParser.cpp | b878fbee3c8df672bf1e4b3ad51cb6df9a000784 | [] | no_license | maptube/WxDecoder | a663d7ec604c4c27555598df729228c3a57e1b74 | a62fe554c1911e2efda10b1a772c53ca900822fd | refs/heads/master | 2021-01-01T16:31:05.198305 | 2014-01-05T11:45:06 | 2014-01-05T11:45:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,605 | cpp | //ReportParser and base class of MetarParser and SynopParser
#include "stdafx.h"
#include "ReportParser.h"
#include "TextUtils.h"
#include <string>
using namespace std;
void CReportParser::SetReport(string& Report)
{
m_Report=Report;
m_Tail=Report;
SplitHeadTail();
}
void CReportParser::SplitHeadTail()... | [
"richard.milton@ucl.ac.uk"
] | richard.milton@ucl.ac.uk |
9d4c2c9f184cae9059e072108c052b5a52bb450a | c097c09c748cb8294d83d4763d744957501cd67c | /ProyectoMVCAlumnoCoordinacion/MCoordinacion.h | 70981cd2654aeb871c478f9de5c3ebe161772e7f | [] | no_license | PeterGabrielVE/CPlusPlus | afd9af5c4b5507fe0eb16793bea76f4ba76dc247 | b82a3df577570cc1e8deac2aa14c7baf494dc158 | refs/heads/master | 2021-05-11T04:03:03.054773 | 2018-04-01T02:50:01 | 2018-04-01T02:50:01 | 117,926,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | h | /*
* MCoordinacion.h
*
* Created on: 29/06/2013
* Author: Pedro Gabriel Leal
*/
#ifndef MCOORDINACION_H_
#define MCOORDINACION_H_
#include "MAlumno.h"
class MCoordinacion
{
private:
int contNot20;
int contAlu;
int contAplazados;
int contAprobados;
float acumNota;
public:
MCoordinacion()... | [
"gaboleal123@gmail.com"
] | gaboleal123@gmail.com |
20f51f050ec577add0d25cb218767a8bd4f0e042 | df60f02caa790c96af3a140c4765028ab0cb4d4c | /kernel/src/common/simplefont.cpp | 2e47f9dabf24e5e32f33ec398425ac562e014df3 | [] | no_license | dascandy/rodvin | 8d0c2ea407aa7d0699522474529ef54455594323 | 39399391c2c958f510020a3e7ade726b28ef05f8 | refs/heads/master | 2021-03-24T09:40:59.772324 | 2017-01-27T18:17:47 | 2017-01-27T18:17:47 | 72,114,921 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 17,243 | cpp | #include "simplefont.h"
unsigned char simplefont[128 * 128 + 1] =
"10100101000100001001001000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000001000000010000"
"101001010001000010010010100010001111100001110000100000000000000000000000100001000000000000010000000000000000000000010... | [
"peter.bindels@tomtom.com"
] | peter.bindels@tomtom.com |
76aafbaaf4ab9188adecc1e50771660da6351c70 | 9b882c3dfaa41e62b15fb635599ef6780f2c8379 | /ash/public/cpp/ash_pref_names.h | 1d2bb4d1724ed1e963dab2f28a5a8f167f99c718 | [
"BSD-3-Clause"
] | permissive | cqtangsong/chromium | 1e042e2f49d9cb194790674805afcc1308a08f81 | e73c1f260913f418bf5886b996b02dae372cfffa | refs/heads/master | 2023-01-14T07:34:05.166609 | 2020-03-12T03:07:32 | 2020-03-12T03:07:32 | 246,735,752 | 2 | 0 | BSD-3-Clause | 2020-03-12T03:32:44 | 2020-03-12T03:32:43 | null | UTF-8 | C++ | false | false | 9,899 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_PUBLIC_CPP_ASH_PREF_NAMES_H_
#define ASH_PUBLIC_CPP_ASH_PREF_NAMES_H_
#include "ash/public/cpp/ash_public_export.h"
namespace ash {
namespa... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4a0d04e7a96a6c8447e3952302e9d0db60495ae2 | 5a556ccfe7e0660fcac42170ed13497d63223a1e | /cpp/competitive/binary-tree/tree-from-linked_list.cpp | 9ef07d78da9a611c3eb8eed2f4df784431aa4e8b | [] | no_license | rishabhc32/everyday-stuff | cd74b3cbf71f8cd275480e998ac0c4b922fc1a2a | e4b182a1937d3a26667ec290e4e4754d300d06da | refs/heads/master | 2021-01-24T02:29:16.480285 | 2020-07-14T07:34:58 | 2020-07-14T07:34:58 | 122,846,724 | 0 | 0 | null | 2020-08-17T07:19:04 | 2018-02-25T15:06:37 | C++ | UTF-8 | C++ | false | false | 1,412 | cpp | //Problem Statement -- https://www.geeksforgeeks.org/given-linked-list-representation-of-complete-tree-convert-it-to-linked-representation/
#include <iostream>
#include <queue>
#include <list>
using namespace std;
struct node {
int data;
struct node *left, *right;
};
node* newNode(int data) {
node* tem... | [
"rishabhc32@gmail.com"
] | rishabhc32@gmail.com |
43db55aa64b4a08ed75efae71cb993dbf66b7ea6 | c83f1f84d00b9fa2640a362e59c4322d6e268116 | /use a cabeça/Command/Command/src/concrete/commands/GarageDoorDownCommand.h | 35bd367fe7f7ef4f3d0cdd2585e19dd7cfbafedd | [
"MIT"
] | permissive | alissonads/Design-Patterns-cplusplus | 9a2936fa7d3cd95c6816e44511eac132e10e96be | 0e56fbc0c1877b9edf2ad5efafbb9a01fa94d748 | refs/heads/master | 2020-06-28T01:06:45.933658 | 2019-08-01T18:39:55 | 2019-08-01T18:39:55 | 200,101,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | h | #pragma once
#include "..\..\abstract\Command.h"
class GarageDoor;
class GarageDoorDownCommand :
public Command
{
private:
GarageDoor *garageDoor;
public:
GarageDoorDownCommand(GarageDoor *_garageDoor);
~GarageDoorDownCommand();
virtual void Execute();
virtual void Undo();
};
| [
"alissond.ads@gmail.com"
] | alissond.ads@gmail.com |
7c074da629f9bf81f9b3310b7dccac6614190f5d | 24a0c4835a70f852c2a5c0f1890afeedd6573e19 | /security/keystore/keystore_attestation_id.cpp | ccd3808578ebaabceb1d6d760704099956a6e68a | [
"Apache-2.0"
] | permissive | jiangshide/android-system | cbe903883b4334be718f98b47910640515f1190e | ef92d4e47f51e84d2e7ed3affbeadabeafde2cd2 | refs/heads/main | 2023-06-09T01:52:12.061540 | 2021-06-21T03:00:05 | 2021-06-21T03:00:05 | 378,790,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,392 | cpp | /*
* Copyright (C) 2016 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 app... | [
"jiangshide@zhihu.com"
] | jiangshide@zhihu.com |
9d49b8fb4c0f45e1b6f97537843a8204f1f94d87 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chrome/browser/media/router/mojo/media_router_mojo_test.h | 92a4d691eeb6fd53b4b320373fa68989c24d56da | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,178 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_
#define CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_
#include <st... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
2e449f2c5078be212ae655145355aed9423d1d37 | c29733c7e9cc1e876914be505c3da8adfb86f1b9 | /linked-list-vi-clone/regexmatches.h | 5062984cb83b25d84979fe38ca5eba1edd927b56 | [] | no_license | dontdropmybass/linked-list-vi-clone | eabc5b04f4e97843d7a249c557d645628dbda027 | c1d8df01ea98f2d2589cf72063f943611e4da920 | refs/heads/master | 2021-01-11T21:01:59.087890 | 2017-02-02T02:34:11 | 2017-02-02T02:34:11 | 79,232,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | h | //
// regexmatches.h
// linked-list-vi-clone
//
// Created by Alexander Cochrane on 2017-02-01.
// Copyright © 2017 Alexander Cochrane. All rights reserved.
//
#ifndef regexmatches_h
#define regexmatches_h
std::regex Inum("I \\[\\d\\]+");
std::regex I("(I)");
std::regex H("H");
std::regex Dnumnum("D \\d+ \\d+");
... | [
"acochrane@almightycorp.com"
] | acochrane@almightycorp.com |
ff053a4171b4e017071873a069e615fa110c67fa | c22b3b90b8979d119640b353ac8725e9d20d3c92 | /VKTS/src/layer0/shader_module/ShaderModule.hpp | 311271e4f007811f7bd597a629c919a76624be57 | [] | no_license | zomeelee/Vulkan-1 | dff543e264f7b4b5e871ebc128fedf3bf605ec9e | f1112926d5a6242769034dd25cf03698fa11c7b4 | refs/heads/master | 2020-06-19T21:35:37.396104 | 2016-11-26T10:43:21 | 2016-11-26T10:43:21 | 74,829,887 | 1 | 0 | null | 2016-11-26T14:16:57 | 2016-11-26T14:16:56 | null | UTF-8 | C++ | false | false | 2,695 | hpp | /**
* VKTS - VulKan ToolS.
*
* The MIT License (MIT)
*
* Copyright (c) since 2014 Norbert Nopper
*
* 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, inclu... | [
"norbert@nopper.tv"
] | norbert@nopper.tv |
fe8e0c772545b1e598d6bbc5922e6ca1ad4dfe6e | 30b901e842831cb8bdf2768f1ba86d0b807fe869 | /PA08/src/main.cpp | cb9a9f90656a4c98d2ed0da5716f361ec0e38d3c | [] | no_license | csorkin09/CS-480 | 39892591eafde024b5b63ef583e9e62e2aa3856d | bf094cb9b14f095defbba45e8eb9747d4bd3dcb9 | refs/heads/master | 2020-04-09T23:56:15.701319 | 2013-11-04T09:34:21 | 2013-11-04T09:34:21 | 12,443,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,321 | cpp | //Assignment 4
#define _USE_MATH_DEFINES // Windows defines because I'm a slave to the man
#define _CRT_SECURE_NO_WARNINGS
#define MAX_SHADER_STR_LEN 1000
#include <GL/glew.h> // glew must be included before the main gl libs
#include <GL/glut.h> // doing otherwise causes compiler shouting
#include <GL/freeglut.h> // do... | [
"csorkin09@gmail.com"
] | csorkin09@gmail.com |
062d74ecadc141573a13f1774100a01fd339cb00 | 262464181bb134094996f34dc000f999cd5e0d8b | /sources/Renderer/OpenGLES3/GLES3ModuleInterface.cpp | ff08b0f8d930f1c2f9eb385d6be6084c9bd86460 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | CaichaoGitHub/LLGL | a71a478408c037eb4cc2cfc0578219e1658a52b3 | 9a99b1d4e1bc7f3603e634442e7a6aae80af0200 | refs/heads/master | 2020-04-25T15:32:13.251302 | 2019-02-27T09:20:07 | 2019-02-27T09:20:07 | 172,882,083 | 0 | 0 | NOASSERTION | 2019-02-27T09:12:02 | 2019-02-27T09:12:01 | null | UTF-8 | C++ | false | false | 761 | cpp | /*
* GLES3ModuleInterface.h
*
* This file is part of the "LLGL" project (Copyright (c) 2015 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include "../ModuleInterface.h"
//#include "GLES3RenderSystem.h"
#include <LLGL/RenderSystemFlags.h>
extern "C"
{
LLGL_EXPORT int LLGL_RenderSystem_Bui... | [
"lukas.hermanns90@gmail.com"
] | lukas.hermanns90@gmail.com |
502981b8c037bdc31ae9d5f00cf05d0b12425659 | 1cbde47c1f484d46d703d59c75ac53ba03386956 | /src/Util/Timer.cpp | cd8f6b7097c7d8545895d5898e84630ae97a5808 | [] | no_license | mrAndersen/dsync | c4094400bf491c7884209c7e6c506930ea89e92b | 5ea5aa7dbe456807876ab6f71e10b773bf62899e | refs/heads/master | 2020-03-28T09:22:20.885689 | 2018-09-15T14:59:35 | 2018-09-15T14:59:35 | 148,031,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cpp | #include "Timer.h"
void Timer::start() {
m_StartTime = std::chrono::system_clock::now();
m_bRunning = true;
}
void Timer::stop() {
m_EndTime = std::chrono::system_clock::now();
m_bRunning = false;
}
bool Timer::isStarted() {
return m_bRunning;
}
void Timer::restart() {
stop();
start();
}... | [
"mrandersen2004@yandex.ru"
] | mrandersen2004@yandex.ru |
de3b048083cf57b3d26242e41e6fbe47218692e5 | 5fbef5616ce3089028c9c0e3ad8b03b59308b07e | /UtilsTest/UtilsTest/DialogManager.cpp | 62582e154f0981e10790339541b93cd000898ccb | [] | no_license | NeetSonic/MFCUtils | a10d1ad6ebda6474b675b59252ff99d8caab2ba7 | ead368f86d9bd324b8ef9f550bc003045017e81e | refs/heads/master | 2021-01-20T20:44:39.880310 | 2016-07-04T12:17:53 | 2016-07-04T12:17:53 | 61,687,043 | 6 | 2 | null | null | null | null | GB18030 | C++ | false | false | 2,213 | cpp | //--------------------------------
// DialogManager for MFC project
// Author:neetsonic
// Date:2016/6/30
//--------------------------------
#include "stdafx.h"
#include "DialogManager.h"
#include "cderr.h"
#define MAX_FILE_SELECT_COUNT MAX_PATH
#define SELECTED_TOO_MUCH_FILE L"打开的文件数量太多!"
BOOL DialogManager::ShowFo... | [
"neetsonic@gmail.com"
] | neetsonic@gmail.com |
a7f7aa3289fb9518f5da503d65e4eabb86be77d3 | 878b6cdaafb8ee7b106e83034de21d1d064eea64 | /VC6.0/code/UDL_Client-20190823/UDLServer/ScanInterface.cpp | d35a9a7ef444eaf1f91c2a86ec9130d107eec387 | [] | no_license | hafoxiaowanzi/DeviceDriverDll | 1724e0821351527e2cd9a5c2ea53e6690db109e1 | 62199f4bd81955fe953ac397a0b91c3621f4fe38 | refs/heads/master | 2022-06-20T10:57:06.871504 | 2020-05-16T09:33:21 | 2020-05-16T09:33:21 | 264,344,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,783 | cpp | // ScanInterface.cpp : Implementation of CScanInterface
#include "stdafx.h"
#include "UDLServer.h"
#include "ScanInterface.h"
#include "DeviceManger.h"
/////////////////////////////////////////////////////////////////////////////
// CScanInterface
extern CDeviceManger _DeviceManager;
STDMETHODIMP CScanInterface::Prep... | [
"hafoxiaowanzi"
] | hafoxiaowanzi |
54f3d586f8cb2248e7bd63e03f5dd59eff0d712b | ea00a05a57658f30096705cb5a3c952e7d6e6875 | /src/board.h | 2a08a24ad5e3f5830b849801e7ae30a67dd66996 | [] | no_license | kapilgupta1020/tictactoe | 6b5f31cc8528ce15d5c1ed46a5c5f5ea5b4188a6 | c0d62669fd2933487a0c5f465e10f9fd5cb861c5 | refs/heads/master | 2023-04-10T01:15:16.235823 | 2021-04-11T12:00:18 | 2021-04-11T12:00:18 | 356,750,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | h | #pragma once
#include <vector>
using namespace std;
// forward declaration
class PlayerMove;
class Player;
/**
* A class to represent a game board of size NxN
*/
class Board {
private:
vector<vector<char>> b; // 2-D array to represent board
int N; // dimension of board
int moveCounter;
public:
Boar... | [
"kapilgupta1020@gmail.com"
] | kapilgupta1020@gmail.com |
49273425f0a1ad398c2e4a3b0d1eca4d595acd73 | e649acb68fc5134a3843ef2330e5c2d4070363a8 | /688D.cpp | 2807ec0ba7674b1169fe3ea9774124ba86308fb3 | [] | no_license | jesuswr/cp-codes-and-problems | 6483949ce896e59c471f0e0640f5c8b47f482ec3 | 770f3bf004f90015f078d5699d26cde5c33d9a28 | refs/heads/master | 2023-08-08T03:37:36.626572 | 2023-07-24T16:54:02 | 2023-07-24T16:54:02 | 196,292,128 | 1 | 1 | null | 2019-10-09T23:23:43 | 2019-07-11T00:26:10 | C++ | UTF-8 | C++ | false | false | 1,293 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
int dasdas;
#define FOR(i,n,m) for(int i = n; i < (int)m; i++)
#define ROF(i,n,m) for(int i = n; i > (int)m; i--)
#define ms(obj,val) memset(obj,val,sizeof(obj))
#define ri(a)... | [
"jesuswahrman@gmail.com"
] | jesuswahrman@gmail.com |
dd52b8baa8aa3f89fe97d3a5f195522e69d0972b | ce5f6ae814cee63217a41e788790491c1629d0a7 | /Clases/include/Vector.h | 558c24577b3b05dc05de892c4d61951ef75e526f | [] | no_license | inigomanuel/CComp | 05a4c4edc6f71813a494de866837c1774707a105 | 204a7aa781d9e1f64765168eec391d5e00615ac3 | refs/heads/master | 2021-01-22T20:29:19.834386 | 2018-06-23T16:18:38 | 2018-06-23T16:18:38 | 85,328,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | h | #ifndef VECTOR_H
#define VECTOR_H
#include <Point.h>
class Vector
{
public:
Point start,endx;
void impri();
void origin();
void modulo();
};
#endif // VECTOR_H
| [
"UCSP@UCSP.AULAB"
] | UCSP@UCSP.AULAB |
9240fd83ee0a70040f25d44d583f33e3c71ec149 | 5d0ddbd6f42843ded4d5ba18966dc130725607d2 | /c13.code/uintah/branches/pearls/src/Core/Grid/PatchBVH/PatchBVHLeaf.cc | 90b9058368b994fc9e2e62312c7775e2714430aa | [
"MIT"
] | permissive | alvarodlg/lotsofcoresbook2code | b93ad62e015d205e4f550028ceb54254023021ee | a2dbeb306fa29ae6663ae29b2c4c132608375cf0 | refs/heads/master | 2020-12-31T03:02:22.579614 | 2015-09-02T15:23:18 | 2015-09-02T15:23:18 | 54,509,919 | 2 | 1 | null | 2016-03-22T21:27:56 | 2016-03-22T21:27:56 | null | UTF-8 | C++ | false | false | 3,211 | cc | /*
* The MIT License
*
* Copyright (c) 1997-2015 The University of Utah
*
* 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 limitation the
* right... | [
"ryan.g.coleman@gmail.com"
] | ryan.g.coleman@gmail.com |
b7b11591d416895b294e0b1d4bdedfbc8513b011 | decefb13f8a603c1f5cc7eb00634b4649915204f | /packages/electron/shell/common/gin_helper/locker.h | 32c9c626ea9e333e6e8c244eb646afa5dac76910 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | open-pwa/open-pwa | f092b377dc6cb04123a16ef96811ad09a9956c26 | 4c88c8520b4f6e7af8701393fd2cedbe1b209e8f | refs/heads/master | 2022-05-28T22:05:19.514921 | 2022-05-20T07:27:10 | 2022-05-20T07:27:10 | 247,925,596 | 24 | 1 | Apache-2.0 | 2021-08-10T07:38:42 | 2020-03-17T09:13:00 | C++ | UTF-8 | C++ | false | false | 962 | h | // Copyright 2014 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.chromium file.
#ifndef SHELL_COMMON_GIN_HELPER_LOCKER_H_
#define SHELL_COMMON_GIN_HELPER_LOCKER_H_
#include <memory>
#include "base/macros.h"
#include "v8/inc... | [
"frank@lemanschik.com"
] | frank@lemanschik.com |
7ee2dd59fc41ddac2a55e79a7214dddb85a6dd60 | f69b1c33e9a91802c3b7e4cab1e413ce300437c2 | /Quadruple.cpp | 5b9264610759a4993dc458f672417d9a94874b64 | [] | no_license | KouReal/CompilerWithCPP | b0112bbd77aa4b93b2baeefb85063c2294c31f96 | 14ab0963101fe705e27ead47c72f588f805ba5e4 | refs/heads/master | 2020-03-31T05:05:48.229289 | 2018-10-07T11:23:12 | 2018-10-07T11:23:12 | 151,932,761 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138 | cpp | #include"Quadruple.h"
Quadruple::Quadruple(){}
Quadruple::Quadruple(string on,int o1,int o2,int r)
:opname(on),op1(o1),op2(o2),res(r){} | [
"noreply@github.com"
] | KouReal.noreply@github.com |
85d8d5d5e49a9e01fbea491fefe36f97cad6d4c8 | 669867cdb1b238f899abb149d17a4a495d638e92 | /Source/3rdParty/PlayRho/Common/NonNegative.hpp | 8f6db5ffdf4a1ed8529b827ff0f9c8023184abef | [
"MIT"
] | permissive | Jilliana8397/Dorothy-SSR | 208bbee37d0445f8f84f160cf9e22f34699c20ac | 5ad647909c5e20cb7ebde9a1a054cdb944969dcb | refs/heads/main | 2023-06-15T20:35:26.750737 | 2021-07-16T02:02:31 | 2021-07-16T02:02:31 | 387,440,975 | 1 | 0 | NOASSERTION | 2021-07-19T11:30:23 | 2021-07-19T11:30:22 | null | UTF-8 | C++ | false | false | 2,121 | hpp | /*
* Copyright (c) 2020 Louis Langholtz https://github.com/louis-langholtz/PlayRho
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this... | [
"dragon-fly@qq.com"
] | dragon-fly@qq.com |
4d13232fe076ef36ab9fe79b8bb3c3f31b478a73 | 5838445e2b71196b7742bea6f42d7ad0d7db9627 | /db-extract-file.cpp | 08637059f85a70ce19b85adeb255e2fa0bed0f08 | [] | no_license | fmaulanaa/png-db | 32729b4bed6de46713070a86e520ed570931923e | b5c5bbb219ccc859c55d24dfa63667c9a8b02835 | refs/heads/master | 2021-01-17T21:54:09.964285 | 2011-03-10T16:13:56 | 2011-03-10T16:13:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | cpp | /* simple tool to extract a single file from the DB
* by Albert Zeyer, 2011
* code under LGPL
*/
#include "Png.h"
#include "DbDefBackend.h"
#include "DbPng.h"
#include "StringUtils.h"
#include "FileUtils.h"
#include <ctime>
#include <cstdlib>
#include <cstdio>
#include <iostream>
using namespace std;
Return _main... | [
"albert.zeyer@rwth-aachen.de"
] | albert.zeyer@rwth-aachen.de |
3cff853e3d8dfe583a3a57bda587aa79f1455339 | cb0db151590f1dcf2fcc0d4931d27ed914f1fe7d | /libraries/chain/chain_id_type.cpp | 8385f1253e25f988678a8e1c1af71673790d374e | [
"MIT"
] | permissive | ajunlonglive/openaichain | ea1302216705b9f136f3181fc948b250306d866b | 14f144afa1bb4db5e4bf75a5ad836f4e408cfc95 | refs/heads/master | 2023-03-18T11:33:48.928739 | 2018-06-13T09:41:29 | 2018-06-13T09:41:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | /**
* @file
* @copyright defined in oac/LICENSE.txt
*/
#include <oac/chain/chain_id_type.hpp>
#include <oac/chain/exceptions.hpp>
namespace oac { namespace chain {
void chain_id_type::reflector_verify()const {
FC_ASSERT( *reinterpret_cast<const fc::sha256*>(this) != fc::sha256(), "chain_id_type cannot ... | [
"40119822+openaichain@users.noreply.github.com"
] | 40119822+openaichain@users.noreply.github.com |
e7f698706db9d4eb2ec044cd4a4ec46ffa398779 | 2124fa2248d8101ae9f726fd0cace23716078aa5 | /youtubeDownloader/src/Html.hpp | f086759c9d563f3b11b4760d522d51c6755664c0 | [] | no_license | rishvin/Youtube-downloader-using-Google-CEF | 65bfc0ce74bbd95bf79229a8b11cdc8033cc4228 | 8dfc9e63ad8e56ea0fa670839802e96e22a5d7d5 | refs/heads/master | 2020-04-04T23:57:55.149273 | 2015-01-26T08:51:32 | 2015-01-26T08:51:32 | 24,765,903 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | hpp | #ifndef _HTML_HPP_
#define _HTML_HPP_
#include <string>
#include "curl/curl.h"
namespace YTD {
class Html {
public:
Html();
virtual ~Html();
void DecodeUrl(const char *pUrl, int len, std::string &outPage);
private:
CURL *pCurl;
};
}
#endif
| [
"RJoshi@IN-RJOSHI-LT.infinera.com"
] | RJoshi@IN-RJOSHI-LT.infinera.com |
77de99dc636158c2c6dc480f6b7e97ba5b1d6cc7 | 7d69daef11d841967183cdfc3f6eb609ee033916 | /dataProcess.cpp | 7a09a6be1800fe433431552b1bd76a2746ce07b8 | [] | no_license | opencorenmr/console-devel-2.0.0 | a5dec6d7e067b76b7b0a2cfbb4a77701c2ed9f37 | 6f7de06797e00b63e4117e0698fad54f3c588ffa | refs/heads/master | 2020-03-13T20:36:30.326574 | 2018-04-27T09:57:20 | 2018-04-27T09:57:20 | 131,278,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,993 | cpp | #include "dataProcess.h"
#include <QtWidgets>
#include <QLayout>
#include <QFileDialog>
#include <QFileInfo>
#include <QDir>
TProcess::TProcess(QObject *parent) :
QObject(parent)
{
}
TprocessTerminal::TprocessTerminal(QWidget *parent):
QWidget(parent)
{
FID_2D = new TFID_2D;
tw = new TransformWin... | [
"takezo@kuchem.kyoto-u.ac.jp"
] | takezo@kuchem.kyoto-u.ac.jp |
45430206c6448b075833548c0da3f71414f3ed5f | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir521/dir3871/dir4221/dir5434/file5541.cpp | dcea37b15f73889d9d4e3981d8a62753a6071bb1 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | cpp | #ifndef file5541
#error "macro file5541 must be defined"
#endif
static const char* file5541String = "file5541"; | [
"tgeng@google.com"
] | tgeng@google.com |
f0589087b9a81df01c81025d9115e7e3fde8821b | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5670465267826688_1/C++/VanillaMilkTea/gcj2015q3.cpp | e00c807b4f0eea1b022a9f09099ef6ad6f8674dd | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,816 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <algorithm>
using namespace std;
int main(int argc,char **argv){
int caseno,i,j,k;
int T;
int L;
long long X,x2;
int s[100001],sym=0,pm=1,sym2,pm2,c;
int max,found;
int mul2[4][4]={{0,1,2,3},{1,0,3,2},{2,3,0,... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
3acd2d254c4a28b0e2c68d4edf1e4a18f7eaac56 | d4876d852d32d64391f4eaf67b38a461a219cf73 | /src/GameCuaTao/Castlevania/Scenes/Stages/NextRoomCutscene.cpp | 13c1a975c383a08c9877c71435340a3c6fb865b2 | [] | no_license | ngb0511/Castlevania | 1894988743bfcd622e4eb01d13329cffaf31c91a | c2c8a33fcbe9c67cb22b0fe15fbe65b313f0b8aa | refs/heads/master | 2022-03-21T03:16:26.013207 | 2019-10-15T12:55:57 | 2019-10-15T12:55:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,938 | cpp | #include "Direct2DGame/Extensions/Animations/AnimatedSprite.h"
#include "NextRoomCutscene.h"
#include "Stage.h"
#include "StageEvent.h"
using namespace Castlevania;
constexpr auto CAMERA_CUTSCENE_SPEED = 140.0f;
constexpr auto WALK_DISTANCE = 135;
enum class NextRoomCutscene::State
{
VIEWPORT_MOVING_FIRST_HALF,
OP... | [
"near.huscarl@gmail.com"
] | near.huscarl@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.