blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
710be8b8c2f16864cd1948f7784c99a51325769b | 04fee3ff94cde55400ee67352d16234bb5e62712 | /csp-s2019.luogu/source/XJ-00015/meal/meal.cpp | b72b4e030fe4080076efacc58d2d5cec0e277f08 | [] | no_license | zsq001/oi-code | 0bc09c839c9a27c7329c38e490c14bff0177b96e | 56f4bfed78fb96ac5d4da50ccc2775489166e47a | refs/heads/master | 2023-08-31T06:14:49.709105 | 2021-09-14T02:28:28 | 2021-09-14T02:28:28 | 218,049,685 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | cpp | #include<cstdio>
#include<iostream>
using namespace std;
int main(){
int am=0,n=0,m=0,a1,a2,a3,a4,a5,a6;
cin>>n>>m;
am=n*m;
for(int i=0;0<=i<am;i++){
cin>>a1>>a2>>a3>>a4>>a5>>a6;
am=am/2;
cout<<am;
return 0;
}
}
| [
"15276671309@163.com"
] | 15276671309@163.com |
acd801004267b0f4f2519528af5cab59106868f3 | 2018e26e493b92e8a20cb5b4fb6a7fce1ce2360a | /Divide and Conquer(Binary Search)/Binary Search in Rotated and Sorted array.cpp | d01d366c04041790f53676e8c98a061e229dc21a | [] | no_license | Sarthak-Gaba/CP-Topic-Wise-Qs | 091e2e3ca4c22b35485d481a7d8d91fd32e63d0f | 540ce0f4ddea8b7fc4c67788f30977de40101c3e | refs/heads/master | 2023-04-03T16:44:54.207712 | 2021-03-28T04:25:51 | 2021-03-28T04:25:51 | 314,567,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,264 | cpp | #include<bits/stdc++.h>
#include<bitset>
#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define ll long long
#define hash unordered_map<ll,ll>
typedef tree<pair<ll,ll>, null_type, less<pair<ll,ll>>, rb_tree_tag,
tree_order_statistics_node... | [
"gabasarthak20@gmail.com"
] | gabasarthak20@gmail.com |
ebacde416342ad4185036c93cb0aa7a9180cf22b | f5f750efbde0ccd95856820c975ec88ee6ace0f8 | /aws-cpp-sdk-ec2/include/aws/ec2/model/DisableVpcClassicLinkRequest.h | 7ebe791989a36049cd1d8b41ebc9aff1c8983cac | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | csimmons0/aws-sdk-cpp | 578a4ae6e7899944f8850dc37accba5568b919eb | 1d0e1ddb51022a02700a9d1d3658abf628bb41c8 | refs/heads/develop | 2020-06-17T14:58:41.406919 | 2017-04-12T03:45:33 | 2017-04-12T03:45:33 | 74,995,798 | 0 | 0 | null | 2017-03-02T05:35:49 | 2016-11-28T17:12:34 | C++ | UTF-8 | C++ | false | false | 3,672 | h | /*
* Copyright 2010-2016 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 |
b2454dbc6958315c84719fc8348b5914e78a8fb1 | 00e85ad829dee4b44d03e69370a496effde17e2c | /src/filters/box_filter.h | 0a952dca1b9742f59186a0deaef67fd86f108c86 | [] | no_license | brkho/liang-renderer | ba49669c09acbac44b734f587cc018a2f280361e | 4166f8da5004721f3311dc1ebccaee221aa80cf5 | refs/heads/master | 2021-01-12T06:29:25.763907 | 2017-02-08T06:36:50 | 2017-02-08T06:38:06 | 77,368,871 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | h | // This header defines the BoxFilter, a reconstruction filter that averages all samples equally.
// This is mainly included for completeness; it is not a good filter and should not be used in
// creating photorealistic renders.
//
// Author: brian@brkho.com
#ifndef LIANG_FILTERS_BOX_FILTER_H
#define LIANG_FILTERS_BOX_... | [
"brian@brkho.com"
] | brian@brkho.com |
e2b9747a0e5584720fcb815c65c2534e75719cd7 | c980ee8cd458000976daca85c36bfe22f6acaa37 | /OverEngine/src/Platform/OpenGL/OpenGLBuffer.h | c754474679e3cd1f7c11dab5f8b526a525c850a8 | [
"MIT"
] | permissive | OverShifted/OverEngine | ee0d9a51fd4d908f9a054d785df69a657d401494 | d981444ee901ba50589cdf7fb2036a214d4730d4 | refs/heads/master | 2023-03-06T19:29:11.946454 | 2023-03-02T13:52:37 | 2023-03-02T13:52:37 | 246,120,634 | 215 | 22 | MIT | 2022-05-19T19:28:04 | 2020-03-09T19:11:07 | C | UTF-8 | C++ | false | false | 1,540 | h | #pragma once
#include "OverEngine/Renderer/Buffer.h"
namespace OverEngine
{
class OpenGLVertexBuffer : public VertexBuffer
{
public:
OpenGLVertexBuffer();
OpenGLVertexBuffer(const void* vertices, uint32_t size, bool staticDraw);
virtual ~OpenGLVertexBuffer();
virtual void Bind() const override;
virtual ... | [
"prowidgs@gmail.com"
] | prowidgs@gmail.com |
7c4169e0384cbb7f5d5584702bb23cbd9c87573c | 240236a7b36b975eb40c7f89419477c0d8a17d33 | /glwidget.cpp | d0ace4b36618c992af84e3dcec07bacdaff975ec | [] | no_license | ArifPrasetiya/SKM_ECDIS | 2d8e8e7255eeec6f2276dccf0a08c0e123f4efc5 | c3d49d7896705233b95444201e9dcdcbaddb9d64 | refs/heads/master | 2021-01-13T14:37:07.752537 | 2016-03-30T04:11:35 | 2016-03-30T04:11:35 | 55,030,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,657 | cpp | /****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You m... | [
"arif.prasetiya@gmail.com"
] | arif.prasetiya@gmail.com |
d75158722cbb245bfe647a659579074ef34cebaf | dca653bb975528bd1b8ab2547f6ef4f48e15b7b7 | /tags/wxPy-2.9.0.1/src/common/mimecmn.cpp | 1121e348a7f1fc0623568271a8d409850610fbec | [] | no_license | czxxjtu/wxPython-1 | 51ca2f62ff6c01722e50742d1813f4be378c0517 | 6a7473c258ea4105f44e31d140ea5c0ae6bc46d8 | refs/heads/master | 2021-01-15T12:09:59.328778 | 2015-01-05T20:55:10 | 2015-01-05T20:55:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,808 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: src/common/mimecmn.cpp
// Purpose: classes and functions to manage MIME types
// Author: Vadim Zeitlin
// Modified by:
// Chris Elliott (biol75@york.ac.uk) 5 Dec 00: write support for Win32
// Created: 23.09.98
/... | [
"RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775"
] | RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 |
88bf20d696d4e7fa47addd80b575efbbaf31ca6d | bef4ddb50c3ba0ddf050a01c3b57807af170125d | /src/vision/MotionDetector.cpp | 0d9807067ae6f791676baf3346dba488d0d3d03d | [
"Apache-2.0"
] | permissive | raphamontana/YaSfMt | 52d5494558fd071ecadc73ea3fca84524f7cb91e | 0e2f899a4463937a311224c0dd831f407b4f1f70 | refs/heads/master | 2021-01-20T10:41:40.579006 | 2014-12-05T20:14:13 | 2014-12-05T20:14:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,339 | cpp | #include "MotionDetector.h"
MotionDetector::MotionDetector( int thereIsMotion, int maxDeviation )
: thereIsMotion( thereIsMotion ),
maxDeviation( maxDeviation )
{
//this->thereIsMotion = 15;
this->maxDeviation = 50;
kernelEro = getStructuringElement( MORPH_RECT, Size( 2, 2 ) );
}
bool MotionDet... | [
"raphamontana@gmail.com"
] | raphamontana@gmail.com |
fd9c02ff242ec83ae42e148ad3a5954953bfcc0e | 6f79807bdff453d9b1c7a1818a840a05294bff5b | /Include/ddownloadwindow.h | 1011c756f95c24b9c0737603a00c44b0fec08856 | [
"BSD-2-Clause"
] | permissive | nurfalie/dooble-legacy | 47009e215ffe11d96429dd48ec142e030e62fd48 | be46a5c810845bec913ee6eb69dacf14ae9e1ec3 | refs/heads/master | 2023-06-20T16:05:05.930859 | 2021-07-17T19:46:08 | 2021-07-17T19:46:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,356 | h | /*
** Copyright (c) 2008 - present, Alexis Megas.
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions
** are met:
** 1. Redistributions of source code must retain the above copyright
** notice, this lis... | [
"textbrowser@gmail.com"
] | textbrowser@gmail.com |
e957d0b1b23fa6d9d8666c2284910842ff90efd8 | 8a0cb6ad6a7502d24f348fbc45a47c955d97d9d0 | /lib/video/nvidia/renderer/include/sld_nvrenderer.h | 9bc251ef670985bd8475986f38cdc0095e706c22 | [] | no_license | nemeyes/solids | 9cb98c7e54deaacd1db152b6effe3cd05bf3551b | f9c9d72a1fabb3d925aaaa69f905d1cbd0ba47d7 | refs/heads/master | 2022-11-11T22:41:32.017776 | 2022-10-24T05:13:56 | 2022-10-24T05:13:56 | 244,528,941 | 1 | 7 | null | 2022-10-24T05:13:59 | 2020-03-03T03:05:25 | C++ | UTF-8 | C++ | false | false | 1,092 | h | #pragma once
#if defined(EXP_SLD_NVRENDERER_LIB)
#define EXP_SLD_NVRENDERER_CLS __declspec(dllexport)
#else
#define EXP_SLD_NVRENDERER_CLS __declspec(dllimport)
#endif
#include <sld.h>
namespace solids
{
namespace lib
{
namespace video
{
namespace nvidia
{
class EXP_SLD_NVRENDERER_CLS renderer
... | [
"nemesis.han@gmail.com"
] | nemesis.han@gmail.com |
4b02176434dd27a2703c9b531bf8e5892540f9c0 | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_Watermelon_functions.cpp | 49d9a5698b609f8e8892fe7b509e0ed28e8ff4e7 | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,779 | cpp | // Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function ConZ.FoodItem.OnR... | [
"65712402+Kehczar@users.noreply.github.com"
] | 65712402+Kehczar@users.noreply.github.com |
c82ab84ee941c8c1d92e5373f3943d6de3f9c300 | cbfb8553a5c990c79e184149e236e1fa3e8ba943 | /Leetcode/HashTable/554_BrickWall.cpp | 72d7b031b11286464950e5b95b0dbc8de63ba2a6 | [] | no_license | DancingOnAir/LeetCode | 09c0b8c428216302be02447b257e7b9ca44c741b | 62d5a81f9a774599368a91050bcf83e4ffab8f50 | refs/heads/master | 2023-05-09T01:59:58.943716 | 2023-05-04T01:10:42 | 2023-05-04T01:10:42 | 93,221,941 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | cpp | //#include <iostream>
//#include <vector>
//#include <unordered_map>
//#include <unordered_set>
//#include <algorithm>
//using namespace std;
//
//int leastBricks(vector<vector<int>>& wall)
//{
// unordered_map<int, int> count;
// int res = 0;
//
// for (int i = 0; i < wall.size(); ++i)
// {
// int s... | [
"taotong1984@hotmail.com"
] | taotong1984@hotmail.com |
50e0a2d6f3ddefb186b1bc6e45e6d2aa765d2c89 | 9a4b04122994176140325394cd7c1831851166e5 | /include/Array.h | eec8a384b17659ab4fd9a597e5c6ddf22b65e61f | [] | no_license | BingoKong/EasyDSL | adea80d7c340318d690e29b0b283b571dc749284 | e134d08c70f099d73acb642d61cf29cd20096793 | refs/heads/master | 2020-07-17T22:42:04.148957 | 2020-04-01T12:24:05 | 2020-04-01T12:24:05 | 206,115,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | h | #ifndef ARRAY_H
#define ARRAY_H
#include "Root.h"
#include "Exception.h"
namespace EasyDSL
{
template <typename T>
class Array : public RootClass
{
protected:
T* mArray;
public:
virtual bool set(int index, const T& element);
virtual bool get(int index, T& element) const;
T& operato... | [
"438077374@qq.com"
] | 438077374@qq.com |
0fce6a058bfe8904fdcae271f7efd59086f14633 | fb5eeee994c4da9493dff30fe4b81379e84c713e | /src/uav_slam/include/uav_slam/uav_slam.h | cb0520c8d6bb7ba817e842039ec7574fc8f6746e | [
"BSD-3-Clause"
] | permissive | jamesdsmith/ROS | 386ff502f21fbb57a1d9c32165e9907c1d77190c | 8355f0619919960dccfb6ca643a06f0c4981ed64 | refs/heads/master | 2020-12-30T23:33:42.074029 | 2016-05-02T23:30:00 | 2016-05-02T23:30:00 | 47,723,787 | 0 | 0 | null | 2015-12-09T22:45:38 | 2015-12-09T22:45:37 | null | UTF-8 | C++ | false | false | 3,832 | h | /*
* Copyright (c) 2015, The Regents of the University of California (Regents).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of source code must retain the a... | [
"david.fridovichkeil@gmail.com"
] | david.fridovichkeil@gmail.com |
18bc4f27a521776d372d30cf1d856eb1332354f6 | 1faed4e4660e73dd120d10fa6c56451332080cbf | /123234345/1064/6073135_WA.cc | 7186ed6e207815427f8488bc9feea12d6bc62584 | [] | no_license | zizhong/POJSolutions | 856b05dd3fd4d5c6114fa2af23b144d8b624d566 | 096029f8e6d4de17ab8c6914da06f54ac5a6fd82 | refs/heads/master | 2021-01-02T22:45:49.449068 | 2013-10-01T07:55:17 | 2013-10-01T07:55:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cc | #include<stdio.h>
const int N=10000;
int main()
{
int n,k;
scanf("%d%d",&n,&k);
int d[N]={0};
int sum=0;
for(int i=0;i<n;i++)
{
double dl;
scanf("%lf",&dl);
d[i]=(int)(dl*100);
sum+=d[i];
}
if(sum<k){printf("0.00\n");return 0;}
int low=1,high=sum/k,mid... | [
"zhangzizhong0828@gmail.com"
] | zhangzizhong0828@gmail.com |
431fc091b9e3b19655e18cc6232fea83204f469b | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Classes/PaperSpriteFactory.h | 0be3f292a849d9453e36674dbb5be1896e0e8360 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 842 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* Factory for sprites
*/
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Factories/Factory.h"
#include "PaperSpriteFactory.generated.h"
UCLASS()
class UPaperSpriteFactory : public UFactory
{
GENERATED_UCLASS_BODY()... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
c49592848889d9c601e907511bf81b44608c1358 | 657b7f95618c6ca628becd42c90dcc16c6b5f148 | /vgg_numerics/vgg_detn.cxx | 50c6018ffdc5fae843190a100b09578f70e96850 | [] | no_license | Fjuzi/3D-Scene-Reconstruction-of-a-3D-Object-Scene | fbf77c915e9ba159a182e4ccfdd8ba0a82eddee7 | f10c28dee9c3a8a84206c63719e7c9a910a837db | refs/heads/master | 2023-01-11T16:05:41.745723 | 2020-10-22T10:36:52 | 2020-10-22T10:36:52 | 290,496,005 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,834 | cxx | #include "mex.h"
#include <math.h>
#include <stdlib.h>
#include <malloc.h>
#include <string.h>
//void ludcmp(double **a, int n, int *indx, float *d)
void ludcmp(double **a, int n, double *d, double *vv)
{
int i,imax,j,k;
double big,dum,sum,temp;
*d=1.0;
for (i=1;i<=n;i++) {
big=0.0;
for (j=1;j<=n;j++)
if (... | [
"fjuzi22@gmail.com"
] | fjuzi22@gmail.com |
bda371c7099ed01db8f4922ccffdfd60ffe90972 | 0edbcda83b7a9542f15f706573a8e21da51f6020 | /private/shell/ext/ftp/ftpdir.cpp | 77b165907bacda4fbcbcdaf974dffea015683c88 | [] | no_license | yair-k/Win2000SRC | fe9f6f62e60e9bece135af15359bb80d3b65dc6a | fd809a81098565b33f52d0f65925159de8f4c337 | refs/heads/main | 2023-04-12T08:28:31.485426 | 2021-05-08T22:47:00 | 2021-05-08T22:47:00 | 365,623,923 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 22,070 | cpp | /*****************************************************************************\
FILE: ftpdir.cpp
DESCRIPTION:
Internal object that manages a single FTP directory
The idea is that each FtpSite maintains a linked list of the
FtpDir's that it owns. Gets and Releases are done through the
FtpS... | [
"ykorokhov@pace.ca"
] | ykorokhov@pace.ca |
05cb7181d2d2326a2289806dbcc917582f04001e | 0b0adba16b8dba8c42b49a7a1cf502cde287e6a2 | /ServerDep/base/db/queryresult.cc | dc4d861a0b94a240fa9c7c5d440cb874f27dbcfd | [] | no_license | cash2one/kkS | 668bd01e58a33f2e25d33e834564851538678563 | 94b7c4577a2ec8e14c2d54f968d9990371dae904 | refs/heads/master | 2021-01-11T04:54:59.199111 | 2016-07-20T06:16:17 | 2016-07-20T06:16:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,217 | cc | /*******************************************************************************
Copyright 2010 by backkom. All rights reserved.
This software is the confidential and proprietary information of backkom.
('Confidential Information'). You shall not disclose such Confidential -
Information and shall use it only in accord... | [
"mawh583@163.com"
] | mawh583@163.com |
638b564ab21403a452c846fd7cc3c82359cfd86e | 173760d795837c831a70ec5792cb6857dbc26c1c | /DocFastSearchTool/DocFastSearchTool.cpp | 40764198342c43266301a38b3d0ab7874cacb06e | [] | no_license | longkangJack/-Cpp- | 4ace46fe6fc7f8e9e3e1e6ea45505911b612d215 | f3e19b2e9e3c3455ee0942e9cfa1e3df8fbb775a | refs/heads/master | 2022-04-21T02:15:26.337338 | 2020-04-21T10:24:40 | 2020-04-21T10:24:40 | 254,862,828 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,149 | cpp | #include"Common.h"
#include"Sysutil.h"
#include"sqlite3.h"
#include"DataManager.h"
#include"ScanManager.h"
#include"Sysframe.h"
const char* title = "文档快速搜索工具";
int main(int argc, char* argv[])
{
const string& path = "C:\\Users\\longkangJack\\Desktop\\pRO";
//const string &path = "C:\\";
//创建扫描实例
ScanManager::Create... | [
"1030269471@qq.com"
] | 1030269471@qq.com |
a4ce7b137dc2b712eb7bc146322e8d9680d7801f | c08b62e444e3e5f8cd81975f6b548e2213c3b81f | /ExplodeSprite/ExplodeSprite.hpp | c74fac0cff233ea2cd8c80d47860a1c37588d41f | [] | no_license | weibobo/CocosPractice | da3fc6bab5a4e692b3460e309eec8e0672b703c4 | f0aaaa730d9b1d412b2248caa4a8698c1c6e1efc | refs/heads/master | 2021-05-16T17:01:58.405937 | 2017-06-28T03:33:11 | 2017-06-28T03:33:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,585 | hpp | #ifndef ExplodeSprite_hpp
#define ExplodeSprite_hpp
#include "cocos2d.h"
#include "2d/CCSprite.h"
/*
auto node = ExplodeSprite::create("fish2.png");
node->setPosition(Vec2(winSize.width/2,winSize.height/2));
addChild(node);
*/
USING_NS_CC;
using namespace std;
class ExplodeFrag : public cocos2d::Sprite
{
public... | [
"chentao@euplay.com"
] | chentao@euplay.com |
7fc8e5d03924f95d8676fd365d055b221ac907d3 | 3b9f1992771af913b9999bdbabfb67f069eae3c0 | /Source/BattleTank/Private/TankBarrel.cpp | d5ef4119ec0f2e0eb3f9615f152d24dc04f84e85 | [] | no_license | Kytie/BattleTank | 9fded7582f8298bc3677dbeeb499d3a0fd077dfa | 7824a3facfc9a4a5985a9cd885f92baa78ea8442 | refs/heads/master | 2021-03-27T16:50:54.275374 | 2018-04-14T09:55:20 | 2018-04-14T09:55:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | // Author: James Kyte
#include "TankBarrel.h"
#include "Engine/World.h"
void UTankBarrel::Elevate(float ReletiveSpeed)
{
ReletiveSpeed = FMath::Clamp<float>(ReletiveSpeed, -1.0f, 1.0f);
auto ElevationChange = ReletiveSpeed * MaxDegreesPerSecond * GetWorld()->DeltaTimeSeconds;
auto RawNewElevation = RelativeRotati... | [
"james_kyte_36@hotmail.com"
] | james_kyte_36@hotmail.com |
96146ffbd708be13cba93824416e75496e6ec55c | 39adfee7b03a59c40f0b2cca7a3b5d2381936207 | /codeforces/668/A.cpp | 42bab0f00e9e36415a5d7c3515f275b4bc25aaf2 | [] | no_license | ngthanhtrung23/CompetitiveProgramming | c4dee269c320c972482d5f56d3808a43356821ca | 642346c18569df76024bfb0678142e513d48d514 | refs/heads/master | 2023-07-06T05:46:25.038205 | 2023-06-24T14:18:48 | 2023-06-24T14:18:48 | 179,512,787 | 78 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 1,928 | cpp | #include <bits/stdc++.h>
#define int long long
#define FOR(i,a,b) for(int i=(a),_b=(b); i<=_b; ++i)
#define FORD(i,a,b) for(int i=(a),_b=(b); i>=_b; --i)
#define REP(i,a) for(int i=0,_a=(a); i < _a; ++i)
#define DEBUG(X) { cout << #X << " = " << (X) << endl; }
#define PR(A,n) { cout << #A << " = "; FOR(_,1,n) ... | [
"ngthanhtrung23@gmail.com"
] | ngthanhtrung23@gmail.com |
fd014f56b61a0bc904d0af29dedaa953583be985 | 281e31d71e4631271a245648eb0abfc08ba07847 | /src/collision/gimpact/ConvexDecomposition/raytri.cpp | 7b8a5a941711944d766645977ac544e9ad9ef0d3 | [
"BSD-3-Clause"
] | permissive | saggita/chrono | 0c9e2073a335a2e47b33a68cc9728e4594410bb1 | ab5db3a9086dc1be08435d5cc7feaf0160ebd558 | refs/heads/master | 2021-01-15T22:39:12.875062 | 2013-10-01T13:19:48 | 2013-10-01T13:19:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,810 | cpp | #include "float_math.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include "raytri.h"
/*----------------------------------------------------------------------
Copyright (c) 2004 Open Dynamics Framework Group
www.physicstools.org
All rights reserved.
R... | [
"tasora@ied.unipr.it"
] | tasora@ied.unipr.it |
6870c7ad69fd1861a99354d91cc81fd870d5c61a | 98a56361e152a7938326aaa424c9e424cb97a9d9 | /examples/nrfledrc/ledservice.h | 82cd4df93233e371db82c38a5a053535517b8bd0 | [
"MIT"
] | permissive | romixlab/ble-buddy | cbb0a6074e799da7f7c44e32c479a3b5cd98c1f7 | 45d3368967829702b320685e0e2d8d4d67c9b5cc | refs/heads/master | 2020-07-12T15:53:10.034547 | 2019-10-26T09:12:53 | 2019-10-26T09:12:53 | 204,857,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | h | #ifndef LEDSERVICE_H
#define LEDSERVICE_H
#include <QObject>
#include <QColor>
class UARTService;
class LEDService : public QObject
{
Q_OBJECT
Q_PROPERTY(bool enabled READ enabled WRITE setEnabled)
Q_PROPERTY(quint8 brightness READ brightness WRITE setBrightness)
public:
explicit LEDService(QObject *... | [
"romix.lab@gmail.com"
] | romix.lab@gmail.com |
7c53f2eefe7b44eef62ada0529d5a074c9ce676d | f3a52a8832519729d65c5c3c436db2000217703c | /Source/FSD/Public/FriendlyHealthComponent.h | d6c80fb69bab8b2501c07c9ce474870cd34a015a | [] | no_license | NicolasAubinet/virtual-rock-galactic | 50be56c6548cfd44b3187cb41e4e03847b2093e7 | e82ce900f1f88c7db0abdb1d69c2de31650ca628 | refs/heads/main | 2023-07-22T08:04:59.552029 | 2023-07-15T08:16:22 | 2023-07-15T08:16:22 | 425,605,229 | 22 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | h | #pragma once
#include "CoreMinimal.h"
#include "HealthComponent.h"
#include "FriendlyHealthComponent.generated.h"
class UParticleSystem;
UCLASS(Blueprintable, ClassGroup=Custom, meta=(BlueprintSpawnableComponent))
class UFriendlyHealthComponent : public UHealthComponent {
GENERATED_BODY()
public:
protected:
U... | [
"n.aubinet@gmail.com"
] | n.aubinet@gmail.com |
5bf6cc7692f205f036e6fd5954a352b905e9c756 | dc1003ed0cb7e87ffff7c4f4f8f3b102f14b37d2 | /common/include/Controllers/FootSwingTrajectory.h | 584d4be49f26da877e7c4d1ebedaaf804b6b5fd5 | [
"MIT"
] | permissive | slovak194/cheetah-software-change | 4cd67376fd9d5952e6916189cb6704f12456b79f | e33ada2dc1ba6638ba82cd2801169883b6e27ef2 | refs/heads/master | 2022-12-08T11:32:18.443177 | 2020-09-07T11:43:48 | 2020-09-07T11:43:48 | 295,845,799 | 23 | 7 | MIT | 2020-09-15T20:48:22 | 2020-09-15T20:48:21 | null | UTF-8 | C++ | false | false | 1,744 | h | /*!
* @file FootSwingTrajectory.h
* @brief Utility to generate foot swing trajectories.
*
* Currently uses Bezier curves like Cheetah 3 does
*/
#ifndef CHEETAH_SOFTWARE_FOOTSWINGTRAJECTORY_H
#define CHEETAH_SOFTWARE_FOOTSWINGTRAJECTORY_H
#include "cppTypes.h"
/*!
* A foot swing trajectory for a single foot
*/... | [
"18813176186@163.com"
] | 18813176186@163.com |
3db4b3fca307b5150c7fd0483558ee168576cdcc | 9daef1f90f0d8d9a7d6a02860d7f44912d9c6190 | /Leetcode/review/dp/646_maximum_length_of_pair_chain.cpp | c3824956a05a8055dc5cc9e625671c822f218523 | [] | no_license | gogokigen/Cpp17-DataStructure-and-Algorithm | b3a149fe3cb2a2a96f8a013f1fe32407a80f3cb8 | 5261178e17dce6c67edf436bfa3c0add0c5eb371 | refs/heads/master | 2023-08-06T10:27:58.347674 | 2021-02-04T13:27:37 | 2021-02-04T13:27:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,326 | cpp | /*******************************************************************
* https://leetcode.com/problems/maximum-length-of-pair-chain/
* Medium
*
* Conception:
* 1.
*
* You are given n pairs of numbers. In every pair,
* the first number is always smaller than the second number.
*
* Now, we define a pair (c, d) can foll... | [
"zanna.wang.tw@gmail.com"
] | zanna.wang.tw@gmail.com |
9b3690458153aef5e97c75e82c517c94a0aa56d2 | f8d325ed193f3086f37ed45da7d081ac0e33b5a4 | /uva/solved/11100.cpp | ae365a522ade3fdedccdcf23bbe27ee31b50c25a | [] | no_license | ACM-UCI/Summer-2018-Practice | e790d3bf03ffae050bc603024ef764621b84c2c1 | 70ca032fd7937cc52da38bb4ab2507e12864ea3b | refs/heads/master | 2020-03-23T13:10:50.324456 | 2018-09-19T17:06:55 | 2018-09-19T17:06:55 | 141,604,047 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,599 | cpp | // Based on (copied) from
// github.com/lamphanviet/competitive-programming/uva-online-judge/accepted-solutions/11100
// - The Trip - 2007.cpp
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
scanf("%d\n", &n);
while (n > 0) {
// Make initial list of bags.
vector<int> bags;
for (int... | [
"bryon.tjanaka@gmail.com"
] | bryon.tjanaka@gmail.com |
38d94c6c9b37241ce55acbf1eec041b6a93443bb | 955cc7d73cd565794589925b2a3ecf56f54ecce3 | /Visual-Studio 2010 Project/imgui/imgui/imgui_dll_helpers.cpp | 0d80ac8bf6c036f670afaa827a5d8665a795c351 | [] | no_license | txesmi/imgui-Lite-C-integration | 6358a3a879766af25a1d8b6f667c1f733414987f | dcc55a097c96b876735a8543161ee6a61b8dee1f | refs/heads/master | 2020-08-06T06:07:41.725295 | 2020-01-24T09:29:30 | 2020-01-24T09:29:30 | 212,864,582 | 1 | 0 | null | 2019-10-04T17:04:04 | 2019-10-04T17:04:04 | null | UTF-8 | C++ | false | false | 15,453 | cpp | #include "dllmain.h"
#include <experimental/filesystem>
#include <filesystem>
#include <Shlobj.h>
#include <Knownfolders.h>
#include <comdef.h>
#include <string>
namespace fs = std::experimental::filesystem;
namespace imgui_helpers {
typedef wchar_t unicode;
typedef char utf8;
#define UTF8_MAX_PATH ... | [
"txesmi@gmail.com"
] | txesmi@gmail.com |
d14f5ed82015eba3c5f5c32042da0b71dac430a7 | 567fa76f0d78b96df9cdaa917dab0138d25d0ee2 | /drawingBoard4/switchpatienttablemodel.h | 5d6a58812ba97939e29714bf4f18413550787ceb | [] | no_license | henzerrElektron/DrawingBoard | 59354666601ae1729919bdee6cf6cd451dea81d3 | 305f3db0784fe6f20c99d9993a8edf52c4a5f107 | refs/heads/master | 2020-05-27T09:31:26.561277 | 2019-07-23T12:58:01 | 2019-07-23T12:58:01 | 188,566,684 | 0 | 0 | null | 2020-01-10T11:40:46 | 2019-05-25T12:59:17 | QML | UTF-8 | C++ | false | false | 2,428 | h | #ifndef SWITCHPATIENTTABLEMODEL_H
#define SWITCHPATIENTTABLEMODEL_H
#include <QObject>
#include <QDate>
#include <QAbstractListModel>
#include <QAbstractTableModel>
class ExistingPatients{
public:
QVariant firstName() const;
void setFirstName(const QVariant &firstName);
QVariant secName() const;
void s... | [
"henzerr.manatheykad@elektroneyetechnology.com"
] | henzerr.manatheykad@elektroneyetechnology.com |
34494f14d326753043d4d468675bb64ffa1ef418 | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /leetcode/1-1000/223-rectangle-area.cpp | a34437cffd7422fe494cdf20ec88f9b2273baff8 | [
"Apache-2.0"
] | permissive | tangjz/acm-icpc | 45764d717611d545976309f10bebf79c81182b57 | f1f3f15f7ed12c0ece39ad0dd044bfe35df9136d | refs/heads/master | 2023-04-07T10:23:07.075717 | 2022-12-24T15:30:19 | 2022-12-26T06:22:53 | 13,367,317 | 53 | 20 | Apache-2.0 | 2022-12-26T06:22:54 | 2013-10-06T18:57:09 | C++ | UTF-8 | C++ | false | false | 301 | cpp | class Solution {
public:
int computeArea(int ax1, int ay1, int ax2, int ay2, int bx1, int by1, int bx2, int by2) {
int com = max(min(ax2, bx2) - max(ax1, bx1), 0) * max(min(ay2, by2) - max(ay1, by1), 0);
return (ax2 - ax1) * (ay2 - ay1) + (bx2 - bx1) * (by2 - by1) - com;
}
};
| [
"t251346744@gmail.com"
] | t251346744@gmail.com |
46a6f08b8ba16cf59ab844c539152d5a8fd822c1 | a42aef479b05d4b73302e650100462e91d8c200b | /include/whereami/whereami++.cpp | de66acdcb00ce910dd83432d6ce6c44c4477d458 | [
"MIT"
] | permissive | Stepland/jujube | fa3e720fcda03bd87e46eab5e374a36639aa84d1 | bdeb91bc896624d94b52f6f269a6f25e538b6d4c | refs/heads/master | 2022-11-30T01:22:20.158565 | 2021-12-22T11:45:27 | 2021-12-22T11:45:27 | 215,361,972 | 25 | 6 | MIT | 2022-11-22T08:50:18 | 2019-10-15T17:51:12 | C++ | UTF-8 | C++ | false | false | 2,810 | cpp | // The MIT License (MIT)
// Copyright (c) 2016 nabijaczleweli
// 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... | [
"16676308+Stepland@users.noreply.github.com"
] | 16676308+Stepland@users.noreply.github.com |
899d728eef25426d41ca7f2f3e9344c197032171 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /android_webview/native/permission/aw_permission_request.h | be1965dd8a4e8874a6dafd94b9f88150dae54d9f | [
"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 | 3,067 | 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 ANDROID_WEBVIEW_NATIVE_PERMISSION_AW_PERMISSION_REQUEST_H
#define ANDROID_WEBVIEW_NATIVE_PERMISSION_AW_PERMISSION_REQUEST_H
#include <stdi... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
66486a31b8792a2fb66a12b0c656b2adc0d0d8af | 894adb441a240988fad46a7a2c90316916884f13 | /TopologicalSort/TopologicalSort/Test_TopologicalSort.cpp | 37b21bec6f4e73364ab865067aac0d69cbddb7e2 | [] | no_license | iamgyu/DataStructure-Algorithm | 1b158d25dd5c8f7d1c3572619a831df0208a81c1 | 35e4725239652c0d7b924f8bbc0dc87bec7cd075 | refs/heads/master | 2021-01-18T21:07:30.971602 | 2016-11-16T11:28:29 | 2016-11-16T11:28:29 | 69,217,081 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 1,370 | cpp | #include "TopologicalSort.h"
#include "Graph.h"
int main()
{
Node* SortedList = NULL;
Node* CurrentNode = NULL;
// 그래프 생성
Graph* graph = CreateGraph();
// 정점 생성
Vertex* A = CreateVertex('A');
Vertex* B = CreateVertex('B');
Vertex* C = CreateVertex('C');
Vertex* D = CreateVertex('D');
Vertex* E = CreateVert... | [
"iamgyu@naver.com"
] | iamgyu@naver.com |
b4283eba3f673f29f9161128a893cb738d71baf1 | ef187d259d33e97c7b9ed07dfbf065cec3e41f59 | /work/atcoder/abc/abc073/A/answers/576263_kotamanegi.cpp | 61069f94a10165ee466822de46bb04b645cbc023 | [] | no_license | kjnh10/pcw | 847f7295ea3174490485ffe14ce4cdea0931c032 | 8f677701bce15517fb9362cc5b596644da62dca8 | refs/heads/master | 2020-03-18T09:54:23.442772 | 2018-07-19T00:26:09 | 2018-07-19T00:26:09 | 134,586,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <algorithm>
#include <utility>
#include <functional>
#include <cstring>
#include <queue>
#include <stack>
#include <math.h>
#include <iterator>
#include <vector>
#include <string>
#include <set>
#include <math.h>
#include <iostream>
#include <random>
#include... | [
"kojinho10@gmail.com"
] | kojinho10@gmail.com |
7d872303abacb0745ca695d8b988d4fddcc0cd59 | 4232a8fe282df76d500d0ba0aa9d6acf8d3c3169 | /.vim/tags/cpp_src/bits/stl_algobase.h | 66c1f83108a0f531c28d7e0c4fee89e95e85a8e4 | [] | no_license | umbraclet16/MyLinuxConfig | cdb5f53ee7d8c89767dbce1ae2237e4cad5e875d | 24955a7bfda0f946fbd9d4969fafe052d1593d0f | refs/heads/master | 2021-01-12T12:41:25.224742 | 2017-10-26T05:54:10 | 2017-10-26T05:54:10 | 69,091,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,371 | h | // Core algorithmic facilities -*- C++ -*-
// Copyright (C) 2001-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 ... | [
"448101470@qq.com"
] | 448101470@qq.com |
03a6df2b40a1a8df990b93c5ea0ed30faec8b247 | 78a317f68f6255b83c40203ea25a9396c67d5da9 | /Cpp/tutorial/day18.cpp | 1a34e3579184e675d281b572bb6022f0615e4a48 | [] | no_license | daleonpz/misc | a6825ed1629e0925011bbb101fa46f0c034697d7 | 751789969327ec3de520584032a92ac7c0454994 | refs/heads/master | 2023-09-06T07:13:23.249744 | 2023-08-29T17:54:19 | 2023-08-29T17:54:19 | 58,094,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,532 | cpp | #include <iostream>
using namespace std;
class Solution {
//Write your code here
private:
string stack;
string queue;
public:
void pushCharacter(char ch);
void enqueueCharacter(char ch) ;
char popCharacter() ;
char dequeueCharacter() ;
};
void Solution::pushCharacter(char ch) {
stack += ch;
}
... | [
"daleonpz@gmail.com"
] | daleonpz@gmail.com |
6508fafcda29d556844e9139c201139735cfec17 | bc97aeba55fbc4ced6acc04ee81bca879b617019 | /Main.cpp | debb06a3fb56fca3a524ac4b4660d0d4a1238c3c | [] | no_license | juanCM/Juego-de-la-vida | 4ebd480a72db1ad6385326182485f5cf96f00f46 | 31bcef8931be04722457e0bc0def85f1a71862f9 | refs/heads/master | 2020-05-27T07:54:24.416968 | 2015-01-31T01:04:07 | 2015-01-31T01:04:07 | 30,097,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,177 | cpp | #include <iostream>
#include <conio.h>
#include <stdio.h>
#include <windows.h>
#include <dos.h>
#include <stdlib.h>
#include <time.h>
using namespace std;
//lo mas importante, el tablero y las coordenadas
int tablero [50][50];
int x;int y;
//para numeros aleatorios
int rdtsc()
{
__asm__ __volatile__("rdtsc");... | [
"juan98.cm@gmail.com"
] | juan98.cm@gmail.com |
64773278fdebfb4f4e2f64b1478a7131b6fe3503 | 373cf382792364e4970125e87b39b130778f1713 | /ModelHelper.h | 5d83a4cef5de125d9c0a7d2b96e64e143c97c24c | [] | no_license | IdeasStorm/QuickSFML | 1988a3f325643f59a1b94ea440db87955b2068df | 723896b0f6990736aaeb64984d5ee1c4ce37b80c | refs/heads/master | 2021-01-19T22:33:04.603367 | 2013-11-14T18:23:58 | 2013-11-14T18:23:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,785 | h | /*
* File: ModelHelper.h
* Author: adn
*
* Created on May 6, 2012, 11:00 PM
*/
#ifndef MODELHELPER_H
#define MODELHELPER_H
#include <fstream>
//to map image filenames to textureIds
#include <string.h>
#include <map>
#include <iostream>
// assimp include files. These three are usually needed.
#define ... | [
"adnan.khabbaz@gmail.com"
] | adnan.khabbaz@gmail.com |
0468a19b4ac06fd63a5a930495d73b0a30973f40 | d0997d1afce7774b70115fe2831cee9c1413af19 | /hardware/qcom/display-caf/apq8084/libhwcomposer/hwc_ad.cpp | e554407955d0f736b0cd138e0c89c0b5c072217b | [] | no_license | BlenderCN-Org/androidrepo1 | 7643de33dbec04d30376e5c2fce7365ec14e38ee | 89f7f60bdcbc3a57f7178f7cda9964fd68d8adb3 | refs/heads/master | 2020-05-30T11:37:30.749795 | 2019-02-06T15:03:19 | 2019-02-06T15:03:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,535 | cpp | /*
* Copyright (c) 2013-2014 The Linux Foundation. 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... | [
"kannan.npt@gmail.com"
] | kannan.npt@gmail.com |
744ce758e6b5f747b00250026ece2535d9535001 | a7e0c5643a023701e68ef78eb93837bddddd17aa | /src/leveldb/util/crc32c_test.cc | 46c97c4f918282cc4c9fbc79f201a31ce6e559e1 | [
"BSD-3-Clause",
"MIT"
] | permissive | ericeos/cupcoin | cacf6ee26d01202f857c3230cdbebc635b0d7cd1 | d20326dc3bffd83e374a245065a0b108958ba93b | refs/heads/master | 2021-05-08T16:06:01.763918 | 2018-02-04T00:01:46 | 2018-02-04T00:01:46 | 120,122,641 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,748 | cc | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "util/crc32c.h"
#include "util/testharness.h"
namespace leveldb {
namespace crc32c {
class C... | [
"35425402+ericeos@users.noreply.github.com"
] | 35425402+ericeos@users.noreply.github.com |
a547ad8fa24379b5b908fd868e7e0ff5914e79c6 | 60df7ef27dec8dc1e6bceafbbda7df0c3180df37 | /Vector2/Vector2.h | f3dccf50d92a790cb4956c0b2a6c20edbe6853e7 | [] | no_license | MXMSHKT/Sem-4 | 5bf77e8d9db2e0d668ded3cef6b0b11a7a8cf060 | d6098aead9a7d09cdbd3455449b4b3366b291409 | refs/heads/master | 2021-01-06T16:48:15.170317 | 2020-03-12T23:18:27 | 2020-03-12T23:18:27 | 241,404,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,275 | h | #pragma once
#include <vector>
#include <iostream>
#include <cmath>
using namespace std;
class vector2 {
public:
explicit vector2(float x_ = 0, float y_ = 0) : x(x_), y(y_) {}
float x_() const { return x; }
float y_() const { return y; }
void assign(float x_, float y_) {
x = x_;
y... | [
"noreply@github.com"
] | noreply@github.com |
81e6b78dbd98044115a81dc93a963961f200ae23 | 0981b963c63f4aa673e99c668f5c8c8d51de89c4 | /910.cpp | 6d82e5f541ff8720fbf6a10c178e453b7482feda | [
"MIT"
] | permissive | felikjunvianto/kfile-uvaoj-submissions | f21fa85463d6f1bde317c513d670139cfddb9483 | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | refs/heads/master | 2021-01-12T15:57:58.583203 | 2016-10-06T18:12:35 | 2016-10-06T18:12:35 | 70,179,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,149 | cpp | #include <cstdio>
#include <cmath>
#include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
#include <vector>
#include <utility>
#include <stack>
#include <queue>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define pi acos(-1.0)
#define eps 1e-9
... | [
"felikjunvianto@yahoo.co.id"
] | felikjunvianto@yahoo.co.id |
6a856e76d4d3612343f867810d66b4583d0b9813 | dc6034f7ed28053414b45c79d993b7a47348aac3 | /OccludedLibrary/scene/objects/camera.h | 6a548009377df017cc77cc4e06d7473ebd21ba45 | [
"BSD-3-Clause"
] | permissive | PMurph/OccludedLibrary | 0e23cf4699a6e2a4b5458ac7d9b37bcd184f7ee9 | 28251a6f1cc8ed7f350be9961aa5ef3f7ffd688d | refs/heads/master | 2020-05-17T14:31:03.284261 | 2014-08-28T02:13:35 | 2014-08-28T02:13:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,671 | h | #pragma once
#include <glm/glm.hpp>
#include "../nodes/transformation.h"
namespace occluded { namespace scene { namespace objects {
/**
* \class camera
* \brief An abstract class that contains all the methods other camera sub classes must implement.
*
* An abstract class that contains all the methods other came... | [
"murph.pm@gmail.com"
] | murph.pm@gmail.com |
4eac8eea98f8c7b617936cd54e846c45d1184d79 | c307f9f842f223f23b308203aaf4518eaef0f8c2 | /SingaporeSkiingTest/unittest1.cpp | 612489d3c1dadfde068c74a7deaec8b93e58c5a3 | [] | no_license | ajayndelhi/SingaporeSkiing | ff0ac58d230b9fa163159ab164fe52f84af67a2b | 79ded5350f8fe92ad2b22378d55b464eb8a59ee7 | refs/heads/master | 2020-12-24T05:38:44.967769 | 2016-08-05T12:35:01 | 2016-08-05T12:35:01 | 64,932,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,873 | cpp | #include "stdafx.h"
#include "CppUnitTest.h"
#include "SkiHelper.h"
#include "SkiResort.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
#define SIMPLEDATAFILE "C:\\TestProjects\\SingaporeSkiing\\SmallTestData.txt"
#define LARGEDATAFILE "C:\\TestProjects\\SingaporeSkiing\\LargeTestData.txt"
namespac... | [
"ajayag@live.com"
] | ajayag@live.com |
f42e7605a4e0790419f4157a9a9fd840e26aac8a | be31580024b7fb89884cfc9f7e8b8c4f5af67cfa | /CTDL1/New folder/VC/VCWizards/AppWiz/MFC/Application/templates/1033/cntritem.h | 61ef83d6c3483f523c482eea1645930cf5d15ad1 | [] | no_license | Dat0309/CTDL-GT1 | eebb73a24bd4fecf0ddb8428805017e88e4ad9da | 8b5a7ed4f98e5d553bf3c284cd165ae2bd7c5dcc | refs/heads/main | 2023-06-09T23:04:49.994095 | 2021-06-23T03:34:47 | 2021-06-23T03:34:47 | 379,462,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,432 | h | [!if RIBBON_TOOLBAR]
// This MFC Samples source code demonstrates using MFC Microsoft Office Fluent User Interface
// (the "Fluent UI") and is provided only as referential material to supplement the
// Microsoft Foundation Classes Reference and related electronic documentation
// included with the MFC C++ library so... | [
"71766267+Dat0309@users.noreply.github.com"
] | 71766267+Dat0309@users.noreply.github.com |
080ca59a9de93c01c2fb7d79a43e35c3fdba27c8 | ed7c5d6de4958f8472a3baebc827ff5cb2d45ba0 | /Debug the App/Library/Il2cppBuildCache/WebGL/il2cppOutput/Il2CppInvokerTable.cpp | b3eafa3949a0fb3aa31af5ea1a80eae5012cceae | [] | no_license | jexpop/Unity_Learning | a50b0f64902d40c1de358ba0ed5dd802107dbc62 | ccfb25548969b90bbe0e412289c029cc682bfd88 | refs/heads/main | 2023-09-06T08:54:27.654812 | 2021-10-30T14:06:56 | 2021-10-30T14:06:56 | 400,890,864 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449,940 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
// System.Action`1<System.Object>
struct Action_1_tD9663D9715FAA4E62035CFCF1AD4D094EE7872DC;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Object>
struct Dictionar... | [
"jexpouoc@gmail.com"
] | jexpouoc@gmail.com |
8fdf887223efb89b779c4b7a02add41b67beba12 | 6fe61020ca86ce1e2783f3051408c8e6863945a1 | /node_modules/opencv-build/opencv/build/modules/core/sum.simd_declarations.hpp | bb2a828edd06ee9beefe7a98dcd4cb23e6213c96 | [
"BSD-3-Clause"
] | permissive | Cliffton86/facial-payment-app | d6b5de492c47f139e3f993db29b13fbca066a75a | 134e4a7c88e21c4f812f669a02d5844500a54098 | refs/heads/master | 2022-12-21T02:16:33.991379 | 2020-03-14T10:32:23 | 2020-03-14T10:32:23 | 247,254,226 | 0 | 0 | null | 2022-12-12T05:18:17 | 2020-03-14T10:17:42 | HTML | UTF-8 | C++ | false | false | 409 | hpp | #define CV_CPU_SIMD_FILENAME "C:/opencvcliff2/node_modules/opencv-build/opencv/opencv/modules/core/src/sum.simd.hpp"
#define CV_CPU_DISPATCH_MODE SSE2
#include "opencv2/core/private/cv_cpu_include_simd_declarations.hpp"
#define CV_CPU_DISPATCH_MODE AVX2
#include "opencv2/core/private/cv_cpu_include_simd_declarations.h... | [
"Cliff_ton@hotmail.com"
] | Cliff_ton@hotmail.com |
7e46e0e2ef8c9885c827d21b633648ff5b494eb5 | 9616d3365354244639a3acc4a1111d6c093dcecf | /FEM/fem_basis_functions.h | 355ffba3f3adf6a0f5352fd566bffbdcd21e13b6 | [] | no_license | 6oyar/conv-dif | 1b085a45995ee472e4b68a49b20a646cf246b1b5 | ee99a33708e54f00b07b0f87517f302c909b9924 | refs/heads/master | 2021-01-20T06:05:41.440405 | 2017-08-26T12:33:12 | 2017-08-26T12:33:12 | 101,473,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,313 | h | #ifndef _KRF_FEMBASIS_FUNCTIONSDEFS_H_
#define _KRF_FEMBASIS_FUNCTIONSDEFS_H_
#include "noexcept_hack.h"
namespace FEM{
namespace BaseElement{
// 1D elements
//! First basis function of 1D linear FEM element
double l1D_1(double x) noexcept;
//! Second basis function of 1D linear FEM element
double l1D_2(do... | [
"boris@DESKTOP-6U5PPCA"
] | boris@DESKTOP-6U5PPCA |
d1e2f3959ebe9e8c177eff0e480dd141ecbb0480 | ceb8052e2cbbff6ed176e7682aa39ff185217260 | /src/header/cmd.h | 262a04269fc89f653210e08282737e5a19839f34 | [] | no_license | spure02/rshell | db953d75c0c43084b3f296066858d251f2f557b2 | a94f87fb53c0550a0070260cc222d55d1205d051 | refs/heads/master | 2022-11-15T09:04:59.953435 | 2020-07-20T23:32:59 | 2020-07-20T23:32:59 | 281,238,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | h | #ifndef CMD_H
#define CMD_H
#include "Base.h"
#include <cstring>
#include <iostream>
#include <stdio.h>
#include <string>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <vector>
class Parser;
class Cmd : public Base {
protected:
std::vector<std::string> argVec;
bool su... | [
"noreply@github.com"
] | noreply@github.com |
6f020d54ea1816227efe04dc877406fd30cdd747 | 2111c552355a578e7c2f125a7226453df7d095be | /kClistMatrix.cpp | f5546ba8f3aaa53c642a1a1b61a15b052bfc180d | [] | no_license | CaitlinKennedy/k-clique-matrix | ede2d58b1f3e2751cbacbc8316f0d71b5f380b3e | 3dd17ed053e3bb4ca87de7134f8f88044558725d | refs/heads/master | 2020-03-16T04:41:09.082713 | 2018-06-02T15:52:01 | 2018-06-02T15:52:01 | 132,516,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,890 | cpp | /*
Info:
Feel free to use these lines as you wish.
This program iterates over all k-cliques. It is highly scallable.
To compile:
"gcc kClistDens.c -O9 -o kClistDens -fopenmp".
To execute:
"./kClistDens p k edgelist.txt".
"edgelist.txt" should contain the graph: one edge on each line separated by a space.
k is the siz... | [
"kenned67@purdue.edu"
] | kenned67@purdue.edu |
538ce16ccaf2215642bcc471609a7f156e631274 | 0ae41b99a1f4afc0932cf0d3cfe7b8cf288f57e6 | /src/instantx.cpp | ee8c6e72f2d41a2006460a4ea1fde0278a61c636 | [
"MIT"
] | permissive | Sivonja8/ruxcryptoRXC | bdc6c94349774fd6c24a40eabedfb1646ad28aa2 | 4921ee3b3b4a8b1d2d71c7bd19f1a9a3635e4075 | refs/heads/master | 2023-07-05T13:50:33.832602 | 2021-07-06T15:29:07 | 2021-07-06T15:29:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,618 | cpp | // Copyright (c) 2014-2019 The Dash Core developers
// Copyright (c) 2020 The RuxCrypto Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "activemasternode.h"
#include "init.h"
#include "instantx.h"
#i... | [
"nsmajic@gmail.com"
] | nsmajic@gmail.com |
e32f104118ccf6c1f1751f80f87840711ab3c3dc | e62413fc3cd1b7cdba4702d46bb319faaa29eb87 | /kernel/include/Disk/PageCache.h | 5436ad40103708c90ebe23e8f9566ca7498c4249 | [] | no_license | poodlenoodle42/ToUserlandAndEvenFurther | 9d75c5e7c6d58351895aa758e51832f90faafa50 | 411717840ed6ffbc236d13faacb9d05cc64fb1a3 | refs/heads/main | 2023-07-01T20:56:41.042191 | 2021-08-04T15:45:31 | 2021-08-04T15:45:31 | 337,816,429 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | h | #pragma once
namespace Disk
{
class PageCache {
public:
PageCache()
};
}
| [
"katt.calvin@gmail.com"
] | katt.calvin@gmail.com |
b9754d0ccb7d4b5c8d1ac9419430c215441e5ca4 | 6fd92c6dc03fe65ad16888a034fe41435b04a46c | /include/ee2/WxCompShapePanel.h | c6f582b5a5a56fbe7b82508d47ef9e18b79eeef3 | [
"MIT"
] | permissive | xzrunner/easyeditor2 | 554e6d17c59d5a7f52d495ec7fcb4379d31035ac | 7b399e7b6571c93d3193d9ed6e47b5d4a946c036 | refs/heads/master | 2021-05-04T02:58:13.900282 | 2020-04-29T01:19:40 | 2020-04-29T01:19:40 | 120,369,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | h | #pragma once
#include <ee0/WxCompPanel.h>
namespace n2 { class CompShape; }
class wxTextCtrl;
namespace ee2
{
class WxCompShapePanel : public ee0::WxCompPanel
{
public:
WxCompShapePanel(wxWindow* parent, n2::CompShape& cshape);
virtual void RefreshNodeComp() override;
private:
void InitLayout();
private:
n2... | [
"zhuguang@ejoy.com"
] | zhuguang@ejoy.com |
134338af0f63b49b4d87523c90dbda494af81be5 | 89ca6d211afb75bdd412383cee4a764e49f85b31 | /Iniciante/1048/C++/main.cpp | d648a2fe32d1c9c1dbfff1db32d7258a27800823 | [] | no_license | salomaoluiz/UriOnlineJudge | 6f45de23bbbcc1bf173504402fbcceaaa7d707c4 | 6a1b6b5a12f5ac7f3871fea009a11c3d874f2b1c | refs/heads/master | 2020-04-17T04:35:40.479410 | 2019-04-04T01:21:19 | 2019-04-04T01:21:19 | 166,236,321 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | cpp | #include <iostream>
using namespace std;
int main ()
{
//Define Variaveis
double salario, ajuste;
int percentil;
cin >> salario;
//Realiza Calculo
if(salario >= 0 && salario <=400)
{
percentil = 15;
}
else if(salario > 400 && salario <= 800)
{
percentil = 12;
... | [
"salomao.luiz.28@gmail.com"
] | salomao.luiz.28@gmail.com |
32795664e1a72713a7a65a80fca28bc959972fc0 | b858a7c15a869924559edd31f0dc2473324a86f8 | /AlgoParcour/PreGraph.cpp | 74c5958162d2e78923d9a33b0817d89149f0a63a | [] | no_license | Rileyi/GlobalLearning | 2e5dfebbd4975a4455d7d82086e7b90dc387ef7a | 8f1e29c39aacd2a698784493215079cdf6ba7393 | refs/heads/master | 2021-05-03T20:13:36.504539 | 2017-02-03T07:59:23 | 2017-02-03T07:59:23 | 47,284,883 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,415 | cpp | #include "PreGraph.h"
using namespace std;
PreGraph::PreGraph(map<const Module*, int>& modules) :
m_contenu(new ModuleGE(new Module("depart")))
{
ModuleGE* currentNode = m_contenu;
for(map<const Module*, int>::iterator it = modules.begin();
it != modules.end(); ++it)
{
while(--(it->sec... | [
"alexandre.bellanger12@gmail.com"
] | alexandre.bellanger12@gmail.com |
0a16fd1b456a0b001a4f876e0793062d98fd2f91 | a90a6b63743aa0ee9a06c70f915978e8ed718606 | /labs/lab10/pipeline_tbb.cpp | 5b0314c26495d5321b16bc53db30fd2d77f9373e | [] | no_license | juston-li/CIS410ParallelComputing | 4baba559cdff65df0936d77351a8d3664bf75c7f | bb00d233677dd6383c8e99b77a4907b44d6a6166 | refs/heads/master | 2020-12-12T21:00:38.083842 | 2014-05-13T21:19:26 | 2014-05-13T21:19:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,732 | cpp | #include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <iostream>
#include <string>
#include <tbb/tbb.h>
#include "tbb/pipeline.h"
using namespace cv;
//----Method Declarations
static void ungarbleVideo(char**,int);
//----END Method Declarations
/**-----------------------------------... | [
"juston.h.li@gmail.com"
] | juston.h.li@gmail.com |
88fc613b78a7b4457a5bce49942e6917a59f491c | 8b6b55e746b63bd14642d409b3e9fd0b53693f16 | /pyramid 7.cpp | e3568d529788bfbf8d228e01a123035b7de17d80 | [] | no_license | shabbyheart/Ashraf_ul_Asad-s-Beginning-Recursion-Book-s-Code | e8222e2b817b4115b92c102e0b4e9d454a2b2b74 | c9121b5c1355bd00b3efa7fcf4b9aa3e919be4bb | refs/heads/master | 2020-06-26T00:22:38.933286 | 2019-07-30T06:16:15 | 2019-07-30T06:16:15 | 199,467,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | /*
0
1 0
0 1 0
1 0 1 0
0 1 0 1 0
*/
#include<bits/stdc++.h>
using namespace std;
int n;
void iteration()
{
int i,j;
for( i = 1; i <= n; i++)
{
for( j = 1; j <= i; j++)
{
cout<<(i+j)%2<<" ";
}
cout<<endl;
}
}
void recursion2(int i, int ... | [
"noreply@github.com"
] | noreply@github.com |
80726ac45a507a4d09c98ae581b3887c0775329c | 89cf7930fc4d4e448afbec07fa226967bcea1b01 | /ThirdParty/BSL430_DLL/BSL430_DLL/Connections/MSPBSL_Connection5xxUART.cpp | ce94fcfc4ff7950f879960550a7ac7d5957eeedb | [] | no_license | jck/mspds | 4b384de769a0fbd6e8cd16207e72b9b9fb67cfd3 | d8d099e7274db434475f99723bb2d234f2ff6dfb | refs/heads/master | 2020-03-30T03:08:17.944317 | 2015-01-15T06:29:33 | 2015-01-15T06:29:33 | 29,283,923 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,810 | cpp | /*
* MSPBSL_Connection5xxUART
*
* A subclass to add UART specific connection functions
*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
... | [
"jckeerthan@gmail.com"
] | jckeerthan@gmail.com |
9ae266ebb900294f5003de6a7cd634afbeb4a5c7 | 86e03a832a68ee14b13b321bd1690fd29a433b60 | /Utils.h | 70bae8bef7043b0fb5369503bd3c51b3f1fe99da | [
"Unlicense"
] | permissive | drem1lin/FindFrequestWords | bf0008bb9af4eb3053176c3c7367a2bdbd52bb50 | 99f7a8a318da52770b3683f73286476994267c1e | refs/heads/main | 2022-12-27T03:41:54.748758 | 2020-10-17T12:21:11 | 2020-10-17T12:21:11 | 304,869,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 913 | h | // This is a personal academic project.Dear PVS - Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
#pragma once
namespace CharUtils
{
using skipCryteria = bool(*)(const char c);
char const* const Skip(char const* const str, const size_t strLength, size_t&... | [
"drem1lin@gmail.com"
] | drem1lin@gmail.com |
428dffac5a54e5327784fb6675eb79a9cfa2f59f | 69f678ed964612c30eb00f562c32c71e2823e2e3 | /cc/modules/objdetect/HOGDescriptor.h | fc3e9ae25e28081ed3d3a82c005fda65126c0eb0 | [
"MIT"
] | permissive | SeesePlusPlus/opencv4nodejs | fe150dbef2fcde934ad6614f723c4495319f0769 | 2f22767d13c3d710a9e798e8a7716d03a5af1a0e | refs/heads/master | 2023-05-11T08:57:16.527032 | 2019-04-20T20:32:43 | 2019-04-20T20:32:43 | 182,438,675 | 0 | 0 | MIT | 2023-04-30T22:51:54 | 2019-04-20T18:02:35 | C++ | UTF-8 | C++ | false | false | 2,500 | h | #include "macros.h"
#include <opencv2/core.hpp>
#include <opencv2/objdetect.hpp>
#include "Size.h"
#include "Mat.h"
#include "Rect.h"
#include "Point.h"
#include "DetectionROI.h"
#include "CatchCvExceptionWorker.h"
#ifndef __FF_HOGDESCRIPTOR_H__
#define __FF_HOGDESCRIPTOR_H__
class HOGDescriptor : public Nan::ObjectW... | [
"muehler.v@gmail.com"
] | muehler.v@gmail.com |
016e9577a5a3472793b9a5b615f099858d2ca8ed | b7eab1bc2c0ffd9d6689df9d803db375326baf56 | /camerapostalgo/utils/test/Main.cpp | bf8cf0b3707fef94c67de5e0c3d9728f1fb493d3 | [] | no_license | cc-china/MTK_AS_Camera2 | 8e687aa319db7009faee103496a79bd60ffdadec | 9b3b73174047f0ea8d2f7860813c0a72f37a2d7a | refs/heads/master | 2022-03-09T08:21:11.948397 | 2019-11-14T09:37:30 | 2019-11-14T09:37:30 | 221,654,668 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,366 | cpp | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... | [
"com_caoyun@163.com"
] | com_caoyun@163.com |
6e5b19d3a57e6f8a2a350461d9d92de6388c3457 | 775acebaa6559bb12365c930330a62365afb0d98 | /source/public/includes/LibraryAssetID.h | dac8630749dfbf04f0b63edcc7dcf93eef6fcd0e | [] | no_license | Al-ain-Developers/indesing_plugin | 3d22c32d3d547fa3a4b1fc469498de57643e9ee3 | 36a09796b390e28afea25456b5d61597b20de850 | refs/heads/main | 2023-08-14T13:34:47.867890 | 2021-10-05T07:57:35 | 2021-10-05T07:57:35 | 339,970,603 | 1 | 1 | null | 2021-10-05T07:57:36 | 2021-02-18T07:33:40 | C++ | UTF-8 | C++ | false | false | 1,691 | h | //========================================================================================
//
// $File: //depot/devtech/16.0.x/plugin/source/public/includes/LibraryAssetID.h $
//
// Owner: Tim Gogolin
//
// $Author: pmbuilder $
//
// $DateTime: 2020/11/06 13:08:29 $
//
// $Revision: #2 $
//
// $Change... | [
"75730278+Tarekhesham10@users.noreply.github.com"
] | 75730278+Tarekhesham10@users.noreply.github.com |
741e0e068245df1c65c50777dc311712eedac504 | b8f72bd3b4ad1f616ad74d4c32c55b3fd2888f44 | /codeforces/1202A.cpp | f9cf5397e6b7f8a831b4f8f5dcc4c986543f6a19 | [] | no_license | OloieriAlexandru/Competitive-Programming-Training | ec0692e2860e83ca934b0ec0912722360aa8c43c | eaaa5bbc766e32c61a6eab3da38a68abb001f509 | refs/heads/master | 2020-05-29T17:50:53.841346 | 2020-04-25T15:53:08 | 2020-04-25T15:53:08 | 189,284,832 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | #include <bits/stdc++.h>
using namespace std;
string s1, s2;
int main()
{
int t;
cin>>t;
while(t--)
{
cin>>s1>>s2;
reverse(s1.begin(), s1.end());
reverse(s2.begin(), s2.end());
int a = -1, b = -1;
for (int i=0; i<s2.size(); ++i)
if (s2[i] == '1')
... | [
"aoloieri@bitdefender.com"
] | aoloieri@bitdefender.com |
8b14f071816f0deed3b2accb7dbcc29cbf2db83f | 403b15451cabca5492e3398ac4405305653df53b | /chapter12/t12.7.cpp | c977e30e01d937d6b74bd75e58472ca4b8153574 | [
"LicenseRef-scancode-mulanpsl-2.0-en",
"MulanPSL-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | xflcx1991/c_plus_plus_primer_exercise | 75172856a97126d3c91315b3bcdfa9540ef0f175 | 3904fc936c14c6959968eb6d681f3151a72ccc44 | refs/heads/master | 2021-01-14T15:35:55.490462 | 2020-03-14T01:04:57 | 2020-03-14T01:04:57 | 242,664,591 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | cpp | /*************************************************************************************
* Copyright (c) 2020 xffish
* c_plus_plus_primer_exercise is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
* http://lic... | [
"xffish@126.com"
] | xffish@126.com |
63f07bc631b24a92796d970bfd2242fcf6906003 | aade1e73011f72554e3bd7f13b6934386daf5313 | /Contest/Petrozavodsk/SaratovWinter2017/A.cpp | 7cc25504bc1a3db30c150d64b3783bec2f6a084e | [] | no_license | edisonhello/waynedisonitau123 | 3a57bc595cb6a17fc37154ed0ec246b145ab8b32 | 48658467ae94e60ef36cab51a36d784c4144b565 | refs/heads/master | 2022-09-21T04:24:11.154204 | 2022-09-18T15:23:47 | 2022-09-18T15:23:47 | 101,478,520 | 34 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | cpp | #include <bits/stdc++.h>
using namespace std;
int a[500005], b[500005], c[500005];
pair<int, int> btoc[500005];
int main() {
ios_base::sync_with_stdio(0); cin.tie(0);
int d, na, nb, nc; while (cin >> d >> na >> nb >> nc) {
for (int i = 1; i <= na; ++i) cin >> a[i];
for (int i = 1; i <= nb; ++i... | [
"tu.da.wei@gmail.com"
] | tu.da.wei@gmail.com |
e4dd7ac7fd8e257d562fffdb28674489039b99cc | aa947d9d8f518215974cab4957d47bfe22b2fb39 | /Osiris/Libraries/Ausar/Input/Input.cpp | 5391537875acc35c3edeed0d8960c0eb41e412ef | [
"MIT"
] | permissive | XeCREATURE/Osiris | b41a96f9ae47c98cc2fd5a503591c7704bb9068d | 8c98dd930d48418673262c0257a31bf13208c482 | refs/heads/master | 2020-05-29T11:37:05.366119 | 2016-09-29T22:24:43 | 2016-09-29T22:24:43 | 68,486,509 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 65 | cpp | #include "Input.hpp"
namespace Ausar
{
namespace Input
{
}
} | [
"mdavis.virtual@gmail.com"
] | mdavis.virtual@gmail.com |
d4b6c900484780446869cc30fd4e6aee8b982888 | 0a4bc017a1c392106d95f5b926adf370c195bb39 | /1/4/12.cpp | fee958d684a886269c614a8efd1c4f28dfb8f3d4 | [] | no_license | fluctlight001/oj_noi | 351305735cb08f6e579036073042701d6d4b97b0 | d171893acf060a5b29f0e5ec5041dcc3eea83300 | refs/heads/master | 2023-01-09T03:34:50.961264 | 2020-11-10T05:58:08 | 2020-11-10T05:58:08 | 286,735,128 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | #include<stdio.h>
int main(){
int n;
// freopen("read","r",stdin);
scanf("%d",&n);
double bike = 50.0 + n/3.0;
double walk = n/1.2;
if(bike > walk) printf("Walk\n");
else if(bike == walk) printf("All\n");
else printf("Bike\n");
return 0;
} | [
"609804988@qq.com"
] | 609804988@qq.com |
5bb2444b3425af5098ecb843d8199d7ea3da77d5 | 82a08e1fa44539d12de75e5057d90a80032467c5 | /src/qt/rpcconsole.cpp | 3cc3d9745442297df370921e95fe5d908e5e5579 | [
"MIT"
] | permissive | M1keH/amdex | 783c6fa6e19ef69cb881c8743b4d29d0c2470b48 | 9c483d58365cc47e9c2a67275f63a72a34309698 | refs/heads/master | 2020-04-20T00:00:59.330142 | 2019-01-31T11:22:50 | 2019-01-31T11:22:50 | 168,511,615 | 0 | 0 | MIT | 2019-01-31T11:06:59 | 2019-01-31T11:06:59 | null | UTF-8 | C++ | false | false | 14,623 | cpp | #include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QTimer>
#include <QThread>
#include <QTextEdit>
#include <QKeyEvent>
#include <QUrl>
#include <QScrollBar>
#include <openssl/crypto.h>
// TODO: make it possible to filt... | [
"admin@amsterdex.com"
] | admin@amsterdex.com |
e7471f76fd9064b904a6bdad16a68de02200af05 | cb5aa324d7f13a0c24e4f1bbeb67781b22e48498 | /school/School/Employee.h | 94e2363b18e4daf36b4104797d57cf57568c2726 | [] | no_license | amitpelerman/School | 9e57d3f8160ef0c848b2751ecdf7b07bcf1e7821 | 3795f352c8992f39aee244ca314d9ecef62ddbde | refs/heads/master | 2020-04-29T02:52:33.346934 | 2019-03-15T09:15:10 | 2019-03-15T09:15:10 | 175,786,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | h | #ifndef __EMPLOYEE_H
#define __EMPLOYEE_H
#include <iostream>
#include "Person.h"
#include "Visitor.h"
using namespace std;
class Employee : public Person, public IVisitable
{
public:
Employee(const Person& person, const string& officeMail, double salary) throw (const string&);
virtual void accept(IVisi... | [
"noreply@github.com"
] | noreply@github.com |
b90c39baea847f8c69585adc0091405a0faaf979 | a47aa19815683df16782909a5e761fc1718a09ed | /fs2_open-unstable/code/model/modelanim.h | 1fdeb98ae0a6da4abdc4b6ef6d641ff214b33776 | [] | no_license | PubFork/FS2Open_Trunk | 1e30bd97712b7a7bc2b8302784e8f61c9239fd6f | f1d7904e74141b21ecf691a393d730bb8ba0e134 | refs/heads/master | 2023-03-15T21:57:32.800167 | 2015-01-27T08:02:21 | 2015-01-27T08:02:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,765 | h | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
/*
* $Logfile: /Freespace2/code/model/modelanim.h $
* $Revision: 1.1.2.... | [
"taylor@387891d4-d844-0410-90c0-e4c51a9137d3"
] | taylor@387891d4-d844-0410-90c0-e4c51a9137d3 |
4b605eac8fa61f1cb02eb9770b7b90de0664eb5c | 762ee8d486dbc663651bc4e0a9c34b4384f0f611 | /milestone/MS2/AssemblyLine.h | 16818c3b7b775151d68da159b2802d1d4eb4d577 | [] | no_license | LiChingCheng/OOP345 | 24f5f6b5d480918edf98bda152f53f9698d1ebe4 | 47e6f8ecaff915f21ff1b19eedb15d39a9d0a934 | refs/heads/master | 2022-12-06T17:04:51.296480 | 2020-08-24T19:16:49 | 2020-08-24T19:16:49 | 290,011,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | h | #ifndef SICT_ASSEMBLY_LINE_H
#define SICT_ASSEMBLY_LINE_H
// Assembly Line Project
// AssemblyLine.h
// Elliott Coleshill, Chris Szalwinski
// 2019/02/17
#include <iostream>
#include <vector>
#include "ItemSet.h"
#include "CustomerOrder.h"
namespace sict {
class AssemblyLine {
std::vector<ItemSet> in... | [
"hyalinelove1991@gmail.com"
] | hyalinelove1991@gmail.com |
cbe915d9ee051bccee4fdd5985f872f0eeb9a9d7 | 5d0ddbd6f42843ded4d5ba18966dc130725607d2 | /c13.code/uintah/branches/pearls/src/CCA/Components/Wasatch/TimeIntegratorTools.h | dd3295270b2ff9ac11d9a8b1a87c0c4ad52bffb3 | [
"MIT"
] | permissive | alvarodlg/lotsofcoresbook2code | b93ad62e015d205e4f550028ceb54254023021ee | a2dbeb306fa29ae6663ae29b2c4c132608375cf0 | refs/heads/master | 2020-12-31T03:02:22.579614 | 2015-09-02T15:23:18 | 2015-09-02T15:23:18 | 54,509,919 | 2 | 1 | null | 2016-03-22T21:27:56 | 2016-03-22T21:27:56 | null | UTF-8 | C++ | false | false | 3,120 | h | /*
* The MIT License
*
* Copyright (c) 2012-2015 The University of Utah
*
* 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
* right... | [
"ryan.g.coleman@gmail.com"
] | ryan.g.coleman@gmail.com |
449534cee3cd2dcd8e4d3d8c4e3fde465a010e8e | 6b36d141c261a00dc15d792929f6fd602e204d2a | /LeetCode/easy/PlusOne.cpp | a32006c409ed36abba7b2a203537fc620cbc11cd | [] | no_license | quasar0204/Problem-Solving | 82bb5f79fca9300df5cc2e366f942563c5cf1cd8 | 68b52f326c5c402d9e9beb10307b947c62741445 | refs/heads/master | 2023-05-14T06:47:26.741138 | 2021-06-06T14:31:46 | 2021-06-06T14:31:46 | 290,471,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | class Solution {
public:
vector<int> plusOne(vector<int>& digits) {
int sz = digits.size();
bool flag = true;
for (int i = sz - 1; i >= 0; i--) {
if (!flag) break;
if (digits[i] != 9) {
digits[i]++;
flag = false;
}
else {
digits[i] = 0;
}
}
if (digits[0] == 0) {
digits.push_b... | [
"quasar13245@gmail.com"
] | quasar13245@gmail.com |
2ad405261b9e3158a9136aa0746fe9c96b0e0618 | bf1ac849b6afd65d83d06a858ffab71b66b09aef | /stan/math/rev/mat/fun/to_var.hpp | 9120a3bc64217cd533aa3a33d1d31daa2e23716a | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mdnunez/math | 9b1c3c499013dea780355c27e7d8e0338a60d797 | ce71d1d14722375fe1bffbf510d2424289ffbdfd | refs/heads/develop | 2021-01-14T08:26:22.292463 | 2016-04-15T18:51:58 | 2016-04-15T18:51:58 | 56,642,822 | 0 | 1 | null | 2016-04-20T00:46:06 | 2016-04-20T00:46:06 | null | UTF-8 | C++ | false | false | 2,993 | hpp | #ifndef STAN_MATH_REV_MAT_FUN_TO_VAR_HPP
#define STAN_MATH_REV_MAT_FUN_TO_VAR_HPP
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/mat/fun/typedefs.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/rev/mat/fun/typedefs.hpp>
#include <stan/math/rev/scal/fun/to_var.hpp>
namespace stan {
n... | [
"bearlee@alum.mit.edu"
] | bearlee@alum.mit.edu |
2cd0ac9ad5226a0ab010c35b470ecfc178510959 | 53b17f42d1e3e4518678022d191d23c6652d58da | /dz1/authomata.cpp | baa1f6eb2331ffba784ad57d8c604d53bda33e2d | [] | no_license | ninellekam/ALGRORITHMS_MAIL | 52b84df250fd695717f9b3f76125df8e669a5057 | 6af4883882941a3b43fb2c544e46edad19408888 | refs/heads/master | 2023-03-20T22:29:21.064309 | 2021-03-11T11:27:31 | 2021-03-11T11:27:31 | 318,489,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | #include <iostream>
using namespace std;
int main() {
long long dfive = 0;
long long count = 0;
long long n;
cin >> n;
for (long long i = 0; i < n ; i++) {
long long a;
cin >> a;
if (a == 5)
count--;
else
count += a/5 - 1;
if (count > ... | [
"ninakamkia@MacBook-Air-NinelleKam.local"
] | ninakamkia@MacBook-Air-NinelleKam.local |
dd1f353d75458ec83966841c284f8eb4a7eaeef1 | d17a8870ff8ac77b82d0d37e20c85b23aa29ca74 | /lite/tests/api/test_pplcnet_x0_25_fp32_v2_3_nnadapter.cc | a55aabfcfa0d6d844ab0418a1593712d822ea0cf | [
"Apache-2.0"
] | permissive | PaddlePaddle/Paddle-Lite | 4ab49144073451d38da6f085a8c56822caecd5b2 | e241420f813bd91f5164f0d9ee0bc44166c0a172 | refs/heads/develop | 2023-09-02T05:28:14.017104 | 2023-09-01T10:32:39 | 2023-09-01T10:32:39 | 104,208,128 | 2,545 | 1,041 | Apache-2.0 | 2023-09-12T06:46:10 | 2017-09-20T11:41:42 | C++ | UTF-8 | C++ | false | false | 5,658 | cc | // Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | [
"noreply@github.com"
] | noreply@github.com |
8b94bb9f0c559cd33b0231ff663eb1f1c0bf9c86 | f12e3f64c7caa0fe330b6171058a3f712e48d139 | /FIT2049 - Week 4/CollisionManager.h | c96f3bf2d6b262bcbb07ad0a4a1a16ebb05c1225 | [] | no_license | pirow99/Ass2b | 3bbc0e7c355df6eb0d512b57f7eebc4c14ba5830 | e0b9ac72b0380d3780f01a85164f3963eb7a0c72 | refs/heads/master | 2020-03-19T02:58:43.928212 | 2018-06-03T05:36:02 | 2018-06-03T05:36:02 | 135,681,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | h | #ifndef COLLISION_MANAGER_H
#define COLLISION_MANAGER_H
#include <vector>
#include "Collisions.h"
#include "PhysicsObject.h"
#include "GameObject.h"
#define MAX_ALLOWED_COLLISIONS 2048
class CollisionManager
{
private:
std::vector<GameObject*>* staticObjects;
std::vector<PhysicsObject*>* collisionObjects;
GameOb... | [
"39756333+pirow99@users.noreply.github.com"
] | 39756333+pirow99@users.noreply.github.com |
35c02c46fdd8b8729ffcdd1c408c02084e51205b | 683a90831bb591526c6786e5f8c4a2b34852cf99 | /OmegaUp/110_CRHelsinki.cpp | 75026c66490d169df37c22e800a69ef3ca70e41e | [] | no_license | dbetm/cp-history | 32a3ee0b19236a759ce0a6b9ba1b72ceb56b194d | 0ceeba631525c4776c21d547e5ab101f10c4fe70 | refs/heads/main | 2023-04-29T19:36:31.180763 | 2023-04-15T18:03:19 | 2023-04-15T18:03:19 | 164,786,056 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | cpp | #include <bits/stdc++.h>
// Parcialmente correcta
using namespace std;
int main(int argc, char const *argv[]) {
int n, num;
long long int total = 0;
map<int, int> conejos;
cin >> n;
for (int i = 0; i < n; i++) {
cin >> num;
try {
if(conejos.at(num) >= 1) conejos[num]++;... | [
"davbetm@gmail.com"
] | davbetm@gmail.com |
67a3d7200628d37c908afadbf6434d2fc35bcffa | 03dfd5703a3f41674387fa74cb41c1dfbcac7dc4 | /src/csapex/src/model/token_data.cpp | b4bc0e105123624d00747ff3138d9f9f6138a6b8 | [] | no_license | deliangye/csapex | e89b8c1709c203aa8c45cd3ffa039f02b79694a3 | 0a0f1cac1627468c961faa10a66a84511369fb1a | refs/heads/master | 2021-06-26T20:42:51.094638 | 2017-08-14T05:06:01 | 2017-08-14T05:06:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,948 | cpp | /// HEADER
#include <csapex/model/token.h>
/// COMPONENT
#include <csapex/msg/message.h>
#include <csapex/msg/token_traits.h>
#include <csapex/utility/assert.h>
/// SYSTEM
#include <iostream>
using namespace csapex;
TokenData::TokenData(const std::string& type_name)
: type_name_(type_name)
{
setDescriptiveN... | [
"sebastian.buck@uni-tuebingen.de"
] | sebastian.buck@uni-tuebingen.de |
28aa8ee0dc1df0242d9e26201ca0922b2de753f0 | 55ff90bde10ddeae56538c39ba7eca328f767089 | /660~669/662/4.cpp | dd4fc0f2621e1efdd09d904359479710403c83b0 | [] | no_license | Pluto-Jin/fromZero2GrandMaster | 74325a8fab73e54f8bf91fcfc6ce22981fb2d234 | cc666bdcf5b277db07b211693e20e505151b9848 | refs/heads/master | 2023-07-08T22:49:39.919961 | 2021-08-13T16:17:39 | 2021-08-13T16:17:39 | 302,216,409 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,370 | cpp | #include "bits/stdc++.h"
using namespace std;
#define fi first
#define se second
#define endl '\n'
#define pb push_back
#define ppf pop_front
#define ppb pop_back
#define mp make_pair
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef vector<int> vi;
typedef vector<pii> vii;
typedef vect... | [
"jinc0008@e.ntu.edu.sg"
] | jinc0008@e.ntu.edu.sg |
513cd45c2e28c98febbea0f91af82f7fa0540872 | 65f298571b9bb03f75e5654aa7bd9dc63c82b4e3 | /include/etl/architecture/ETLDevice_ESP8266.h | 453a451ce03dc11a8bd96186c8468db2e4854dde | [] | no_license | pvvovan/ETL | df16417d1fe29871d9b6a4fe75176ff690c4a150 | bfac5ccda6ff3830a3cf0fe5684a5b69121f0315 | refs/heads/master | 2022-06-15T23:26:40.951089 | 2020-05-08T05:42:58 | 2020-05-08T05:42:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,944 | h | /// @file ETLDevice_ESP8266.h
/// @date 19/03/18 08:01
/// @author Ambroise Leclerc and Cecile Thiebaut
/// @brief Atmel Espressif ESP microcontrollers architecture specifications and low level functions.
//
// Copyright (c) 2018, Ambroise Leclerc and Cecile Thiebaut
// All rights reserved.
//
// Redistribution and... | [
"Ambroise@pinriot.com"
] | Ambroise@pinriot.com |
ad07489626bad8fdcbc1744f421fc1769aaafb1e | 13f78c34e80a52442d72e0aa609666163233e7e0 | /Codeforces/Practice/1250 - Russian Regional ICPC 2020/N.cpp | 631cf1f90b049278b1732128901cdd7f84f151a4 | [] | no_license | Giantpizzahead/comp-programming | 0d16babe49064aee525d78a70641ca154927af20 | 232a19fdd06ecef7be845c92db38772240a33e41 | refs/heads/master | 2023-08-17T20:23:28.693280 | 2023-08-11T22:18:26 | 2023-08-11T22:18:26 | 252,904,746 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,493 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for (int i = (a); i < (b); i++)
#define sz(x) ((int) x.size())
#define all(x) x.begin(), x.end()
#define debug if (true) cerr
using ll = long long;
const int MAXN = 1e5+5;
int N, S;
set<int> nodes;
struct Edge {
int n, id;
};
map<int, vector<Edge>... | [
"43867185+Giantpizzahead@users.noreply.github.com"
] | 43867185+Giantpizzahead@users.noreply.github.com |
10ec6861f377e38633c88257a818bede76a9f68a | 281c02606550448dc467b1486d75d56bfa684aec | /Classes/VungleWrapper.cpp | 790ef6139b19907240fcba1a2b07f87769b10a5d | [] | no_license | k2inGitHub/Klondike_Green | a274440b74fc21d6cc7a6907e041b99e460dbbd3 | 59f48ddea050151dc0ebd285dc5c05fc1b6e6aad | refs/heads/master | 2021-01-19T07:37:41.325703 | 2016-12-28T10:26:13 | 2016-12-28T10:26:13 | 77,016,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,724 | cpp | #include "VungleWrapper.h"
#include "HLInterfaceAndroid.hpp"
#include "iOSWrapper.hpp"
#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID
#include <jni.h>
#include "platform/android/jni/JniHelper.h"
using namespace cocos2d;
using namespace std;
static VungleWrapper * s_Instance = NULL;
VungleWrapper * VungleWrapper::g... | [
"aasyk2@126.com"
] | aasyk2@126.com |
757014c62480ac159312668205114117477f2bfb | e1061ab4409bf51c44981d6053f5e7b3d8ceadf0 | /modules/BULLET/external/bullet/src/Bullet3Geometry/b3ConvexHullComputer.cpp | cc4f9c907ecd13e883a8ae1822fbd0ed87939f89 | [
"BSD-3-Clause",
"Zlib"
] | permissive | desmondlr/chai3d | 033e2d86d2d66db7e00fd5f483b58a8469e54c09 | 1306e7cd213a5e838a251e1f2212ee15455f1bb5 | refs/heads/master | 2020-04-28T07:22:56.482259 | 2019-04-23T23:01:33 | 2019-04-23T23:01:33 | 175,090,060 | 1 | 2 | NOASSERTION | 2019-04-23T23:01:34 | 2019-03-11T21:58:01 | C++ | UTF-8 | C++ | false | false | 57,930 | cpp | /*
Copyright (c) 2011 Ole Kniemeyer, MAXON, www.maxon.net
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including comme... | [
"grange@forcedimension.com"
] | grange@forcedimension.com |
dddae6a020d06b5f92cc163408d45f4a9e7d063b | 745f4ab36df82211cdda98cf3240116f99d72648 | /CalculateAreaPerimeter.cpp | 7e55a858150e1f99c188200207c2235929867368 | [] | no_license | GhulamMustafaGM/ILoveProgramming | c270ac73c42d0e72384043d2769cc4960681a391 | 516fd9cc113d0edadc6fda0e0d545fa08e34e209 | refs/heads/master | 2023-01-02T01:32:47.158055 | 2020-10-26T14:30:18 | 2020-10-26T14:30:18 | 216,835,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cpp | // Calcualte area and perimeter Circle
#include<iostream>
using namespace std;
int main()
{
const double PI = 3.14159;
double r;
double p;
double a;
/* r = radius;
p = perimeter;
a = area;
*/
cout << "Enter the radious of the circle: ";
cin >> r;
p = 2 * PI * r;
... | [
"mustafaji@gmail.com"
] | mustafaji@gmail.com |
c85ca083db8cdf2ea9ce1ab5c6b471134f19e0a0 | 948999f2775e7f31498ddeedd4da9dc4af8fc025 | /RodentVR/Source/RodentVR/Private/Hardware/NIDAQ/NIDAQ.cpp | 9768f2e3d693061614d7c784547188d29e50bbd6 | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 175ff5ec51bdfc9068f890e7d8666df8c1c2e6c9 | refs/heads/main | 2021-06-14T18:33:22.141793 | 2021-05-09T02:34:47 | 2021-05-09T02:34:47 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 2,319 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "NIDAQ.h"
#include "Engine/GameEngine.h"
//extern "C"
//{
#include <NIDAQmx.h>
//}
bool UNIDAQ::IsNidaqEnabled = false;
void UNIDAQ::NIDAQ_write_digital(const char* deviceName, unsigned long data)
{
if (UNIDAQ::IsNidaqEnabled)
... | [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
1c14cd1d7cfff2d67f177c968e48183c278e5adb | ba46527797e4be53645823d033e79dc60b43fe32 | /CP3/Intro/bucket_brigade.cpp | a445442e0bbf33daa4c0eb5f4b9f4b8a0b3943ae | [] | no_license | Anri-Lombard/cpp | ab0732c5e071e670d4523a8640bf0f804fbb0407 | 7a4c94cbebb631fbac688404a95d148573eef6d2 | refs/heads/main | 2023-08-08T02:15:35.706368 | 2021-09-24T18:41:59 | 2021-09-24T18:41:59 | 376,433,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | cpp | #include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cmath>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <vector>
using namespace std;
#define nl "\n"
void ... | [
"anri.m.lombard@gmail.com"
] | anri.m.lombard@gmail.com |
a7fac19143f7180b1a433945e906e12069e8c118 | 1a73c255267076a341e7662ead2ef68b67210d84 | /111/111/main.cpp | 5f5617a72105d3dd160bd6f32059593bd181790c | [] | no_license | WenjieZhang1/leetcode | 657a9d1b0d1c46f81c665afb99a2141302912a9e | e5e99b847ad00bfd39618afb2797c1518b1976e2 | refs/heads/master | 2021-01-20T18:52:38.206151 | 2016-08-04T15:01:09 | 2016-08-04T15:01:09 | 64,943,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,527 | cpp | # include <iostream>
# include <vector>
# include <map>
# include <stack>
# include <cstdlib>
# include <string>
# include <unordered_set>
# include <unordered_map>
# include <queue>
using namespace std;
//struct ListNode {
// int val;
// ListNode *next;
// ListNode(int x) : val(x), next(NULL) ... | [
"wenjiezhang2016@u.northwestern.edu"
] | wenjiezhang2016@u.northwestern.edu |
05824e078093e20dc0e2fce94cca106ec6c1b5f7 | 19194c2f2c07ab3537f994acfbf6b34ea9b55ae7 | /android-31/java/lang/NoSuchMethodException.hpp | 4bbab0e8745b325c49419e17c5884cd5cc54af40 | [
"GPL-3.0-only"
] | permissive | YJBeetle/QtAndroidAPI | e372609e9db0f96602da31b8417c9f5972315cae | ace3f0ea2678967393b5eb8e4edba7fa2ca6a50c | refs/heads/Qt6 | 2023-08-05T03:14:11.842336 | 2023-07-24T08:35:31 | 2023-07-24T08:35:31 | 249,539,770 | 19 | 4 | Apache-2.0 | 2022-03-14T12:15:32 | 2020-03-23T20:42:54 | C++ | UTF-8 | C++ | false | false | 709 | hpp | #pragma once
#include "../../JString.hpp"
#include "./NoSuchMethodException.def.hpp"
namespace java::lang
{
// Fields
// Constructors
inline NoSuchMethodException::NoSuchMethodException()
: java::lang::ReflectiveOperationException(
"java.lang.NoSuchMethodException",
"()V"
) {}
inline NoSuchMethodExcep... | [
"yjbeetle@gmail.com"
] | yjbeetle@gmail.com |
1868b8926522b3f17b9fda539120bd126c7f5fb8 | 786d069498e5d7986cd69763625d88ed5b610f05 | /cylinder2D_DyM/processor9/0/p_rgh | 968f9ff8ba4de0d45d1af2e002c98d56dd7404d6 | [] | no_license | TatianaStenina/iceFoam | cf78c8b4fcccd4ffd63646e576ba9b2528a67b1d | 4f46a1bfa57500cbf6053bf4cc83fd1e12ef6595 | refs/heads/master | 2022-06-15T05:46:12.361200 | 2020-05-08T09:08:02 | 2020-05-08T09:08:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,303 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"psuburner@gmail.com"
] | psuburner@gmail.com | |
071ce5d368c8b73eb939b5b520a91bfafd442b38 | b2f0d5774b9d510f637b41864fcd24dd7661903d | /49_Group_Anagrams.cpp | 3ae7e1e7f66aab0ce84e4dcbd0e89ec54869ba73 | [] | no_license | utsavsingh899/LeetCode_Solutions | a04876dde85865035bcc312fc40eb586ed0b1fa1 | ae9b72b576f7d04d3ed9bee0bc3b9d6f8f1dd3fa | refs/heads/master | 2023-05-21T08:05:51.174655 | 2021-06-09T22:51:57 | 2021-06-09T22:51:57 | 225,664,872 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 429 | cpp | class Solution {
public:
vector<vector<string>> groupAnagrams(vector<string>& strs) {
unordered_map<string, vector<string>> mp;
vector<vector<string>> res;
string temp;
for (auto s : strs) {
temp = s;
sort(temp.begin(), temp.end());
mp[temp].push_b... | [
"utsavsingh899@gmail.com"
] | utsavsingh899@gmail.com |
918cf91b919199aefc6db8159938b5ac1b4e1480 | 7d511ac84d7b3ad588e93dfac7623161fd5e5b87 | /Lab.9/Vector.Processing/Vector.Processing/Temp.holding/main.cpp | 4c00dcf9f133076c06ac917df22e730078c28e58 | [] | no_license | Doom4535/CPTR.124.W14.Labs | b9b0ff2004ea7c0376d878b8974e39cb3f055b42 | 5fbb29c9d3b32cc515be123b895c35c6f093577d | refs/heads/master | 2021-01-21T11:45:29.258583 | 2014-04-27T03:24:39 | 2014-04-27T03:24:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | //
// main.cpp
// Vector.Processing
//
// Created by Aaron Covrig on 3/26/14.
// Copyright (c) 2014 Aaron Covrig. All rights reserved.
//
#include <iostream>
int main(int argc, const char * argv[])
{
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
| [
"aarcov@gmail.com"
] | aarcov@gmail.com |
72bcb6fca28734087a489e7365e254f252654b39 | d76f76aa9da92b7796fc80672553b2338893655f | /vm/include/omtalk/vm.hpp | 51ac0386d27df3ba815217c4a542e2e5202f1d63 | [] | no_license | devin122/omtalk | e88e0e8258434044c718df4beee44e9921da3c50 | e61c3d7596ccc3a7581ca935b428e63562fa8ec6 | refs/heads/master | 2022-12-18T19:01:01.273315 | 2020-07-30T03:18:47 | 2020-07-30T03:18:47 | 283,790,562 | 0 | 0 | null | 2020-07-30T13:59:48 | 2020-07-30T13:59:47 | null | UTF-8 | C++ | false | false | 119 | hpp | #ifndef OMTALK_VM_HPP_
#define OMTALK_VM_HPP_
namespace omtalk {
} // namespace omtalk
#endif // OMTALK_VM_HPP_ | [
"youngar17@gmail.com"
] | youngar17@gmail.com |
4254dbfa974345fe81bd2bdee1a1af1410e22f46 | d976c672bdd91dd711dc68805d35c384380f028f | /src/SurfaceRenderer.cxx | a33c9bdc5a3e36c7969bd6739cbe56f94b08bf58 | [
"MIT"
] | permissive | spirit-code/VFRendering | ffee63c56ed552ce01430904d948ae438e9f21cf | 564209a438ac9f9256024086f41ee6f65b69a5ac | refs/heads/master | 2020-06-16T13:54:37.305641 | 2017-08-02T11:31:03 | 2017-08-02T11:31:03 | 75,094,220 | 0 | 1 | null | 2017-09-15T10:56:30 | 2016-11-29T15:24:31 | C++ | UTF-8 | C++ | false | false | 4,518 | cxx | #include "VFRendering/SurfaceRenderer.hxx"
#include <glad/glad.h>
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "VFRendering/Utilities.hxx"
#include "shaders/surface.vert.glsl.hxx"
#include "shaders/surface.frag.glsl.hxx"
namespace VFRendering {
SurfaceRenderer::SurfaceRenderer(const View& view) :... | [
"f.rhiem@fz-juelich.de"
] | f.rhiem@fz-juelich.de |
6882ade02406aee85a812df39ffd3d43d18ec9fc | f77d2d84af7b1d555a96f5ab9f42f1b7c7abd60c | /src/vector/Vector_search_binary_B.h | 4ef5a87f62d787fe9b71a566006395118c9e03b2 | [] | no_license | pangpang20/data-structure | d8e43a2cf167c88a64d9128b165ed438f194d3e5 | 53a2f76919eda2add01f6e60bc40c4c13365d481 | refs/heads/main | 2023-05-01T01:43:06.359569 | 2021-05-26T07:14:23 | 2021-05-26T07:14:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | h | /******************************************************************************************
* Data Structures in C++
* ISBN: 7-302-33064-6 & 7-302-33065-3 & 7-302-29652-2 & 7-302-26883-3
* Junhui DENG, deng@tsinghua.edu.cn
* Computer Science & Technology, Tsinghua University
* Copyright (c) 2003-2020. All rights r... | [
"melodyhaya@gmail.com"
] | melodyhaya@gmail.com |
5fd7e6b611d9c58078dcfe9fa90929d86d56a91a | 89bd564a0961f01c9b8bafc39d1e7cf1ca655aa6 | /GTopoSortdfs.cpp | b01fdc0770fae5416a12e5bc781f70c555dd54ed | [] | no_license | shivank13/cpp-codes | ec557e5244c71e5ec3e25a84307bcbbf2d14c387 | 89adf0b53cfa8e1ba06b5ef76db1408589cd42f4 | refs/heads/main | 2023-07-09T10:55:10.600028 | 2021-08-18T13:13:55 | 2021-08-18T13:13:55 | 384,697,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | cpp | #include <bits/stdc++.h>
using namespace std;
void findtoposort(int s,stack<int> &st,vector<int> &vis,vector<int>adj[])
{
vis[s]=1;
for(auto it:adj[s])
{
if(!vis[it])
{
findtoposort(it,st,vis,adj);
}
}
st.push(s);
}
vector<int> toposort(int V,vector<int>adj[])
{... | [
"noreply@github.com"
] | noreply@github.com |
d870dcfc2f5dcb98221f00a48797cbc8abb65628 | 496d9554e9abb114fb39ce2e9ecf42c8e98e878a | /Disinfektan/Disinfektan.ino | f9ed47ce417e3064c6803e1c13de3a7b06a02d6d | [] | no_license | daffa-d/Disinfektan-Smk-1 | 111e8b42f00308e0b7a5291453f20a39bec1dda6 | 258af9d103a233eb6b2816f3f1680ca2631a0b52 | refs/heads/master | 2023-01-30T10:40:08.528498 | 2020-09-22T11:04:27 | 2020-09-22T11:04:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | ino | #define infra 7
const int relay_1 = 2;
void setup(){
Serial.begin(9600);
pinMode(infra,INPUT);
pinMode(relay_1,OUTPUT);
}
void loop() {
int v = digitalRead(infra);
Serial.println(v);
if(v == 1)//Tergantung Trigger dari infra atau sensor
{
digitalWrite(relay_1,HIGH);
}
else
{
digitalWrite(... | [
"daffa123destrata@gmail.com"
] | daffa123destrata@gmail.com |
736be6f9aac0b35bd8e5eac78d32496cf3e624a4 | c7ccfd9de1692aafaa5ee576980e7381e52cb346 | /sourceCode/2.2/Samples and Benchmarks/Server Wizard/Server Wizard/Templates/1033/stdafx.h | e6d118272499313c48fceb54f62807d27af4b624 | [] | no_license | chenzuo/PushFramework | c3f98eac2dad75dca5da1e13382627b3bff35285 | a1a2a63cdc7517499e165dde68373bccca6e24d3 | refs/heads/master | 2020-03-23T18:18:22.176058 | 2018-09-06T05:52:26 | 2018-09-06T05:52:26 | 141,900,087 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,070 | h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include "Plateform.h"
#ifdef Plateform_Windows
#include "targetver.h"
#include <Windows.h>
#endif
#include <stdio.h>
#include <ctype.h>
#incl... | [
"chenzuo@hotmail.com"
] | chenzuo@hotmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.