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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d6811ad3b73d8ecd99a60e8a33c54433a60af3c7 | a85a1e6c776e0433c30aa5830aa353a82f4c8833 | /styxnet/network_url.cpp | 1112cba6d36a8d2cdf47c38c7048596783568796 | [] | no_license | IceCube-22/darkreign2 | fe97ccb194b9eacf849d97b2657e7bd1c52d2916 | 9ce9da5f21604310a997f0c41e9cd383f5e292c3 | refs/heads/master | 2023-03-20T02:27:03.321950 | 2018-10-04T10:06:38 | 2018-10-04T10:06:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | cpp | ////////////////////////////////////////////////////////////////////////////////
//
// Network Ping
//
// Copyright 1999-2000
// Matthew Versluys
//
////////////////////////////////////////////////////////////////////////////////
//
// Includes
//
#include "network_url.h"
///////////////////////////////////////////... | [
"eider@protonmail.com"
] | eider@protonmail.com |
1e69ce7722195d6ad953f0f80e15b67e90d00e2c | 6ef890c3c67576b2aebdc50e6a00da1c5a7903d9 | /hexl/include/hexl/eltwise/eltwise-reduce-mod.hpp | 98042651e326cc6d7c97bdf41ad551549c574c05 | [
"Apache-2.0"
] | permissive | QQWangYao/hexl | e917afe5e012be7b02076530750a557e050c6933 | 24f7ffbe573911c583317a4dfd48eca691d06b9d | refs/heads/main | 2023-03-28T19:32:34.138315 | 2021-04-05T20:36:25 | 2021-04-05T20:36:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | hpp | // Copyright (C) 2020-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <stdint.h>
namespace intel {
namespace hexl {
/// @brief Performs elementwise modular reduction
/// @param[out] result Stores the result
/// @param[in] operand
/// @param[in] n Number of elements in operand
///... | [
"fabian.boemer@intel.com"
] | fabian.boemer@intel.com |
a3afdfcf590498960c08bd06666f6edee223134a | b81bb88f02d9b3ea3030dcad42d326c0ebbe215d | /c/on_material.cpp | a621a30d4d674c0548d520d081768fcf98d9a39b | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | arendvw/rhinocommon | fe7a6355bf6364e712addc3c10da07862dc17644 | c7f394498ab7d3c44cf7cb4cfed42046c831e194 | refs/heads/master | 2021-01-18T05:42:41.952897 | 2016-05-08T23:09:42 | 2016-05-08T23:09:42 | 7,479,517 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,103 | cpp | #include "StdAfx.h"
RH_C_FUNCTION ON_Material* ON_Material_New(const ON_Material* pConstOther)
{
ON_Material* rc = new ON_Material();
if( pConstOther )
*rc = *pConstOther;
return rc;
}
RH_C_FUNCTION void ON_Material_Default(ON_Material* pMaterial)
{
if( pMaterial )
pMaterial->Default();
}
RH_C_FUNCTI... | [
"steve@mcneel.com"
] | steve@mcneel.com |
a117dd83a5178f08a0257a62d7c8d7c1b555cc1c | 950276f370539ad552c1969170258cb8a13e137d | /src/BeamTransform.cxx | 9d74449451822770c75de06dd60ae263e670412b | [
"BSD-3-Clause"
] | permissive | fermi-lat/G4Generator | b4be72b15c7898fa2c49d553e4ad09bc6bced4ca | e62475754d1be9330e2c865b0a4517f8d9b105e9 | refs/heads/master | 2022-02-17T03:19:37.917081 | 2019-08-27T17:27:36 | 2019-08-27T17:27:36 | 103,186,864 | 0 | 0 | null | 2018-07-05T20:47:41 | 2017-09-11T20:51:33 | C++ | UTF-8 | C++ | false | false | 11,270 | cxx | /** @file BeamTransform.cxx
@brief declartion, implementaion of the class BeamTransform
Transforms particle trajectories generated in the beamtest-2006 beam frame
into the CU frame, taking into account the translations and rotations of the
x-y table.
@authors Toby Burnett, Leon Rochester
$Hea... | [
""
] | |
0ecc3a6f7fb75901ecf54ee8d141f7c2413a0747 | d7c5bfdcd282f75910783b345a9e22bee63c5261 | /app/src/main/jni/DssFundamentals/IDssModeEncoder.h | c2a8c45024a473526b8ea4680a67b19af4f655ff | [] | no_license | merlydavidson/ODAndroidMobile | a4f98017bcc75580283f150397bb816894aa44dd | e0c53be2c3a38af40d74daf30d996f1e8bf33e2b | refs/heads/master | 2020-07-05T18:27:01.346239 | 2019-08-27T08:44:19 | 2019-08-27T08:44:19 | 202,726,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | h | #ifndef I_DSS_MODE_ENCODER_H__
#define I_DSS_MODE_ENCODER_H__
#include "DssModeCodecCommon.h"
class IDssModeEncoder{
public:
IDssModeEncoder() {;}
virtual ~IDssModeEncoder() {}
virtual bool init() = 0;
virtual int encode_frames(short *psInput, int cInSamples, byte_t *pbOut, int& cbOutBytes, int mode) = 0;
virt... | [
"merlindavidson19@gmail.com"
] | merlindavidson19@gmail.com |
a18a503dbd465093af57af0c6b8e9bc46d8ecaea | 6d162c19c9f1dc1d03f330cad63d0dcde1df082d | /qrenderdoc/3rdparty/qt/include/QtNetwork/qhostaddress.h | fdbdbfc72c02c843e1ebd2ef71ab736e16d6884a | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.0-or-later",
"LGPL-3.0-only",
"GPL-3.0-only",
"Python-2.0",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-mit-old-style",
"LGPL-2.1-or-later",
"LGPL-2.1-only",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-sc... | permissive | baldurk/renderdoc | 24efbb84446a9d443bb9350013f3bfab9e9c5923 | a214ffcaf38bf5319b2b23d3d014cf3772cda3c6 | refs/heads/v1.x | 2023-08-16T21:20:43.886587 | 2023-07-28T22:34:10 | 2023-08-15T09:09:40 | 17,253,131 | 7,729 | 1,358 | MIT | 2023-09-13T09:36:53 | 2014-02-27T15:16:30 | C++ | UTF-8 | C++ | false | false | 6,269 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Copyright (C) 2016 Intel Corporation.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtNetwork module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial Lice... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
b6edb28e9b7fbb0d539214808de767ed4dc290bd | 8b575163d31e45385f74dcde2ba18125603a320d | /cocos3d/Engine/libcocos3d/Materials/CC3Material.h | 96d26c010158b99aacb969a387efa346ef0ec802 | [] | no_license | xuwei2048/cocos3d-x | f8e4aac4bab40fbfc97e667d04fb5dfd1fa0f53e | 1a0996dd4852ff09312a8f8718fded80fbf5777b | refs/heads/master | 2021-01-15T10:25:14.866209 | 2015-11-13T11:02:43 | 2015-11-13T11:02:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,777 | h | /*
* Cocos3D-X 1.0.0
* Author: Bill Hollings
* Copyright (c) 2010-2014 The Brenwill Workshop Ltd. All rights reserved.
* http://www.brenwill.com
*
* Copyright (c) 2014-2015 Jason Wong
* http://www.cocos3dx.org/
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software... | [
"michaelgamedev@sina.cn"
] | michaelgamedev@sina.cn |
64644c5f9cee8db32754a01524aebcd06222fe2c | 569d64661f9e6557022cc45428b89eefad9a6984 | /code/gameholder/regular_maoxian_262.h | e76628ace511eeacf7eb284d37f345536d40a88c | [] | no_license | dgkang/ROG | a2a3c8233c903fa416df81a8261aab2d8d9ac449 | 115d8d952a32cca7fb7ff01b63939769b7bfb984 | refs/heads/master | 2020-05-25T02:44:44.555599 | 2019-05-20T08:33:51 | 2019-05-20T08:33:51 | 187,584,950 | 0 | 1 | null | 2019-05-20T06:59:06 | 2019-05-20T06:59:05 | null | UTF-8 | C++ | false | false | 345 | h | #ifndef regular_maoxian_262_h__
#define regular_maoxian_262_h__
#include "regular_maoxian_base.h"
// 冒险地图262
class RegularMaoXian_262 : public RegularMaoXianBase
{
public:
RegularMaoXian_262(RegularDoc* pDoc);
virtual ~RegularMaoXian_262();
virtual void FirstUpdate();
private:
};
#endif // regular... | [
"judge23253@sina.com"
] | judge23253@sina.com |
efb525092a9fd07513fb2690b75f407d8a1914e9 | 9e1e09ea61632e80465f371a083625d03b1e5ab2 | /src/Wallet/WalletErrors.h | 1e5188f0ce5ff51683e8fda73147972c7a62f236 | [
"MIT"
] | permissive | bitcoin-note/bitcoin-note | 0f93c5a04dda2df6ff838187d894a0c4af633649 | 7be1e60f327b7ce1f995fee97f80131dcb934e70 | refs/heads/master | 2021-05-11T19:50:51.485229 | 2018-01-18T00:05:24 | 2018-01-18T00:05:24 | 117,895,059 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,094 | h | // Copyright (c) 2018, The Bitcoin Note Developers.
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <string>
#include <system_error>
namespace CryptoNote {
namespace error {
// custom error conditions en... | [
"bitnotecurrency@gmail.com"
] | bitnotecurrency@gmail.com |
a8f932d0e2c4672bb14da493bdb55420dbb857bf | 2e08bcd483446313086b97b72751559595e849e4 | /Server/src/ftp_server_connection.cpp | 1f03867843a2c35539edba1b9dd5344725f008f6 | [] | no_license | macdonaldezra/ClientServer | 5a8289454e7bbd8fb26953fed6f3c35d0593dfd0 | 562c10edb2c317cf66bff2a8691120d6aab7fa90 | refs/heads/master | 2022-10-19T14:29:38.643217 | 2020-06-14T04:50:44 | 2020-06-14T04:50:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,427 | cpp | #include "../include/ftp_server_connection.hpp"
#include "../include/ftp_server_net_util.hpp"
#include <iostream>
#include <unistd.h>
#include <sys/socket.h>
#include <cstring>
using namespace std;
int sendToRemote(int sockDescriptor, const char* message, int messageLength) {
int bytesLeft = messageLength;
... | [
"macdonaldezra@gmail.com"
] | macdonaldezra@gmail.com |
c80303fd0ed99d32849e61b7d3d3b19631b34fba | 3306ffb058ea67d4140dcbc641a735d3cafdfd68 | /src/smessage.h | e7cb7e21339749c2fc1f3fe8e0b0b48402b8d80f | [
"MIT"
] | permissive | niobiumcoin/niobiumcoin | a98f724f3f5047ff6cdda4aba2d5e7e6ddf6fd44 | b6f3d8691231f51aa83c119740fb0971d764267a | refs/heads/master | 2019-07-12T20:14:00.837924 | 2017-11-21T19:59:34 | 2017-11-21T19:59:34 | 107,165,666 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 10,789 | h | // Copyright (c) 2014-2015 The ShadowCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SEC_MESSAGE_H
#define SEC_MESSAGE_H
#include <leveldb/db.h>
#include <leveldb/write_batch.h>
#include "net.h"
#in... | [
"dev@niobiumcoin.org"
] | dev@niobiumcoin.org |
5c1eb0a004721006ec536e09d06ff02164b559af | 9439733c1fa7689ec711b6e71d960e260b30e724 | /oldC/mgs/ranges/range_traits.cc | 30186b983888240e456f983b87c4a3019f2e2f67 | [] | no_license | bobstine/lang_C | 65a75951b450bee92ca2e411f20be961b660c2e6 | dfe3411ffe5aa4389b6c43baced1bb974de7b995 | refs/heads/master | 2020-05-31T00:09:18.192842 | 2020-04-20T18:21:03 | 2020-04-20T18:21:03 | 190,020,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 91 | cc | // $Id: range_traits.cc,v 1.1.1.1 2002/06/16 14:54:14 bob Exp $
#include "range_traits.h"
| [
"stine@wharton.upenn.edu"
] | stine@wharton.upenn.edu |
53c04fe957fd7505c3403b4ef9111b8af8d4bf0e | 1cd83dbb498655ee456431e15421199deaa39149 | /hw1/Tclock.cc | bbc380c66ca49058f33c7e52301b4b227c61c5de | [] | no_license | qwskykite/pp | f481abf0d9337a4c086b109f5174cf5f304df9e9 | 0a5dac26a018010e6586f0c3b0fa72c34ee27335 | refs/heads/master | 2020-08-20T13:32:35.671750 | 2019-10-18T13:22:52 | 2019-10-18T13:22:52 | 216,028,482 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 896 | cc | #include<ctime>
#include<string>
#include<cstdio>
using namespace std;
class Tclock{
public:
Tclock(string title);
void AddDura();
void Reset();
void Print();
private:
clock_t start;
double totalTime;
string title;
};
Tclock::Tclock(string title){... | [
"qwskykite209@gmail.com"
] | qwskykite209@gmail.com |
46f74f82b739dc03d9bc6e8caf4306f1c250e9fd | 66df1f3203bda375f673e5166afedd46a027065c | /src/main.cpp | 29cde64df663567f3e82013e0b4c0b16b9ccd61d | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | aerosayan/gefork-DOOM3-o2d3m | 7ca2bb36bf1351363a42fa840b023d23ebf5fae9 | 840bd10fb5ca9f3d02be2a0b0e2c838030b621b9 | refs/heads/master | 2022-01-19T10:25:45.670339 | 2018-09-28T21:55:45 | 2018-09-28T21:55:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,680 | cpp | /* {{{
MIT LICENSE
Copyright (c) 2018, Mihail Szabolcs
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 rights
to use, copy, modify, mer... | [
"theicebreaker007@gmail.com"
] | theicebreaker007@gmail.com |
d63f7edbd52b0a79aebda5d219e6b44b4b7b5dbe | 861c74edceb06b4f39093600a78879d8c5452f26 | /TapTown/Classes/HelloWorldScene.cpp | 21e738ec7f2ca1e54711eb3135569ca99fba5f7a | [] | no_license | level-two/TapTown | c989d15489243d45d1837ec88e6a3f67f329893c | c265637a7f978172cb98611cb69d267df2f5fccf | refs/heads/master | 2020-06-06T13:49:15.992046 | 2013-01-29T13:06:07 | 2013-01-29T13:06:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,203 | cpp | #include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
#define NONE 0
#define AI 1
#define HUMAN 2
using namespace cocos2d;
using namespace CocosDenshion;
CCScene* HelloWorld::scene()
{
// 'scene' is an autorelease object
CCScene *scene = CCScene::node();
// 'layer' is an autorelease object
HelloWorld *... | [
"bredobulbulizator@gmail.com"
] | bredobulbulizator@gmail.com |
5f375d3fe222b3c4bbdfa2abcaed9203defe41a8 | 1f0e52daa702a442db609766a56f99f833368a6b | /2018summer/9 10/uva11982.cpp | c84fb2ffa7842a28062dbdfb00d29673c600e262 | [] | no_license | TouwaErioH/Algorithm | e0495b053e6f33353a4e526955cd269d2acc0027 | a5851529168a68147ab548678c16251f6dfa017d | refs/heads/master | 2022-12-07T03:46:50.674787 | 2020-08-20T08:45:49 | 2020-08-20T08:45:49 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,453 | cpp | /*
首先我们定义第一维状态是当前匹配到的点是谁。
然后我们容易发现对于S1 集合的 i 和 S2 集合的 i , 当二分图处于完美匹配时, S2 中的 i 及 i 以上的点中会有几个点不与S1 中 i 点以上的点匹配。 把这些边去掉之后这几个点就成为了未匹配点。
由此我们发现了子问题:i-1以上有j 个点未匹配时的总数。
于是我们定义状态的第二维:S2中i点以上未匹配点有j个
至此状态定义完毕。
*/
#include<bits/stdc++.h>
using namespace std;
const int maxn = 1005;
int length;
char s[maxn];
long long dp[maxn]... | [
"1301004462@qq.com"
] | 1301004462@qq.com |
21b4f6357f0f37f74b7db20478d70e65063e1989 | 6b8c3974d3ce5f7841e51dcb406666c0c5d92155 | /vtn/coordinator/modules/uppl/itc_configuration_request.cc | 6975c229f02b567bfd0524c3f86f6e36ba80352e | [] | no_license | swjang/cloudexchange | bbbf78a2e7444c1070a55378092c17e8ecb27059 | c06ed54f38daeff23166fb0940b27df74c70fc3e | refs/heads/master | 2020-12-29T03:18:43.076887 | 2015-09-21T07:13:22 | 2015-09-21T07:13:22 | 42,845,532 | 1 | 1 | null | 2015-09-21T07:13:22 | 2015-09-21T05:19:35 | C++ | UTF-8 | C++ | false | false | 19,162 | cc | /*
* Copyright (c) 2012-2014 NEC Corporation
* All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this
* distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
*/
/**
* @brief IT... | [
"kiku4@kinx.net"
] | kiku4@kinx.net |
1a95cf7cbcd362e22eba419b488d80d4a79a48f2 | d48cbdfb400c2470dbe5a9407cd87bad297598f0 | /main.cpp | 001572814be433fa9aaf654202e61d7e6e5f297d | [] | no_license | mirastroie/FibonacciHeaps | a4efd20e7b4c3a5964396b323daae2c39bb0981c | bfd2973c989a3c4cee4173b916f521897987b989 | refs/heads/master | 2022-04-26T20:35:03.922132 | 2020-04-30T20:04:55 | 2020-04-30T20:04:55 | 260,306,639 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 17,377 | cpp | #include <iostream>
#include <cmath>
#include <vector>
#include "MyException.h"
using namespace std;
struct Node
{
int data,degree;
bool mark=false;
bool searched=false;
Node *parent=NULL,*child=NULL,*left=NULL,*right=NULL;
};
void fibHeapInsert(Node*&Min, int new_data, int&n)
{
n++;
Node *new... | [
"miramaria27@yahoo.com"
] | miramaria27@yahoo.com |
82c4aac1e107f3054386f224d75393df1941d3e5 | 73aebe462c9201c1c258951788cd66375e76e95a | /spojMNTILE.cpp | 22db35a314bac14ba9e9d5ecc31ac1233467264a | [] | no_license | purak24/Spoj | c184000df64a665616ce74855c10572037c348b5 | e83b307519b5521236560fb3bea5f58676dfc11b | refs/heads/master | 2021-01-20T00:50:57.160521 | 2015-09-21T18:43:34 | 2015-09-21T18:43:34 | 37,717,012 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 300 | cpp | #include<bits/stdc++.h>
using namespace std;int main(){int t,w,h,j,k;cin>>t;while(t--){double a=1;cin>>w>>h;if(h>w)swap(w,h);if(w*h%2!=0)cout<<0;else{for(j=1;j<=ceil(w/2);++j)for(k=1;k<=ceil(h/2);++k)a*=4*pow(cos(M_PI*j/(w+1)),2)+4*pow(cos(M_PI*k/(h+1)),2);cout<<(long long)a;}cout<<endl;}return 0;}
| [
"prkj24@gmail.com"
] | prkj24@gmail.com |
4ab8a50cd2bce3643d1ad46d1a52c06820c4c5c4 | 8832b04803f1657567cefb6708593ecd92a01432 | /FAQ_C++/StringBuilder.cpp | 95fd643c3bb0f3efd583ba244cf1e9881bc3402d | [] | no_license | haspeleo/Algorithms-implementation | f7d41c1c8d83a4b6ef2d75225662af4a7782c0f7 | 78b5b0f7b6ae4f0211ad26051870b9608a99720a | refs/heads/master | 2016-09-10T20:08:36.924676 | 2012-11-03T18:10:50 | 2012-11-03T18:10:50 | 2,006,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | #include <sstream>
#include <string>
#include <iostream>
using namespace std;
class StringBuilder {
public:
template<typename T>
StringBuilder& operator() (const T& t) {
std::ostringstream oss;
oss << t;
String_ += oss.str();
return *this;
}
//string print(StringBuilder s) {
// return (string)... | [
"doghmen@MBP-tao.(none)"
] | doghmen@MBP-tao.(none) |
52246b47e3f9e70158d4d118d09b52719b345c02 | ed91c77afaeb0e075da38153aa89c6ee8382d3fc | /mediasoup-client/deps/webrtc/src/video/video_analyzer.cc | 62ee7b4352996d70c79367a0836776b5c6c33c38 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-google-patent-license-webm",
"MIT"
] | permissive | whatisor/mediasoup-client-android | 37bf1aeaadc8db642cff449a26545bf15da27539 | dc3d812974991d9b94efbc303aa2deb358928546 | refs/heads/master | 2023-04-26T12:24:18.355241 | 2023-01-02T16:55:19 | 2023-01-02T16:55:19 | 243,833,549 | 0 | 0 | MIT | 2020-02-28T18:56:36 | 2020-02-28T18:56:36 | null | UTF-8 | C++ | false | false | 38,612 | cc | /*
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"wuhaiyang1213@gmail.com"
] | wuhaiyang1213@gmail.com |
32bcb67627f32374f0951494feaae46d393c87aa | 010279e2ba272d09e9d2c4e903722e5faba2cf7a | /contrib/libs/icu/i18n/units_complexconverter.cpp | edbb6573ff11f4c55c0f859afcff0be703c950cd | [
"LicenseRef-scancode-unicode",
"ICU",
"LicenseRef-scancode-unknown-license-reference",
"NTP",
"NAIST-2003",
"GPL-2.0-or-later",
"LicenseRef-scancode-autoconf-simple-exception",
"GPL-3.0-or-later",
"BSD-3-Clause",
"Autoconf-exception-generic",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"... | permissive | catboost/catboost | 854c1a1f439a96f1ae6b48e16644be20aa04dba2 | f5042e35b945aded77b23470ead62d7eacefde92 | refs/heads/master | 2023-09-01T12:14:14.174108 | 2023-09-01T10:01:01 | 2023-09-01T10:22:12 | 97,556,265 | 8,012 | 1,425 | Apache-2.0 | 2023-09-11T03:32:32 | 2017-07-18T05:29:04 | Python | UTF-8 | C++ | false | false | 11,712 | cpp | // © 2020 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include <cmath>
#include "cmemory.h"
#include "number_decimalquantity.h"
#include "number_roundingutils.h"
#include "putilimp.h"
#include "uarrsort.... | [
"shadchin@yandex-team.com"
] | shadchin@yandex-team.com |
5cedac17efddd3ed4162cb9c2044f83eacd6c208 | 29a4c1e436bc90deaaf7711e468154597fc379b7 | /modules/elliptic/include/nt2/toolbox/elliptic/function/simd/sse/sse4_2/ellipke.hpp | a37c592e4bbaf2e92732003f2b9c8bb15034c30e | [
"BSL-1.0"
] | permissive | brycelelbach/nt2 | 31bdde2338ebcaa24bb76f542bd0778a620f8e7c | 73d7e8dd390fa4c8d251c6451acdae65def70e0b | refs/heads/master | 2021-01-17T12:41:35.021457 | 2011-04-03T17:37:15 | 2011-04-03T17:37:15 | 1,263,345 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | hpp | //////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... | [
"jtlapreste@gmail.com"
] | jtlapreste@gmail.com |
05acfe9f96946e701af53b9887f4a1cca38d7961 | 15b9caf5294e02c271fc8bc7a8ae81d43338013b | /jimmyhxy/字符串最小.cpp | 88be84ec40478cd3daca361f9d884a3713da8456 | [] | no_license | jimmyhxy/master | 5d5e768fdf38771590c5f17da40e7cb8461e24cd | 42180372a5b3f2530d5692a751d1e65c4b345980 | refs/heads/master | 2021-01-10T09:11:37.318772 | 2017-05-07T14:10:43 | 2017-05-07T14:10:43 | 47,455,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | #include<iostream>
#include<algorithm>
#include<string>
using namespace std;
string fj(string s)
{
string a,b;
int len;
len=(int)s.length();
if(len&1) return s;
a=s.substr(0,len/2);
b=s.substr(len/2+1);
a=fj(a);
b=fj(b);
if(a>b) swap(a,b);
return a+b... | [
"1369523160@qq.com"
] | 1369523160@qq.com |
ee8bb9868e6556c27e3de885b2842d7f4b3b17c4 | 8f4ea7054fe6ac79dd01f6c34eb900814e359c46 | /src/angle.h | 3725493b5016fbe57c226eb77ffe3f12e85595e7 | [] | no_license | speleotica/unitized-cpp | 95eccf925cf8b5cc002c9e7b379acc1ec79ea921 | 3682d2e3d03c8c1191aee2733ca5ca2b27ffc045 | refs/heads/master | 2022-10-13T22:30:04.396358 | 2020-06-14T06:15:48 | 2020-06-14T06:15:48 | 270,135,978 | 0 | 1 | null | 2020-06-07T00:07:38 | 2020-06-06T23:40:01 | C++ | UTF-8 | C++ | false | false | 1,952 | h | #ifndef UNITIZED_ANGLE_H
#define UNITIZED_ANGLE_H
namespace unitized {
class Angle
{
public:
enum Unit {
Degrees = 1,
Gradians = 2,
Radians = 3,
MilsNATO = 4,
PercentGrade = 5
};
Angle(double value, Unit unit);
static Angle degrees(double value);
static An... | [
"jedwards@fastmail.com"
] | jedwards@fastmail.com |
4e632a7d937542af8cdddc440ec6670c92d8208a | e6cbc77651095327aa65f7e2849e2e304e11eb1a | /src/G02RunAction.cc | 241ebf66b3c8f37d8d61129d2ff02fd766432e24 | [] | no_license | wdconinc/eic-cad-to-gdml-test-simulation | c7f6c4974886f55fb4d8f316419c0d57e4686cd3 | 1225bf323a3647ca06fe5ae35d4b4d704324b114 | refs/heads/main | 2023-03-30T02:58:06.696676 | 2021-04-06T23:37:01 | 2021-04-06T23:37:01 | 354,589,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,923 | cc | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"wdconinc@gmail.com"
] | wdconinc@gmail.com |
5e4806ccc59c85f676a173dd5d07df04632819b4 | e49dcda9c13b3aecc24b4b64e418da801321fab7 | /Pattern/src/playerjump.h | 4f0c39c05ed7e23a346914848217cf68db9c03d9 | [] | no_license | 55pp/labs | 987eb907487df4f505d20e211bf4259868d2e56f | 64529d4ee95e89583978ec2d4530206baf1d3124 | refs/heads/master | 2021-05-08T21:34:42.987091 | 2019-12-19T13:56:45 | 2019-12-19T13:56:45 | 119,648,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | h | #ifndef PLAYERJUMP_H
#define PLAYERJUMP_H
#include "ianimation.h"
#include <SFML/Graphics.hpp>
#include <iostream>
#include <time.h>
class PlayerJump : public IAnimation
{
public:
virtual void action(std::shared_ptr<sf::Texture>& texture, sf::Sprite& sprite)
{
sf::Image image_jump;
image_jump.loadFromFile(... | [
"kruvpky@mail.ru"
] | kruvpky@mail.ru |
25f7456a8215e0406f19ef5a5aa6ccc657a3aed1 | 93bb87f91e55d55dc2f9bf78b914e6290c3a17be | /src/Disassembler.cpp | 77c995a1aa5afa15e5feeead26d3c14ebfd77543 | [
"MIT"
] | permissive | doe300/VC4C | 5bbde383fb1230af42f72bd20accb84418b8b7fa | 3d89be8692ae20b8f712e9d2bc45b6998dac8259 | refs/heads/master | 2023-06-07T06:25:07.948224 | 2023-05-30T09:42:15 | 2023-05-30T16:11:04 | 106,166,771 | 123 | 38 | MIT | 2023-05-30T16:11:05 | 2017-10-08T10:11:39 | C | UTF-8 | C++ | false | false | 17,425 | cpp | /*
* Author: doe300
*
* See the file "LICENSE" for the full license governing this code.
*/
#include "VC4C.h"
#include "GlobalValues.h"
#include "Locals.h"
#include "asm/ALUInstruction.h"
#include "asm/Instruction.h"
#include "asm/KernelInfo.h"
#include "asm/LoadInstruction.h"
#include "log.h"
#include <fstream>... | [
"stadeldani@web.de"
] | stadeldani@web.de |
e7ace44c9cb914d77ee9562062d260b541ae508b | b8723a2862a0bc34e02a44628a2f9434693ea7d1 | /kattis/pet.cpp | c5bbbde2fb48c3827f70a672953f636079041614 | [] | no_license | mario7lorenzo/cp | ea6d20bbde7ec7217b7bab45f635dda40d2e078b | 253c16599a06cb676a3c94b4892279905486cf5d | refs/heads/master | 2022-05-03T22:27:07.710681 | 2022-04-10T08:37:53 | 2022-04-10T08:37:53 | 158,787,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
int final = 0;
int counter = 1;
int cntr = 1;
while (cin >> a >> b >> c >> d) {
int summary = a + b + c + d;
if (final < summary) {
counter = cntr;
}
final = max(final, summary);
cntr += 1;
}
cout << counter << ' ' << final ... | [
"mariolorenzo213@gmail.com"
] | mariolorenzo213@gmail.com |
fe42038d96c0aac3720030af81c2b311b089c563 | 7538f30404c0eb74c17d5b982eae689b754e227e | /13.4/Frameworks/SpriteKit.framework/CDStructures.h | 9a2058ab563b5021f143c3ec4f7fa14c1f823d24 | [] | no_license | xybp888/iOS-Header | cdb31acaa22236818917245619fe4f4b90d62d30 | 0c23e5a9242f1d8fd04d376c22e88d2ec74c3374 | refs/heads/master | 2022-11-18T22:35:35.676837 | 2022-10-29T23:47:18 | 2022-10-29T23:47:18 | 204,074,346 | 156 | 63 | null | null | null | null | UTF-8 | C++ | false | false | 34,259 | h | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Nov 12 2019 23:20:19).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#pragma mark Blocks
typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown
#pragma mark Named Structures... | [
"8657156@qq.com"
] | 8657156@qq.com |
be660048197127ecc0c08a67009c1632a8aaadfc | 4415c5ede372070df91397b17cadff2567ed7178 | /31 = 888144/try-catch/ex03.cpp | dccce5f90138837582355d45452d9a5d19538af5 | [] | no_license | NitichaiSawangsai/BUU-Y1 | 67798d16930234c45eb50ca4098edaea84c66a76 | ad8dc6fc59b46f7492874db24adf1e620bf73829 | refs/heads/master | 2023-07-11T05:45:20.299221 | 2021-08-22T01:47:44 | 2021-08-22T01:47:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | cpp | // Division by zero and the assert function.
#include <iostream>
#include <cassert>
using namespace std;
int main()
{
int dividend, divisor, quotient; //Line 1
cout << "Line 2: Enter the dividend: "; //Line 2
cin >> dividend; //Line 3
cout << e... | [
"NitichaiSawangsai@gmail.com"
] | NitichaiSawangsai@gmail.com |
32bac9da5215df0618920ec332ccee23959f7e1e | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_PrimalItemSkin_WW_XmasSweater_RaptorClaws_functions.cpp | 8eece5e608e80725e31c656f343d6003f7c89199 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,280 | cpp | // ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemSkin_WW_XmasSweater_RaptorClaws_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//----------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
72a022b29d5bf743c0b182fdbf1d594a1bb218e2 | 6606fa8ff441522c7a7150b7f3521dd8e6f2f6c7 | /Lab2/Lab2/Primitives.h | 6b13f19eb37546a6d53319a51372f389c4d5768a | [] | no_license | Jane1408/PP | 08e11260b7662183a2786f2c3984654470108a60 | 7d9311512328739f576bd9037bcd226760283863 | refs/heads/master | 2021-01-12T16:43:19.169578 | 2017-01-18T15:24:10 | 2017-01-18T15:24:10 | 71,437,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | h | #pragma once
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>
#include <iostream>
#include <vector>
#include <Windows.h>
enum class PrimitiveType
{
CRITICAL_SECTION,
MUTEX,
SEMAPHORE,
EVENT,
NO
};
struct Primitives
{
PrimitiveType type;
HANDLE hMutex;
HANDLE hSemaphore;
HANDLE hEvent;
CRITICAL... | [
"Женечка"
] | Женечка |
4084dc8c26ddfa6b9bfe4be1795cf7303a804e68 | 630a68871d4cdcc9dbc1f8ac8b44f579ff994ecf | /myodd/boost/libs/phoenix/test/container/container_tests3a.cpp | a10fdee6dcc6eaefa98daeb4f7ca3ec2cc34be46 | [
"MIT",
"BSL-1.0"
] | permissive | FFMG/myoddweb.piger | b56b3529346d9a1ed23034098356ea420c04929d | 6f5a183940661bd7457e6a497fd39509e186cbf5 | refs/heads/master | 2023-01-09T12:45:27.156140 | 2022-12-31T12:40:31 | 2022-12-31T12:40:31 | 52,210,495 | 19 | 2 | MIT | 2022-12-31T12:40:32 | 2016-02-21T14:31:50 | C++ | UTF-8 | C++ | false | false | 1,748 | cpp | /*=============================================================================
Copyright (c) 2004 Angus Leeming
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================... | [
"github@myoddweb.com"
] | github@myoddweb.com |
c5e7f00d9bcc92ee90388090a994bc8209ed43c3 | 85381529f7a09d11b2e2491671c2d5e965467ac6 | /OJ/Leetcode/Algorithm/204. Count Primes.cpp | 3c85fa37d3dc45a903f87e6dbae71f2362965e61 | [] | no_license | Mr-Phoebe/ACM-ICPC | 862a06666d9db622a8eded7607be5eec1b1a4055 | baf6b1b7ce3ad1592208377a13f8153a8b942e91 | refs/heads/master | 2023-04-07T03:46:03.631407 | 2023-03-19T03:41:05 | 2023-03-19T03:41:05 | 46,262,661 | 19 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | class Solution {
public:
int countPrimes(int n) {
vector<bool> prime(n, true);
prime[0] = false, prime[1] = false;
for (int i = 0; i < sqrt(n); i++)
if (prime[i])
for (int j = i*i; j < n; j += i)
prime[j] = false;
return count(prime.... | [
"whn289467822@outlook.com"
] | whn289467822@outlook.com |
b70670a0203eb7d1b002a3faa00977418575d788 | e217eaf05d0dab8dd339032b6c58636841aa8815 | /IfcBridge/src/OpenInfraPlatform/IfcBridge/entity/IfcStructuralSurfaceConnection.cpp | 433ee320c1e55280b676ceb6a43680b9f232da7a | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 4,953 | cpp | /*! \verbatim
* \copyright Copyright (c) 2014 Julian Amann. All rights reserved.
* \date 2014-02-15 23:00
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the BlueFramework.
* \endverbatim
*/
#include <sstream>
#include <limits>
#include "mo... | [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
67ab3c43481c1720dd07050dc735da11cf118b89 | c69becc1ab6668a261c7c0c5aaebe3e80afac0ee | /c++/euler5bpw/euler5bpw.cpp | 570d495286e208f39313e5a87c59f59624466984 | [] | no_license | walford/euler | ba66fcbd8dbbc517ad4c29d562cba213a946a691 | e1917bafe15d0997d3c6bcc9e84fc1d249bf8d3d | refs/heads/master | 2021-03-12T22:27:53.930911 | 2014-12-19T22:18:33 | 2014-12-19T22:18:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | // 2520 is the smallest number that can be divided by each of the numbers
// from 1 to 10 without any remainder. What is the smallest positive number
// that is evenly divisible by all of the numbers from 1 to 20?
#include "euler5bpw.h"
int main() {
int answer = 0;
int num = 0;
bool divided = false;
while(div... | [
"bpwalford@gmail.com"
] | bpwalford@gmail.com |
c6af20256cd78626f8676926aa124e57b603bbfb | 5524a779227c42b6152e7dac5b850669e9b7bdf4 | /testing/schematest.cpp | 5a9b0279a491d5fa27a6826b3cb9ea27cc7ca9eb | [] | no_license | klausschreiber/ERDB | ed7d9856b72cf61e317fe825b410571bec1d1959 | e29e4126791a00e88ca43a5d1c554721cfe7980d | refs/heads/master | 2021-01-25T08:37:47.940230 | 2015-07-03T16:12:49 | 2015-07-03T16:12:49 | 34,250,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,244 | cpp | #include <string.h>
#include <iostream>
#include "../schema/SchemaManager.hpp"
int main(int argc, char ** argv) {
std::cout << "Hello :-)" << std::endl;
BufferManager* bm = new BufferManager(20);
SchemaManager* sm = new SchemaManager(*bm);
sm->dropSchema("test");
int size = sizeof(struct Schema)... | [
"sebastian@rueckerlmail.com"
] | sebastian@rueckerlmail.com |
8bae94336bdffbcdb13922864c274c0bc7635950 | 012d280967aae334c63fec3b1983c103efd41cb6 | /robominton/src/disp.cpp | 48320782c2b756462316c781de13348839273829 | [
"MIT"
] | permissive | ukaana99/nhk2015_back_ros | b282068ccb7acaee957c2dfc71f31d1016c555db | abf0bdd81c452c104627c91a9a061d6e33264387 | refs/heads/master | 2021-05-28T19:23:01.846782 | 2015-06-17T04:55:01 | 2015-06-17T04:55:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | cpp | #include <ros/ros.h>
#include <std_msgs/Int32.h>
#include <std_msgs/Float32.h>
#include <sensor_msgs/Imu.h>
#include <geometry_msgs/PoseStamped.h>
#include <opencv2/opencv.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
float motor1 = 0.0f;
float motor2 = 0.0f;
float enc1 = 0.0f;
float e... | [
"spiralray@rakusei.net"
] | spiralray@rakusei.net |
c4a330a4ba3b4a37cf340d037639a20d8c3d2425 | 6dee0cf219572dd918e1f422a970a212d6cacd04 | /utls/raster.h | 3786c03bb9c10ce5098c402e81b3a81d87247197 | [] | no_license | clemaitre58/CRD | 0afbf7fa193b0a963e7a43123bac344cb018b7a5 | afdf688d48aa9b695d413596b69655952ebf8929 | refs/heads/master | 2021-01-10T13:06:48.344737 | 2016-01-31T16:50:49 | 2016-01-31T16:50:49 | 50,784,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,830 | h | #include "elemfun.h"
namespace utls
{
// same as fill_triangle except without optimisation for filling big blocks
template <typename AryBase, typename Point>
void fill_small_triangle(AryBase *im, const Point &v1, const Point &v2, const Point &v3, typename AryBase::value fill)
{
// routine from: Nico... | [
"c.lemaitre58@gmail.com"
] | c.lemaitre58@gmail.com |
55c6b5344cf48b5aa45abf337f39dd363d802748 | 972adac7d2bb3fc2b52fa4baf66165038e28dc47 | /src/option_parser_util.h | 9424abd68695f5e4bc13d00f245bd288d151bca8 | [] | no_license | Kurorororo/Arvand2011 | e217828d282e7519dcc57acaceccee5a38674995 | 05ca920d349768df9701f4238c6a7dac701328ac | refs/heads/master | 2021-01-25T08:07:34.922459 | 2015-09-18T04:49:51 | 2015-09-18T04:49:51 | 93,720,204 | 0 | 0 | null | 2017-06-08T07:30:51 | 2017-06-08T07:30:51 | null | UTF-8 | C++ | false | false | 9,418 | h | #ifndef OPTION_PARSER_UTIL_H
#define OPTION_PARSER_UTIL_H
#include <algorithm>
#include <string>
#include <vector>
#include <map>
#include <ios>
#include <tree.hh>
#include <tree_util.hh>
#include <boost/any.hpp>
class LandmarkGraph;
class Heuristic;
class ScalarEvaluator;
class Synergy;
class SearchEngine;
class Op... | [
"nhootan@gmail.com"
] | nhootan@gmail.com |
3a678e547c7dbd0212741971419d41eec180d38a | 9b29326bc61126226efd24e76c618c8eccbd14d5 | /test/itkSupportInputPolyDataTypesTest.cxx | 44f8fbe146a913981cddd267f74dc019c2e7c51b | [
"Apache-2.0"
] | permissive | floryst/itk-js | 5ccf2095bc0ddc50373db9a56b98cdcffd56d85d | 7b572ff873947778533d125fb3c94f8b461f9520 | refs/heads/master | 2022-05-06T07:28:20.610621 | 2022-04-06T18:50:28 | 2022-04-06T18:50:28 | 133,382,755 | 0 | 0 | null | 2018-05-14T15:27:58 | 2018-05-14T15:27:57 | null | UTF-8 | C++ | false | false | 1,906 | cxx | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | [
"matt.mccormick@kitware.com"
] | matt.mccormick@kitware.com |
6bc6131180fc34d46df26117144587d782a18683 | d63b1b36634b68070f6f3c017c0250a7ea646e6f | /SMC/GEM5/utils/cacti65/arbiter.h | 8e9c82169d5803cd802cdcfa44a0bba50b9258c0 | [
"MIT"
] | permissive | jiwon-choe/Brown-SMCSim | ccf506d34d85fb3d085bf50ed47de8b4eeaee474 | ff3d9334c1d5c8d6a00421848c0d51e50e6b67f8 | refs/heads/master | 2021-06-30T00:15:57.128209 | 2020-11-24T03:11:41 | 2020-11-24T03:11:41 | 192,596,189 | 15 | 8 | MIT | 2019-06-20T15:43:00 | 2019-06-18T18:53:40 | C++ | UTF-8 | C++ | false | false | 3,297 | h | /*------------------------------------------------------------
* CACTI 6.5
* Copyright 2008 Hewlett-Packard Development Corporation
* All Rights Reserved
*
* Permission to use, copy, and modify this software and its documentation is
* hereby granted onl... | [
"brandnew7th@gmail.com"
] | brandnew7th@gmail.com |
3e0a10a7ea87b4394bb8ad24c9a4a7ce55da3b59 | 43334384ff8cc65b29301659bbd5a63f4bfae378 | /fairmq/FairMQConfigurable.h | 1854f404f958fa94ef6400ba7d72845a5f646834 | [] | no_license | yeleisun/SpiRITROOT | b11027e50cfe7e0c9017c24f8cec3db80e73b3a8 | c8717f19547a948400b687c070110c4d67a9ea2d | refs/heads/master | 2021-01-19T20:34:29.012437 | 2014-08-22T02:12:25 | 2014-08-22T02:12:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | h | /*
* FairMQConfigurable.h
*
* Created on: Oct 25, 2012
* Author: dklein
*/
#ifndef FAIRMQCONFIGURABLE_H_
#define FAIRMQCONFIGURABLE_H_
#include "Rtypes.h"
#include "TString.h"
class FairMQConfigurable
{
public:
enum {
Last = 1
};
FairMQConfigurable();
virtual void SetProperty(cons... | [
"geniejhang@majimak.com"
] | geniejhang@majimak.com |
063c7efdfeb5b7bf46919c827e90cf0814f84468 | 37c52162994d595cd0592dc2a5b73b91d61d6313 | /include/Awl/boost/mpl/aux_/has_tag.hpp | c06f3163d365be9dbcf64352377daf9e5eaf4318 | [
"Zlib",
"BSL-1.0"
] | permissive | Yalir/Awl | 47db2b5976ab9f584044287ac1ef36860a3e944e | 92ef5996d8933bf92ceb37357d8cd2b169cb788e | refs/heads/master | 2020-04-05T04:27:16.143511 | 2013-04-12T11:36:51 | 2013-04-12T11:36:51 | 2,344,212 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | hpp |
#ifndef BOOST_MPL_AUX_HAS_TAG_HPP_INCLUDED
#define BOOST_MPL_AUX_HAS_TAG_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2002-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/... | [
"soltic.lucas@gmail.com"
] | soltic.lucas@gmail.com |
536d1f0562960cf03059f9bb958c2524b1208365 | ae32a67ea6e9fd590144a22678a863b075d5b3a5 | /libraries/absyn/bnf/item.h | 5dd3de905451d48e64eff5539f62ab6dceb932bd | [] | no_license | annlova/uside | 7be22f7e45f8b2c40b27dbb0e556f7dd53457090 | 97b2f01be198c455dd044f845a555d95703340b9 | refs/heads/master | 2023-06-07T05:06:53.866343 | 2021-06-18T05:38:03 | 2021-06-18T05:38:03 | 369,805,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,033 | h | //
// Created by Anton on 2021-05-28.
//
#ifndef USIDE_LIBRARIES_ABSYN_BNF_ITEM_H
#define USIDE_LIBRARIES_ABSYN_BNF_ITEM_H
#include "cat.h"
namespace absyn::bnf {
struct Item {
Item() = default;
virtual ~Item() = default;
Item(Item& grammar) = delete;
Item(Item&& grammar) = delete... | [
"anton.annlov@gmail.com"
] | anton.annlov@gmail.com |
59598b2c93377c316af083f6e517d611f628c6cd | 27b24f30cb78b22f926d111716ff608003d46e3b | /Practica5/practica_final_material/include/bintree.hxx | 2db1d33e1436866695b54c424aa63b09a5cc99fe | [] | no_license | JJavier98/ED | 9155e9d287caa37f475fca18cdfb836f9e3cf3fa | 3f003d9d47fc0cc959c46bfe1cdfc2622dfbb0f2 | refs/heads/master | 2021-09-03T23:02:19.826675 | 2018-01-12T18:04:26 | 2018-01-12T18:04:26 | 116,848,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,305 | hxx | //-*-Mode: C++;-*-
/*
************************************************************
* Implementaci��n
************************************************************
*/
/*
Funci��n de Abstracci��n:
----------------------
Dado el objeto del tipo rep r, r = {laraiz}, el objeto
abstracto al que representa ... | [
"jjavier.ar98@gmail.com"
] | jjavier.ar98@gmail.com |
444f10cd1fec55e2d1ceb2f09b2249dce807ca29 | a8ad6eebd95161d66c39d19f8e36b3b709e32152 | /OpenGL/freeglut/usr-inp-n-cam-ctrl-freeglut-bullet/BulletOpenGLApplication.h | c2cb794784bfba927fb2d015f7cf96e9011b8fe5 | [
"MIT"
] | permissive | gusenov/computer-graphics-examples | 02943c6e773902b2548b14fb813da98ec7885667 | 24ed9855eeac72809d8284e9e1a1f7a5b40fcb5f | refs/heads/master | 2021-10-10T06:19:54.575962 | 2021-09-10T03:21:20 | 2021-09-10T03:21:20 | 178,453,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,655 | h | #ifndef _BULLETOPENGLAPP_H_
#define _BULLETOPENGLAPP_H_
#ifdef _MSC_VER
#include <Windows.h>
#include <GL/GL.h>
#elif __APPLE__
#include <OpenGL/GL.h>
#endif
#include <GL/freeglut.h>
#include "BulletDynamics/Dynamics/btDynamicsWorld.h"
class BulletOpenGLApplication {
public:
BulletOpenGLApplication... | [
"gusenov@live.ru"
] | gusenov@live.ru |
7183a9fec914522bc6701772f80c5fe8b5999f1c | c34c351752f14b0398e0ebb2b7541ce2d8cc1aec | /of_v0073_osx_release/apps/theNatureOfCode/natureofcode_1_ex_1_7/src/mover.cpp | 7a630240611a3a0624f7754932ae3dcc8191158d | [
"MIT"
] | permissive | Tobystereo/XCode_Projects | 7f64764e0728ecd1ad274c5526023c4a040bd835 | f0e2657b14d93191ca274bc124c4eb96bce647e6 | refs/heads/master | 2016-09-15T18:40:04.487835 | 2013-07-10T20:29:23 | 2013-07-10T20:29:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | //
// mover.cpp
// natureofcode_1_ex_1_7
//
// Created by Tobias Treppmann on 5/31/13.
//
//
#include "mover.h"
Mover::Mover(){
location.set(ofRandom(ofGetWidth()), ofRandom(ofGetHeight()));
velocity.set(0,0);
acceleration.set(-0.001, 0.01);
topspeed = 10;
}
void Mover::update() {
velocity.ope... | [
"hello@tobystereo.com"
] | hello@tobystereo.com |
288d88a6569d2d100058b6a9f40b7baccb5de564 | 4116241c055f8abde9480764ef8b49a68607a994 | /Ex04/tdate.cpp | bd56a50df60c3b6e9ecd2767bc0949291c4e944b | [] | no_license | fussballteammanager/AKT-7-SS-2016 | 88ee5e7fcdda8d60e083c80492c4517a124352dd | 46ad4f764f18a529ff238335553e598767b4152e | refs/heads/master | 2021-01-17T16:22:48.778133 | 2016-07-04T21:33:10 | 2016-07-04T21:33:10 | 56,082,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,584 | cpp | #include <iostream>
#include <iomanip>
#include <fstream>
#include <algorithm>
#include <ctime>
#include "tdate.h"
#include "ttools.h"
using namespace std;
TDate::TDate()
{
TDate::setCurrentDate();
}
TDate::TDate(short day, short month, short year)
{
TDate::setDate(day, month, year);
}
TDate::~TDate()
{
... | [
"ts@ts.de"
] | ts@ts.de |
d8007e77627614b108690e71640908462aeee48b | f894bb6e244daa34067565f375423bd7956782ef | /src/tool/src/TrantorTimestamp.cc | 364ab7d0119929ee5110fd5e7f3043789b3d9fcf | [
"BSD-2-Clause"
] | permissive | chenbk85/TrantorNet | e2dff1efc8564938219c8676cacfe6cc43e9a685 | 74bb920d97353843af339dc8c70810ace2a04353 | refs/heads/master | 2021-01-20T00:05:35.829034 | 2016-07-12T08:25:39 | 2016-07-12T08:25:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,261 | cc | #include "TrantorTimestamp.h"
namespace trantor
{
__thread std::stringstream* timestamp_sstr = NULL;
string TrantorTimestamp::transToString() const
{
struct tm tm_time;
int64_t seconds = time_since_epoch_usec_ / 1000000;
localtime_r(&seconds, &tm_time);
string date;
string time;
if(!timestamp_sstr)
{... | [
"chengbb080516@126.com"
] | chengbb080516@126.com |
06cf009d15b614dde923e02c9b906aca438bb642 | f4bbb7466cd386709bc9f5f66d47333ca2b16ed9 | /solutions/213-house-robber-ii/house-robber-ii.cpp | 3f8d5ca142d1d1ef34daa88eace2888e793f5d82 | [] | no_license | fr42k/leetcode | 790d4eeaafeb9f6af8471ee4f245c0bab5d5198a | de3455d82241d142ccb43c9e719defca7bf3ebd5 | refs/heads/master | 2022-11-05T15:47:50.778505 | 2022-10-22T03:38:49 | 2022-10-22T03:38:49 | 133,931,381 | 4 | 0 | null | 2018-05-18T09:12:48 | 2018-05-18T09:12:48 | null | UTF-8 | C++ | false | false | 1,459 | cpp | // You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed. All houses at this place are arranged in a circle. That means the first house is the neighbor of the last one. Meanwhile, adjacent houses have security system connected and it will automatically con... | [
"fr42k@yahoo.com"
] | fr42k@yahoo.com |
bf122bf64bec060fa119111ea4bb952fcef9c771 | c7d5d4669f0aa992cfa9a1ab2c4764c6d88119c6 | /detail/tuple_size.hpp | 3e91d520b7b962188c983314aba4e40855c83527 | [
"LicenseRef-scancode-nysl-0.9982"
] | permissive | iorate/Egg | 7fbffdd7cd9f887b281dadcb97a3c64eafbe920d | 35ac6674dddc568ebd521cf535bf8c162d93d155 | refs/heads/master | 2018-12-31T11:57:39.998026 | 2012-01-29T09:42:30 | 2012-01-29T09:42:30 | 2,836,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 866 | hpp | #ifndef IORATE_EGG_DETAIL_TUPLE_SIZE_HPP
#define IORATE_EGG_DETAIL_TUPLE_SIZE_HPP
#include <tuple>
#include <type_traits>
#include <boost/fusion/include/size.hpp>
#include "./is_fusion_sequence.hpp"
#include "./is_tuple_like.hpp"
namespace iorate { namespace egg { namespace detail {
template <class T, class D... | [
"eitaro.kidera@gmail.com"
] | eitaro.kidera@gmail.com |
6c590d072f5e117e9342c14551c72260a9356661 | eb68a195f96b8941e79494ce2c2f88b050e3e2bd | /m16/USB/Usb_Wdm/MFC_App/MFC_AppDlg.cpp | 3fdb3d576130b8a28252bbccfe222aaf7d6578ce | [] | no_license | dumpinfo/mcu128 | 7479dffa04c3050e5e7f458e0ece022aa3a355c3 | c7401190a88a8b59b17f77f9ae20a818bfce1356 | refs/heads/master | 2020-03-30T11:29:55.690708 | 2018-10-02T00:06:54 | 2018-10-02T00:06:54 | 151,177,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,903 | cpp | // MFC_AppDlg.cpp : implementation file
//
#include "stdafx.h"
#include "MFC_App.h"
#include "MFC_AppDlg.h"
#include <windows.h>
#include <winioctl.h>
#include "..\Usb_Wdmioctl.h"
#include "..\Usb_WdmDeviceinterface.h" // Has class GUID definition
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_F... | [
"twtravel@126.com"
] | twtravel@126.com |
8b9359042e10079df17d032137b7bdb6b31e1100 | 7f4d67bf2d239b580e3ee7ea5e11ebb990ce4a8c | /Framework/Framework/0625/CGaiaArmorChild.cpp | 21e58e7c504e565b235dd884eaf67853ba8e6016 | [] | no_license | batherit/WizardOfLegend | 10d64a7785b9fcaa9506d0cc73a37063f78c5240 | 2b34b3c7d4a43eeb21fab49e00f25b17b99d0aef | refs/heads/master | 2023-03-06T10:44:10.610300 | 2021-02-18T07:26:37 | 2021-02-18T07:26:37 | 278,795,613 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,758 | cpp | #include "stdafx.h"
#include "CGaiaArmorChild.h"
#include "CBitmapMgr.h"
#include "CCamera2D.h"
#include "CScene.h"
#include "CGaiaArmor.h"
#include "CHitEffect.h"
#include "CSpace.h"
CGaiaArmorChild::CGaiaArmorChild(CGameWorld & _rGameWorld, CGaiaArmor * _pGaiaArmorParent)
:
CObj(_rGameWorld, 0.f, 0.f, GAIA_ARMOR... | [
"batherit0703@naver.com"
] | batherit0703@naver.com |
0fe0ea28f38e9ce8760f271c90cb4d04f6b83baa | b449a3c70fde051f4fcf2c77aab4530d9f4c2e04 | /include/Graphy/Graphables/ColorMap.hpp | 26914dfb2de01c44ce8d829e95d26f0bb3b43ffe | [
"MIT"
] | permissive | dominicprice/Graphy | 6f1e509d831a3ce54908fb7578df08b6ca650add | 4553adf06e9c63365ed2ef994fa76c460f8673f4 | refs/heads/master | 2021-01-13T03:15:34.096361 | 2017-11-07T15:00:10 | 2017-11-07T15:00:10 | 77,609,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,559 | hpp | /////////////////////////////////////////////////////////////////////////////////
//MIT License
//
//Copyright(c) 2017 Dominic Price
//
//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 ... | [
"dominicprice@outlook.com"
] | dominicprice@outlook.com |
09708f95e59ed9905a65f374de7a63ad75092b44 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir40735/dir40736/file40742.cpp | dc23dc283002e2a36f8ef4fe9f15b64b1a214876 | [] | 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 | 115 | cpp | #ifndef file40742
#error "macro file40742 must be defined"
#endif
static const char* file40742String = "file40742"; | [
"tgeng@google.com"
] | tgeng@google.com |
90c47bc2393f76b0180291168ca48cc4646c2070 | 2159efb9ec8db8f23dddc9fbf1ba52ad6b67551f | /libraries/ArduinoJson/test/Misc/unsigned_char.cpp | b1a76ab848d401063c84763f2c918e604817d7bc | [
"MIT"
] | permissive | ahdemitalug/Arduino | 6004eb84cc6735e48a09a90067014f666048e505 | 17e896790cca3950d4d3ee8cdd848ef3666d7887 | refs/heads/master | 2020-07-27T11:30:07.228695 | 2019-09-18T14:07:57 | 2019-09-18T14:07:57 | 209,075,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,937 | cpp | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2018
// MIT License
#include <ArduinoJson.h>
#include <catch.hpp>
#if defined(__clang__)
#define CONFLICTS_WITH_BUILTIN_OPERATOR
#endif
TEST_CASE("unsigned char[]") {
SECTION("deserializeJson()") {
unsigned char input[] = "{\"a\":42}";
Sta... | [
"medha.gulati@ymail.com"
] | medha.gulati@ymail.com |
f08e25413bc990c5170c75f041b18e4414005c88 | 230b7714d61bbbc9a75dd9adc487706dffbf301e | /media/gpu/android/video_frame_factory.h | ee5e80a359556dedc62d6da94787639ca51fb3b0 | [
"BSD-3-Clause"
] | permissive | byte4byte/cloudretro | efe4f8275f267e553ba82068c91ed801d02637a7 | 4d6e047d4726c1d3d1d119dfb55c8b0f29f6b39a | refs/heads/master | 2023-02-22T02:59:29.357795 | 2021-01-25T02:32:24 | 2021-01-25T02:32:24 | 197,294,750 | 1 | 2 | BSD-3-Clause | 2019-09-11T19:35:45 | 2019-07-17T01:48:48 | null | UTF-8 | C++ | false | false | 2,871 | 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 MEDIA_GPU_ANDROID_VIDEO_FRAME_FACTORY_
#define MEDIA_GPU_ANDROID_VIDEO_FRAME_FACTORY_
#include <memory>
#include "base/memory/ref_counted.h"
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4524f746a1c7d60ca506f8f78d02890e0c53a631 | cac1aac0f178c1c8cbc8a1bd2bb2539afbe7ab1a | /CoursCA/CodeEtudiant2019/CodeEtudiant/include/Basic_block.h | d5fad866eecd54a45ff391bab6cf1ac565fd27a5 | [] | no_license | lisuxue/CA | ede6dd812487036ebb1ac16a38fe976367135b0c | c674c949c20b8fdf363c44836c156a0c6538040f | refs/heads/master | 2020-04-20T02:02:46.041410 | 2019-05-13T18:26:29 | 2019-05-13T18:26:29 | 168,561,284 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,097 | h | #ifndef _Basic_block_H
#define _Basic_block_H
/** \file Basic_block.h
\brief Basic_block class
\author Hajjem, Heydemann
*/
#include <Line.h>
#include <Instruction.h>
#include <string>
#include <stdio.h>
#include <Enum_type.h>
#include <fstream>
#include <vector>
#include <list>
#include <Dfg.h>
... | [
"3520716@ppti-14-301-06.ufr-info-p6.jussieu.fr"
] | 3520716@ppti-14-301-06.ufr-info-p6.jussieu.fr |
3555be6a88b0b4ac6f25c027942c507aea3e15b5 | 39e2de7e7a83842231e1bc16125b8660c2414413 | /text-game-redux/Game-Object Classes/PhysicalObject.cpp | 77723b546699c66125b41e23893f3a09c9354d2a | [] | no_license | MatthewDulworth/text-game-redux | 0b6c2c1a4f2e7fc84ec0f4d098e2e392d4844d67 | d44c69f087beab3fb208498e3a94bce72a3c7758 | refs/heads/master | 2020-05-02T16:55:59.243563 | 2019-12-10T04:02:57 | 2019-12-10T04:02:57 | 178,083,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,499 | cpp | //
// PhysicalObjectClasses.cpp
// text-game-redux
// The methods for the PhysicalObject classes
//
// Created by Matthew Dulworth on 3/27/19.
// Copyright © 2019 Matthew Dulworth. All rights reserved.
//
#include "PhysicalObject.hpp"
#include "Location.hpp"
#include "Passage.hpp"
// ---------------------------... | [
"mhdulworth@gmail.com"
] | mhdulworth@gmail.com |
8ec0b7556535dc6fe57b519417d6186574088d7e | de05438840161992a4f1badeae134093ebcdbd8a | /ThreadPool.cpp | 8b9053ad433f5dcc0e210b8bde04cc6a99792a24 | [] | no_license | liuanxu/ThreadPool-Cpp11 | 37fe1f1d3a318193eaccc905ec419d9203664c89 | 290dc01fdda127624ce10a55a7bf93f578b2f3fd | refs/heads/main | 2023-04-27T23:42:38.447172 | 2021-05-23T06:36:09 | 2021-05-23T06:36:09 | 369,974,329 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,143 | cpp | #include"ThreadPool.h"
#include<iostream>
//工作线程
WorkThread::WorkThread() :m_task{ nullptr }, m_bStop{ false } {
m_bRunning.store(true); //说明该对象创建后就开始运行起来了
//初始化执行线程
m_thread = thread(&WorkThread::run, this);
}
WorkThread::~WorkThread() {
if (!m_bStop) { //停止线程运行,调用stop()函数
stop();
}
if (m_thread.joinabl... | [
"1322542757@qq.com"
] | 1322542757@qq.com |
a2f58bf501c5b9b123c091391fa3b4ef841341b4 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5706278382862336_1/C++/mkiken/A.cpp | 330879e0fd08a2d3e9d79e70a1b2b7c841de4d4b | [] | 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 | 3,935 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <vector>
#include <algorithm>
#include <string>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <climits>
#include <sstream>
#include <functional>
#include <complex>
using namespace std;
#def... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
4df9b3fce07b19340a0f8aa288fc74429f120683 | 4f8bb0eaafafaf5b857824397604538e36f86915 | /水题/7.13 F.cpp | 1553b93d589565729b747119afffa148021ed9c6 | [] | no_license | programmingduo/ACMsteps | c61b622131132e49c0e82ad0007227d125eb5023 | 9c7036a272a5fc0ff6660a263daed8f16c5bfe84 | refs/heads/master | 2020-04-12T05:40:56.194077 | 2018-05-10T03:06:08 | 2018-05-10T03:06:08 | 63,032,134 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | #include<cstdio>
int a[105];
int main ()
{
int n, pos;
while(~scanf("%d%d", &n, &pos))
{
pos --;
int ans = 0, l, r;
for(int i = 0; i < n; i ++)
{
scanf("%d", &a[i]);
}
for(int i = 1; i < n; i ++)
{
l = pos - i;
r =... | [
"wuduotju@163.com"
] | wuduotju@163.com |
075291cb36557fd746c7871c95a398c73c1804f0 | 52a92ef78f39ca1b295c6bf757c6dafb538bad69 | /codeforces/1216/A.cpp | febb8a117e417b606d428ff0e9c485f491c476da | [] | no_license | manujgrover71/cp_codes | 244201f65692ccd0f43b1b73fd76d9ca3a90886e | c801b421be0eca04b19ab01597aabfe73444e84b | refs/heads/master | 2023-02-08T11:15:26.960166 | 2020-12-23T05:30:00 | 2020-12-24T11:14:38 | 323,294,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | cpp | #include <algorithm>
#include <iostream>
#include <climits>
#include <cstring>
#include <string>
#include <vector>
#include <queue>
#include <cmath>
#include <set>
#include <map>
using namespace std;
#define all(x) (x).begin(),(x).end()
#define ll long long
#define mod 1000000007
#define vi vector<int>
#define vll ve... | [
"manujgrover71@gmail.com"
] | manujgrover71@gmail.com |
dd3476f082f4ca5e7076e126fc498630e465d991 | b4d1fc90b1c88f355c0cc165d73eebca4727d09b | /libcef/browser/browser_contents_delegate.cc | a6fc972da277995eca687cf292182d8166c8c276 | [
"BSD-3-Clause"
] | permissive | chromiumembedded/cef | f03bee5fbd8745500490ac90fcba45616a29be6e | f808926fbda17c7678e21f1403d6f996e9a95138 | refs/heads/master | 2023-09-01T20:37:38.750882 | 2023-08-31T17:16:46 | 2023-08-31T17:28:27 | 87,006,077 | 2,600 | 454 | NOASSERTION | 2023-07-21T11:39:49 | 2017-04-02T18:19:23 | C++ | UTF-8 | C++ | false | false | 24,240 | cc | // Copyright 2020 The Chromium Embedded Framework 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 "libcef/browser/browser_contents_delegate.h"
#include "libcef/browser/browser_host_base.h"
#include "libcef/browser/browser_p... | [
"magreenblatt@gmail.com"
] | magreenblatt@gmail.com |
f3a03e49da7039a2e548b8fcfc0971738d1eebe1 | 0c8f829d81685604ce28bf6310a77206c172271a | /Metadata/Variant.h | c24a3ebbb1fb1b1b3fe9d5404e0f2a9dafbfed6c | [] | no_license | feliperobledo/Portafolio | 71300db2ace5e3d89557ea58276aad12ffc0912b | c9561afdba26e9f4d39cb8aaa82602fa04ce65ca | refs/heads/master | 2021-05-31T13:09:07.777510 | 2014-10-02T18:25:48 | 2014-10-02T18:25:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,169 | h | /********************************************************************
File: Variant.h
Date Created: 11/20/13
Purpose: Defines the interface of a Variant.
A Variant is a generic container that can represent any
sort of data type, be it user defined or primitive.
This is a component of the ref... | [
"gamedev_fantasy@hotmail.com"
] | gamedev_fantasy@hotmail.com |
47e074bd7086a0a06e7f31af0c1813e366ad2ac2 | 03a486c8efbb766837557eb4dc0790fb52c59cff | /libGUI3D/include/GUI3D/GUI3D.h | 2d6eeeadbcfd8072a67339dac358a7539fc3f511 | [] | no_license | PNeigel/libGUI3D | 958779a2e18aeb4efc511321a66aafa4a2c9e883 | ca7c69eb88ec5ac12c760bbef20111df742cee4f | refs/heads/master | 2023-07-05T17:59:55.939307 | 2021-08-17T17:41:50 | 2021-08-17T17:41:50 | 395,382,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,975 | h | #pragma once
#include <functional>
#include "../../../libGUI/GUI.h"
#include "glShader.hpp"
#include "glCamera.hpp"
#include "projection_control.hpp"
#include "glMesh.hpp"
#include "glUtils.hpp"
#include <map>
#include "camera_control.h"
#include "glImageRenderer.h"
#ifdef COMPILE_WITH_FREETYPE
#include <ft2build.h>
#i... | [
"shuncheng.wu91@gmail.com"
] | shuncheng.wu91@gmail.com |
2ebf6f9cd80259b366752ec00cb73df62e9801de | 7a138fa71d3e08958d8443992e2d57d504bb593a | /codeforces/round-290/div-2/fox_and_two_dots.cpp | 18db9dbc6f2eda6ac40b065b1133c43fd65b0117 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sustcoderboy/competitive-programming-archive | 8a254e7542d9f616df73d8aaa9ca23d6242dec9b | 2cd3237f376c609b7c4e87804e36a8cac7ec3402 | refs/heads/master | 2021-01-22T17:38:41.565826 | 2015-11-22T03:50:00 | 2015-11-22T03:50:00 | 46,705,756 | 1 | 0 | null | 2015-11-23T08:10:07 | 2015-11-23T08:10:07 | null | UTF-8 | C++ | false | false | 1,684 | cpp | #include <iostream>
#include <utility>
#include <vector>
using namespace std;
const vector<pair<int, int>> deltas {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};
inline
void use_io_optimizations()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
}
bool visit(unsigned int x,
unsigned int y,
u... | [
"gsshopov@gmail.com"
] | gsshopov@gmail.com |
888da7fd8d5f6ac9e3f31c1a63919c247a910aad | a1732b958ae73657900585a4e8991a05072212d6 | /2022/day18/main.cpp | b135a4383317c24dace3756b5b0452e33e432033 | [
"MIT"
] | permissive | bielskij/AOC | 97fca8183955caf4d46967ac1bf4b00d9dc04f12 | 270aa757f9025d8da399adbc5db214f47ef0b6de | refs/heads/master | 2023-01-08T10:23:40.667070 | 2022-12-29T07:58:04 | 2022-12-29T07:58:04 | 226,080,843 | 3 | 0 | null | 2020-12-09T08:27:49 | 2019-12-05T10:57:02 | C++ | UTF-8 | C++ | false | false | 4,243 | cpp | #include <cassert>
#include <deque>
#include "common/types.h"
#include "utils/file.h"
#include "utils/utils.h"
#define DEBUG_LEVEL 5
#include "common/debug.h"
struct Side {
Point3d<int> start;
Point3d<int> end;
Side(const Point3d<int> &start, const Point3d<int> &end) : start(start), end(end) {
}
uint64_t g... | [
"bielski.j@gmail.com"
] | bielski.j@gmail.com |
47e16afc81733148250fe27111b5f79bd93727fc | f889f293e02526c95d7b7aeba441339bb595443b | /Source/Building_Escape_2/Building_Escape_2.cpp | a9cc7167fd2ef40a2dd4d04e693c08dbb7a5d6f6 | [] | no_license | Reetro/Building-Escape-2 | f0749e3d972b5d63658ac70b7ab423c6092f092d | 91703d8d2f73f5436c96e93dfc5cefa5d36e3fd1 | refs/heads/master | 2020-09-30T06:38:49.892930 | 2019-12-11T01:45:07 | 2019-12-11T01:45:07 | 227,230,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Building_Escape_2.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Building_Escape_2, "Building_Escape_2" );
| [
"thegamerboy7@gmail.com"
] | thegamerboy7@gmail.com |
77479cdff7b409a9362bd064faaffb4ee496a790 | a9c74b8149cb5706ba0b585c791db6dc0c610ad9 | /src/Editor.cpp | 41336d6a6cfb45351953bf1f6bcf62b148cc2009 | [] | no_license | tschicke/Voxel-Editor | b719ae74096ab5a8e0e282154f5cda5048102bb4 | b94e2fd7f7557970b008619ad3580ee6f263c209 | refs/heads/master | 2020-04-07T16:06:32.848235 | 2013-07-27T03:48:05 | 2013-07-27T03:48:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | cpp | /*
* Editor.cpp
*
* Created on: Jun 23, 2013
* Author: Tyler
*/
#include "Editor.h"
Editor::Editor() {
// TODO Auto-generated constructor stub
}
Editor::~Editor() {
// TODO Auto-generated destructor stub
}
| [
"tschicke@optonline.net"
] | tschicke@optonline.net |
dd04de6fee9a7869334d3a633c9642b3a1a3863b | d92f0cc58ba71870f84012ece859eb9cd6d65abf | /gfx_engine/resourcecontainer.h | 793938ddb52d1bfe3deee9095b4cbc11d6770257 | [] | no_license | Arkaniy/SDL | 7537a7941c1ea195444084f52618d7eb74cf5a0c | 628343cd0758f12061a30dd6d075a927c0364b22 | refs/heads/master | 2020-04-06T04:53:10.116284 | 2016-11-14T20:27:50 | 2016-11-14T20:27:50 | 73,748,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | h | #ifndef IMAGECONTAINER_H
#define IMAGECONTAINER_H
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#include <map>
class ResourceContainer {
public:
static std::map<std::string, SDL_Texture*> imageContainer;
static std::map<std::string, TTF_Font*> fontContainer;
};
#endif // IMAGECONTAINER_H
| [
"qwerty@localhost.localdomain"
] | qwerty@localhost.localdomain |
0f36c7bd0000b837c5a76f5d85b8c005d7bbc3d1 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_3994_squid-3.4.14.cpp | 3c706ff84873a858e8c5ce2cdb8805f69e3b544f | [] | 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 | 757 | cpp | void
Adaptation::Ecap::XactionRep::visitEachMetaHeader(libecap::NamedValueVisitor &visitor) const
{
HttpRequest *request = dynamic_cast<HttpRequest*>(theCauseRep ?
theCauseRep->raw().header : theVirginRep.raw().header);
Must(request);
HttpReply *reply = dynamic_cast<HttpReply*>(th... | [
"993273596@qq.com"
] | 993273596@qq.com |
64e8bdc527ae6ffd6cb005c65a10cb2c36f4cc04 | 17c2b92d214e0de9145c5e73983da729852430dc | /game.cpp | 7002c5e609614cc29b372b9cf8b53776a998323c | [] | no_license | Giowans/Arkanoid_KenGio | fe8567930b93ed58d45c051b9e05a18ffb2895e5 | 42b900b133850c7f7dceee8c3b4347ed884e9b74 | refs/heads/master | 2020-05-26T14:23:44.408077 | 2019-05-23T15:58:42 | 2019-05-23T15:58:42 | 188,262,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,547 | cpp | #include "game.h"
#include <fstream>
#include <iostream>
#include <SDL_ttf.h>
using namespace std;
bool Game::getIsRunning() const
{
return isRunning;
}
void Game::setIsRunning(bool value)
{
isRunning = value;
}
SDL_Window *Game::getWindow() const
{
return window;
}
void Game::setWindow(SDL_Window *valu... | [
"gio_tails@live.com"
] | gio_tails@live.com |
ed35c040e0a40696f289d4b741e202da923db2cd | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE36_Absolute_Path_Traversal/s01/CWE36_Absolute_Path_Traversal__char_connect_socket_ifstream_42.cpp | ed6855ed88eea15aba33d0cc18133082fdf5c80f | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 5,536 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__char_connect_socket_ifstream_42.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-42.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: connect_socket Read data ... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
a18b74fb053e0039ff5eb40c84b78e5a8e9e0963 | 75308d8ced993356014c8e998bd64e71b4c0211c | /Data Structure/tree.h | b10f86b59e5c2371db4176ffa2ee54fb4e9a3953 | [] | no_license | zettt8214/LeetCode | 332b8afe536ed47e7c69625a9056f7feb122b302 | c9ad38f312bd15cabac1dcca7646fb85a5e83ff4 | refs/heads/master | 2023-02-26T20:27:18.996218 | 2021-02-06T05:19:42 | 2021-02-06T05:19:42 | 327,228,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,974 | h | #pragma once
#include <iostream>
#include <vector>
#include "list.h"
using std::vector;
struct TreeNode {
int val;
TreeNode* left;
TreeNode* right;
TreeNode() : val(0), left(nullptr), right(nullptr) {}
TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
TreeNode(int x, TreeNode* left, TreeNode* right) : v... | [
"xiaohao8214@gmail.com"
] | xiaohao8214@gmail.com |
ab5fa3b8a38e1f2dad2eca410dcd51a7383a9365 | fd67a49fcf915b7c9b7ecefcaec7ccdce068a2ba | /trunk/include/net/connection.h | 212d874954fea6f4cda1c335b950025e33020ee6 | [] | no_license | Misery-cn/moth | b369c0ffe65daf17a7281ecf24b2342450d94958 | 0fd6c03c6822e28d4b54a2c13b8b380b880fc3d2 | refs/heads/master | 2021-12-14T14:29:35.469888 | 2021-12-06T15:00:52 | 2021-12-06T15:00:52 | 48,629,699 | 2 | 1 | null | 2016-08-12T09:39:18 | 2015-12-27T02:08:19 | C++ | UTF-8 | C++ | false | false | 3,130 | h | #ifndef _CONNECTION_H_
#define _CONNECTION_H_
#include "time_utils.h"
#include "ref_countable.h"
#include "mutex.h"
class Messenger;
class Message;
class Connection : public RefCountable
{
public:
Connection(Messenger* m) : _lock(), _msgr(m), _priv(NULL), _peer_type(-1), _failed(false), _rx_buffers_version(0)
... | [
"shangshi622@163.com"
] | shangshi622@163.com |
ce1409a2f76e69eddb3283890dcdd27210102ed3 | 0456169f170bc28d03eab6876d90ac4075ed7f77 | /src/include/Layers/ExampleLayer3.h | 41adedd95d63d5389b164823d7313d298c7786b6 | [] | no_license | hiplayer/FirstSkiaApp | 7220ba3f7292dde1ca5bf35bf1e9a6738af21eee | 100e6b7a0250fd5b88658a39b863c2600c5f61fd | refs/heads/master | 2023-05-13T23:54:55.876011 | 2021-06-10T14:37:25 | 2021-06-10T14:37:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | h | #ifndef EXAMPLELAYER3_H_F0693353_488C_432D_A3D9_D0B3E3BFCD9B
#define EXAMPLELAYER3_H_F0693353_488C_432D_A3D9_D0B3E3BFCD9B
#include "BaseLayer.h"
#include "Utils/RandomShapes.h"
class ExampleLayer3 final : public BaseRandomShapeLayer
{
public:
std::wstring GetTitle() const override { return L"Example #3: Draw random ... | [
"vyere@softserveinc.com"
] | vyere@softserveinc.com |
3bbae9345dfea8c538dae6d70dbb1f8602b93a5b | 419e55c56c5ed91f82657ae451db4dc5ae3dfcce | /practice/SeniorHigh1/semester2/April/20220410/P3397.cpp | 028c34e391fa4280d8211570b50d98f4c170b834 | [] | no_license | AlexWei061/cpp | 6e267bea4f163f77245fd2b66863b34edb7e64aa | f5f124b0c37b81036932e79290fb5cebcc7f1a5b | refs/heads/master | 2022-07-15T06:17:46.061007 | 2022-07-09T06:55:26 | 2022-07-09T06:55:26 | 216,490,498 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | #include<bits/stdc++.h>
using namespace std;
#define in read()
#define MAXN 1010
inline int read(){
int x = 0; char c = getchar();
while(c < '0' or c > '9') c = getchar();
while('0' <= c and c <= '9'){
x = x * 10 + c - '0'; c = getchar();
}
return x;
}
int n = 0; int m = 0;
int a[MAXN][MAX... | [
"ty.wei@foxmail.com"
] | ty.wei@foxmail.com |
a699344b290e8fac879e20fe6a267097dc17ae58 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/Z6.2+dmb.st+dmb.ld+po.c.cbmc_out.cpp | 75ca47936b00602017dab2eb815731b47d379d14 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 39,756 | cpp | // Global variabls:
// 4:atom_2_X0_1:1
// 0:vars:3
// 3:atom_1_X0_1:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
// 2:thr2:1
#define ADDRSIZE 5
#define LOCALADDRSIZE 3
#define NTHREAD 4
#define NCONTEXT 5
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define m... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
1f05bfcc1d42fba136a7bf370df5165237c2b020 | 1250f85f2d17c1bd7a554bd9b7a1c76914223efa | /src/interfaces/ethernet_feeder/EthChangeStateBuilder.cpp | 01d3bfcdf79b2df7249667dca6ca8ad4c8a04a69 | [] | no_license | HBuczynski/AHRS | 0cf015ccb5978fd7ddf1aeccbdd0b9b943c6d31c | 324169c7869b9d69343f6120739ec8e0b9901d4a | refs/heads/master | 2022-02-22T08:22:37.208745 | 2019-09-10T19:36:34 | 2019-09-10T19:36:34 | 111,209,994 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cpp | #include "EthChangeStateBuilder.h"
#include "EthChangeStateCommand.h"
using namespace std;
using namespace communication;
unique_ptr<EthFeederCommand> EthChangeStateBuilder::create(const vector<uint8_t> &commandInBytes)
{
const auto state = static_cast<FeederStateCode>(commandInBytes[Frame::INITIAL_DATA_POSITION]... | [
"hubert.buczynski94@gmail.com"
] | hubert.buczynski94@gmail.com |
aff3c9aa99af10026a099b95d50aa89d9ae941ed | 406f3195b2396e2c23f51edeeda42dadd8dc5708 | /units/Berserker.h | 9a81c7e3e33384b626f836e0ecabcb982b9c4301 | [] | no_license | IngwarSV/HEROES | 7a1aa899ec3afe587ae00191790a397b32b42493 | 963bc1179df8e1acde18dc64bf64e37fee770118 | refs/heads/master | 2020-12-21T14:29:20.129403 | 2020-02-27T09:11:16 | 2020-02-27T09:11:16 | 236,460,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | h | #ifndef BERSERKER_H
#define BERSERKER_H
#include <iostream>
#include "Unit.h"
#include "../states/BerserkerState.h"
#include "../Specifications.h"
class Berserker : public Unit {
public:
Berserker(const std::string& name, const std::string& type = TYPE::BERSERKER, int health = static_cast<int>(HP::BERSERK... | [
"sviatskyi@gmail.com"
] | sviatskyi@gmail.com |
06e9e9d94214c9acb2e326e43e9176d03f2d704b | 942b7b337019aa52862bce84a782eab7111010b1 | /3rd party/WildMagic/src/WmlVector4.cpp | cf231ceea79f9f8bc036dc3b31304c01797f2bc4 | [] | no_license | galek/xray15 | 338ad7ac5b297e9e497e223e0fc4d050a4a78da8 | 015c654f721e0fbed1ba771d3c398c8fa46448d9 | refs/heads/master | 2021-11-23T12:01:32.800810 | 2020-01-10T15:52:45 | 2020-01-10T15:52:45 | 168,657,320 | 0 | 0 | null | 2019-02-01T07:11:02 | 2019-02-01T07:11:01 | null | UTF-8 | C++ | false | false | 1,195 | cpp | // Magic Software, Inc.
// http://www.magic-software.com
// http://www.wild-magic.com
// Copyright (c) 2004. All Rights Reserved
//
// The Wild Magic Library (WML) source code is supplied under the terms of
// the license agreement http://www.magic-software.com/License/WildMagic.pdf
// and may not be copied or disclos... | [
"abramcumner@yandex.ru"
] | abramcumner@yandex.ru |
9714fb5c676dd7a1f0119a0703b95864a37ef366 | 893aef755225c6d3637080b04779ee3057e98291 | /source/Platforms/OpenGL/pch.h | e7f15c26f2d7896c8879b53517af55c7453a845a | [] | no_license | sumilly/FIEA-Game-Engine | 356fe9013debe40470118ed380d4bd4cb9e27491 | 430e8eaf0621d6c3dd48118261ab2716ee78c50a | refs/heads/master | 2021-05-28T22:03:14.721927 | 2015-06-14T20:56:18 | 2015-06-14T20:56:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | h | /** @file pch.h
* Pre-compiled header file to include necessary header for OpenGL version of the game engine
*/
#pragma once
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <exception>
#include <cassert>
#include <string>
#include <vector>
#include <map>
#include <memory>
#include <stdlib.h>
#include <mal... | [
"rsumathijs@gmail.com"
] | rsumathijs@gmail.com |
b1cb20d4c1235e11ad4f3a6cae6ac8667d7bf292 | fcccab20749b35e419dea69a2fa6633275398ba3 | /irrlicht/MyEventReceiver.hpp | 894e751d34343ce73c00f1dd03be11a83c65b5db | [] | no_license | Cashismo/Bomberman | 871298bc52008185bd6f6b0c6d6a701912ce6558 | 33106d0ab2e30deee380e3ed00b26752fe036709 | refs/heads/master | 2021-01-21T20:53:38.311180 | 2018-03-25T20:53:19 | 2018-03-25T20:53:19 | 94,757,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | hpp | #ifndef MYEVENTRECEIVER_HPP__
# define MYEVENTRECEIVER_HPP__
#include "include/irrlicht.h"
#include "Keycodes.h"
#include <vector>
class MyEventReceiver : public irr::IEventReceiver {
std::vector<bool> keys;
public:
MyEventReceiver() {
keys.reserve(KEY_KEY_CODES_COUNT);
for (auto i = 0; i < KEY_KEY_CODE... | [
"aurelien.gassemann@epitech.eu"
] | aurelien.gassemann@epitech.eu |
4bcc0e7d9388ff186baf60887d995fb88539016a | f322a6b03208a0b42ca30f02128b48d57c5377c9 | /include/bounded_buffer.hh | baa7d0955c34b89c493a474b6b9718aca55b077a | [] | no_license | dantrim/test-buffer | cf319bc150c6c1e28011d689658646fcfcb3a0db | 2bae5648f34fd0b58bc5e93b29d3e7f5a8cde8ad | refs/heads/master | 2021-01-11T01:45:42.154542 | 2016-10-19T10:39:38 | 2016-10-19T10:39:38 | 70,645,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,634 | hh | #include <boost/circular_buffer.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition.hpp>
#include <boost/thread/thread.hpp>
#include <boost/call_traits.hpp>
#include <boost/bind.hpp>
#include <boost/timer/timer.hpp> // for auto_cpu_timer
#include <iostream>
#include <string>
#include <sstream>
te... | [
"daniel.joseph.antrim@cern.ch"
] | daniel.joseph.antrim@cern.ch |
9b8e7640c41b41e5573af9b67edc462fe88969a9 | 3b984fb1a0f84bfe6dc0b4ec34a042581cb53812 | /BlockPos.h | 9c893363f8ae618222722e3fa75fcddd6b938280 | [] | no_license | mackthehobbit/MCPE-Headers | 78cf741bc1081471fab4506cdda4808b0c8417cc | adf073d666cc63dbc640a455c4907da522929307 | refs/heads/master | 2021-01-17T09:35:08.454693 | 2016-08-29T03:28:45 | 2016-08-29T03:28:45 | 66,353,700 | 0 | 0 | null | 2016-08-23T09:36:05 | 2016-08-23T09:36:04 | null | UTF-8 | C++ | false | false | 459 | h | #pragma once
#include <string>
class ChunkPos;
class Vec3;
// Size : 12
struct BlockPos {
static BlockPos MAX, MIN, ONE, ZERO;
int x; // 0
int y; // 4
int z; // 8
BlockPos() : x(0), y(0), z(0) {}
BlockPos(int x, int y, int z) : x(x), y(y), z(z) {}
BlockPos(const ChunkPos &, int);
BlockPos(const Vec3 &);
B... | [
"ksy4362@naver.com"
] | ksy4362@naver.com |
1ffd96b8340b5d7e88f2b0374d88f7741837677d | 2d6a8a21cf01d13c552b82d043561c5c5eb09bbc | /students/orehov_s/lab_1/un_tst.cpp | 41c4bf1662c5d033782cc4cac422f4195276bed6 | [] | no_license | leti-fkti-1381/2013-1381-sem-4 | 1fd42b812ab3e34ff7e49915099111c32715a422 | b40e5985841b73f0661161e71911a590b8801fce | refs/heads/master | 2016-09-11T04:55:28.208734 | 2013-06-11T19:11:53 | 2013-06-11T19:11:53 | 8,007,891 | 0 | 2 | null | 2013-02-04T14:47:36 | 2013-02-04T13:39:58 | null | UTF-8 | C++ | false | false | 578 | cpp | #include "sort.h"
#include "gtest/gtest.h"
#include<stdlib.h>
#include<time.h>
const int N=100000;
bool proverka( vector <T> a)
{
for (unsigned int i=0;i<N-1;i++)
if (a[i]>a[i+1]) return false;
return true;
}
TEST(qsort,first)
{
unsigned int i;
Sortirovka ob;
srand(time(0));
int m;
vector <T> mass;
for (i=0... | [
"lost9306@gmail.com"
] | lost9306@gmail.com |
8c8c0f18e073dbd61a1af88f01882f4e7525fb1b | 4ef09b833e4682b7c1c205a654874f4b2a7cba82 | /ray casting/source files/Plane.cpp | 51f739d165b69eb3e92aaf8b514df08062db24b2 | [] | no_license | GabrielChan1/sample-code | 87d9f18d3ee10198753918267cd44e88b77e2685 | c344df3a8f3a0f4882a3c2e651552ccf21599fc6 | refs/heads/master | 2020-06-04T01:46:24.465308 | 2019-06-13T20:12:08 | 2019-06-13T20:12:08 | 191,820,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | cpp | #include "Plane.h"
#include "Ray.h"
/*
TODO:
- Calculate 't' based on the formula given in the lecture slides
- If there is an intersection, calculate the surface normal at the point of intersection
- ray.direction = s - e
- s = ray.origin + ray.direction
*/
bool Plane::intersect(
const Ray & ray, const double min... | [
"neoco@techie.com"
] | neoco@techie.com |
b56eb14dce49f8cb13466efba0d872f651a7eaf2 | 6b9ff1168d700f71748f438a9ff049653a431ae0 | /Stack/2_StackSTL.cpp | 8de2aa0f930ada5edafbc0ab5146d1700516746f | [] | no_license | hemangdtu/DSAlgo | 5c4b61d8c9f71f803d072edea0cc3dae2be30b27 | 6758a97bf7cdcb9761285d3b7b5d097be6ab0c11 | refs/heads/master | 2023-08-18T17:17:21.227397 | 2021-10-14T18:21:53 | 2021-10-14T18:21:53 | 254,940,088 | 5 | 1 | null | 2020-10-17T23:55:28 | 2020-04-11T19:28:49 | C++ | UTF-8 | C++ | false | false | 303 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
stack<int> s;
for(int i = 0; i<5; i++)
s.push(i*i);
while(!s.empty())
cout<<s.top()<<" ";
cout<<"\n";
stack<char> c;
for(char i = 'a'; i<'j'; i++)
c.push(i);
while(!c.empty())
{
cout<<c.top()<<" ";
c.pop();
}
return 0;
} | [
"hemang.dtu@gmail.com"
] | hemang.dtu@gmail.com |
5c90dc3d0972af342d9e7919a091ff26c31e8d76 | 703cf0f8a68cb93478bb7b47956a352ce91f4f04 | /HelloHoloCpp/Content/ShaderStructures.h | 157f011dbd7238a6074af11259b4d34198bf9e70 | [] | no_license | AndyGlaister-MS/HelloHoloCpp | 05224a16b647c572f6a08ddf6e7704f650fb6f19 | 3cbbe657abeefe81a623dfb0eac358dce6d9914b | refs/heads/master | 2020-04-06T04:46:42.257985 | 2017-02-23T19:11:38 | 2017-02-23T19:11:38 | 82,962,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | h | #pragma once
namespace HelloHoloCpp
{
// Constant buffer used to send MVP matrices to the vertex shader.
struct ModelViewProjectionConstantBuffer
{
DirectX::XMFLOAT4X4 model;
DirectX::XMFLOAT4X4 view;
DirectX::XMFLOAT4X4 projection;
};
// Used to send per-vertex data to the vertex shader.
struct VertexPo... | [
"andyg@ANDYG-PC"
] | andyg@ANDYG-PC |
dce14a9937c3d5e0bdeb71a3ed509116f6ace53e | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_5633.cpp | e20f4a46f6761f0ce492c18f1d3905313746c7d9 | [] | 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 | 68 | cpp | do {
*dest++ = Curl_raw_toupper(*src);
} while(*src++ && --n); | [
"993273596@qq.com"
] | 993273596@qq.com |
84af270a2dc8950179c041176f7474973fec5eb1 | f93c3347f4dbac00e93b59130773c9e3f45c9b0a | /code/Pascal's Triangle II.cpp | f9d91b4658ecb00d9ba688770fae851bc57f5f9f | [] | no_license | shizihao123/leetcode | 197301996c5d98d9a99f705074fc558d9c6469e7 | 8f9bb330cbbf9f1bca9b830499d0d0cb76b890c5 | refs/heads/master | 2021-01-23T01:56:50.290540 | 2015-03-07T13:29:52 | 2015-03-07T13:29:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | class Solution {
public:
vector<int> getRow(int rowIndex) {
vector<int> line(rowIndex + 1, 1);
long long c = 1;
for (int i = 1; i < rowIndex; ++i) {
c = c * (rowIndex - i + 1) / i;
line[i] = c;
}
return line;
}
}; | [
"hustsxh@gmail.com"
] | hustsxh@gmail.com |
628c8e1f2fe7d22835de3958ddec5eaa6ca3261f | b3cd4b4d96d177469d89268e4d5251e727cdab1b | /src/gui/transferfunctionwidget.cpp | b4e89d67e7d1be7e7e3947cc9a2c66a58e32682a | [
"MIT"
] | permissive | aalele/MRE | c45cd51df40c236f36dfb4051be0568f6d052248 | f1500c190f9493b6230d237fdf6d21752a45dc4c | refs/heads/master | 2020-05-31T10:46:28.794660 | 2019-04-30T02:09:11 | 2019-04-30T02:09:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,695 | cpp |
#include "transferfunctionwidget.h"
namespace ysl
{
namespace imgui
{
TransferFunctionWidget::TransferFunctionWidget(const std::string& fileName):
TransferFunction(fileName)
{
}
void TransferFunctionWidget::BindTexture(const std::shared_ptr<OpenGLTexture>& tex)
{
texFunc = tex;
FetchData(func... | [
"yangshuoliu@sina.com"
] | yangshuoliu@sina.com |
c2a26b2bb300045a4d9419f11edb60d62d940a66 | 0994cd2cf791d68635e6f4ad8a3ca2b3266dd787 | /site.h | faa574b126f9392d8ec73dc090b30b7ae8b843f6 | [] | no_license | kikuznetsov/konstpro | 7f8be03e66014408aaf3a42ec4fd7319bd59322d | 572dcd860d36b4b30bae50dbed8bc8178c7c1313 | refs/heads/master | 2020-09-22T12:50:11.695638 | 2017-01-21T20:53:14 | 2017-01-21T20:53:14 | 66,449,073 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | #ifndef HOME_H
#define HOME_H
#include <Wt/WApplication>
#include <Wt/WLineEdit>
#include <Wt/WMenu>
#include <Wt/WMessageBox>
#include <Wt/WNavigationBar>
#include <Wt/WPopupMenu>
#include <Wt/WPopupMenuItem>
#include <Wt/WStackedWidget>
#include <Wt/WText>
#include <Wt/WBootstrapTheme>
using namespace Wt;
class Si... | [
"konstantin.kouznetsov@gmail.com"
] | konstantin.kouznetsov@gmail.com |
4ddb5c4669b89fce1bd4c77ae7857421df44070f | 8cfd7b8994b41b0978730a4d4fed3b8ea40449dd | /PersonMgrTreeView.h | 71e6c4ad841d7b609b637ac1893765ad9a143112 | [] | no_license | shinbochen/personMgr | a73df395d26ac6bb3f162555c5356b1809f62b6d | 16aaea9848dc2fc70cc9caf4b3f4a1e787b9458b | refs/heads/master | 2020-03-11T20:25:46.593841 | 2018-04-19T15:26:15 | 2018-04-19T15:26:15 | 127,729,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,844 | h | // PersonMgrTreeView.h : interface of the CPersonMgrTreeView class
//
/////////////////////////////////////////////////////////////////////////////
// include file declare
#include "PersonMgrDoc.h"
#include "CtrlExt.h"
/////////////////////////////////////////////////////////////////////////////
// CONSTANTS declare
#... | [
"58430351@qq.com"
] | 58430351@qq.com |
a20578e667472503ad7fbfd85409b1fa3bda77ed | e773931bdeb9317a5ff7c7e2e6b1012b2645642a | /chromeos/services/libassistant/display_controller.cc | 6d43a92f835397d055d50884ce5f431cfa33ed58 | [
"BSD-3-Clause"
] | permissive | SelyanKab/chromium | 21780bcaf7a21d67e3a4fe902aa8fd5d653b374b | ee248e9797404ad1cfcafdc3c0a58729b0f8f88d | refs/heads/master | 2023-03-14T15:02:38.903591 | 2021-03-10T10:21:05 | 2021-03-10T10:21:05 | 234,272,861 | 0 | 0 | BSD-3-Clause | 2020-01-16T08:36:12 | 2020-01-16T08:36:12 | null | UTF-8 | C++ | false | false | 3,267 | cc | // Copyright 2021 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 "chromeos/services/libassistant/display_controller.h"
#include <memory>
#include "chromeos/services/assistant/public/cpp/features.h"
#include "... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
9d39853ecd34b276b983ebe5412459a456660658 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/tflite/src/tensorflow/compiler/mlir/tools/kernel_gen/ir/tf_framework_ops.h | c5f011f25cf94379feeee8042a1150fe40cebeb3 | [
"BSD-3-Clause",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 2,458 | h | /* Copyright 2020 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 law or a... | [
"jengelh@inai.de"
] | jengelh@inai.de |
2ed30f339de237b939dcb9b7a1b82e8f04135cfd | 986fe09e081b04a36de45fe0f0530a61b9dcdfc4 | /basis/output_string.cpp | b57455b3ea96d101951060b3463a9cd5ce78b8d4 | [] | no_license | Muriam/cpp_and_other | d6097b702f05d9942617063fb33246415331dab5 | 3a1a90d56d55980b19e9b9e937d5ec322ea1b1fb | refs/heads/master | 2023-03-24T13:04:57.968521 | 2021-03-23T11:07:15 | 2021-03-23T11:07:15 | 100,115,225 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | #include <iostream>
using namespace std;
void func1(char arr1[]);
int main()
{
setlocale(LC_ALL, "rus");
char arr1[] = "абвгдеёжзийклмнопрстуфхцчшщъыьэюя";
func1(arr1);
return 0;
}
void func1(char arr1[])
{
for (int i = 0; arr1[i] != '\0'; i++)
{
cout << arr1[i];... | [
"d_muriam@inbox.ru"
] | d_muriam@inbox.ru |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.