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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ef9778e241885be5272027583fcfac02028b7ccc | 1f465d0e9082b92115d1d65f4f27ee03850b05f9 | /ReadFile/Store.h | 8fc97c0b336cf27f053307d623eea7a09949bc04 | [] | no_license | kjblkblt/ReadFile | 25c8a7b2225f6627d6fd0c5dbb9dc3960a0f60fa | c75309d1dd0b89177ae930cfe5e0ad6e42c5a27e | refs/heads/master | 2021-01-25T00:22:22.862937 | 2015-05-07T17:05:31 | 2015-05-07T17:05:31 | 34,702,589 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,823 | h | #include <string>
#ifndef STORE_H_
#define STORE_H_
using namespace std;
class Store
{
public:
static bool RevenueComparator(const Store& c1, const Store& c2);
static bool NPSComparator(const Store& c1, const Store& c2);
static bool StoreComparator(const Store& c1, const Store& c2);
Store();
~Store();
int stor... | [
"kim.x.johnson@gmail.com"
] | kim.x.johnson@gmail.com |
6411c0a5dc9202061a2b7a1a7d246eb39933c93a | 38702e29534e03742dedd1cc752990113059509c | /FrontEnd/front/windows/front/MainPage.h | 2756305093e34c45c91c8735e4d932576a1a3d5e | [] | no_license | kandabior/Queries | 6b9a2cb0aa20cea4dfcbd40b828b19dab2399f7c | 6e94dab1e3141dedf613cee503289a873c0dccc1 | refs/heads/master | 2023-03-19T10:44:31.557522 | 2021-03-02T15:48:48 | 2021-03-02T15:48:48 | 337,340,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | h | #pragma once
#include "MainPage.g.h"
#include <winrt/Microsoft.ReactNative.h>
namespace winrt::front::implementation
{
struct MainPage : MainPageT<MainPage>
{
MainPage();
};
}
namespace winrt::front::factory_implementation
{
struct MainPage : MainPageT<MainPage, implementation::MainPage>
... | [
"MJFC37@motorolasolutions.com"
] | MJFC37@motorolasolutions.com |
3b899af5d815f9b22371cc1977a7f604e8bc4d85 | 21f5356e9fd0b3ab9ee7a5c54e30fd94bb660ee4 | /com/win32comext/adsi/src/PyADSIUtil.cpp | 069877b6e2c4aace1e8b10f3b7a9c7cbd9a4ffca | [] | no_license | chevah/pywin32 | 90850232a557ecf054bc316e324aaf60188f2cca | d4ff0b440147ab65f1945991e81163fb1cf1ceaf | refs/heads/master | 2020-03-29T09:46:04.465546 | 2014-10-24T09:11:17 | 2014-10-24T09:11:17 | 25,680,336 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 21,345 | cpp | // @doc
#include "Python.h"
#include "pyerrors.h" // for PyErr_Warn in 2.5...
#include "Windows.h"
#include "PyWinTypes.h"
#include "PythonCOM.h"
#include "PyADSIUtil.h"
#include "structmember.h"
#include "wchar.h"
BOOL GetADSIErrorString( HRESULT hr, WCHAR *buf, int nchars );
PyObject *OleSetADSIError(HR... | [
"adi.roiban@chevah.com"
] | adi.roiban@chevah.com |
f3033af10cbf5ec1bb20718be6f63168eced9cb8 | f05155d1c9c41fcc6e31686505f856fd2fbc06de | /2019/octobor 2019/atl bangla 18 part 2.cpp | d820369f2af9ec4c15cb8e41c62c0d55975b267b | [] | no_license | T-tasir/Competetive-Programming | 22308db58c827a8dfa9d2f879f7a1c135f3ab96a | b56ab712fd2147a69b90b7300e281b9b6ed85852 | refs/heads/main | 2023-08-18T07:35:22.656508 | 2021-10-14T13:20:33 | 2021-10-14T13:20:33 | 368,572,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | cpp | //#include<bits/stdc++.h>
#include<iostream>
#include<set>
#include<map>
#include<iterator>
using namespace std;
int main()
{
multiset<int>s;
multiset<int>::iterator it;
s.insert(100);
s.insert(100);
s.insert(100);
s.insert(1);
for(it=s.begin();it!=s.end();it++){
cout<< *it <<endl;
... | [
"allmoontasir256@gmail.com"
] | allmoontasir256@gmail.com |
bc60de19394bbef643f40ec3f01b587950df6859 | 059be4fd38c56117816d2541731e031325cab43b | /meshlib/algorithm/FindLoop.cpp | e3572b3b60ee58bedd983840c34702f809a6797c | [
"MIT"
] | permissive | seanchas116/meshlib | aeacfc03820b8352a52f7ec3cc044d65628adfa4 | f2b48717667adaff9d70f0e927d1bdd44633beed | refs/heads/master | 2020-11-24T06:37:06.947687 | 2019-12-14T16:08:15 | 2019-12-14T16:08:15 | 228,012,025 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,771 | cpp | #include "FindLoop.hpp"
#include <range/v3/algorithm/find.hpp>
namespace meshlib {
std::vector<EdgeHandle> findLoop(const Mesh &mesh, EdgeHandle edge) {
std::vector<EdgeHandle> edges;
auto vertex = mesh.vertices(edge)[0];
edges.push_back(edge);
if (ranges::distance(mesh.faces(edge)) != 2) {
... | [
"iofg2100@gmail.com"
] | iofg2100@gmail.com |
df549bd23ed9cb01fe14515520c3e6bae78bf49c | f3a879985834f8528baf132eee8b8e0c4813b683 | /src/RequestHandlerFactory.cpp | 20df298937851a945600afcc8dda191bdb119aee | [
"Apache-2.0"
] | permissive | feniksa/tinyhttpd | c92a60971241ff810317d12401ed0110c3eaf4e6 | ba90ddf8dd36eac2ac3f755c01f4e5458d5d533e | refs/heads/master | 2021-04-29T00:00:39.479299 | 2020-03-27T13:23:15 | 2020-03-27T13:23:15 | 77,691,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,872 | cpp | #include "RequestHandlerFactory.h"
#include <Poco/Net/HTTPRequestHandler.h>
#include <Poco/Net/HTTPServerRequest.h>
#include <Poco/Util/Application.h>
#include <Poco/URI.h>
#include "api/DirectoryHandler.h"
#include "HandleStaticFile.h"
#include "cpsp/DirectoryHandler.h"
#include "HandleNotFound.h"
#include <boost/... | [
"msditanov@200volts.com"
] | msditanov@200volts.com |
d77d40327ab44d7a33742b5ff6f8a1e2e7cb3b16 | f6ef1f50a476c3ed58b4f268feb6fb438996f06a | /有OJ/刷题指南(包含leetcode, POJ, PAT等)/POJ-1/problems/3020.cpp | f1d0d18308fe77a0b88bb5ce26d65a93be763c57 | [] | no_license | February13/OJ_Guide | f9d6c72fc2863f5b6f3ad80b0d6c68b51f9a07db | a190942fae29a0dbee306adc81ee245be7fda44a | refs/heads/master | 2020-04-25T09:01:48.458939 | 2018-01-18T08:31:30 | 2018-01-18T08:31:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,454 | cpp | #include<iostream>
#define MN 401
bool GE[MN][MN],check[MN];
int h,w,q,point[MN][2],map[40][10];
int match[MN],min,x,y;
bool DFS(int p);
void construct();
int main()
{
int i,j,k,n,s;
scanf("%d",&n);
for (i=0;i<n;i++)
{
q=1;
scanf("%d%d",&h,&w);
for (j=0;j<h;j++)
{
getchar();
for (k=0;k<w;k++)
{
... | [
"zhaoqijie@pku.edu.cn"
] | zhaoqijie@pku.edu.cn |
d39faf6cdac13ccaf766daf5ff1b7d62d7b73202 | 099c2076771c1fd5bba80e5f1465410dfa70375a | /PE050_Consecutive_prime_sum/pe050.cpp | af8dfcf5e878fb87b09f3674d5c8726cc05fbb73 | [] | no_license | Jul-Le/project-euler | 73595411effa3c150c9bae04ae8f155b4c69aae6 | 17fc9e0ad252931ba0dbaeb033a139727eb99e45 | refs/heads/master | 2021-10-07T23:45:29.106429 | 2018-12-05T18:24:00 | 2018-12-05T18:24:00 | 159,533,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | cpp | #include <iostream>
#include "isprime.h"
int main()
{
// The final answer
int answer = 0;
// Temp answer
int num = 0;
// Number of consecutive primes
int consecutivePrimes = 0;
// ^^Temp
int temp = 0;
// Count how many consecutive primes
int counter = 0;
// How many to find ... | [
"unconfigured@null.spigotmc.org"
] | unconfigured@null.spigotmc.org |
485d67885c492eead74c16cc842bf57297cff38b | 694d42f8e426ee1e7849688d9a332d9fafa99960 | /SnowmanSTG/Memento.h | c366a2db78d8208f293ab237de62fa5ee8bb4132 | [] | no_license | hazama-yuinyan/SnowmanSTG | 23fcfbdc99f03bfd98c920c6e6af1bd7f8cb8848 | 0d59fc481701d99e64fdf13327c54239a7cf4a84 | refs/heads/master | 2016-09-05T13:23:08.161705 | 2011-06-25T18:08:29 | 2011-06-25T18:08:29 | 1,854,529 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | h | #pragma once
#include "stdafx.h"
class MementoKey
{
friend class InputDeviceKeyBoard;
private:
MementoKey(void);
boost::array<char, 256> key_state;
void SetData(char In[]);
boost::array<char, 256> &GetData(void);
public:
~MementoKey(void){};
};
| [
"Ryouta@.(none)"
] | Ryouta@.(none) |
fbeb76d32c37017fe31321e4545cdb0df18c90f9 | 99f4b183c575d0a476a99a6a851bc7ba5660bdb0 | /755529/20200912.cpp | e3bbce2caec9b5a1cc794af0be22ad169aad2d74 | [] | no_license | XWJWPIY/20200910-homework-basic | 041ec01e0774266a2299bce424ccabd7c9c6e765 | 9541056bcd43ba0fb15b9b3b7b2c61f3430c1a32 | refs/heads/master | 2022-12-10T19:01:40.156838 | 2020-09-12T08:58:14 | 2020-09-12T08:58:14 | 294,898,988 | 0 | 0 | null | 2020-09-12T08:04:12 | 2020-09-12T08:04:11 | null | UTF-8 | C++ | false | false | 178 | cpp | #include <iostream>
using namespace std;
int main() {
string str;
std::cout << "請輸入你的名字:";
std::cin >> str;
std::cout << "你的名字是" + str;
} | [
"piy.angrybirds.minecraft@gmail.com"
] | piy.angrybirds.minecraft@gmail.com |
82627bb8ed682a284db14df4a533e5813953b1a6 | 1ee1f217f14aec3fe1bfe5fab6b9f11f78e2e937 | /CHEDAN_Universe/database.h | 0add48669a5171589ca1634bdd5f9d3fd855550c | [
"Apache-2.0"
] | permissive | Kwongrf/CHEDAN_Universe_v2 | 31ac72dc6c53a2540ed86d73ff50b411e4de035c | 6d001ce08def738c4a145b4c4752e6b63298ed76 | refs/heads/master | 2022-07-08T02:54:00.872522 | 2020-05-12T04:55:57 | 2020-05-12T04:55:57 | 104,554,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,722 | h | <<<<<<< HEAD
#ifndef DATABASE_H
#define DATABASE_H
#include "user.h"
#include "question.h"
#include "answer.h"
#include "notification.h"
#include <QTextCodec>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QTime>
#include <QSqlError>
#include <QtDebug>
#include <QSqlDriver>
#include <QSqlRecord>
class Database
... | [
"kuangruifeng@bupt.edu.cn"
] | kuangruifeng@bupt.edu.cn |
6d593282f13b69af8e64f415bd10d754ec71d582 | 971574c9d61071b8de016ca98b8579885143af82 | /src/hypotheses/hypothesis_with_points.cpp | f124aa4ecf58da26fcd72fa8eb0874b24631aa49 | [
"BSD-3-Clause"
] | permissive | AIS-Bonn/multi_hypothesis_tracking | 6066982e998a69db849ee71f83ba35d2347629da | e9854feee98001a1ea5190fcab4930d1880574f4 | refs/heads/master | 2023-07-01T01:27:36.727692 | 2021-07-27T15:05:43 | 2021-07-27T15:05:43 | 389,998,243 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,719 | cpp | /** @file
*
* Implementation of a hypothesis extended with point measurements on detected objects.
*
* @author Jan Razlaw
*/
#include "multi_hypothesis_tracking/hypotheses/hypothesis_with_points.h"
namespace MultiHypothesisTracker
{
HypothesisWithPoints::HypothesisWithPoints(const Detection& detection,
... | [
"s6jarazl@uni-bonn.de"
] | s6jarazl@uni-bonn.de |
f2bf1d6e67e0119a78c795e6830b798cd77d0f5d | d669ad659f7f91a3f00ee677c5d5866433adaf41 | /do_best_holdem_hands.cpp | 3c55d90256e77f198ee630c46fc07ac29d337f4b | [] | no_license | neostreet/poker_odds_calculators | 8db5921dd0dbd025c895d8f8b9c714ab2c527cd9 | 5c6a3b68802e99a25800e4a7a077ac13c2e8aaab | refs/heads/master | 2022-10-24T16:34:17.450169 | 2022-09-29T20:42:20 | 2022-09-29T20:42:20 | 1,309,216 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,774 | cpp | #include <iostream>
#include <stdio.h>
#include <string.h>
using namespace std;
#define MAIN_MODULE
#include "poker_hand.h"
static char usage[] =
"usage: best_holdem_hand (-unevaluate) (-verbose) (-plain) (-no_stream)";
static char couldnt_open[] = "couldn't open %s\n";
static char parse_error[] = "couldn't parse lin... | [
"lloyd.aidan@gmail.com"
] | lloyd.aidan@gmail.com |
0893d92971311ed0274713d310284408f4295504 | 82770c7bc5e2f27a48b8c370b0bab2ee41f24d86 | /graph-tool/src/graph/search/graph_search_bind.cc | 97d3a28910c3ce68f5104858e8d71101593aa8fc | [
"Apache-2.0",
"GPL-3.0-only",
"LicenseRef-scancode-philippe-de-muyter",
"GPL-3.0-or-later"
] | permissive | johankaito/fufuka | 77ddb841f27f6ce8036d7b38cb51dc62e85b2679 | 32a96ecf98ce305c2206c38443e58fdec88c788d | refs/heads/master | 2022-07-20T00:51:55.922063 | 2015-08-21T20:56:48 | 2015-08-21T20:56:48 | 39,845,849 | 2 | 0 | Apache-2.0 | 2022-06-29T23:30:11 | 2015-07-28T16:39:54 | Python | UTF-8 | C++ | false | false | 1,166 | cc | // graph-tool -- a general graph modification and manipulation thingy
//
// Copyright (C) 2006-2015 Tiago de Paula Peixoto <tiago@skewed.de>
//
// 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;... | [
"john.g.keto@gmail.com"
] | john.g.keto@gmail.com |
913c1f1457f5c78be61214878d65c5d729111bfe | b056b8adad52ca1ceb994a811be4da8498c8cdde | /tests/cpp/include/test_legacy_op.h | 30bdf07b8b51f5cb4a7283769b42e44eb358bdf8 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Views",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SidHard/mxnet | 1a5cc8e958f5cb454ce5bf75f56b66ec8cb7a032 | f95832d73cf3f1413ce1c77fbef0f295a7fbc57f | refs/heads/master | 2022-11-09T00:22:36.043583 | 2017-12-21T05:10:40 | 2017-12-21T05:10:40 | 114,964,884 | 1 | 1 | Apache-2.0 | 2022-10-22T09:57:52 | 2017-12-21T05:06:17 | C++ | UTF-8 | C++ | false | false | 20,560 | h | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | [
"wangxb-1986@163.com"
] | wangxb-1986@163.com |
4a833c031131726463a1a5a5d4c5856d3def3ddd | 95025210b9131d8bbddfe2f4b85e0cf683596c1f | /Src/GeneralInput/DeckBMOptionDlg.cpp | 650be7aeda809367227c11f01e7cd92225f31cd8 | [] | no_license | SamuelBacaner1112/APlate | ece78b86f4cda173c7e1c3d3776d3aaf0ef1d341 | 0d89bd5beadc811d9d33c75f3110903f8b4f256e | refs/heads/master | 2023-01-24T07:50:59.851986 | 2020-12-09T00:19:05 | 2020-12-09T00:19:05 | 319,794,441 | 0 | 2 | null | null | null | null | UHC | C++ | false | false | 120,856 | cpp | // DeckBMOptionDlg.cpp : implementation file
//
#include "stdafx.h"
#include "GeneralInput.h"
#include "../APlateCalc/APlateCalc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDeckBMO... | [
"75705234+SamuelBacaner1112@users.noreply.github.com"
] | 75705234+SamuelBacaner1112@users.noreply.github.com |
2fb86e128bbe2cf6b6a1951019e86f179e8dd808 | b2119eea95c182c183913cc3574e75e8689d3130 | /SOURCES/sim/digi/wvrengage.cpp | 4e4d25b1ad11d3a33a23dd25d10602433ea0862d | [
"Unlicense"
] | permissive | 1059444127/Negev-Storm | 11233b1b3741f643ff14b5aa7b6ee08de40ab69f | 86de63e195577339f6e4a94198bedd31833a8be8 | refs/heads/master | 2021-05-28T10:48:53.536896 | 2015-02-08T10:42:15 | 2015-02-08T10:42:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,006 | cpp | #include "stdhdr.h"
#include "digi.h"
#include "simveh.h"
#include "object.h"
#include "aircrft.h"
#include "airframe.h"
#include "simdrive.h"
#include "classtbl.h"
#include "entity.h"
#include "fakerand.h"
#include "flight.h"
#include "wingorder.h"
#include "playerop.h"
#include "radar.h" // 2002-02-09 S.G.
// #defin... | [
"israelyflightsimulator@gmail.com"
] | israelyflightsimulator@gmail.com |
3d395af9d17064c76e703b2b7c46530b25cb4749 | ec93acb118d5db08c2ac97b667648db2161d2f6d | /android/cpp/src/objects/asmediacontainer.cpp | b778eb8137a5abf8813ce5df895a1fbadc4c9176 | [] | no_license | ActivLearning/flipchartparser | cb315e698fbd3c3869b978a099c2dbbae93536e2 | dfbe159f4680a0396d3761490376884878cef6e3 | refs/heads/master | 2022-12-07T12:18:28.258572 | 2020-09-04T03:42:48 | 2020-09-04T03:42:48 | 290,667,276 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,463 | cpp |
#include <QMutexLocker>
#include <QObject>
#include <QObjectList>
#include "asmediacontainer.h"
#include "../resources/asimageres.h"
#include "../resources/asmediafileres.h"
#include "../asfactory.h"
#include "../resources/asresourcemanager.h"
#include "../util/asutil.h"
#include "asflipchart.h"
#include "../uti... | [
"zhangyi.sina@gmail.com"
] | zhangyi.sina@gmail.com |
95a8c077432fb9699d7a8b142d5af3ed6f6b0578 | a0bdedcc814dfcbf6f1742c398b64a31619af4df | /ideccmbd/CrdIdecNav/PnlIdecNavPre_blks.cpp | a7856813874a260a40b4296d61833d58366e4101 | [
"BSD-2-Clause"
] | permissive | mpsitech/idec_public | ec7231939b8987fd66482d99276609e16d4ad3f7 | a74cf1c7095e08ee61b237fddc1642f83dbb852d | refs/heads/master | 2021-05-13T20:43:55.046131 | 2018-06-09T16:11:30 | 2018-06-09T16:11:30 | 116,916,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,558 | cpp | /**
* \file PnlIdecNavPre_blks.cpp
* job handler for job PnlIdecNavPre (implementation of blocks)
* \author Alexander Wirthmueller
* \date created: 30 Dec 2017
* \date modified: 30 Dec 2017
*/
/******************************************************************************
class PnlIdecNavPre::VecVDo
****... | [
"mpsitech@ungenio.local"
] | mpsitech@ungenio.local |
ab86e3926a4ddb7825b3674fc79a98e3bb9d7e29 | 8b5db3bc9f2afe52fce03a843e79454319f3c950 | /hardware/invensense/65xx/libsensors_iio/SensorBase.cpp | c01d394dc76648d808f4232ee58a6008cc28bbf7 | [
"Apache-2.0"
] | permissive | 10114395/android-5.0.0_r5 | 619a6ea78ebcbb6d2c44a31ed0c3f9d5b64455b2 | d023f08717af9bb61c2a273a040d3986a87422e1 | refs/heads/master | 2021-01-21T19:57:16.122808 | 2015-04-02T04:39:50 | 2015-04-02T04:39:50 | 33,306,407 | 2 | 2 | null | 2020-03-09T00:07:10 | 2015-04-02T11:58:28 | C | UTF-8 | C++ | false | false | 5,020 | cpp | /*
* Copyright (C) 2012 Invensense, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | [
"xdtianyu@gmail.com"
] | xdtianyu@gmail.com |
ff1bc68ac1c1bcb6f6909fee8a169c5298998a4c | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/k_anonymity_service/k_anonymity_trust_token_getter.cc | 488cfc357870df6582cba5bdc9fdb1883376ecd4 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 19,155 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/k_anonymity_service/k_anonymity_trust_token_getter.h"
#include "base/json/json_writer.h"
#include "base/json/values_util.h"
#include "base/strings/str... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
60b04fe2ec36ad5f0fe2c1463dadc9fd8fdb9f9c | 96825cf87690c768a60b0fbc7138a43ca22edaa9 | /Source/BlueprintRetarget/Public/BlueprintRetarget.h | 6e963f4623464174b676580c9c90aa0a9e23a74d | [
"Apache-2.0"
] | permissive | Hengle/BlueprintRetarget | 1ff639ff1866af73676af04f4f9e348f88f315e6 | a7e3cb959dd4a8902d29d3a6947dfbb21b575524 | refs/heads/master | 2022-11-09T01:57:07.599744 | 2020-06-20T07:42:48 | 2020-06-20T07:42:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | h | // Copyright 2015-2020 Piperift. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleManager.h"
DECLARE_LOG_CATEGORY_EXTERN(LogBlueprintReparent, All, All);
class FToolBarBuilder;
class FMenuBuilder;
class FBlueprintRetargetModule : public IModuleInterface
{
public:
/** IModuleInt... | [
"muit@piperift.com"
] | muit@piperift.com |
4efd3c8c0e8ff0f2749316a0e8d8990a4c5d4ff0 | 7b48fcad9a50b8fe2315e20efc7bc2ddefdafea3 | /longest_palindromic_substring/lsp_extend.cpp | e32abb78b25450de4064fb75e28a78f3d18ac725 | [] | no_license | TheWaySoFar/LeetCode_Solution | c96ea26f30c310ae4cc917d21d69809a98eb7b28 | 1ae152d9e261a3587100ccfcadc5097dc1d1ea08 | refs/heads/master | 2020-03-10T00:57:45.025959 | 2018-08-01T14:04:22 | 2018-08-01T14:04:22 | 129,096,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | cpp | #include<iostream>
#include<string>
using namespace std;
class Solution {
public:
string longestPalindrome(string s) {
int len = s.size();
int ans = 1, ansl = 0;
for(int i=0; i<len; i++){
extend(i, i, s, ans, ansl);
extend(i, i+1, s, ans, ansl);
}
/... | [
"103664210@qq.com"
] | 103664210@qq.com |
6495bab4408baf0e3f71f8ddfe1c626d27ceac87 | b80b82c336e2d59b0573f4515a26d4684aff9f1a | /projekt/Options.h | 07f7dd7cda864fc9d0be73211754d9d631f2e9cc | [] | no_license | ancf/sfml-2d-game | 3127a3412915ca5af7194ee747584b82bf76c441 | b408d59d20d38610342b7fb3b44fff691d713611 | refs/heads/master | 2023-05-02T10:12:25.204459 | 2021-05-26T11:04:07 | 2021-05-26T11:04:07 | 371,001,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | h | #pragma once
#include "SFML/Graphics.hpp"
class Options
{
public:
Options(float width, float height);
~Options();
enum DifficultyLevel { Easy, Medium, Hard };
int SelectedVolume;
std::string SelectedName;
// void draw(sf::RenderWindow &menu_window);
// void draw_test(sf::RenderWindow &menu_window);
// void ... | [
"krystian1998k@gmail.com"
] | krystian1998k@gmail.com |
9f6fdb582f429d3eb9c06b3638fdc09a9fad06fd | a3947da58918e8508178e75c05d38ea1bef6d5ae | /DataHeaders/mission.h | 8fc3aae804caa90826513cc00339d228a43c2fab | [] | no_license | oygx210/cute42 | a4f59a716cd8d7f647823458d99210849a4aade5 | 6150275f082d01dde3fe12630d669fd7f14998c2 | refs/heads/main | 2023-03-17T22:14:33.807296 | 2021-03-04T09:07:08 | 2021-03-04T09:07:08 | 384,966,099 | 0 | 1 | null | 2021-07-11T14:16:52 | 2021-07-11T14:16:52 | null | UTF-8 | C++ | false | false | 3,550 | h | #ifndef MISSION_H
#define MISSION_H
#include <QString>
#include <QVector>
#include <QVariant>
#include <QDataStream>
#include <QDebug>
#include "qt42baseclass.h"
#include "qt42_headers.h"
class SpacecraftHeader;
class OrbitHeader;
class MissionHolder;
class Spacecraft;
class Orbit;
class Mission : public Qt42Base... | [
"ytsoroy@gmail.com"
] | ytsoroy@gmail.com |
17f67977d81a8ea145ea22c3826460f7752b9678 | 15419e6b114d5b89e78648dbae52a0aae276b673 | /Contests/Weekly Team Practice Contests/Week 22 - 13th Iran Internet ACM ICPC 2015 - Shiraz/D - AC.cpp | 1779f05d8bccd578645df1309f8eff03f04e589d | [] | no_license | ImnIrdst/ICPC-Practice-2015-TiZii | 7cde07617d8ebf90dc8a4baec4d9faec49f79d13 | 73bb0f84e7a003e154d685fa598002f8b9498878 | refs/heads/master | 2021-01-10T16:29:34.490848 | 2016-04-08T04:13:37 | 2016-04-08T04:13:37 | 55,749,815 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | cpp | #include<iostream>
#include<algorithm>
#include<vector>
#include<functional>
#include<sstream>
#include<string>
#include<set>
#include<map>
using namespace std;
int main()
{
int tc;
cin >> tc;
while (tc--) {
int n, m;
cin >> n >> m;
vector<int> vote_hist(n + 1, 0);
map<int, vector<int> > v... | [
"imn.irdst@gmail.com"
] | imn.irdst@gmail.com |
1d88fb9b79d7ac1b965e3969ba0457f15e975f47 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/admin/activec/designer/vb98ctls/mssnapr/mssnapr/ppgwrap.cpp | ab676430d1bbf99deec8fb943fc7749fe3bae6d2 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,359 | cpp | //=--------------------------------------------------------------------------=
// ppgwrap.cpp
//=--------------------------------------------------------------------------=
// Copyright (c) 1999, Microsoft Corp.
// All Rights Reserved
// Information Contained Herein Is Proprietary and Confidential.... | [
"112426112@qq.com"
] | 112426112@qq.com |
24f474e4b694f16c8e54d0878ae215a8e83425df | 9c0af3a75a7ca3250ff6bebcb17e76af5315a31a | /loam_velodyne/include/loam_velodyne/BasicScanRegistration.h | 7693be710cc894c7c27410232230c81dc82313d6 | [
"BSD-3-Clause"
] | permissive | arjo129/darpa_ugv_highlevel | 7fa45fb070803b9f99a2bfe6e91f745908454b76 | 806ff902616ca3252b0099c21e0a07a09c65b4e5 | refs/heads/master | 2023-06-20T18:06:26.023670 | 2020-08-21T07:21:32 | 2020-08-21T07:21:32 | 210,164,633 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,391 | h | #pragma once
#include <utility>
#include <vector>
#include <pcl/point_cloud.h>
#include "Angle.h"
#include "Vector3.h"
#include "CircularBuffer.h"
#include "time_utils.h"
namespace loam
{
/** \brief A pair describing the start end end index of a range. */
typedef std::pair<size_t, size_t> IndexRange;
/*... | [
"paulroopson.pradeep@gmail.com"
] | paulroopson.pradeep@gmail.com |
43e4872221012b3ce2525be93ab85cdc3b181491 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /media/base/video_util.h | b40331c0293b2f6957b0f89197b92736b6725254 | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 7,923 | h | // 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.
#ifndef MEDIA_BASE_VIDEO_UTIL_H_
#define MEDIA_BASE_VIDEO_UTIL_H_
#include <stdint.h>
#include "base/memory/ref_counted.h"
#include "media/base/medi... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
5739ae036b5019955b259653a89a32c8411223a3 | 5fe209e8fb8891f0fa0981be60b724961a8ebf41 | /day6.cpp | 07636bbb323ec4cca3416226991ce5febc2449af | [] | no_license | Jluxcs/CPP_learning | b7d87fe1e1c98ea5f3f203d8db8c706a82d208bb | 9ec057ca6fc5000e3b126bcd49e269043dfcab17 | refs/heads/master | 2020-06-17T02:23:47.588776 | 2019-07-08T08:20:59 | 2019-07-08T08:20:59 | 195,767,170 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | //c++传递指针给函数
#include <iostream>
#include <ctime>
using namespace std;
void gerSeconds(unsigned long *par);
int main(){
unsigned long sec;
gerSeconds(&sec);
cout<<"当前的秒数:"<<sec<<endl;
}
void gerSeconds(unsigned long *par){
*par = time(NULL);
return;
} | [
"852306873@qq.com"
] | 852306873@qq.com |
a819f06d17146b82f70650b918cd1ad1cc722da9 | 4a5f47f4da5356b87c789d15dd83188929791cbc | /src/rpc/rawtransaction.cpp | a422b1c57a65e4a5e7259190b576c8d8bc0e5d4e | [
"MIT"
] | permissive | TMRO2020/UkkeyCoin | e7a5cad8c530311364c47b9aaa0a1f3f0e9db005 | 77aa24be0831b5350d6892d32ff679d9459046a6 | refs/heads/master | 2022-01-12T03:39:55.812200 | 2019-03-19T21:41:00 | 2019-03-19T21:41:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,178 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "chai... | [
"osaru3@saruyamax.com"
] | osaru3@saruyamax.com |
9d630978e4625bf2d710321d51cd4a17fd676938 | 31651f58f0fc7ab6cd5174eb406463531c563926 | /datasets/ptb/simple-examples/rnnlm-0.2b/rnnlm.cpp | 018f3ce196f38598f354af6df58b16b516e6f97c | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | CavHack/pipeline | 76ee26f016a9503b4ea62bb631930d7c452a1cfd | b397e283d22843d9e05e2f5625affacf9bede741 | refs/heads/master | 2021-07-03T20:00:39.734917 | 2016-09-24T01:59:59 | 2016-09-24T01:59:59 | 69,131,791 | 1 | 0 | Apache-2.0 | 2021-06-04T02:48:48 | 2016-09-24T22:54:23 | Jupyter Notebook | UTF-8 | C++ | false | false | 14,551 | cpp | ///////////////////////////////////////////////////////////////////////
//
// Recurrent neural network based statistical language modeling toolkit
// Version 0.2b
// (c) 2010 Tomas Mikolov (tmikolov@gmail.com)
//
///////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include <stdl... | [
"chris@fregly.com"
] | chris@fregly.com |
e3a3fefd05f18e0fa221f3dc444500e79b07d275 | 4c81d5546aa29fb33d8b8d9a7470a4fd69284cc0 | /protocolBuffer/protocolBuffer_org/protobuf-2.6.1/out/BuyClubList_Request.pb.cc | 3c132648b81d88cefbcc15d2f2ab0a13055edea4 | [
"LicenseRef-scancode-protobuf"
] | permissive | zzfeed/tools | 6836c81579a4d02055b12735aa6bde185ecab930 | f43215105e71802afa95b78423011ebaf6c532e8 | refs/heads/master | 2021-09-21T09:56:15.773978 | 2018-08-24T06:09:40 | 2018-08-24T06:09:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 16,365 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: BuyClubList_Request.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "BuyClubList_Request.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io... | [
"xie123888"
] | xie123888 |
29f282accb576680779b0e44c7832430e6edc6ad | c8b596ba5f07009b646665916a1084d985ef34bc | /mpi_inputfield.h | 2afa953c71acd8720281429a99d073510db2ee0b | [] | no_license | jmerten82/my_first | f5a3c416cf2731b75b0c0863555bcafab0d2eebf | daa7c077903cdcf83b27f89949ed68b250eade86 | refs/heads/master | 2021-06-13T21:28:56.557312 | 2015-03-10T11:24:10 | 2015-03-10T11:24:10 | 254,449,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,724 | h | #ifndef INPUTFIELD_H_
# define INPUTFIELD_H_
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_statistics.h>
#include <cmath>
#include <ctime>
#include "rw_fits.h"
#include "util.h"
#include "soph_math.h"
#include "options.h"
#include "maske... | [
"julian.merten@physics.ox.ac.uk"
] | julian.merten@physics.ox.ac.uk |
95c6dd3e3c8fcdae7ad418c1c16b51d404afc663 | 6dcb5aca877030e9d3367ab45abb9611192ca13e | /src/libs/sound/ISoundPlaylistObserver.h | 000a0382e741c0bc978aacd16e0597dec5994ef5 | [
"MIT"
] | permissive | moneytech/dhas | d510dedfd26499093f8a26bf43f260c5c95f2e87 | 424212d4766c02f5df9e363ddb8ad2c295ed49d8 | refs/heads/master | 2021-09-03T18:24:07.451825 | 2018-01-10T23:23:59 | 2018-01-10T23:23:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 169 | h | #pragma once
namespace Dumais{
namespace Sound{
class ISoundPlaylistObserver
{
public:
~ISoundPlaylistObserver(){}
virtual void onSoundQueueEmpty()=0;
};
}
}
| [
"git@dumaisnet.ca"
] | git@dumaisnet.ca |
ea64730e77e81c0c0ff3ff2be219ea4cbcecf882 | e1661d124821ea15d09eec04e2d214a4d6bdbcd2 | /files/djinni/shared-data/generated-src/jni/com/ezored/data/EZRSharedDataPlatformService.cpp | 099576bb0ea9551ba0bb07fe01d6d9b4f38a80bb | [
"MIT"
] | permissive | uilianries/ezored | b6ff656bdecbde830e37066ea154d0326fa823d8 | 8c45a6753ddffce1fe406e6e062ff2b455dbb5a1 | refs/heads/master | 2020-04-29T03:32:12.886679 | 2019-03-15T02:46:28 | 2019-03-15T02:46:28 | 175,813,572 | 0 | 0 | MIT | 2019-03-15T12:10:24 | 2019-03-15T12:10:23 | null | UTF-8 | C++ | false | false | 15,332 | cpp | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from proj.djinni
#include "com/ezored/data/EZRSharedDataPlatformService.hpp" // my header
#include "Marshal.hpp"
namespace djinni_generated {
EZRSharedDataPlatformService::EZRSharedDataPlatformService() : ::djinni::JniInterface<::ezored::data::... | [
"paulo@prsolucoes.com"
] | paulo@prsolucoes.com |
3a44f2cdf257768de2add16bff061e58650d061b | 250a85858a7f74ce26a200d3e5292ba3bb81624e | /Classes/Stone/Stone_Crab.h | 5d39a96f1f3f76b1afa85f84fe84a4b6c839de83 | [] | no_license | EEEEMAN/cocosOmok | 459944b4e6c770ed101e6f6d710d00d72dac4aba | 5492e11fec5f91177d3915a3e1edca5e1d95e9d3 | refs/heads/master | 2021-07-11T08:13:08.158375 | 2021-03-11T15:04:13 | 2021-03-11T15:04:13 | 31,811,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138 | h | #ifndef __STONE_CRAB_H__
#define __STONE_CRAB_H__
#include "Stone.h"
class Stone_Crab : public Stone
{
public:
Stone_Crab();
};
#endif | [
"skrnfn2@gmail.com"
] | skrnfn2@gmail.com |
09d78e7bbd0bdc09242aabb50b6577aa26fc6f60 | 9aab638297189a859e0a19420cc2697afe03b1ef | /13_chap_inherit/text/brass/usebrass2.cpp | 7a6735209f79553aa3b0b1579e2d42b1e566bf26 | [] | no_license | inpeterfomax/cplusplus | 3e92657544e80c93aeb45de6323e86821a93175d | 3d01c361157dc1a6d4d9b315cfcb2f8f89acc7d0 | refs/heads/master | 2022-12-08T03:16:24.059550 | 2022-11-26T13:49:03 | 2022-11-26T13:49:03 | 14,574,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,568 | cpp | #include <iostream>
#include "brass.h"
const int CLIENTS = 4;
const int LEN = 40;
int main()
{
using std::cin;
using std::cout;
using std::endl;
Brass * p_clients[CLIENTS];
int i;
char temp[LEN];
long tempnum;
double tempbal;
char kind;
for(i = 0; i < CLIENTS; i ++)
... | [
"gupingchang@126.com"
] | gupingchang@126.com |
722706dc1714c5d85f184c2cbb7047db93f140bb | d92e9933b8a4ed840d1d87d95727243c1626d747 | /src/Bonus.cpp | cb0e2456e29551b5abef5507c8074d9d13bdb19c | [] | no_license | EricGadbin/Bomberman | dc97197b3709c62e775d67f453e5be4a4d085ec6 | e1567be5ae1fcbbd913f51eb49fcaa0c9faa8225 | refs/heads/master | 2020-07-31T09:24:19.670503 | 2019-09-25T14:34:07 | 2019-09-25T14:34:07 | 210,558,930 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,808 | cpp | /*
** EPITECH PROJECT, 2019
** INDIE_STUDIO
** File description:
** Bonus
*/
#include "../include/Bonus.hpp"
using namespace Indie;
std::string assets[] = {
"../assets/wallbonus.png",
"../assets/speedbonus.png",
"../assets/bombbonus.png",
"../assets/firebonus.png"
};
Bonus::Bonus(btype_t type, irr::... | [
"benjamin.renaud@epitech.eu"
] | benjamin.renaud@epitech.eu |
868c9408a0627877f97e325c75688396bf3b6b3d | e398e90159a51b850b9b82540369e98b582468fe | /bioStation/src/main.cpp | f826f4e6b362fc2147bf71376a909f9d1e5ba75a | [] | no_license | unloquer/TalleresESP | f23529b375f494872d2e449d8a040e38960ee031 | a5901fc568285bb9ac925714bd3e4a68976341a5 | refs/heads/master | 2021-01-23T05:44:45.201473 | 2018-03-17T03:09:30 | 2018-03-17T03:09:30 | 92,982,414 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,010 | cpp | /*
This a simple example of the aREST UI Library for the ESP8266.
See the README file for more details.
Written in 2014-2016 by Marco Schwartz under a GPL license.
*/
// Import required libraries
#include <ESP8266WiFi.h>
#include <aREST.h>
#include <aREST_UI.h>
#include <DHT.h>
#define DHTPIN 12 // what pin... | [
"brolin108@gmail.com"
] | brolin108@gmail.com |
1b950d20260ecdb1d7cdf745f0c2eb72dd3e8818 | af0b2d96ba888f591b67dc69b3814af6a3573d42 | /blue_shield/blue_shield.ino | d901c7d369d8f1aed091e08cef5e9f508c718faa | [] | no_license | Ketupat-Development-Studios/lumos-switch | e1474525b563156d31f509fdf2374250445e7cae | 6af7ddfa040cf9ef5d8c02627f9191203b25635e | refs/heads/master | 2021-06-28T15:39:05.434570 | 2020-08-15T12:11:26 | 2020-08-15T12:11:26 | 123,659,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,191 | ino | #include<SoftwareSerial.h>
#include<Servo.h>
SoftwareSerial BTserial(3, 2);
Servo actuator;
char c = ' ';
char blueIn = ' ';
boolean readingData = false;
boolean open_state = true;
//int upPin = 4;
//int downPin = 2;
int upVal, downVal;
int upArm = 0;
int downArm = 120;
int restArm = 50;
int state = 999;
int moving =... | [
"devyaoyh@gmail.com"
] | devyaoyh@gmail.com |
c7443a72fb684d60064a22afe970a823fb316bf7 | 7dd05848e173a624177427f66a1ef7786e94db58 | /extern/lua-5.4.2/src/linit.cc | 3dd960b5b2efc64d4368769dd07d8857af7e33fb | [
"MIT"
] | permissive | stjordanis/rd-eztraits | 6606ca7b63e088b4b045da4ac040125c39a43763 | 5e549edef7a4a39e03747b375a85d8262d0d8431 | refs/heads/master | 2023-07-13T12:24:03.974345 | 2021-08-18T10:53:10 | 2021-08-18T10:53:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | cc | /*
** $Id: linit.c $
** Initialization of libraries for lua.c and other clients
** See Copyright Notice in lua.h
*/
#define linit_c
#define LUA_LIB
/*
** If you embed Lua in your program and need to open the standard
** libraries, call luaL_openlibs in your program. If you need a
** different set of libraries, copy ... | [
"manfred.grabherr@imbim.uu.se"
] | manfred.grabherr@imbim.uu.se |
28379d3c2bfb8ad80babf8ad0c30f944a5ab42ac | 460455e7990de7257aa223a58e73069f3ef7ff43 | /src/server/scripts/Kalimdor/CavernsOfTime/DarkPortal/instance_dark_portal.cpp | 6a131594483f1bef460cc1a3df9e373f8063d751 | [] | no_license | Shkipper/wmane | 2ce69adea1eedf866921c857cbc5bd1bc6d037f0 | 2da37e1e758f17b61efb6aae8fa7343b234f3dcd | refs/heads/master | 2020-04-24T19:51:51.897587 | 2019-02-25T06:14:18 | 2019-02-25T06:14:18 | 172,225,859 | 0 | 0 | null | 2019-02-23T14:49:31 | 2019-02-23T14:49:31 | null | UTF-8 | C++ | false | false | 11,104 | cpp | /*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* 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 ... | [
"felianther15@gmail.com"
] | felianther15@gmail.com |
1bf936e157d31bca7fb049e14d8e5a2d98ece116 | ee9c5d0ca8f5b0884827f808fd74289f5f8fc5f2 | /problems/BOJ/BOJ1626.cpp | 272d5b73e2e8d9d8f9ae4db9b797efb405a95a44 | [] | no_license | caoash/competitive-programming | a1f69a03da5ea6eae463c6ae521a55bf32011752 | f98d8d547d25811a26cf28316fbeb76477b6c63f | refs/heads/master | 2022-05-26T12:51:37.952057 | 2021-10-10T22:01:03 | 2021-10-10T22:01:03 | 162,861,707 | 21 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,944 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vl = vector<ll>;
#define pb push_back
#define rsz resize
#define all(x) begin(x), end(x)
#define sz(x) (int)(x).size()
using pi = pair<int,int>;
#define f first
#define s second
#define mp make_pair
const int MX = 500... | [
"caoash@gmail.com"
] | caoash@gmail.com |
e0f7e41260c6cd1a26d716ac9777ced1f1fb5730 | 0dc20516079aaae4756d28e67db7cae9c0d33708 | /jxy/jxy_src/jxysvr/thirdparty/breakpad/src/processor/stackwalker_amd64.cc | 06f4b98e0dbfc023bdc52acb4fed29b7a47a5064 | [
"BSD-3-Clause"
] | permissive | psymicgit/dummy | 149365d586f0d4083a7a5719ad7c7268e7dc4bc3 | 483f2d410f353ae4c42abdfe4c606ed542186053 | refs/heads/master | 2020-12-24T07:48:56.132871 | 2017-08-05T07:20:18 | 2017-08-05T07:20:18 | 32,851,013 | 3 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 10,221 | cc | // Copyright (c) 2010 Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | [
"wuzili1234@gmail.com"
] | wuzili1234@gmail.com |
25071a0ded9f81060f559feee155a61b7753d78e | 4c6af24752eda9fc0dec55f198530d447a8494af | /HW_1/task6/task6/task6.cpp | 5c22f90c791a2b3f342e11a3379412884c149fe0 | [] | no_license | vlad24/FIRST-SEMESTER | 45feff9d6ffc165d82956593b855f6944af137f7 | 72d2a6d6ea7d53922a924f00c4182c52508ebbb4 | refs/heads/master | 2020-04-15T20:47:39.805095 | 2013-02-17T18:57:09 | 2013-02-17T18:57:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | //#include "stdafx.h"
#include "iostream"
using namespace std;
int slen(char c[])
{
int u = 0;
while (c[u] != '\0')
{
u++;
}
return u;
}
int main()
{
char mainstring[100] = {};
char substring[100] = {};
cout << "Enter the main string : " ;
cin >> mainstring;
cout << "Enter the sub string : " ;
cin >> su... | [
"vlad.pavlov24@gmail.com"
] | vlad.pavlov24@gmail.com |
477e89b2440a136f640f2b0fe6c0aae967e1a6dc | 89b7e4a17ae14a43433b512146364b3656827261 | /testcases/CWE122_Heap_Based_Buffer_Overflow/s11/CWE122_Heap_Based_Buffer_Overflow__sizeof_struct_83_bad.cpp | 280b0ff3dfd509b7dcfd9556258b1ba84d15b220 | [] | no_license | tuyen1998/Juliet_test_Suite | 7f50a3a39ecf0afbb2edfd9f444ee017d94f99ee | 4f968ac0376304f4b1b369a615f25977be5430ac | refs/heads/master | 2020-08-31T23:40:45.070918 | 2019-11-01T07:43:59 | 2019-11-01T07:43:59 | 218,817,337 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,501 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__sizeof_struct_83_bad.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__sizeof.label.xml
Template File: sources-sink-83_bad.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Initialize the sour... | [
"35531872+tuyen1998@users.noreply.github.com"
] | 35531872+tuyen1998@users.noreply.github.com |
e2c98e4a9ff836be45f3c3440060f3657a812522 | 06c742cf2cb5568925e24a3f8090347efcf59b0f | /Beam_DX11_3D_ENGINE/Code/Source/Rendering/Material.cpp | ed1761ff68d72a400712a890fbd2e2cf0b74d7ff | [] | no_license | BeamPoints/Beam_Dev_3D_Engine | b71b65b158c12f87fbd365728736b876b7a268a3 | 3d6295834e90775bc70716d46d2dd1c3ee0229de | refs/heads/master | 2020-04-23T00:00:34.108045 | 2019-02-22T15:08:49 | 2019-02-22T15:08:49 | 170,762,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | #include "../../Include/Rendering/Material.h"
bool CMaterial::LoadShader(std::string const & aFilename, std::vector<char>& aByteCode)
{
std::ifstream file;
file.open(aFilename, std::ios::binary);
bool const ok = not (file.eof() or file.fail());
if (ok)
{
file.seekg(0, std::ios_base::end);
std::streampos file... | [
"beampoints@gmail.com"
] | beampoints@gmail.com |
57fec50d11f2df8706f891a0e21c9df4c564569a | 64ed6f392c2c43c359d0aab24c6ec84b14fb7487 | /SharedPtr.h | a4e21003618a431fa0c46c823b1eac82bcd31b95 | [] | no_license | rushing-w/DataStruct | e655a8583b77526a823158271f72ac07b7527e65 | afb77f2eb20b2cbd440f6a1511a66b305a568c0b | refs/heads/master | 2021-01-20T07:21:14.679406 | 2017-05-03T05:22:43 | 2017-05-03T05:22:43 | 83,885,978 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,927 | h | #pragma once
#include<iostream>
using namespace std;
//由于上面的指针存在各种各样的问题,只能适用于特定的场合,所以我们需要实现一种比较通用的,
//在这里,实现了SharedPtr,即引用计数的深拷贝
template<class T>
class SharedPtr
{
public:
SharedPtr(T* ptr = NULL)
: _ptr(ptr)
{
_count = new int(1);
}
SharedPtr(SharedPtr<T>& sp)
: _ptr(sp._ptr)
{
(*sp._count)++;
_cou... | [
"1030104052@qq.com"
] | 1030104052@qq.com |
ebef6d955ce85c26db137504d85b30c34ef224e7 | c3b4b1441a6ee5a7b6c48e4f9f0649fe14d881b3 | /ClusterSKSolver/source/SKLoader.cpp | af473b8672d278d57f54f605dff2aad617909c4d | [] | no_license | antsuabon/ClusterSKSolver | c50b4452530e46c7b137f9e1360290f9c67f7c6b | 42dfaa84c6890c6a55e7bac6c7c2961fa98979cf | refs/heads/master | 2023-06-04T10:44:19.759862 | 2021-06-27T20:22:03 | 2021-06-27T20:22:03 | 349,968,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,750 | cpp | #include "../header/SKLoader.h"
using namespace std;
vector<string> tokenize(string s, string del = " ")
{
vector<string> res;
int start = 0;
int end = s.find(del);
while (end != -1)
{
res.push_back(s.substr(start, end - start));
start = end + del.size();
end = s.find(del, start);
}
res.push_back(s.subs... | [
"antsuabon@alum.us.es"
] | antsuabon@alum.us.es |
097a93bee74000f7668218c4942858d384d4a51f | 26fd4d615946f73ee3964cd48fa06120611bf449 | /104_Maximum_Depth_of_Binary_Tree.cpp | 2e0b80fad7d359bc8fb7b14689deeb60e684680f | [] | no_license | xujie-nm/Leetcode | 1aab8a73a33f954bfb3382a286626a56d2f14617 | eb8a7282083e2d2a6c94475759ba01bd4220f354 | refs/heads/master | 2020-04-12T07:25:51.621189 | 2016-12-03T09:29:36 | 2016-12-03T09:29:36 | 28,400,113 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,553 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
int maxDepth(TreeNode* root){
if(root == NULL)
return 0;
else{
int left = 1 + maxDept... | [
"xujie_nm@163.com"
] | xujie_nm@163.com |
28bc78033dfa9a3b5291f1011132178e9af86e93 | 5e2e27daacfddfe119015736fcc6e9a864d66c49 | /GameEngine/Graphics/FrustumCalc.cpp | f3e4d4875d8d0e6c78eb75f677056e41f9e4fa38 | [] | no_license | mdubovoy/Animation_System | 17ddc22740962209e7edbd8ea85bec108499f3e2 | b356d0ea6812e0548336bc4813662463e786de93 | refs/heads/master | 2021-01-22T11:41:13.637727 | 2014-09-22T14:01:20 | 2014-09-22T14:01:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,987 | cpp | #include "FrustumCalc.h"
#include "Camera.h"
extern Camera* pCamera; // only used if we want this object to have its own ModelView for debug
#define COLLISION_DEMO 0 // 1 - keys set up to move cube for collision demo, 0 - keys set up to move camera
FrustumCalc::FrustumCalc()
{
lightColor = Vect(1.0f, 0.0f, 0.0f,... | [
"michel.dubovoy@gmail.com"
] | michel.dubovoy@gmail.com |
472034a1fe62ab43a454a0ffc33e33345712f17f | 0ede806372e66372edabd130593e6660c222f21f | /hw6/ref.cpp | 33f67d40600b338569e69b32147d9cb28241f471 | [] | no_license | elijahverdoorn/SD-Spring-15 | ee47022dbe30a595efe649fcfd19a52406aedb10 | 7b9afb05d874dc939ecd686905754c5dd54a5d81 | refs/heads/master | 2016-09-05T17:03:05.423101 | 2015-09-15T15:16:43 | 2015-09-15T15:16:43 | 34,302,490 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | cpp | #include <iostream>
using namespace std;
void f1(int& x)
{
x++;
}
main()
{
int x = 2;
cout << x << endl;
f1(x);
cout << x << endl;
return 0;
} | [
"elijahverdoorn@gmail.com"
] | elijahverdoorn@gmail.com |
7e7ee7e400491d8def14209c22d725af2e09833d | f1b5f30436d91a3331cca7fb927e68fad4066b6f | /HX711Serial/HX711Serial.ino | 54e84b53e697dfc3d0ac0378381b82bb9e70140d | [] | no_license | woodif/HX-711 | 1a9da33d28c9baa4a6732b117255bbd9ee46dc36 | 5d4a84491e27eee49a42790c92adc9791dd8a9ea | refs/heads/master | 2016-09-02T04:49:48.756846 | 2015-05-16T10:21:01 | 2015-05-16T10:21:01 | 35,719,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,699 | ino | #include "HX711.h"
#include <SoftwareSerial.h>
#include <Wire.h>
//#include <LiquidCrystal_I2C.h>
// HX711.DOUT - pin #A1
// HX711.PD_SCK - pin #A0
//LiquidCrystal_I2C lcd(0x27, 16, 2);
HX711 scale(A1, A0); // parameter "gain" is ommited; the default value 128 is used by the library
//SoftwareSerial mySerial(10, 9);... | [
"sarawoot_202@hotmail.com"
] | sarawoot_202@hotmail.com |
a903ab1beccc7bef5a1dab90c14efc18e0a35495 | a712987d2ef30425eda8af84b3132d25d27da46a | /src/network/client.h | fb13e1d122192f9deaaf09f3302c1b39171c774f | [
"MIT"
] | permissive | ziloka/cpptris | ee85210b951285c5f8b37b0b78edcda6300a2ce6 | 281c478add5a8b2c048754f1264c4b70311c4864 | refs/heads/master | 2023-03-19T05:50:35.786618 | 2018-10-30T13:06:02 | 2018-10-30T13:06:02 | 532,646,997 | 1 | 0 | null | 2022-09-04T20:11:35 | 2022-09-04T20:11:34 | null | UTF-8 | C++ | false | false | 1,174 | h |
#ifndef CLIENT_H
#define CLIENT_H
#include <string>
#include <SFML/Network.hpp>
#include "../piece.h"
class Client {
private:
sf::TcpSocket socket;
bool connected = false;
std::string address;
char username[25];
int id;
std::string * users = new std::string[4];
int userWorlds[4][10*2... | [
"me@evgiz.net"
] | me@evgiz.net |
e63ed43c36b42ab2c0fdbe663d81de565f6a568d | ee5d08a8b806b9a5c3452664b9ec6c8776b8225e | /recording/src/irobot_create/nodes/odometry_rosbag.cpp | 49651c905fccd794964b8fc71422984303fe4ca6 | [
"BSD-3-Clause"
] | permissive | sbrodeur/CREATE-dataset | cff764617883f9186c607482f61cf85c4d4007e6 | 473e0555e81516139b6e70362ca0025af100158b | refs/heads/master | 2021-05-05T02:25:24.459839 | 2018-01-31T20:41:50 | 2018-01-31T20:41:50 | 119,738,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,428 | cpp | /******************************************************************************
*
* Copyright (c) 2016, Simon Brodeur
* 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... | [
"Simon Brodeur@USherbrooke.ca"
] | Simon Brodeur@USherbrooke.ca |
5be9054993f9ddc91df121b7adabbedc3b46eba0 | 0897a99cad19fdbc4b5a65571bc148aa28086726 | /include/OutOfCore/BlockwiseImage.hpp | b0673216913a9f30ed17d95ffeecb0f79af4fd2c | [] | no_license | sg47/Out_Of_Core_Module | 10c39c03cc85d448e280591333d402cbed87a96a | d1d907df47a508b8a05473deb7f977b32d80be00 | refs/heads/master | 2021-01-22T15:23:10.524661 | 2012-09-12T12:14:35 | 2012-09-12T12:14:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,225 | hpp | #ifndef _BLOCKWISE_IMAGE_HPP
#define _BLOCKWISE_IMAGE_HPP
#include "BlockwiseImage.h"
#include "IndexMethod.hpp"
#include <boost/assert.hpp>
#include <boost/lexical_cast.hpp>
#include <string>
#include <fstream>
#include <strstream>
#ifdef SAVE_MINI_IMAGE
/*---------------------------------------------*/
/* opencv ... | [
"whiledoing@sina.com"
] | whiledoing@sina.com |
6130b31e7e0ec9ae51a0c5e9d6e4b1a22320039d | 02b715831737eb94df84910677f6917aa04fa312 | /EIN-SOF/DOMASNO/DOMASNO C++/OBLIK/troDimenzionalni.cpp | 38b9fa535221b9cd5524d2c86d62d31fe3906053 | [] | no_license | DoozyX/EIN-SOF | 05b433e178fbda6fb63e0d61387684158913de1d | 5de0bd42906f9878557d489b617824fe80c4b23b | refs/heads/master | 2021-01-01T18:25:14.240394 | 2017-11-18T12:54:16 | 2017-11-18T12:54:16 | 98,330,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | cpp | //programa troDimenzionalni.cpp
//deviniranje na metodi
#include <iostream>
using std::cout;
#include "troDimenzionalni.h"
TroDimenzionalni::TroDimenzionalni(double x,double y,double z):DvoDimenzionalni(x,y)
{
h=z;
}
double TroDimenzionalni::presmetajPlostina()
{
double pom,pom1;
pom=DvoDimenzionalni::presm... | [
"slobodan.kletnikov@gmail.com"
] | slobodan.kletnikov@gmail.com |
74c55dfce4be27254ac35cafceb951c9708346f8 | f99c0194278639456604ebf76443b65bf1c6ed04 | /paymentchannel/include/paymentchannel/Commitment.hpp | e1d7c563cfe490394a46f0cc2b700c4d871b15fa | [] | no_license | RdeWilde/JoyStream | e4ed42ff61af1f348cb49469caa8e30ccf3f8a52 | 95c2b6fc50251fbe4730b19d47c18bec86e18bf4 | refs/heads/master | 2021-06-11T20:26:46.682624 | 2016-05-10T08:27:05 | 2016-05-10T08:27:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,636 | hpp | /**
* Copyright (C) JoyStream - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Bedeho Mender <bedeho.mender@gmail.com>, August 15 2015
*/
#ifndef PAYMENTCHANNEL_COMMITMENT_HPP
#define PAYMENTCHANNEL_COMMITMENT_HPP
#includ... | [
"bedeho.mender@gmail.com"
] | bedeho.mender@gmail.com |
faee043efffcd28847ea5d433bdd91e6452d1edb | 0233477eeb6d785b816ee017cf670e2830bdd209 | /SDK/SoT_BP_ipg_hair_05_Desc_classes.hpp | d63a95a7ae7acdde9d10a31695bf281f88394ce5 | [] | no_license | compy-art/SoT-SDK | a568d346de3771734d72463fc9ad159c1e1ad41f | 6eb86840a2147c657dcd7cff9af58b382e72c82a | refs/heads/master | 2020-04-17T02:33:02.207435 | 2019-01-13T20:55:42 | 2019-01-13T20:55:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | hpp | #pragma once
// Sea of Thieves (1.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_ipg_hair_05_Desc_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
b612e83cb0cee3bbb91e018abc60dc12dc4dc46d | e66d115b1b53b5be0cc6a6a2233ffdb4c22096e0 | /Ogitor/qtOgitor/include/settingsdialog.hxx | 2ac8c73c4b40f0229225f7eb6c0d325d0ad95ffa | [
"MIT"
] | permissive | lockie/HiveGame | 565a6f46b214f7df345c25c0bc05ee5bd6699ece | bb1aa12561f1dfd956d78a53bfb7a746e119692a | refs/heads/master | 2021-06-11T20:56:21.872049 | 2016-12-18T11:28:33 | 2016-12-18T11:28:33 | 1,229,308 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,850 | hxx | /*/////////////////////////////////////////////////////////////////////////////////
/// An
/// ___ ____ ___ _____ ___ ____
/// / _ \ / ___|_ _|_ _/ _ \| _ \
/// | | | | | _ | | | || | | | |_) |
/// | |_| | |_| || | | || |_| | _ <
/// \___/ \____|___| |_| \___/|_| \_\
/// ... | [
"fake0mail0@gmail.com"
] | fake0mail0@gmail.com |
f3f67e5db33e87b03b0ce3aa1ba033ffa5db70bc | 90efdfa1f56e2082283e510c7aa9a77ceab8ce18 | /template/src/TemplateGame.h | 8c426edcee6f05323707188d4f260324a400fbe1 | [] | no_license | aurodev/GPlay3D | 451e2863d6ac3222762672d358eecd494d9cc272 | ad6b88dd22688e2b6e6e2fa02779daa0b5545592 | refs/heads/master | 2020-07-13T04:28:30.234238 | 2018-06-26T06:48:20 | 2018-06-26T06:48:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 877 | h | #ifndef TemplateGame_H_
#define TemplateGame_H_
#include "gplay3d.h"
using namespace gameplay;
/**
* Main game class.
*/
class TemplateGame: public Game
{
public:
/**
* Constructor.
*/
TemplateGame();
/**
* @see Game::keyEvent
*/
void keyEvent(Keyboard::KeyEvent evt, int key);
... | [
"fredakilla@gmail.com"
] | fredakilla@gmail.com |
f960a225f0bf911fb98ca368ad195675a34051e5 | 152c8ed80987ac2de10fe03fe6af283f1430d0be | /Classes/Tool.h | 75c5a069c124c72439d35fc22543b2ad190ade63 | [] | no_license | aababy/Begins_New | 2bae369a90f4d4e9f5bba1d2f3669a0eef22d4c5 | 9c3e09c5d38667c2fdc35f4ccf2aa3bbfd7ea627 | refs/heads/master | 2021-01-01T15:55:15.575484 | 2014-12-22T03:58:00 | 2014-12-22T03:58:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | h | #pragma once
#include "IncludeForHeader.h"
#include "ui/UICheckBox.h"
Button * initButton(int iTag, Widget* root, Widget::ccWidgetTouchCallback callback);
ImageView * initImageView(int iTag, Widget* root);
CheckBox * initCheckBox(int iTag, Widget* root, const CheckBox::ccCheckBoxCallback& callback);
Layout * in... | [
"jumpchess@163.com"
] | jumpchess@163.com |
ff30ab1177f96472963069ec3d2efaef5b5b6bd1 | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/boost/simd/constant/include/constants/five.hpp | a1ad45fe0bd224bc95be40398253f8f19297a570 | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 254 | hpp | #ifndef BOOST_SIMD_CONSTANT_INCLUDE_CONSTANTS_FIVE_HPP_INCLUDED
#define BOOST_SIMD_CONSTANT_INCLUDE_CONSTANTS_FIVE_HPP_INCLUDED
#include <boost/simd/constant/constants/five.hpp>
#include <boost/simd/constant/constants/simd/vmx/altivec/five.hpp>
#endif
| [
"kevinushey@gmail.com"
] | kevinushey@gmail.com |
34434c5c2c810bf1e750d30effd2a03e6ae7328b | d297a725b3d28ce67796552ddc7341b8793151b0 | /stereo_disparity/main.cpp | bd7e88a3c99d5d426f001a2fcaa3b84d52e06787 | [] | no_license | andrey-golubev/opencl-sandbox | d76a4f4391258ec302f72ae0b5ba0335de5b66ab | ef23dec4876c2365f92ce4896d7fc389ad7128b7 | refs/heads/master | 2020-12-19T19:02:15.420906 | 2020-04-15T11:11:04 | 2020-04-15T11:11:04 | 235,823,367 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,727 | cpp | #include <cstdint>
#include <iostream>
#include <map>
#include <random>
#include <opencv2/highgui.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc.hpp>
#include "common/utils.hpp"
#include "stereo_disparity_cpp_inl.hpp"
#include "stereo_disparity_cpp_opt_inl.hpp"
#include "stereo_disparity_ocl_inl.hpp... | [
"andpgolubev@gmail.com"
] | andpgolubev@gmail.com |
9ce6b3907dcfec4a8f95f860990c41218de9b1e2 | 7f940f1a54ab400d98d0291248427114acada9ee | /concepts/threads/futures.cpp | 9791c67166ebc5f8496a150451b958ad77788c3c | [] | no_license | anirudhaps/Cplusplus | 7d01e5deb1e0d4dda37257cd8831f3a89f7049b5 | ac180ffe894a39443d6bb6438fda9ff308701e00 | refs/heads/master | 2022-09-29T04:30:40.181243 | 2022-09-13T16:51:02 | 2022-09-13T16:51:02 | 86,616,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,108 | cpp | #include <future>
#include <iostream>
// needed for using 300ms as arg in sleep_for
using namespace std::chrono_literals;
// This is the task/callable that will be executed in a separate thread
int operation(int count) {
int sum{};
for (int i = 0; i < count; ++i) {
sum += i;
std::cout << '.';
... | [
"ps.anirudha@gmail.com"
] | ps.anirudha@gmail.com |
ff3e009725d61538b5c086dcbaa1e6fd7436e790 | 8a50a32e7d34df7b6430919bcdd7b971d3baac64 | /v0.1.1/WPJInputUtil.cpp | fd723e353b82587003e7022c551484de778355ba | [] | no_license | woudX/WPJ | 6f0ea0705f38245c9741e7cbde5846b3b2758519 | ec670b8d1f2d42b2723e1463a50a00b887b4a80e | refs/heads/master | 2016-09-16T02:05:34.377895 | 2014-08-14T05:08:24 | 2014-08-14T05:08:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,659 | cpp | #include "WPJInputUtil.h"
USING_NS_WPJ
WPJInputUtil *WPJInputUtil::m_pInst = 0;
WPJInputUtil::WPJInputUtil():m_bFirst(true)
{
memset(m_arKeyPressed, 0, sizeof(m_arKeyPressed));
}
WPJInputUtil *WPJInputUtil::GetSharedInst()
{
if (m_pInst == 0)
m_pInst = new WPJInputUtil();
return m_pInst;
}
WPJInputUtil *WPJ... | [
"jccgls001@126.com"
] | jccgls001@126.com |
071179dcc13fa3cc32aa68486eaed86d12070d4c | abbcbf44964d4557cfcab0fe1056bdcca4e7e60a | /VectorList/src/WordMap.cpp | 063f7b812628b5e8dad177bf1d679291e3bdfb38 | [] | no_license | charit93/Data-Structures-CMPE-180-92 | b4fdc6cda32330b7d199d1b7f52dcf9517fbcdc8 | 8937f71a1e6df21a4e66c18702f5404591c1155a | refs/heads/master | 2020-03-11T12:11:10.374829 | 2018-09-04T18:31:58 | 2018-09-04T18:31:58 | 129,990,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,357 | cpp | #include <map>
#include <string>
#include<iostream>
#include "WordMap.h"
using namespace std;
WordMap::WordMap() {}
WordMap::~WordMap() {}
map<string, Word>& WordMap::get_data() { return data; }
int WordMap::get_count(const string text) const
{
/***** Complete this function. *****/
map<string, Word>::const_itera... | [
"charitupadhyay@gmail.com"
] | charitupadhyay@gmail.com |
cc6c6bada59d68862902f283830b12380c63e91c | c36761457f62066159fdb4409f7787ee0d9b43b0 | /IrisLangLibrary/src/IrisLangLibrary.cpp | 73bf266b4a2a4eabeacb92ded1ad5956700e3c4f | [
"Apache-2.0"
] | permissive | RedFog/Iris-Language | d8ee855da6a748cb7a5753bc56a68b5834ce18a1 | cde174f3e17b9747b7876487bfa4ab81fcfc5952 | refs/heads/master | 2020-04-06T06:41:21.242453 | 2016-03-14T16:41:55 | 2016-03-14T16:51:08 | 54,444,300 | 1 | 0 | null | 2016-03-22T04:08:27 | 2016-03-22T04:08:26 | null | GB18030 | C++ | false | false | 12,959 | cpp | // IrisLangLibrary.cpp : 定义 DLL 应用程序的导出函数。
//
#include "stdafx.h"
#include "IrisLangLibrary.h"
#include "IrisDevelopUtil.h"
#include "IrisInterpreter/IrisStructure/IrisClass.h"
#include "IrisInterpreter/IrisStructure/IrisModule.h"
#include "IrisInterpreter.h"
#include "IrisInterpreter/IrisNativeClasses/IrisInteger.h"... | [
"a1026121287@hotmail.com"
] | a1026121287@hotmail.com |
f6dbc7835f49e3975e7d47d4ff8d4df76bb2d393 | 490ec0d2c4d0ae5d54095c71e90d99bbc87049b8 | /ECE551-cpp/mp_miniproject/My_project/source/parsing.cpp | f069043794810b4bcd7630229a24fde35f4e4d7b | [
"MIT"
] | permissive | sicongzhao/cht_Duke_courses | b8c1f03c2fda05b5e73552e6bdb7f3c323810620 | d889e85e677f419c67c12e78143f3e8143457944 | refs/heads/master | 2022-01-06T23:18:36.962017 | 2019-06-12T20:33:33 | 2019-06-12T20:33:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,592 | cpp | #define MAXFLAG 1
#define MINFLAG -1
#include "parsing.h"
#include "helpers.h"
/*************************************************
Function: parsing
Description: to wrap-up the parsers for each step
Calls:
Called By: numeric.cpp/main
Input: 1.read-in file content 2.mapped-function pairs 3.all valid commands.
Return: v... | [
"cht@bupt.edu.cn"
] | cht@bupt.edu.cn |
9bb2695c911ba2c39b5ab4b73de7d9ff066d43f7 | 7e00a527a91a4bd2a60c7f1f0ae339730daa7ad1 | /src/Statistics.cpp | c5470a7351ab753d606a98975d7272c7a0b3416e | [] | no_license | tzavellas/ObserverPattern | 4a12a99c8c2a0b2abc4f5f01580bc9dda699fc40 | 6d95db6c89812062500ff62ccd6ff918d51835c9 | refs/heads/master | 2023-01-20T18:42:08.244843 | 2020-11-29T17:16:22 | 2020-11-29T17:16:22 | 316,933,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | cpp | #include "Statistics.hpp"
#include <algorithm>
Statistics::Statistics(const float& value) : m_MinValue{value}, m_MaxValue{value}, m_ValueSum{value}, m_Count{ (value != 0.0) ? 1u : 0u}
{
// nothing to do
}
void Statistics::update(const float& newValue)
{
if (m_Count > 0)
{
m_MinValue = std:... | [
"tzavellas@gmail.com"
] | tzavellas@gmail.com |
4145b1d07620be6a4bf337206b5c03f9d5bc4913 | 84257c31661e43bc54de8ea33128cd4967ecf08f | /ppc_85xx/usr/include/c++/4.2.2/gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.h | 421ce0e9b7be5f9b275a3097407a7fcf48d98d97 | [] | no_license | nateurope/eldk | 9c334a64d1231364980cbd7bd021d269d7058240 | 8895f914d192b83ab204ca9e62b61c3ce30bb212 | refs/heads/master | 2022-11-15T01:29:01.991476 | 2020-07-10T14:31:34 | 2020-07-10T14:31:34 | 278,655,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,232 | h | // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_javax_crypto_sasl_crammd5_CramMD5AuthInfoProvider__
#define __gnu_javax_crypto_sasl_crammd5_CramMD5AuthInfoProvider__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace javax
{
names... | [
"Andre.Mueller@nateurope.com"
] | Andre.Mueller@nateurope.com |
dff29843ca798cef5c05755a5ffe7bf01763b79b | 0509e367ee369133f0c57f2cbd6cb6fd959da1d5 | /chapter7/rei7.3_1.cpp | da2190f58aff74d78efa2500b01187864305d86f | [] | no_license | Hiroaki-K4/cpp_learn | 5a1e6916d504027c18c64a16c353ee72429ed383 | 69d38f317f9c144b4e092361936d61b62d3bed3b | refs/heads/main | 2023-02-25T12:40:56.497944 | 2021-01-30T13:27:00 | 2021-01-30T13:27:00 | 317,693,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | #include <iostream>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <ctime>
using namespace std;
class base {
public:
base() { cout << "baseクラスのコンストラクタ呼び出し" << endl; }
~base() { cout << "baseクラスのデストラクタ呼び出し" << endl; }
};
class derived : public base {
public:
derived() { cout << "derivedクラスのコンストラクタ... | [
"49no19@gmail.com"
] | 49no19@gmail.com |
f2709ed6b1b5a63738c24e1b6950c1054029c676 | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/compiler/xla/service/gpu/for_thunk.cc | 7ccfcf3bd6363e6a66b4b3e05f1a0a47a689b5bb | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | C++ | false | false | 2,461 | cc | /* Copyright 2017 The TensorFlow 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 applicable ... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
693f0e9f11914c5ef612b791f053362cad11fa97 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/chrome/browser/android/offline_pages/offline_page_tab_helper.h | 22ff4a148d1db2f201c57e451d954748580ddd62 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 4,589 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_TAB_HELPER_H_
#define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_TAB_HELPER_H_
#include ... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
a5b4e57d6c8a0949442398ae6a22e7f669684ecb | 3324b70597e57ac9f3ccaff859aff40852a513c6 | /classwork/ParticleField/src/testApp.cpp | 52f666e428d5dcc1d56038d919fa299595e5c7db | [] | no_license | oherterich/algo2013-owenherterich | 0cc8aaa93318d026f627188fd6ba4e1f2cc23c16 | 0988b2dd821b44fca7216b4ec1eab365836dc381 | refs/heads/master | 2021-01-21T05:05:47.571780 | 2013-12-16T21:29:20 | 2013-12-16T21:29:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,339 | cpp | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
myField.setup( ofGetWindowWidth(), ofGetWindowHeight(), 20 );
ofBackground(0);
for (int i = 0; i < 500; i++) {
addParticle();
}
}
//---------------------------------------... | [
"oherterich@gmail.com"
] | oherterich@gmail.com |
254872aa8a3e03462daf9808b8e7877450570e1a | c36c51b605873e674efdf1a9c2198be2b24ba1cc | /Source/Core/EventSpecification.cpp | 6b29242ae5c401f0aeba409ace5a0ac95e293e62 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | aquawicket2/RmlUi | 5454c673af3b307f9d079495b0515894f71b4893 | 264d3630f435855aa67b4db1e081c3a727713c1c | refs/heads/master | 2021-04-23T04:58:12.383232 | 2020-03-28T16:33:59 | 2020-03-28T16:33:59 | 249,899,751 | 4 | 0 | MIT | 2020-03-25T06:03:25 | 2020-03-25T06:03:25 | null | UTF-8 | C++ | false | false | 8,399 | cpp | /*
* This source file is part of RmlUi, the HTML/CSS Interface Middleware
*
* For the latest information, see http://github.com/mikke89/RmlUi
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
* Copyright (c) 2019 The RmlUi Team, and contributors
*
* Permission is hereby granted, free of charge, to... | [
"michael.ragazzon@gmail.com"
] | michael.ragazzon@gmail.com |
0e8c7105810471c8d3209efebd54856edbc91ee3 | b155f6ba313cfd5c02441ac3d639fff2273daae0 | /Source/Server.cpp | dc2b94643b2083d75e78e54de976ed710f6c67f8 | [] | no_license | numver8638/EndTermProjectV2 | 86128fc6111ca42965054710b02b83983107f780 | 5e4ca89fef54cd545b1b20ee08b551ecb5b1fd01 | refs/heads/master | 2023-03-22T01:26:06.558307 | 2021-03-18T08:14:44 | 2021-03-18T08:14:44 | 348,604,277 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,855 | cpp | #include "Server.h"
#include <algorithm>
#include <cassert>
#include <ctime>
#include <cstdlib>
#include <iostream>
#include "ConnectionState.h"
#include "PacketStream.h"
#include "Socket.h"
#include "Thread.h"
#define MIN_WIDTH (0)
#define MAX_WIDTH (10)
#define MIN_HEIGHT (0)
#define MAX_HEIGHT (10)
#define BUFFE... | [
"numver8638@naver.com"
] | numver8638@naver.com |
94c275be25e47904c3b285a44648a78255fa4bec | 1e58f86db88d590ce63110c885c52305d67f8136 | /Common/messagelistdelegate.cpp | f89d1da790a13889ea4f96f582f611267dba6d32 | [] | no_license | urielyan/F270 | 32a9b87780b6b0bbbd8e072ca4305cd38dc975c1 | c3d1eceead895ded12166eeb6748df111f46ef2d | refs/heads/master | 2021-01-10T02:06:40.335370 | 2016-03-02T03:23:02 | 2016-03-02T03:23:02 | 52,927,128 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,475 | cpp | /*********************************************************************
* Copyright(c) 2014, 大豪信息技术有限公司上海研发部
*
* All Rights reserved
*
* 文件名称:MessageListDelegate.cpp
* 概 要:信息显示接口的代理
*
* 当前版本:V1.0.0
* 作 者:葛 海 浪
* 完成日期:2016-2-22
*
* 修改版本:
* 修改说明:
* 修改作者:
*
**********************************************... | [
"urielyan@sina.com"
] | urielyan@sina.com |
0ce5ae63add551a2a5577117f1bb8a8456d623ad | db5bba94cf3eae6f1a16b1e780aa36f4b8c3c2da | /r-kvstore/src/model/TagResourcesRequest.cc | 28901f02465ddba3b3aec598bb42e2db93c363f9 | [
"Apache-2.0"
] | permissive | chaomengnan/aliyun-openapi-cpp-sdk | 42eb87a6119c25fd2d2d070a757b614a5526357e | bb7d12ae9db27f2d1b3ba7736549924ec8d9ef85 | refs/heads/master | 2020-07-25T00:15:29.526225 | 2019-09-12T15:34:29 | 2019-09-12T15:34:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,433 | 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... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
83afdfeb36d03188fe3cea71448daf1c01be4e75 | 7f8648727d44a04cf98fa3cf80ac010acbe43474 | /Feld.h | 83b13637dc3ba321c4e9a516c7df761053fd348b | [] | no_license | christiannoubi/Feld-WS15 | 5b2cbd2bb647a1a541fb2109888c4f3056f5715b | 9f25b6ec3b512b28908c799f46134e6f58f98b55 | refs/heads/master | 2020-04-15T03:00:34.844152 | 2019-01-06T18:08:16 | 2019-01-06T18:08:16 | 164,332,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | h | #include <iostream>
struct Feld {
// Destruktor:
virtual ~Feld () {}
// Liefert die Länge des Felds zurück:
virtual int laenge() const = 0;
// Klammeroperator für nicht-konstante Objekte:
virtual double &operator [] (int a) = 0;
// Klammeroperator für konstante Objekte:
virtual double &ope... | [
"noubichristian@yahoo.fr"
] | noubichristian@yahoo.fr |
a2461e5474c1dcabd9641913ae4ebf7dd534f3e6 | 85f6241123446541443cfd33045cbbfe63365295 | /unit_tests/test.cpp | b1ca962b232cabaa3ad11ff897487433049cdc68 | [] | no_license | sharonen/RateLimitingRequestsModule | 3df01ea97693d7ff7090c906415dfd7fbff26f18 | cf1991cae24c7fc7ca6b1132af492e4dd1524898 | refs/heads/master | 2020-03-29T11:03:14.582647 | 2018-09-30T06:07:52 | 2018-09-30T06:07:52 | 149,833,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,308 | cpp | #define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include "../src/lib/requests_handler/requests_handler.hpp"
#include "../src/lib/requests_handler/response.hpp"
TEST_CASE("Checking the limit of requests")
{
GIVEN("a Requests Handle"){
auto pRequestsHandler = new RequestsHadler(100, 60);
THEN("the requests limi... | [
"sharonronen@sharons-air.lan"
] | sharonronen@sharons-air.lan |
1cc2ce02d3e6fce501dbac598270bceade3bc7ab | 0a30b9871858064844f4644121ac423244a95bb4 | /EngineModeController.h | e0f5f2788c068bd9bccbd2a698d06b7dbbff3f6e | [
"Apache-2.0"
] | permissive | elsewhat/gtav-mod-battlechess | 045a44b8171880ce325147a20b9a43343f57a1ca | 76c5fef1337e45dc13b6447354ffe96a1099b22b | refs/heads/master | 2021-06-23T14:18:45.506241 | 2017-09-05T20:45:50 | 2017-09-05T20:45:50 | 98,060,054 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | h | #pragma once
#include "inc\types.h"
#include "ChessBoard.h"
#include <vector>
class EngineModeController {
public:
virtual void onEnterMode(ChessBoard* chessBoard)=0;
virtual void onExitMode(ChessBoard* chessBoard)=0 ;
virtual bool actionOnTick(DWORD tick, ChessBoard* chessBoard)=0;
};
| [
"dagfinn.parnas@gmail.com"
] | dagfinn.parnas@gmail.com |
30116a9b6a93560dc800be72d83edd550df89b1c | 5bc237a4755d1d17218343d95eb95594b8fadb3d | /application/test/test_application.cpp | 912e3e75ce6fe8fe2bd99a1257cb76974d86b053 | [] | no_license | duynii/btproject | 557b85d14fd47de6acca8f4e05c9c38b22075ac5 | 7f87305e3e2dd524a5bd85ded76241d9eb7d0a17 | refs/heads/master | 2020-06-20T21:00:39.995727 | 2016-11-27T11:33:26 | 2016-11-27T11:33:26 | 74,821,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | cpp | #include <limits>
#include <gtest/gtest.h>
#include <comma/application/command_line_options.h>
#include <comma/application/signal_flag.h>
/// Some dummy tests to test linking
TEST( application, dj_algorithm )
{
EXPECT_TRUE( 1 == 1 );
EXPECT_FALSE( 1 != 1 );
EXPECT_EQ( 5, 5 );
// TODO: definitely more t... | [
"duynii@gmail.com"
] | duynii@gmail.com |
05ac0ff5e12159682345386089de99a1129b2f05 | e9025d80026f7d00e0fd69e0ee7e0f97533bd630 | /400/round494/C.cpp | a6ae38014c679ad27cb8d0d4606ce2d4d3c9f31a | [] | no_license | rishup132/Codeforces-Solutions | 66170b368d851b7076c03f42c9463a2342bac5df | 671d16b0beec519b99fc79058ab9035c6f956670 | refs/heads/master | 2020-04-12T04:32:10.451666 | 2019-03-22T14:04:31 | 2019-03-22T14:04:31 | 162,298,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | #include <bits/stdc++.h>
#define ll long long
#define mod 1000000007
using namespace std;
int a[100010];
int main()
{
int n,k;
cin >> n >> k;
a[0] = 0;
for(int i=1;i<=n;i++)
cin >> a[i];
for(int i=1;i<=n;i++)
a[i] += a[i-1];
double ans = 0;
while(k <= n)
{
... | [
"rishupgupta132@gmail.com"
] | rishupgupta132@gmail.com |
274e1aaa64ddecdd8f6c38163ae2d4cc81f13e4d | ad1ce910ab5d9382a87bebd2480f73ecca4c37a5 | /examples/bvp1d/simple3.cpp | 0981c86ae15c616589ecf90dc1309d7c8dafb5c6 | [
"MIT"
] | permissive | grenkin/joker-fdm | 33fee3fff4aa948bd4ba82c7016227a84b3cc5d8 | 21d60479ca0dd7f2deb0d8ce000f79a7c53f3202 | refs/heads/master | 2020-04-09T04:14:21.820983 | 2018-09-21T02:04:35 | 2018-09-21T02:04:35 | 68,077,571 | 4 | 0 | null | 2016-10-14T21:30:28 | 2016-09-13T05:35:13 | Matlab | UTF-8 | C++ | false | false | 1,499 | cpp | /*
A simple linear problem in 1D
-u''(x) = -2 on (0, 1)
u(0) = 0, u'(1) + 2 * (u(1) - 2) = 0
Exact solution: u(x) = x ^ 2
*/
#include <iostream>
#include <vector>
#include <cmath>
#include <joker-fdm/bvp1d.h>
using namespace std;
double zero(double x)
{
return 0;
}
double gfun(double x)
{
return -2;
}
doub... | [
"glebgrenkin@gmail.com"
] | glebgrenkin@gmail.com |
0516cf09ee4a486f2fc1d8da1201d376de9fe140 | 9989ec29859d067f0ec4c7b82e6255e227bd4b54 | /atcoder.jp/abc_170/abc170_e.cpp | 525e2763dc443538d56e5785de61e486d9043214 | [] | no_license | hikko624/prog_contest | 8fa8b0e36e4272b6ad56d6506577c13f9a11c9de | 34350e2d298deb52c99680d72345ca44ab6f8849 | refs/heads/master | 2022-09-10T20:43:28.046873 | 2022-08-26T13:59:29 | 2022-08-26T13:59:29 | 217,740,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11 | cpp | // abc170_e | [
"hikko624@gmail.com"
] | hikko624@gmail.com |
560ec2df631e868708dbc2dcc4e636d06505f510 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chrome/browser/notifications/fullscreen_notification_blocker.h | f8d6107fd88f7910d68af8e26ad296d88e3455aa | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,531 | h | // Copyright 2013 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_NOTIFICATIONS_FULLSCREEN_NOTIFICATION_BLOCKER_H_
#define CHROME_BROWSER_NOTIFICATIONS_FULLSCREEN_NOTIFICATION_BLOCKER_H_
#include ... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
b0912f4e8a3aacb729fc3de5de3cbde661b38994 | 4ad2ec9e00f59c0e47d0de95110775a8a987cec2 | /_HackerCup/2016/Round 1/Boomerang Tournament/Help/Brute/main.cpp | 4b7b3efa2e975b229cfada78325791aa96021800 | [] | no_license | atatomir/work | 2f13cfd328e00275672e077bba1e84328fccf42f | e8444d2e48325476cfbf0d4cfe5a5aa1efbedce9 | refs/heads/master | 2021-01-23T10:03:44.821372 | 2021-01-17T18:07:15 | 2021-01-17T18:07:15 | 33,084,680 | 2 | 1 | null | 2015-08-02T20:16:02 | 2015-03-29T18:54:24 | C++ | UTF-8 | C++ | false | false | 1,764 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
#include <cmath>
#include <queue>
using namespace std;
#define mp make_pair
#define pb push_back
#define maxN 20
int t, test, n, i, j;
int better[maxN][maxN];
int ans[maxN][2];
int perm[maxN];
int point[maxN];
queue<in... | [
"atatomir5@gmail.com"
] | atatomir5@gmail.com |
0f12f0b2ad3525184b1198a04bd6f3755c3cc9ba | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/core/pose/rna/BaseStack.cc | e32f15496a78bb46fbe35584ba5a8772b4387636 | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,059 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
316c527c9f8d2af83225cea89bb4422a61b2e6a5 | 33e1799b6f320f2ab17f41f39492aeaf60bcf969 | /AgileFontSet/CEditImpl.h | 55b36ce35eb82dddb5748804754b9e774a39e500 | [] | no_license | patton88/AgileFontSet | feac17fb84e906e02db822ce14d71ddf37ba5358 | da0e26865f76bd053fc23896ab4abd1247b6ac54 | refs/heads/master | 2020-08-15T11:38:50.691081 | 2019-10-16T02:25:28 | 2019-10-16T02:25:28 | 215,334,815 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | h | // CEditImpl.h
//
//////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CEditImpl_H__C84_E69_d49_i41_t05_I29_00007733__INCLUDED_)
#define AFX_CEditImpl_H__C84_E69_d49_i41_t05_I29_00007733__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// CEditImpl - CWi... | [
"name2017@163.com"
] | name2017@163.com |
bf43aace070e60aa68f575550d8ddd30201b3f6e | 247a1bc8595079a22c18786b52f84bd9ba84f3c8 | /Cpp/318.maximum-product-of-word-lengths.cpp | 22da8ee207db90f7de14b4e26caf7bc19ffa15fc | [
"MIT"
] | permissive | zszyellow/leetcode | cad541a3c34b243031417ea2ac0c77f63e511516 | 2ef6be04c3008068f8116bf28d70586e613a48c2 | refs/heads/master | 2021-07-15T23:37:37.414560 | 2021-02-14T05:56:00 | 2021-02-14T05:56:00 | 26,573,267 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | class Solution {
public:
int maxProduct(vector<string>& words) {
int n = words.size(), mask = 0, res = 0;
vector<int> masks;
for (string word : words) {
mask = 0;
for (char c : word) mask |= (1 << (c-'a'));
masks.push_back(mask);
}
... | [
"zszyellow@hotmail.com"
] | zszyellow@hotmail.com |
1ce209b337816ebf2a7cc25df40b85131d197e94 | 81f2b85a9542b8fd365b44d0caa39f2fb6f8e122 | /GPE/unfinish/24731 Roads in the North.cpp | 9f93b16e2fac99998531750c44a2d1117009b25e | [] | 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 | 177 | cpp | /*
Problem: 24731: Roads in the North
subs: 247, ACs: 53, AcceptRate: 21.46, onsite: 16, access: 2213
Link: https://gpe3.acm-icpc.tw/showproblemtab.php?probid=24731&cid=5
*/ | [
"contact@setsal.dev"
] | contact@setsal.dev |
968cea15579707fd3874d05cf991217afbf6f06c | 9c2de8d42ba3f23b0b6d74a2518e6834f98251d2 | /src/server/MinecraftChunk.cpp | 3b8b100623ae19092315d9fb35f5f486600c8169 | [] | no_license | tntguy12355/MinecraftPlaysPortal | c96025e660ed6861119d70f4431414697d41e757 | ddb491bcc508de65ad6647ef9f1aadabfee69cd4 | refs/heads/master | 2023-03-17T09:59:06.715233 | 2021-02-24T02:11:30 | 2021-02-24T02:11:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,807 | cpp | #include "MinecraftChunk.hpp"
#include "common.hpp"
namespace MCP {
Chunk::Chunk(int x, int z)
: x(x)
, z(z)
{
}
void Chunk::SetBlockID(int x, int y, int z, short id)
{
sections[(int)floor(y / 16.0)].SetBlockID(x, y % 16, z, id);
}
short Chunk::GetBlockID(int x,... | [
"krzyht@gmail.com"
] | krzyht@gmail.com |
95e8f23afb2022613157722e2da03a844b8d8be8 | 61b07e8d14f85800d6fad641a77ef8bbef8d3859 | /gameStats.cpp | 188082eab9b5bac626461fbc8db710a00011fe9c | [] | no_license | Jared-Adamson/CSE_C_Cpp_LISP_Prolog_Programs | d9fc85dac95abf0447f2d1538fbf329a387cd3b4 | 194236b8944e65f5850a1fd0addacc0b2a6e36b7 | refs/heads/master | 2021-06-20T20:59:51.948456 | 2017-08-11T06:32:57 | 2017-08-11T06:32:57 | 23,534,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | cpp | //Jared Adamson
//C++ Practice from Beginning C++ Book
// Demonstrates declaring and initializing variables
#include <iostream>
using namespace std;
int main()
{
int score;
double distance;
char playAgain;
bool shieldsUp;
short lives, aliensKilled;
score = 0;
distance = 1200.76;
playAgain = 'y';... | [
"jared.d.adamson@gmail.com"
] | jared.d.adamson@gmail.com |
bddc2cb7c0d402edbb1e62b3e7e50e9c6f97bb17 | 92756269d7ba6a7c0a57ba8fcc1fd5f17cfba88f | /source/dialog_createtask.cpp | baae82be57eca827bb8fc6532bc289c96f0808d0 | [] | no_license | kapiten79/timecontrol | 1a2ee54986029dd21e7109ad7aa3c90d2d2b4755 | 59b70fb99e105f8f7552b046dfbec003080e528f | refs/heads/master | 2020-04-05T15:44:05.397613 | 2018-11-10T12:51:32 | 2018-11-10T12:51:32 | 156,981,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | #include "dialog_createtask.h"
#include "ui_dialog_createtask.h"
Dialog_createTask::Dialog_createTask(QWidget *parent) :
QDialog(parent),
ui(new Ui::Dialog_createTask)
{
ui->setupUi(this);
ui->lineEdit->setFocus();
}
Dialog_createTask::~Dialog_createTask()
{
delete ui;
}
/* Иниц... | [
"mihon79@inbox.ru"
] | mihon79@inbox.ru |
b3f9484513d7ec0aa13ff5bb8df6608c8804429e | def39f068050b234df9f6909d4277f96b740f11c | /E-olimp/1287. Tennis competitions .cpp | 9c83eb1c033c9119a8fc356f951dd46b8d979f90 | [] | no_license | azecoder/Problem-Solving | 41a9a4302c48c8de59412ab9175b253df99f1f28 | a920b7bac59830c7b798127f6eed0e2ab31a5fa2 | refs/heads/master | 2023-02-10T09:47:48.322849 | 2021-01-05T14:14:09 | 2021-01-05T14:14:09 | 157,236,604 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 188 | cpp | #include <stdio.h>
#include <stdlib.h>
unsigned long long a,b,s;
int main(int argc, char *argv[])
{
scanf("%llu %llu", &a,&b);
s=a*b;
printf("%llu\n", s);
return 0;
} | [
"tabriz.haji@gmail.com"
] | tabriz.haji@gmail.com |
ff83a831f93208e5ba592676e880cb44c9a529a0 | 968ad92cc0b69ec1fb0225f8c6912443e63cc260 | /algorithms/implementation/ManasaAndStones.cpp | 3fb64267a842b61f4fc0f1b089264729d8a2842e | [] | no_license | duonghdo/hackerrank | ba4c529ae08d58a23daca751c92d605ca69acfea | 0299a2d30b8083f2ec7a5636ae8584e948c77e03 | refs/heads/master | 2021-01-10T20:09:49.396319 | 2015-11-23T05:14:32 | 2015-11-23T05:14:32 | 40,314,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | #include <iostream>
using namespace std;
int main(){
int t;
cin >> t;
while(t--){
int n, a, b;
cin >> n >> a >> b;
for(int i = 0; i < n; i++){
if(a == b) {
cout << a*(n-i-1);
break;
}
else if(a > b) cout << (i*a + (n-i-1)*b) << " ";
else cout << (i*b + (n-i-1)*a) << " ";
}
cout << endl... | [
"duonghdo@users.noreply.github.com"
] | duonghdo@users.noreply.github.com |
141658ca8d66785c12266583b5887e68e82be27d | 410e45283cf691f932b07c5fdf18d8d8ac9b57c3 | /chrome/browser/chromeos/policy/status_uploader_unittest.cc | a314bb8cc899b4ad25348722d273d25a7f2643ce | [
"BSD-3-Clause"
] | permissive | yanhuashengdian/chrome_browser | f52a7f533a6b8417e19b85f765f43ea63307a1fb | 972d284a9ffa4b794f659f5acc4116087704394c | refs/heads/master | 2022-12-21T03:43:07.108853 | 2019-04-29T14:20:05 | 2019-04-29T14:20:05 | 184,068,841 | 0 | 2 | BSD-3-Clause | 2022-12-17T17:35:55 | 2019-04-29T12:40:27 | null | UTF-8 | C++ | false | false | 15,487 | cc | // Copyright (c) 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.
#include "chrome/browser/chromeos/policy/status_uploader.h"
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/... | [
"279687673@qq.com"
] | 279687673@qq.com |
31d8057c61aad58272afcb781fc29698c298738a | cd2f5e7775dbca9eec9f0fcd88a4635a2d2b0414 | /components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc | 2d119daf57463250b8cc64b8446fc6426762fa12 | [
"BSD-3-Clause"
] | permissive | ghj1040110333/chromium-1 | 8462ba0ca940fe3f4284d66036fb41f83cb7065e | 374d3a7593027eb6b26bf290e387e7de1fa9612a | refs/heads/master | 2023-03-02T22:22:29.564010 | 2018-02-11T09:21:22 | 2018-02-11T09:21:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 95,911 | cc | // 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 file.
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h"
#include <stddef.h>
#include <stdint.h>
#include <algori... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.