blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ece3e837f6319c35a87fb4c371f8f1ff74d7d105 | 0606146ac3b7c3132d8b86d2a7b574d330062c72 | /Engine/Source/Engine/DeferredShading/SsaoCompositorLogic.cpp | 754b6da09bf4f5112077315ea4f5e0ce970b5a43 | [] | no_license | summerbreezeex/SolidBlack | ff6c3a3f4a3391d24a428f14620e7c3590a14cb5 | 5c7bac43443ef234b657ef9b80a3935aaf40e71f | refs/heads/master | 2016-09-06T04:14:12.965044 | 2012-04-30T00:00:26 | 2012-04-30T00:00:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | cpp | #include "Engine/DeferredShading/SsaoListener.h"
#include "SsaoCompositorLogic.h"
Ogre::CompositorInstance::Listener* SsaoCompositorLogic::createListener(Ogre::CompositorInstance* instance) {
return new SsaoListener(instance);
}
| [
"colin.james.hill@gmail.com"
] | colin.james.hill@gmail.com |
a462468e05d536b30c373495f3469769c951938c | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/libtorrent/2016/8/dht_storage.cpp | b7cc6eb6026e2061d1291edba7836d3afe5d6afb | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 16,216 | cpp | /*
Copyright (c) 2012-2016, Arvid Norberg, Alden Torres
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 c... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
40837dbebc76009343067fd39463cf8d0db3cd5e | 6e72bfb69388f3be8af7e2887c56de30ff2a0ba1 | /appinventor/Pods/geos/geos/src/io/Writer.cpp | 707b46c1db01b7011cbce2a181873021bc299b80 | [
"LGPL-2.1-only",
"Apache-2.0"
] | permissive | bobanss/appinventor-sources | 4a0fbc1867ffb2696cb19ff27ff68f0296236883 | 719e7244bf676675b95339871f16e54521a9a47f | refs/heads/master | 2023-07-06T10:30:09.141453 | 2023-06-18T01:07:42 | 2023-06-18T01:07:42 | 208,414,643 | 0 | 0 | Apache-2.0 | 2019-09-14T08:57:27 | 2019-09-14T08:57:27 | null | UTF-8 | C++ | false | false | 1,074 | cpp | /**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2005-2006 Refractions Research Inc.
* Copyright (C) 2001-2002 Vivid Solutions Inc.
*
* This is free software; you can redistribute and/or modify it under
* th... | [
"ewpatton@mit.edu"
] | ewpatton@mit.edu |
8124e921dc2bd7c79f99bcdfb1fada444bb60a4f | c98b6679b5c021cf228c65fc1eebd7d9aebb6654 | /src/wallet.h | 0ab5704a329d4a84636a4b2ef237b7912b58550c | [
"MIT"
] | permissive | 15831944/soypay | c0dee69165bd2b902257ba3202f243317cedf2af | 13deb7c036958179d926f0eb62856adfde52054e | refs/heads/master | 2023-03-16T15:25:40.296995 | 2014-10-23T03:35:45 | 2014-10-23T03:36:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,173 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_WALLET_H
#define BITCOIN_WALLET_H
#include "core.h"
#inclu... | [
"240401736@QQ.COM"
] | 240401736@QQ.COM |
b2604a481b8d90d9b041a1044259b7cb03f9dfa7 | 0a15cb3f5c67a607f315cb5860eca9a450f87b34 | /hardware/xmegaduino/variants/sfe/serial_init.cpp | 89d04d180f42b150aebf40809b81e4960659a62b | [] | no_license | intelligent-lighting-institute/lithne-ide | 8af3ff095eba66a37d04391c4141d3b1dac284cd | e31910b2f3b1f5f50d63aa018fb3f681ecc84574 | refs/heads/master | 2021-01-22T05:01:28.515231 | 2013-07-16T11:08:51 | 2013-07-16T11:08:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,586 | cpp | /*
serial_init.cpp - Initialize serial ports for Arduino
Part of Arduino - http://www.arduino.cc/
Copyright (c) 2011 Karl Backstroem
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation... | [
"elcojacobs@gmail.com"
] | elcojacobs@gmail.com |
dfcb9e22f6de1f82bc6dcd45133047ddf9507b81 | a077fe6ab6eeec48522396d95c204453cc7525b2 | /Source/Event/Listener.cpp | 274423cf4f1747ea539d40f1c4e859538499104a | [
"MIT"
] | permissive | youZhuang/Dorothy-SSR | f406964122a14d45b4e63baa141afe27c5761fda | 700bc497cf69e3bb3a873096d5fc3d293a489863 | refs/heads/master | 2023-03-31T09:41:52.904792 | 2021-03-22T15:08:59 | 2021-03-22T15:08:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,000 | cpp | /* Copyright (c) 2021 Jin Li, http://www.luvfight.me
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, merge, publi... | [
"dragon-fly@qq.com"
] | dragon-fly@qq.com |
dc52d8abcc0b17cea74eb33250a3b9060c3fa232 | 069832c21c56ced036d4f6143d9b2b9017d5a918 | /cpp/P101.cpp | b113efb5bb41bf0b0b0cfecdcc580b68ccdcc25f | [] | no_license | Traeyee/leetcode | 1f3c3ac5cb6ba2531454ba012cb5cb2fccedb076 | 9c2cfc12375e09650c9a48bcfd170dbfca0dcc9c | refs/heads/master | 2022-05-07T04:01:06.163792 | 2022-03-08T01:44:03 | 2022-03-08T01:44:03 | 235,553,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | cpp | /**
* @author cuiyiwork@foxmail.com
* @time 2021-11-17 19:37
* @brief
*/
#include <algorithm>
#include <climits>
#include <iostream>
#include <queue>
#include <random>
#include <sstream>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using n... | [
"dz-00048@163.com"
] | dz-00048@163.com |
14a845b5e54fbd83be2fd79b521ad08dddee914e | 4851256b3d2f07e61ea6ae5d2bc13281fd257c7f | /src/webnn_native/ops/Clamp.h | 62402aeae0589e8c1e55ed7c321dcf04124e92fc | [
"BSD-3-Clause",
"MIT",
"Apache-2.0",
"Unlicense",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | MarkGHX/webnn-native | 61b0ba4a8b7b0161b19093e548d76e0d4cac7805 | e8738a47319b7ffe67206cd9093b241e31b87f89 | refs/heads/main | 2023-07-02T20:05:00.827471 | 2021-07-27T00:08:28 | 2021-07-27T00:08:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,339 | h | // Copyright 2021 The WebNN-native Authors
//
// 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 ... | [
"junwei.fu@intel.com"
] | junwei.fu@intel.com |
ee3d1cf80abf149e6b42fa06aa670f8814d840b5 | f0923ceb7f73de7d9d01e0a28140629f7d38764d | /src/client/Interface/DLGs/CharacterDLG.h | d847e9a5e617c39ef2bf9555c1c750a8cade835b | [] | no_license | uvbs/rose-137 | 95b1ca3ecf5ff4dc80a4a371c35c4090df8fde5a | 78d886fc63b095e962727b35e6b31774ce16c576 | refs/heads/master | 2020-03-18T09:45:22.464847 | 2018-04-02T22:20:48 | 2018-04-02T22:20:48 | 134,579,008 | 1 | 0 | null | 2018-05-23T14:07:39 | 2018-05-23T14:07:39 | null | UHC | C++ | false | false | 2,190 | h |
#ifndef _CHARACTER_DLG_H
#define _CHARACTER_DLG_H
#include "tgamectrl/TDialog.h"
#include "Common/CItem.h"
#include "Common/DataType.h"
/**
* 캐릭터 정보를 보여주기 위한 다이얼로그
*
* @Warning 현재(2005/9/12) 대만(New)버젼에는 조합 정보를 보여주지 않는다( XML에서 탭버튼을 없애서 탭을 이동할수 없도록 되어 있다 )
* @Author 최종진
* @Date 2005/9/12
*/
class CCharacterDLG : ... | [
"ralphminderhoud@gmail.com"
] | ralphminderhoud@gmail.com |
3759f6f8d041cda9d6c9a8edbd4abcc35866b729 | 7c105b8d2c2dcf781292d47b0f464430e3028905 | /problemset/PAT/Advanced Level/1127_liu.cpp | 2d31f08475fef199ea4a63390eacf229560306b4 | [] | no_license | jiafeimao-gjf/BasicKnowledgeofCS | e0b751452c647aa068283a56640a06b58421a15f | 49e4d80a7f1a0e9924b491f5e7dbe8ff6c84c02f | refs/heads/master | 2023-07-06T14:07:40.552273 | 2023-07-02T04:59:28 | 2023-07-02T04:59:28 | 181,401,725 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,715 | cpp | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
vector<int> in,post;//中序遍历和后序遍历序列
vector<int> result[35];//存储每一层的从左至右的序列
int n,tree[35][2],root;
struct node{//记录对应节点的深度
int index,depth;
};
void dfs(int &index,int inLeft,int inRight,int postLeft,int postRight){//递归建树
if(inLeft > inRight)... | [
"1056615746@qq.com"
] | 1056615746@qq.com |
9ab6a0acf3f10c990abecb4336f573b800666a64 | efb8e56bc080a7345730def3215e3cdd5ba15022 | /labos1/AbstractMatrix.h | 406560662b421e49ddd765882112f546d76f92b7 | [] | no_license | msantl/IRG | 6926c61a375d5e008a80119a270384778c73a92b | d8547c84a2a5bad61478f9a714d44f86d313f475 | refs/heads/master | 2021-01-22T02:34:06.827273 | 2013-06-11T18:54:55 | 2013-06-11T18:54:55 | 8,833,042 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | #ifndef ABSTRACTMATRIX_H
#define ABSTRACTMATRIX_H
#include "IRG.h"
#include "IMatrix.h"
#include "IVector.h"
#include <string>
class AbstractMatrix : virtual public IMatrix {
public:
AbstractMatrix();
IMatrix* nTranspose(bool);
IMatrix* add(IMatrix*);
IMatrix* nAdd(IMatrix*);
IMatrix* sub(IMat... | [
"msantl.ck@gmail.com"
] | msantl.ck@gmail.com |
7c6a4fb1ce7f45407812c847f55a2627d04446eb | dde05d28d2bf8cabbf8100e9d06df2bdaccd836b | /ReferenceVariables/Swap_Val_Ref_Ptr.cpp | 42e7565cc57ce1f6123faadfadfa758b9023c239 | [] | no_license | omkarlanghe/c_Plus_Plus | f548e6a841b8b4540157073b7b560439157233ac | a068d8307d2d2f6efc2199e782b1f00a2ab4b15c | refs/heads/master | 2021-07-14T08:29:18.054815 | 2021-06-19T12:53:02 | 2021-06-19T12:53:02 | 141,000,577 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | #include<iostream>
int SwapByValue(int a, int b)
{
int temp = a;
a = b;
b = temp;
}
int SwapByPointers(int *a, int *b)
{
int temp = *a;
*a = *b;
*b = temp;
}
int SwapByReference(int &a, int &b)
{
int temp = a;
a = b;
b = temp;
}
int main()
{
int a = 10, b = 20;
std::cout<<"Before Swapping"<<std::endl... | [
"noreply@github.com"
] | noreply@github.com |
6dd0626745a1d7d7397166022ae41a520cd68e9d | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/SpatialEpi/inst/testfiles/return_death_moves/return_death_moves_DeepState_TestHarness.cpp | b7de2d2e6ec2a37f0de91aa8e1764f4c0948a246 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp | #include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepState.hpp>
NumericMatrix return_death_moves(NumericVector theta);
TEST(SpatialEpi_deepstate_test,return_death_moves_test){
RInside R;
std::cout << "input starts" << std::endl;
NumericVector theta... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
84151dd97d91c41010f804a09c682b2e97403a1e | 0d4b2b82792c277187655ad5af6f95acd5c87c1e | /Problems/800/1385B.cpp | 684aca14030b5e2aeb3345a23d575dec30b08f43 | [] | no_license | OfficialMartian/codeforces | 6cde8a74571316aff62456d33837a6bbcb32f29c | dd647cbd24a42ec3778f2df6a307542acb66d5bd | refs/heads/master | 2023-08-20T03:37:21.599786 | 2021-10-31T15:51:30 | 2021-10-31T15:51:30 | 377,887,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | cpp | typedef long long int ll;
#define push_back pb
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while (t--)
{
int n, temp;
vector<int> V;
map<int, int> a;
cin >> n;
for (int i = 0; i < 2 * n; ++i)
{
cin >> temp;
... | [
"caraj0503@gmail.com"
] | caraj0503@gmail.com |
b3d93950a3f4338c90f0e2ce82a4df5d5251c5d8 | c708d04689d7baad2a9077ee76cfb1ed1e955f25 | /runtime/dart_isolate.h | de006125f03be138435e98d9bb278855d25a2c4b | [
"BSD-3-Clause"
] | permissive | Piinks/engine | 0cdc62979169a5425e398adeffea96d46591da1d | 04b04518565ef18b3197a63a1a3407f84527b9a3 | refs/heads/master | 2023-08-22T14:26:29.627064 | 2021-03-15T21:28:01 | 2021-03-15T21:28:01 | 348,140,618 | 1 | 0 | BSD-3-Clause | 2021-03-15T22:29:08 | 2021-03-15T22:29:08 | null | UTF-8 | C++ | false | false | 26,834 | h | // Copyright 2013 The Flutter 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 FLUTTER_RUNTIME_DART_ISOLATE_H_
#define FLUTTER_RUNTIME_DART_ISOLATE_H_
#include <memory>
#include <optional>
#include <set>
#include <string>
#in... | [
"noreply@github.com"
] | noreply@github.com |
f45887da491916ca07da22b7c497e972f34fe13a | 0e50b99f81332789e304690094a0a903692c9cbb | /test/user_define_classes/UserDefineClasses.hpp | 5fbd7c351cf7cf3c3e1a98d83dc1db19fef189f9 | [
"MIT"
] | permissive | sev7ncm/easyrpc | 0f93447a9294fc63597b6568dd3708554b07ea4c | cdb11698393a6ffd852091929cba2c862b7d84f3 | refs/heads/master | 2020-12-30T19:23:39.732425 | 2016-09-14T14:30:02 | 2016-09-14T14:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,015 | hpp | #ifndef _PROTOCOLDEFINE_H
#define _PROTOCOLDEFINE_H
#ifdef ENABLE_BOOST_SERIALIZATION
#include <boost/archive/binary_oarchive.hpp>
#include <boost/archive/binary_iarchive.hpp>
#include <boost/serialization/base_object.hpp>
#include <boost/serialization/string.hpp>
#include <boost/serialization/vector.hpp>
#include <bo... | [
"787280310@qq.com"
] | 787280310@qq.com |
2883ff2ddb1e393e1065cccf52e16c043e6c9742 | 2ee1d15161fe97b708302773b12b80e7c7584fc7 | /2-szintaktikus-elemzo/parse.cc | bf934ebc6abc00c052ef4853dc399c3469432679 | [] | no_license | lcsoka/fordprog-bead | 60c85b0164a88fabdf19627f2622dfd37bd28fcd | cbd9ff1fb34e8e065c4dfa16f1ac93c3ae8e9452 | refs/heads/master | 2022-01-21T07:21:45.747292 | 2019-04-28T13:59:30 | 2019-04-28T13:59:30 | 171,715,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,215 | cc | // Generated by Bisonc++ V5.02.00 on Fri, 19 Apr 2019 21:07:57 +0200
// $insert class.ih
#include "Parser.ih"
// The FIRST element of SR arrays shown below uses `d_type', defining the
// state's type, and `d_lastIdx' containing the last element's index. If
// d_lastIdx contains the REQ_TOKEN bitflag (see below) then ... | [
"laszlo@eclick.co.hu"
] | laszlo@eclick.co.hu |
554b12c80fdf9381c65a3b05ffdf0c6b31738fa4 | e87caa6011c4f1bbaa71b8fdcd937a94bdbaedb3 | /NTech_2D_Crystal/ResourceManager.cpp | 4b805908225ac692d81e8bd93d3f3f83f947f293 | [] | no_license | CptNO/NTech_2D_Crystal | 6767a536b32b37d5cc680e8069f984808d23f949 | c94109ab07ae271757bfbf3ed07dc832755a715c | refs/heads/master | 2023-01-22T16:32:13.359587 | 2020-12-08T16:13:18 | 2020-12-08T16:13:18 | 319,690,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | #include "ResourceManager.h"
namespace NTCrystal {
TextureCache ResourceManager::m_textureCache;
GLTexture ResourceManager::getTexture(std::string texturePath) {
return m_textureCache.getTexture(texturePath);
}
} | [
"iv_novosel@hotmail.com"
] | iv_novosel@hotmail.com |
eb02c250bf3d7690a0075662af65abe889ef2585 | c4baf3d6e71be34ab4ad5d52ce9848cc6b71e794 | /ByteDance/Tree/437-PathSumIII.cpp | 44407510a6def325de466a2d49b49c0fc91fc877 | [] | no_license | weiqianx/Interview | 5eda3cf6f6bad5ef5ea18960c86fb73e70c391fe | 6f445b99a58bf43fc459959438787aedad81e724 | refs/heads/main | 2023-03-24T10:58:45.887321 | 2021-03-19T03:10:10 | 2021-03-19T03:10:10 | 352,879,950 | 1 | 0 | null | 2021-03-30T05:24:18 | 2021-03-30T05:24:18 | null | UTF-8 | C++ | false | false | 2,340 | cpp | /**
* Definition for a binary tree node.
* 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) : val(x), l... | [
"noreply@github.com"
] | noreply@github.com |
e09c811080edf93160c6a1d8da4ca97123a91c10 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/LArCalorimeter/LArRawConditions/src/LArRampMC.cxx | 92ff80c187cc3948da2f7e729846f4cb83f51ff9 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,291 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#include "LArRawConditions/LArRampMC.h"
#include "AthenaKernel/getMessageSvc.h"
#include "LArElecCalib/ILArMCSymTool.h"
#include <iostream>
using namespace std ;
LArRampMC::LArRampMC() : LArRampComplete() , m_larmcsym("LArMCSymTool")
{... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
780c9f18df7bb671e4e342f25795475c1c95ba15 | fa42b384f3670e8de3d8a6e02efceb870d7a885c | /Theater/Theater/SeatSelection.cpp | 7d55e4d3e6fdcaeec650ebd07e8b4fd502b42648 | [] | no_license | e-esparza/cs3376-assignments | 1d76a0e5c3eea9efe98d82130d51c04607d8a399 | 1a206d6d7763f3d60d9540853bc6a21bd5e76502 | refs/heads/master | 2020-02-26T15:14:04.605809 | 2013-05-02T02:13:24 | 2013-05-02T02:13:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,266 | cpp | //
// SeatSelection.cpp
// Assignment3
//
// Created by Michael Muggler on 3/24/13.
// Copyright (c) 2013 Michael Muggler. All rights reserved.
//
#include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include "SeatSelection.h"
using namespace std;
SeatSelection::SeatSelection(int startingRo... | [
"michael.muggler@utdallas.edu"
] | michael.muggler@utdallas.edu |
ef299dd5a458cff9680f56ac921b2ba7d80eb03a | ba5d1d776888be6ae9688d850f0445d80973ee8f | /game/shared/util_shared.cpp | bc384c9817a1ad1d3c9137df2313b97390544ad6 | [
"MIT"
] | permissive | BerntA/tfo-code | eb127b86111dce2b6f66e98c9476adc9ddbbd267 | b82efd940246af8fe90cb76fa6a96bba42c277b7 | refs/heads/master | 2023-08-17T06:57:13.107323 | 2023-08-09T18:37:54 | 2023-08-09T18:37:54 | 41,260,457 | 16 | 5 | MIT | 2023-05-29T23:35:33 | 2015-08-23T17:52:50 | C++ | UTF-8 | C++ | false | false | 34,267 | cpp | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "mathlib/mathlib.h"
#include "util_shared.h"
#include "model_types.h"
#include "convar.h"
#include "IEffects.h"
#... | [
"bernta1@msn.com"
] | bernta1@msn.com |
f21f136529aef5e05fcc31f76c7116e5dc0ffe2f | 92e979498ec13e4ef1f9ff140e12865b5082c1dd | /SDK/BP_ProjectileCrossbowArrow_functions.cpp | 8dd3f11eeda24c416b4e89cd3992e2a7882b8670 | [] | no_license | ALEHACKsp/BlazingSails-SDK | ac1d98ff67983b9d8e9c527815f17233d045d44d | 900cbb934dc85f7325f1fc8845b90def2298dc2d | refs/heads/master | 2022-04-08T21:55:32.767942 | 2020-03-11T11:37:42 | 2020-03-11T11:37:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,300 | cpp |
#include "../SDK.h"
// Name: BlazingSails, Version: 1.481.81
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function BP_Projec... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
17c56322e83ee21db0073000e9d2ceadf63c9a58 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/99/1079.c | 58d8818862508d8852303cb95ac1b3670a87e174 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | c | int main()
{
int n,i;
cin>>n;
int A[n];
double B[4]={0,0,0,0};
for (i=0;i<n;i++)
{
cin>>A[i];
if (A[i]<19)
B[0]=B[0]+1;
else
{
if (A[i]<36)
B[1]=B[1]+1;
else
{
... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
24d04a2e744a4459bb427dddf9976c1af5b1a45c | d75e98e95f295bf80277e93281db0d3c6622ab81 | /src/Phyllo/Util/Pair.h | e306ba4a26e952e95519da78a86d4f4e013dc3c3 | [
"MIT"
] | permissive | ethanjli/phyllo-cpp | daaac80d84e48d852cfb294f91136bf64fe30f78 | 915d872d4a2c3fc250e1aa0a879fd4c8ec2642d3 | refs/heads/master | 2020-12-21T23:15:59.885984 | 2020-03-03T22:22:03 | 2020-03-03T22:22:03 | 236,596,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | h | #pragma once
// Standard libraries
// Third-party libraries
#include <etl/utility.h> // This indirectly includes ETL_PAIR
// Phyllo
namespace Phyllo { namespace Util {
template<typename First, typename Second>
using Pair = etl::pair<First, Second>;
template<typename First, typename Second>
Pair<First, Second> m... | [
"lietk12@gmail.com"
] | lietk12@gmail.com |
681fab2aa0d4bb2f10d1022c4303ee659a428d4e | bbfa470ececd273e994cb89bd1fdb3a536d314ac | /base/src/test/benchmark_zerocoin.cpp | 4c0cb8fcfcf3dee8575b2526a541a16808681ed8 | [
"MIT"
] | permissive | fruitsfuture/AsHa | 2fca95a0705ad83838e7f6de20c64e1e5b9baf6d | a6725d14a4cf65acaa45c20ca16019ff5943a43b | refs/heads/master | 2023-08-27T04:52:56.429024 | 2021-11-02T09:06:47 | 2021-11-02T09:06:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,344 | cpp | /**
* @file Benchmark.cpp
*
* @brief Benchmarking tests for Zerocoin.
*
* @author Ian Miers, Christina Garman and Matthew Green
* @date June 2013
*
* @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green
* @license This project is released under the MIT licen... | [
"crbru.yuthafiga@gmail.com"
] | crbru.yuthafiga@gmail.com |
03e5ee4dff28a1c394e29d0b9b395f4a1b69c770 | 73e4edce3d97bfaaf0d35519175db8f835eb01a8 | /Textures.cpp | 526666f69d2697b5f0fa1f98102dde051b339f17 | [] | no_license | Marcinbloch1/PK4-PlatformGame | ecccc762e63f5f4d871181c21cb2297691446e4d | 0eda5d669fa874ab9cf36dd5acf328c5ccc45a52 | refs/heads/main | 2023-03-28T18:03:09.961707 | 2021-04-06T19:47:54 | 2021-04-06T19:47:54 | 355,291,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | cpp | #include "Textures.h"
Textures::Textures()
{
loadAllTextures();
}
void Textures::loadTexture(TEXTURES id, std::string filename)
{
std::unique_ptr<sf::Texture> texture(new sf::Texture());
if (!texture->loadFromFile(filename))
throw std::runtime_error("Texture failed to load: " + filename);
if (id == TEXTURES::... | [
"marcinb98@gmail.com"
] | marcinb98@gmail.com |
98873f0a6a00935ade3fa33b094c17af1510cf69 | ce46f4c02d7f0e954c93aa21647f49e78bd6da29 | /41.DFR_LCDwKPad/DFR_Key Librarys/DFR_Key v0.4jch/examples/Key_Grab2/Key_Grab2.ino | 31e226cdd65b93ec99c094369a1e4e37905e89b5 | [] | no_license | teamresistance/Arduino-Code | 6d69c86566315632c6ce858dfbeb2d3b9e1a74d6 | 01521d22a2aac1c2f9c7d9c7c9a1667c2756f1c6 | refs/heads/master | 2021-06-09T12:31:09.689772 | 2016-12-12T20:50:04 | 2016-12-12T20:50:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,524 | ino | /*
DFRobot LCD Shield for Arduino
Key Grab v0.2
Written by Glendon Klassen
gjklassen@gmail.com
http://www.sourceforge.net/users/ecefixer
http://ecefixer.tumblr.com
Displays the currently pressed key on the LCD screen.
Key Codes (in left-to-right order):
None - 0
Select - 1
Left - 2
Up - 3
Down - 4
Right -... | [
"james.c.hofmann@gmail.com"
] | james.c.hofmann@gmail.com |
52fffb36d86908ab087edd313388a3e7ffee88dd | 1826cd13e527cbd312d000681728467730ff9aa4 | /71.cpp | dfcc0c51e775877f630012cdd4b51bbdbd3a8d8f | [] | no_license | gcc-tan/leetcode | 3a9b21612e3c58f54ff20d72c254ca97c4039099 | e70e60ccbc86a7cb52eaedd9ba4a4fb61bfade65 | refs/heads/master | 2021-01-23T16:25:56.020498 | 2018-08-23T09:14:04 | 2018-08-23T09:14:04 | 102,742,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | cpp | //Simplify Path
/*
Given an absolute path for a file (Unix-style), simplify it.
For example,
path = "/home/", => "/home"
path = "/a/./b/../../c/", => "/c"
click to show corner cases.
Corner Cases:
Did you consider the case where path = "/../"?
In this case, you should return "/".
Another corner case is the path mi... | [
"my_mfcmail@126.com"
] | my_mfcmail@126.com |
523b55c3203f3f85b697d5267e65b6baa0bab5f4 | 9a4f212499143124005536dd3e8b3e8b569178d8 | /common/Clipboard.cpp | d5db949651c70f2a3def12d95171275c644f9768 | [] | no_license | rekhavasanthapps/Ultravnc | 64e98b1de84f73ca2bdc76f04432dadcfa921242 | 95f533679f1aadbc06c97a3d1ccb0cdf4e43dedb | refs/heads/master | 2022-04-23T11:32:55.796442 | 2020-04-11T11:56:40 | 2020-04-11T11:56:40 | 254,855,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,708 | cpp | /////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2002-2013 UltraVNC Team Members. All Rights Reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software... | [
"d.vasant@gmail.com"
] | d.vasant@gmail.com |
3eed0c48ffec4f6d10e08076d3e8b4d72ff12fe5 | 43d75cb95c2440057fac58c4775e880b1b9004d1 | /CameraCalibration/src/frameselect.cpp | 3fc1804c9f27134b1413a3b89e287734ce3506fe | [] | no_license | grisellycooper/CV_Project1 | 3613238c251c40bf062c27f258200c5ea1894061 | 554e4fcb385446e5bc903483477e9d3dc689143f | refs/heads/master | 2020-04-09T06:22:11.595886 | 2019-02-18T12:25:15 | 2019-02-18T12:25:15 | 160,109,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,268 | cpp | #include "../include/frameselect.h"
#define displaySelector 0
#define i 8
bool
isGoodFrame(cv::Mat src,
std::vector<cv::Point2f>& pointbuf,
std::vector<cv::Point2f>& previousCornersBuf,
bool previousCorners,
int patternWidth,
int patternHeigh,
... | [
"griselly.ramos.c@gmail.com"
] | griselly.ramos.c@gmail.com |
565bb57047f908e1dead197f490c066bef8a5123 | b263e47a748a74a7b1e49b4d8dd16e6d91b08612 | /AbstractField_p.h | 32900808892bfd90b80fe7538194c1ddefe65170 | [] | no_license | Weinbery/flat-gui | 0d3794f55e51b69ef7862ac5835cd0c1b2fa6d15 | 4645f23b8121d70dc6a8bbbec69ffefea4e45950 | refs/heads/master | 2022-12-13T09:33:28.014059 | 2020-09-12T00:31:23 | 2020-09-12T00:31:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | h | /**
MIT License
Copyright (c) 2018 Michael Scopchanov
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, merge, pub... | [
"michael_scopchanov@yahoo.com"
] | michael_scopchanov@yahoo.com |
959ee17b03f2a7d2a39db439f75183a76d969cec | 6ae31c10583e5d8e2e7cb884dae4c82aec5b471a | /fake_docker/clone.cpp | cc6eed281d8ce8f9e4de6d8031fbce2204cf28e6 | [] | no_license | fliaping/docker_learning | b53cd6dcf11f3a82fd46c7c24c2378d4c75a7cf7 | 4edf24d21523f46eeca0e4c5c720dd779fa2da66 | refs/heads/master | 2021-07-12T11:49:32.921461 | 2017-10-08T13:51:32 | 2017-10-08T13:51:32 | 104,034,843 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | cpp | #define _GNU_SOURCE
#include <sys/types.h>
#include <sys/wait.h>
#include <stdio.h>
#include <sched.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
/* 定义一个给 clone 用的栈,栈大小1M */
#define STACK_SIZE (1024 * 1024)
static char container_stack[STACK_SIZE];
#define errExit(code, msg); {if(co... | [
"xavierrpayne@gmail.com"
] | xavierrpayne@gmail.com |
98a9b4014825afadfeec1de7450f5b0cd9ba1e70 | 730535c28e76b897ee8ec33cc643e38915f68772 | /google/cloud/status_or_test.cc | 4b440d5b30a8c8869724d16dfb9ce54229b2f522 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dopiera/google-cloud-cpp | ae833e82aba5edf9d0ad5f0f9be0256d1e0cedef | 9f4ae11bbae26730f46abfc5becdcc25c92a7e83 | refs/heads/master | 2021-06-11T03:19:44.268455 | 2019-01-26T16:05:44 | 2019-01-26T16:05:44 | 153,084,592 | 0 | 0 | Apache-2.0 | 2019-02-13T15:20:12 | 2018-10-15T09:11:59 | C++ | UTF-8 | C++ | false | false | 16,873 | cc | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | [
"noreply@github.com"
] | noreply@github.com |
2f90fb3f1b407645e88ccce0a0cecba75d0f083e | 5336e15bd3f2c6423ad76420512cfcab35e72370 | /qptk/utils/matlabexport.h | d7aaeb1ac4c197096be28e6b806501d39c0d4a85 | [
"Apache-2.0"
] | permissive | kulikovv/ProcessingSDK | 29d01ffb1bedb9c9e75444a0cd898fff0163b722 | 5e1046c9a361b0e321d3df2094d596709be39325 | refs/heads/master | 2021-01-09T20:52:43.773542 | 2018-01-16T11:25:45 | 2018-01-16T11:25:45 | 59,268,639 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | h | #ifndef MATLABEXPORT_H
#define MATLABEXPORT_H
#include <utils/rawdataexport.h>
namespace utils{
namespace debug{
class MatlabExport : public RawDataExport
{
Q_OBJECT
public:
explicit MatlabExport(QObject *parent);
~MatlabExport();
static void writeMat( cv::Mat const& mat, const char* fi... | [
"kulikov.victor@gmail.com"
] | kulikov.victor@gmail.com |
3720e0451001caf891bbc99b53e9e69b9d1c2b90 | 470fae08316b55246ab01675ac5013febfb13eee | /src/common/Threading/ProcessPriority.cpp | 0bec4684de3dbc7850ec23519712fb12715909f1 | [] | no_license | adde13372/shadowcore | 8db6fb6ccc99821e6bd40237a0c284ce7cf543c2 | aa87944193ce02f6e99f7b35eceac5023abfca1b | refs/heads/main | 2023-04-01T07:38:39.359558 | 2021-04-03T07:54:17 | 2021-04-03T07:54:17 | 354,320,611 | 4 | 8 | null | 2021-04-03T15:02:49 | 2021-04-03T15:02:49 | null | UTF-8 | C++ | false | false | 3,289 | cpp | /*
* Copyright 2021 ShadowCore
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed... | [
"81566364+NemoPRM@users.noreply.github.com"
] | 81566364+NemoPRM@users.noreply.github.com |
471413c9e88e252b2ca92bee1b77e3dccffd4a96 | d3e63156dfc1bd6e068cce3325d56055f7b0ef7d | /CMinus/CMinus/evaluator/generic_evaluator_object.h | 330473ad5bc3f2860003fd32aaa4e3fb44fa03d0 | [
"MIT"
] | permissive | benbraide/CMinusMinus | 7c3a6110606e4ca27c67b3465e1dad83a3482575 | 6e32b825f192634538b3adde6ca579a548ca3f7e | refs/heads/master | 2020-07-25T17:26:11.035770 | 2019-12-24T06:35:28 | 2019-12-24T06:35:28 | 208,368,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | h | #pragma once
#include "comparison.h"
#include "assignment.h"
namespace cminus::evaluator{
template <class target_type>
class generic_object : public object, public assignment, public generic_comparison<target_type>{
public:
virtual ~generic_object() = default;
virtual memory_ptr_type evaluate_unary_left(opera... | [
"benbraide@yahoo.com"
] | benbraide@yahoo.com |
86eb2839002dede1a8ff50b3bc8893a829995b7c | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blaze/math/lapack/heev.h | b3f720411ad21596a9a98d8754f90f2878bfea6f | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,372 | h | //=================================================================================================
/*!
// \file blaze/math/lapack/heev.h
// \brief Header file for the LAPACK Hermitian matrix eigenvalue functions (heev)
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This file is part of t... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
3bc434a90fcf5f64644cacdefd57bf359c744465 | c58e108e7cf54254dea3f755e7c9a03e2fe64a46 | /src/qt/oro/sendmemodialog.cpp | d526108f85b38e544df2fb6b19cbd3faa0e6bdf7 | [
"MIT"
] | permissive | ORO-mlm/ORO-Core | 9888490355db1ce55b43998086af7dc589d19d10 | 770e4728e1b67023f2f52da2850e058732e7583f | refs/heads/main | 2023-06-17T02:07:47.355318 | 2021-07-13T11:43:51 | 2021-07-13T11:43:51 | 317,410,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,726 | cpp | // Copyright (c) 2019-2020 The PIVX developers
// Copyright (c) 2021- The ORO developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "qt/oro/sendmemodialog.h"
#include "qt/oro/forms/ui_sendmemodialog.h"
#include "qt... | [
"brandon2davincci@gmail.com"
] | brandon2davincci@gmail.com |
1f8cdf4eceb65ca212e7487849c1e081b1da86ce | fe579365a3aa41d26254c4eaff26e80b21a43060 | /task 6.cpp | de11a6e69910e4a26d0d59063c04df4a267948b3 | [] | no_license | Dimash1905/dimash | 9f563a19fc3fc02eb806308d644b66bdbba075ab | 4af9b74438b30abaea2e9f29beef8962f53c9e90 | refs/heads/master | 2020-09-13T01:15:41.511358 | 2019-11-19T07:33:29 | 2019-11-19T07:33:29 | 222,618,068 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 122 | cpp | #include<iostream>
using namespace std;
int main (){
int a=1,b=2,c=4;
cout<<a+b-c;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
00e92bb39d641673bba5e16c914297a090481876 | 8cb3c8b6686cf5f73a5b104c14c3829b0d28b4d6 | /NodeMCU wifi/AccessPt/OLED_Functs.ino | b13d22f7c6b5303484c8dc9905151af7d864d9ae | [] | no_license | hollywright03/4810Code | 883add872c0057e0c86865419c17e0423d9547fc | ba508212dd14d9eb71209eccda0533dd9dbe062c | refs/heads/master | 2021-01-21T11:39:35.391130 | 2016-05-15T09:08:03 | 2016-05-15T09:08:03 | 55,884,861 | 0 | 0 | null | 2016-04-12T03:30:47 | 2016-04-10T06:47:40 | Arduino | UTF-8 | C++ | false | false | 5,285 | ino | #include "font.h"
#define OLED_address 0x3c //OLED I2C bus address... even if OLED states 0x78 !!!
#define TOP2BOTTOM
// Actually this sends a byte, not a char to draw in the display.
static void SendChar(unsigned char data)
{
Wire.beginTransmission(OLED_address); // begin transmitting
Wire.writ... | [
"weberca94@gmail.com"
] | weberca94@gmail.com |
0d7bc6c62a956e63b14e625413862f51418126d0 | c618bbf2719431999b1007461df0865bab60c883 | /dali/kernels/reduce/reduce_gpu.h | 2e44a72d75e2df40a884b8b28ded3492160fdfbb | [
"Apache-2.0"
] | permissive | NVIDIA/DALI | 3d0d061135d19e092647e6522046b2ff23d4ef03 | 92ebbe5c20e460050abd985acb590e6c27199517 | refs/heads/main | 2023-09-04T01:53:59.033608 | 2023-09-01T13:45:03 | 2023-09-01T13:45:03 | 135,768,037 | 4,851 | 648 | Apache-2.0 | 2023-09-12T18:00:22 | 2018-06-01T22:18:01 | C++ | UTF-8 | C++ | false | false | 26,814 | h | // Copyright (c) 2020, NVIDIA CORPORATION. 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 ... | [
"noreply@github.com"
] | noreply@github.com |
c12da0d7888346fd24922c1ccebb48e1ad332140 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /ui/views/touchui/touch_selection_controller_impl_unittest.cc | c431a045d5f478fb622caf5f020b34689bdc73dd | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,071 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include "base/command_line.h"
#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/au... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
bc35b954a85740966d7cd1da5dccf50b46149b79 | 4edf91c17c2357eb3d685a897362ef4f2abeb560 | /Project_ex5/Dynamic.h | 5875beebe1c087759a6304bbc4f8784da63c1dc0 | [] | no_license | HofRonis/PacmanSFML | 69013003101b1993e81b3f1d1a46fd608e34c355 | 792ed23027dc7260eccedc8655e2032f72e7a9e9 | refs/heads/master | 2020-07-22T21:07:13.746302 | 2019-09-09T14:32:49 | 2019-09-09T14:32:49 | 207,327,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | h | #pragma once
#include "Object.h"
class Dynamic :public Object
{
public:
Dynamic(sf::Color color, sf::Vector2f position, char c);
Dynamic();
sf::Vector2f get_first_position() const;
virtual void move(int direction)= 0;
~Dynamic();
protected:
sf::Vector2f m_first_position;
};
| [
"noreply@github.com"
] | noreply@github.com |
0168e42890dac89e70cf1185f40260652fdd0035 | 343966f68798615621ed7f6a17ebe782b7738dea | /src/net/third_party/quiche/src/quic/quic_transport/quic_transport_stream.h | dfe943f67d35481ce8977ac62d37751be8087fb5 | [
"BSD-3-Clause"
] | permissive | iuing/chromium.bb | 57745cdda62a8b0097b7139f86422e74c331c937 | e2c7771d2f79008f4c3b06b6cc024f3f1936156f | refs/heads/master | 2023-04-09T10:12:54.306426 | 2021-04-22T14:26:20 | 2021-04-22T14:26:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,710 | h | // Copyright (c) 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.
#ifndef QUICHE_QUIC_QUIC_TRANSPORT_QUIC_TRANSPORT_STREAM_H_
#define QUICHE_QUIC_QUIC_TRANSPORT_QUIC_TRANSPORT_STREAM_H_
#include <cstddef>
#include <... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
e212cbe784da0f57e9f19681be4fab4e7121d6e4 | c9aca737b684272251db9a00c4df33c63cf90d1f | /osvr/Display/DisplayIO.h | 1451ce4a9654c511a2c795fb7553f3ad93253a3d | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | OSVR/OSVR-Display | 23fca4e2c3525fcd5aee18d8c942d11b68097ebf | 30910110b9f5365f3e8330f81d889b926967a734 | refs/heads/master | 2021-01-20T18:27:27.304467 | 2017-07-23T00:32:35 | 2017-07-23T00:32:35 | 65,091,174 | 8 | 8 | null | 2017-10-22T15:06:04 | 2016-08-06T16:20:16 | C++ | UTF-8 | C++ | false | false | 1,561 | h | /** @file
@brief I/O functions for printing enum values
@date 2016
@author
Sensics, Inc.
<http://sensics.com>
*/
// Copyright 2016 Sensics, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | [
"kevin@godby.org"
] | kevin@godby.org |
ddecf6a818a7e70b98914f1256758b129a78ca4f | dc3e696025bca400aaabc0b3fce4aa334b067c84 | /1132B.cpp | 80c60702b4020b3db797f1a9b323787871bfb687 | [] | no_license | NguyenTheAn/Algorithm | 740170afb6d4e2db362f5e406fc48f014ce693a4 | 1fe154ae46658079b422e3a5198e239908939b6b | refs/heads/master | 2020-10-01T09:40:06.473488 | 2019-12-12T03:27:16 | 2019-12-12T03:27:16 | 227,510,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | cpp | #include <bits/stdc++.h>
using namespace std;
int a[300001];
int q[300001];
int main(){
int n;
cin>>n;
for ( int i=0; i < n; i++ ) cin>>a[i];
int m;
cin>>m;
for (int i=0; i<m; i++) cin>>q[i];
sort(a, a+n);
long long sum = 0;
for (int i=0; i<n; i++){
sum+=a[i];
}
for (int i=0; i<m; i++){... | [
"nguyenthean.ligirk@gmail.com"
] | nguyenthean.ligirk@gmail.com |
e50122a992988507c5324a58d2ff116e517186aa | 9bf63f30a8c19317c5f772ca2b5b2853ff172c51 | /Practice Challenges/ReadingFiles/main.cpp | 640bad635ede6388f2377429d1cd2dfa6622e10e | [] | no_license | Programmer-Jet/Programming-Methodology | 7ba1202a86f4232e6e8e275536b6db97b368c87c | 2534b0b65b7a18635b59a065df2c94a20af39143 | refs/heads/master | 2020-03-27T14:49:54.642477 | 2018-08-30T02:21:18 | 2018-08-30T02:21:18 | 146,681,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
#include <string>
using namespace std;
int main()
{
// ifstream is used for reading files
// We'll read from a file called Sample.dat
ifstream inf("Sample.dat");
// If we couldn't open the output file stream for reading
if (!in... | [
"noreply@github.com"
] | noreply@github.com |
59d4525a4caf9c06179d9c97286cad267ced74b0 | ad175197040b044b497b07a7d4838109caf05f12 | /Builds/AndroidStudio/app/src/main/jni/Source/View/CustomLook.cpp | 10c990f1304e433f5500ea5cc13862706f62bd9e | [] | no_license | eriser/SilverbirdApp | 0b91ba50b2b2b0d24128acd25fb2666926b4cf9a | de8fe14f5368a1f01c72e6bf222bce8bf7762a51 | refs/heads/master | 2020-07-17T04:58:03.715686 | 2016-06-01T14:09:29 | 2016-06-01T14:09:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67 | cpp | /Users/logsol/Work/projects/c++/SilverbirdApp/Source/CustomLook.cpp | [
"logspum@gmail.com"
] | logspum@gmail.com |
20092d43b27fff4fce5c351272b9e69174fcf9f1 | ebaaaffb2a7ff5991441e9ce2110f40c36185798 | /C++/observer/simple/Observer.cpp | 32e758e4797fbff2f18fe1c49655b45558156ffa | [] | no_license | iMageChans/DesignModel | 6fa0e9322992f0003951e564c1e84449b4b76d33 | c4c59770b356db606e38f2c1bba278d8627cbac5 | refs/heads/master | 2020-12-28T01:39:44.541684 | 2020-02-18T00:02:57 | 2020-02-18T00:02:57 | 238,139,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62 | cpp | //
// Created by Chans on 2020/2/5.
//
#include "Observer.h"
| [
"imagechans@gmail.com"
] | imagechans@gmail.com |
6b06faf28d34a9e0cae757e6f452c4045f274718 | 935f99f888a0c1bd5970a9abe74d788653f4dfcc | /Sample programs/Linkedlist_ReversePrint/Linkedlist_ReversePrint.cpp | 5d6c9924438ddc217fc63ca02cf6b0fdd6692d48 | [] | no_license | jeevanvenkataramana/Programming | 5e182b3d5d244ed147f86bdc32a48e8366e3e6c2 | c11ed6c26ffcb723a62359b6a0691d6328aa11b9 | refs/heads/master | 2020-03-18T21:02:38.134787 | 2019-03-11T02:24:16 | 2019-03-11T02:24:16 | 135,255,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | cpp | /*
* Linkedlist_Reverse.cpp
*
* Created on: Sep 28, 2018
* Author: jeevan venkataramana
*/
#include<iostream>
using namespace std;
struct Node
{
int data;
struct Node *next;
};
Node* Insert(Node *head,int data);
void ReversePrint(Node *head);
void Print(Node *head);
int main()
{
Node* head =... | [
"jeevan.venkataramana@gmail.com"
] | jeevan.venkataramana@gmail.com |
bcb49cdf42c05b3ca45eed3b4398be616f3ff0b2 | fbe08142475f1f4923ae8bfa6e2727e093e07510 | /Kurs_3/Programming_Methods/Lab_3/Cpp-files/generator.cpp | 20f687519314e949e7bfbf1dfa717216193b123c | [] | no_license | DrPopov/HSE | fbb423b7a353084a52c93583a9bb0aa0dfd62805 | 6f431ea0248851c932abad97ca0ad8e60af41804 | refs/heads/master | 2023-02-06T20:38:12.018444 | 2020-12-22T20:35:08 | 2020-12-22T20:35:08 | 263,942,379 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,760 | cpp | //
// Created by ypopov on 15.05.2020.
//
#include "../Headers/fio.h"
#include "../Headers/flightTime.h"
#include "../Headers/passenger.h"
#include "../Headers/generator.h"
#include "../Headers/hash.h"
#include <string>
#include <iostream>
#include <cstdlib>
#include <vector>
int Generator::random_flight_number(... | [
"yulpopov67@gmail.com"
] | yulpopov67@gmail.com |
87d2e59b4150b55ac040ffe172f330ae02a481ae | 17bf8eca8ece516e65118a91d60134092a8f68e4 | /C++/1043. Partition Array for Maximum Sum/sol.cpp | c3231fbb5f868f1ed36a174e46502f5c6ab0d9d6 | [] | no_license | HaelC/LeetCode | a433bb49e62a3b331982cb6fa337a72726c45a11 | 549c0217e771726611287f7bcd43c704190a60f1 | refs/heads/master | 2022-12-29T16:53:56.159942 | 2020-10-11T05:50:25 | 2020-10-11T05:50:25 | 177,907,987 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | cpp | class Solution {
public:
int maxSumAfterPartitioning(vector<int>& A, int K) {
int n = A.size();
vector<int> dp(n, 0);
for (int i = 0; i < n; i++) {
int maxInRange = 0;
for (int k = 1; k <= K && i - k + 1 >= 0; k++) {
maxInRange = max(maxInRange, A[i - ... | [
"f.procumbens@gmail.com"
] | f.procumbens@gmail.com |
e7c20dab4dab39cdae634805e57ff05cc9431e4c | 34aac694ccb9f953456a5cd2328ab1ea15abb799 | /UVa_ACM/100 - Volume C/UVa 10055(1.0, Ad-hoc, Comparison-operation).cpp | 171e05ec70e66f3185b1721a54c1f69f2e61a7f1 | [] | no_license | ottersome/Judge-1 | 98eca71c2f847032dc976cb1ffe63887bbc15339 | 1996a49293bde9bc15162501a23d7b51a3830185 | refs/heads/master | 2020-04-30T07:08:26.341120 | 2017-08-28T12:32:47 | 2017-08-28T12:32:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | cpp | #include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
long long a, b;
while (scanf("%lld%lld", &a, &b) != EOF)
printf("%lld\n", (a > b)? a - b: b - a);
} | [
"m80126colin@gmail.com"
] | m80126colin@gmail.com |
b25adb63fa2e775fb750563c88110426febd0c38 | 6c59732b0e9393ee6202f11cb13c9bbf6abbd03b | /BletcheryCodeBreakers/BletcheryCodeBreakers/dataLayer.h | 408423e6bb2899b2a7474eb39af75a76f2149c45 | [] | no_license | ISParashkevov18/Sossila.v2.ScaleFocus | 01a53ea9e8fecf63db9a305425bb80953a5f2f47 | 0d5a6751199d370c2b631b1d087b3a429b01c86d | refs/heads/main | 2023-02-10T01:17:59.362995 | 2021-01-12T08:00:13 | 2021-01-12T08:00:13 | 328,759,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | h | #include <iostream>
using namespace std;
#pragma once
// --------------------------------------------------------------------DATA LAYER----------------------------------------------------------
void createVector(vector<int> arrayOfGuesses[], int userNumbers[], int numberOfGuesses, int vectorSize);
void generateNumNoD... | [
"58163160+ViktorVelizarov@users.noreply.github.com"
] | 58163160+ViktorVelizarov@users.noreply.github.com |
497e2cd795d0644efeaac3786eb83815b8c6de3d | f75c80990d0c681d989e9aec4b45d38270721c50 | /ride/textctrllist.h | 7a048328ea31ffe550e833b79599652572257bb7 | [
"MIT"
] | permissive | arno-lee/ride | 095ec24d6fde49ceadcc1092311e5a80b431aa41 | 889ab448f44fc1a94268e35fbb3b8146ba593da1 | refs/heads/master | 2021-01-17T14:08:04.292126 | 2015-07-14T05:15:06 | 2015-07-14T05:15:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | h | #ifndef RIDE_TEXTCTRLLIST_H
#define RIDE_TEXTCTRLLIST_H
#include "ride/wx.h"
class wxListCtrl;
class wxListEvent;
class TextCtrlCallback {
public:
virtual void OnTextUpdated() = 0;
virtual void OnTextEnter() = 0;
};
class TextCtrlList : public wxTextCtrl {
public:
TextCtrlList(wxWindow* parent, wxListCtrl* li... | [
"sir.gustav.the.coder@gmail.com"
] | sir.gustav.the.coder@gmail.com |
87c05f7a969b216c3d8aa0a085abaa38db36624f | b71b8bd385c207dffda39d96c7bee5f2ccce946c | /testcases/CWE122_Heap_Based_Buffer_Overflow/s04/CWE122_Heap_Based_Buffer_Overflow__cpp_CWE806_wchar_t_memmove_08.cpp | 2a6c450384f5446667d5ce32b7182f9dd292023f | [] | no_license | Sporknugget/Juliet_prep | e9bda84a30bdc7938bafe338b4ab2e361449eda5 | 97d8922244d3d79b62496ede4636199837e8b971 | refs/heads/master | 2023-05-05T14:41:30.243718 | 2021-05-25T16:18:13 | 2021-05-25T16:18:13 | 369,334,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,975 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE806_wchar_t_memmove_08.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE806.label.xml
Template File: sources-sink-08.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Initialize... | [
"jaredzap@rams.colostate.edu"
] | jaredzap@rams.colostate.edu |
7bddd7d452e701efee733d82daec8a7adb554b39 | 867cbc899c85011bf678177b2a279b887747e180 | /include/cgl/math/rasterization.hpp | 5fb4be49e950f8480a9a776984b7a933c0eb66b6 | [
"MIT"
] | permissive | sdragonx/cgl | d9354fafd4ac18aeb06100e259102f4d873d3a1c | d8d45d3a3930bc8f3d0851371760742fda4733b8 | refs/heads/master | 2021-01-17T18:25:46.248270 | 2021-01-01T02:06:14 | 2021-01-01T02:06:14 | 64,765,330 | 1 | 0 | null | 2018-11-24T20:04:10 | 2016-08-02T14:46:19 | C++ | GB18030 | C++ | false | false | 27,798 | hpp | /*
Copyright (c) 2005-2020 sdragonx (mail:sdragonx@foxmail.com)
rasterization.hpp
2019-11-18 19:58:17
rasterizer
光栅化
*/
#ifndef RASTERIZATION_HPP_20191118195817
#define RASTERIZATION_HPP_20191118195817
#include <cgl/public.h>
#include <cgl/vec.hpp>
#include <cgl/math/rasterization.hpp>
na... | [
"noreply@github.com"
] | noreply@github.com |
60b0539b01889ebc804baac0321840b56d80ba40 | 859d3e0fc981a6149a3f5b1fd8b2d1161ccfa8e5 | /roadfighter/src/ObserverWorld.cpp | eb92d2e77828edb04b5a9985a86d99cc189b55cd | [] | no_license | miguelDagrain/road_fighter | c74240de2b8a77b34969057be4d18eef4bf3131d | fcbe0cc138b87425d61bef30eb28a692729d349e | refs/heads/master | 2021-10-10T21:46:21.319984 | 2019-01-17T18:27:40 | 2019-01-17T18:27:40 | 158,278,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,567 | cpp | #include "roadfighter/include/ObserverWorld.h"
/**
* @brief basis constructor van de ObserverWorld.
*/
RF::ObserverWorld::ObserverWorld(): existPlayer(false), score(0), timeScore(10000), finished(false)
{
RF::location loc(0, 0);
endWorld = loc;
}
/**
* @brief destructor van een ObserverWorld.
*/
RF::Obser... | [
"Miguel.Dagrain@student.uantwerpen.be"
] | Miguel.Dagrain@student.uantwerpen.be |
2f7bed79775bd6c1a3b1b0ef0b385679c344d0a1 | 62ad9db32df2f96aabe1ed94f28902d439073bb5 | /PacManState/include/util/EnumClassHash.h | 0f90867a7bd7d841ee34a8b1e1685f3c258f6111 | [
"MIT"
] | permissive | shamexln/PacMan | 31aacbb0faf9f6976ce0c7d899eb83ce3ee9009d | 319e9776582cf9118b38c72d31855fb4c598e986 | refs/heads/master | 2022-04-17T08:36:18.035379 | 2020-04-17T19:08:38 | 2020-04-17T19:08:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 211 | h | #pragma once
#define DllExport __declspec( dllexport )
namespace pacman {
struct DllExport EnumClassHash {
template <typename T>
size_t operator()(T t) const {
return static_cast<size_t>(t);
}
};
}
| [
"mwtegelaers@gmail.com"
] | mwtegelaers@gmail.com |
85b0147d29792734b333149b160a24fa0bcb1cf7 | 34b4c9797f23d00cf87fa992f2bf51251b5eb95d | /src/clientversion.h | 7c53bf033611a4eb50e862d7ab71b497c28a6550 | [
"MIT"
] | permissive | Cryptohelper1/Prufus-core | ab77ec6182cb459f8b40362f7dd3828fe44009f1 | 8dbefe51d3e89236ed185c6b6607694de928e69d | refs/heads/master | 2021-04-12T09:43:23.889338 | 2018-03-25T17:34:15 | 2018-03-25T17:34:15 | 126,622,123 | 1 | 5 | MIT | 2018-06-10T15:40:15 | 2018-03-24T17:13:23 | C++ | UTF-8 | C++ | false | false | 2,177 | h | // Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CLIENTVERSION_H
#define BITCOIN_CLIENTVERSION_H
#if defined(HAVE_CONFIG_H)
#include "config/prufus-config.h"
#els... | [
"37479709+Cryptohelper1@users.noreply.github.com"
] | 37479709+Cryptohelper1@users.noreply.github.com |
47f9dbe1ca3b3d46a5184e1a02cc95ae795479c6 | 3fe13e073d1a7c3e8beacc71f1570fc8a2ec8692 | /src/cont2/force2.inc | 9a1c8c77e6a2575f1d61f876581e02924cb35974 | [
"MIT"
] | permissive | jerebenitez/IFE-simpact-openfoam | 7dbba4ae7ec3aa518277d7fa5f6e0fab42a2cd48 | 2dbcbf3195b22fca1c80ad0da6b3822b6cad5cdf | refs/heads/master | 2021-06-17T09:28:47.097398 | 2021-06-14T21:16:39 | 2021-06-14T21:16:39 | 205,249,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,718 | inc | SUBROUTINE force2(isn,issdb,rssdb,lcseg,indco,cprop,x,prdat,dtime, &
emass,fcont,surtf,cursl,tn,icnod,press,wear,wwear,&
mtdof,sldof,area,td)
!.... form contact residual force for a node-segment 2-d contact element
USE npo_db, ONLY : tempe,tresi
IMPLI... | [
"jerebntz@gmail.com"
] | jerebntz@gmail.com |
7ef5f19af5de476a131ec40a751fd842938527f1 | 3d80d68564da1f1d650988a1fafe221d749cdc31 | /tools/kopt/rebuild.cpp | 5b7b82e6489fcc03432591e787d30466bde4232b | [
"NCSA"
] | permissive | heyitsanthony/klee-mc | ede73456fa0e928e67529ae19ae4723d483acfd3 | 184a809930c4f7823526a11474b1446dd7d92afb | refs/heads/master | 2020-05-30T03:18:24.188711 | 2016-05-29T09:16:42 | 2016-05-29T09:16:42 | 189,500,579 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,025 | cpp | #include <unistd.h>
#include <iostream>
#include <sstream>
#include "../../lib/Expr/ExprRule.h"
#include "../../lib/Expr/RuleBuilder.h"
#include "static/Sugar.h"
#include "klee/ExprBuilder.h"
#include "klee/Solver.h"
#include "klee/util/ExprUtil.h"
using namespace klee;
extern int WorkerForks;
extern ExprBuilder::B... | [
"chz@bingularity.org"
] | chz@bingularity.org |
03872c6e47dcd81a240794bf63af490e65680d9d | fe968c73247549533ea2e8c0ffd7893d62f35d78 | /CPP04/ex00/Sorcerer.cpp | d9d19635d17c1c1eebbc79d155edca5f16445d92 | [] | no_license | danil2283376/CPP-Modules | 02b05b50f29da4e06307904ef0f272dffd9941ae | 09e2cd0e3816920392521be8f70aba7045c844ce | refs/heads/master | 2023-06-06T07:31:36.435561 | 2021-06-20T07:52:50 | 2021-06-20T07:52:50 | 370,025,927 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | #include "Sorcerer.hpp"
Sorcerer::Sorcerer(std::string name, std::string title)
{
this->name = name;
this->title = title;
std::cout << name << ", " << title << ", " << "is born!\n";
}
Sorcerer::~Sorcerer()
{
std::cout << name << ", " << title << ", " << "is dead.\n";
}
std::string Sorcerer::GetName()... | [
"scolen@student.21-school.ru"
] | scolen@student.21-school.ru |
dffa34fc53ba8cbd5aa0d557f14687cddb434eb0 | 7b382c6ee032d1ecd4618baf317f3f91d0ab52c2 | /Misc_set/xor/kequal_subset_sum+partition.cpp | 5c90d2b8683647e800635f596b70028ee22c270b | [] | no_license | shubhampathak09/codejam | 3a632cc67a3f81945f2b452eaf7807c0c8ef90bf | 2f497cfdb9d318dd6482236f93c5e14234bea613 | refs/heads/master | 2021-06-29T03:54:44.785611 | 2020-12-29T11:51:09 | 2020-12-29T11:51:09 | 147,506,585 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | // k equal subset sum partition
#include<bits/stdc++.h>
using namespace std;
bool subsetsum(int a[],int n,int sum)
{
int dp[n+1][sum+1];
for(int i=0;i<=sum;i++)
dp[0][i]=0;
for(int i=0;i<=n;i++)
dp[i][0]=1;
for(int i=1;i<=n;i++)
{
for(int j=1;j<=sum;j++)
{
if(a[i-1]<=j)
{
dp[i][j]=dp[i-1][j... | [
"shubham.pathak@rediffmail.com"
] | shubham.pathak@rediffmail.com |
a8bf80ab304c842e52760f4859d615cdc9f56648 | b10b50b69566a306b4f7ca422eed0e145f52c3b8 | /client.cc | d429abbae6e5adbc4bdb69f86778d5ba1608911c | [
"Apache-2.0"
] | permissive | avinashnarsale/Eventually-Consistent-Key-Value-Store | 7a14bf1abedfeb8b27e42a560367ff008f237ba1 | 6d887371143d50e0618cc1d8c0822756ae681e2c | refs/heads/master | 2021-04-26T23:23:55.984614 | 2018-03-05T22:30:26 | 2018-03-05T22:30:26 | 123,986,407 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,278 | cc | #include <iostream>
#include <fstream>
#include <string>
#include <mutex>
#include <stdio.h>
#include <sys/types.h>
#include <pthread.h>
#include <sys/socket.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <sys/stat.h>
#include <dirent.h>
#include <netdb.... | [
"noreply@github.com"
] | noreply@github.com |
4d13eaad7a8770949d80df0d84910aa0fa61d77b | abd31a789798fb251ad278f9139fc646b1f0e138 | /pc_SDK/ClientDemo-1/include/utils/HKRTSBuffer.h | 5b2ee40df11d4df7edf7667205816f3d1003e642 | [] | no_license | jameshilliard/pcSCCSDK140920 | caff45b611ae429164746c0d4cacbf15b193ab77 | 5d5372ca210303dd929277b1c27e7ddd56dbac63 | refs/heads/master | 2021-04-29T10:19:24.278679 | 2016-12-29T22:59:06 | 2016-12-29T22:59:06 | 77,644,893 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | h | #pragma once
#include "RTSHead.h"
class AFX_EXT_CLASS HKRTSBuffer
{
public:
HKRTSBuffer( unsigned short nLevel,RTSHead &rtsHead,char *pData,unsigned short nLen,bool bBlock );
HKRTSBuffer( unsigned short nLevel,char *pData,unsigned short nLen,bool bBlock );
virtual ~HKRTSBuffer();
char *GetRTSBuffer()
... | [
"james.hilliard1@gmail.com"
] | james.hilliard1@gmail.com |
5ea14c081590fe53ee3150e78a21fdd81768d83c | 6c3f7244babe0a5792c9ad6608cff4843f247deb | /ejercicios/31/evolve.cpp | 8a439f84d5844a16cd6e3518b5a063ff4fa17b24 | [] | no_license | jsvillalbat/FISI2028-201920 | 0d38d31e8a046c0213af4d634018c0f4c2aa86e3 | 8b7402a12cadf89cb64afa3cd3bd63258a952de2 | refs/heads/master | 2022-03-21T20:01:22.208965 | 2019-12-14T16:18:23 | 2019-12-14T16:18:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,918 | cpp | #include <iostream>
#include <fstream>
#include <cmath>
#include "stdio.h"
void init(double *psi, int n_x);
void print(double *psi, int n_x);
void copy(double *recibe, double *entrega, int n_x);
void evolve(double *psi_new, double *psi_old, double delta_t, double delta_x, int n_x);
double difference(double *psi_new, ... | [
"j.e.forero.romero@gmail.com"
] | j.e.forero.romero@gmail.com |
da09ec1068c98d8e43859fa960ff9d303834f94e | 1e07d601e6fd3a9f38636d4f209b9f9a1a00d5bd | /TESTs/bmp180demo/bmp180demo.ino | 917fea42c3495fb1f01dde3ae60c7c270d65d0d4 | [] | no_license | tockn/myArduinoProjects | b8d73a824c44b4e4578eaf640831d529284ce10c | a2a0ee54e8135624b207a35912a2bf56a3c0766b | refs/heads/master | 2020-03-20T05:10:31.446567 | 2018-06-19T12:53:34 | 2018-06-19T12:53:34 | 137,205,774 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | ino | #include "BMP180_tockn.h"
BMP180 bmp;
void setup() {
Serial.begin(9600);
bmp.begin(26, 25);
}
void loop() {
bmp.update();
Serial.println(bmp.getAltitude());
}
| [
"takuto.sato.5g@stu.hosei.ac.jp"
] | takuto.sato.5g@stu.hosei.ac.jp |
35adb96ebb4e436da4ef160013a5df270963c3c4 | 0400ac52a20058bf13a064b838872473212765ca | /Unity_Code/DinoRun_Final/Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_5Table.cpp | a09e15c0d583a2eab3cde45de79f405e62de9b97 | [
"Apache-2.0"
] | permissive | BPenzar/SuperDinoBros. | b7e6be07bfc4278d85eeb986f4740c9a91e01689 | f46b866c5a1119c6753dbd8e963212f17a4a31d5 | refs/heads/master | 2021-01-20T04:29:24.503356 | 2017-07-25T14:58:12 | 2017-07-25T14:58:12 | 89,697,299 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 40,905 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "mscorlib_System_Runtime_Remot... | [
"bruno.penzar@posteo.de"
] | bruno.penzar@posteo.de |
52aed584eaf407cfd1e94fba37a80b022f06b8dd | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_new_hunk_1223.cpp | 526d3ee3c66e057f9e351ff4f26a1941d358b701 | [] | 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 | 79,833 | cpp | " (HTTP) Request a compressed response using one of the algorithms\n"
" curl supports, and save the uncompressed document. If this\n"
" option is used and the server sends an unsupported encoding,\n"
" curl will report an error.\n"
"\n"
" -K, --config ... | [
"993273596@qq.com"
] | 993273596@qq.com |
6628b57792d36421aa72d56202e41ba28bd2db47 | 160fc43099ce45ed954b3315d8a1b76a145b864e | /basic_Slave.ino | 0c071249468fc1530677c7a32f517413d904394f | [] | no_license | hakim2307/ASEF_D | 60cdf1736070cdceb08f860da0fec9818ac7d372 | 1d9943f14c939a82f90234f6bedef9ab9ea72d60 | refs/heads/master | 2021-07-15T22:00:34.021195 | 2017-10-18T13:49:32 | 2017-10-18T13:49:32 | 107,412,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | ino | #include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11);// RX AND TX
int state = 0;
const int pushbutton = 2;
const int Vibrator = 8;
int pb = 0;
int vb = 0;
void setup() {
// initialize digital pin 8 as an output.
Serial.begin(9600);
mySerial.begin(9600);
pinMode(pushbutton , INPUT );
pinMode(Vibrator... | [
"noreply@github.com"
] | noreply@github.com |
bc359518e012a901d179b76f3cff6c677fb36704 | 094efc7e79b748d00929a90eb417af44ebf5eb49 | /SmartCarBluetoothKeyboard/SmartCarBluetoothKeyboard.ino | 96db47fc3ef7e5540f38f80d0aebe6e608dd6026 | [] | no_license | javiergarciaescobedo/SmartCar | 770566bbdeb12c02a808931a695549b74f2ecf67 | 765caf77cd99cb02ad44ac076cd251adfcd38aa1 | refs/heads/master | 2021-01-22T11:06:56.756595 | 2018-06-07T08:32:01 | 2018-06-07T08:32:01 | 51,717,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,502 | ino | int enA = 5; // Pin enA de la tarjeta controladora L298N
int in1 = 8; // Pin in1 " " " " "
int in2 = 9; // Pin in2 " " " " "
// MOTOR 2
// Pines de conexión en la tarjeta Arduino
int in3 = 12; // Pin in3 de la tarjeta controladora L298N
int in4 = 13; // Pin in4 " " " ... | [
"correo@javiergarciaescobedo.es"
] | correo@javiergarciaescobedo.es |
17d6c632263241e25dfe6a3db0a40be8a6d26adc | 227e3b12fdf0375b329a94b8e4440f5cc3b86e4b | /Classes/MusicSelect.cpp | 182338a924d7080fab37013c6c42201ff0d9447c | [] | no_license | KyoheiOkawa/SlideTheGlassSourceCode | 424b975aa7243d2023120248b65634da8a0db3e2 | c4b6f2c5a50a4c26161ad8629dd5189255546f31 | refs/heads/master | 2021-01-21T21:26:36.255162 | 2017-06-20T03:55:21 | 2017-06-20T03:55:21 | 94,846,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,429 | cpp | //
// MusicSelect.cpp
// SlideTheGlass
//
// Created by 大川恭平 on 2017/05/04.
//
//
#include "Common.h"
USING_NS_CC;
bool MusicSelect::init()
{
if(!LayerColor::initWithColor(Color4B(0,0,0,150)))
return false;
auto origin = Director::getInstance()->getVisibleOrigin();
auto vs = Director::get... | [
"kurokenken0310@gmail.com"
] | kurokenken0310@gmail.com |
18e8aece969fe8b4052af3c4e6dd4ccb4ab4b6ec | 0c014d8805267a927d161694157e065a36b5728d | /packet_entity.hpp | 1d5fd025b2bfa32e49bea7a93036609b6bd069b6 | [
"ISC"
] | permissive | devilesk/dota-replay-parser | 2de3fd6b142847696f671d1c85104369775970c1 | e83b96ee513a7193e6703615df4f676e27b1b8a0 | refs/heads/master | 2021-01-09T05:35:15.786448 | 2017-02-20T13:52:01 | 2017-02-20T13:52:01 | 80,762,984 | 2 | 2 | null | 2017-02-03T22:42:06 | 2017-02-02T19:56:19 | C++ | UTF-8 | C++ | false | false | 190 | hpp | #ifndef _PACKET_ENTITY_HPP_
#define _PACKET_ENTITY_HPP_
#include <iostream>
#include "bitstream.hpp"
#include "parser_types.hpp"
#include "property.hpp"
#endif /* _PACKET_ENTITY_HPP_ */ | [
"devilesk@gmail.com"
] | devilesk@gmail.com |
b0288b28d31244a9bbaa6792107f247eb9ead178 | f4294865b87cd8ea15f716278fb667a5bff67fb5 | /Eigen/src/Core/Dot.h | 1676dc99912c4a55a008afde2049494eba9f7c14 | [
"Apache-2.0"
] | permissive | markrenChina/savitzky_golay | 37f6f9a6daa325608cf877238c5676f450267bd0 | 007262472017ce092d281fa220a8b6e92f87109d | refs/heads/main | 2023-04-26T12:35:20.637207 | 2021-05-21T01:14:32 | 2021-05-21T01:14:32 | 369,377,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,751 | h | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2006-2008, 2010 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, Yo... | [
"390835144@qq.com"
] | 390835144@qq.com |
5e400c619f3e9ae503d7af88c142f4d085e9ec32 | f401d88a69c957015f6d0484ade477e8ae2af7a3 | /Singleton/main.cpp | 13dd5cf38cb67472f54e3544d998e351d764d8e6 | [] | no_license | DaleChen0351/DesignPattern | c0968c472e234017b5aabb3f7889d2ddf7da7dac | c48b381f0340373eb62c2ddc6c663a09fb00b3c9 | refs/heads/master | 2020-09-08T03:05:31.955643 | 2020-01-06T10:45:33 | 2020-01-06T10:45:33 | 220,996,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | // Singleton.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include "pch.h"
#include <iostream>
int main()
{
std::cout << "Hello World!\n";
Singleton* mySing = Singleton::getInstance();
}
| [
"dalechen0351@gmail.com"
] | dalechen0351@gmail.com |
8fcf369c2b67cebd0ffaa766a86e554091194a5f | 2f55c9c9cc67712df3f9c12f6f81650fb3f7f1d0 | /processor7/0/ccz | 2689da908e96fe4870229953b84617d0dd585a6c | [] | no_license | bhqasx/Learning-openFoam-case | 86677c25948a2c0ac767be406a9356c2d2907ef9 | 159304b7e5d3579a1dfb3f20dc5ad8be79683222 | refs/heads/main | 2023-07-09T21:27:17.128564 | 2021-08-20T01:15:51 | 2021-08-20T01:15:51 | 397,872,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406,499 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
... | [
"815810395@qq.com"
] | 815810395@qq.com | |
fb745c8320812a787530aafcd716c0a57ec4d759 | 54c6f47140f54fe84923762485d19a597914a424 | /gui/Vdu.h | 1bb93c75c45f98d48a73d03cc35e268cb7bd0e72 | [] | no_license | nzx9/Linux-Edsac | 603170a6e31ce2c300016ee5a58f808aa2ff80e0 | 3418095153191957a9fde6551e2fa61a78df3a0e | refs/heads/master | 2023-01-27T16:36:40.580856 | 2020-12-13T22:50:04 | 2020-12-13T22:50:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | h | #ifndef _VDU_H
#define _VDU_H
#include <SmrFramework.h>
#include <SmrAppFramework.h>
using namespace SmrFramework;
class Vdu : public Control {
protected:
UInt32 lines[32];
Byte mode;
Byte tank;
Boolean showGrid;
void cycleSingle(UInt32 hi, UInt32 lo,UInt32 y, Byte start);
void ... | [
"mikehriley@hotmail.com"
] | mikehriley@hotmail.com |
caec620f4f37aec42011bf44c43156eb8aea23a8 | 07fb5486913887aa2c47e238bee7f353469320e0 | /src/caffe/util/mpi.cpp | c33bbd444bbf35d9d0c2aa9860bd521a72ead29d | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | arnaldotav/Caffe-MPI.github.io | 597b390711389bc1f081d53f4fe27eef8f348188 | 6c2c34743583af695e8eb9fc6c946371142c3b39 | refs/heads/master | 2021-01-12T02:05:39.581899 | 2016-11-23T06:12:30 | 2016-11-23T06:12:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,075 | cpp | #include "caffe/common.hpp"
#include "caffe/util/mpi.hpp"
#include <execinfo.h>
namespace caffe {
template<>
int caffe_mpi_send<float>(void *buf, int count, int dest, int tag,
MPI_Comm comm) {
/*
int j, nptrs;
void *buffer[100];
char **strings;
nptrs = backtrace(buffer, 3);
strings = backtrace... | [
"Caffe@inspur.com"
] | Caffe@inspur.com |
1becc2f14a95786792a00c31155f4c90e7f62de8 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /components/mirroring/service/receiver_response_unittest.cc | 807a683f48d5e6d6da8cd55d9544e609ef75eb29 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 10,338 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/mirroring/service/receiver_response.h"
#include "base/base64.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/jso... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
73d6fa49703a54589980360297130c55a1b401c6 | 3e1ac5a6f5473c93fb9d4174ced2e721a7c1ff4c | /build/iOS/Preview/include/Fuse.Elements.Element.DefaultDisposable.h | a7b1e69cf5b4eed6e9017b7391d9523ace2e8502 | [] | no_license | dream-plus/DreamPlus_popup | 49d42d313e9cf1c9bd5ffa01a42d4b7c2cf0c929 | 76bb86b1f2e36a513effbc4bc055efae78331746 | refs/heads/master | 2020-04-28T20:47:24.361319 | 2019-05-13T12:04:14 | 2019-05-13T12:04:14 | 175,556,703 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,225 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Elements/1.9.0/Element.UnoHostInterface.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.IDisposable.h>
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace Elements{struct Element__DefaultDi... | [
"cowodbs156@gmail.com"
] | cowodbs156@gmail.com |
85f0873927a7b01283b7e01d8b148ce619f264d7 | 24201d4d7e1ed9a023d4c549f07a0c8725caa570 | /Engine/H/Graphics/Image.h | 8ba8bb424077d8707046373e58bc32b919b3db17 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-permissive"
] | permissive | rastargame/EsenthelEngine | 97402529e152aa38eaaa89d2786ebe9bb980da00 | deccf86929c86b7fcf762039c3ba6afdeb5d8681 | refs/heads/master | 2023-07-16T16:40:52.136995 | 2021-08-22T08:33:28 | 2021-08-22T08:33:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101,063 | h | /******************************************************************************
Use 'Image' for handling images (textures).
/******************************************************************************/
enum FILTER_TYPE : Byte // Filtering Type
{
FILTER_NONE , // 1.0000 speed, worst quality, use... | [
"esenthel@hotmail.com"
] | esenthel@hotmail.com |
56a9f8254b470e2120ccd1a2fdaba21ac32fe7e2 | f760d086814b96dfc0a09da8ffc3c056ae6cc9af | /archive/challenge-0007/recursive-image-cxx/src/frac_builder.cxx | 41c18e34d02ef5b2f08da6ec322296978a6396fb | [] | no_license | psyomn/programming-exercise-solutions | cb548f48a91016dc26deecca0f0e43abfed51146 | 55944c333b851c7f1688fbc9b50fff6d366a2225 | refs/heads/master | 2021-01-17T09:14:55.242179 | 2016-12-15T23:39:35 | 2016-12-15T23:39:35 | 10,873,980 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cxx | #include "frac_builder.hxx"
using namespace std::literals;
FracBuilder::FracBuilder(std::function<double(double)> iFn) :
m_fn(iFn),
m_data(std::vector<std::complex<double> >()),
m_x(0),
m_y(0),
m_value(0.0)
{}
FracBuilder FracBuilder::x(double iX) {
m_x = iX;
return *this;
}
FracBuilder FracBuilder::y... | [
"lethaljellybean@gmail.com"
] | lethaljellybean@gmail.com |
bbae13ef35b7aa28dd7c55be221c26c4f35d24a1 | ae9792e5ba21183c5a8270e50f48177ed31a774d | /bin/tlrplay-glfw/Util.cpp | f3b83fe3adf8c28f0f32a02df0fc626668106525 | [
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | jhodges10/tlRender | 057c7095747ca1ec9a003921d5ecd1c19056c58e | b84b6197d8d1f5db9a9850399cd2da76be034b83 | refs/heads/main | 2023-06-19T02:49:48.885834 | 2021-07-13T23:56:54 | 2021-07-13T23:56:54 | 386,013,232 | 1 | 0 | BSD-3-Clause | 2021-07-14T16:56:40 | 2021-07-14T16:56:40 | null | UTF-8 | C++ | false | false | 3,383 | cpp | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2021 Darby Johnston
// All rights reserved.
#include "Util.h"
#include <tlrCore/Color.h>
#include <tlrCore/Math.h>
#include <cmath>
namespace tlr
{
void drawHUDLabel(
const std::shared_ptr<gl::Render>& render,
const std::shared_ptr<gl::Fo... | [
"darbyjohnston@yahoo.com"
] | darbyjohnston@yahoo.com |
8fa516f70a7aab8381faec39c12f73bf72b8bf82 | ac67de87a6c7c4391c8398f409745e284fd70d76 | /e_Team.h | 39f274d4d354c524485c30ab49d1bb1e3f0f2a2d | [] | no_license | Wasgo097/mygame | 6a2af89edf83749cd793568203de0b0b4d7112fd | dce2ebd0afc0c08019b5d1da321653c39930d7ac | refs/heads/master | 2020-06-26T16:37:20.432575 | 2019-07-30T16:45:28 | 2019-07-30T16:45:28 | 199,687,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,029 | h | #pragma once
#include "base_e_Team.h"
class e_Team:public base_e_Team{
sf::Texture texture[5];
public:
e_Team(const sf::Vector2f& ratio, Quality q) {
int texture_index = 0;
int fig = 0;
int wiz = 0;
int m_war = 0;
int tan = 0;
int arc = 0;
this->ratio = ratio;
while (e_team_full.size()<5) {
int j =... | [
"patrykpakula321@gmail.com"
] | patrykpakula321@gmail.com |
572ed0ec391adf658efd3994edefb8ce666d8013 | 4b394b378f5d35d055f730592552daaefdadcc71 | /2 course/OOP/lab2-4/main.cpp | 902c2d51e062349e9aaca61d809462f62dfd09d6 | [
"Unlicense"
] | permissive | semyon-dev/bonch-labs | 092c73bfd81a75a9f1cff714d5cfa2cbf19598a0 | 632a692e27eee5ab34dd6684a6d2d095ff4f89d6 | refs/heads/master | 2023-01-13T01:04:54.437134 | 2022-12-22T09:27:33 | 2022-12-22T09:27:33 | 246,418,646 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include <iostream>
#include "CTwo.hpp"
#include "COne.hpp"
#include "CThree.hpp"
#include "CFour.hpp"
using std::cout;
using std::endl;
void printAll(CTwo **ctwo, size_t n) {
for (int i = 0; i < n; i++) {
ctwo[i]->print();
}
}
int main() {
COne cone(1.1, "f");
CTwo ctwo(2.... | [
"semyon-dev@protonmail.com"
] | semyon-dev@protonmail.com |
d9b0bcc4e35b116a6fbd7de62a195833708e64fc | a1242faa44b9a723b9b6a99c016371dfa37ccba9 | /include/mobj/domains/MOGWManhattanHeuristic.h | 1f2cc21e693723995fc902d6f09b6306012f72ce | [
"MIT"
] | permissive | mejrpete/mdp-lib | 6a73db290f5a17ab410460f48e3a92e6627e35ab | 8e8e0f1fbbacf9a0ff9e42a2934270676633de29 | refs/heads/master | 2022-11-27T00:14:14.318671 | 2019-07-16T12:48:08 | 2019-07-16T12:48:08 | 266,203,595 | 0 | 0 | MIT | 2020-05-22T20:42:22 | 2020-05-22T20:42:22 | null | UTF-8 | C++ | false | false | 1,496 | h | #ifndef MDPLIB_MOGWSECONDHEUR_H
#define MDPLIB_MOGWSECONDHEUR_H
#include "../../util/general.h"
#include "../../heuristic.h"
#include "../../state.h"
#include "MOGridWorldProblem.h"
#include "MOGridWorldState.h"
namespace mlmobj
{
class MOGWManhattanHeuristic : public mlcore::Heuristic
{
private:
MOGridWorldPro... | [
"luisen.p@gmail.com"
] | luisen.p@gmail.com |
9efe6918f61f1e6f18ae6806f104a5f4b5f9a7bf | 1a91bdd47ab7829a278da1fb6ddcfc5c386293b3 | /third_party/dapcstp/src/main.cpp | ca56e2f59aa7ae3253c6c2570618acaf55bf1a36 | [] | no_license | danzeng8/TopoSimplifier | 43738b843577fc34cc469bed24bdf23c4fcf088b | 10753151afac5bd35f574f834a029788ecd1e25e | refs/heads/master | 2023-07-09T22:06:18.850305 | 2021-08-04T21:09:00 | 2021-08-04T21:09:00 | 266,427,563 | 22 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,627 | cpp | /**
* \file main.cpp
* \brief solver for apcstp instances
*
* \author Martin Luipersbeck
* \date 2015-05-03
*/
#include <stdio.h>
#include <vector>
#include <boost/filesystem.hpp>
#include "stats.h"
#include "options.h"
#include "procstatus.h"
#include "timer.h"
#include "ds.h"
#include "bbtree.h"
#includ... | [
"danzeng@CSE-YAJIE.seas.wustl.edu"
] | danzeng@CSE-YAJIE.seas.wustl.edu |
30b5855c90b6961a8b2cdf2c2405adc48266a59e | f15ec81503d395becaa7db346f7062222c3b8104 | /Space_Typers/space_typers.cpp | 7c96e00bae00e7131add8118cfc1885ded0b9887 | [] | no_license | Bade99/Space_Typers | 86aad53e737bf5fc3d644ffca840932be00a0415 | 45868800b76174b87ef4f21edcc7f1f0a37d18dd | refs/heads/master | 2022-12-01T03:06:50.889299 | 2020-08-17T18:02:28 | 2020-08-17T18:02:28 | 280,565,558 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 73,249 | cpp | #include "space_typers.h"
//REMAINDERS:
//·optimization fp:fast
//·optimization (google) intel intrinsics guide
//void game_output_sound(game_soundbuffer* sound_buf, int hz) {
// static f32 sine_t = 0;
// int volume = 3000;
// int waveperiod = sound_buf->samples_per_sec / hz;
//
// i16* samp... | [
"31745377+Bade99@users.noreply.github.com"
] | 31745377+Bade99@users.noreply.github.com |
40c2bdfec543e6b86071a914e0257c007eb30cea | 44bc24f466d6edd43e040488f35a24a365ff01e3 | /src/game/shared/movevars_shared.cpp | 90320397f5fd90c876417d0cd9d7bea3fe415856 | [] | no_license | code-google-com/puzzlr | 38fdfad07cc4aa7e99c2c1ecd05440c4ff19d6cb | 3b9899a2dedf41644d6427b887977dc7f8b04945 | refs/heads/master | 2020-05-18T20:11:03.212547 | 2010-05-22T20:49:36 | 2010-05-22T20:49:36 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 4,936 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "movevars_shared.h"
// memdbgon must be the last include file in a .cpp file!!!
#includ... | [
"aaronweiss74@a6d7ee8f-d40e-d1f1-f2a9-9200d20d501c"
] | aaronweiss74@a6d7ee8f-d40e-d1f1-f2a9-9200d20d501c |
ed617d2a94d27f11b93bb4b915c35105a26d6315 | 17094b0b42abebbb88dc56b6635a53d582efb9dd | /src/masternode-payments.cpp | 15df014e7989929445fbe8c6ab52e646b2ef01e8 | [
"MIT"
] | permissive | ethcash/ethcash | d1eb9dafaa8ad2f8499a24503acc59b723f96b2f | 02ebc65953cfc7976e83bf8a6479e18902f86752 | refs/heads/master | 2021-07-17T14:12:50.014270 | 2017-10-24T06:36:47 | 2017-10-24T06:36:47 | 107,437,074 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,641 | cpp | // Copyright (c) 2014-2015 The Dash developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "masternode-payments.h"
#include "masternodeman.h"
#include "darksend.h"
#include "util.h"
#include "sync.h"
#include "s... | [
"30493741+luanhv77@users.noreply.github.com"
] | 30493741+luanhv77@users.noreply.github.com |
60d3dc2a0a0094ae3f4de9dc7efae95d4057226f | eb944c542f0bd11b1191edc1ab72af519f65682a | /src/rpcprotocol.h | 3866e183d6c599e46a25dd6b2ca7cfc1c9c0ea5c | [
"MIT"
] | permissive | rcrtonline/rcrt | d090b5ff454338ac1cd1ce57bdb4528a4eb7a34d | 3acd714111ef8bed5e5c049210341d9c13fb03b4 | refs/heads/master | 2020-04-02T04:14:05.546316 | 2019-01-02T20:28:43 | 2019-01-02T20:28:43 | 149,267,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,936 | h | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_RPCPROTOCOL_H
#define BITCOIN_RPCPROTOCOL_H
#include <list>
#include <map>... | [
"rcrtonline@protonmail.com"
] | rcrtonline@protonmail.com |
42b0c10c1fd9a7f289642b4fea6b25c86088c9c4 | 710b00495e333acaa254408ac12c9f07342e5c5d | /include/subTree.h | b4c6362092f9eff08dafa898ee7530d4d6ab19c4 | [] | no_license | RazorCMS/DarkPhotonAnalysis | ff2aec9bd744c325b727b6d73486b465c8b088a2 | 536f13434b590cd0c87aacdb77f7e18680d861fe | refs/heads/master | 2021-07-13T07:17:18.594322 | 2019-01-12T19:12:24 | 2019-01-12T19:12:24 | 154,596,765 | 0 | 0 | null | 2019-01-12T05:20:26 | 2018-10-25T02:15:23 | Python | UTF-8 | C++ | false | false | 3,901 | h | //////////////////////////////////////////////////////////
// This class has been automatically generated on
// Wed Dec 19 07:43:26 2018 by ROOT version 6.10/09
// from TTree tree/tree
// found on file: /mnt/hadoop/store/user/idutta/DarkPhoton/Samples/xcg2Dec2018/2Dec2018xcg_job0_scout_skimmed.root
////////////////////... | [
"shufay.ung@gmail.com"
] | shufay.ung@gmail.com |
8f9d60d5e566125250d942d5b8a4a4ff15c01532 | 421eadb55c287255c9220d9f3564ac0b2df6513e | /multi.h | 1b38a6a5eac36e4c44573978dec77cdd13ccf6e5 | [] | no_license | Z-Jianxin/AsyncPDSparse | 767d4b8f7b83c9baacca386d24023930b99891c8 | 2db37d94214ae84299154ef744f84e2e8da25932 | refs/heads/master | 2023-03-16T21:13:44.359579 | 2017-10-22T16:20:46 | 2017-10-22T16:20:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,992 | h | #ifndef MULTITRAIN
#define MULTITRAIN
#include "util.h"
#include "NewHash.h"
class Problem{
public:
static map<string,int> label_index_map;
static vector<string> label_name_list;
static int D;//dimension
static int K;
vector<SparseVec*> data;
vector<Labels> labels;
int N;//number of samples
};
map<string,i... | [
"a061105@gmail.com"
] | a061105@gmail.com |
ee83509bab7c182284e777febb9ed12320d6982a | 5979b4d890468e3f26c61e41643263981cdfd47e | /user.h | c762b3cd954945eed23447a52c05a031afe9a3de | [] | no_license | danieldir/carSellGui | 9580300137f8e7a3dede803fd48bb4da1befcb87 | fed1dcb3d0483da384f3ac3d634746248f8b2b31 | refs/heads/master | 2022-04-22T21:00:10.708232 | 2020-02-06T16:16:56 | 2020-02-06T16:16:56 | 234,334,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85 | h | #ifndef USER_H
#define USER_H
class User
{
public:
User();
};
#endif // USER_H | [
"pikachurodrigue@gmail.com"
] | pikachurodrigue@gmail.com |
565bd79df21fd7226b16bbc7152e586beb5e8fd5 | 02095cd4aeaa3a0d724f7362cdb8795fe9a81620 | /oplink/algorithms/team/src/plugins/algorithms/NSGA2_MultiObjectivized_Fuzzy_Restart/NSGA2_MultiObjectivized_Fuzzy_Restart.cpp | 80027ca2965e094b27cf122fce77eba4e39ee1a3 | [] | no_license | PAL-ULL/software-metco | ba5123cb1423fed4a2ac678ab375728ba4bbfbc8 | 59edc4e49bddbd9fc7237bf2f24271bdfc8afd79 | refs/heads/master | 2021-04-15T04:12:56.292543 | 2021-03-08T13:29:14 | 2021-03-08T13:29:14 | 126,484,450 | 10 | 5 | null | 2020-07-21T18:43:10 | 2018-03-23T12:49:10 | C++ | ISO-8859-1 | C++ | false | false | 45,124 | cpp | /***********************************************************************************
* AUTHORS
* - Eduardo Segredo González
* - Carlos Segura González
*
* DATE
* May 2013
* *********************************************************************************/
#include "NSGA2_MultiObjectivized_Fuzzy_Restart... | [
"edusegre@gmail.com"
] | edusegre@gmail.com |
e4c0804d9b867e140936fcfc7c758416a35a4d60 | 8bcca6838e85cac66d155f3d27c72ceaf848679c | /小车底盘代码/stm32/rikirobot4wd_stm32-master/Driver/PID.cpp | 9154f85570ddf5b1d4e9770a2d63ee80d2a30aca | [] | no_license | sunpeer/riki_robot | 2c1e41607fa9533d19eb2ae73536043a0440394c | 10a6d88f6795067b6c4dcb65aa36904a2117a197 | refs/heads/main | 2023-03-07T06:45:32.462096 | 2021-02-20T07:11:56 | 2021-02-20T07:11:56 | 340,587,316 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | cpp | #include "PID.h"
PID::PID(float min_val, float max_val, float kp, float ki, float kd)
{
min_val_ = min_val;
max_val_ = max_val;
kp_ = kp;
ki_ = ki;
kd_ = kd;
}
double PID::compute(float setpoint, float measured_value)
{
double error;
double pid;
//setpoint is constrained between min and max to preven... | [
"1031826952@qq.com"
] | 1031826952@qq.com |
591f217f0326d46b1caf5cadd2e719b3d7b0dc4a | dfdeec4db13dcd57599fd45ab77a52993df12cea | /HC05-AT-TEST/HC05-AT-TEST.ino | 896e4530ee2e6e94e0433da3e433421f548750c3 | [] | no_license | FabSebSingap/My-Car-Arduino-Bluetooth | 6673e23ec0cd69adede1f1d26c256744341e4053 | f182e951ab0ee2da82f794720c0efb497d55c878 | refs/heads/main | 2023-02-10T20:01:14.670634 | 2020-12-25T14:19:03 | 2020-12-25T14:19:03 | 324,158,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,275 | ino | /* This will work for a HC-05
*
*
* cablage
* VCC –> +5V
* GND –>GND
* TXD –> Pin 0 (RX)
* RXD –> Pin 1 (TX)
* Si HC-05 : EN (ou Key) relié au 3.3V de l'arduino
*
* Le HC-05 doit clignoter lentement (2 sec) s'il est en mode commandes AT
* La console série de l'ordi doit être sur 57600 bauds... | [
"noreply@github.com"
] | noreply@github.com |
0f95021ecf7cbbca3384490aadd259e4fb617401 | ac5af3d4a60ecec85ebed44502b70eece28f726f | /Kuangbin/Kuangbin专题七 线段树/qhb/H.cpp | 7c95c400475ca12956f2856c7b8eca69ae1ecc69 | [] | no_license | qhb1001/For-that-dream | 29f473cb4301bba70985c1c6ac4a152e237598fe | 624a21572e9d674f007d9f65d560e83d281d7497 | refs/heads/master | 2020-03-09T21:33:28.847612 | 2018-09-27T13:39:53 | 2018-09-27T13:39:53 | 129,012,092 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,851 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <string>
#include <cmath>
#include <vector>
using namespace std;
const int MAX = 2e5 + 5;
struct Node {
bool type;//if all values in this segment are '1'
long long val;
}t[MAX];
int n, m;
void build() {
for(int i = n - 1; i > 0; --i) {
if(t[i<<1].ty... | [
"z694895876@gmail.com"
] | z694895876@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.