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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a2133dafb2dc66daa8bacdc8a6082a5ad237e5a5 | 53764943bdb754f4351d2ff08beca7c68cff9601 | /src/datetime.cc | 160f578489432168e3a363143721447559a08893 | [] | no_license | orcchg/MoneyWatcherAlpha | b8cd7bf736c176faecda144c0f9da63f7b98ba80 | 0c47f61e608939faddf61881d770bcee16c3bf70 | refs/heads/master | 2021-01-20T03:59:17.166438 | 2016-01-06T08:54:18 | 2016-01-06T08:54:18 | 41,607,625 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,924 | cc | /*
* datetime.cc
*
* Description: Date & Time implementation.
*
* Created on: 08.09.2013
* Author: Maxim Alov <m.alov@samsung.com>
*/
#include <algorithm>
#include <string>
#include <sstream>
#include <boost/date_time/posix_time/posix_time.hpp>
#include "datetime.h"
namespace mw {
DateTime::DateTime()... | [
"alovmax@yandex.ru"
] | alovmax@yandex.ru |
044e8d9fa91b29eab4292656ca3fd0a2319ad036 | 7b1dba72bac15ec61738584e0877d63a57134b81 | /analysiscode_v2.1/include/BuildtPID.h | 0fc6260018e4a8f9aa5d71dbdd8b092124865457 | [] | no_license | kuantumlad/eg1dvcs_Analysis_v2 | 6983cfac008000e069cb4aae57e2bfe11af07360 | 02aa08c59cbdeb8f03207c7d8f4c0bfca31b5c91 | refs/heads/master | 2020-12-30T15:09:20.931235 | 2017-08-16T16:25:19 | 2017-08-16T16:25:19 | 91,117,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,118 | h | #ifndef buildtpid_h
#define buildtpid_h
#include "TTree.h"
#include "TFile.h"
#include "TMath.h"
#include "PhysicsEventBuilder.h"
#include "PhysicsEvent.h"
#include "TLorentzVector.h"
class BuildtPID {
public:
BuildtPID();
~BuildtPID();
public:
TTree *tPID;
Int_t run;
TString periodID;
Double_t bea... | [
"bclary@ifarm1401.jlab.org"
] | bclary@ifarm1401.jlab.org |
7f9e4c2f60583e6d33c6524a82f845c40e0e608b | ba5bba0ea76f75b7767c178c80e471b6a850e402 | /2014/Qualification/Solutions/0014_Fernando_tennison.cc | 161f8887c8c2c2f3909957437f46ffa8e785571a | [] | no_license | rmax/Facebook-Hacker-Cup-Results | d28910973a8941c67a83f532c7a42918b871d0f9 | f0d9e94a678a1684797f4d78d39cdd5b338281d0 | refs/heads/master | 2021-05-26T22:34:40.991969 | 2013-11-25T18:12:58 | 2013-11-25T18:12:58 | 1,485,523 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,723 | cc | #include <stdio.h>
#include <algorithm>
using namespace std;
int t, teste, k;
float prob[100][100][100][100][3];
double ps, pr, pi, pu, pw, pd, pl;
double calc(int win, int lose, int sunny, int rainy, int capped) {
if (win == k) return 1;
if (lose == k) return 0;
float& ret = prob[win][lose][s... | [
"darkrho@gmail.com"
] | darkrho@gmail.com |
30387cba99b1e3bee35a91e2d515d4673f660104 | 227e3891a0b1f648efbf4eecc1b4fa7c0957da02 | /PhantomEngine/PhantomCore/src/graphics/gui/GuiCommon.h | 31e84b81c0a4727bf3c628a020b181068a2d1dd6 | [
"Apache-2.0"
] | permissive | jinsuoliu/PhantomEngine | d0d0f354007a627ea5f6d135dc0546b5cc9e05a4 | 60b3deec04bb282b949374b539a83b322bbc98b4 | refs/heads/master | 2020-06-09T02:39:52.076049 | 2019-06-23T12:06:28 | 2019-06-23T12:06:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | h | #pragma once
#include <iostream>
namespace Phantom {
namespace GUI {
struct GuiDisplayUnit {
float posX;
float posY;
std::string content;
};
enum GUIIndex
{
FrameGuiIdx,
KeycodeGuiIdx,
};
}
}
| [
"liphantomjia@gmail.com"
] | liphantomjia@gmail.com |
f657eaf6e9ee2e65ba20aed5fe8c8e2506bdc0eb | b9348ed4762330e0552c8c124d222b5e0300adad | /client/cmdprocs.cpp | a7d32bdaada8aacba46b970051475f417d2aa5e2 | [] | no_license | rsetiawan7/SA-MP | da53a841baaaeddd26a3e4235319eeb0ddd11ca6 | 20d0707452bd7598abae0b5dd5a14f0c0cfd0f9d | refs/heads/master | 2023-01-29T11:07:07.847832 | 2020-12-02T08:46:06 | 2020-12-02T08:46:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,952 | cpp | //----------------------------------------------------------
//
// SA:MP Multiplayer Modification For GTA:SA
// Copyright 2004-2005 SA:MP team
//
// Version: $Id: cmdprocs.cpp,v 1.51 2006/05/07 15:38:35 kyeman Exp $
//
//----------------------------------------------------------
#include "main.h"
#include "game/util.h... | [
"42702181+dashr9230@users.noreply.github.com"
] | 42702181+dashr9230@users.noreply.github.com |
8b7fac5b2c1981685a715887e02916ca9d615153 | fd2d886dfdcd828aee100797cee61ff5ef5148c4 | /Codeforces/1355/a.cpp | 1766af2ec7cd993b4e0e8d07233695f257c42f22 | [] | no_license | RZzero/AlgorithmsLib | a0f851403ceb5602a6d5d3de03faf3eeef5eced1 | 6da44d452e00787988a50095dcfc74f48ae13148 | refs/heads/master | 2023-06-08T03:46:14.226818 | 2023-06-04T21:09:07 | 2023-06-04T21:09:07 | 113,804,572 | 5 | 0 | null | 2023-01-17T11:12:05 | 2017-12-11T02:50:20 | C++ | UTF-8 | C++ | false | false | 733 | cpp | // https://codeforces.com/problemset/problem/1355/A
#include <iostream>
using namespace std;
typedef long long Long;
int get_min_digit(Long N) {
int answer = 9;
while (N > 0) {
answer = min((Long)answer, N%10);
N /= 10;
}
return answer;
}
int get_max_digit(Long N) {
int answer = 0;
while (N > 0)... | [
"rafaelsuazoh@gmail.com"
] | rafaelsuazoh@gmail.com |
cc6ac1505a6c1cc340a0162d2e3d2e3e557f6242 | fdb15135cf3036e63efd6d23a20e898a832e89e3 | /include/polarphp/pil/lang/PILConstants.h | 2cddc51549cae54ee3a1dc8d7abda9cf78a3dfef | [] | no_license | thelongestusernameofall/polarphp | 9ca882d26c3ad0b7b63328fdee2534946fbe410a | 31012ff7e6c0f72ee587546c296b06013c98cf9a | refs/heads/master | 2022-04-02T12:40:39.677475 | 2020-02-20T12:43:03 | 2020-02-20T12:43:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,940 | h | //===--- PILConstants.h - PIL constant representation -----------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | [
"zzu_softboy@163.com"
] | zzu_softboy@163.com |
46bedf47bf807e0da1f9e856891b55da8c1c4ab5 | b06126d225c3fd72aacd5635e11df9047f71dc0b | /Engine/Source/Core/Quantity/Time.h | 935414af8367ffefac7e7521f5bbbbb666e20a2d | [
"MIT"
] | permissive | MarvinChung/Photon-v2 | 80deaa52c723f0a34bb1d84e829b251012b2626c | a42761797f5364525e5686cd7fe2eff6f5b04ddf | refs/heads/master | 2020-04-03T20:43:08.028086 | 2019-01-25T20:31:11 | 2019-01-25T20:31:11 | 155,555,269 | 1 | 0 | MIT | 2018-10-31T12:39:52 | 2018-10-31T12:39:51 | null | UTF-8 | C++ | false | false | 528 | h | #pragma once
#include "Common/primitive_type.h"
namespace ph
{
class Time final
{
public:
real absoluteS;// s units of time since global beginning
real relativeS;// s units of time since the begining of local time step
real relativeT;// parametric time t in local time step, in [0, 1]
Time() :
absoluteS(0.0_r... | [
"b01502051@ntu.edu.tw"
] | b01502051@ntu.edu.tw |
539b527c2c2a27edcb15ef7b4c8377063ae49900 | 7f62f204ffde7fed9c1cb69e2bd44de9203f14c8 | /DboClient/Lib/NtlPresentation/NtlPLObjectType.cpp | a9db06bf5a42ac7f35467979faacb181db487f70 | [] | no_license | 4l3dx/DBOGLOBAL | 9853c49f19882d3de10b5ca849ba53b44ab81a0c | c5828b24e99c649ae6a2953471ae57a653395ca2 | refs/heads/master | 2022-05-28T08:57:10.293378 | 2020-05-01T00:41:08 | 2020-05-01T00:41:08 | 259,094,679 | 3 | 3 | null | 2020-04-29T17:06:22 | 2020-04-26T17:43:08 | null | UHC | C++ | false | false | 20,587 | cpp | #include "precomp_ntlpresentation.h"
#include "NtlPLEvent.h"
#include "NtlPLEventGenerator.h"
#include "NtlPLWorldState.h"
#include "NtlPLPlanet.h"
#include "NtlPLObjectType.h"
#include "NtlWorldFieldManager.h"
#include "NtlWorldFieldManager4RWWorld.h"
CNtlPLObjectType::CNtlPLObjectType()
:m_pPLObject(NULL)
{
}
C... | [
"64261665+dboguser@users.noreply.github.com"
] | 64261665+dboguser@users.noreply.github.com |
bdb89e0abd7e342e4cff3577b8e516d8b6991d9d | 581d6eeb48dbd442dca27c1fa83689c58ffea2c9 | /Sources/Elastos/LibCore/inc/elastosx/net/ssl/HandshakeCompletedEvent.h | 72429b370d4c0dcb7d4d549535ed99bd01461749 | [
"Apache-2.0"
] | permissive | TheTypoMaster/ElastosRDK5_0 | bda12b56271f38dfb0726a4b62cdacf1aa0729a7 | e59ba505e0732c903fb57a9f5755d900a33a80ab | refs/heads/master | 2021-01-20T21:00:59.528682 | 2015-09-19T21:29:08 | 2015-09-19T21:29:08 | 42,790,116 | 0 | 0 | null | 2015-09-19T21:23:27 | 2015-09-19T21:23:26 | null | UTF-8 | C++ | false | false | 3,877 | h |
#ifndef __ELASTOSX_NET_SSL_HANDSHAKECOMPLETEDEVENT_H__
#define __ELASTOSX_NET_SSL_HANDSHAKECOMPLETEDEVENT_H__
#include "EventObject.h"
using Elastos::Utility::EventObject;
using Elastos::Security::IPrincipal;
using Elastos::Security::Cert::ICertificate;
using Elastosx::Net::Ssl::ISSLSocket;
using Elastosx::Net::Ssl:... | [
"li.hui@kortide.com"
] | li.hui@kortide.com |
17e1d707ccbcd363ebcf3e596835a231a02ffb80 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE400_Resource_Exhaustion/s02/CWE400_Resource_Exhaustion__rand_fwrite_83_goodG2B.cpp | e0d8142a12dbf606414259e58c9476bfc464d972 | [] | 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 | 1,938 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE400_Resource_Exhaustion__rand_fwrite_83_goodG2B.cpp
Label Definition File: CWE400_Resource_Exhaustion.label.xml
Template File: sources-sinks-83_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 400 Resource Exhaustion
* BadSource: rand Set data to result of rand(),... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
5ec5e7048ca5b61b6092e4e3cf369f3fc3b124f0 | 4c5786fbbd690250feb5372072f3341bcb39a49d | /NewPlatform/ClientModule/GamePlaza/ProcessManager.cpp | 9132002a025f5ac2387137e4d2f3ff6603e70d79 | [] | no_license | toowind/CyzGitRepository | d96244139865ccc6fbf0db359ebf85f5d86a80e9 | bcdc1f69d7ac3e714771ae67aad37e780ef2dfc3 | refs/heads/master | 2021-01-21T12:20:44.205211 | 2017-04-01T03:55:41 | 2017-04-01T03:55:41 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 16,746 | cpp | #include "StdAfx.h"
#include "GlobalUnits.h"
#include "ProcessManager.h"
//////////////////////////////////////////////////////////////////////////////////
//定时器标识
#define IDI_PROCESS_DETECT 100 //进程检测
//时间标识
#ifndef _DEBUG
#define TIME_DETECT_NORMAL 10000L //常规检测
#define TIME_DETECT_CREATE 2000... | [
"732238625@qq.com"
] | 732238625@qq.com |
b0c7e6855df39dd2bec92b82991424876f994629 | 8a4d65b54d16ff81603ab605bd061ba80b70e52e | /Reconstruction/Helpers/MultiThreshold.cpp | 4e187d95e887900f1ef3dc2c4a84fc014d2808ac | [] | no_license | MedeirosMG/3DReconstruction | e98e72da7ca15958b9b00bf230afb6ec4522bff9 | b22f7df61a4d6376a48feed8d2fae1875f34a848 | refs/heads/master | 2020-03-27T06:57:30.485579 | 2020-03-05T19:13:30 | 2020-03-05T19:13:30 | 146,150,813 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,561 | cpp | #include "stdafx.h"
#include "MultiThreshold.h"
namespace Helpers {
Helpers::MultiThreshold::MultiThreshold()
{
}
Helpers::MultiThreshold::~MultiThreshold()
{
}
std::vector<double> MultiThreshold::SortBackwards(std::vector<double> lim){
int size = lim.size();
for(int i=0; i<size; i++){
lim[i] = -lim... | [
"gustavo-aparecido.viana@scania.com"
] | gustavo-aparecido.viana@scania.com |
4e3d2ce8753cdbcd9e391fb41618962dfd6f53cc | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/updater/device_management/dm_storage.h | ca04ab030a5bce011d90a75bd789dd92f7db6fc2 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 5,216 | h | // Copyright 2020 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_UPDATER_DEVICE_MANAGEMENT_DM_STORAGE_H_
#define CHROME_UPDATER_DEVICE_MANAGEMENT_DM_STORAGE_H_
#include <memory>
#include <string>
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
eae5c5157487590c75d19542d3e03f9b9f3e2e38 | 6530f4fa6948713b889a0522b10e0d7af3533b6a | /MultiClick/CustomStatic.cpp | b532dd376440333408a8ababfb8dc62997864bbc | [] | no_license | pengge/multi-click | d88ead09fed6903e4a9d2f7c16579ebe3a2101e1 | e114296051a24036ab3b686c292afcada4a9e6ab | refs/heads/master | 2020-06-16T16:49:36.902142 | 2018-06-14T03:09:40 | 2018-06-14T03:09:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,075 | cpp | #include "stdafx.h"
#include "CustomStatic.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
CustomStatic::CustomStatic()
{
FreeResources(FALSE);
// Default colors
m_crTextColor = ::GetSysColor(COLOR_BTNTEXT);
m_crBkColor = ::GetSysColor(COLOR_3DFACE);
// No mes... | [
"anhvaut@gmail.com"
] | anhvaut@gmail.com |
7d526b69cda811b2eb9886ffb0a70baf5c963754 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoByDeviceRequest.h | 6ad117fe3cb946ed73077db1a312cb71b4bd530b | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 2,800 | h | /*
* 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 by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
a006945107272edbeb87798bf13cbe3bb01f7094 | 3dfa2da447272f37da95b866aba154082b3c8ab4 | /core.cpp | c22874faf2c72abf6ddccda945976dfd82206569 | [] | no_license | cool-colo/future | 03d40673aee63b4cdd0ead0cdb88ca6b3834e005 | 8283e03d95f2cce28830bf0808995605962c76e7 | refs/heads/master | 2023-05-06T16:29:53.067160 | 2021-06-03T09:00:12 | 2021-06-03T09:00:12 | 352,545,823 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,844 | cpp | #include "core.h"
bool CoreBase::hasCallback() const noexcept {
constexpr auto allowed = State::OnlyCallback | State::Done | State::Empty;
auto const state = state_.load(std::memory_order_acquire);
return State() != (state & allowed);
}
bool CoreBase::hasResult() const noexcept {
constexpr auto allowed = ... | [
"fanglc@wifi.com"
] | fanglc@wifi.com |
7f9ee5776cf1377077e61f6bb5cfdddb9047bc5b | 13bfcfd7492f3f4ee184aeafd0153a098e0e2fa5 | /Kattis/lineup.cpp | e8675cd445291bf8b70fa388b211de506a713328 | [] | no_license | jqk6/CodeArchive | fc59eb3bdf60f6c7861b82d012d298f2854d7f8e | aca7db126e6e6f24d0bbe667ae9ea2c926ac4a5f | refs/heads/master | 2023-05-05T09:09:54.032436 | 2021-05-20T07:10:02 | 2021-05-20T07:10:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | cpp | #include<iostream>
using namespace std;
int main(){
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n;
bool mode;
string last,curr;
cin>>n>>last>>curr;
if(last<curr)mode=1;
else mode=0;
n-=2;
while(n--){
last=curr;
cin>>curr;
if(last<curr){
if(!mode){
cout<<"NEITHER\n";
return 0;... | [
"froghackervirus@gmail.com"
] | froghackervirus@gmail.com |
863a8a9586618b28dcc4d05212032e8ebf59a578 | 092db4f1166e03be8c02bdecd193f2412727bb53 | /Source/OneMoveAtATime/LevelObjects/LevelEnd.cpp | ce9863dc94e757fd17e6674d9c88b1be7c10423f | [] | no_license | ChrisG4/One-Move-at-a-Time | 99ce5c72c1fe43c215cee57c7c3a65266f9b59cd | a292f9d0dcff35e6d97e47df18050ebaec124e2b | refs/heads/master | 2023-06-24T08:36:22.746362 | 2021-07-18T13:06:23 | 2021-07-18T13:06:23 | 360,944,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#define ASCII_CONVERT -48
#include "LevelEnd.h"
void ALevelEnd::SetNextLevelName(FString CurrentLevelName)
{
CurrentChapter = (int32)(CurrentLevelName.GetCharArray()[5]) + ASCII_CONVERT;
CurrentLevelNumber = (int32)(CurrentLevelName.Get... | [
"chrisgoldsack4@gmail.com"
] | chrisgoldsack4@gmail.com |
63f668c20097ecca3d851eddd2e05181b8b68d9a | 2e7c251c97dda8031dbda355e1bc36cb8bc1a9ea | /ProgrammingVC5e/Ch11Bitmap/DBufScroll/DBufScroll.h | c662edc298fcda85a936516dcdf1bd1d644720d9 | [] | no_license | 15831944/studies | 98677ed4bf173c4a1647f2fde2d98f9debe0f072 | 5347e517318b921aa799e11d310527be273be3fd | refs/heads/master | 2023-06-12T17:00:01.774021 | 2021-07-09T09:38:12 | 2021-07-09T09:38:12 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,009 | h | // DBufScroll.h : main header file for the DBufScroll application
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'StdAfx.h' before including this file for PCH"
#endif
#include "Resource.h" // main symbols
// CDBufScrollApp:
// See DBufScroll.cpp for the implementation of this class
//
clas... | [
"breaker.zy@gmail.com"
] | breaker.zy@gmail.com |
bf0ac5ce5a179a79d7405a1d2506554d6e1d7cad | 6aba3d9e4a5401b5387548475d0ca74794e73c69 | /GROMACS/nonbonded_benchmark/gromacs_source_code/src/gromacs/ewald/pme_simd4.h | 0fdc3170b1ed147e36c8ceaf536f7ab899ae3143 | [
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"LicenseRef-scancode-sun-rpc",
"LGPL-2.1-or-later",
"SunPro",
"GPL-1.0-or-later",
"BSD-2-Clause-Views",
"GPL-2.0-only",
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause",
"Zlib",
"BSD-2-Clause",
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | rvhonorato/bioexcel-exascale-co-design-benchmarks | a47b2608ad796329247a671ca95c7b487be213ca | 41bfd28e64a65f7d08a4195bdfd0024646664351 | refs/heads/master | 2020-06-18T05:56:43.151669 | 2019-07-10T15:17:45 | 2019-07-10T15:17:45 | 196,187,655 | 0 | 0 | MIT | 2019-07-10T10:50:25 | 2019-07-10T10:50:24 | null | UTF-8 | C++ | false | false | 6,761 | h | /*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
* Copyright (c) 2012,2013,2014,2015,2017,2018,2019, by the GROMACS development team, led by
* Mark Abraham, David van ... | [
"mark.j.abraham@gmail.com"
] | mark.j.abraham@gmail.com |
93e792a9c1e844eb0336137ab31e704b36806501 | 4bf764a1c0c9c8e67f959c1674ea7379a84a99ba | /VTO/OpenCloth_Implicit/MergeClothes/largevector.h | 0ae3c6bfe2650a2946b34f5bca846602b798318a | [] | no_license | HuangLeiDalab/Projects | d146377640c34a508dc7ea19677a56e63ceaa230 | e134f59810fa656e7b3933325577b6554d78af1a | refs/heads/master | 2021-01-22T22:52:59.626067 | 2014-06-16T08:36:34 | 2014-06-16T08:36:34 | 20,876,284 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,565 | h | #ifndef LARGEVECTOR_H
#define LARGEVECTOR_H
#include "utils.h"
#include <vector>
using namespace std;
template<class T>
class LargeVector
{
private:
vector<T> v;
public:
LargeVector()
{
}
LargeVector(const LargeVector& other)
{
v.resize(other.v.size());
memcpy(&v[0], &(other.v[0]), sizeof(other.v[0]) * ... | [
"hl_hfut@163.com"
] | hl_hfut@163.com |
46efd5815ab030562d1610ca583fc89b0ac4dcdf | 58f78750172be8be2f7b6807d1460bdce501f220 | /BSUIR_Labs/Algorithms/Lab2.cpp | 3b7af614bfd84f5b6184f3209b1e8d86027e996d | [] | no_license | CmdTwo/BSUIR_Labs | f57340e79770ac9e51ffbc365f4ba0fdf5335b6c | aaa6b14869e076d678e5babc76cfdd49ba05785b | refs/heads/master | 2020-04-23T08:34:01.627939 | 2019-03-29T17:00:40 | 2019-03-29T17:00:40 | 171,041,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,506 | cpp | #include "Lab2.h"
#include <iostream>
#include "..\Generic\KeyInput.h"
#include <string>
Lab2::Lab2()
{
}
void Lab2::BeginInput()
{
KeyInput::Keys key;
do
{
key = KeyInput::GetKeyInput();;
switch (key)
{
case KeyInput::NaN:
break;
case KeyInput::F1:
Print(); break;
case KeyInput::Plus:
AddStu... | [
"coommandoos@gmail.com"
] | coommandoos@gmail.com |
ff05059fde1e6936a73186806cd87f49bd16e6b5 | e4045a3880de0c2edd8b25c666baf92d5c114d80 | /src/MPC.cpp | f380258315a87927a8f4127052acdffe3df01656 | [] | no_license | the1jacobmiller/control | cca1791087abf35f8de169031dff593fa1c9ed48 | 8bc667a1ca65f7e8f09d30bb38137dbaca10ac96 | refs/heads/master | 2022-11-12T22:23:07.045552 | 2020-07-09T00:39:52 | 2020-07-09T00:39:52 | 278,222,561 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,184 | cpp | #include "MPC.h"
using CppAD::AD;
using namespace std;
class FG_eval {
public:
typedef CPPAD_TESTVECTOR(AD<double>) ADvector;
Eigen::VectorXd K; // Fitted road curve polynomial coefficients
FG_eval(Eigen::VectorXd Kin) : K(Kin) {}
void operator()(ADvector& fg, const ADvector& x) {
// fg a ... | [
"jacob@vsi-labs.com"
] | jacob@vsi-labs.com |
17dcb75f3daff7d1ebd7dbaf0eec090fd53ccb02 | 9063052d8e2c294efa3b501d42aef2ac59d84fa0 | /알고리즘과제/1/출력용/word.cpp | 1f7e958055eec8e2605bea40cf3e553136adc573 | [] | no_license | yes99/practice2020 | ffe5502d23038eabea834ebc2b18ff724f849c4a | 100ac281f4fe6d0f991213802fbd8524451f1ac2 | refs/heads/master | 2021-07-08T00:54:19.728874 | 2021-06-13T05:52:07 | 2021-06-13T05:52:07 | 245,789,109 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | #include <iostream>
#include<fstream>
#include<string>
#include <math.h>
using namespace std;
// ii >>
// oo <<
int main()
{
string badcode = "0123456789!@";
int lcode = 4;
string codep[100];
int lbadcode = badcode.length();
int i, j, k;
for (i = 0; i < lbadcode - lcode + 1; i++)
{
c... | [
"yes950324@naver.com"
] | yes950324@naver.com |
1f46a5619032ed7fab718144719485dc5ad8f6ac | 8016aff531962cf0cfe742415309b2af9517bd57 | /PCDanmakuFlameMaster/3rdparty/skia/gpu/GrPaint.h | d44dd89e60a1d3c5d0059d24caec5f88cc04d32f | [
"Apache-2.0"
] | permissive | CalvinNeo/PCDanmakuFlameMaster | fd5580460c0ca876aeefb52469786278836b8f67 | d39a81472341cbceb28e1f2f1e9e4adf68061e89 | refs/heads/master | 2020-04-06T11:32:37.458205 | 2015-01-05T06:00:27 | 2015-01-05T06:00:27 | 29,225,565 | 1 | 0 | null | 2015-01-14T03:34:41 | 2015-01-14T03:34:41 | null | UTF-8 | C++ | false | false | 7,990 | h |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrPaint_DEFINED
#define GrPaint_DEFINED
#include "GrColor.h"
#include "GrProcessorStage.h"
#include "SkXfermode.h"
/**
* The paint describes how color and covera... | [
"xqq@0ginr.com"
] | xqq@0ginr.com |
3775701181e597179f45152d97465dfcaad091af | 728154104369395d45713edfb45ee567b39f02f8 | /deps/v8z/test/cctest/test-hashing.cc | 2563df6f932fd776197354c8989513ad4280b86a | [
"BSD-3-Clause",
"LicenseRef-scancode-openssl",
"Zlib",
"NTP",
"LicenseRef-scancode-unicode",
"MIT",
"ISC",
"LicenseRef-scancode-public-domain",
"NAIST-2003",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause",
"Artistic-2.0",
"ICU",
"bzip2-1.0.6"
] | permissive | jBarz/node | 4099351547f243c626074ad8d03774556c203098 | 14e4f8ce4dabf416c376235321b4676da4beab1f | refs/heads/v4.x-port | 2020-12-25T22:30:57.353273 | 2016-08-16T17:31:23 | 2016-08-16T17:31:23 | 66,473,298 | 0 | 1 | null | 2016-08-24T14:55:28 | 2016-08-24T14:55:28 | null | UTF-8 | C++ | false | false | 5,153 | cc | // Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | [
"riclau@uk.ibm.com"
] | riclau@uk.ibm.com |
f559802a4353fef05a346d034383455ab8cb54a6 | 0c0280782252b4062e1ae0d58dee03eabe83ba2d | /CPP/Moderate-Chapters/Advanced33.cpp | 12ac9490377f3bb00e28285718c7578e827e0fe2 | [] | no_license | disund/School | 284efd167c2b6aa8c3f6a6b59376f8e68dceac4c | b14a71b5ea4692144a389f2d8642c5f55a7268cb | refs/heads/master | 2020-06-16T03:34:31.331378 | 2019-04-07T20:47:48 | 2019-04-07T20:47:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,353 | cpp | #include <iostream>
using namespace std;
int main ()
{
int myIncome = 0;
int myExpense = 0;
int myTotalIncome = 0;
int myTotalExpense = 0;
int myProfit = 0;
char myAction = ' ';
char myAction2 = ' ';
while(toupper(myAction) != 'Q')
{
cout << "\n Enter Compa... | [
"i3_Arch@archlinux.info"
] | i3_Arch@archlinux.info |
cfa55af5730ea0ea314f0268221cb0b083af17a5 | 297497957c531d81ba286bc91253fbbb78b4d8be | /third_party/libwebrtc/rtc_base/synchronization/mutex.h | e48f730b0ac188cfd273e3340720e0a9aae64582 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | C++ | false | false | 1,438 | h |
#ifndef RTC_BASE_SYNCHRONIZATION_MUTEX_H_
#define RTC_BASE_SYNCHRONIZATION_MUTEX_H_
#include <atomic>
#include "absl/base/attributes.h"
#include "absl/base/const_init.h"
#include "rtc_base/checks.h"
#include "rtc_base/thread_annotations.h"
#if defined(WEBRTC_ABSL_MUTEX)
#include "rtc_base/synchronization/m... | [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
74785a8b97d58be774b2ededcd60bd2e46271715 | 07327b5e8b2831b12352bf7c6426bfda60129da7 | /Include/10.0.10240.0/km/crt/_70_yvals.h | f7d99f56844f8dd16fda3b73da4f963ce5c28e13 | [] | no_license | tpn/winsdk-10 | ca279df0fce03f92036e90fb04196d6282a264b7 | 9b69fd26ac0c7d0b83d378dba01080e93349c2ed | refs/heads/master | 2021-01-10T01:56:18.586459 | 2018-02-19T21:26:31 | 2018-02-19T21:29:50 | 44,352,845 | 218 | 432 | null | null | null | null | UTF-8 | C++ | false | false | 14,621 | h |
/* yvals.h values header for Microsoft C/C++ */
#pragma once
#ifndef _YVALS
#define _YVALS
#include <crtdefs.h>
#ifdef _MSC_VER
#pragma pack(push,_CRT_PACKING)
#endif /* _MSC_VER */
#define _CPPLIB_VER 403
#if defined(MRTDLL) && (_MSC_VER >= 1400)
// process-global is the default for code built wi... | [
"trent@trent.me"
] | trent@trent.me |
c671a577d8ee3ba57553dc2bcddf5621ca0ec723 | a74138b7fbc025c90bb1f37561974e67f475bb7d | /src/freequant/marketdata/Quote.h | 521ccce748169c9c494462ae32ac26a65ca13e84 | [] | no_license | exhau/freequant | 6ea4e2cffc316e549f5268ae072a62f64a117d58 | 043f6fa408933c639696a353bc177d77e5fa59ad | refs/heads/master | 2021-01-18T12:46:20.907056 | 2013-01-15T05:11:48 | 2013-01-15T05:11:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | h | #ifndef FQ_MARKETDATA_QUOTE_H
#define FQ_MARKETDATA_QUOTE_H
#include <iostream>
#include <string>
#include <freequant/utils/DateTime.h>
namespace FreeQuant {
class Quote
{
public:
Quote();
std::string& symbol() const;
FreeQuant::DateTime dateTime;
double bid() const { return _bid; }
... | [
"lu.lee05@gmail.com"
] | lu.lee05@gmail.com |
2cf51c1c9ce2abb0f72fd518d7a090f5adc70af0 | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-16.0/llvm/lib/ObjCopy/MachO/MachOReader.cpp | 2cbffc12adbf765268d606bab67be8cf7a4827e3 | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 14,597 | cpp | //===- MachOReader.cpp ------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com |
4144dc3df2a13ed65d4977b7b658f5e8fced6e24 | d26652dc856c66276f1aa17f8ce714c47bea4b64 | /Editor/Editor/ComponentViewNew.cpp | 5820cb723d9916f261d844a350a0f9ae7fefbcc9 | [] | no_license | PeterValtersson/Editor | 7b759f04918cb5b69d237d46e159ab338eaea93d | 78206df6b749b88b7a9b11825d5005a1d2f473f2 | refs/heads/master | 2023-03-15T10:18:23.041658 | 2023-03-08T20:47:46 | 2023-03-08T20:47:46 | 237,368,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,138 | cpp | #include "ComponentViewNew.h"
void Editor::ComponentViewNew::set_entity(Entity entity)
{
add_component_dialog->clear_components();
component_list = gcnew ComponentList();
component_list_panel->Controls->Clear();
component_list_panel->Controls->Add(component_list);
auto lbl = gcnew Label();
lbl->Text = gcnew Str... | [
"peter.walter.valtersson@gmail.com"
] | peter.walter.valtersson@gmail.com |
21a766f1fc8aaa61f0152d1a1e97e13d05aacb23 | ee3148939df49f3ac1abd5ff7bdf5e69ce76a582 | /interpreter/context.cc | d9ea807ae6824630f66dda2c8ad8b34ec4b59023 | [
"Apache-2.0"
] | permissive | dmuino/atlas-native-client | a7ab096c7fa2ae16cea8bf9b38691332a1a86c90 | 53f2c6e3c20afd807b93b9b920be22cd07a7c8e8 | refs/heads/master | 2021-05-08T03:48:53.452237 | 2017-10-16T19:21:53 | 2017-10-16T19:21:53 | 108,337,353 | 0 | 0 | null | 2017-10-25T23:28:41 | 2017-10-25T23:28:41 | null | UTF-8 | C++ | false | false | 1,934 | cc | #include "context.h"
#include "../util/config_manager.h"
namespace atlas {
namespace interpreter {
Context::Context(std::unique_ptr<Context::Stack> stack)
: stack_(std::move(stack)) {}
static void ensure_stack_notempty(const Context::Stack& stack) {
if (stack.empty()) {
throw std::underflow_error(
"... | [
"dmuino@netflix.com"
] | dmuino@netflix.com |
dc6fee8c1a8dc492021ee2856b78540c18639a3b | a94961a767062340381619041c524eedb4c4c723 | /src/main.cpp | d64f48f4a8dc93c3d19ab8fbd92e7b1ca0b3ab65 | [] | no_license | Hopson97/Flyweight-Test | 8389441dd233aeed19774d8143d4b77985b88e2c | fed88507b750de9fcfc8192dafc7f57363449ea5 | refs/heads/master | 2022-07-05T23:00:48.459426 | 2016-08-12T10:04:08 | 2016-08-12T10:04:08 | 65,467,930 | 2 | 1 | null | 2022-06-18T17:41:16 | 2016-08-11T12:34:24 | C++ | UTF-8 | C++ | false | false | 227 | cpp | #include <iostream>
#include <vector>
#include <memory>
#include "Enemy_Presets/Enemy_Preset.h"
#include "Enemy.h"
#include "Game.h"
#include "Demon.h"
int main()
{
Game game;
game.run();
return EXIT_SUCCESS;
}
| [
"you@example.com"
] | you@example.com |
ed73a120c856b90cd17f6619b21f17e930f2a276 | 8caccbe6a8af084cd712fedc8fe733d884c98063 | /leetcode-com-explore-challenge-card-july-leetcoding-challenge-544-week-1-july-1st-july-7th-3377.cpp | fb059ece9d28e8f2893bd661d2ebc05c66bb2901 | [] | no_license | Ashish-kumar7/leetcode-solutions | 83fdb47d090f239be039ebf6686d4d0c3ae3ce55 | 2a74730be367f1e4675f07f0fbc4a16da13b3622 | refs/heads/master | 2021-11-27T23:35:36.972343 | 2021-10-23T08:00:20 | 2021-10-23T08:00:20 | 228,544,996 | 5 | 10 | null | 2020-10-19T13:34:08 | 2019-12-17T06:06:03 | C++ | UTF-8 | C++ | false | false | 114 | cpp | class Solution {
public:
int arrangeCoins(int n) {
return floor(-0.5+sqrt((double)2*n+0.25));
}
}; | [
"ashishkumar357ak@gmail.com"
] | ashishkumar357ak@gmail.com |
58e3784a6026afbe47b371ceee7ba653bfe74d99 | 417a42980a2698a77a15a6797d9d3a6b9fa26acd | /Compete McGill/Topic 1 - Introduction/1355A.cpp | c82d683ae274494e026912b86c782736de46728d | [] | no_license | nhthung/mcgill-uni | edab82293dbaf1c770792e5b7c1aa52a5dd012e6 | f480eaa44bfb85f95fa0038f6ef263e70a8351ed | refs/heads/master | 2022-11-18T08:08:57.972574 | 2020-05-26T06:09:26 | 2020-05-26T06:09:26 | 242,887,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | cpp | // Link: https://codeforces.com/problemset/problem/1355/A
#include <bits/stdc++.h>
#define print(iter,n) for(int i=0;i<n;i++){cout << iter[i] << " ";}; cout << "\n";
typedef long long ll;
using namespace std;
int t;
ll _min,_max;
void digits(ll n){
_min=9;_max=0;
ll d;
do{
d=n%10;
_min=mi... | [
"le.nhthung@gmail.com"
] | le.nhthung@gmail.com |
6fc24d36e55537a423e0e603bf205104e698be43 | fbbb520f727efc85b915ad18ad43346a55286658 | /src/util/sll/tests/typelist.cpp | 66a7f3213f01df81e70e334dd54f39cbe7067630 | [
"BSL-1.0"
] | permissive | MPogoda/leechcraft | bac54a4481ed5625a9bc7c1db2c5c6308974d599 | 1440bb588a18be7292b00b03bb669e12aad9cd85 | refs/heads/master | 2021-01-16T21:04:51.684850 | 2015-10-24T12:30:12 | 2015-10-24T12:30:12 | 32,350,704 | 0 | 0 | null | 2015-05-10T13:25:39 | 2015-03-16T20:21:15 | C++ | UTF-8 | C++ | false | false | 2,271 | cpp | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
338f9d030a2c6ddda0d0e21c4fd2cc58f962fa36 | 28dba754ddf8211d754dd4a6b0704bbedb2bd373 | /AtCoder/AtCoder Beginner Contest 183/F/main.cpp | f5b3439960029392587e187d55f95e110a26f4ef | [] | no_license | zjsxzy/algo | 599354679bd72ef20c724bb50b42fce65ceab76f | a84494969952f981bfdc38003f7269e5c80a142e | refs/heads/master | 2023-08-31T17:00:53.393421 | 2023-08-19T14:20:31 | 2023-08-19T14:20:31 | 10,140,040 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,871 | cpp | #include <map>
#include <set>
#include <list>
#include <cmath>
#include <queue>
#include <stack>
#include <bitset>
#include <vector>
#include <cstdio>
#include <string>
#include <cassert>
#include <climits>
#include <sstream>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace... | [
"zjsxzy@gmail.com"
] | zjsxzy@gmail.com |
e065bf3a6af9d761ff3da36ec583458efc50962b | 13a32b92b1ba8ffb07e810dcc8ccdf1b8b1671ab | /home--tommy--mypy/mypy/lib/python2.7/site-packages/pystan/stan/src/stan/model/prob_grad.hpp | 04585d7db290802ee3b4ac14d1af659cb16b334a | [
"Unlicense"
] | permissive | tommybutler/mlearnpy2 | 8ec52bcd03208c9771d8d02ede8eaa91a95bda30 | 9e5d377d0242ac5eb1e82a357e6701095a8ca1ff | refs/heads/master | 2022-10-24T23:30:18.705329 | 2022-10-17T15:41:37 | 2022-10-17T15:41:37 | 118,529,175 | 0 | 2 | Unlicense | 2022-10-15T23:32:18 | 2018-01-22T23:27:10 | Python | UTF-8 | C++ | false | false | 1,207 | hpp | #ifndef STAN_MODEL_PROB_GRAD_HPP
#define STAN_MODEL_PROB_GRAD_HPP
#include <cstddef>
#include <utility>
#include <vector>
namespace stan {
namespace model {
/**
* The <code>prob_grad</code> class represents the basic parameter
* holders for a model. The command <code>bin/stanc</code> builds
* ... | [
"tbutler.github@internetalias.net"
] | tbutler.github@internetalias.net |
7eaa81c1feb95592b1b2a00ec35a1716979d0b7a | 20d4046ac3267516eb9425a4c6876e1dd28f74bc | /Simulator/Simulator/Simulator.Shared/Renderer/Helper.h | f6fedee9694a229e42f36313f7dd43259d0144e6 | [] | no_license | trinhvo/simulation | 9474feb3ea6e4403de944297698dfd40ea5bc05c | 277c31ac2f124bb088c8f2ed05ada3acf18e21ec | refs/heads/master | 2020-06-04T02:51:20.520964 | 2015-12-17T17:50:02 | 2015-12-17T17:50:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,032 | h | #pragma once
#include <ppltasks.h> // For create_task
namespace Renderer
{
inline void ThrowIfFailed(HRESULT hr)
{
if (FAILED(hr))
{
// Set a breakpoint on this line to catch Win32 API errors.
throw Platform::Exception::CreateException(hr);
}
}
// Function that reads from a binary file asynchronously... | [
"waemfinger@gmail.com"
] | waemfinger@gmail.com |
fe679953b7d5370f54fc4eb846a17bf436042aa6 | b33a9177edaaf6bf185ef20bf87d36eada719d4f | /qtbase/src/plugins/platforms/cocoa/qcocoaintegration.h | e7e21c356a19e5c7c973e973df4ad620066629b8 | [
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-commercial-license",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"LicenseRef-scancode-qt-commercial-1.1",
"LGPL-3.0-only",
"LicenseRef-scancode-qt-company-exception-lgpl-2.1",
... | permissive | wgnet/wds_qt | ab8c093b8c6eead9adf4057d843e00f04915d987 | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | refs/heads/master | 2021-04-02T11:07:10.181067 | 2020-06-02T10:29:03 | 2020-06-02T10:34:19 | 248,267,925 | 1 | 0 | Apache-2.0 | 2020-04-30T12:16:53 | 2020-03-18T15:20:38 | null | UTF-8 | C++ | false | false | 6,718 | h | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercial Q... | [
"p_pavlov@wargaming.net"
] | p_pavlov@wargaming.net |
3a99e98baf9a235f487945dff059f84404483306 | c3f054bc890f718f52306e2e027e7fe853887532 | /matrix.hpp | 2421b765e0f3a1778379079f78c775dc7de8778e | [] | no_license | matteodusefante/CO_SMM | 993132f815a95104f2cbd157fb4f36c59a377664 | 3fd72c892f93a2cabf08caaa8b0fea8aef0f8e7a | refs/heads/master | 2020-04-01T21:56:24.819400 | 2018-10-18T21:01:27 | 2018-10-18T21:01:27 | 153,682,955 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,082 | hpp | #include <numeric>
namespace matrix {
typedef int32_t entry_t;
typedef int32_t index_t;
template <typename T> class entry {
public:
index_t i, j;
T a;
entry() : i(-1), j(-1), a(0) {} // dummy entry as default
~entry() {}
entry(index_t i, index_t j, const T &a) : i(i), j(j), a(a) {}
entry<T> &op... | [
"madu@itu.dk"
] | madu@itu.dk |
2f42f5c77e6d2f571eedd7326f069e73b213f987 | 612a6c88d8c8c1f6a7254a66aa5eeeba4da6088b | /src/Utility/BobMenu.h | 327d3ad73713472ed2ee79f79eb31f599898030c | [
"BSD-2-Clause"
] | permissive | MrAlexand0r/bobsgame | 4aa89d9d7b9bd79d1f3bc14c8c5af7fb52931fce | bfc205e533178d03db61a25c3902af1c870a99ad | refs/heads/master | 2021-01-02T09:44:46.899082 | 2017-08-02T07:06:32 | 2017-08-02T07:06:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,782 | h |
//------------------------------------------------------------------------------
//Copyright Robert Pelloni.
//All Rights Reserved.
//------------------------------------------------------------------------------
#pragma once
#include "bobtypes.h"
#include <src/Engine/EnginePart.h>
#include "Color.h"
#include "Captio... | [
"bob@bobsgame.com"
] | bob@bobsgame.com |
1f00301d5f5239b77eed7775545d80e5f26bf0dd | 182adfdfa907d3efc0395e293dcdbc46898d88eb | /Temp/il2cppOutput/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_V4183481805.h | e1c7b8dcfc98bea512265ee0da84bb1fdcb642de | [] | no_license | Launchable/1.1.3New | d1962418cd7fa184300c62ebfd377630a39bd785 | 625374fae90e8339cec0007d4d7202328bfa03d9 | refs/heads/master | 2021-01-19T07:40:29.930695 | 2017-09-15T17:20:45 | 2017-09-15T17:20:45 | 100,642,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,359 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object2689449295.h"
// System.Collections.Generic.Dictionary`2<System.Int32,SA.Fitness.SubscriptionsRequest>
struct Dictionary_2_t1185454666;
#ifdef __c... | [
"zk.launchable@gmail.com"
] | zk.launchable@gmail.com |
7e7d81fe1552eafd81604d80ebc4b27b018fe047 | 3876600b0f51337ccff24ed6cbe2fd3520d376a6 | /Plugins/Linux/Libs/plugin.cpp | 1f0317dab2204902f1c188c1e3ee56e675d6a739 | [] | no_license | a-colombo/Identikeep | 49f3d4f0484b20a634b8d6fca56f8013130e3c12 | 5ec9697aeabb037764a90615dbd1a4a1fe2e454b | refs/heads/master | 2020-04-03T10:08:23.018082 | 2018-11-27T13:18:57 | 2018-11-27T13:18:57 | 155,184,750 | 0 | 0 | null | 2018-10-30T13:56:43 | 2018-10-29T09:25:21 | C++ | UTF-8 | C++ | false | false | 262 | cpp | #include <pugg/Kernel.h>
#include "Libs.h"
#ifdef _WIN32
# define EXPORTIT __declspec( dllexport )
#else
# define EXPORTIT
#endif
extern "C" EXPORTIT void register_pugg_plugin(pugg::Kernel* kernel)
{
kernel->add_driver(new LibsDriver());
}
| [
"a.colombo@cineca.it"
] | a.colombo@cineca.it |
19ea00ad1cf6abbaa045af7f62af13221ad6a24d | e7289bc387776f34d9bb61275595a51773881407 | /Billiards/Billiards/SceneGameStartMenu.cpp | f1133518a837c9324f24650da0dbbe8128bbc841 | [] | no_license | tsss-t/BilliardsGame | 537c2725810a38084d2c68dc3028338dc13161de | 80fdf227d60efa61772bb3d7836358075187724a | refs/heads/Sprint1 | 2021-01-10T23:21:29.381008 | 2016-11-22T13:11:19 | 2016-11-22T13:11:19 | 70,597,875 | 0 | 0 | null | 2016-11-22T13:11:20 | 2016-10-11T13:46:32 | C++ | UTF-8 | C++ | false | false | 4,753 | cpp | #include "SceneGameStartMenu.h"
#include "System.h"
SceneGameStartMenu *SceneGameStartMenu::_instance = NULL;
SceneGameStartMenu::_EGameStartMenuNext SceneGameStartMenu::nextScene = GameMain;
SceneGameStartMenu::SceneGameStartMenu()
{
sceneNowState = EStartSceneMenuState::FadeInWait;
//背景図の設定
spriteBG = new UISpr... | [
"tianhang du"
] | tianhang du |
e256438f1242c910f98fd98863cbe7390159baf3 | f8fba01244d5666cb77d8c47a8fb8806b26c0395 | /src/node/self_node.hpp | a3260be011b0116859cf40f4c778191e0a3301c5 | [] | no_license | MoriEdan/prologcoin | a9f93d382f08b8601138e8ed33f5c9c6906fea23 | b7ec8d5e76c3e39035e6fa140e6f84b49f9f5a9c | refs/heads/master | 2020-03-31T10:50:09.893905 | 2018-05-16T03:03:44 | 2018-05-16T03:03:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,413 | hpp | #pragma once
#ifndef _node_self_node_hpp
#define _node_self_node_hpp
#include "asio_win32_check.hpp"
#include <boost/thread.hpp>
#include <boost/asio/io_service.hpp>
#include <boost/asio/strand.hpp>
#include <boost/asio/write.hpp>
#include <boost/asio/buffer.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio... | [
"datavetaren@datavetaren.se"
] | datavetaren@datavetaren.se |
63910edac999683da39b038270b0c096c8339bfb | 6a408c6754e8cad8376ff030570129963a0f7b2c | /lesson14/l14-8/l14-8/main.cpp | 8bcbf5e811e40139ed56378875ccd6e735e34e91 | [] | no_license | dimmkan/MSHP | e4ed8cb6528747f10900c6fe5bcf650238d3f9f6 | 956629ee2b83df28caacc2554bf7a00e1aad848c | refs/heads/master | 2020-09-07T00:56:01.756864 | 2020-05-30T08:54:08 | 2020-05-30T08:54:08 | 220,607,366 | 1 | 0 | null | 2020-01-31T15:52:26 | 2019-11-09T07:29:26 | C++ | UTF-8 | C++ | false | false | 307 | cpp | #include <iostream>
using namespace std;
int main()
{
int k, sum = 0;
short n, count = 0;
cin >> n;
for(int i=0; i < n; i++){
cin >> k;
if(k > 1000){
sum += k;
count++;
}
}
cout << count << " " << sum;
return 0;
}
| [
"dimmkan@mail.ru"
] | dimmkan@mail.ru |
6c9866cea38382140ac0180bb5cd2e0290d8830f | 52ae39ce7b73ab62d7dcf79ff8a069b08fb079e9 | /OrcSuperStrike_v3/main/OrcSuperStrike_v2/OrcSuperStrike_v2.cpp | a08a1e699706cc1f8c60aef31deebea135e5ae73 | [] | no_license | oskarc35zut/GrafikaKomputerowa | 38a64ba1d6713eb6569314fec23bec2466640f87 | ff6a0586782a52ae56f446dac591ffba6790288f | refs/heads/master | 2021-01-17T22:19:53.849861 | 2017-06-01T22:18:41 | 2017-06-01T22:18:41 | 84,193,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | #include "BasicDemo.h"
#include "FreeGLUTCallbacks.h"
int main(int argc, char** argv)
{
BasicDemo demo;
return glutmain(argc, argv, 1024, 768, "OrcSuperStrike", &demo);
} | [
"gthemaniacpl@gmail.com"
] | gthemaniacpl@gmail.com |
4058da1831e4e85e7c3edfdf2bff9ed988a413d1 | 6d8faae66dd6332836bb11d7f02d6867c95d2a65 | /glast/skymaps/skymaps/PhotonBinner.h | 8948e6e8136df5a40449c770563004b7b8755af3 | [] | no_license | Areustle/fermi-glast | 9085f32f732bec6bf33079ce8e2ea2a0374d0228 | c51b821522a5521af253973fdd080e304fae88cc | refs/heads/master | 2021-01-01T16:04:44.289772 | 2017-09-12T16:35:52 | 2017-09-12T16:35:52 | 97,769,090 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,580 | h | /** @file PhotonBinner.h
@brief declare class PhotonBinner
$Header: /glast/ScienceTools/glast/skymaps/skymaps/PhotonBinner.h,v 1.2.2.2 2017/02/01 04:23:56 jasercio Exp $
*/
#ifndef skymaps_PhotonBinner_h
#define skymaps_PhotonBinner_h
//#include "skymaps/BinnedPhoton.h"
namespace astro {class Photon;}
//namespace s... | [
"areustledev@gmail.com"
] | areustledev@gmail.com |
4b0c8869d962beb2535435c128f26d6a3607d43f | fae99f3428834f5dc98b2f2d7bca1c56f5440d90 | /src/ArapDeformer.h | b9181fd77b77e139288bf15d4ed1e5eb0988120c | [] | no_license | annareithmeir/AsRigidAsPossibleDeformer | 2e2f30d6385eb75bdb2241d67d187254f3359b09 | e67f0292c4e0f6f8344a9663603d4881871b7fb0 | refs/heads/main | 2023-03-21T01:52:37.396130 | 2021-03-23T11:38:59 | 2021-03-23T11:38:59 | 350,673,931 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,706 | h | #pragma once
#include <iostream>
#include <fstream>
#include <Eigen/Sparse>
#include "Eigen.h"
#include "SimpleMesh.h"
// #include <omp.h>
using namespace std;
#define THRESHOLD 1.0e-3f // Threshold for ending optimization
//The fixed points and handles are represented as constraints
struct Constraint... | [
"anna.reithmeir@tum.de"
] | anna.reithmeir@tum.de |
bf590c8d3bf1e96aaf25524d1cb1e4ead666d7d6 | 1d10cd89b6f309e0c0b9ad2bd1e162776f734a33 | /OpcodeToConnectionGenerator/Main.cpp | 8947b72df3796c0d955ec70ef0c4a87002530665 | [] | no_license | catontheway/wow-tools | 88bcc57c60058dc680c583a0c24d48b67cf34ee0 | 26bccf02ba028d908ec7bab64b135cc57ada9457 | refs/heads/master | 2020-04-07T20:14:26.210019 | 2018-11-12T11:08:36 | 2018-11-12T11:08:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,470 | cpp |
#include <Windows.h>
#include <cstdio>
#include "ServerOpcodes.h"
#include "Enum.h"
#include <fstream>
#include <map>
typedef bool(__cdecl *JamCheckFn)(WORD);
struct JamGroup
{
JamCheckFn BelongsToGroup;
JamCheckFn RequiresInstanceConnection;
};
void DumpEnum(Enum const& enumData, std::string const& fileNam... | [
"shauren.trinity@gmail.com"
] | shauren.trinity@gmail.com |
3f0869c3a8e58bfb010c083416c3858357de247b | b4e238cb8ae9ee439f3bf2052de24ddcde4276b5 | /2017级/第五次周赛 (1)/C.cpp | 01328a9c01404f6278cff6a0c158e0724c55bb5e | [] | no_license | nbutacm/NBUTACM | b91206a9d91dfce8fd6ab13e197db4a61b0d5637 | 5a764d89c5052e1a86dfb7f67516a42950482b58 | refs/heads/master | 2022-01-27T00:01:41.790721 | 2022-01-17T08:25:12 | 2022-01-17T08:25:12 | 174,715,583 | 20 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 469 | cpp | #include<stdio.h>
int min(int a,int b){
return a>b?b:a;
}
int n,m,a,b,c;
int main(){
scanf("%d%d%d%d",&n,&m,&a,&b);
if(b/m>=a){ //说明普通票便宜,全用地铁票
printf("%d\n",n*a);
}
else{ //说明特价票便宜,大部分用特价票,最后剩下的路程再判断特价票便宜还是普通票便宜?
int ans=n/m*b;
n=n%m;
ans+=m... | [
"rxyhchen@163.com"
] | rxyhchen@163.com |
e2d50b46ebe8162095c669d0da7d7ce670a30248 | 8232bb98c0286e1c95babc6bebbbbd30ef204c29 | /b/src/b.cpp | f066b1ae04cffa30a568280fc1cf6e00aecfa958 | [] | no_license | njlr/buck-transitive-headers | c97bc09c1e0fd34052c67c569d7796978fa09564 | 8ea4d68e2106b8aaed09b600568457a4b6063fa1 | refs/heads/master | 2020-03-29T15:42:54.618414 | 2018-09-24T08:58:25 | 2018-09-24T08:58:25 | 150,076,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 95 | cpp | #include <b/b.hpp>
#include <c/c.hpp>
std::string b() {
return "Hello from b and " + c();
}
| [
"njlr@users.noreply.github.com"
] | njlr@users.noreply.github.com |
f947376812e4da91ed3ae95e48f6512008996490 | ede5c07ea94a26495c6604d45003595a0a168501 | /C++/复数案例/main.cpp | 01b7c1a1cc7b1f96082742fd98544f656606a8f5 | [] | no_license | wykill/wyfight | 6a4ac6d9c1ab6dda2094d265d24cd603c5d7f6ac | 088677c27fd0fe7a7214d15e6b077cc650c7c1e0 | refs/heads/master | 2021-05-26T11:44:48.633129 | 2020-06-14T14:21:35 | 2020-06-14T14:21:35 | 254,118,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | #include "Complex.hpp"
#include <iostream>
using namespace std;
int main()
{
Complex();
Complex com1(1, 2);
Complex com2(3, -6);
Complex resultCom;
resultCom = com1 + com2;
cout << resultCom << endl;
}
| [
"wyfight@sjtu.edu.cn"
] | wyfight@sjtu.edu.cn |
021735b478aae122f71a0df6e50ea5422337d88f | dcf3b364645a1c6ce9c0ac17bfa3f1a4c7b9b7ae | /client/frameworks/runtime-src/Classes/foundation/render/GVirtualCamera.h | aa5c62239a5029401544e90c4f207b47082a583f | [] | no_license | cu8Fsuz/Kurumi | 73235466850f66461b82ca362d00a087fdaf9baf | aaa3e4fca3205686bbb5b02662dffac6d6f0d1c8 | refs/heads/master | 2023-07-24T14:01:47.828798 | 2021-09-01T03:41:04 | 2021-09-01T03:41:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,714 | h | #pragma once
#include "foundation/GameMacro.h"
#include "cocos2d.h"
USING_NS_CC;
class GVirtualCamera : public cocos2d::Component
{
public:
GVirtualCamera();
static GVirtualCamera * create();
void setFocalPos(const Vec2& pos);
const Vec2& getFocalPos();
// 设置视口大小
void setViewPortSize(const Size& viewSiz... | [
"www.tkzc@foxmail.com"
] | www.tkzc@foxmail.com |
188343669b8df9e687aa4f7d4e9e0d7abe33fd2a | 56ca291048e226509d5d259efc5bfe03a43445ac | /media/gpu/vaapi/vaapi_jpeg_encode_accelerator.cc | 4f7f959d90e24dfd00c35b1e81b27fa8aa4536b5 | [
"BSD-3-Clause"
] | permissive | Scootkali14001/chromium | 7a5259716eb124a72a3b689c9ba552b1e48fa882 | b922abbb37d7651bc553bfd8dda3fb7c1071950d | refs/heads/master | 2023-03-04T09:35:05.533934 | 2018-06-06T14:10:32 | 2018-06-06T14:10:32 | 136,340,614 | 1 | 0 | null | 2018-06-06T14:28:21 | 2018-06-06T14:28:21 | null | UTF-8 | C++ | false | false | 12,256 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/gpu/vaapi/vaapi_jpeg_encode_accelerator.h"
#include <stddef.h>
#include <memory>
#include <utility>
#include "base/bind.h"
#include "ba... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
7f0f9cdb06d3476f77448324bba72182b5d6cabb | 21f3fcce3bcc8f8631ff55daaf5ba53ca7db1c3a | /src/Editor/Undo/CSelectNodeCommand.h | f20443f34b2b10022007b2c8e1ec927c008b458b | [
"MIT"
] | permissive | villadox/PrimeWorldEditor | 3d87eb5a9a2f94030e696e7d40d288c9b7c3d57f | 9eb3d1d0110e2c28df0c9ebf29b905982a697f2d | refs/heads/master | 2020-04-13T06:58:40.070653 | 2018-12-24T05:41:21 | 2018-12-24T05:41:21 | 163,036,474 | 1 | 0 | MIT | 2018-12-25T02:04:15 | 2018-12-25T02:04:14 | null | UTF-8 | C++ | false | false | 659 | h | #ifndef CSELECTNODECOMMAND_H
#define CSELECTNODECOMMAND_H
#include "IUndoCommand.h"
#include "ObjReferences.h"
#include "Editor/INodeEditor.h"
#include <Core/Scene/CSceneNode.h>
class CSelectNodeCommand : public IUndoCommand
{
CNodePtr mpNode;
CNodeSelection *mpSelection;
public:
CSelectNodeCommand(CNode... | [
"parax0@github.com"
] | parax0@github.com |
b2e46997ccb50e20257ba0dad4a3b7df96de3f50 | 6a3a50538c544c9f8d65bcb8f96d4e3b68a4e848 | /Sources/Bomberman/CollideEvent.cpp | 67ce6a812e75c121600e876c208070532b478b02 | [] | no_license | lejard-h/cpp_bomberman | 8f2d7eabebc1b872e189f066caeee78bc2550569 | 3ba7dcbc77ac87fb47be006446c537da7055b2dc | refs/heads/master | 2016-09-06T08:57:09.230787 | 2014-07-11T08:55:12 | 2014-07-11T08:55:12 | 21,691,750 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 765 | cpp | /*
** CollideEvent.cpp for Bomberman in /home/lejard_h/rendu/cpp_bomberman/Bomberman
**
** Made by hadrien lejard
** Login <lejard_h@epitech.net>
**
** Started on dim. juin 08 18:02:26 2014 hadrien lejard
** Last update dim. juin 08 18:02:26 2014 hadrien lejard
*/
#include "ColliderEven... | [
"lejard_h@epitech.eu"
] | lejard_h@epitech.eu |
a70e7e3d1f75ef6d89546b989088356bcfe17b9f | cf068181cae1dff285c17a4ea368cb6243838a6a | /CCGHomework_skeleton/ot_2d/src/CDomainOptimalTransport.cpp | 1fe18558ea59f52e60be69bf97c5a5b2a1a19f85 | [] | no_license | zhangheng1111/CG2020 | e38b1595b9986df8bdc7e13b55e040a457cba3fb | 94c8d85a8ca0889dae0e580fc0147d999f18b3fb | refs/heads/master | 2023-03-19T00:42:08.199170 | 2021-02-21T05:05:42 | 2021-02-21T05:05:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,658 | cpp | /*! \file DomainOptimalTransport.cpp
* \brief OptimalTransport
* \author David Gu
* \date documented on 05/18/2020
*
* Class for Planar Optimal Transportation, Semi-Discrete Algorithm
*/
#include <Eigen/Eigen>
#include "CDomainOptimalTransport.h"
#include "Geometry/Point.h"
#include "M... | [
"zekun@neuri.ai"
] | zekun@neuri.ai |
b9663ccaf6c871b3777b0faa8c3a4a883dc3b220 | 21ae78935b0a9ba96ef826d35ba44baaf40b050f | /src/ofApp.cpp | f4fe05324eef52a1ebb39716c5ef8c73ccbf5a3d | [
"MIT"
] | permissive | jflassche/IOK | d8f89b8ab1761095726b51ee841cc339de28fd93 | e40c52a681e31bd3a0209f11e4de2268cc2d55e1 | refs/heads/master | 2023-05-05T18:39:05.039496 | 2021-05-29T21:47:23 | 2021-05-29T21:47:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,076 | cpp | /*
* Interactieve OK
* Jeroen Lassche (j.lassche@bravis.nl)
*
* Fork van het project:
* Immersief, interactief operatiekwartier
* door Team Scheire, Imec en Jan Everaert
* https://github.com/imec-int/team_scheire_OK
*/
#include "ofApp.hpp"
/*
* Tekenen van markers, oppervlakten (videos), eventuele informatie, framec... | [
"jeroen@mtpp.nl"
] | jeroen@mtpp.nl |
35dbcb4fa8b94e347d9f07b0b3e1a2b8e5eaf77a | 0c0180ff4dae7362d83f0200830ae60532a4d9f4 | /Character/HeroState/StunnedHeroState.h | 6f32e488a06aa205eb8b7b79812e60092fa058fb | [] | no_license | DariaVas/RPG | 7cf892ef77f01a11863f42ba4073b648168af83a | 6ad7b03596c0d00ad034f32b7d90e8554973d6f3 | refs/heads/master | 2022-03-25T22:24:45.728543 | 2019-12-01T14:12:21 | 2019-12-01T14:12:21 | 197,945,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | h | #ifndef STUNNEDHEROSTATE_H
#define STUNNEDHEROSTATE_H
#include "HeroState.h"
class StunnedHeroState : public HeroState
{
public:
StunnedHeroState();
std::vector <Damage> generate_damages(Outfit *outfit, Character *ch) override;
bool can_dodge(Character *victim) override;
Damage try_to_reflect_damag... | [
"DariaVas"
] | DariaVas |
642286f5e0c44cba47d9bfa5e5aee521c8ef7ffd | 6ea50d800eaf5690de87eea3f99839f07c662c8b | /ver.0.8.1/Recipe.h | 8425436efcf1b728a1e14c7ae92912bb08f09c0f | [] | no_license | Toku555/MCPE-Headers | 73eefeab8754a9ce9db2545fb0ea437328cade9e | b0806aebd8c3f4638a1972199623d1bf686e6497 | refs/heads/master | 2021-01-15T20:53:23.115576 | 2016-09-01T15:38:27 | 2016-09-01T15:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144 | h | #pragma once
class Recipe{
public:
Recipe(void);
void getItemPack(void);
void isAnyAuxValue(int);
void ~Recipe();
void ~Recipe();
};
| [
"sinigami3427@gmail.com"
] | sinigami3427@gmail.com |
50dfbd9faa66d2b7800a260b9fc6cf3a7242e0f4 | 495c0cd2096877b73ee3dd5163b8ff5552fa46f6 | /cocos2dx/menu_nodes/CCMenuItem.cpp | 926838b342055fddfe4b21141e0ebb76f83d0a71 | [] | no_license | zhutaotao/cocos2dx-classical | 1d12805d8c9731d5bc8db59a6018ca375d304ada | 96c26e85e62a5948ca91a63af69b69ffb1f5661a | refs/heads/master | 2021-01-18T11:09:09.008051 | 2015-04-02T14:50:13 | 2015-04-02T14:50:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,300 | cpp | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2011 Ricardo Quesada
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and asso... | [
"stubma@gmail.com"
] | stubma@gmail.com |
6d2edad193d7d3a55b84ddffb6786d0eccac3df5 | 7f2e7edff293b0277137516a4f0b88021a63f1e3 | /Material/needrefactor/REAL/TPZMatWithMemTranslator.cpp | ac54ff513afa57cb9675817f125201373e6db3f8 | [] | no_license | labmec/neopz | 3c8da1844164765606a9d4890597947c1fadbb41 | 4c6b6d277ce097b97bfc8dea1b6725860f4fe05a | refs/heads/main | 2023-08-30T22:35:13.662951 | 2022-03-18T19:57:30 | 2022-03-18T19:57:30 | 33,341,900 | 48 | 17 | null | 2023-09-13T19:46:34 | 2015-04-03T02:18:47 | C++ | UTF-8 | C++ | false | false | 150 | cpp | /*
* File: TPZMatWithMemTranslator.cpp
* Author: thiago
*
* Created on 12 de Março de 2018, 18:43
*/
#include "TPZMatWithMemTranslator.h"
| [
"thiago.quinelato@gmail.com"
] | thiago.quinelato@gmail.com |
e6458f4d12a9dfcf110611d570879c7205804f17 | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/411/uniform/functionObjects/functionObjectProperties | 4e7cfcd11cf00a32f9358a4d307dc6ef6bf3df5b | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
21d4e77eb8f84e6072f2648749772c3a9f999131 | 639d1c99e42efcffd232125600855c46b0158e95 | /src/miner.cpp | 07f0cb74eace34521de653b06833fd50f7b0ddd4 | [
"MIT"
] | permissive | SHRIREMA/SJM | a85c6d63b916ba4430bce268f572b67e6a2e3bcc | 0b86181cd4cd4e8a07f8d94d90d72bafa523ff6b | refs/heads/master | 2021-01-20T03:14:04.920084 | 2017-03-14T10:27:49 | 2017-03-14T10:27:49 | 83,595,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,225 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The SJM developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "core.h"
#include "wallet.h"
#include "miner.h"
#include "main.h"
/////... | [
"smcapl@smcapl.com"
] | smcapl@smcapl.com |
b715b9c688fe52e88417a1f6a340d5ec4f1fb1c8 | e3e52a6cd92001d53834934c70472540cf8587af | /src/model/tree/BitNode.cpp | d04839b6d44127d78583de74f4bd4a597e534023 | [] | no_license | mySoul8012/Binary-tree | c444bde1fa3c85d1fb9c1b8d66311c23aeb9c00b | 93e44e63ff9f92fe1dbbfe38ee021e3a7912381c | refs/heads/master | 2020-04-10T16:32:18.497783 | 2019-01-05T09:36:17 | 2019-01-05T09:36:17 | 161,148,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61 | cpp | //
// Created by ming on 18-12-9.
//
#include "BitNode.h"
| [
"mingming@mingming.email"
] | mingming@mingming.email |
a4c59150d08bd180e2c69deea043d49be91c71e7 | d5917f676b2671da4e5d2b2d44b0675273d39017 | /src/common/shared_defs.cc | 80a62bb0edaa5fa5efff6304371cb7357e45b996 | [
"Apache-2.0"
] | permissive | Sawndip/oxcvsm | 93a4afc6feb9736c076ff050a9d6872ddb48f737 | 02fd78231a8b3c4d48e9e759a3a075d04bcd0529 | refs/heads/master | 2021-05-27T23:12:31.759383 | 2014-10-14T14:20:24 | 2014-10-14T14:20:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,300 | cc | // File: shared_defs.cc
// Author: Karl Moritz Hermann (mail@karlmoritz.com)
// Created: 09-05-2013
// Last Update: Thu 03 Oct 2013 11:43:12 AM BST
#include "shared_defs.h"
template<> void modvars<float>::init() { D = 0.0; U = 0.0; V = 0.0; W = 0.0; A = 0.0; Wd = 0.0; Wdr = 0.0; Bd = 0.0; Bdr = 0.0; Wf = 0.0; Wl = 0.... | [
"karlmoritz.hermann@gmail.com"
] | karlmoritz.hermann@gmail.com |
a9d46b4d7233af180fdee0065a18744a92a3c829 | 8f4e61bcb2b418930ee3a9884e8b282a6dcf2b7e | /ui/accessibility/platform/ax_platform_node_textrangeprovider_win.cc | 26295708af981ecf2c1a1c0508548bcae151cc46 | [
"BSD-3-Clause"
] | permissive | sudoWin/chromium | f365fa08fea98b664ecc76f6007d85e77fae8c04 | 8529d4db2db31d59dd2d681ddf9f166195f66a3e | refs/heads/master | 2022-12-30T16:34:39.665939 | 2020-10-21T20:34:11 | 2020-10-21T20:34:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61,388 | cc | // Copyright 2019 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 "ui/accessibility/platform/ax_platform_node_textrangeprovider_win.h"
#include <utility>
#include <vector>
#include "base/i18n/string_search.h"
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
312fc2031c23b3225377dfbfadb729ef34e6fa98 | 2f32906523bc42c3099f41305e54a827b48a1794 | /Pong/PongView.cpp | b2740bf53fc99f0b05a6b5fecc7092bdf228117a | [] | no_license | dtbinh/Pong | ef39801ac0d5e8481c092f2f6118817fbf4e8a03 | 38921c923b7552e0a0199eff1c535246ffba5ff2 | refs/heads/master | 2021-04-09T15:29:43.926334 | 2014-07-09T02:33:37 | 2014-07-09T02:33:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,982 | cpp | #include "stdafx.h"
#include "PongView.h"
#include "DeviceContextManager.h"
PongView::PongView(void)
{
}
PongView::~PongView(void)
{
}
void PongView::paint(bool primary, RECT * playerOne, RECT * playerTwo, RECT * ball, int playerOneScore, int playerTwoScore)
{
extern DeviceContextManager dcManager;
RECT rect;
... | [
"epicfluffgames@gmail.com"
] | epicfluffgames@gmail.com |
6841e792e9c8c9c9e79654a0801e58e70b12df61 | 9fba02a4989d1f37ff7e3d49d47fae8bf0e57bf8 | /AlexanderGoldberg/DungeonCrawl/DungeonCrawl/src/Projectile.cpp | ce9aff7cb88039e85c54f6bcd06081be46a5accc | [] | no_license | agiffor4/PCG-Independent-Study | 3d60cdfc9af54c86a17ad446625df64152fe5b77 | eed4530ba8017cf16c8a7c2bccaa14cd491c1c96 | refs/heads/master | 2020-12-19T23:41:14.011146 | 2020-04-30T22:00:02 | 2020-04-30T22:00:02 | 235,887,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,946 | cpp | #include "Projectile.h"
#include "Damagable.h"
#include "Tile.h"
#include "Enemy.h"
#include "World.h"
#define Property Weapon::weaponProperties
void Projectile::move(float _dt)
{
if (m_checkCollision)
{
Vector2 pos;
float speed = m_speed * m_speedMultiplier * _dt * m_projectileData.projectileSpeedMultiplier;
... | [
"agoldbe6@masonlive.gmu.edu"
] | agoldbe6@masonlive.gmu.edu |
859108a00942eda0bb8ec85304cc29b9ba1e39f2 | 42b2ad825d315eed6c57549f8af4919045aad2a0 | /pneu_tentacle.ino | 7deb6c1e7bdf04f4192eb34e7d3f58dc0445f851 | [] | no_license | hphilamore/pneu_tentacle | e845654bb4770f96467fd6c769241ffd9d647295 | bab98ccd895cab338fceebfcd885ea097b33bfb2 | refs/heads/master | 2023-04-11T02:05:47.858369 | 2021-04-15T11:20:25 | 2021-04-15T11:20:25 | 357,263,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,166 | ino | int t1 = 0; // declares variable t1
int t2 = 0; // declares variable t2
int incomingByte = 0; // for incoming serial data
const int BUFFER_SIZE = 3;
char buf[BUFFER_SIZE];
bool val;
int n_bytes;
//int A_on = A1;
//int A_pump = 12;
//int A_valve = 11;
static const uint8_t button_pins[] = {A1,A2,A3};
int valve_pi... | [
"hemmaphilamore@gmail.com"
] | hemmaphilamore@gmail.com |
c9eab583f711e5958b58187b84c54a3783919360 | 84016e21c18206f27faafd2d58246bb7ff343a08 | /COINS.cpp | 044a0314e4114dc1017560873d01f361611e8dd8 | [] | no_license | vishalanand/spoj | f538910fbd991efa65270a4a92856dc9f3f97144 | 280fe1c1b916e9a181ff0491d9f421d796de1ed4 | refs/heads/master | 2021-05-01T10:19:35.472065 | 2015-12-19T16:30:33 | 2015-12-19T16:30:33 | 47,030,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | cpp | #include <bits/stdc++.h>
#define LIM 1000002
using namespace std;
long long int dp(int n, long long int *save)
{
if(n == 0)
return 0;
if(n < LIM)
{
if(save[n] == -1)
{
//int val = dp(n/2, save) + dp(n/3, save) + dp(n/4, save);
long long int val = dp(n/2, save);
val += dp(n/3, save);... | [
"anand.vishal2994@gmail.com"
] | anand.vishal2994@gmail.com |
3b0aa622ae98e05cf00b7321cf0649bf68d1221b | 50f353f22b82529ad7b7399849c6f947b2ed3483 | /473.cpp | 10364884934450e5ae8a2e8fc8148e4d2c0693c9 | [] | no_license | bapinney/project-euler | 3ecae6ebb5b15b035969b9fb1abbf07fb1abc2de | a8114812ff7ec2d4c5d9d23d13ae85bf35b073bf | refs/heads/master | 2021-09-15T05:27:06.182063 | 2018-05-26T20:37:11 | 2018-05-26T20:37:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,283 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cst... | [
"roosephu@gmail.com"
] | roosephu@gmail.com |
e0f85602c73b462b2c6700d6c01e539b041eb62f | b27cafb55f188c5c4a7dfe41cdad3b1acaf1d759 | /DZBCraft/src/dzb/graphics/frustumculling.h | 808495d3cd7d6f48db59fe7061c3f907200fc681 | [] | no_license | danzabarr/DZBCraft | 42b0a40973ae9a5e33c75293624f605a2c59ccb5 | 2720560ef4685f4ea3c3a5317fef97c80cd156e3 | refs/heads/main | 2023-09-04T22:55:39.894389 | 2021-11-14T09:00:45 | 2021-11-14T09:00:45 | 427,880,640 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,401 | h | #pragma once
#include <GLM/glm.hpp>
#include <GLM/gtc/type_ptr.hpp>
#include "../defines.h"
namespace DZB
{
class FrustumCulling
{
public:
static void GetPlanes(glm::mat4& viewProj, glm::vec4* planes)
{
// x, y, z, and w represent A, B, C and D in the plane equation
// where ABC are the xyz of the planes ... | [
"danzabarr@hotmail.co.uk"
] | danzabarr@hotmail.co.uk |
920ba53d45ab8e60449fa9149fcb883812e25f63 | de4872b8e202f1576ee407afb11d8761207ae7d1 | /source/decompiler/smd.cpp | 39fbaeb7eec33118b866fe30562786bd4dcfeab7 | [] | no_license | wtrsltnk/MDLstudio | 5d137c073666edf8743a8c9079b2aa15c906dc5e | d630dda512773b7926643caf2e995bd448cbff84 | refs/heads/master | 2021-01-11T05:30:25.679622 | 2020-12-07T20:36:14 | 2020-12-07T20:36:14 | 95,050,220 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 14,956 | cpp | /*
==============================================================
Half-Life MDL Decompiler
2002, Kratisto. Based on code from HL SDK
==============================================================
*/
#include "mdldec.h"
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
void CMDLDecompiler::SM... | [
"wouter.saaltink@gmail.com"
] | wouter.saaltink@gmail.com |
058382a78db5552f68b951f1c927b9be35451aec | 5cc6a6d6da114b86ff3ec6cd1ba2f54538141607 | /poker_ai/PythonManager.cpp | 9978bb94736453e435b7bdbc07dbbab438fd287c | [] | no_license | louie0817/poker-ai | 077ce514a6cdbe90f1442baa9628ea07694653a9 | bf1d85acfab2e6c07f5d23a9a0b5d496aa86028b | refs/heads/master | 2023-03-15T12:54:04.562351 | 2016-12-19T19:14:57 | 2016-12-19T19:14:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,699 | cpp | #include "PythonManager.hpp"
#include "StrategyEvaluationDataProvider.hpp"
PythonManager::PlayerMoveResult PythonManager::executionResult;
StrategyEvaluationDataProvider* PythonManager::stratEvalDataProvider;
PyObject* PythonManager::getMoveForDecisionTreeUnit(PyObject* self, PyObject* args) {
unsigned int decisionT... | [
"booherm@mchsi.com"
] | booherm@mchsi.com |
856c8ac21eaf822903b19a1cca100c3530f8f886 | 35cbf0f7f26ce1d06c429a01c1d006ff201ce02f | /ReportDesigner/workbench.h | 5f88690a9c9fcc4937275b72c3046856b44237b3 | [] | no_license | walterqin/weighbridge | 384da46dd03c3787c30fa253a745674b900adcc7 | 0afe406e7394fcc529dddd82af66158ce5b8a9b1 | refs/heads/master | 2021-01-18T13:59:39.966713 | 2016-01-19T09:48:37 | 2016-01-19T09:48:37 | 42,099,107 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 964 | h | #ifndef WORKBENCH_H
#define WORKBENCH_H
#include <QObject>
#include <QPen>
#include <QBrush>
#include <QFont>
class Actions;
class QAction;
#define qWorkbench (Workbench::instance())
class Workbench : public QObject
{
Q_OBJECT
public:
explicit Workbench(QObject *parent = 0);
~Workbench();
static Workbench *i... | [
"walterqin@hotmail.com"
] | walterqin@hotmail.com |
255a10bfc30f7b635f22161ca38771d571d4f0a8 | 503510d6e899af409e75b4ae1f3fb6c964f11448 | /src/GameClient/Windows/Window/DialogWindowLayout.cpp | b8be245eddc221ce6482d2764d82399895778d69 | [
"MIT"
] | permissive | karelz/WarPlusPlus | 5d0002066f705f9ae1952ed03a26d0e94f73cbdf | 9750f0d63bcddd91f253cc9618da3f8b1dda6c9c | refs/heads/master | 2020-06-05T05:31:41.208218 | 2019-09-16T14:00:26 | 2019-09-16T14:00:26 | 192,327,562 | 4 | 4 | MIT | 2019-09-16T14:00:27 | 2019-06-17T10:44:55 | C++ | UTF-8 | C++ | false | false | 1,774 | cpp | // DialogWindowLayout.cpp: implementation of the CDialogWindowLayout class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "DialogWindowLayout.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
/////////////////... | [
"karelz@microsoft.com"
] | karelz@microsoft.com |
0e0c6d3c3cb7dfaf75046c71ac2ffe51a84b8c4e | 3bbd85dba4d8d770d6c95eb53b2b52cd75dd026a | /TankWar/SourceCode/Src/TankEnemy.cpp | 8fdcf858fdead484ce15e81274cac97261cab71a | [] | no_license | dutianbo09/Game_Projects | 816b3fe3765a7b7a0cf8a022d738331af74786ea | 71f5f4aa3f5289cbb80c9d471a5383b4ae947769 | refs/heads/master | 2021-07-22T15:30:41.903792 | 2017-11-01T14:52:00 | 2017-11-01T14:52:00 | 109,131,100 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,947 | cpp | // TankEnemy.cpp: implementation of the CTankEnemy class.
//
//////////////////////////////////////////////////////////////////////
#include "TankEnemy.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
////////////////////////////////////////////////////////////////... | [
"33281758+dutianbo09@users.noreply.github.com"
] | 33281758+dutianbo09@users.noreply.github.com |
54ae6f4c369676eb210c3864d86f9f212d87895e | dd1e9e3796576da599f3981a7abaf2fcd9d6b89a | /lib/libopenmpt/soundlib/ModSample.cpp | 9d0814fdd2fe04dca85e0c607cb562c33b3d0765 | [
"Zlib",
"BSD-3-Clause"
] | permissive | blitzimagine/BlitzSharp3D | 4ae674cfdd2aba09f6844dce10ad44796c92aad0 | cbf25a5d4ad3e1081e819c0dfaeb3ce40cd57860 | refs/heads/master | 2023-04-13T08:50:40.440863 | 2022-06-08T13:41:12 | 2022-06-08T13:41:12 | 189,093,663 | 9 | 1 | NOASSERTION | 2021-09-04T22:52:21 | 2019-05-28T19:52:11 | C | UTF-8 | C++ | false | false | 14,646 | cpp | /*
* ModSample.h
* -----------
* Purpose: Module Sample header class and helpers
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#include "stdafx.h"
#include "Sndfile.h"
#include "ModSample.h"
#include "modsmp_ct... | [
"39096122+HumanGamer@users.noreply.github.com"
] | 39096122+HumanGamer@users.noreply.github.com |
d90b1876aadfd29049eea250fde14ed11d0ce494 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2749486_0/C++/wyl8899/B.cpp | 45ec92f32ae505de8d7805666476155676e42f27 | [] | 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 | 964 | cpp | //#define FILE_IO
#include<iostream>
#include<algorithm>
#include<set>
#include<map>
#include<vector>
#include<queue>
#include<cstdio>
#include<cstring>
using namespace std;
typedef long long ll;
#ifdef unix
#define LLD "%lld"
#else
#define LLD "%I64d"
#endif
typedef double lf;
typedef pair<... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
ff51296c543edf266db111145c6830d4cf6a9b62 | 01ec9b99e91450cc7820be0305393e02efb015fa | /engine/src/wolf.render/w_graphics/w_uniform.h | bc7a9a6d1ec2816637ec60d358d75e0476fdc38b | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mediabuff/Wolf.Engine | 9b718b6183ae3ccdd4674573d3319ed5273ac665 | d1c22fb8852affdaf015c8a705c5fedad003ddfd | refs/heads/master | 2021-01-23T11:34:31.573924 | 2017-08-29T14:45:39 | 2017-08-29T14:45:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,880 | h | /*
Project : Wolf Engine. Copyright(c) Pooya Eimandar (http://PooyaEimandar.com) . All rights reserved.
Source : Please direct any bug to https://github.com/PooyaEimandar/Wolf.Engine/issues
Website : http://WolfSource.io
Name : w_shader_buffer.h
Description : HLSL/GLSL shader buffer(in HLSL refers to... | [
"pooya.eimandar@live.com"
] | pooya.eimandar@live.com |
26923fcc3978d772f2e20c4b3e7906e0126d73ae | bd5d2e32235a1f0bcacb9e9dd70f4e2118f360dd | /hw_4/typed_array.h | 46c567a43011e7e9ab0bc6700674d7c9579e91a2 | [] | no_license | lyen12/520-Assignments | 38df4d23c7ffa2cfc7e1fdcb814be25e653d0bd8 | 5f89c59ac611cdb6ca05686714836c4aef1ff9eb | refs/heads/master | 2020-12-08T09:55:57.485304 | 2020-03-05T05:33:27 | 2020-03-05T05:33:27 | 232,952,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,448 | h | #ifndef TYPED_ARRAY
#define TYPED_ARRAY
#include <assert.h>
#include <iostream>
#include <stdexcept>
template <typename ElementType>
class TypedArray {
public:
// Constructors
TypedArray();
TypedArray(const TypedArray& other);
// Copy constructor
TypedArray& operator=(const Typ... | [
"lyen12@uw.edu"
] | lyen12@uw.edu |
c50d24d81d2518bb3ffe2d0c44ab43a9470ff830 | cbd3ac62b75ac3dceb6ffb219eaa3fe9d2ef0c00 | /src/net/android/keystore.h | 471cc2feaeedebeb5e2bc44ab54b86ac9b12679c | [
"BSD-3-Clause"
] | permissive | crazypeace/naiveproxy | d403fa282bcf65cac3eacb519667d6767080d05d | 0a8242dca02b760272d4a0eb8f8a712f9d1093c4 | refs/heads/master | 2023-03-09T21:23:30.415305 | 2022-10-06T17:23:40 | 2022-10-06T17:23:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,947 | h | // Copyright (c) 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 NET_ANDROID_KEYSTORE_H_
#define NET_ANDROID_KEYSTORE_H_
#include <jni.h>
#include <stdint.h>
#include <string>
#include <vector>
#include "... | [
"kizdiv@gmail.com"
] | kizdiv@gmail.com |
7afd5db04a0cec056dc426ce1015b746df1f1673 | b11b2b488d94ae20f58cfe40bae0987c32b5945e | /LEMOS-2.3.x/tutorials/basic/PODSolver/1DPODdiffusion/0/T1POD0 | 7cc78c126c7c71a92a73a359e6aa60e7b2b5ac21 | [] | no_license | jamesjguthrie/mayerTestCase | 93dbd9230e16a0f061cec97c7ddf6cb5303e1c95 | 9279ad56b62efa1507ff8b1bcd96e3ce2daceb56 | refs/heads/master | 2021-03-30T18:20:33.641846 | 2019-06-25T12:55:07 | 2019-06-25T12:55:07 | 26,530,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,669 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.x |
... | [
"james@heyjimmy.net"
] | james@heyjimmy.net | |
cfd3ea69f400080c898cd010b972a46a9a3eaff3 | 662daf88765b3a2a697d3f3d64fe8fb2ffaa3d77 | /Tetris/Source/Engine/TetrisBoard.cpp | a119633712b7fe83c7ecebbd0a7b1393f1a10d08 | [] | no_license | williamfu4github/Tetris | 30c792fb6f75054cf1ff6362d2d729ba0a740311 | 20841d0a6875dc3cbccd53f4ad10eecc7b9b62e4 | refs/heads/master | 2020-04-07T12:08:05.592092 | 2019-04-16T03:13:36 | 2019-04-16T03:13:36 | 157,781,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,110 | cpp | #include "Engine/TetrisBoard.hpp"
#include "Data/TetrisData.hpp"
using std::vector;
const int TetrisBoard::boardSizeColumn = 10;
const int TetrisBoard::boardBoundaryRow = 20;
const int TetrisBoard::boardSizeRow = 25;
TetrisBoard::TetrisBoard() {
for (int row = 0; row < TetrisBoard::boardSizeRow; row ++) {
... | [
"williamfu4github@gmail.com"
] | williamfu4github@gmail.com |
87bbfb810c9cc26f36c8fc1fe1fb9bfe6342ac2c | 90047daeb462598a924d76ddf4288e832e86417c | /cc/output/renderer_pixeltest.cc | ce4c650f3cc7d772901f5b8603612af7576a7e45 | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 145,672 | cc | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include "base/message_loop/message_loop.h"
#include "cc/base/math_util.h"
#include "cc/output/... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
5a08fc93ff2cd9aa4c144f780df31444c91ede1b | 7c405091fa8bce92fbcf5329448e782150d59fcf | /图论/最近公共祖先 模板.cpp | d9cfea874607202280171b2c7f95c03473cce25e | [] | no_license | WhereIsHeroFrom/Code_Templates | 97c6c008ddb6e8d548455c2fbb9bfe90caa947a4 | 28d8e3988bcdd3267b56c5baf721845b4c88fcdc | refs/heads/master | 2022-05-06T18:25:08.218099 | 2022-04-26T00:02:30 | 2022-04-26T00:02:30 | 119,244,828 | 141 | 39 | null | null | null | null | GB18030 | C++ | false | false | 4,089 | cpp | #include <iostream>
#include <vector>
#include <map>
using namespace std;
// RMQ 区间最小值询问
// 该模板用于求区间最小值,如果要求最大值,可以将所有数去相反数,然后求最小值后再取反即可。
// LCA 构造的时候点数MAXN需要是规模的两倍,因为记录边的时候记录的是双向边
#define MAXN 200020
#define MAXM 20
// typedef __int64 ValueType;
// typedef double ValueType;
typedef int ValueType;
int lg2K[MAXN];
/... | [
"menjitianya2007@163.com"
] | menjitianya2007@163.com |
6645eb58a72c593791fc7b4a15916122454fd28e | 54976d056616b845c6640800df7148250378d32e | /Strassenverkehr/Aufgabenblock_3/Fahrrad.h | 1b1e2d3dd3d74cd5e14ee34499c95bf93aadef8b | [] | no_license | Stat1c-V01D/Info2-Praktikum | 6b93778e67a8d0e8cddf739cb70f72df98d81f89 | 07615b6cb9ff2771b3e6cd57a44266a51c03e401 | refs/heads/master | 2021-09-05T18:29:37.323933 | 2018-01-30T08:34:24 | 2018-01-30T08:34:24 | 107,258,875 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 563 | h | #pragma once
#include"Fahrzeug.h"
#include"PKW.h"
class Fahrrad : public Fahrzeug
{
public:
Fahrrad();
Fahrrad(const Fahrrad& fahrrad);
Fahrrad(string namestr);
Fahrrad(string namestr, double MaxGeschwindigkeit);
virtual ~Fahrrad();
void virtual vAusgabe();
void virtual vostreamAusgabe(ostream &out);
void virt... | [
"kai.schmitz1@rwth-aachen.de"
] | kai.schmitz1@rwth-aachen.de |
a2c3e4d0b8b998b5479fa97d86dd49286579af07 | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/tutorials/multiphase/twoPhaseEulerFoam/RAS/bubbleColumn/29/U.water | e272c4c581947b7656d629cedf153e082a8aa339 | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,569 | water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"mizuha.watanabe@gmail.com"
] | mizuha.watanabe@gmail.com |
8a85951aa6370081c957c72fa2aae879a508624d | bc289eba6dc8c82a4b9c48f2a4048434cadb2f1b | /include/vpi/chassis/DifferentialDriveChassis.h | 46c26ee6da18b8c4082ee8f069fd3152931d2ae5 | [] | no_license | VexWPILib/TrajectoryTester | ca58209a449d2ac42eba49212435022df85bc6ac | 04f9e526578b454fa540901a41b14de9cb9c7879 | refs/heads/main | 2023-09-04T14:47:34.337524 | 2021-11-26T17:58:40 | 2021-11-26T17:58:40 | 431,356,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,714 | h | // Copyright (c) VexWPIApi contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the VexWPIApi BSD license file in the root directory of this project.
#pragma once
#include <array>
#include <thread>
#include <vector>
#include "vex.h"
#include "vpi/drive/DifferentialDr... | [
"dcieslak@hotmail.com"
] | dcieslak@hotmail.com |
1a7e4f31e9d2b8c092e6bfec32c8750f0e0baeb4 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE121_Stack_Based_Buffer_Overflow/s06/CWE121_Stack_Based_Buffer_Overflow__CWE806_char_declare_memmove_33.cpp | 06cdb94390b2d5a956f279aa6d71130a50816f70 | [] | 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 | 3,133 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE806_char_declare_memmove_33.cpp
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE806.label.xml
Template File: sources-sink-33.tmpl.cpp
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: In... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
8754868d6bc22b07d658966074e0a31aaa28aaa7 | b4b4e324cbc6159a02597aa66f52cb8e1bc43bc1 | /C++ code/成大暑期高中生程式設計競賽/B.cpp | 5aa50d163e581d76d097ca92167195998799fa15 | [] | no_license | fsps60312/old-C-code | 5d0ffa0796dde5ab04c839e1dc786267b67de902 | b4be562c873afe9eacb45ab14f61c15b7115fc07 | refs/heads/master | 2022-11-30T10:55:25.587197 | 2017-06-03T16:23:03 | 2017-06-03T16:23:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | cpp | #include<cstdio>
#include<cassert>
#include<cmath>
//#include<algorithm>
using namespace std;
typedef long long LL;
const int INF=2147483647;
template<class T>inline bool getmin(T&a,const T&b){return b<a?(a=b,true):false;}
template<class T>inline bool getmax(T&a,const T&b){return a<b?(a=b,true):false;}
LL Pow(LL a,LL p... | [
"fsps60312@yahoo.com.tw"
] | fsps60312@yahoo.com.tw |
637bd8fc1ffd729d0730e4f97c7f2138e49ddaf4 | bfdb2019da758a32ccf356c6ab978e17d4df1167 | /libtorrent/src/lt_trackers.cpp | 90adb8fd41c7074fd982aa258faa574408b32546 | [
"BSD-3-Clause",
"MIT",
"Zlib",
"LGPL-2.1-or-later",
"BSL-1.0"
] | permissive | appotry/twister-core | 8120365b74bd40820d9b0c55853083eee20f8e9e | a3a926e3d4b46c52e49f7f93298ff6b6c6b782f8 | refs/heads/master | 2022-06-24T10:14:36.447737 | 2022-06-08T18:47:19 | 2022-06-08T18:47:19 | 49,109,736 | 0 | 0 | MIT | 2022-06-09T05:33:59 | 2016-01-06T03:29:10 | C++ | UTF-8 | C++ | false | false | 10,018 | cpp | /*
Copyright (c) 2008-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | [
"miguel@mf.site"
] | miguel@mf.site |
71dcefa60cf5c66fc5c7d23bc08e8fee1fb1b0e2 | 0a2673d6f14184ecfd216f69b452ffa823e4ce6f | /include/math/mat22.h | 5f55ad746664fc80a438bdf4d0ba40e0656383a6 | [
"MIT"
] | permissive | GuyTristram/grt | ce39fb911d4527576123729e6fc089f003bb8e61 | 4329ed58f22248ed4924246e148fb6b5f3f7e1bc | refs/heads/master | 2021-01-17T15:19:50.923274 | 2016-04-05T17:23:42 | 2016-04-05T17:23:42 | 30,459,838 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,463 | h | #ifndef mat22_H
#define mat22_H
#include <math.h>
#include "vec2.h"
template< typename T >
struct mat22
{
typedef T scalar;
typedef vec2< T > column;
mat22() : i( 1, 0 ), j( 0,1 ) {}
mat22( column const &i, column const &j ) : i( i ), j( j ) {}
column &operator[]( int index ) {return *( &i + ind... | [
"guy.tristram@gmail.com"
] | guy.tristram@gmail.com |
058ddf35c92ab11667e9c5d81ecfa871bdee9879 | 846a7668ac964632bdb6db639ab381be11c13b77 | /android/frameworks/av/media/libcedarx/demo/demoOmxVdec/demoOmxVdec.cpp | 52a11a65a7b847bdd54db56a10b28ab84dd3b57b | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | BPI-SINOVOIP/BPI-A64-Android8 | f2900965e96fd6f2a28ced68af668a858b15ebe1 | 744c72c133b9bf5d2e9efe0ab33e01e6e51d5743 | refs/heads/master | 2023-05-21T08:02:23.364495 | 2020-07-15T11:27:51 | 2020-07-15T11:27:51 | 143,945,191 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,087 | cpp | #include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <pthread.h>
#include <sys/time.h>
#include "config.h"
#include "cdx_log.h"
#include "CdxParser.h"
#include "vdecoder.h"
#include "OmxCodec.h"
//#include "layerControl.h"
#include <errno.h>
#define DEMO_PARSER_ERROR (1 << 0)
#define DEMO_DECODER_ERROR ... | [
"mingxin.android@gmail.com"
] | mingxin.android@gmail.com |
43d314d9864853ce01ae55088e59e5804134fbb6 | 723175a9420efaf6a26aea9dd4e813be8cd8e46a | /include/GTGE/Rendering/BlendFunctions.hpp | 15487ee2e073adb9c903770cffd8a14d85f6305c | [
"BSL-1.0",
"BSD-2-Clause",
"Zlib",
"MIT"
] | permissive | asdlei99/GTGameEngine | 94bb1a19fb3761832cb815b248c40beb57947616 | 380d1e01774fe6bc2940979e4e5983deef0bf082 | refs/heads/master | 2022-03-25T10:33:58.551508 | 2016-12-30T08:55:00 | 2016-12-30T08:55:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,202 | hpp | // Copyright (C) 2011 - 2014 David Reid. See included LICENCE.
#ifndef GT_Rendering_BlendFunctions
#define GT_Rendering_BlendFunctions
namespace GT
{
enum BlendFunc
{
BlendFunc_Zero,
BlendFunc_One,
BlendFunc_SourceColour,
BlendFunc_OneMinusSourceColour,
BlendFunc_Sourc... | [
"mackron@gmail.com"
] | mackron@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.