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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6750589e59b6c4ad1793b4ebeaff106e1535fd28 | eb580526d1c04da0a1f3ed4146b9b68609cef3ea | /A/709.cpp | a260db6d368e266cf238819f586591598f853105 | [] | no_license | bhaveshgawri/codeforces | bc34e7b688ee1e7ddc7efbdd758839454ba40524 | 22b8b7e0f3432051ddc1132b6bb84e0b25781347 | refs/heads/master | 2021-01-12T03:32:58.452769 | 2018-01-13T09:01:14 | 2018-01-13T09:01:14 | 78,229,124 | 0 | 1 | null | 2017-10-28T17:06:10 | 2017-01-06T18:31:40 | C++ | UTF-8 | C++ | false | false | 278 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main(){
int n,b,d,count=0;
long long int sum=0;
cin>>n>>b>>d;
vector<int> v(n);
for (int i=0;i<n;i++){
int p;
cin>>p;
if (p<=b) sum+=p;
if (sum>d) {
count++;
sum=0;
}
}
cout<<count;
}
| [
"4bhaveshgawri@gmail.com"
] | 4bhaveshgawri@gmail.com |
ba33eef7f5a84b39fe669c183ffd5101c3be7c6d | 5fe5d44504f802efc07a09b5b269cf01af4df022 | /include/rosbag/bag.h | 6090c20f478054de8fbf68b738385fa8f93af6c4 | [] | no_license | southpaw-wu/ros_ios_chamo | 737579b30b887799df51155f2bece68b8e3110d0 | a668c434ccff9c5f19678a6c4c58d3ffe67f7c37 | refs/heads/master | 2020-09-27T07:42:57.782856 | 2019-12-07T06:39:05 | 2019-12-07T06:39:05 | 226,466,720 | 0 | 0 | null | 2019-12-07T06:28:38 | 2019-12-07T06:28:38 | null | UTF-8 | C++ | false | false | 25,995 | h | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | [
"mac@MacdeMacBook-Air-2.local"
] | mac@MacdeMacBook-Air-2.local |
a3d0bc8616fc166674e182763f6a8b9873b864ad | c337761a03f9fcf81b00f902ef1077c5e2b675b7 | /Codeforces/Codes/all_practice/1303d.cpp | 2d6328dc84858bc46c214d8ea94dc721d15a35e4 | [] | no_license | TanavShah/Competitive-Programming | 2a16affde99f188306a5dfecddba481ea66cdf04 | b8c64bc790df4b9facdf56b2ff2f191d8324a92f | refs/heads/master | 2022-12-28T02:03:28.959099 | 2020-09-26T11:25:27 | 2020-09-26T11:25:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | cpp | // Su Saheb?
#include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
typedef long long ll;
int main()
{
int t;
cin >> t;
while(t--)
{
ll n,m;
cin >> n >> m;
map<ll, ll> p;
ll sum = 0;
for(ll i = 0 ; i < m ; i++)
{
ll temp;
cin >> temp;
sum += temp;
... | [
"tshah@cs.iitr.ac.in"
] | tshah@cs.iitr.ac.in |
946be2154e87146fcb74d08600b6011c24f7b9e9 | bc407d25aa3da4babdb9762f53a201a7ea84b976 | /ArquitecturaDeComputadoras/Compl/bajonivel/sc_main.cpp | 09dde5660926c92e81552a837d73d0e7c1ccfb9c | [] | no_license | YurleySolimer/ULA | e91344815d32175a13b7cd7ee153f16a1b237580 | 57c2caa895e0635f215d9f98e9fad05227bf5f90 | refs/heads/master | 2020-04-14T19:30:26.932376 | 2019-01-04T05:07:30 | 2019-01-04T05:07:30 | 164,060,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | /**@file sc_main.cpp
*@brief aqui se conectan el el FullAdder con el testbech
*@author Ronald Sulbarán
@date 12/6/2011
*/
#include<Compl.h>
#include<testbech.h>
int sc_main(int argc,char *argv[]){
sc_time DELAY(10,SC_NS);
sc_time PERIOD(10,SC_NS);
sc_clock clk("clock",PERIOD,0.5,DELAY,true);
sc_signal<sc_uint<2... | [
"yurley.solimer@gmail.com"
] | yurley.solimer@gmail.com |
74bad7e5f0c813d7ad2147da0a2cd38fa3d90c58 | f6494433ffef61b57b82b573ddfb4b1251a2f1fc | /Algorithms/inc/tests/TestCodeComp.h | bd5730f1d26afd99c149aadc77dde8b786d603cb | [] | no_license | itabhijitb/AlgorithmsCPP | 434701b1b052d991d0f5c1076066e1d385cfa772 | 8ae4e9865f57522d08ea4b688871d20192fb4f6f | refs/heads/master | 2020-06-11T05:05:38.992721 | 2018-10-13T02:52:56 | 2018-10-13T02:52:56 | 75,959,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,186 | h | #ifndef __TEST_CODE_COMP_H__
#define __TEST_CODE_COMP_H__
#include <algorithm>
#include "util/pprinter.h"
#include "cc/Sapient.h"
#include "cc/Sapient_Madhu.h"
//https://github.com/itabhijitb/UnitTestFramework
#include "OOTest/OOtest.h"
namespace Sapient {
namespace MaxMed {
struct Sample1 : public OOTestNS::Pledge... | [
"itabhijitb@gmail.com"
] | itabhijitb@gmail.com |
84801a8d193e3a5958e891023e13be9aac8aa7ef | c49744f51af8533f4d5415eadc4032a4675d0623 | /Labs/Lab_12_MST_and_HeapManager/pt2/Memory.h | 05a3e4cae7ee47262a263a9a556bda121a1eefa6 | [] | no_license | DByoyoer/CSCI_230 | ef788a45eb54954d7932ec72abde87289e160ed0 | 71229711cb1fe527a43deec20b52c55de7e57dfe | refs/heads/master | 2021-02-07T20:35:51.010821 | 2020-06-11T18:35:41 | 2020-06-11T18:35:41 | 244,073,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,179 | h | #include <iostream>
using namespace std;
struct Block
{
int size;
int allocatedSize;
bool isAvaliable;
Block* next;
};
class Memory
{
private:
int bytesAvaliable;
Block* head;
int blocks;
public:
Memory(int size)
{
bytesAvaliable = size;
blocks = 0;
head ... | [
"mfm29578@gmail.com"
] | mfm29578@gmail.com |
6df7d5b7a6f420a69bb46ede020c6a1a3578597f | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /components/sync/device_info/local_device_info_provider.h | 08e33c411a610a9ea4ad74d2e13702713718397f | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 2,246 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SYNC_DEVICE_INFO_LOCAL_DEVICE_INFO_PROVIDER_H_
#define COMPONENTS_SYNC_DEVICE_INFO_LOCAL_DEVICE_INFO_PROVIDER_H_
#include <memory>
#in... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
75d4067bf0597219453d00f5157ffd3c68b0e261 | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/oldd/old/movingMeshRhoPimpleFoam/rhoPimpleArbitraryFoam/1.33/p | 465d59cf6e94db68feba8b8362eb24042e8031ce | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,998 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"thomasdigiusto@me.com"
] | thomasdigiusto@me.com | |
137b65bc64744baa49e0b480654f090291de2f66 | a9a0de210164259caaee87e1f1729fa4346ba082 | /step_forward_linearized_Euler.cpp | 3218a3ff4246c93ab6f8445b0019119a27e8b6ec | [] | no_license | wuwuyiyirong5/NS | c7215644c75a498f9dde17dba194f50c9818edbe | 7f7d36398a925dff6962bfe9735c20659bfa64f4 | refs/heads/master | 2021-01-10T01:53:08.204593 | 2016-01-30T13:12:56 | 2016-01-30T13:12:56 | 43,075,567 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,441 | cpp |
#include "ISOP2P1.h"
#include "preconditioner.h"
#define DIM 2
void ISOP2P1::stepForwardLinearizedEuler()
{
int n_dof_v = fem_space_v.n_dof();
int n_dof_p = fem_space_p.n_dof();
int n_total_dof = 2 * n_dof_v + n_dof_p;
matrix.reinit(sp_stokes);
/// (0, 0)
for (int i = 0; i < sp_vxvx.n_nonzero_elements(); ++i)
... | [
"wuwuyiyirongrong@163.com"
] | wuwuyiyirongrong@163.com |
c13434012d16b787cc1100ebfc93f1c4d4c7cd8c | f887ae9a4da8862fe39749965fe1322c923b68ba | /libraries/plugins/apis/chain_api/include/webanpick/plugins/chain_api/chain_api_plugin.hpp | 354c909f4e433194bb1dd340aba987a1d827a50f | [
"Apache-2.0"
] | permissive | webanpick/webanpick-master | 3bfa1820ea0327dabb0bc946921ccc7253a6f7eb | e1e9c3632d0a6b90a213474c2d4f87408f1b8c24 | refs/heads/master | 2020-03-07T06:18:32.674004 | 2018-03-29T16:50:25 | 2018-03-29T16:50:25 | 127,318,550 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | hpp | #pragma once
#include <webanpick/plugins/chain/chain_plugin.hpp>
#include <webanpick/plugins/json_rpc/json_rpc_plugin.hpp>
#include <appbase/application.hpp>
#define WEBANPICK_CHAIN_API_PLUGIN_NAME "chain_api"
namespace webanpick { namespace plugins { namespace chain {
using namespace appbase;
class chain_api_plu... | [
"13242987987@qq.com"
] | 13242987987@qq.com |
c3651e71e890979c1e53e8a3060dab3e542a0182 | d605e19ffe3bda0c161fae8bd54eb30b8db77af7 | /inc/Gem/String/DStr.h | f899ef4628104dc174a3a7b1b518d7f81e992f18 | [] | no_license | jimc1664/GP3 | 7a853778a510e2fc4d814b721bbcbe9db7c96a74 | eee27798bec0ccb0e2c0c32998a1fac469dd8e22 | refs/heads/master | 2021-01-19T00:39:46.502119 | 2017-04-26T17:40:47 | 2017-04-26T17:40:47 | 87,198,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,484 | h | #ifndef GEM_STRING_DSTR_H
#define GEM_STRING_DSTR_H
#include "../Org/ary.h"
#include "CStr.h"
/*
namespace File {
Template1 struct ReadIF;
};*/
template<class CharT> class DStrTemplate : public StringBase<CharT,DStrTemplate<CharT>>, public Serialisable<DStrTemplate<CharT>> {
public:
DStrTemplate() {}
DStrTemplat... | [
"jimc1664@outlook.com"
] | jimc1664@outlook.com |
794d87e1a4ba288ae6b7a78a8099be46785964fb | c417e0bc91cbe29e297d4c2d1ea2a9f2ba80be5e | /contracts/proxy/proxy.hpp | 3dcd5574d25713a7cdbc3250e414b02c4ff24fbb | [
"MIT"
] | permissive | hoseadevops/BetterChain | be051b0f2f78256efbe0e88c3b3542cbc6083d49 | 29f82c25ae6812beaf09f8d7069932474bea9f8b | refs/heads/master | 2020-04-25T21:22:10.936807 | 2018-01-30T01:15:27 | 2018-01-30T01:15:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | hpp | /**
* @file
* @copyright defined in BetterChain/LICENSE.txt
*/
#include <lib/betterchain.hpp>
#include <lib/db.hpp>
namespace proxy {
//@abi action
struct PACKED( set_owner ) {
account_name owner;
uint32_t delay;
};
//@abi table
struct config {
config(){}
const uint... | [
"bettertony@icloud.com"
] | bettertony@icloud.com |
74a3910a55c012bb2d59dd8245bb7401f7ac299a | ff11d20b4e1db3a5e38d65b7cc0e80d685a434ec | /src/gui/src/python_syntax_highlighter.cpp | 06eefce0e6bd9479567b44ac070b18ea4aa71523 | [
"MIT"
] | permissive | Ruzzyy/anysim | 7a1f17e750d78c30f2abec8091797df83bec95f6 | 6bc590056754e7dc89a1078ab4c41823075088d2 | refs/heads/master | 2020-06-16T10:21:38.034184 | 2019-07-06T12:29:37 | 2019-07-06T12:29:37 | 195,538,040 | 0 | 0 | MIT | 2019-07-06T12:40:05 | 2019-07-06T12:40:04 | null | UTF-8 | C++ | false | false | 3,240 | cpp | //
// Created by egi on 7/5/19.
//
#include "python_syntax_highlighter.h"
python_syntax_highlighter::python_syntax_highlighter (QTextDocument *parent)
: QSyntaxHighlighter(parent)
{
const QString keyword_patterns[] = {
QStringLiteral("\\bfor\\b"), QStringLiteral("\\bif\\b"), QStringLiteral("\\band\\b"),
... | [
"evtushenko.georgy@gmail.com"
] | evtushenko.georgy@gmail.com |
a3323678859efbabac09e534e0bcc627c040624f | 57920703913b9b4f17ca951f1b7400591aee6172 | /template_extra/templates/convex_hull.cpp | df2c4b2a0df11755fcdf2ff6e94e64c9c1f02b1b | [] | no_license | 007atulpandey/COMPETITIVE_PROGRAMMING_TEMPLATE | 2cd6db82a6719c76c3a570461d3e783aa7d8154c | 49be53bcc8bb42e459cbda81b0def9c2f999dac5 | refs/heads/master | 2023-08-17T07:57:17.190143 | 2021-09-16T16:14:25 | 2021-09-16T16:14:25 | 315,901,977 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,869 | cpp | struct convex_hull {
using TYPE = lld;
using point = pair<TYPE, TYPE>;
vector<point> points;
vector<point> hull_up, hull_down, hull_tot;
void init() {
points = hull_up = hull_down = hull_tot = vector<point>();
}
void add_point(TYPE a, TYPE b) {
points.push_back(make_pair(a, b));
}
/* sort b... | [
"apandey0826@gmail.com"
] | apandey0826@gmail.com |
ac05239a179f0343bdb62a776638f1104da57c7e | 30b77c1dd8b7b5a744a5b92e3c455d34349ae283 | /Headers/Pickable.h | baba4a1b8d36c23b65ee36f72242fb5649b2940d | [] | no_license | jon-lad/40kRL | d67db317abb789fca45a11fb6a8ddb5546e8bd70 | c592977c444e1e16093ba633dec9f17bf45d2b19 | refs/heads/master | 2020-09-07T14:47:03.792743 | 2019-11-17T15:50:55 | 2019-11-17T15:50:55 | 220,813,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | h | #pragma once
/*Target selector*/
class TargetSelector : public Persistent {
public:
enum class SelectorType {
SELF,
CLOSEST_MONSTER,
SELECTED_MONSTER,
WEARER_RANGE,
SELECTED_RANGE
};
TargetSelector(SelectorType type, float range);
void selectTargets(Actor* wearer, TCODList<Actor*>& list);
void save(TCO... | [
"jon_lad@hotmail.com"
] | jon_lad@hotmail.com |
e85d98c93ea0508f0cfaeec4c55d66b1858a1449 | 4de2fec48c761bed695646e0e8425a283e4c2596 | /include/hermes/AST/ESTree.h | b4d95332ced8f854468c17f090cf0e8e802cfaa8 | [
"MIT"
] | permissive | ahmedkrmn/hermes | 6befc444b265a57280c6e75017c05d71cb6512f1 | 0c9daa5a5eee7649558a53e3e541b80c89048c42 | refs/heads/master | 2022-10-04T09:47:40.656373 | 2020-05-26T18:07:28 | 2020-05-26T18:09:25 | 267,156,853 | 0 | 0 | MIT | 2020-05-26T21:34:51 | 2020-05-26T21:34:50 | null | UTF-8 | C++ | false | false | 43,789 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#ifndef HERMES_AST_ESTREE_H
#define HERMES_AST_ESTREE_H
#include "hermes/AST/Context.h"
#include "hermes/Support/StringTable.h"
#... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
2e5bdd9029c3e2e57758cd06186b479ea9a6bbee | c1d39d3b0bcafbb48ba2514afbbbd6d94cb7ffe1 | /source/deps/illa/surface_lock_swmr.cpp | 33f4eec153f92311e196062a471f2e4f13cbabab | [
"IJG",
"MIT"
] | permissive | P4ll/Pictus | c6bb6fbc8014c7de5116380f48f8c1c4016a2c43 | 0e58285b89292d0b221ab4d09911ef439711cc59 | refs/heads/master | 2023-03-16T06:42:12.293939 | 2018-09-13T18:19:30 | 2018-09-13T18:19:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | cpp | #include "surface_lock_swmr.h"
#include "orz/exception.h"
#include "orz/types.h"
namespace Img {
LockStrategySingleWriterMultipleReaders::LockStrategySingleWriterMultipleReaders()
:m_isWriteLocked(false)
{}
void LockStrategySingleWriterMultipleReaders::onAcquireLock( LockMethod method ) {
if(method == LockRead... | [
"pontus@mardnas.se"
] | pontus@mardnas.se |
06e0ce49923ce287596cb59f408e29554816ea8f | 20b48175cc1b772fe551d23564c02be0459976cb | /CubeSolver/Square.h | b0f300c97966ccdea600b9865649a821699a70ee | [] | no_license | henry-west/CubeSolver | 1eb6ab444fdcfed368f74a06fa3c71f949eca94d | b002d85c10eb9064d1b6037032ac0185fd77cb4b | refs/heads/master | 2016-09-05T13:54:39.573141 | 2014-09-23T19:38:19 | 2014-09-23T19:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | h | //
// Square.h
// CubeSolver
//
// Created by Henry West on 9/16/14.
// Copyright (c) 2014 Henry West. All rights reserved.
//
#ifndef __CubeSolver__Square__
#define __CubeSolver__Square__
#include <iostream>
class Square {
public:
int position;
};
#endif /* defined(__CubeSolver__Square__) */
| [
"henrywest93@outlook.com"
] | henrywest93@outlook.com |
f975da590e88f7e8569f5fb992b1c3c9da1c6b80 | eda328e0f13f4c1f25b5d12b605a2825b030d579 | /Ass2/src/Transform.cpp | 2a59412637036dfa6a812875299eb0970f4a5b5c | [
"MIT"
] | permissive | LAK132/OpenGL-Trash | 6bc727fee7e5c0fcd8751fcf7b87332c23b03993 | 9ddedf65792de78f642f47ad032b5027e4c390c1 | refs/heads/master | 2020-07-05T17:19:42.843639 | 2019-08-16T13:40:14 | 2019-08-16T13:40:14 | 202,711,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,013 | cpp | // Transform.cpp: implementation of the Transform class.
// Note: when you construct a matrix using mat4() or mat3(), it will be COLUMN-MAJOR
// Keep this in mind in readfile.cpp and display.cpp
// See FAQ for more details or if you're having problems.
#include "Transform.h"
#define DEGTORAD(x) ((pi/180)*x)
// Help... | [
"LAK132@kicodora.com"
] | LAK132@kicodora.com |
0403fb385ca2d0a877d3cb2565388aedf83578d5 | cefbf8fb5abb0461cfc33443038362e4e71b3297 | /ash/public/cpp/ash_features.h | cb74086f31f1c3a72f85de39f19b8660d79f8609 | [
"BSD-3-Clause"
] | permissive | frankbsd/chromium | 3f34c6d3485f388b4d9e81ea90aeacb0e15076b4 | 83745687615279847d4c2c5decf43affdd93f78b | refs/heads/master | 2023-01-10T09:39:32.615419 | 2019-08-06T12:46:14 | 2019-08-06T12:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,213 | h | // 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.
#ifndef ASH_PUBLIC_CPP_ASH_FEATURES_H_
#define ASH_PUBLIC_CPP_ASH_FEATURES_H_
#include "ash/public/cpp/ash_public_export.h"
#include "base/feature_list.h... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
72fbb7485ac66287e6a25e1a4e793db8797d01c9 | 68adda25dff4b3650e88c495928ecd36b8c037b4 | /.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/run_code_on_dllmain.cpp | df6b5286b3205e5f29654db99cd7e247faafb9cf | [
"MIT"
] | permissive | jaeyholic/portfolio-v2 | 28614ce9ce0a7a450aaa58f36393b95ad3155464 | f9cfdd250e0fbde9e91e36d46826700a7c08df62 | refs/heads/master | 2023-06-24T04:18:27.269996 | 2020-08-11T14:28:12 | 2020-08-11T14:28:12 | 228,602,441 | 0 | 0 | MIT | 2023-06-10T00:47:09 | 2019-12-17T11:32:20 | JavaScript | UTF-8 | C++ | false | false | 2,370 | cpp | #include <iostream>
#include <thread>
#include "attach.h"
#include "stdafx.h"
#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include <tchar.h>
typedef int (_RunCodeInMemoryInAttachedDll)();
HINSTANCE globalDllInstance = NULL;
class NotificationHelper {
public:
~NotificationHelper(){... | [
"gabsco208309@hotmail.com"
] | gabsco208309@hotmail.com |
f9d78163f96b6a4e8c14b0ce9a01e7506785efe5 | a92b18defb50c5d1118a11bc364f17b148312028 | /src/prod/src/Management/healthmanager/ApplicationAttributesStoreData.h | 8b024803ac27e806ee23b27ba810f4f7f492be38 | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 4,990 | h | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Manage... | [
"noreply-sfteam@microsoft.com"
] | noreply-sfteam@microsoft.com |
9a53b1cf30383b5fae500643f89167bc8bbfdd93 | 490d92ab41ce075302452a754d2bced50eabc07f | /Project_alyasaf_gbay_itsik_weiss/Project_alyasaf_gbay_itsik_weiss/Project/src/CollisionHandling.cpp | e18d732bb6a6065d8e32cf2d5b3b357610459212 | [] | no_license | itsik-weiss/super-mario | 5d0bacbecb990c4cb359ced6bc353a0476fbc9a5 | fef899d0bc6eb0b6708a79bbcf5d079ad8d7b0e2 | refs/heads/main | 2023-03-07T14:43:25.502224 | 2021-02-20T21:43:17 | 2021-02-20T21:43:17 | 340,753,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,823 | cpp | #include "CollisionHandling.h"
#include <functional>
#include <iostream>
#include <map>
#include <typeindex>
#include "Food.h"
#include "Gift.h"
#include "Monster.h"
#include "Player.h"
#include "PlayerShot.h"
#include "Wall.h"
#include "Thorn.h"
#include "WinPoint.h"
namespace { // anonymous namespace — the standa... | [
"itsikweiss1@gmail.com"
] | itsikweiss1@gmail.com |
6821586ba19aa65e6d727e8987869cf56103f081 | 8a2781e0fe3be7953c9ad15690b74afc32d65a83 | /MethodOne.cpp | f9a57d6c6f95b687466aafbca44869619332d501 | [] | no_license | josephsayad/CS335_Find_Median | bd45bc8ac27dc8b7055d9b5ca594b3c6fdda0017 | a061ee00148189ddf3413ab4a9ee9e0e9577960a | refs/heads/master | 2021-06-09T04:16:14.102317 | 2017-01-04T22:13:15 | 2017-01-04T22:13:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,613 | cpp | //
// MethodOne.cpp
// Project 1
//
// Created by Joseph Sayad on 11/15/16.
// Copyright © 2016 Joseph Sayad. All rights reserved.
//
#include <iostream>
#include "MethodOne.h"
using namespace std;
const unsigned int SIZE_LIMIT = 50000;
int methodOne(vector<int>& theVector, const unsigned int& indexOfMedian) {... | [
"JosephSayad95@gmail.com"
] | JosephSayad95@gmail.com |
8c24a457bfd78dfdae3d0461bfc21c92eb70711b | 287edfc6062f5d07e1742c364bf04bf085677817 | /WindowAPI/191219/pch.h | 6f3628ee8c42d6bd58b0ddf7ec2c90eee35cd7fb | [] | no_license | Jangk/WinAPI | aa32cf4ab330a93b86f1cffb1baf8da3ad631a98 | 9e4527986d0fafb4f211cb494719d04a0e4c8271 | refs/heads/master | 2020-11-26T03:14:12.937188 | 2020-01-06T04:44:38 | 2020-01-06T04:44:38 | 228,949,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | h | // pch.h: 미리 컴파일된 헤더 파일입니다.
// 아래 나열된 파일은 한 번만 컴파일되었으며, 향후 빌드에 대한 빌드 성능을 향상합니다.
// 코드 컴파일 및 여러 코드 검색 기능을 포함하여 IntelliSense 성능에도 영향을 미칩니다.
// 그러나 여기에 나열된 파일은 빌드 간 업데이트되는 경우 모두 다시 컴파일됩니다.
// 여기에 자주 업데이트할 파일을 추가하지 마세요. 그러면 성능이 저하됩니다.
#ifndef PCH_H
#define PCH_H
#include <Windows.h>
#include <list>
using namespace std;
... | [
"wkdwodhks7@naver.com"
] | wkdwodhks7@naver.com |
dc147d673d28a61dbb68d26605123dfd7900e0b4 | 97c5690ab63c3f610aee479d2023062ad917a822 | /src/qt/obfuscationconfig.cpp | 184a771a9793caf0a12222856896633e72f2a6a0 | [
"MIT"
] | permissive | MNTracker/MNT | 79ee23fa52807296ac939187c9a5206166ca30d7 | c37348a51d997fdcb9fac0c42a4751c0a3f91de7 | refs/heads/master | 2020-04-18T08:34:20.018806 | 2019-02-18T03:16:30 | 2019-02-18T03:16:30 | 167,401,201 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,032 | cpp | // Copyright (c) 2014-2016 The Dash Developers
// Copyright (c) 2016-2017 The PIVX developers
// Copyright (c) 2018-2019 The MNT developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "obfuscationconfig.h"
#include ... | [
"33366277+risingstar2018@users.noreply.github.com"
] | 33366277+risingstar2018@users.noreply.github.com |
68076fbbf74a904f4d484cea027ec3af2020d182 | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /vod/src/v20180717/model/ImageSpriteTaskInput.cpp | a90369223f84385f40094925d1759a5db2a3d8f3 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 2,123 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"jimmyzhuang@tencent.com"
] | jimmyzhuang@tencent.com |
f0a8a85786b1e6085fea1b06a83e91fab0f681e5 | 7ef1a3023df63a424dc38f840671da7c3dd65d79 | /source/3rd_party/libtcc/tests/libs/googletest/googlemock/test/gmock-nice-strict_test.cc | c754bb28036b44ac25dd210b2b06e7ff53d6a5dc | [
"BSD-3-Clause",
"Apache-2.0",
"MIT",
"LGPL-2.1-only"
] | permissive | alandefreitas/sympp | 6815f7b8e768b29e732e88eb46216458ae2393ff | f8f0249de72355f513d0b9e61300eef715ca8895 | refs/heads/master | 2023-01-29T04:54:55.464616 | 2020-09-29T06:48:25 | 2020-09-29T06:48:25 | 299,464,590 | 12 | 2 | MIT | 2020-10-20T21:47:52 | 2020-09-29T00:35:52 | C++ | UTF-8 | C++ | false | false | 14,440 | cc | // Copyright 2008, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | [
"alandefreitas@gmail.com"
] | alandefreitas@gmail.com |
fc60420677277727406de6eb86826c4724a90b4c | cbf9f600374d7510988632d7dba145c8ff0cd1f0 | /abc/054/main.cpp | 45d197e8ce621f988dbb1bdd25bc9dcf3f7c9c40 | [] | no_license | sakakazu2468/AtCoder_py | d0945d03ad562474e40e413abcec39ded61e6855 | 34bdf39ee9647e7aee17e48c928ce5288a1bfaa5 | refs/heads/master | 2022-04-27T18:32:28.825004 | 2022-04-21T07:27:00 | 2022-04-21T07:27:00 | 225,844,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | #include <iostream>
using namespace std;
int main(){
int a, b;
cin >> a >> b;
if (a==1 || b==1) {
if (a==b) {
cout << "Draw" << endl;
} else if (a!=1) {
cout << "Bob" << endl;
} else {
cout << "Alice" << endl;
}
} else {
if (a==b) {
cout << "Draw" << endl;
} else... | [
"sakakazu2468@icloud.com"
] | sakakazu2468@icloud.com |
30c291063987e1bdab48b764eff0c57e87fcf6c0 | 87dc61960adef5682d93071a9109880035958f3a | /Space Shooter/iOSBuilds/V0.01/Classes/Native/Il2CppGenericMethodPointerTable.cpp | 35666405107f9220cab541e911a18488a3a62e3f | [] | no_license | Klouse/2020-Games | e6d02ff60b708ebccf1a80282df9b43e6e05226d | 6b4d9ff3861c98e6e630d32c3fdda32ceaa358f4 | refs/heads/master | 2023-01-19T15:15:18.272788 | 2020-12-03T18:36:36 | 2020-12-03T18:36:36 | 293,919,147 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,574,279 | 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 "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
IL2CPP_EXTERN_C_BEGIN
IL2C... | [
"Klouse@users.noreply.github.com"
] | Klouse@users.noreply.github.com |
238c6aa02750ed285ef9f1c017a97a1d9b802720 | 45894fe2786a47f355ef6712e7324913b61d5c3a | /SPOJ/ae00/ae00.cpp | 3a8d4ddab9a8e1fea1a09078104a024557229f4e | [] | no_license | sukrutrao/Infero-Programming-Practice | 3079be7023982e84ab945946c2f9f36c83861639 | ea79bc1149ef2b7c5211a29bd5ed6eef1f74d2d3 | refs/heads/master | 2021-06-12T17:25:17.471819 | 2016-09-21T11:46:26 | 2016-09-21T11:46:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n,i,j,k,l,sum=0;
cin>>n;
for(i=1;i<=n;i++)
{
sum+=(n/i);
}
j=sqrt(n);
sum+=j;
sum/=2;
cout<<sum<<endl;
return 0;
}
| [
"raosukrut@gmail.com"
] | raosukrut@gmail.com |
8590ea6138b322aea0eb0fbf540af4aeace2eabd | 7cf7af3905e5cbe4aa4de8be96ea65623ba6dcca | /dev/plugins/glFuncs/glShaderQuad.cpp | 189f0788d00abc9af90cec025f3f00beb827f2fd | [
"BSD-3-Clause"
] | permissive | gnilk/yapt | 41e4c9105f11b1e54be7f33d8847b4df8a53fdff | 1f1d7bad26fb477b545927774f323c367c0e1dad | refs/heads/master | 2021-05-04T11:43:07.570346 | 2018-06-26T06:46:53 | 2018-06-26T06:46:53 | 4,090,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,671 | cpp | #include "glShaderQuad.h"
#include "yapt/ySystem.h"
#include "yapt/logger.h"
#include <math.h>
//#include <gl/glew.h>
#include <GL/GLEW.h>
//#include <OpenGl/glu.h>
using namespace yapt;
/////////////////////
//
// -- Render context
//
void OpenGLShaderQuad::Initialize(ISystem *ySys, IPluginObject... | [
"kling.fredrik@gmail.com"
] | kling.fredrik@gmail.com |
0c6f674d94cf0501970f97a6a37721ffa799cd5e | ede28f28de535abdd1a33bf1cced5583beb3f154 | /coresim/LDgammaTracker.cpp | 640f3e557bc45191e97b661cdd7fb6ceb4c49051 | [] | no_license | chavit/RobustMonitoring | 8319abb2b32489abc1327028643d301b74ed908f | e301f4f9953f7f524797b5c3c5d2b65d61bbf447 | refs/heads/master | 2022-12-01T04:10:56.207637 | 2020-08-18T15:25:10 | 2020-08-18T15:25:10 | 275,128,988 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,710 | cpp | #include <assert.h>
#include <sstream>
#include <iostream>
#include "LDgammaTracker.h"
#include "packet.h"
constexpr std::array<int, 6> LDgammaTracker::Ns, LDgammaTracker::Ts;
constexpr std::array<int, 4> LDgammaTracker::telemetry_t, LDgammaTracker::telemetry_gamma;
uint64_t telemetryStatistics[15][28];
uint64_t bas... | [
"chavit92@gmail.com"
] | chavit92@gmail.com |
6c1e943c3ce79f08023eb05443e64a777584ca62 | 8f7c8beaa2fca1907fb4796538ea77b4ecddc300 | /chrome/browser/signin/dice_browsertest.cc | 4125d4459c945219cfaeb8e8036e315c5d6959da | [
"BSD-3-Clause"
] | permissive | lgsvl/chromium-src | 8f88f6ae2066d5f81fa363f1d80433ec826e3474 | 5a6b4051e48b069d3eacbfad56eda3ea55526aee | refs/heads/ozone-wayland-62.0.3202.94 | 2023-03-14T10:58:30.213573 | 2017-10-26T19:27:03 | 2017-11-17T09:42:56 | 108,161,483 | 8 | 4 | null | 2017-12-19T22:53:32 | 2017-10-24T17:34:08 | null | UTF-8 | C++ | false | false | 24,275 | 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 <map>
#include <memory>
#include <string>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/callback.h"
#include "base/comman... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f2453d16cf9b4fe0a0fa6b83cd084fbba668d752 | b42682d180abe5e83d2327182ca47b5e962269ac | /src2.1.3/AppDelegate.cpp | 789ce3489023a9caf81627958f051f1f85a4544a | [] | no_license | xiaouC/framework | 9c2e8d3ee05617a14d3c9402313d4dccf8822504 | 62dd0130ea5cc70d6ca75704df4a73739c722189 | refs/heads/master | 2016-08-04T08:52:59.613179 | 2016-01-11T07:01:09 | 2016-01-11T07:01:09 | 22,091,758 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,051 | cpp | #include "AppDelegate.h"
#include <vector>
#include <string>
#include "TLRunningScene.h"
#include "AppMacros.h"
#include "script_support/CCScriptSupport.h"
#include "CCLuaEngine.h"
#include "./MC/AssetsManager.h"
#include "./Common/TLCommon.h"
#include "./Common/LuaApi.h"
#include "SimpleAudioEngine.h"
#... | [
"xiaotjyu@gmail.com"
] | xiaotjyu@gmail.com |
e1748bf205966516a9278794f31ada138355ccf7 | ca0f40ce5b93083d83ec26f473a3bad432fa173c | /src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp | b35f0f9c2d9c29f2835d9da776d5a1c8b1f26cdf | [] | no_license | rynnokung/SunWellCore | 74d48ebfe2b688dd3cacefc2af3dc6203953aeac | 0f464e1847f733fb979116e1bc7b052b2cab14da | refs/heads/master | 2021-01-21T05:23:19.518555 | 2016-07-10T19:59:57 | 2016-07-10T19:59:57 | 58,862,729 | 3 | 0 | null | 2016-07-10T19:59:58 | 2016-05-15T13:22:39 | C++ | UTF-8 | C++ | false | false | 14,670 | cpp | /*
REWRITTEN BY XINEF
*/
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "serpent_shrine.h"
#include "Spell.h"
#include "Player.h"
#include "WorldSession.h"
enum Says
{
SAY_INTRO = 0,
SAY_AGGRO = 1,
SAY_PHASE1 = 2,
SAY_PHASE2 = 3,
SAY_PHASE3 = 4,
SAY_BOWSHOT = 5,
SAY... | [
"phil19-94@hotmail.fr"
] | phil19-94@hotmail.fr |
0893bfdc6b4427dab4462eb3edad18fb94f076a4 | eda328e0f13f4c1f25b5d12b605a2825b030d579 | /Project/include/lak/stream_util.hpp | df5144962a25a5bb35d36fd7d537fb8fdc4a75bf | [
"MIT"
] | permissive | LAK132/OpenGL-Trash | 6bc727fee7e5c0fcd8751fcf7b87332c23b03993 | 9ddedf65792de78f642f47ad032b5027e4c390c1 | refs/heads/master | 2020-07-05T17:19:42.843639 | 2019-08-16T13:40:14 | 2019-08-16T13:40:14 | 202,711,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,116 | hpp | /*
MIT License
Copyright (c) 2018 Lucas Kleiss (LAK132)
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, p... | [
"LAK132@kicodora.com"
] | LAK132@kicodora.com |
489caa81652649bf7819a5f6944f745bbf06b3fd | 18d1bc608a96db7007cfe444db76aa28056fae3c | /Algorithms/heapsortt.cpp | 596462daaad2a34aabfc53f1983c11ad197d130a | [] | no_license | MehradShm/AlgorithmCodes | 4a283bb994eb35be0e8e943a737b83f734d7dedc | 45954ad07c97911f4c5297b0dfff562880614325 | refs/heads/master | 2020-06-09T16:04:30.247310 | 2019-06-24T10:13:30 | 2019-06-24T10:13:30 | 193,464,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 805 | cpp | #include <iostream>
using namespace std;
const int maxn=100000;
int a[maxn];
int hs;
void Max_Heapify(int r,int size)
{
if(r<=(size/2))
if(a[r]>a[(r*2)] and a[r]>a[(r*2)+1])
return ;
else
{
int x;
if(((r*2)+1)>size or a[(r*2)]>a[((r*2)+1)])
x=0;
else
x=1;
if(a[r]<a[(r*2)... | [
"shadimehrad@gmail.com"
] | shadimehrad@gmail.com |
86a5df248dc2b1977acde5776ee870396b13401b | 119210c2b1b46df6bde882556fbe26707be371be | /Baekjoon Online Judge/브루트 포스/10971. 외판원 순회2.cpp | e42038436d55d5fdd273d828e520984832a6be21 | [] | no_license | kimgibaam/Algorithm | 0af2ba4dfd09d75f7f7866a867bdc2350a86507f | f7581724e0361211909ad01a2ae8597b4a3d2960 | refs/heads/master | 2023-02-20T05:34:45.061825 | 2021-01-23T01:36:42 | 2021-01-23T01:36:42 | 294,576,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | #include<iostream>
#include<algorithm>
#include<vector>
using namespace std;
int arr[10][10];
int n;
vector<int> picked;
int answer = 9999999999;
int main() {
cin >> n;
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
cin >> arr[i][j];
}
}
for (int i = 0; i < n; i++) {
picked.push_back(i);
... | [
"rlqjarhrh@naver.com"
] | rlqjarhrh@naver.com |
38017bfc7e2a2d82841fc2c4aed123ab2f7c7dd7 | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/TColStd_HSetOfReal.hxx | d8e5f78e4e4522cfe4f180b744b125f4e892b7fc | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,908 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _TColStd_HSetOfReal_HeaderFile
#define _TCo... | [
"litao1009@gmail.com"
] | litao1009@gmail.com |
fd48b9a9bb61d196651b209588c382eb5c5e2fcb | 48ecc9a7894e719030ecbb8f0f42fa137834c4a9 | /SpaceShooter/NYUCodebase/GameApp.h | c2498760265da9713227144695b7af209aa02299 | [] | no_license | ac5144/CS3113 | ccfea82823dd0439ebe820f18594598867e334ef | 64c14e83853156796f8f852c8a5fa6efc94d930e | refs/heads/master | 2021-01-16T21:02:19.491679 | 2015-12-21T03:47:35 | 2015-12-21T03:47:35 | 41,809,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,846 | h | #pragma once
#ifdef _WINDOWS
#include <GL/glew.h>
#endif
#include <SDL.h>
#include <SDL_opengl.h>
#include <SDL_image.h>
#include <SDL_mixer.h>
#include "Matrix.h"
#include "ShaderProgram.h"
#include <vector>
#include <string>
#include "Entity.h"
#include "Bullet.h"
#ifdef _WINDOWS
#define RESOURCE_FOLDER ""
#else
#d... | [
"ac10996@gmail.com"
] | ac10996@gmail.com |
6d12f3ffa2f81a82a29a6e9f9f677f6742655c9e | 741ff83e1203e7c9b8faeef0914e7fcb4040cdd3 | /src/initalization/glorot.cpp | 59db728a02d36b81d2cdaeb3c614368d544f2d7c | [] | no_license | FabianSchuetze/gpu_nn | 4f6d0f34bf947d847bdfd5da3c4b886873c48033 | 9d5b6ced0ee7db289fbc940947c2d949b5f9407c | refs/heads/master | 2020-09-02T23:20:44.177406 | 2020-01-01T15:52:58 | 2020-01-01T15:52:58 | 219,328,853 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | #include "../../include/initalization/glorot.hpp"
#include <random>
Matrix Glorot::weights(int rows, int cols) const {
std::mt19937 gen;
gen.seed(0);
std::uniform_real_distribution<dtype> dis(-1.0, 1.0);
Matrix mat = Matrix::NullaryExpr(rows, cols, [&]() { return dis(gen); });
dtype glorot_scale = ... | [
"fabian.schutze@eui.eu"
] | fabian.schutze@eui.eu |
2c9911b0a196a615fd920bfd6e94b0881265654d | dd429540901aa8b7575ce36c836f11dc2fc78f7f | /PA5/Histogram.cpp | d3b688109625bb7cfb61f78ebecf1d86f2886a54 | [] | no_license | alaswell/CS253-FA17 | 5cec6ff478422777ddbcb6ad43c4f058cff2982b | 5fe50ee65db530bb1a1d1a6c800a4cd1f0c54776 | refs/heads/master | 2021-09-09T10:40:13.271614 | 2018-03-15T08:56:58 | 2018-03-15T08:56:58 | 101,841,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,906 | cpp | #include <Histogram.h>
/*! \file Histogram.cpp: implements the Histogram class */
/// Evaluation operator.
/// Takes a Histogram and counts all instances of distinct strings
/// within the .histogram and stores them as a key_value_pair in the .map
void Histogram::Eval (Histogram& Hist) {
/* for each string in histog... | [
"alexlaswell86@gmail.com"
] | alexlaswell86@gmail.com |
9dab7e09c080790b01ae0503d17fcb3a480ca79a | 309975d60e30260f2e02d11e71eaaf6e08b93659 | /Sources/Internal/Database/MongodbClient.cpp | 55b8c67db5f47a2c52017f9e59889a37e9514b53 | [] | permissive | BlitzModder/dava.engine | e83b038a9d24b37c00b095e83ffdfd8cd497823c | 0c7a16e627fc0d12309250d6e5e207333b35361e | refs/heads/development | 2023-03-15T12:30:32.342501 | 2018-02-19T11:09:02 | 2018-02-19T11:09:02 | 122,161,150 | 4 | 3 | BSD-3-Clause | 2018-02-20T06:00:07 | 2018-02-20T06:00:07 | null | UTF-8 | C++ | false | false | 17,619 | cpp | #include "Database/MongodbClient.h"
#include "Database/MongodbObject.h"
#include "mongodb/mongo.h"
#include "mongodb/gridfs.h"
#include "Logger/Logger.h"
#include "Utils/Utils.h"
#include "Utils/UTF8Utils.h"
#include "Utils/StringFormat.h"
#include "FileSystem/KeyedArchive.h"
namespace DAVA
{
class MongodbClientInte... | [
"m_molokovskih@wargaming.net"
] | m_molokovskih@wargaming.net |
adb55a5649dc61b78503cda405ff78d785627de5 | 113b2a52ae63773c99a8ba5222bdcc29936a1a5f | /include/axl_xml/axl_xml_ExpatParser.h | 80ad1e4816f9d3e09db5f1c6c5722cc8e318932f | [
"MIT"
] | permissive | vovkos/axl | 3347e30cdd10cc7e806a33c36b22aa0fc26b5de8 | 028f576278f88e71e0442e0e7a0a60b88c0180e9 | refs/heads/master | 2023-08-08T01:35:23.049150 | 2023-08-02T05:49:27 | 2023-08-02T05:49:27 | 76,837,541 | 3 | 3 | MIT | 2019-04-22T02:55:50 | 2016-12-19T07:11:51 | C++ | UTF-8 | C++ | false | false | 11,430 | h | //..............................................................................
//
// This file is part of the AXL library.
//
// AXL is distributed under the MIT license.
// For details see accompanying license.txt file,
// the public copy of which is also available at:
// http://tibbo.com/downloads/archive/axl/... | [
"vovkos@gmail.com"
] | vovkos@gmail.com |
8b9fb0e3c235cf9a611cb1330a35445185466c42 | a593e7412c930a172e14df75c231618aee93a604 | /cocos2d/renderer/build/chunks/cc-global.inc | ca6d03566690bbdfe29aa438832077d0b35a12ec | [
"MIT"
] | permissive | 2youyou2/engine | a4ec37db273fec97fb8e7ceb0177056cb0c2318d | 8d64a2cc8eb4a532a9a469705214553e515359ca | refs/heads/master | 2023-08-30T03:17:56.362537 | 2019-01-24T11:18:37 | 2019-01-24T11:18:37 | 55,458,343 | 5 | 2 | null | 2021-07-29T07:36:03 | 2016-04-05T01:35:58 | JavaScript | UTF-8 | C++ | false | false | 824 | inc | // transforms
// uniform mat4 cc_matProj;
// uniform mat4 cc_matProjInv;
uniform mat4 cc_matView;
// uniform mat4 cc_matViewInv;
uniform mat4 cc_matViewProj;
// uniform mat4 cc_matViewProjInv;
// constants
// uniform vec4 cc_time; // x
// uniform vec4 cc_screenSize; // xy... | [
"huabin.ling@cocos2d-x.org"
] | huabin.ling@cocos2d-x.org |
91ac19cc7c2e9ec540ffe06e1ccd974f7b229b39 | 87967590a8070178b1b6d5ec1cea8b571ca67969 | /CfgWeapons.hpp | 1e0c13c70a4265a57281addc157a8b913f4cf3cd | [
"MIT"
] | permissive | w4rgo/BB_Buildings | 1cb1a146abbb879327ae271aff721baff3ec5afb | 9a9b3b19acf570827d4898b4b7ab95adf2773ed2 | refs/heads/master | 2021-01-22T17:47:40.355629 | 2014-03-18T07:55:30 | 2014-03-18T07:55:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | hpp | class cfgWeapons {
class Default; // External class reference
class ItemCore; // External class reference
class ItemRadio;
class BB_ItemRadio : ItemRadio {
scope = 2;
displayName="Base Radio";
class ItemActions {
class Use {
text = "Connect to base cameras";
script = "spawn fnc_camera_startup;";... | [
"franrv@gmail.com"
] | franrv@gmail.com |
650ffb3d4ab459c11a4309abfa5ed464a5c7e3a4 | bcfe86950ea89948595ea0fe9fb0575986a49698 | /src/reflective_shader.cpp | c665e9b9b35240ea285f84acbd908a2f76a2846a | [] | no_license | rafagomezUCR/cs130assign1 | 37f3c4b328b4434f5bf155281a511d76ee7b1040 | 7210d6d99e665871cfbf1b3d63eff2ba3d2558b5 | refs/heads/master | 2021-09-06T00:22:17.722944 | 2018-01-31T23:41:56 | 2018-01-31T23:41:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | cpp | #include "reflective_shader.h"
#include "ray.h"
#include "render_world.h"
#include "light.h"
vec3 Reflective_Shader::
Shade_Surface(const Ray& ray,const vec3& intersection_point,
const vec3& same_side_normal,int recursion_depth,bool is_exiting) const
{
vec3 color;
// vec3 reflected_color;
// // TODO: d... | [
"rgome020@ucr.edu"
] | rgome020@ucr.edu |
5779fc8059b6e46787d7797c99307c84a6f76400 | 387c6a65ae8795147aedf3da02f38a9a26022414 | /HostInfoDlg.h | a50deff988f33f87d3071e19e83aeb5b1d5a8cb2 | [] | no_license | EmbededMind/ColyEye | e0968de3866cdc62316105a1564907bfb5e933db | f05a7642f1cbb400824ea688f9406ad1a602cd90 | refs/heads/master | 2021-01-19T04:44:29.905609 | 2016-11-08T07:16:35 | 2016-11-08T07:16:35 | 69,631,792 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 399 | h | #pragma once
// CHostInfoDlg 对话框
class CHostInfoDlg : public CDialogEx
{
DECLARE_DYNAMIC(CHostInfoDlg)
public:
CHostInfoDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CHostInfoDlg();
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_HOSTINFO };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX... | [
"815407069@qq.com"
] | 815407069@qq.com |
2c246b1c71b154cbacfa33e2ffa2fd2ec75e6b41 | f5b4d401e81eee81c53fff3ebe93706af1c92b87 | /src/public/src/ysgebl/tutorial/kernel/tutorial08/main.cpp | 629094ac423b649d623e70ed36875c27ce2e3fcb | [
"MIT",
"LicenseRef-scancode-proprietary-license",
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | rothberg-cmu/rothberg-run | a6cd2665c9d2113ec6be2a64af995b891fe640dc | a42df5ca9fae97de77753864f60d05295d77b59f | refs/heads/master | 2020-04-27T18:41:16.879505 | 2019-05-01T17:26:52 | 2019-05-01T17:26:52 | 174,582,832 | 1 | 2 | MIT | 2019-05-01T17:26:53 | 2019-03-08T17:46:06 | C++ | UTF-8 | C++ | false | false | 943 | cpp | #include <ysshellext.h>
#include <ysshellextio.h>
#include <ysshellext_trackingutil.h>
void LaplacianSmoothing(YsShellExt &shl)
{
for(auto vtHd : shl.AllVertex())
{
auto avg=YsVec3::Origin();
YSSIZE_T nSample=0;
for(auto connVtHd : shl.GetConnectedVertex(vtHd))
{
a... | [
"minjunxu@andrew.cmu.edu"
] | minjunxu@andrew.cmu.edu |
e634820fa7ba3d9e4ef149700f80e7eaca88c2f5 | a775a26cded574dcc5c090a0d78f6ccc626bdb64 | /curseur.cpp | 33fe3840a79ab89c78895a1114571160e0c51a01 | [] | no_license | Winnie75/TowerDefense | c0f522fdd1dc3bde0b94e4152ce41e0d413e56ea | 0638bdabbcab726e374a8e4b0cfc8d1e538fec3f | refs/heads/master | 2021-12-02T23:58:48.897791 | 2012-05-10T14:01:48 | 2012-05-10T14:01:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | #include "curseur.h"
#include "jeu.h"
Curseur::Curseur()
{
saPosition = QPoint(WIDTH/2, HEIGHT/2);
sonBouton = Qt::NoButton;
sonDernierBouton = Qt::NoButton;
}
void Curseur::setPosition(QPoint unePosition)
{
saPosition = unePosition;
}
void Curseur::setBouton(Qt::MouseButton unBouton)
{
sonBout... | [
"geecko.dev@free.fr"
] | geecko.dev@free.fr |
f0e83c506f08328e1c52939a298c36bc07bf12cf | fe033c94713cb896ff703d90584815ce46fc2841 | /multipleinheritence.cpp | 9ce9fae2b1f541058dcdbca598ecbd7f5d93db66 | [] | no_license | laxmanrajpoot/programming | 4c4918dbcc9a057fb73dfb6bb9e1a37d4897a458 | b3b90f50c92f2f0dc189071c0dc34cb27f405195 | refs/heads/master | 2020-06-07T19:00:15.800785 | 2019-06-24T16:03:33 | 2019-06-24T16:03:33 | 193,076,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | cpp | #include<iostream>
using namespace std;
class a
{
protected:
int x;
public:
void getdata(int p)
{
x=p;
}
};
class b:public a
{
protected:
int c;
public:
void get(int b)
{
c=b;
}
void display();
};
void b::display()
{
cout<<x+c<<endl;
}
class c :public a,public b
{
public:
v... | [
"laxman.gla_bca17@gla.ac.in"
] | laxman.gla_bca17@gla.ac.in |
f0abe8535f8d56a385b24e6d9f149c1010f12cbd | 7756b45f86dd3889ded2f2c8eb4ecd8c8b3e5d84 | /src/mlpack/methods/ann/layer/softmax_layer.hpp | 63af854571c69ee42a44abb637a16ac9051dfa96 | [
"BSD-3-Clause"
] | permissive | adityachivu/mlpack | 1597319d5527958af169790786146249669768d4 | 9b55e5e4a300972d01cf1cf2802df8bf392a1fd1 | refs/heads/master | 2021-01-17T20:59:50.566019 | 2015-01-26T20:25:10 | 2015-01-26T20:25:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,995 | hpp | /**
* @file softmax_layer.hpp
* @author Marcus Edel
*
* Definition of the SoftmaxLayer class, which implements a standard network
* layer.
*/
#ifndef __MLPACK_METHOS_ANN_LAYER_SOFTMAX_LAYER_HPP
#define __MLPACK_METHOS_ANN_LAYER_SOFTMAX_LAYER_HPP
#include <mlpack/core.hpp>
namespace mlpack {
namespace ann /** Ar... | [
"marcus.edel@fu-berlin.de"
] | marcus.edel@fu-berlin.de |
3d10b94a95223499d4a2f3856c3b3ba443b0d241 | e149e4ed7e7634ab0fb1e87c26d1a6bc4fcfe3a1 | /leetcode_vscode/leetcode_234/leetcode_234.cpp | 7336983965f93035a61287a55624dcb1e1aa0fd6 | [] | no_license | sailor-ux/mycodes | 9291c78c4af2ffa8a4cd593184837a41b288e1ee | 92f6b6338376daaec2d35a508845077fdcf4c25c | refs/heads/main | 2023-08-31T13:29:36.675819 | 2023-08-20T16:19:05 | 2023-08-20T16:19:05 | 214,383,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | #include <iostream>
using namespace std;
struct ListNode {
int val;
ListNode* next;
ListNode() : val(0), next(nullptr) {}
ListNode(int x) : val(x), next(nullptr) {}
ListNode(int x, ListNode* next) : val(x), next(next) {}
};
class Solution {
public:
ListNode* frontNode;
bool isPalindrome(List... | [
"1205795469@qq.com"
] | 1205795469@qq.com |
18cc9aa27e489a14187304f134ef88fbb5779557 | 67f7b4a87f1fcd3aaec0a5f6655b584e37150849 | /Templates/DirectX12App/Common/DeviceResources.h | 95d3eaf37d8b5c89337112037c9a686847ab8b87 | [
"MIT"
] | permissive | yuduosheng/MyPhysx | 9f5b8db88ff9fe8ceb4440ea9214a78c436c323c | 6da63e8372332eb1c3012ed0816af9495797591b | refs/heads/master | 2021-01-10T00:57:07.992310 | 2016-03-16T12:48:01 | 2016-03-16T12:48:01 | 54,031,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,281 | h | #pragma once
namespace DX
{
static const UINT c_frameCount = 3; // Use triple buffering.
// Controls all the DirectX device resources.
class DeviceResources
{
public:
DeviceResources();
void SetWindow(Windows::UI::Core::CoreWindow^ window);
void SetLogicalSize(Windows::Foundation::Size logicalSize);
vo... | [
"bobbrow@microsoft.com"
] | bobbrow@microsoft.com |
fbad95d8f34d62df011b6f97c78f3248849b649e | 31cb5c8dbee6e87518e8dfdb726acdc0f54d7c64 | /sortvs.cpp | d6cdc0b1bc5c5502bfba5a5266aefe020e42fbb1 | [] | no_license | 22hemantgupta/Codechef | 4e2bd56cad52e88552ec6882f3fff14a15330694 | 82d993958eff21bbfa9d3426ea9b94a73616315e | refs/heads/master | 2023-03-24T07:23:40.750556 | 2021-03-25T21:33:07 | 2021-03-25T21:33:07 | 351,580,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,645 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int T;
cin>>T;
while(T--)
{
int n,m;
cin>>n>>m;
int a[n+1];
int d[m][2];
int b[n+1];
for(int i=0;i<n;i++)
{
cin>>a[i];
b[i]=a[i];
}
for(int j=0;j<m;j+... | [
"18bcs019@ietdavv.edu.in"
] | 18bcs019@ietdavv.edu.in |
453bd76ff547cc498ff0c2cb1db79a09079167df | 849e8a253c6501adb49ac86d8f9d29501fcb5ed2 | /week6/ArrayPage4/main.cpp | 95f2c8c487af0ebf809d19353894f73961512f8d | [] | no_license | heecheolman/dataStructureHomework | c30abaf08a1905f1fe300e9948f78b590f460a7a | a1d9309e70ecb1384640a9d70532e421558f939d | refs/heads/master | 2020-03-30T18:41:25.665118 | 2018-11-29T01:58:35 | 2018-11-29T01:58:35 | 151,510,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,219 | cpp | // ArrayPage4
#include <iostream>
int main(void) {
// 변수 초기화
int row, col, total;
int saveR, saveC, saveVal; // 행과 열을 저장하는 변수
// 배열의 행 열 입력
std::cin >> row >> col;
// 배열의 행열만큼 사이즈를 정해줌
int array[row][col];
// 배열 초기화
for(int i = 0; i < row; i++) {
for(int j = 0; j < col; j++) {
std::cin >> a... | [
"msn9975@gmail.com"
] | msn9975@gmail.com |
74ae910c4c6d0f9f4cc9e3b6485cf810320f62bf | 53e8228c2bac6ba2583fd55269b6feb18e8f3ae3 | /uva 10685/main.cpp | d1814a135da0ff56c54ba67ce9ed5a2301c61189 | [] | no_license | mkzaman/UVA | fa6f945975068f6cda5e3db547a33bb97bb90184 | 0384b1c58b90a0e79d9ea78d14f9ab1353d3ee61 | refs/heads/master | 2016-08-09T18:42:24.193650 | 2016-03-12T18:24:30 | 2016-03-12T18:24:30 | 50,123,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,947 | cpp | /** verdict: accepted-130
* author: zaman
* used algorithm: unionfind disjoint Set
* remarks: easy problem, maintain a map for give the strings an integer identity
* date: November 14,2013 , time of acceptance: 1:04 pm
* rank:229 time: 0.327s
*
*/
#include<cstdio>
#include<sstream>
#include<cstdlib>
#incl... | [
"mkzamanalive@gmail.com"
] | mkzamanalive@gmail.com |
2196d732540cda201a2b8778feb1666eeeedd8b8 | e9c4f0382f9a869ef3b650836203d5bb46145966 | /Local Repo documents/S03文件传输/Publisher.cpp | 608bf16e5a56a494b025cdf1a8b23ebc587e3a1c | [] | no_license | chunyisong/OpenDDSapplication | de762fabbf95a7e67234b83f3beb8416fde73f0b | ab67ffb42464ad50fce342b46383845a08c696d0 | refs/heads/master | 2023-03-15T12:28:42.520921 | 2018-07-14T00:52:22 | 2018-07-14T00:52:22 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,860 | cpp | #include "S03_TransferFileTypeSupportImpl.h"
#include <dds\DdsDcpsInfrastructureC.h>
#include <dds\DdsDcpsPublicationC.h>
#include <dds\DCPS\StaticIncludes.h>
#include <dds\DCPS\Service_Participant.h>
#include <dds\DCPS\Marked_Default_Qos.h>
//#include <dds\DCPS\PublisherImpl.h>
#include <dds\DCPS\WaitSet.h>
#include <... | [
"1498081061@qq.com"
] | 1498081061@qq.com |
8cd60fcea37647f8efdb9ab3cb3f86bf09b7e5e5 | b0f9ad1b5653aaa93b8db15cee66d41140948c6b | /EnemyDrone.h | 5d8dd7fea3df7c439e8b66aac265ec8d1413a330 | [] | no_license | KimeraRoyal/Dreamware | bb68de0a2af1ea3c6be79a5270d16f9a791ad27e | e8b87b8c0e9cc7a38d4d1c85755fc11d4698aefa | refs/heads/main | 2023-06-12T14:30:36.811445 | 2021-07-04T12:03:17 | 2021-07-04T12:03:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | h | #pragma once
#include "Enemy.h"
#include "LayeredGraphicObject.h"
class EnemyDrone final : public Enemy
{
private:
static constexpr int c_gunLayer = 0;
static constexpr float c_movementSpeed = 16.0f;
static constexpr int c_fireFrames = 90;
static constexpr int c_stationaryFireFrames = 50;
static constexpr fl... | [
"kai.anderson.ellis.brown@gmail.com"
] | kai.anderson.ellis.brown@gmail.com |
b43f2f2a7171bd1400595e03ddc9451627122c98 | e1bf4eb35be744af4c2e61e2813e16a9c07e70b8 | /Primitive.h | e3617b0926108f5bd92f35f2ddc267a94e87bd3f | [] | no_license | ConnorShore/ModelEditor | c91289aac25180723028dd7a5286459a2e99ed9c | 099f7e3a5fc2c116bc063123cf0f7a4d30b1816d | refs/heads/master | 2020-04-05T06:34:20.751765 | 2018-12-08T00:23:50 | 2018-12-08T00:23:50 | 156,642,339 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,292 | h | #ifndef PRIMITIVE
#define PRIMITIVE
#include <glm/glm.hpp>
#include <GL/glew.h>
#include <vector>
#include "GameObject.h"
#include "Vertex.h"
#include "Material.h"
#include "Physics.h"
class Primitive : public GameObject{
public:
Primitive();
virtual ~Primitive();
glm::vec3 getPosition() {return positio... | [
"cjshore12@gmail.com"
] | cjshore12@gmail.com |
58ed49ae118df3b7ad713fa30d255d8cf74ff1b4 | 8931697264e278b16fb4dea9e533a02bb16733ae | /UI-Library/ringsdk/include/ringspinbutton.h | c3c133e49da9a72ae859be72ffbb974de6ab92bc | [] | no_license | yyq453/UI-Library | 434870a721b7c733c62185b5a7c51447caff504b | b1ffafdb00f8386c3fe0c4e63cb0c065c49cffd7 | refs/heads/master | 2020-05-26T21:55:25.442599 | 2015-12-02T05:24:04 | 2015-12-02T05:24:04 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,347 | h | /**********************************************************************
//
//
// ########## ###### ######### # ###### #
// ############# ########### ######### ######### ###
// ######## # ### ## ############# ## ## ##### # ####
// ... | [
"tianjigezhuhn@aliyun.com"
] | tianjigezhuhn@aliyun.com |
c991f67f213897f155a3637fa889d98adc9e5f2c | 56a4cb943d085a672f8b0d08a8c047f772e6a45e | /code/server/System/Memory/Safty.h | 0875fe03d60e4cadc1d14cd09b39be672eac8654 | [] | no_license | robertveloso/suddenattack_legacy | 2016fa21640d9a97227337ac8b2513af7b0ce00b | 05ff49cced2ba651c25c18379fed156c58a577d7 | refs/heads/master | 2022-06-20T05:00:10.375695 | 2020-05-08T01:46:02 | 2020-05-08T01:46:02 | 262,199,345 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,262 | h | #ifndef SystemMemorySafty
#define SystemMemorySafty
#include "../../System.h"
namespace System { namespace Memory {
template< class TypeAbst, class TypeProv, class Memory >
class Safty
{
public:
template< class NewType >
struct REBIND
{
typedef Safty<NewType, NewType, Memory>
OTHER;
};
public:... | [
"robert@velosodigital.com"
] | robert@velosodigital.com |
04d27cbccbf444e8e6a6d62abcfa0b03821e63d4 | e4458d8d794863de04968618cf636e8de0585fe0 | /Tree Algorithms/Counting Paths.cpp | 616e1c95f6be4f50acf02449320f0f5138c88273 | [] | no_license | iamkryptonite/cses-solutions | f3565ef83e6ae97f9f0d2267cddc1579e3839fb4 | 27bb803f8682fde0a2fa81e151a219c86f295700 | refs/heads/master | 2023-06-29T16:49:39.426625 | 2021-08-04T13:56:46 | 2021-08-04T13:56:46 | 340,269,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,326 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<long int> d,lvl;
vector<vector<int>> up;
unordered_map<int,vector<int>> mp;
const int K = 20;
void dfs0(int u,int p,int l = 0){
up[u][0] = p;
lvl[u] = l;
for(int i=1;i<K && up[u][i-1]!=-1;i++)
up[u][i] = up[up[u][i-1]][i-1];
for(auto to : mp[u]){
i... | [
"iamkryptonite@users.noreply.github.com"
] | iamkryptonite@users.noreply.github.com |
b553546761c292d05107ac4be92f5777279fd12e | 6b1c33e2bf008340718804a4f140fb9fa73b38a9 | /DPC++Compiler/FPGATutorials/FPGAExtensions/Pipes/pipe_array/src/pipe_array.cpp | b7395d1a1a237f758a1626f2722ca8cd57cd1620 | [
"MIT"
] | permissive | bikerben33/BaseKit-code-samples | d72ac61ceb08e63253da39a574ad669ea37368b4 | 9fcb6ae509fb6e95aed0ae8ffd713d2ca364987b | refs/heads/master | 2021-03-20T04:35:47.630774 | 2020-02-10T19:48:00 | 2020-02-10T19:48:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,905 | cpp | //==============================================================
// Copyright © 2019 Intel Corporation
//
// SPDX-License-Identifier: MIT
// =============================================================
#include "pipe_array.h"
#include "unroller.h"
#include <CL/sycl.hpp>
#include <CL/sycl/intel/fpga_extensions.hpp>
#in... | [
"nathan.g.greeneltch@intel.com"
] | nathan.g.greeneltch@intel.com |
0fc388bb58c3298bcc3ef12f653138582982e5ca | 140d78334109e02590f04769ec154180b2eaf78d | /aws-cpp-sdk-devicefarm/source/model/DevicePoolCompatibilityResult.cpp | 9ea10f3b0023f3e324abce270c4bfb9d7a5bde9c | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | coderTong/aws-sdk-cpp | da140feb7e5495366a8d2a6a02cf8b28ba820ff6 | 5cd0c0a03b667c5a0bd17394924abe73d4b3754a | refs/heads/master | 2021-07-08T07:04:40.181622 | 2017-08-22T21:50:00 | 2017-08-22T21:50:00 | 101,145,374 | 0 | 1 | Apache-2.0 | 2021-05-04T21:06:36 | 2017-08-23T06:24:37 | C++ | UTF-8 | C++ | false | false | 3,070 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
aa0641c0d00061c309e60c4a733fe069a47a241e | 34491e8a3ed1499d840e0d18dcb8101546150720 | /SPARKS/include/chilkat/CkCache.h | 8f11569b5ef5a20baf9ecc3d7c37e05130570bfb | [
"MIT"
] | permissive | adele-robots/fiona | 128061a86593bc75b3c5b0cf591de2158c681cc6 | 1ef1fb18e620e18b2187e79e4cca31d66d3f1fd2 | refs/heads/master | 2020-06-19T04:42:14.203355 | 2020-06-10T10:46:58 | 2020-06-10T10:46:58 | 196,561,178 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,945 | h | // CkCache.h: interface for the CkCache class.
//
//////////////////////////////////////////////////////////////////////
// This header is generated for Chilkat v9.5.0
#ifndef _CkCache_H
#define _CkCache_H
#include "chilkatDefs.h"
#include "CkString.h"
#include "CkMultiByteBase.h"
class CkDateTime;
... | [
"root@euve263700.serverprofi24.net"
] | root@euve263700.serverprofi24.net |
90ef22e6310cb3bbeb860edfbc363d6c7e0767cf | b04bd17e75c26dcbd62de3bab219e88071a2a34e | /WzAG-GS/Customs.cpp | a92efe4ac8f75e9a4169ad9e012a4cd929e24c82 | [] | no_license | WebShok/Mu-1.0 | 48c8a213acea90dfe1ce3f1f548dd2b6011151f9 | 047d1284cf771efcb24f0cc302917fece6daf909 | refs/heads/master | 2023-06-28T02:35:35.258170 | 2021-07-31T20:46:42 | 2021-07-31T20:46:42 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 11,267 | cpp | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// # DARK PLUGIN - POWERED BY FIRE TEAM
// # GAME SERVER: 99.60T (C) WEBZEN.
// # VERSÃO: 1.0.0.0
// # Autor: Maykon
// # Skype: Maykon.ale
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// # O Sen... | [
"fael.co.sa@gmail.com"
] | fael.co.sa@gmail.com |
33dd68d2a085498d14ea355dadcd0ea1783a6d44 | 6b8325aedb956175071e93f005a98057095dbb3d | /UGen/convolution/ugen_Correlation.cpp | 70bba3c9d15216064e42c32799a88171c08242a3 | [] | no_license | 0x4d52/ugen | 73bdf090d8328e469977991cb9b662c8031cf467 | 590c03ba6e1e9caa20992327189dfcd74438ac86 | refs/heads/master | 2021-07-13T16:55:20.969401 | 2016-09-27T10:53:32 | 2016-09-27T10:53:32 | 34,687,605 | 22 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 10,349 | cpp | // $Id: ugen_SimpleConvolution.cpp 215 2010-12-03 10:59:26Z 0x4d52 $
// $HeadURL: http://ugen.googlecode.com/svn/trunk/UGen/convolution/ugen_SimpleConvolution.cpp $
/*
==============================================================================
This file is part of the UGEN++ library
Copyright 2008-10 by Martin... | [
"0x4d52@7b043cfa-1675-11df-a4dd-1934c9c2caca"
] | 0x4d52@7b043cfa-1675-11df-a4dd-1934c9c2caca |
31590f149440a34a6716cb727810db707d015a80 | f3e4ec96ab240e58839eedf915ce9064846ead89 | /leetcode/g.cpp | 39ada286654721ff82057837f98c335fbd17f0f6 | [] | no_license | JudyHsiao/codejam | 9707abbb4a58d319bfc566a5a5afb3f691f1c414 | d9b7406e16d3dab20e2018f0526a0238a33650eb | refs/heads/master | 2020-03-15T23:11:10.923760 | 2019-01-31T07:14:57 | 2019-01-31T07:14:57 | 132,388,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | cpp | #include <vector>
using namespace stdl
int main() {
vector<vector<int>> G(n, vector<int>(n, 0));
} | [
"judy.hsiao@house-edge.com"
] | judy.hsiao@house-edge.com |
a9c7d3250e8618c825bbfcec77b00368000718af | 668d3f25fbf37c7bc4a6154892e323655a9cb043 | /version_new/MeshList.h | 64848ffc4fa2a6c8b5e63fe2a0597ef04ac126b2 | [] | no_license | buerlang/CubeWorld | d168a581092a476d80ef53c22cd7407bb0d83638 | 0fd25c504e27df9c7f1e35afda7fb9f477726168 | refs/heads/master | 2016-09-13T13:57:44.543409 | 2016-05-22T04:42:47 | 2016-05-22T04:42:47 | 58,123,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | h | #ifndef MESH_LIST_H
#define MESH_LIST_H
class Mesh;
class MeshList
{
private:
MeshList();
public:
static Mesh* UIQuad;
static Mesh* pyramid;
static Mesh* plane;
static Mesh* tube;
static Mesh* residence;
static Mesh* wood;
static Mesh* mine;
static Mesh* government;
static void Initialize(... | [
"905479399@qq.com"
] | 905479399@qq.com |
b1e1363e676949456c5115ee68b13bfa9a31866f | bbeaadef08cccb872c9a1bb32ebac7335d196318 | /Fontes/InterfaceANEEL_TXT/Importa/TParseLista.cpp | 906096465af0f0791083673dc4a3d4b75ce90ef8 | [] | no_license | danilodesouzapereira/plataformasinap_exportaopendss | d0e529b493f280aefe91b37e893359a373557ef8 | c624e9e078dce4b9bcc8e5b03dd4d9ea71c29b3f | refs/heads/master | 2023-03-20T20:37:21.948550 | 2021-03-12T17:53:12 | 2021-03-12T17:53:12 | 347,150,304 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,923 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include <DLL_Inc\Funcao.h>
#include <Fontes\Apl\VTApl.h>
#include <Fontes\Log\VTLog.h>
#include "TParseLista.h"
//---------------------------------------------------------------------------
#pragma package(sm... | [
"danilopereira@usp.br"
] | danilopereira@usp.br |
c180cb504675bb61a603c743bd25319895ebba7a | 84283cea46b67170bb50f22dcafef2ca6ddaedff | /2020ECNU/I.cpp | d9a116987f57c7146dfc707ecd1b25e249be474d | [] | no_license | ssyze/Codes | b36fedf103c18118fd7375ce7a40e864dbef7928 | 1376c40318fb67a7912f12765844f5eefb055c13 | refs/heads/master | 2023-01-09T18:36:05.417233 | 2020-11-03T15:45:45 | 2020-11-03T15:45:45 | 282,236,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | /*
* @Date : 2020-05-23 14:09:21
* @Author : ssyze
* @Description :
*/
#include <bits/stdc++.h>
using namespace std;
int n, k;
int main()
{
cin >> n >> k;
string ans = "b";
for (int i = 0; i < k - 1; i++)
ans += 'a';
for (int i = ans.length(); i < n; i++)
ans += 'c';
... | [
"46869158+shu-ssyze@users.noreply.github.com"
] | 46869158+shu-ssyze@users.noreply.github.com |
e18ed08ade8a31df7e761921754021b301b13396 | d89e3cdc40a0cb23144bddbd3885fd6bddb03ba9 | /src/gscene/resources/materials/blinn_phong_material.h | 5c6c7c49d15d0cd99d619b07693a0330607763bd | [
"Apache-2.0"
] | permissive | GuillaumeArruda/GRaytracer | 571836a63655e9d5e32eb38743d301824891aa0b | 6286a7802d28a86bfe7bac09bd2a98adfee23268 | refs/heads/master | 2021-07-08T02:14:32.395825 | 2020-12-14T18:57:32 | 2020-12-14T18:57:32 | 214,635,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | h | #pragma once
#include <glm/glm.hpp>
#include "gscene/resources/material.h"
namespace gscene
{
struct blinn_phong_material
: material
{
void process(gserializer::serializer& serializer) override;
glm::vec3 m_diffuse_color = {};
glm::vec3 m_specular_color = {};
float m_sp... | [
"guillaume.arruda@gmail.com"
] | guillaume.arruda@gmail.com |
76b72272aca690edc17500b459fdbc27c2b2e962 | 72c7407564aa2ef06a635595df0f1a6a503756d0 | /TEMPLATE_Subclass.c++ | 40c46fadf8ea099ae522a4cccd454aed1dd62dc2 | [] | no_license | jaytee0913/project2 | 5403192126d74b009fd6aa35adafd9d1b3114c43 | dce2b74797030c730ee2fb03ba7a9ee738902a64 | refs/heads/master | 2020-03-31T10:50:36.227073 | 2018-10-12T03:07:46 | 2018-10-12T03:07:46 | 152,152,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | // TEMPLATE_Subclass.c++
#include "TEMPLATE_Subclass.h"
TEMPLATE_Subclass::TEMPLATE_Subclass(ShaderIF* sIF) : shaderIF(sIF)
{
// DON'T FORGET TO SET INSTANCE VARIABLES, PERHAPS USING
// SOME CONSTRUCTOR PARAMETERS
}
TEMPLATE_Subclass::~TEMPLATE_Subclass()
{
}
// xyzLimits: {mcXmin, mcXmax, mcYmin, mcYmax, mcZmin,... | [
"jeromy.tsai@gmail.com"
] | jeromy.tsai@gmail.com | |
af2bbe9e642d88906eaec445618264bc3ea01fea | be97cc1e43241df8ee46f9be364f75e347f9d726 | /test/map_test.cpp | b93a7d93f6bc40d2941307ed8aa08308d8e87fbe | [] | no_license | MF1523017/ViSG_Geometry | ed34b5dcb36a85dcd5ca3e542672453a72a7a9c6 | 50832e580f7c686aed9d1e107d31518f0108f96c | refs/heads/master | 2021-01-23T23:03:11.425744 | 2017-12-13T13:21:28 | 2017-12-13T13:21:28 | 102,952,826 | 0 | 0 | null | 2017-10-14T02:54:42 | 2017-09-09T12:21:36 | C++ | UTF-8 | C++ | false | false | 2,322 | cpp | /*************************************************************************
> File Name: map_test.cpp
> Author: lipei
> Mail: b111180082@163.com
> Created Time: 2017年09月12日 星期二 10时02分37秒
************************************************************************/
#include "map.h"
#include <fstream>
using namespace std... | [
"554896649@qq.com"
] | 554896649@qq.com |
aa2db07d5e5adb6d606767e5b45e6892d0550db7 | 8f8b71b130e04f619c400a7727a8f9c421b88e02 | /FMSU.cpp | 105af1ad9d7f830544bdd3da3375ce5ff9ba056a | [] | no_license | Lepidora/FMSU | e5d2d4c7e6d1713f593cd79935b4ac89b1587d9c | a79a44ef70458321a8b2981cb82e2780265d519b | refs/heads/master | 2022-10-06T21:09:41.572025 | 2020-06-08T16:56:59 | 2020-06-08T16:56:59 | 270,750,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,913 | cpp | #include "FMSU.h"
#include "IPlug_include_in_plug_src.h"
#include "IControls.h"
#define _USE_MATH_DEFINES
#include <cmath>
#define E 2.71828182845904523536
FMSU::FMSU(const InstanceInfo& info)
: Plugin(info, MakeConfig(kNumParams, kNumPrograms))
{
GetParam(kGain)->InitGain("Gain", 0., -64.0, 12.0, 0.01);
Get... | [
"miamukherjee2+lepidora@gmail.com"
] | miamukherjee2+lepidora@gmail.com |
84c4b9cbd5e440018c79ca97b263a3aaec44dba9 | 1d107bc52c788de8e051aa4982677ea2d37edfa3 | /LUNA/LUNA/Moon.cpp | 57b31b2554ca25889291ea3b91d42c5ef9da0d70 | [] | no_license | ednachaar/Comp2 | 3aca7b07d1e778d4b015c402f71d3d58a2d406a1 | 0ca00d5f2e568879f81e658b58e7386867e234e9 | refs/heads/master | 2021-01-20T10:00:34.801641 | 2017-05-22T05:26:46 | 2017-05-22T05:26:46 | 90,312,318 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | #include <iostream>
#include "Moon.h"
using namespace std;
Moon::Moon() {
this->moonWeight = 0.0;
this->earthWeight = 0.0;
}
Moon::~Moon() {
cout << "Moon object removed." << endl;
}
double Moon::getMoonWeight() const {
return moonWeight;
}
double Moon::getEarthWeight() const {
return earthWeight;
}
voi... | [
"ednachaar@me.com"
] | ednachaar@me.com |
2abf79d0fcc24c32fdc12a945377a50e32a207ff | d0be9a869d4631c58d09ad538b0908554d204e1c | /utf8/lib/client/FairyCore/src/Core/FairyPlacementObject.h | 65cfa900cb6dd4fbcddcfdfc58816a37b70b3f55 | [] | no_license | World3D/pap | 19ec5610393e429995f9e9b9eb8628fa597be80b | de797075062ba53037c1f68cd80ee6ab3ed55cbe | refs/heads/master | 2021-05-27T08:53:38.964500 | 2014-07-24T08:10:40 | 2014-07-24T08:10:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,263 | h | #ifndef __FAIRYPLACEMENTOBJECT_H__
#define __FAIRYPLACEMENTOBJECT_H__
#include "FairyObject.h"
#include "FairyTransform.h"
namespace Fairy
{
class System;
class PlacementObject : public Object
{
public:
PlacementObject(void);
virtual ~PlacementObject();
void createRenderInsta... | [
"viticm@126.com"
] | viticm@126.com |
c8b045c8d2c377d44d98508f3610eb81d38b18e3 | fcdbae96eaeb10db99674e1ad2128ad3cdc494fe | /Quad-Controls-master/QuadControlsV0_2_4/DeepLearningV0_2_4/NNPID.h | 2283d003e9e012455648d8756baad244be7f89c1 | [] | no_license | alecrev18/Quad-Controls | aec97e511d6d927fe4b1d79e75a796478e95320a | ee47c5519cf29ac027c7ddbaaba1324a9023983f | refs/heads/master | 2018-01-08T13:47:49.722472 | 2016-04-08T21:01:13 | 2016-04-08T21:01:13 | 50,973,763 | 4 | 0 | null | 2016-02-23T04:17:27 | 2016-02-03T04:25:21 | C++ | UTF-8 | C++ | false | false | 767 | h |
#ifndef NNPID_h
#define NNPID_h
#include "Arduino.h"
#include <math.h>
class NNPID
{
public:
NNPID(float LearnRate, double Control);
void calculateOutputOfNeurons();
void calculateInputOfNeurons();
void updateWeights();
void updateSetpoint(float New);
void updatePosition(float New);
float Output();
... | [
"alecrev18@gmail.com"
] | alecrev18@gmail.com |
7a6cb14caab397b3c2000729d92461c3d85dc94d | 7594d51e4015f80939190e9742384d54657f3892 | /src/qt/optionsmodel.cpp | a29fbdf954c7834370a11bfc81d0c80e84f0e729 | [
"MIT"
] | permissive | digitcoins/qjk | 4c9aae04d120ba9506a0ed1dd441ab562a583b37 | 9c23b36be72f2c9c0bfdcb592adbaa8ce0df3d2c | refs/heads/master | 2021-01-10T12:06:34.352310 | 2016-03-29T04:51:51 | 2016-03-29T04:51:51 | 54,935,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,070 | cpp | #include "optionsmodel.h"
#include "bitcoinunits.h"
#include <QSettings>
#include "init.h"
#include "walletdb.h"
OptionsModel::OptionsModel(QObject *parent) :
QAbstractListModel(parent)
{
Init();
}
void OptionsModel::Init()
{
QSettings settings;
// These are QT-only settings:
nDisplayUnit = sett... | [
"digit_coin@qq.com"
] | digit_coin@qq.com |
1a83b3a99d365247fef3b3793d779da425e7b481 | 4aa72e41c9a968ba61fa040fc0bfbdcff274d3b9 | /PlatfromManagementClient_6/src/urn__jaus__jss__mobility__pfmgmtclient_1_0/Messages/QueryServices.cpp | 3d33fb30ca0a672723941ff2cf8f51a70f9d92d7 | [] | no_license | unmanned-ground-vehicle/IOP | 6619d40ccab3efe5c97ec5e8d88fdec35d7018c6 | 6fb2dc43e5b7d87709538372607f8e29e0437384 | refs/heads/master | 2020-04-13T16:11:30.993729 | 2019-04-15T16:23:18 | 2019-04-15T16:23:18 | 163,314,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,340 | cpp | #include "urn__jaus__jss__mobility__pfmgmtclient_1_0/Messages/QueryServices.h"
namespace urn__jaus__jss__mobility__pfmgmtclient_1_0
{
void QueryServices::AppHeader::HeaderRec::setParent(AppHeader* parent)
{
m_parent = parent;
}
void QueryServices::AppHeader::HeaderRec::setParentPresenceVector()
{
if(m_parent != NU... | [
"sudshek01@gmail.com"
] | sudshek01@gmail.com |
f5ddec983e3157df0c82f7415feadcbcf7b19172 | 57a2ff675497083c6c126279d64da6caf10e1022 | /include/RE/ExtraFollower.h | 301be9e664d83fcbe8495bbea0e7f91702054fa6 | [
"MIT"
] | permissive | lfrazer/CommonLibVR | be07b8837034e069addae3309da872bb606bd585 | 0fabedac02c4d97b7d54199098561be8c0c666ef | refs/heads/master | 2021-12-30T23:04:52.654616 | 2021-09-26T18:39:22 | 2021-09-26T18:39:22 | 252,837,323 | 7 | 7 | MIT | 2021-05-08T17:53:09 | 2020-04-03T20:45:36 | C++ | UTF-8 | C++ | false | false | 745 | h | #pragma once
#include "RE/BSExtraData.h"
#include "RE/BSPointerHandle.h"
#include "RE/BSTArray.h"
#include "RE/ExtraDataTypes.h"
namespace RE
{
class ExtraFollower : public BSExtraData
{
public:
inline static constexpr auto RTTI = RTTI_ExtraFollower;
inline static constexpr auto EXTRADATATYPE = ExtraDataType:... | [
"ryan__mckenzie@hotmail.com"
] | ryan__mckenzie@hotmail.com |
15fad9d380a6bdbdbaf89166fbc76e56865eed67 | e3c19cc93e97c12f434aa4900934b90ff77b5817 | /java/jni/android_buf.cpp | e33b5ff48741c5426bc9d50c74310ccbd75df306 | [] | no_license | houzh/FaceRecognition | f1dd4bf645d2ec7509801382228be4e5f7390367 | 3e46c02bc988d0346be59b4033d6ea41f2216261 | refs/heads/master | 2020-05-05T10:56:49.629918 | 2019-04-14T03:07:17 | 2019-04-14T03:07:17 | 179,967,748 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | cpp | #include"android_buf.hpp"
#include<android/log.h>
#include <strstream>
#include <iostream>
#define LOG "std::cout"
#define LOGV(...) __android_log_print(ANDROID_LOG_VERBOSE,LOG,__VA_ARGS__)
AndroidBuf::AndroidBuf() {
buffer_[BUFFER_SIZE] = '\0';
setp(buffer_, buffer_ + BUFFER_SIZE - 1);
}
AndroidBuf::~Android... | [
"houzh@21cn.com"
] | houzh@21cn.com |
60ec8a177b3779febec7de12024eebff24e50b08 | 81e45aa9438444e1aea8587ba1a9d9cb663e86c4 | /Ruin/Plugins/Developer/RiderLink/Source/RiderBlueprintExtension/Private/RiderBlueprintExtension.cpp | 0ec637f91e1bccba6270d2a52e662ca935c8e49a | [] | no_license | leyarotheconquerer/ruin | 967c3c9c6947d3414bfc8311bb7cbaa43eb7fb21 | 7d34e5c188eb7ac01edf8c4ea446502cd7d07e4a | refs/heads/master | 2023-08-02T11:15:27.558144 | 2021-10-03T21:20:58 | 2021-10-03T21:20:58 | 413,197,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,084 | cpp | #include "RiderBlueprintExtension.hpp"
#include "BlueprintProvider.hpp"
#include "IRiderLink.hpp"
#include "Model/RdEditorProtocol/RdEditorModel/RdEditorModel.Generated.h"
#include "AssetRegistryModule.h"
#include "Engine/Blueprint.h"
#include "Framework/Docking/TabManager.h"
#include "HAL/PlatformProcess.h"... | [
"leyarotheconquerer@yahoo.com"
] | leyarotheconquerer@yahoo.com |
78cf8daaed222c3754841932eb5108845acbbe34 | be3daa77d3784bef6f5f942d2deb09c80ca334ec | /task6/task6/task6/AreaLight.hpp | ef11c417a368f19bdb1ed58a8870908509ee2087 | [] | no_license | lumixraku/NotesForGraphics | eacc42a02d7b817484e5313898330f427285e7ce | 07796ffd0f0e45423639b01a64c0355651bef1ab | refs/heads/master | 2021-04-13T05:52:55.342636 | 2020-09-08T14:43:53 | 2020-09-08T14:43:53 | 249,140,971 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 640 | hpp | //
// Created by Göksu Güvendiren on 2019-05-14.
//
#pragma once
#include "Vector.hpp"
#include "Light.hpp"
#include "global.hpp"
class AreaLight : public Light
{
public:
AreaLight(const Vector3f &p, const Vector3f &i) : Light(p, i)
{
normal = Vector3f(0, -1, 0);
u = Vector3f(1, 0, 0);
... | [
"lumixraku@gmail.com"
] | lumixraku@gmail.com |
a83b01df908b79c5f80e5a89aa2f77868b380ec4 | f4608714c7e78c35c59174c9fa053dccd5648af3 | /src/dio/task.h | 8913cc45e9c1385e70d7150efd0b14f24dea5af7 | [
"MIT"
] | permissive | Barokoli/VOCU | cff0caa0ab8ec80b4a8974451714a345c935b57a | 8693a39eb0ea274ae9c9742766b7af919d3e64f0 | refs/heads/master | 2021-05-02T11:45:33.517008 | 2017-01-11T14:10:51 | 2017-01-11T14:10:51 | 72,746,492 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | h | /*
* task.h
*
* Created on: 05.11.2016
* Author: sebastian
*/
#ifndef TASK_H_
#define TASK_H_
#include <mutex>
using namespace std;
class Task{
public:
Task(function<void()> f){
func = f;
work_mtx.lock();
tid = 0;
}
~Task(){
}
Task(const Task &obj) {
func = obj.func;
work_mtx.lock();
ti... | [
"sebastian@Bastis-Hacky.local"
] | sebastian@Bastis-Hacky.local |
2dd15a18cc9f0201588bc79cf1d53d749abbdf14 | 8f27ca75187c121d9a815b00517175bc523f1801 | /Plugins/Voxel/Intermediate/Build/Win64/UE4Editor/Inc/VoxelEditor/VoxelGraphGeneratorThumbnailRenderer.generated.h | 81c7d1c65d8bc33d7b7a04b1291dde79da03f5fc | [
"MIT"
] | permissive | Maverrin/FirstGame | 9991e84df316fef6afe7606b29d01f1eb8c375de | 9ff0eeb0948a4f223d31e03b2cbf35a955db9e9e | refs/heads/master | 2022-05-09T17:45:15.904563 | 2019-11-08T18:14:45 | 2019-11-08T18:14:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,050 | h | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"eigrads@hotmail.com"
] | eigrads@hotmail.com |
fd3c2cf3701714653786d56880a872305784c864 | ecd2147ea97c2dbf1b11cc20dba2eafdf000ac71 | /TouchGFX/generated/fonts/src/Table_verdana_20_4bpp.cpp | da1c811424be5201c1540a6af8bf1b47f99981d5 | [] | no_license | ndunello/NG071_GFXM101_OS | b50558166b08c86126f55c00c2c8c3f525e904f0 | 2ef87ba1b11bf4a200046db6af1d19377ced741d | refs/heads/main | 2023-01-22T22:36:50.809311 | 2020-12-01T08:38:44 | 2020-12-01T08:38:44 | 317,288,441 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,362 | cpp | // Autogenerated, do not edit
#include <fonts/GeneratedFont.hpp>
FONT_TABLE_LOCATION_FLASH_PRAGMA
KEEP extern const touchgfx::GlyphNode glyphs_verdana_20_4bpp[] FONT_TABLE_LOCATION_FLASH_ATTRIBUTE =
{
{ 0, 0x0020, 0, 0, 0, 0, 7, 0, 0, 0x00 },
{ 0, 0x0031, 9, 14, 14, 2, 13, 0, ... | [
"alombardinilo@seko.com"
] | alombardinilo@seko.com |
3647bfbb480193345824ebde8fbbfe82cc01744c | 08089398ccfdaf989c7e2aaaf81b137f96b6ccc2 | /esp/libraries/EpicFmsLib/neo_base.cpp | e96b36428b514567a2ebb0da3475947bbd418d8d | [] | no_license | VCHSRobots/EpicFMS | 85627bae63de553deb663dcddf62fd88b92abc41 | b3ca3d9c505a41db6ac1e638349457a64682cf0f | refs/heads/main | 2023-09-04T21:12:33.424866 | 2021-11-14T02:02:09 | 2021-11-14T02:02:09 | 406,927,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,908 | cpp | // neo_base.cpp -- base class for mananging dual neo strips
// dlb, Oct 2021
// This class was invented so that code could be shared between target
// types, and therefore keeping the overall look of the game the same
// across the targets, while at the same time allowing different
// target types a way to show sligh... | [
"dalbrandon@gmail.com"
] | dalbrandon@gmail.com |
c9702eed8365d6860482307d96795bef5adb6c3b | 9f314c14556a1d2ede69c08ff75d9c3e730adc4f | /elsa/in/t0610.cc | d10aab937d8eafce0233e0e84c1133f67ecd51de | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-public-domain"
] | permissive | zhouzhenghui/oink-stack | c1077394f6a64c8aec2f3b4d4a322ada3993bc74 | 12901ab95b3ea60360906b63f6602f060ac3de1f | refs/heads/master | 2020-04-13T07:32:05.388961 | 2016-10-21T00:47:35 | 2016-10-21T00:47:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | cc | // t0610.cc
// example that requires allowing a dependent array size to
// bind to another expression (another dependent array size);
// reported by Umesh Shankar
// The overload prefers the second declaration because this first
// declaration can be made equal to the second by substituting "const
// TT" for T" and "N... | [
"daniel.wilkerson@gmail.com"
] | daniel.wilkerson@gmail.com |
d0f65d91aeadd3e4f19464bf9e134880adb05bf3 | 6e9efe33d73a1ff56d95a65c20c01799bc565c0f | /include/nana/detail/win32/platform_spec.hpp | 9e735f9992b9e4773df4c06a6c16739089219b17 | [
"BSL-1.0"
] | permissive | DaveM2011/nana | c0231bdb51e1a4ff868da24c83ea629a9a6e8332 | 1505c8d729f8d68cb9015c3f0b430a47f09ac0a0 | refs/heads/master | 2020-04-06T06:56:09.974654 | 2015-03-19T01:09:46 | 2015-03-19T01:09:46 | 32,492,855 | 1 | 0 | null | 2015-03-19T00:56:25 | 2015-03-19T00:56:25 | null | UTF-8 | C++ | false | false | 4,003 | hpp | /*
* Platform Specification Implementation
* Nana C++ Library(http://www.nanapro.org)
* Copyright(C) 2003-2014 Jinhao(cnjinhao@hotmail.com)
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* @file: nan... | [
"cnjinhao@hotmail.com"
] | cnjinhao@hotmail.com |
b23bd148c11fe79c9140471b859403f2f88e8ab4 | 58f46a28fc1b58f9cd4904c591b415c29ab2842f | /chromium-courgette-redacted-29.0.1547.57/chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc | c428e1d82d1974d22889a3e1c17c8e8a2032cc5a | [
"BSD-3-Clause"
] | permissive | bbmjja8123/chromium-1 | e739ef69d176c636d461e44d54ec66d11ed48f96 | 2a46d8855c48acd51dafc475be7a56420a716477 | refs/heads/master | 2021-01-16T17:50:45.184775 | 2015-03-20T18:38:11 | 2015-03-20T18:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,951 | 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 "base/bind.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/speech/speech_recognition_bubble_controller.h"
#inclu... | [
"Khilan.Gudka@cl.cam.ac.uk"
] | Khilan.Gudka@cl.cam.ac.uk |
def2280e614ae69853f964d86d1e84c91d310134 | 02f9c1beaf3b460e12301c58fac65401cecdfd3a | /Leetcode/algorithms/69-Sqrt(x).cpp | 33d87e5da621df87758333f406c2ecde2b0107bc | [] | no_license | SongRb/OnlineJudge | afa822c611979368b34b7d4aca25187cea17f34e | c18c8869fa48f419fb7f7be0d2108ea1f8537bf8 | refs/heads/master | 2021-01-19T23:52:49.276262 | 2018-10-28T13:08:22 | 2018-10-28T13:08:22 | 89,045,174 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | class Solution {
public:
int mySqrt(int x) {
long res = x;
while(res*res>x)
{
res = 0.5*(res+x/res);
}
return res;
}
}; | [
"tangsongkai2287@gmail.com"
] | tangsongkai2287@gmail.com |
3f4a47f8d094d59e4a09f4b1af631c14c96936b7 | 2949634ea909390ffcff891cd0864276d4c97263 | /game/fbEngine/fbEngine/_Inputs/XInput.h | dee7b0b8686a6cba54d1523d10d614162b12010e | [] | no_license | kbc15gc/game | ebe8a13454178fe6b8d673c6da001d173325aa1b | d2fc9d1bfa720899239ca5bc9b81891e126941b8 | refs/heads/master | 2021-01-23T05:29:57.106396 | 2018-02-09T07:21:00 | 2018-02-09T07:21:00 | 86,294,968 | 0 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,467 | h | #pragma once
enum class AnalogE {
TRIGGER = 0b100000, //トリガー
L_STICK = 0b10000, //左スティック
R_STICK = 0b1000, //右スティック
X = 0b100, //横
Y = 0b10, //縦
INVERT = 0b1, //反転
ANALOG = 0b111110,
R_TRIGGER = TRIGGER | X, //右トリガー
L_TRIGGER = TRIGGER | Y, //左トリガー
L_STICKR = L_STICK | X, //左スティック右
L_STICKL = ... | [
"kbc15b12@stu.kawahara.ac.jp"
] | kbc15b12@stu.kawahara.ac.jp |
34c7fe8dfca2acde78581b4625d7f7280ddc4b58 | 93ce607184ed5143ef9e2b8fd99ece6a100c1cf4 | /Audio/ALSACardConfigProcedure.hpp | c272c2796b73fb287880a59ff2804e99a90ccc20 | [] | no_license | seven-1981/BPMCounter | d3f0bb468614349e4d9c5904954981223c286e8e | 9af69f17b0766d75922e15252b4d1f94fcce44fe | refs/heads/master | 2020-09-26T06:55:11.664877 | 2020-08-28T21:03:23 | 2020-08-28T21:03:23 | 226,195,629 | 0 | 0 | null | 2020-08-28T20:02:24 | 2019-12-05T21:54:25 | C++ | UTF-8 | C++ | false | false | 1,341 | hpp | #ifndef _ALSACardConfigProcedure_H
#define _ALSACardConfigProcedure_H
#include "ICardConfigProcedure.hpp"
#include <string>
//Forward declarations
struct ICardConfiguration_t;
struct ALSACardConfiguration_t;
//Using for type simplifications
using GEN_CARD_CONFIG_TYPE = ICardConfiguration_t;
using CARD_CONFIG_TYPE =... | [
"d_schlatter@gmx.ch"
] | d_schlatter@gmx.ch |
39e1bce0c32a70589e1a00e5926ff875ec926578 | d01f5d894602293f0b224c100e988e9c255b145c | /TLX/TOKI Special Open Contest - April Fools 2020/K.cpp | abd8288fcdd99b703d6a6c02c4bd8cd352411fc5 | [] | no_license | adityarev/online-judge | 708e98599cdf461aef671ae1bc8806456eca29f2 | 4b92da74b71aa9ecdb13e662df323d5acc08c29f | refs/heads/master | 2021-04-05T13:13:01.335277 | 2020-07-29T13:45:52 | 2020-07-29T13:45:52 | 248,560,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | cpp | #include <iostream>
#include <vector>
int
main() {
std::vector<std::string> ans = {"Rock", "Paper", "Scissor"};
int p = 0;
const int n = 1;
while (true) {
std::cout << ans[2] << std::endl;
std::cout << std::flush;
p++;
}
return 0;
}
| [
"aditya.vritalia@gmail.com"
] | aditya.vritalia@gmail.com |
42d32cb8b2c33a452a2201a04a483ea5271f4c52 | 05aa2bc05c1e379b32f328da2d628b0433c9a3b1 | /codeforces 364-1/main.cpp | f21c2262b9deed0314963a821971bb09bdc10233 | [] | no_license | Taohid0/Contest-programming-problems-and-graph | fe07fcfb49b9313b9b06b9ed4e7436ca354b73bb | eaff1b684a57b69b05d76891fa63d3bb695d64c0 | refs/heads/master | 2021-07-22T03:17:03.118026 | 2017-10-28T10:16:13 | 2017-10-28T10:16:13 | 108,641,829 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,089 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<int>edge[200010];
vector<int>varsities;
int temp[2000010]={0};int level[200001];
void bfs(int src)
{
int visited[100] = {0};
queue<int>q;
q.push(src);
visited[src] = 1;
level[src] =0;
while(!q.empty())
{
int u = q.front();q.pop... | [
"taohidulii@gmail.com"
] | taohidulii@gmail.com |
b5c3b8ddb9a5bc0bb699d99593ed40c6cbe7339c | 1ca16a90e046583d7607219cad7157c63e9434b7 | /lib/Core/Executor.cpp | a158e4a65e74dfdfa767dec9ac8f9e53949890b3 | [
"NCSA"
] | permissive | Hanseltu/klee-n-aeg-final | b5d305eb306f8072fc876a05553b745a8bf3c050 | 75d9f017ea834dd6df1e856e6ef264a082dae164 | refs/heads/main | 2023-08-26T00:51:22.970666 | 2021-11-03T07:21:54 | 2021-11-03T07:21:54 | 415,244,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265,010 | cpp | //===-- Executor.cpp ------------------------------------------------------===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... | [
"tuhaoxin6@gmail.com"
] | tuhaoxin6@gmail.com |
0bd672c1ef3f5615c0d97239e0a761742fd19359 | 0d558f011a7d024bc572ec37440880bfd324f0c8 | /DecisionTree.h | addcbf164c003b0bc1620549913e576b600fd2e6 | [] | no_license | zydirtyfish/MachineLearning | 932f17a3198f86eb9cb4c58bffa340ce2ce12db7 | bcf041f5b27f63e5619d2ee5c0766ef165988679 | refs/heads/master | 2020-03-25T17:35:19.038710 | 2018-08-22T02:02:03 | 2018-08-22T02:02:03 | 143,984,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,878 | h | //////////////////////////////////////////////////////////////////////////
// DecisionTree.h
// Author: Yu Zhang
// Date: 2018-08
// Machine learning Decision Tree Algorithm
#include "mla.h"
#include <cmath>
#ifndef MN
#define MN
#define MAXNODE 30
#endif
#ifndef NODE__
#define NODE__
struct TreeNode
{ /*tree node*/... | [
"447207044@qq.com"
] | 447207044@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.