blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d956ffc95b82cef7d397109cf2f95c172d857943 | 035b8e27237afb157adf4052b5b86712c5c44a83 | /src/lib/Objects/RHI/FDepthStencilStateInitializerRHI.h | a7aa54cdfb9856d08b8e62140e66d32bd185beff | [] | no_license | WorkingRobot/upp | e5a3cf7a6755d8fbc07263f5873c6a4c7d174bd6 | 1fa9f0e31393f9c3cd13cff2c813d874d1b34433 | refs/heads/main | 2023-07-09T14:57:28.778482 | 2021-08-15T05:19:25 | 2021-08-15T05:19:25 | 351,872,759 | 23 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 865 | h | #pragma once
#include "../Core/Serialization/FArchive.h"
#include "ECompareFunction.h"
#include "EStencilOp.h"
namespace upp::Objects {
struct FDepthStencilStateInitializerRHI {
bool EnableDepthWrite;
ECompareFunction DepthTest;
bool EnableFrontFaceStencil;
ECompareFunction FrontF... | [
"aleks.margarian1@gmail.com"
] | aleks.margarian1@gmail.com |
eb0c0269910b77bc11f56e6e0ce4b66bfe5edda2 | 0874b100cfd3b832194679da460066178040d676 | /MFW/MFW_EngineHyfrax/Noise.h | f659bde72b6ad15160244e1d37e1ace3aa99ec31 | [] | no_license | ChxLearnCPP/MFrameWork | 3a213a208f49f75feffe9c9b22621a095d77f749 | e8747ea0f94301de46fe78fcc11810019bafbab0 | refs/heads/master | 2021-08-23T23:24:47.902382 | 2017-12-07T02:30:24 | 2017-12-07T02:30:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,489 | h | #pragma once
#include "Prerequisites.h"
#include "GPUNormalMapManager.h"
namespace Hydrax{ namespace Noise
{
/** Base noise class,
Override it for create different ways of create water noise.
*/
class Noise
{
public:
/** Constructor
@param Name Noise name
@param GPUNormalMapSupported Is GPU no... | [
"captainl1993@126.com"
] | captainl1993@126.com |
84d75b0d702be25eb1cefe68fb12a72126068d3a | 5f0f4747f2594b9aef636ce987345bf585f93254 | /src/tunnels/TunnelWorker.cpp | 0c089039b97f60097d66ccf5534c5826ee33c415 | [
"MIT"
] | permissive | joaopapereira/tunnelier | 0bcb7a7a0ce41594c3de9c53bd4c769fbd00dfa7 | cb53517f020fd1209a59356b33909d9fd95da718 | refs/heads/master | 2021-01-22T09:27:26.942754 | 2014-06-05T16:24:28 | 2014-06-05T16:24:28 | 20,532,623 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | /*
* TunnelWorker.cpp
*
* Created on: Apr 11, 2014
* Author: joao
*/
#include "tunnels/TunnelWorker.hpp"
namespace tunnelier {
namespace tunnels {
TunnelWorker::TunnelWorker() :
EventAcceptor(event_base_new()){
// TODO Auto-generated constructor stub
}
TunnelWorker::~TunnelWorker() {
// TODO Auto-gen... | [
"joaopapereira@gmail.com"
] | joaopapereira@gmail.com |
0a9167f936866bcaab110688b63fb81adbdd0518 | 7fa6feffa030d30e2d4e66af421bd04f9d063a2e | /CPP/Lecture-02 Codes/prime.cpp | ea630d39a59b0e78b8be15e5c491ab70ba224847 | [] | no_license | Utkarsh1999/data-structures-online-course-cpp | e4a2b4f1e37b60804166843f52822d0773b30204 | 888066564f73c11c6c79af006f8c8d61356c25a2 | refs/heads/master | 2020-04-06T18:05:53.200487 | 2018-10-19T06:16:06 | 2018-10-19T06:16:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | cpp | #include<iostream>
using namespace std;
//Print prime or not
int main(){
int n;
cin>>n;
int i=2;
while(i*i <= n){
if(n%i==0){
cout<<"Not Prime";
return 0;
}
i = i + 1;
}
cout<<"Prime";
return 5;
} | [
"prateeknarang111@gmail.com"
] | prateeknarang111@gmail.com |
7c5ef4c0bffe17c39c5d7c746cb8c081fee9f597 | 0dc304acc118af3ce197e97d8ad42239f900c968 | /a1/Task C/src/ColorTable.cpp | 1a91420fb611f7ae90eb938dfc6f9474246b8c37 | [] | no_license | samuelsmal/Informatik-2--Algorithmen-und-Datenstrukturen-Solutions | 1655005fac6ae9e59942bce601a6346622e130ff | 3c8aa0e4d5b1ccc8214c2e8a084757ade6e161fa | refs/heads/master | 2021-01-02T09:32:24.693825 | 2013-06-24T11:14:00 | 2013-06-24T11:14:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | cpp | /*
*
* Created by Matthias Thöny.
* Updated by Rafael Ballester on 09.01.13.
* Copyright (c) 2013 Uni Zürich. All rights reserved.
*
*/
#include "ColorTable.h"
using namespace std;
ColorTable::ColorTable()
{
}
/*
* TODO 1: Implement reading a specific colortable given by a filename and put the color val... | [
"samuel.vonbaussnern@gmail.com"
] | samuel.vonbaussnern@gmail.com |
7e8859a3000ef47353c58f441a4bba666ad19173 | cb10b5aec5a703cef41b135b2f58645ae08912a3 | /Adobe/Illustrator/plugin/common/source/IllustratorSDK.cpp | 89e172a1510a47b48330c4a32011c9258d5b2c74 | [
"MIT"
] | permissive | LongNguyenP/rhino.inside | 388fdbf735e965cf880d2f5b9aa0972314eeda59 | 670b74087c0383eef5b71b7173e5c80bc93e660c | refs/heads/master | 2020-09-24T08:44:03.087732 | 2019-11-27T11:21:31 | 2019-11-27T11:21:31 | 225,717,600 | 2 | 1 | MIT | 2019-12-03T21:16:50 | 2019-12-03T21:16:49 | null | UTF-8 | C++ | false | false | 743 | cpp | //========================================================================================
//
// $File: //ai_stream/rel_23_0/devtech/sdk/public/samplecode/common/source/IllustratorSDK.cpp $
//
// $Revision: #1 $
//
// Copyright 1987 Adobe Systems Incorporated. All rights reserved.
//
// NOTICE: Adobe permits y... | [
"steve@mcneel.com"
] | steve@mcneel.com |
c413319dfec31dc30f3ba1b60097f6aadcf10f43 | ac227cc22d5f5364e5d029a2cef83816a6954590 | /applications/physbam/physbam-lib/Public_Library/PhysBAM_Geometry/Grids_RLE_Computations/RIGID_GEOMETRY_RASTERIZATION_RLE.cpp | 5ec101835d014e874b0a04f3a841061624407e98 | [
"BSD-3-Clause"
] | permissive | schinmayee/nimbus | 597185bc8bac91a2480466cebc8b337f5d96bd2e | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | refs/heads/master | 2020-03-11T11:42:39.262834 | 2018-04-18T01:28:23 | 2018-04-18T01:28:23 | 129,976,755 | 0 | 0 | BSD-3-Clause | 2018-04-17T23:33:23 | 2018-04-17T23:33:23 | null | UTF-8 | C++ | false | false | 7,691 | cpp | //#####################################################################
// Copyright 2009, Jon Gretarsson.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#####################################################################
// Na... | [
"quhang@stanford.edu"
] | quhang@stanford.edu |
870cc2d061d441b0a4b1e7363346d221125c46e0 | b1dac0a81a3e7412fd728cdb85728f93076d277b | /extended.cpp | 0135e8945e516d1a2d78bed143637aaf982e7acf | [] | no_license | shivak215/ICS_CODES | dd7de204a81b914404e6b3f12cd4b847912f0319 | 23b8844b39c53c4c858a8f0fa7a997092641aa28 | refs/heads/master | 2020-09-07T19:38:04.246459 | 2019-11-11T03:32:44 | 2019-11-11T03:32:44 | 220,893,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 790 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b;
cout<<"enter two numbers a and b for which you want to find gcd"<<endl;
cin>>a>>b;
int r1,r2,r,q,s1=1,s2=0,s,t1=0,t2=1,t;
if(a>b)
{
r1=a;
r2=b;
}
else
{
r1=b;
r2=a;
}
cout<<"q "<<"r1 "<<"r2 "... | [
"noreply@github.com"
] | noreply@github.com |
c2b98e8651075214545c47a221e485aa0fb3cc60 | 74d8b7e01e9db34c1bfbe2f97c7914f3dfed1c54 | /SwipeUnlockSrv/notifyprovider.h | 5bf7bd3c62f159aa0c3d545a5ecc0fc441f8e17b | [] | no_license | harry159821/SwipeUnlock | 44a8ad641b03fa23af07f82c98342e21631e5a3e | 9c7936d69959047b5e46296f8241a9765af22881 | refs/heads/master | 2021-05-27T04:38:50.410405 | 2014-01-31T19:17:22 | 2014-01-31T19:17:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,668 | h | #ifndef NOTIFYPROVIDER_H
#define NOTIFYPROVIDER_H
#include <QObject>
#include <logmonitor.h>
#include <SMSReciever.h>
#include <QDateTime>
#include <CenRepObserver.h>
#include <qcontactfetchrequest.h>
#include <QSettings>
#include <const.h>
#include <QDebug>
#include <e32base.h>
QTM_USE_NAMESPACE
con... | [
"kolayuk@gmail.com"
] | kolayuk@gmail.com |
5289c18a3f0ca8f5ac90c0d50e8afecf6794a426 | 1d262562cfb531dfb0914243360916915937ca5d | /4.22/ExampleProject/Plugins/PlayFab/Source/PlayFabCpp/Public/Core/PlayFabLocalizationAPI.h | 8616dd45e253f9e7611627a3f3cfad4f0d97847a | [
"Apache-2.0"
] | permissive | Puche/UnrealMarketplacePlugin | 583024c76dd71713cd3974cfa02798e57a4326b2 | a3e161038d0d06386b0267941a78d259ec903c97 | refs/heads/master | 2020-09-13T22:42:54.137551 | 2019-10-29T23:09:49 | 2019-10-29T23:09:49 | 222,927,187 | 0 | 0 | Apache-2.0 | 2019-11-20T11:57:25 | 2019-11-20T11:57:24 | null | UTF-8 | C++ | false | false | 1,850 | h | //////////////////////////////////////////////////////
// Copyright (C) Microsoft. 2018. All rights reserved.
//////////////////////////////////////////////////////
// This is automatically generated by PlayFab SDKGenerator. DO NOT modify this manually!
#pragma once
#include "CoreMinimal.h"
#include "Core/PlayFabErr... | [
"jenkins-bot@playfab.com"
] | jenkins-bot@playfab.com |
a0c518f2865d80ecce40e973dfccd8dc6f548a86 | b677894966f2ae2d0585a31f163a362e41a3eae0 | /ns3/ns-3.26/examples/wireless/simple-ht-hidden-stations.cc | 74bf37bbfab9b9601d3ef6716ad80fcbb6c754fb | [
"LicenseRef-scancode-free-unknown",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | cyliustack/clusim | 667a9eef2e1ea8dad1511fd405f3191d150a04a8 | cbedcf671ba19fded26e4776c0e068f81f068dfd | refs/heads/master | 2022-10-06T20:14:43.052930 | 2022-10-01T19:42:19 | 2022-10-01T19:42:19 | 99,692,344 | 7 | 3 | Apache-2.0 | 2018-07-04T10:09:24 | 2017-08-08T12:51:33 | Python | UTF-8 | C++ | false | false | 6,423 | cc | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2015 Sébastien Deronne
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is... | [
"you@example.com"
] | you@example.com |
83d69115ff2f89fa4e23504e497dc8c64036c719 | 84d2127f811a872714c83a4315e447960e0feb68 | /src/394.cc | 667bbbb4c473592f38eff4a2ab0de14e1e98ebee | [] | no_license | ruippeixotog/uva | a3bdec676f0246f81e04a68222ba0607d3fd1feb | 4f397f6acfaf2c3ffa6140d1268edbe9542bba39 | refs/heads/master | 2021-01-10T04:29:31.977701 | 2016-01-28T22:58:18 | 2016-01-28T22:58:18 | 50,620,185 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,260 | cc | #include <iostream>
#include <map>
#include <vector>
#define uint unsigned int
using namespace std;
struct ArrayInfo {
int base;
int elemSize;
vector< pair<uint, uint> > dims;
};
int main() {
int N, R;
cin >> N >> R;
map<string, ArrayInfo> table;
for(int i = 0; i < N; i++) {
string name;
Arra... | [
"ruippeixotog@gmail.com"
] | ruippeixotog@gmail.com |
be128a3b84bcee6a4f20c7fb47d2d3ca4d2bb726 | 8083c67443bb4fc55aa441883ab5e3fe6d362ea7 | /example04_constexprfibonacci_cpp11/fibonacci.h | eb5f1d3cb9978d72e5fb1f77e2c4431f27074923 | [] | no_license | mark-grimes/ACCUTalk | 0eb2d860aaaaef1666119c3a81e385070f4988a9 | 1fbf9aafec62cb57f81a81749465d4236de942c2 | refs/heads/master | 2020-03-23T22:37:08.627634 | 2018-07-24T16:28:26 | 2018-07-24T16:28:26 | 142,186,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | h | #pragma once
// In C++ 11, can only have a return statement, so still pretty limited
constexpr unsigned long long fibonacci( unsigned N )
{
return N==0 ? 0 : N==1 ? 1 : fibonacci(N-1)+fibonacci(N-2);
}
| [
"mark.grimes@rymapt.com"
] | mark.grimes@rymapt.com |
0da2812cc9ed5807ed826dca9a48b5fa08a1b4dc | 6cbb3cb84d3c5f7e617c14d24cfef14ee7c1e27d | /Outros/matrizsuperior.cpp | 00da2c12eed7c9cca7a6373d1a1fdf27b873516a | [] | no_license | Nirvana16/MPC | 157ec8fd7e9089b98e40801c4f5df9697a0a8261 | 9aa5656be58f64516b45bf9aaaa4893adc1d5659 | refs/heads/master | 2020-04-27T00:44:38.442646 | 2019-03-05T13:38:25 | 2019-03-05T13:38:25 | 173,944,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,793 | cpp | #include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main(){
printf("MATRIZ TRIAGULAR SUPERIOR\n");
// int i,j,somatorio=0,ordem=3;
// float MatA[3][3]={3,1,0,0,2,-1,0,0,3};
// float VetB[3]={4,2,0};
// float X[3];
int i,j,somatorio, ordem;
printf("-> Informe a Ordem da Matriz L (Quadrada): "); // Solicitam... | [
"zedanilo161@gmail.com"
] | zedanilo161@gmail.com |
4f675cd83a65bd0da2dd9c613729e6f72b601e0b | 53016f2d10a3f5f6bcf38f3d94cb5324c9e98c27 | /mlbc/MemoryLeakBuster2.cpp | 6db93369073771ba162eb49f89b43d8ef4cc05b3 | [] | no_license | tk-aria/memleak-inspection | 0dec826aa940c137a3ffe6520a4683239e010b58 | a3252f45c0f37a7e643298b8cf277d30de3c6006 | refs/heads/master | 2022-12-24T20:21:24.780167 | 2020-09-30T20:08:52 | 2020-09-30T20:08:52 | 175,926,966 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,780 | cpp | // this code is public domain.
// latest version: https://github.com/i-saint/scribble/blob/master/MemoryLeakBuster2.cpp
// メモリリーク検出器。
// この .cpp をプロジェクトに含めるだけで有効になり、プログラム終了時にリーク領域の確保時のコールスタックをデバッグ出力に表示します。
//
// また、デバッガで止めた際、イミディエイトウィンドウに以下のコマンドを打つことで、指定メモリ領域の確保時のコールスタックを出すことができます。
// PrintAllocInfo((void*)address)... | [
"maaenvaohls10040392@outlook.ne.jp"
] | maaenvaohls10040392@outlook.ne.jp |
fcaf1b9d8bd63c2bc2ffb1f1940d084a701cc8bd | 2d9631c15a2a394535123bdcc703b17b485e8381 | /test/qt_test/qt/Ctrl/ThreadCtrl.h | 3069022fdcf178b03c7068c5821eaf479b6748bc | [] | no_license | hongtao008/jlib | 3c363561e501c68635b78b5fbab3baf28d9483e7 | cd2515978d0bc52008338537cb561955dbb3764f | refs/heads/master | 2020-12-13T16:14:37.709412 | 2020-01-12T19:12:26 | 2020-01-12T19:12:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | h | #pragma once
#include <QThread>
#include "../Model/ThreadModel.h"
#include <thread>
namespace jlib
{
namespace qt
{
class ThreadCtrl : public QThread
{
Q_OBJECT
public:
ThreadCtrl(QObject *parent, ThreadWorker worker)
: QThread(parent)
, worker_(worker)
{
}
~ThreadCtrl() {}
void set_worker(ThreadWorker... | [
"1281261856@qq.com"
] | 1281261856@qq.com |
5adb6eeaafb62294d102f2504f918b1f9be6c1eb | dd2bcd6e829347eef6ab8020bd8e31a18c335acc | /ThisIsASoftRenderer/Editor/XTP/Source/Calendar/XTPCalendarDayViewTimeScale.h | 0a61f4e7fe97bb2ffa1b7a6bfd9e7d550e579646 | [] | no_license | lai3d/ThisIsASoftRenderer | 4dab4cac0e0ee82ac4f7f796aeafae40a4cb478a | a8d65af36f11a079e754c739a37803484df05311 | refs/heads/master | 2021-01-22T17:14:03.064181 | 2014-03-24T16:02:16 | 2014-03-24T16:02:16 | 56,359,042 | 1 | 0 | null | 2016-04-16T01:19:22 | 2016-04-16T01:19:20 | null | UTF-8 | C++ | false | false | 17,515 | h | // XTPCalendarDayViewTimeScale.h: interface for the CXTPCalendarDayViewTimeScale class.
//
// This file is a part of the XTREME CALENDAR MFC class library.
// (c)1998-2011 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS ... | [
"54639976@qq.com"
] | 54639976@qq.com |
c46191482426d8069f7c5e8985f5ff986e97d550 | 321e07f9d187c6d19d767dad821e7aa926ceb9cb | /first_time/leetcode/c++/501. Find Mode in Binary Search Tree.cpp | 43bb0da3238a8c1de209fa7cbbe61d54620d9559 | [] | no_license | Pipi24/OJ | f98dd24d2b743ba73519fb51c73e62981561ef0e | e4ff506c7a9aca4117519b35297469d0b139f81b | refs/heads/master | 2023-06-02T18:05:03.928215 | 2021-06-10T10:03:36 | 2021-06-10T10:03:36 | 119,809,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,946 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
private:
vector<int> ans;
vector<int> inorder;
int max_count = 0;
int now_count = 0;
public... | [
"347127951@qq.com"
] | 347127951@qq.com |
be41fa981546973830f407f66f7b61d055177b9f | 7e791eccdc4d41ba225a90b3918ba48e356fdd78 | /chromium/src/remoting/protocol/ice_connection_to_host.h | 717106c33a12e24633f9e72fc3a7cb6f93b79018 | [
"BSD-3-Clause"
] | permissive | WiViClass/cef-3.2623 | 4e22b763a75e90d10ebf9aa3ea9a48a3d9ccd885 | 17fe881e9e481ef368d9f26e903e00a6b7bdc018 | refs/heads/master | 2021-01-25T04:38:14.941623 | 2017-06-09T07:37:43 | 2017-06-09T07:37:43 | 93,824,379 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,943 | h | // Copyright 2015 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 REMOTING_PROTOCOL_ICE_CONNECTION_TO_HOST_H_
#define REMOTING_PROTOCOL_ICE_CONNECTION_TO_HOST_H_
#include <set>
#include <string>
#include "base/... | [
"1480868058@qq.com"
] | 1480868058@qq.com |
0e7a4d84d4b68413a22b4e9f071f379544456670 | 95e5aecdec2601bfaf335d88d21f4f93f481fed4 | /RSSreader/Pugixml/PugiXmlTest/main.cpp | e4474de7efc181b179c994f715875ee3198390ef | [] | no_license | mhcrnl/2017 | 5becc0f4aba29ff1d72340a37895512c16dc62ed | fee60c00ee653d8d9c5f82ff22c277492c9f451d | refs/heads/master | 2021-01-11T09:03:24.782579 | 2017-09-23T07:43:56 | 2017-09-23T07:43:56 | 77,278,007 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | cpp | #include <iostream>
#include "../pugixml-1.8/src/pugixml.hpp"
using namespace std;
using namespace pugi;
class ReadXml{
string file;
public:
ReadXml(string file){
xml_document doc;
//xml_parse_result res = doc.load_file(file);
}
};
int main()
{
cout << "Hello world!" << endl;
xml_d... | [
"mhcrnl@gmail.com"
] | mhcrnl@gmail.com |
13b5d7717ad1e3768cb1d947f11d5adbe232ad0d | 91163a89a11fec5aa522866d960c4bb0b919395d | /Week-3-Greedy Algo/prizes.cpp | 44b15714c19d7496bda48627e0d6667bf0fb95ed | [] | no_license | Siddhartha-bit/Algorithm-Toolbox-UC-San-Diego---Coursera | d08b49deb0e807e35b3e3b70b7969f0d142bb93e | 9181e162ba93fd621422a8776d26b97df84ac873 | refs/heads/master | 2023-04-11T04:28:36.513090 | 2021-04-19T00:19:47 | 2021-04-19T00:19:47 | 359,279,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cpp | #include <iostream>
#include <cmath>
#include <vector>
using namespace std;
#define ll long long
vector<ll> max_prizes(long long n,ll &count)
{
ll n2=ceil(n/2);
vector<ll> v;
ll sum=0;
v.push_back(0);
for(ll i=1;i<n2+1;i++)
{
if(sum+i<=n)
{
sum+=i;
v.pus... | [
"siddharth2023@gmail.com"
] | siddharth2023@gmail.com |
218533b3f0ffe5acac4cefb66995e9080efe6849 | 8c01f887de49c7b30adb60e513cbe9786cd8b81e | /src/Learn-OpenGL-Sln/Learn-OpenGL-Main/engine/Mesh.hpp | 055ed63a123563a7754804dfe89622225ee6bd4d | [] | no_license | SlaggyWolfie/learn-opengl | 08d1694beee0b6709ea9ffc4b8898b867f6474ef | 26fdf7832f5a1fc1a480e69921dd16eeede1ac85 | refs/heads/master | 2023-01-31T13:42:23.392572 | 2020-12-17T17:13:20 | 2020-12-17T17:13:20 | 260,175,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | hpp | #pragma once
#ifndef MESH_HPP
#define MESH_HPP
#include <string>
#include <vector>
#include "glm/glm.hpp"
class Shader;
class Mesh
{
public:
struct Vertex
{
glm::vec3 position, normal;
glm::vec2 textureCoordinate;
glm::vec3 tangent, bitangent;
};
struct Texture
{
unsigned int id = 0;
std::string ty... | [
"sl_stoev@abv.bg"
] | sl_stoev@abv.bg |
55c4d35378e420bb3dcd38448524d419431719fe | 10f67f9503e52ed4a8bb757d470f2c3b8fe0cea1 | /2021_Team3_Project/2021_Team3_Project/light.h | 3aa70ddff3d15ffec7e6410b49b98e504504dcbe | [] | no_license | Mesarthim-14/2021_Team3_Project | 6e7a73a90c3e790d965fbdaa0f9fddebf5895ee7 | f0b62a48edb1b4476c1f0ebaa4b96afb44962c80 | refs/heads/master | 2023-08-24T09:54:27.694543 | 2021-10-04T03:07:43 | 2021-10-04T03:07:48 | 373,224,774 | 3 | 0 | null | 2021-10-01T08:20:39 | 2021-06-02T15:54:25 | C++ | SHIFT_JIS | C++ | false | false | 1,300 | h | #ifndef _LIGHT_H_
#define _LIGHT_H_
//=============================================================================
//
// ライト処理 [light.h]
// Author : Konishi Yuuto
//
//=============================================================================
//======================================================================... | [
"k.yuutosoccer@gmail.com"
] | k.yuutosoccer@gmail.com |
a061e961adde2758f7939b3d3faf66b9bf93387f | 3d778b8aa1e3c61201181a2a1afb8307502c9726 | /STM32Code/LightController.cpp | 3110824221a58bae0263a112b23549201c669aa6 | [] | no_license | rupin/TrainAlert | f2fb818b74c625808b32a98773836e4b5c5fafc5 | 630b1ad09e8d4409e5dc785eef5e811e0d926ab8 | refs/heads/master | 2020-04-25T09:11:00.897571 | 2019-04-11T05:21:18 | 2019-04-11T05:21:18 | 172,668,718 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,554 | cpp | #include <Arduino.h>
#define LED_COUNT 4
#define LED_SWITCHING_TIME 125
class LightController
{
private:
int LED_PINS[LED_COUNT] = {PB4, PB3, PA15, PA8};
bool debugLEDstate = true;
uint8_t currentLEDIndex=0;
boolean lightsOn=false;
public:
LightController()
{
ui... | [
"noreply@github.com"
] | noreply@github.com |
81a19c174d486d4610165266e0ae0c988adaf81c | 6fbfa5e97954e3c4b0856283fafa810f0c2cc97a | /B-SEARCH.cpp | e1c14401385e7b711049a7ce53d3c67fabc8b089 | [] | no_license | Rhaypapenfuzz/CS3-BINARY-SEARCH-HW5 | 85335972286030f57a85e1f9389fc91e358874f6 | 3a326ebb0a45d3a6a5ca1a10dfadec4009cc3262 | refs/heads/master | 2020-04-24T00:49:44.363158 | 2019-02-20T00:53:50 | 2019-02-20T00:53:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,778 | cpp | /*
PROGRAM DESCRIPTION
Write a program that first generates a 100 member integer array containing the numbers 1 to 100. Then generate a random number between 1 and 100. Next, use the binary search algorithm in your book to search for this number in the array. Once the number is found display the number and the inde... | [
"noreply@github.com"
] | noreply@github.com |
5fd98dc917396a2d8914d1b52617a9826f7a9bdd | 288b9197ee07b546506545629938f5ce5280ecb2 | /src/graphs/Graph.cpp | c67bc69e3895c2e231cfb2a7792b498fc05f9d43 | [] | no_license | Torla/GeneticCompetitiveSalesMan | a520396a6f3bc4113fc0c9c71d5b3996620cb9de | 16a500ed4aee8082a1acbc7662c84f3db72b43c2 | refs/heads/master | 2020-04-22T00:43:30.703443 | 2019-03-11T14:00:16 | 2019-03-11T14:00:16 | 169,990,707 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | //
// Created by munfo on 08/02/2019.
//
#include "Graph.h"
unsigned int Graph::pathCost(const Path * path) const {
unsigned int ret=0;
for(register unsigned int i=0;i<path->size()-1;i++){
ret += (*this)(path->get(i), path->get(i+1));
}
return ret;
}
unsigned int Graph::pathCostCycle(const Path *path) const {
... | [
"marcotorlaschi95@gmail.com"
] | marcotorlaschi95@gmail.com |
e68ca7c817bae96ebdaf07ae9c85509483605d7c | 54a8c7a41d60c2baeaed82ca751f47c0ec616695 | /tigan.ino | 169602e7304b37aed45d455b10d8cbb121ed1104 | [] | no_license | huanglinqing123/Gesture-control | a5d76e313c836049857fbc68bdf72a1998c97340 | cecebecd87a581611afd43af177c34db0a3e3db5 | refs/heads/master | 2021-01-22T04:57:16.244107 | 2017-09-03T15:12:04 | 2017-09-03T15:12:04 | 102,273,013 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,379 | ino |
const int TrigPin1 = 2;
const int EchoPin1 = 3;
int i=5;
int cm1,cm2,cm3;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(TrigPin1, OUTPUT);
pinMode(EchoPin1, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(TrigPin1, LOW); //低高... | [
"1306214077@qq.com"
] | 1306214077@qq.com |
0145a694ed36b61d6ddd899d28851db2694069b2 | d4876d852d32d64391f4eaf67b38a461a219cf73 | /src/GameCuaTao/Castlevania/Utilities/CollisionCell.cpp | d08799285cfaf1a318d612e1f270f99313cb149b | [] | no_license | ngb0511/Castlevania | 1894988743bfcd622e4eb01d13329cffaf31c91a | c2c8a33fcbe9c67cb22b0fe15fbe65b313f0b8aa | refs/heads/master | 2022-03-21T03:16:26.013207 | 2019-10-15T12:55:57 | 2019-10-15T12:55:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | cpp | #include "CollisionCell.h"
using namespace Castlevania;
CollisionCell::CollisionCell(RectF boundingBox)
{
this->boundingBox = boundingBox;
}
CollisionCell &CollisionCell::NullCell()
{
static auto nullCell = CollisionCell{ RectF::Empty() };
return nullCell;
}
void CollisionCell::AddEntity(std::unique_ptr<GameObje... | [
"near.huscarl@gmail.com"
] | near.huscarl@gmail.com |
b9a28a35fbe584a4f8364d37eae4e735d2e0a072 | 54866061343986ac5b1c50150974392e9a9940d3 | /Source/ArchlineCollide/ArchlineCollideGameMode.cpp | 6f0226eabdd115509e306918174dc60cc3153d26 | [] | no_license | Girritin/ArchlineCollide | 284a37db4414ace4596f292229fb5448043701d0 | fa4ecf42af5cd7803fbb98ad6d0b7b6659651257 | refs/heads/master | 2020-06-03T13:19:54.006513 | 2017-06-12T19:02:07 | 2017-06-12T19:02:07 | 94,128,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cpp | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "ArchlineCollideGameMode.h"
#include "ArchlineCollidePlayerController.h"
#include "ArchlineCollideCharacter.h"
#include "UObject/ConstructorHelpers.h"
AArchlineCollideGameMode::AArchlineCollideGameMode()
{
// use our custom PlayerController class
... | [
"waterbender360@yahoo.com"
] | waterbender360@yahoo.com |
dbf3d01f5d948630fa32c05c151405f0fcdf28a1 | 192c0b8cc9499adece796c42d029b6f148b4c47b | /Lab5/Exercise2/taxi.h | 09c81ece4e534fc67abb83044f576e082ff6f475 | [] | no_license | Evan2804/CS264 | 89d3cd6cafb09bea41a3e723aeb9dfe75b2201b8 | 2e02e19aeca8268549b8f8a710f3173cae259e43 | refs/heads/master | 2021-09-03T05:40:45.985989 | 2018-01-06T00:10:04 | 2018-01-06T00:10:04 | 105,060,296 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,532 | h | // Chapter 9 of C++ How to Program
// taxi.h
#ifndef TAXI_H
#define TAXI_H
#include <iostream>
#include "vehicle.h"
// class Taxi definition
class Taxi : public Vehicle {
friend ostream& operator<<( ostream &, const Taxi & );
public:
Taxi( double );
/* Write prototype for hasCustomers */
bool hasCustome... | [
"evan.metcalfe2804@hotmail.com"
] | evan.metcalfe2804@hotmail.com |
2256d337763b25574dac7db214ef9f832e9acc7e | 7e25312040e6e66fc36274764ce5a50becb6aa03 | /source/libcheetah/src/cheetah_extensions_yaroslav/matlabLikeFunctions.cpp | 976df246bed520764fd2b4a13e9502e79a07dad5 | [] | no_license | qpxu007/cheetah | a946c4fa349534aaeddcca5885c423920f296ede | 3fb97a85bd3723fa664b37030d7539f3d390deac | refs/heads/master | 2020-04-26T19:23:53.679504 | 2019-03-04T21:30:37 | 2019-03-04T21:30:37 | 173,773,520 | 0 | 1 | null | 2019-03-04T15:44:29 | 2019-03-04T15:44:28 | null | UTF-8 | C++ | false | false | 401 | cpp | /*
* matlabLikeFunctions.cpp
*
* Created on: 28.06.2016
* Author: Yaro
*/
#include "matlabLikeFunctions.h"
std::vector< float > linspace(float a, float b, uint32_t n)
{
std::vector< float > result(n);
float step = (b - a) / (float) (n - 1);
for (uint32_t i = 0; i <= n - 2; i++) {
resul... | [
"valerio.mariani@desy.de"
] | valerio.mariani@desy.de |
350a0082946149675fa7b942d6b471775ac40999 | c7b3a78cfd1d8d569de13e9eebee3044253c790b | /rEFIt_UEFI/Platform/Utils.h | cf44593ff4661ec29e0fa59290b472182ca4c492 | [
"BSD-2-Clause"
] | permissive | STA-LKER/CloverBootloader | 8c32717d6864e24fc6b182b035822cdb0e1fd02c | 626637762c149827c204c483916634fb604ef06c | refs/heads/master | 2023-04-21T08:04:30.552819 | 2021-05-04T16:23:48 | 2021-05-04T16:23:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,115 | h | //
//All rights reserved. This program and the accompanying materials
//are licensed and made available under the terms and conditions of the BSD License
//which accompanies this distribution. The full text of the license may be found at
//http://opensource.org/licenses/bsd-license.php
//
//THE PROGRAM IS DISTRIBUTED U... | [
"github.com@jfa.knudsen.ovh"
] | github.com@jfa.knudsen.ovh |
f65a7142dd22bdf9c31728503e11e18002dd1cb6 | 01364a2d1b121d1fc74c96d9b98ee8fe07ea5edb | /Source/Basic/WayPasser.cpp | b3cafc85b6d7d7c93d623610ff9b61ccc7076543 | [] | no_license | tamirMoshiashvili/Advance-Prog | d24c9b23d54f9076b253f2410f0be4fc5e924a2c | e169358dabe38fb1b736ed28c5105429992ecbff | refs/heads/master | 2021-01-12T05:08:00.819345 | 2017-01-27T12:10:04 | 2017-01-27T12:10:04 | 77,862,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | cpp | #include "WayPasser.h"
/**
* Constructor.
* @return WayPasser object.
*/
WayPasser::WayPasser() {
numKilometersPassed = 0;
}
/**
* Destructor.
*/
WayPasser::~WayPasser() {
}
/**
* Add a value to the way we passed till now.
* @param num number to increase the value of kilometers passed.
*/
void WayPasser... | [
"norblet82@gmail.com"
] | norblet82@gmail.com |
5551d620b0a5cea179522275f6acee62fdf94dcc | 1999c7b2598f27dd45eb0a5db56396ad12f12fc5 | /Ejercicios/10_ficheros/2_hacer_programas_que_leen_ficheros/0_emptiness.cpp | 841092c842da5786d7104faf1af262d59f261cd8 | [] | no_license | Paynekk/Learning_c_plus_plus | c68d91eb154e3634f3670b69f9660f0285d0d859 | 7925d7a835c18da33c232687779babf6adfd39c9 | refs/heads/master | 2020-06-12T17:29:29.523256 | 2019-09-20T19:25:49 | 2019-09-20T19:25:49 | 194,372,386 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | cpp |
/*
Emptiness
Haz un programa que lee el nombre de un fichero y escribe por
pantalla el tanto por ciento de líneas vacías que contiene ese fichero.
*/
#include <iostream>
#include <fstream>
using namespace std;
int main(){
int contador = 0;
string F;
cin >> F;
ifstream Fichero(F.c_str());
if(Fichero.is_open()){
... | [
"kemse01@gmail.com"
] | kemse01@gmail.com |
065f4a5757df86abb0a0f14c26b4129e755f32bd | 7f62f204ffde7fed9c1cb69e2bd44de9203f14c8 | /DboClient/Tool/ModelTool/ModelToolDoc.cpp | b6cdd3a970b4c4c5316d8e3301ce5684eebd0afa | [] | no_license | 4l3dx/DBOGLOBAL | 9853c49f19882d3de10b5ca849ba53b44ab81a0c | c5828b24e99c649ae6a2953471ae57a653395ca2 | refs/heads/master | 2022-05-28T08:57:10.293378 | 2020-05-01T00:41:08 | 2020-05-01T00:41:08 | 259,094,679 | 3 | 3 | null | 2020-04-29T17:06:22 | 2020-04-26T17:43:08 | null | UTF-8 | C++ | false | false | 3,669 | cpp | // ModelToolDoc.cpp : implementation of the CModelToolDoc class
//
#include "stdafx.h"
#include "ModelTool.h"
#include "ModelToolApplication.h"
#include "ModelToolDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CModelToolDoc
IMPLEMENT_DYNCREATE(CModelToolDoc, CDocument)
BEGIN_MESSAGE_MAP(CModelToolDoc, CDoc... | [
"64261665+dboguser@users.noreply.github.com"
] | 64261665+dboguser@users.noreply.github.com |
be957bee12d16b4d8e1ae7bd3711a827cb737589 | c7af8bde961d846dddd2890b129a7b6bd9e8ccea | /hsl2rgbtest.cpp | e62ff903ed3d5043240a62536f087d56cd746d2e | [] | no_license | linfachen/julia | 285f35cb0dad2fd2683872a193154eceb7f4692c | 956fd8449f7e8c8a83e4b1e31aed5974fb1da5a9 | refs/heads/master | 2020-03-22T18:22:04.418803 | 2018-07-22T15:51:44 | 2018-07-22T15:51:44 | 140,455,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | #include "hsl2rgb.hpp"
#include <stdio.h>
int main()
{
COLOR_RGB rgb={254, 216, 166};
COLOR_HSL hsl;
RGBtoHSL(&rgb, &hsl);
printf("H=%.3f; S=%.3f; L=%.3f\n", hsl.h, hsl.s, hsl.l);
HSLtoRGB(&hsl, &rgb);
printf("R=%d; G=%d; B=%d\n", rgb.r, rgb.g, rgb.b);
return 0;
}
| [
"spinors@163.com"
] | spinors@163.com |
c7c62af128fe06ede9e5ea0f7772ba91666999f3 | 4c452179cf4c22a5e9d8ee4a9d0062ad3d6d0a45 | /ds/db/server.h | 39cbf1dd95fabffe825946bffec9446f8fd90e84 | [] | no_license | sdetwiler/pammo | ed749bdbd150a5665bdabc263005249a821cfa2e | aee306611ae8c681a5f8c03b3b0696e2cf771864 | refs/heads/master | 2021-01-13T01:49:15.414767 | 2015-05-18T22:21:24 | 2015-05-18T22:21:24 | 35,837,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,540 | h | ///////////////////////////////////////////////////////////////
// server.h
//
// Server base class.
//
//
///////////////////////////////////////////////////////////////
#ifndef PS_DS_DB_SERVER_H
#define PS_DS_DB_SERVER_H
#include "../types.h"
#include <string>
///////////////////////////////////////////////////////... | [
"steved@piratestudios.com"
] | steved@piratestudios.com |
14ed58bc070f7270298529a1f6d1a99c77fd1b9e | 583488b9e16ea4f42db999759bed2f8228f799c4 | /calculator/infrastructure/keys/AddKey.h | 66b189ce420c5e6bd17533d0940ddf9bdde13029 | [] | no_license | aeagean/Calculator | 68cfba00078a38757054a51aa2983a8fc3fac365 | dc5771e1ee438ce64adc3566288e9d002277fdfd | refs/heads/master | 2021-06-26T19:02:47.049303 | 2017-07-31T08:14:02 | 2017-07-31T08:14:02 | 97,385,166 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | h | #ifndef ADDKEY_H
#define ADDKEY_H
#include "KeyBase.h"
class AddKey : public KeyBase
{
Q_OBJECT
public:
AddKey();
void setText(QString text);
QString getText();
private:
QString m_keyValueStr;
QString m_text;
};
#endif // ADDKEY_H
| [
"2088201923@qq.com"
] | 2088201923@qq.com |
b9b56f6ccd495a75dee8038c15b7a46211b72ddc | bebc14c2193f94556553c79eedd44e08d55c4013 | /include/boost/static_views/through.hpp | 6228c7c4a48b04bc3e943fc10b3d60a639c6ae1a | [] | no_license | ned14/static-views | 90d83a52e89cb662add5fd1247bfcc04274f6034 | 28302724a6654511e9cec71a0eb4e301a2145ade | refs/heads/development | 2021-01-01T16:38:33.282926 | 2017-08-05T17:05:23 | 2017-08-05T17:05:23 | 97,881,399 | 0 | 0 | null | 2017-07-20T21:56:40 | 2017-07-20T21:56:40 | null | UTF-8 | C++ | false | false | 6,496 | hpp | // Copyright Tom Westerhout 2017.
// 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)
#ifndef BOOST_STATIC_VIEWS_THROUGH_HPP
#define BOOST_STATIC_VIEWS_THROUGH_HPP
#include "algorithm_base.hpp"... | [
"kot.tom97@gmail.com"
] | kot.tom97@gmail.com |
963e5cceefa34826dad45dee89dd665a0b4c19fc | e91ddca7a5f9253b8be9f7d2c0f0fd5dcb910d0b | /betaAimbot.cpp | c31bde42adc878f8f184748de6b22980daa3a4af | [] | no_license | EnScapeZ/Otario.tk | 269fb67676c7919b2c1f3908fb5d41756fad3f11 | 6e380848bca3587d3e896539c9c7bf705dcb1594 | refs/heads/master | 2020-05-23T15:17:40.732373 | 2019-05-15T13:29:38 | 2019-05-15T13:29:38 | 186,823,049 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 32,142 | cpp | #include "betaAimbot.h"
template <class T>
constexpr const T& Minbeta(const T& x, const T& y)
{
return (x > y) ? y : x;
}
template <class T>
constexpr const T& Maxbeta(const T& x, const T& y)
{
return (x < y) ? y : x;
}
template <class T>
constexpr const T& Clampbeta(const T& v, const T& lo, const... | [
"noreply@github.com"
] | noreply@github.com |
7332d58981cd1754d84503fae46ad36e653f9e70 | 3a7023cb7fe00c232d7a049d3ec815638855450f | /dg_setting_long.cpp | 2f31f4d8b2cb44616b6332b11791f8c421869af9 | [] | no_license | jindezhang/Q7fromRD330 | 6ef046d929915bd406791b977133242a2486bfce | af62ab42e1f5e7c7d0a089748b5b300248fafb68 | refs/heads/master | 2020-03-28T20:48:37.056244 | 2018-10-17T08:20:06 | 2018-10-17T08:20:06 | 149,104,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,271 | cpp | #include "dg_setting_long.h"
#include "ui_dg_setting_long.h"
Dg_Setting_Long::Dg_Setting_Long(QWidget *parent) :
QDialog(parent),
ui(new Ui::Dg_Setting_Long)
{
ui->setupUi(this);
setWindowFlags(Qt::FramelessWindowHint | windowFlags());
init_Table();
cmenu = nullptr;
mpshade = init_Shade(t... | [
"1028611544@qq.com"
] | 1028611544@qq.com |
3e7186e6e535615e47138a3c2c035f4a9434bde8 | 92fb40652667481265bceb734cebaf0fe57ec56c | /source/lis3mdl_class.cpp | 46404a13c4c9bf94c0a1bdd361b135cc5623ac03 | [] | no_license | AngelVeraHerrera/x-nucleo-sensors | a60bac19ad32befb50d96b5cc33f808d9ff8296e | 0e1ac0d3f6ebb5a7060b42b886613e20ea42b45f | refs/heads/master | 2021-01-17T01:41:37.934694 | 2015-11-24T07:15:43 | 2015-11-24T07:15:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,684 | cpp | /**
******************************************************************************
* @file lis3mdl_class.cpp
* @author AST / EST
* @version V0.0.1
* @date 14-April-2015
* @brief Implementation file for the LIS3MDL driver class
*****************************************************************************... | [
"wolfgang.betz@st.com"
] | wolfgang.betz@st.com |
5548aa090e5df5c667a9d3bb1bb87d87301c48b4 | b5bf497847bcb5a801717f78361653fa0c675b8f | /Goknar/src/Goknar/Model/Mesh.cpp | 72b4dd554c02b61f30f5944eed40e9eff4c75b24 | [] | no_license | emrebarisc/GGJ2020 | 786b976a4cad922c0611dbde882abe6f9ff5fb79 | 2702da83552b722b5d926c0ade8e562e308e9511 | refs/heads/master | 2020-12-26T11:05:50.803356 | 2020-02-10T20:36:36 | 2020-02-10T20:36:36 | 237,489,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | #include "pch.h"
#include "Mesh.h"
#include "Goknar/Camera.h"
#include "Goknar/Engine.h"
#include "Goknar/Material.h"
#include "Goknar/Scene.h"
#include "Goknar/Renderer/Shader.h"
#include "Goknar/Managers/CameraManager.h"
#include "Goknar/IO/IOManager.h"
#include "Goknar/Renderer/ShaderBuilder.h"
Mesh::Mesh() :
m... | [
"emrebarisc@gmail.com"
] | emrebarisc@gmail.com |
db1fa8fc632f7b63ac1680277e1fea538699eeb0 | 93c967df51334773c2d024f9580f2b0fe4e27550 | /4Delphi/jvcl/examples/JvRunDll32/BCB/RunDLL32Demo.cpp | 9ab2fee22ee471f78c9d1db1d485e8a3dc1f2abb | [] | no_license | kaan3434/gvindelen | 2e847be39413ade1c55342380652d3a8571840dc | 4f8e53ccda19a0f9548ccb13b47556bbade1fcf7 | refs/heads/master | 2020-03-31T00:53:53.817915 | 2015-01-29T08:35:29 | 2015-01-29T08:35:29 | 42,419,453 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
//---------------------------------------------------------------------------
USEFORM("RunDll32MainFormU.cpp", RunDll32MainForm);
USEFORM("InfoFrm.cpp", frmInfo);
//------------------------------------... | [
"gvindelen@25f401a0-76e0-253e-e0f2-f62f10187558"
] | gvindelen@25f401a0-76e0-253e-e0f2-f62f10187558 |
c698c21e5ba311dc6a40848b3fe0856aeb2c1122 | d278b9acce1667a34e0dd306e02776391b7aaeb6 | /vsomeip/test/subscribe_notify_one_tests/subscribe_notify_one_test_service.cpp | 73cfbed5e9be39eeea1efe1b718d277373f8da99 | [
"BSD-3-Clause",
"MPL-2.0",
"BSL-1.0"
] | permissive | MathewRo/some-ip | 26608531d794e7e82c156ed00b912bf906b39b5f | e57f29872dbe69333c7394b077bbdc87ee321dd7 | refs/heads/master | 2020-06-18T05:37:52.857218 | 2019-07-10T10:52:16 | 2019-07-10T10:52:16 | 196,182,158 | 0 | 0 | BSD-3-Clause | 2019-07-10T10:09:08 | 2019-07-10T10:09:08 | null | UTF-8 | C++ | false | false | 22,926 | cpp | // Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <chrono>
#include <condition... | [
"rohitpmathew@yahoo.co.in"
] | rohitpmathew@yahoo.co.in |
e547baab65dcedd8d943312d8200fb9241615b22 | a85b7e0d0f6f10e7cfa3a077d366677e068218e7 | /Cajero automatico.cpp | 33b27e4515a6ed13fdd14fd6d0eb1dc106d0396c | [] | no_license | Dethklok99/Cajero-automatico | 50981b56bc144fad96afb38c6f0519195f16f280 | 110a382ac0600b72429b3aadb841e5d350d4c7d5 | refs/heads/main | 2023-02-27T13:47:39.125797 | 2021-02-11T04:34:54 | 2021-02-11T04:34:54 | 331,202,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,952 | cpp | /*Cajero automatico
Programa desarrollado por Adrian Alains de la Cruz Ventura 1° A Modo Sabatino*/
#include<iostream>
#include<conio.h>
#include<stdlib.h>
#include<fstream>
using namespace std;
void Saldo();
void Retiro();
void Cargar();
void Recibo();
void Salir();
//Definimos las variables
float saldo_inicial = ... | [
"noreply@github.com"
] | noreply@github.com |
57bdcd0ce31a06041c73257031f6188c6b8f10dd | d5f9e54280cc8eadbef91a188c8b36a09c2c1603 | /flatbuffers/samples/monster_generated.h | 48ca9818d3a5dbc71f97e481ce44b3c50523bace | [
"Apache-2.0"
] | permissive | cmidt-veasna/SwiftFlatbuffer | d43b95533321fed29a98cd5f891491f841d11c74 | 537e7bca8c04708a9af8a5225d245440127ab923 | refs/heads/master | 2021-01-17T09:37:02.908749 | 2018-09-02T07:16:47 | 2018-09-02T07:16:47 | 83,991,407 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 19,221 | h | // automatically generated by the FlatBuffers compiler, do not modify
#ifndef FLATBUFFERS_GENERATED_MONSTER_MYGAME_SAMPLE_H_
#define FLATBUFFERS_GENERATED_MONSTER_MYGAME_SAMPLE_H_
#include "flatbuffers/flatbuffers.h"
namespace MyGame {
namespace Sample {
struct Vec3;
struct Monster;
struct MonsterT;
struct Weapo... | [
"sreng.veasna@gmail.com"
] | sreng.veasna@gmail.com |
6cfda5a6ba0ca76c7e3891ab86981469a250104d | 9b48a13ab8cf632364c77f024654af1dee3b0301 | /chrome/browser/ui/views/toolbar/chrome_labs_bubble_view.cc | 7321f4bf700224496e27cdc8c029d87e4c31c212 | [
"BSD-3-Clause"
] | permissive | liwanfei999/chromium | d7e46041bf620288c578db5e2c8f093f7ece5dbc | 52e63f36625b18083a37d8f6483aa34abbdc52d6 | refs/heads/master | 2023-02-21T08:55:23.957058 | 2021-01-28T11:07:00 | 2021-01-28T11:07:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,919 | cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/toolbar/chrome_labs_bubble_view.h"
#include "base/bind.h"
#include "base/metrics/histogram_functions.h"
#include "chrome... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
80dca49a23cb15a03dda853b63323192ab9b193c | 0862de3e8742676e95928399ae12be2aa27c4a4e | /Library/Il2cppBuildCache/WebGL/il2cppOutput/UnityEngine.CoreModule1.cpp | a323b9ce428e12d067185d999b41b77472034b47 | [
"Apache-2.0"
] | permissive | mangelhoyos/Broken-Line | 21281c662375a6f352ab67e08cbbbbcdcd73305d | 021f8b658c904d16876bb4cee3bca86dd03c018d | refs/heads/main | 2023-07-10T04:06:26.105540 | 2021-08-18T19:36:54 | 2021-08-18T19:36:54 | 397,706,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,525,572 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const Virt... | [
"myshash101@hotmail.com"
] | myshash101@hotmail.com |
6f84779cd4df881fe82096797a87317699049839 | b247cc2f479b19a1ada99f14fc4eb9bc7dd87987 | /components/v9Decoder/Effects.cpp | 9504d28fed75ac0760dc63a3d2c328189cbfc6d3 | [] | no_license | mwm126/myflexus | c36184664bde873c0127b195f41798a8ca666eba | 45ce6f24b5a21db49289f6460e2625a210463858 | refs/heads/master | 2021-01-10T19:58:18.326246 | 2015-05-25T10:35:16 | 2015-05-25T10:35:16 | 33,780,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,415 | cpp | // DO-NOT-REMOVE begin-copyright-block
//
// Redistributions of any form whatsoever must retain and/or include the
// following acknowledgment, notices and disclaimer:
//
// This product includes software developed by Carnegie Mellon University.
//
// Copyright 2012 by Mohammad Alisafaee, Eric Chung, Michael Ferdman, ... | [
"mwm126@gmail.com"
] | mwm126@gmail.com |
fc9ebfd306d68b99aa75a6e8f23716a9616cd5b7 | fa47591f10c8fd115fa1e13e3f5cd9278735a782 | /C++byExample/Arithmetic/arith4.cpp | c1637d2d7031a97ffba3fbcd2f5fc2ef4563f649 | [] | no_license | xiaoronglv/Practice-Cplusplus | 703d7a65eb50d529e7b3c99cc5926b54bb2a9267 | 24c2f51ee619a523253db19fb4d595a31cf8fe08 | refs/heads/master | 2020-07-13T16:34:02.121796 | 2019-10-28T06:41:46 | 2019-10-28T06:41:46 | 205,115,469 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | cpp | #include <iostream>
using namespace std;
int main()
{
int b;
cout << b << endl; // Print not initialized variable"
b = 30;
cout << b << endl;
return 0;
}
| [
"xiaorong.ruby@gmail.com"
] | xiaorong.ruby@gmail.com |
115439a357acce282c4518e2761809ace72b2c2b | 1791461e6740f81c2dd6704ae6a899a6707ee6b1 | /HSAHRBNUOJ/P10xx/P1041.cpp | 83988ff85269cd80ea48a54b46492e009a123124 | [
"MIT"
] | permissive | HeRaNO/OI-ICPC-Codes | b12569caa94828c4bedda99d88303eb6344f5d6e | 4f542bb921914abd4e2ee7e17d8d93c1c91495e4 | refs/heads/master | 2023-08-06T10:46:32.714133 | 2023-07-26T08:10:44 | 2023-07-26T08:10:44 | 163,658,110 | 22 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,462 | cpp | #include <cstdio>
#include <climits>
#include <iostream>
#define MAXN 500
using namespace std;
struct node
{
int father;
bool kill;
int num;
int lev;
};
node a[MAXN];
bool g[MAXN][MAXN] = {false};
int number[MAXN][MAXN] = {0};
int ans = INT_MAX, maxdep = 0;
int n, p, flag1, flag2, i;
void Build_A_Tree(int k)
{
... | [
"heran55@126.com"
] | heran55@126.com |
ca05bceb3adb4b15d6bb703c5180068690a2848d | ebf7654231c1819cef2097f60327c968b2fa6daf | /message/message_struct/Base_Struct.h | 29a346a28609b5fc3c52480e7f03ec3ba512da9e | [] | no_license | hdzz/game-server | 71195bdba5825c2c37cb682ee3a25981237ce2ee | 0abf247c107900fe36819454ec6298f3f1273e8b | refs/heads/master | 2020-12-30T09:15:17.606172 | 2015-07-29T07:40:01 | 2015-07-29T07:40:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,334 | h | /*
* Generate by devtool
*/
#ifndef _BASE_STRUCT_H_
#define _BASE_STRUCT_H_
#include "Block_Buffer.h"
#include <cstring>
struct Base_Msg {
uint32_t msg_id;
Base_Msg(void) : msg_id(0) {}
};
/* Base_Struct */
struct Coord {
enum Coord_Type {
GRID_TYPE = 0,
PIXEL_TYPE = 1
};
uint16_t x;/**/
uint16_t y;/**... | [
"zuti@avatarworks.com"
] | zuti@avatarworks.com |
f0bf5a94ea56cccc78f7859af1d3dc9e10740240 | 91827e46ac3f3ebe143ed9e89fc8759085302d19 | /black_belt/utils/xml.cpp | 8f668ca55162686467938e7b9eb7f1df8081b014 | [] | no_license | ViktorRoy94/yandex_belts | d04f48ff0bf54bfc50479beed380cb86588d21dd | 4e7db1b62f25cb6dca90a0db23245ef4f997cf8e | refs/heads/master | 2021-06-30T15:59:55.222453 | 2021-06-17T13:43:05 | 2021-06-17T13:43:05 | 241,591,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,144 | cpp | #include "xml.h"
#include <string_view>
#include <iostream>
using namespace std;
namespace Xml {
pair<string_view, string_view> Split(string_view line, char by) {
size_t pos = line.find(by);
string_view left = line.substr(0, pos);
if (pos < line.size() && pos + 1 < line.size()) {
return {left, l... | [
"viktor.roy@nortekcontrol.com"
] | viktor.roy@nortekcontrol.com |
79dd4f84336ddb0297fc8d50a2f2f1ec0feb8f9d | d20cf7de868dfb2c53578a70d0dda21306167d72 | /data/raw/train/student_61/2317/2316/ManagerJoc.cpp | 90b464d706eea84e889231f09dee2c0fd25bd50f | [] | no_license | bulacu-magda/Alemia | 905a84ca79157fb657eb424e337b0303fd3323bd | 0fd019c4517064d300399feb94dbcb0f467e8d48 | refs/heads/main | 2023-03-01T17:41:08.788500 | 2021-02-05T08:00:35 | 2021-02-05T08:00:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,941 | cpp | #include "ManagerJoc.h"
#include <iostream>
#include "Jucator.h"
#include <string>
#include <fstream>
#include "ConsoleOutput.h"
#include "Soare.h"
#include <Windows.h>
#include "ConsoleInput.h"
#include <time.h>
#include "Peashooter.h"
#include "Sunflower.h"
#include "Wallnut.h"
#include "Pea.h"
#include "Zombie.h"
#i... | [
"ionutm.bajan@yahoo.com"
] | ionutm.bajan@yahoo.com |
f0624022137f75c1d6029443a1d690aaa0443d7c | cd0b9e5892764752012ca2c771fce2d0b82046c5 | /muduo/timer/tests/Timer_test.cpp | fb8dc0d4fd01779060b6c5604ac3d65971ed67a7 | [] | no_license | ccliuyang/muduo14 | 7cbcca9b732fb29f463933bde8baeb979c822999 | 8e766a68a5289b2d30960c8b9d8a4fd73e594b9c | refs/heads/master | 2020-06-04T04:51:36.509102 | 2017-09-12T03:05:34 | 2017-09-12T03:05:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | cpp |
#include <muduo/timer/Timer.h>
#include <iostream>
#include <muduo/base/ChronoTimestamp.h>
using namespace std;
using namespace muduo::net;
using namespace muduo;
void f1()
{
cout << "f()...\n";
}
void f2()
{
cout << "f2()...\n";
}
int main()
{
Timer t1(f1,ChronoTimestamp::now(), 3);
Timer t2(f2,... | [
"slamcode@foxmail.com"
] | slamcode@foxmail.com |
15e0814de93516e9e7ac112ffdfc6350627b451c | af44cf03d041a79091cceb45276a9f40e7eba2fe | /simconnect/tcp_connection.h | d948ecb78094de866ae1ef12a60af0b1dc729987 | [] | no_license | labinxu/wcode | 068b07f9c02c2f32221701e62e86e0c3dec75eb7 | ed20dff0ff7bfebd036c3f83e2185fce65eaab5a | refs/heads/master | 2021-01-11T17:00:58.147263 | 2019-03-14T09:49:26 | 2019-03-14T09:49:26 | 68,826,099 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | h | #ifndef TCP_CONNECTION_H
#define TCP_CONNECTION_H
#include <cstddef>
#include <ctime>
#include <string>
#include <iostream>
#include <iterator>
#include <algorithm>
#include <vector>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/thread.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/enable_s... | [
"laibin.xu.ext@nokia.com"
] | laibin.xu.ext@nokia.com |
355ec7d7e89d23444370b727305e70424a8a11f6 | 66e45162ab219f75068784ef706984747bf02562 | /numbersGame/image.h | 9f6ad1c402ef32ae61cfe726230db2a280d90424 | [] | no_license | amrkebesh/NumbersGame | 1ea46638f7957eb5da35be4ddfc886a2191ab765 | e59e7c6977e848347cce401cc6c82287d36189f9 | refs/heads/master | 2020-05-19T23:30:03.354451 | 2019-05-06T20:41:14 | 2019-05-06T20:41:14 | 185,268,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | h | #include <cstdlib>
#include <cstdio>
#include <cmath>
#include <string>
#ifndef IMAGE_H
#define IMAGE_H
struct RGB
{
unsigned char red;
unsigned char green;
unsigned char blue;
};
class Image
{
private:
RGB pixels[2048][2048];
int width ;
int height ;
public :
Image (std::string);
void display (int , int );
};
#endi... | [
"amr_kebesh@hotmail.com"
] | amr_kebesh@hotmail.com |
8c5b159f8862df753635238e789b875050eb7dca | 0601303fb8e2e2b43dc4fb90059754d6a06bc78e | /mapFunctions.cpp | 450a5b8191816bf437e6949b828e568c0d919c1a | [] | no_license | itancio/werewolf | bb17fded96b06647522e54e37fa301631efb56f3 | 639bce85167e65aa17d90d7ec77f5ca914cd0209 | refs/heads/main | 2023-07-16T03:04:36.116601 | 2021-09-04T07:36:17 | 2021-09-04T07:36:17 | 400,405,538 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,763 | cpp | /*
* Group Members: Christian Davis, Irvin Tancioco, Jessie Martinez
*/
// DO NOT CHANGE OR REMOVE THE FOLLOWING LINES
#ifndef __DEFINE_MAP_FUNCTIONS_CPP__
#define __DEFINE_MAP_FUNCTIONS_CPP__
#include <cstring>
#include <fstream>
#include <iostream>
using namespace std;
#include "utilityFunctions.cp... | [
"noreply@github.com"
] | noreply@github.com |
a72caead13778acbdc5f9630d6a8405e61308ade | 3deede6aae27a9844a7396a19f3ff82ef4bb6dbe | /server/tf/player_vs_environment/tf_populator_interface.cpp | 2d0078f2f98d5633cb45e652c73d8da68cc77a3d | [] | no_license | sigsegv-mvm/mvm-reversed | 2c1865af00253476887c74c9dd5993f7b26a879d | a466a2d5805230cadb7e09650f915bdcd40bc0d7 | refs/heads/master | 2020-05-21T04:51:36.421141 | 2018-11-25T03:44:45 | 2018-11-25T03:51:49 | 44,028,189 | 39 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 144 | cpp | /* reverse engineering by sigsegv
* based on TF2 version 20151007a
* server/tf/player_vs_environment/tf_populator_interface.cpp
*/
| [
"sigsegv@sigpipe.info"
] | sigsegv@sigpipe.info |
7c303630c5e7ac70698e94e611abe3875638c6ad | f3105aa4b43a618f59e662c6907082dd782ea024 | /acmicpc.net/1934_최소공배수.cpp | ac7c70ad3b6cc117be53bb32b544733470610d05 | [] | no_license | inchoel/DailyCoding | b23b2524d7d5a45ea42c036727661bd759875e39 | 9d1291586ab8afea9866237002c3c64aedf8e855 | refs/heads/master | 2021-06-01T16:19:08.999296 | 2020-08-24T08:22:00 | 2020-08-24T08:22:13 | 109,554,116 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | cpp | #include <cstdio>
#include <vector>
using namespace std;
int gcd(int a, int b) {
int c;
while (b!=0) {
c = a % b;
a = b;
b = c;
}
return a;
}
int main(void) {
vector<int> ans;
int t, a, b;
scanf (" %d", &t);
while (t--) {
scanf (" %d %d", &a, &b);
ans.push_back(a*b/gcd(max(a, b),... | [
"inchoel.lee@gmail.com"
] | inchoel.lee@gmail.com |
a682d1cac97bc3111395f305fd92f5bdfccdeae5 | 8bc4ad527b31cef37523e704343e01c0f4ea07b6 | /TileNode.h | 400febfc83cadbfdca20c9c26893670af8cb5fd5 | [] | no_license | davidkevork/COSC1076-A2 | cbdcc1c1f4eaf3dd125ed6053b0c7cb6ed8a7bc4 | 8961fe90a86095ad01f1bab8de4776dfa3e25f3e | refs/heads/master | 2022-09-02T07:15:26.911494 | 2020-05-22T10:41:30 | 2020-05-22T10:41:30 | 253,352,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,833 | h | #ifndef TILE_NODE_H
#define TILE_NODE_H
#include "Tile.h"
/**
* @brief
* Data structure for nodes in the TileLList.
* Each node contains a pointer to it's tile
* and a pointer to the next tile in the linked list.
*/
class TileNode
{
public:
/**
* @brief Construct a new Tile Node object
... | [
"davidkevork@gmail.com"
] | davidkevork@gmail.com |
eacf1b3a78920786f52905ae728c66d939e42cad | 2f3c96f21d6d61cac130b4e17e74bc173eafe579 | /programming_challenges/problem_sets/6/a.cpp | 120660480bf1f2d568b4ebec511da2c0dd4d2960 | [] | no_license | thequinneffect/t32020 | 90b817b245cf1025bf3a90ded7240f9c885ef766 | e1aa3cf89367f2d016fd13cc2694a6d58f9b6e82 | refs/heads/master | 2023-01-29T14:23:37.739273 | 2020-12-09T06:41:44 | 2020-12-09T06:41:44 | 295,592,793 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,691 | cpp | #include <iostream>
#include <cstdio>
#include <queue>
#include <vector>
#define MAXN 1000
#define MAXV MAXN*MAXN
using namespace std;
typedef pair<int, int> pii;
typedef pair<int, pii> edge;
int n, r, c;
int maze[MAXN][MAXN];
int seen[MAXN][MAXN], dist[MAXN][MAXN];
priority_queue<edge, vector<edge>, greater<edge>> p... | [
"n_quinny12@hotmail.com"
] | n_quinny12@hotmail.com |
8c9ecfb51721ab9a4362826d34c58e2c811af760 | 9228d266b854a8767b2c3dd9f51a6cc07a9daf5e | /Source/Lutefisk3D/UI/View3D.cpp | bb87cf1f69bcd89f06a6dc9fb90f9cca85b6ff5d | [
"Apache-2.0",
"BSD-2-Clause",
"Zlib",
"MIT",
"LicenseRef-scancode-khronos",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Lutefisk3D/lutefisk3d | 9dfed84ab853134846ab9acf3c2fae419ec102f3 | d2132b82003427511df0167f613905191b006eb5 | refs/heads/master | 2021-10-19T03:58:00.025782 | 2019-02-17T18:14:49 | 2019-02-17T18:14:49 | 37,516,913 | 3 | 1 | NOASSERTION | 2018-10-20T12:51:56 | 2015-06-16T08:10:08 | C++ | UTF-8 | C++ | false | false | 4,666 | cpp | //
// Copyright (c) 2008-2016 the Urho3D project.
//
// 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, m... | [
"nemerle5@gmail.com"
] | nemerle5@gmail.com |
9e6118786418fee61d5f3850dd847d6f3187f882 | 54b9ee00bcd582d56853ddb90be5cfeb0c29ba29 | /src/platform/toft_system_net_domain_resolver.cc | 774bd0ee1fdb67663bd86242df6243cdce9b808d | [
"BSD-3-Clause"
] | permissive | pengdu/bubblefs | 8f4deb8668831496bb0cd8b7d9895900b1442ff1 | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | refs/heads/master | 2020-04-04T19:32:11.311925 | 2018-05-02T11:20:18 | 2018-05-02T11:20:18 | 156,210,664 | 2 | 0 | null | 2018-11-05T11:57:22 | 2018-11-05T11:57:21 | null | UTF-8 | C++ | false | false | 3,846 | cc | // Copyright (c) 2011, The Toft Authors.
// All rights reserved.
//
// Author: CHEN Feng <chen3feng@gmail.com>
// Created: 10/27/11
// Description:
// toft/system/net/domain_resolver.cpp
#include "platform/toft_system_net_domain_resolver.h"
#ifndef _WIN32
#include <netdb.h>
#endif
#include <algorithm>
#include "pla... | [
"691225916@qq.com"
] | 691225916@qq.com |
5d28d32aa192f59b659950b7655e87844c7e5bfe | b4ca17baec637525eaf7d454cee9c7185a9136b4 | /Pyre/src/Pyre/Core/Layer.hpp | 20082d16ee94f09f0c9916bce9e7444dd6d64933 | [
"Apache-2.0"
] | permissive | wexaris/Pyre | b04ba06b8fac16747d1509e39ef6ed5d2fafb05e | 9f4c1e64a2eeffd11f09ba9396d44c8b7e70f2b4 | refs/heads/master | 2020-12-01T22:30:19.218152 | 2020-07-02T14:36:33 | 2020-07-02T14:36:33 | 230,792,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | hpp | #pragma once
#include "Pyre/Core/Drawable.hpp"
#include "Pyre/Events/Event.hpp"
namespace Pyre {
class Layer : public Drawable, public ImGuiDrawable {
public:
Layer(const std::string& name = "Layer");
virtual ~Layer() = default;
virtual void OnAttach() {}
virtual void OnDetach... | [
"rainersvorza@gmail.com"
] | rainersvorza@gmail.com |
b97c6b7cba13b6a7a77066d5480755a159388722 | ff80ffc5a5cef4ccd60430a09e41ea724ffc77a6 | /fitness/results.cpp | 69d2bbbdb2db6b965e30722cb3b492de8fc52415 | [
"MIT"
] | permissive | fQuinzan/Resampling-vs-Recombination-a-Statistical-Run-Time-Estimation. | 493f0a6393255ac7ead90bbbcb4281ee328c09a5 | e47533a126815601fbc5608ec3d93b8f60d72999 | refs/heads/main | 2023-04-04T17:46:29.290468 | 2021-04-23T14:19:52 | 2021-04-23T14:19:52 | 360,908,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | cpp | //
// results.cpp
// Reeval
//
// Created by Francesco Quinzan on 26.10.15.
// Copyright © 2015 Francesco Quinzan. All rights reserved.
//
#include "results.hpp"
#include "table.hpp"
using namespace std;
/* adds element to the table */
void results::add(double value){
results::data.RESIZE(data.GET_N_ROW()+1... | [
"noreply@github.com"
] | noreply@github.com |
326a36ea60671e69d08030c4c00b4fa895335a69 | 9365bbf30d3caf6da0c74531ad9ac77e5dd590bb | /Codigos/6-Filtragem_no_domínio_espacial_II/Exemplo do professor/addweighted.cpp | a64264ecf0a4ea9471fbdc3528d6250a30f6baf4 | [] | no_license | cassiox7/cassiox7.github.io | 725e0a871aa42207186e8adf07cdf038781f804c | e9a1bfafb8faa06e7bd3691a73b28b3e7b9bd2d9 | refs/heads/master | 2021-07-06T16:20:23.499984 | 2019-04-10T21:40:45 | 2019-04-10T21:40:45 | 147,033,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | cpp | #include <iostream>
#include <opencv2/opencv.hpp>
using namespace cv;
using namespace std;
double alfa;
int alfa_slider = 0;
int alfa_slider_max = 100;
int top_slider = 0;
int top_slider_max = 100;
Mat image1, image2, blended;
Mat imageTop;
char TrackbarName[50];
void on_trackbar_blend(int, void*){
alfa = (doub... | [
"cassiox7@gmail.com"
] | cassiox7@gmail.com |
e5ab759998d11c7a939d70026fdb29eae8895bef | 0ba447ad10da4415235a4aef88f8a33fa3ac85d6 | /OLD/forTOI/otog7.cpp | 1b5d9c79612a9db19e7a1faecef6efe69561c949 | [] | no_license | jojoclt/C | 9aeef9364c17284446cacf7ca2222af5fe5062ad | 30fd09812c6436b28adf742347cb54947ba6a9d7 | refs/heads/master | 2023-01-08T01:50:29.555281 | 2023-01-05T15:19:34 | 2023-01-05T15:19:34 | 174,821,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | #include <bits/stdc++.h>
using namespace std;
struct cube{
int x,val;
bool operator < (cube t) const{
return val > t.val;
}
};
int n,m,cnt = 1e9;
int i,j;
int a[20][20];
int main(){
cin >> n >> m;
for (i = 0; i < n; i++)
for (j = 0; j < m; j++)
cin >> a[i][j];
for (i... | [
"Chalanthorn_jojo@Hotmail.com"
] | Chalanthorn_jojo@Hotmail.com |
f7601464e5e74b7b2535524c2f67e06b93a315f3 | 9235120551ec01d4406db645e616522e79d703e9 | /lib.old/protocols/HttpProtocol.cpp | d930432b069fac47affdc70a96fa2ea2b3a888ab | [] | no_license | googollee/libdownload | 6173e929de7f79a798b59c396d2b9ad2e0c9d6de | 32e5d666c2742397d0200062d13353efccd290f4 | refs/heads/master | 2020-04-02T12:28:53.383347 | 2009-09-11T09:51:23 | 2009-09-11T09:51:23 | 1,118,542 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,657 | cpp | /**
* HttpProtocol Structure Map:
*
* +----------------------+
* | HttpProtocolData |
* +----------------------+
* |CURLM *handle |
* +-------|int running |
* | +----------------------+
* ... | [
"Googol@.(none)"
] | Googol@.(none) |
982d04fe2755016f91abdc9b0cab9e4d71c392b4 | a84b013cd995870071589cefe0ab060ff3105f35 | /webdriver/branches/jsapi/third_party/gecko-1.9.0.11/win32/include/nsIDOMHTMLDivElement.h | 58240dff53fe950caf583599e816c826e189ca69 | [
"Apache-2.0"
] | permissive | vdt/selenium | 137bcad58b7184690b8785859d77da0cd9f745a0 | 30e5e122b068aadf31bcd010d00a58afd8075217 | refs/heads/master | 2020-12-27T21:35:06.461381 | 2009-08-18T15:56:32 | 2009-08-18T15:56:32 | 13,650,409 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,322 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/xr19rel/WINNT_5.2_Depend/mozilla/dom/public/idl/html/nsIDOMHTMLDivElement.idl
*/
#ifndef __gen_nsIDOMHTMLDivElement_h__
#define __gen_nsIDOMHTMLDivElement_h__
#ifndef __gen_nsIDOMHTMLElement_h__
#include "nsIDOMHTMLElement.h"
#endif
/* For IDL files th... | [
"simon.m.stewart@07704840-8298-11de-bf8c-fd130f914ac9"
] | simon.m.stewart@07704840-8298-11de-bf8c-fd130f914ac9 |
cdf0d9b47d7dce9a2190764cef2bc3f2c6529e9c | c8b3533b9efc8d76345148c30589426deafddf06 | /Week 6/Prof Codes/IO_Operators_Code/StudentIO.cpp | 52e917be2c8341bdf64a0399efdc263f105cc519 | [] | no_license | shersingh7/OOP244 | 7ff3c7b541fa17447b5041cf7c3583038be34c2e | 11f93f35b9edebcd545c64d8b2ea91d5bb52e378 | refs/heads/main | 2023-03-31T00:03:13.229330 | 2021-03-23T12:38:52 | 2021-03-23T12:38:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,181 | cpp |
#include "StudentIO.h"
#include <cstring>
/* implementations of two helper functions
- Note: You may omit "std::" if you have included "using namespace std;".
*/
std::ostream& operator<< (std::ostream& os, const StudentIO& person) {
person.write(os); // member function call with a Student... | [
"66485246+shersingh7@users.noreply.github.com"
] | 66485246+shersingh7@users.noreply.github.com |
857b199196691924ea586ee68137f451210f52a3 | 9a738fca238878462f0e743a35b66ccbda02a8c3 | /yhge/Components/ComponentInterface.h | d42f441ef265bb82c940be77b5cff1d0875a6f66 | [] | no_license | trarck/yhge | 10c67e33c1a63e78c450b99a8d415495cac7285b | d552b3afdb7abf19f6aa2977def6cb202737fc4c | refs/heads/master | 2020-06-06T09:23:00.391378 | 2013-12-26T01:44:24 | 2013-12-26T01:44:24 | 3,649,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | h | #ifndef YHGE_COMPONENTS_COMPONENTINTERFACE_H_
#define YHGE_COMPONENTS_COMPONENTINTERFACE_H_
#include "cocos2d.h"
#include <yhge/YHGEMacros.h>
NS_CC_YHGE_BEGIN
class ComponentInterface : public CCObject
{
public:
~ComponentInterface(){};
virtual bool setup(void)=0;
virtual bool cleanup(void)=0;
};
NS_CC_YHGE_END
... | [
"trarck@gmail.com"
] | trarck@gmail.com |
c0694937e5471c5b1f352d4392b3b371482c456f | ca067a3e0c4ebe050435674ace23fbcafb1eec43 | /controllers/behaviors/homingtofoodbeaconbehavior.cpp | 9e1600c23b4a69aacc4dfdd3e3969771a8dc8a7c | [] | no_license | hksaperstein/faultdetection-circle | 7e20a645adbcc5bed20e263d247950df6d945712 | c8574cab4b15bf97a901c0979f6f3eb9f1ae8073 | refs/heads/master | 2023-04-22T02:57:24.848879 | 2021-05-12T03:09:09 | 2021-05-12T03:09:09 | 363,707,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,141 | cpp | #include "homingtofoodbeaconbehavior.h"
/******************************************************************************/
/******************************************************************************/
CHomingToFoodBeaconBehavior::CHomingToFoodBeaconBehavior(UInt8 BeaconData, Real MAX_BEACON_SIGNAL_RANGE)
{
m_iB... | [
"daneshtarapore@gmail.com"
] | daneshtarapore@gmail.com |
ceb2f4f88d83ebc3ac0276a6de579d988f00e0e5 | 19bdbf780bd76d1235db02ab9e933e37b4cfbde0 | /third_party/fmt/test/test-main.cc | 8db257d60ba4d7977a1058f433640632accc8254 | [
"MIT",
"LicenseRef-scancode-object-form-exception-to-mit",
"LicenseRef-scancode-free-unknown",
"Python-2.0"
] | permissive | 0vercl0k/clairvoyance | 866d1f0809f77cd88988ba5198446fd95ac5e712 | de49f0f9c9b046fc8b2c3afd87792c8b8e11061c | refs/heads/main | 2023-03-17T12:44:13.273446 | 2020-12-25T08:56:41 | 2020-12-25T08:56:41 | 320,636,476 | 283 | 21 | MIT | 2021-03-16T01:55:51 | 2020-12-11T17:11:42 | C++ | UTF-8 | C++ | false | false | 1,197 | cc | // Formatting library for C++ - test main function.
//
// Copyright (c) 2012 - present, Victor Zverovich
// All rights reserved.
//
// For the license information refer to format.h.
#include <cstdlib>
#include "gtest.h"
#ifdef _WIN32
# include <windows.h>
#endif
#ifdef _MSC_VER
# include <crtdbg.h>
#else
# defin... | [
"noreply@github.com"
] | noreply@github.com |
6a58d04cc273bc2e1353c4372523878171382a90 | 8528860bfa4e51d5fb5d35464a321fa88b27abc3 | /meta-heuristics-1.3/.Keka-8ACACB48-0237-4B36-8E73-D375AF5572E6/eda/edaSource.cpp | 186dfaca0328ff5682d9c0550bc0a1855aa546bb | [] | no_license | mohcicin/metaheuristics | d9fd28bac54f401d89cd0800136b9a7c65a6fd32 | a112870b98626e35545f89a44898baadf0dba43d | refs/heads/master | 2021-05-01T07:54:56.274119 | 2016-04-26T00:51:17 | 2016-04-26T00:51:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,658 | cpp | #include "edaDefine.h"
#include "edaSearch.h"
#include "edaSerialize.h"
#include "edaSynthCollect.h"
#include "edaEliteCollect.h"
#include "edaIDCollect.h"
#if COMM_MPI
#include "edaMpiWorkflow.h"
#include "edaMpiWorker.h"
#else
#include "edaSeqWorkflow.h"
#include "edaSeqWorker.h"
#endif
#include "e... | [
"tieuminh2510@gmail.com"
] | tieuminh2510@gmail.com |
69def92496310105eba23b7559f05521242cc13d | 24711382d52daf68419628faef7461f38225c4ee | /nf/pin/counts.cpp | 13b4b421d2c51a2fa6d489eea6ed790edf1b3f14 | [] | no_license | qiaokang92/bolt | 88b24f7e8111f0c139d8ed7e647147ba006333c2 | 2dc8d1e5baf51daa244a883b4507cd14ed92c4f2 | refs/heads/master | 2022-02-18T09:29:49.005906 | 2019-08-05T18:58:23 | 2019-08-05T18:58:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,013 | cpp | #include "pin.H"
#include <iostream>
#include <fstream>
#include <string>
// This is more or less copied from the pintool examples
ofstream trace;
static bool is_counting = false;
static UINT64 instr_count = 0;
static UINT64 mem_count = 0;
typedef struct {
unsigned long ip;
std::string function;
std::string as... | [
"necto.ne@gmail.com"
] | necto.ne@gmail.com |
62d622e52326d7de555b795bf7b40d8e70170a05 | 79527ac7914b37d8cd6faebb0ffae0e700a98bb6 | /SlimDXc_Jun2010(VC++2008)/source/direct2d/DrawingStateDescription.h | 899825c43350fdbd182972073a1e703f438844ad | [
"MIT"
] | permissive | hugetiny/DTXManiaXG-verK | 2f2cb7c5ba405b8252b7eef9365d9ae53b8b1a81 | b19611208d45c40bf3d48d7084e05faea920ee92 | refs/heads/master | 2022-10-11T13:55:45.313428 | 2016-08-18T13:15:50 | 2016-08-18T13:15:50 | 243,325,915 | 1 | 0 | null | 2020-02-27T21:25:02 | 2020-02-26T17:40:04 | C++ | UTF-8 | C++ | false | false | 1,459 | h | /*
* Copyright (c) 2007-2010 SlimDX Group
*
* 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, publis... | [
"gennsou76573@gmail.com"
] | gennsou76573@gmail.com |
58d1217064ff61e516d6f5abea323a3ee8a74ff0 | f4f7034344d4419d8cccbecb4e4c22baf532ef44 | /COR/Common/Range.h | ca4762a03ea1dc5498e46e1a9bc6c29f3533f347 | [] | no_license | TheEndeavor/Sample-Math | 7b622573b165e05dd365d8d83d551e05d5e1493f | 2f3e0ff0d555c12587a0267171f3fc4fcd29158c | refs/heads/master | 2021-01-23T08:24:40.512953 | 2017-09-05T19:30:27 | 2017-09-05T19:30:27 | 102,520,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,091 | h | #pragma once
#include "COR\Types.h"
#include "COR\Math\Math.h"
namespace CommonObjectRepository
{
template <typename TYPE>
class RangeBase
{
protected:
TYPE startPoint;
TYPE endPoint;
RangeBase(const TYPE& start, const TYPE& end);
RangeBase(const RangeBase<TYPE>& toCopy);
RangeBase<TYPE>& operator=(c... | [
"you@example.com"
] | you@example.com |
5d120bb4858cce3c0a940ac3226ee1dd68be796b | e2920b442fbd03877b971f475795ca7426cf9788 | /MyRichText/MainWindow.cpp | 35fd537aa4ecd7e8acd2cf7d66b6445458d79361 | [] | no_license | Iceberry-qdd/Qt-practice | 653557aff0539122577daa1f325f40cb46de5da8 | 0bf8c3d31c319c26843c26b51b92797c95b225b8 | refs/heads/master | 2023-02-23T18:54:47.385261 | 2021-01-29T11:43:59 | 2021-01-29T11:43:59 | 334,128,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | #include "MainWindow.h"
#include<QTextFrame>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
QTextDocument* document = ui.textEdit->document();
QTextFrame* rootFrame = document->rootFrame();
QTextFrameFormat format;
format.setBorderBrush(Qt::red);
format.s... | [
"qddwork@outlook.com"
] | qddwork@outlook.com |
ef2c93293ed07d3188f1e5bf04ab9d516210bbff | f0749232d54f17e3c321b0b90daaeb23b9faec82 | /Online Judge Code/[Other] Online-Judge-Solutions-master_from github/SGU/527 - Explode 'Em All.cpp | d3c142b0f0a49f76980bc5bf5cbead27cee01985 | [] | no_license | tmuttaqueen/MyCodes | c9024a5b901e68e7c7466885eddbfcd31a5c9780 | 80ec40b26649029ad546ce8ce5bfec0b314b1f61 | refs/heads/master | 2020-04-18T22:20:51.845309 | 2019-05-16T18:11:02 | 2019-05-16T18:11:02 | 167,791,029 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
int main(){
int n,m;
scanf("%d %d",&n,&m);
char s[m + 1];
int row[n];
for(int i = 0;i < n;++i){
scanf("%s",s);
row[i] = 0;
for(int j = 0;j < m;++j)
if(s[j] == '*')
... | [
"1505002.tm@ugrad.cse.buet.ac.bd"
] | 1505002.tm@ugrad.cse.buet.ac.bd |
56047d2c2988dfa9a93d45692547181f4bc7d021 | 1e9063402c285564b24d2abce4fcee01b16c4059 | /Greedy_Algorithms/noiday2.cpp | f5397f816bfd92665c7b1e4c75bbbbe69bf021a1 | [] | no_license | LoggIT2001/Data_Structure_And_Algorithms_PTIT_2021 | 0628d0262486aee08e7ec3d58e986c026b48b3f0 | da282f12db54d13e5e6642d91c11c3a503bcfa2f | refs/heads/master | 2023-05-31T13:51:53.859740 | 2021-07-12T15:42:37 | 2021-07-12T15:42:37 | 385,298,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | cpp | #include<bits/stdc++.h>
using namespace std;
long long const mod=1e9+7;
void noiday(long long a[], long long n){
priority_queue<long long, vector<long long>, greater<long long> > p(a,a+n);
long long sum=0;
while(p.size() >1){
long long first=p.top();
p.pop();
long long second=p.top(... | [
"dangthelong2001@gmail.com"
] | dangthelong2001@gmail.com |
1321be66529d82102ddd0eee6dfaf5bec089eca0 | 29d09c634ffdd8cab13631d62bc6e3ad00df49bf | /Algorithm/inflearn_cpp/강의 자료/CPS(소스파일)/51. 영지 선택(large).txt | 2634d45f7882d2c6be5bca7aacc14eed108b030b | [] | no_license | kim-taewoo/TIL_PUBLIC | f1d32c3b4f46344c1c99f02e95cc6d2a888a0374 | ae86b542f8b1805b5dd103576d6538e3b1f5b9f4 | refs/heads/master | 2021-09-12T04:22:52.219301 | 2021-08-28T16:14:11 | 2021-08-28T16:14:11 | 237,408,159 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | txt | #include<stdio.h>
#include<vector>
#include<algorithm>
using namespace std;
int a[701][701], dy[701][701];
int main(){
freopen("input.txt", "rt", stdin);
int h, w, n, m, i, j, tmp, max=-2147000000;
scanf("%d %d", &h, &w);
for(i=1; i<=h; i++){
for(j=1; j<=w; j++){
scanf("%d", &a[i][j]);
dy[i][j]=dy[i-1][j]+d... | [
"acoustic0419@gmail.com"
] | acoustic0419@gmail.com |
73ec567e5449d3593815fff17bbc91e324ab1535 | 9f6ac63e81535daeb55611d66560ab2a87fc9d8c | /libs/vislib/test/testhelper.cpp | a444c6aed183d119c3d2f755bf0c37094d09ae16 | [] | no_license | ComputationalRadiationPhysics/rivlib | 68e4de9cc98f62112ec21a05d68c406ef580a32d | 1a838630400892a53ff7eb120aec4282fc9967ac | refs/heads/master | 2021-01-21T05:00:23.480426 | 2016-05-23T07:29:51 | 2016-05-23T07:29:51 | 29,530,946 | 3 | 1 | null | 2016-05-23T07:29:51 | 2015-01-20T13:27:18 | C++ | UTF-8 | C++ | false | false | 3,594 | cpp | /*
* testhelper.cpp
*
* Copyright (C) 2006 by Universitaet Stuttgart (VIS). Alle Rechte vorbehalten.
*/
#include "testhelper.h"
#include <iomanip>
#include <vislib/Console.h>
static bool _assertTrueShowSuccess = true;
static bool _assertTrueShowFailure = true;
static unsigned int testhelp_te... | [
"axel.huebl@web.de"
] | axel.huebl@web.de |
c9d5fe71561702b19688cd97e5e50158e00ebb0d | bbdd427e842f2fbcd22d72567cf02dfd5196f4d5 | /09/q2.cpp | 15a2a26a647056207808c5d37f89daaae3088a1c | [] | no_license | varunchennamadhava/csc103 | 53cfecf6ceab98a77898d4f29e770961699451c3 | d19f9607fa59a756a375c553979fa27bacebfd5e | refs/heads/master | 2020-03-14T19:03:10.018382 | 2018-05-08T18:30:35 | 2018-05-08T18:30:35 | 131,754,149 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | /* TODO: write a function that takes a string and a character
* and returns the number of occurences of the character in the string.
* */
#include <iostream>
#include <string>
using namespace std;
int occurences(string fake, char x)
{
int time= 0;
for(int i = 0; i < fake.size(); i++)
{
if( x == fake[... | [
"me@citymail.ccny.cuny.edu"
] | me@citymail.ccny.cuny.edu |
3d0705823d82290d399746c511fa6efd7862c1cf | ee119444ac089511b0bc8203bad66818866f4f45 | /code/demo/wave_hom/wave_eq_hom_rhs.h | e570a131d0dfd812cb2bfef9223aa2170982b482 | [] | no_license | VidarStiernstrom/Hyperbolic-system-SBP-FD-solver | 71c3042ec1d515749c4433ac81baef080fec1e62 | 5bfdbc5ab9b182de29b5f530dadc03a461fa0271 | refs/heads/master | 2023-05-11T18:48:33.992303 | 2021-05-25T08:46:53 | 2021-05-25T08:46:53 | 288,682,897 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,663 | h | #pragma once
#include<petscsystypes.h>
#include <array>
#include "partitioned_rhs/rhs.h"
#include "partitioned_rhs/boundary_conditions.h"
#include "grids/grid_function.h"
/**
* Functions for computing the righ-hand-side of the acoustic wave equation
*
* F(t,q) = [F1(t,q),F2(t,q),F3(t,q)]^T
* where q = [u,v,p]^T, and... | [
"36008756+guer7@users.noreply.github.com"
] | 36008756+guer7@users.noreply.github.com |
57bb41babdb3289ea2a8264fc0157abae35cd1f4 | 948c7519745b6eebd4f9f70ea35cc8a8a3fba493 | /src/util/ossimToolClient.cpp | 2059c758f8ab568a5e15ba685d749e86cb252586 | [
"MIT"
] | permissive | Srprsr/ossim | 62ec20fccbf57fb2c6ca129662775da57b5067a1 | c472141165dfd0b6d7b5935cc55360764f103ff7 | refs/heads/master | 2021-01-12T22:31:11.052040 | 2016-07-21T15:30:26 | 2016-07-21T15:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,622 | cpp | //**************************************************************************************************
//
// OSSIM Open Source Geospatial Data Processing Library
// See top level LICENSE.txt file for license information
//
//*****************************************************************************************... | [
"okramer@radiantblue.com"
] | okramer@radiantblue.com |
276999935435434335d0c5b7bda7aaf0608df0e8 | 55616c09132fb18aa6b19898446231fa39a7def7 | /leetcode-733-dfs.cpp | 94df1a906add1d7b78e7f48ecec032f775803186 | [] | no_license | Oakenshield-Su/leetcode-codelist | fa006a6ec4166436ae827b1e6bbab34b461e36c5 | 280cfc9209b9e2433db0e0af7c3cc509b2fcb4df | refs/heads/master | 2023-04-01T00:35:13.228000 | 2021-03-29T04:18:19 | 2021-03-29T04:18:19 | 277,704,508 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | cpp | class Solution {
public:
const int dx[4] = {1, 0, 0, -1};
const int dy[4] = {0, 1, -1, 0};
void dfs(vector<vector<int>>& image, int x, int y, int color, int newColor) {
if (image[x][y] == color) {
image[x][y] = newColor;
for (int i = 0; i < 4; i++) {
int mx = ... | [
"suzipeng_china@163.com"
] | suzipeng_china@163.com |
83b94936640e666425d97ed90735e5a32be22cc0 | 74efb2861fd72a037512374b79647000dc3ca83e | /cpp-primer-answers/Chapter_9/ex9-45.cpp | fba7b811e73072a604228f456db9e3734f23e4ed | [] | no_license | Xlgd/learn-cpp | d29e83aabc696cd0a61793fa885c339aac01d094 | 046c6b16cedd0c020430ef0168ee5e12629d755d | refs/heads/master | 2021-11-27T21:56:41.887764 | 2021-08-19T07:42:37 | 2021-08-19T07:42:37 | 249,366,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | // 练习9.45
/* 编写一个函数,接受一个表示名字的string参数和两个分别表示前缀(如"Mr."或"Mrs.")和后缀(如"Jr."或"III")的字符串。
使用迭代器及insert和append函数将前缀和后缀添加到给定的名字中,将生成的新string返回。*/
#include <iostream>
#include <string>
#include <vector>
using namespace std;
auto add_pre_and_suffix(string name, string const& pre, string const& su)
{
name.insert(name.begi... | [
"1120496618@qq.com"
] | 1120496618@qq.com |
f76666afc2f7d4842947f9ff38ab929793e4d137 | b9118d6e6c10fcce64106cc10bd3ac7e838a428e | /RouteAvoidance/dbscan_nezha.cpp | f52512ee76a0536a0116f8be5f38763caed8230e | [] | no_license | MHabiburRahman7/BDASpring2020_routeAvoidance | 121b9c6570e1fab16d59e45841e373665d2b6e40 | 6ab731f5a7ce4a846264a9fb6893b0b3fa5fa870 | refs/heads/master | 2022-11-19T10:03:24.958520 | 2020-07-05T12:25:50 | 2020-07-05T12:25:50 | 276,707,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26 | cpp | #include "dbscan_nezha.h"
| [
"george_the@ymail.com"
] | george_the@ymail.com |
de14fc1cfbc2dea5e7c2bc47abdfb08a2c6977cf | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_6404600001200128_1/C++/liouzhou101/cheat.cpp | f99bc019227f8fa6c0c371ff0f4a5d08d96b0b8e | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | cpp | #include<cstdio>
#include<cstdlib>
#include<cstring>
#include<ctime>
#include<cmath>
#include<iostream>
#include<sstream>
#include<algorithm>
#include<vector>
#include<set>
#include<map>
#include<bitset>
#include<string>
#include<queue>
#include<list>
#include<iomanip>
#include<limits>
#include<typeinf... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
f85c5ae5899eb454484b7eba341597642b66cbe5 | 61a62af6e831f3003892abf4f73bb1aa4d74d1c7 | /15-295/F21/Contest 12/F.cpp | 83aa6f77220dca3a48b06401dc0cff80e089b4f7 | [] | no_license | amsraman/Competitive_Programming | 7e420e5d029e8adfbe7edf845db77f96bd1ae80d | 6f869a1e1716f56b081769d7f36ffa23ae82e356 | refs/heads/master | 2023-03-17T00:20:19.866063 | 2023-03-11T00:24:29 | 2023-03-11T00:24:29 | 173,763,104 | 16 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | #include <bits/stdc++.h>
typedef long double ld;
using namespace std;
int main() {
int n;
cin >> n;
cout << fixed << setprecision(9) << (long double) n / (2 * n - 2) << '\n';
} | [
"adisundar02@gmail.com"
] | adisundar02@gmail.com |
6184f7ef10dd56f78e6da6b3eaf56c399493aa02 | 045b2b55bb72976b76da9e891b6de3882590c8c1 | /NowCoder/printSnakeMat/printSnakeMat.cpp | a489316908203e1100ec4951935180dc72f270cd | [] | no_license | foocoder/LearnAlgorithm | e8e6da2a6498a05446291cbfc8a8e3e27bcddfec | c628c45fd2d3d334888b8f448e27ac94ab106572 | refs/heads/master | 2020-05-22T01:30:01.055078 | 2017-04-05T07:55:05 | 2017-04-05T07:55:05 | 53,630,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | cpp | // ---- Program Info Start----
//FileName: printSnakeMat.cpp
//
//Author: Fuchen Duan
//
//Email: slow295185031@gmail.com
//
//CreatedAt: 2016-09-07 21:58:24
// ---- Program Info End ----
#include<cstdio>
#include<iostream>
using namespace std;
void GetResult( int Num){
int lr=0, lc=0, rr=0, r... | [
"slow295185031@gmail.com"
] | slow295185031@gmail.com |
ae1057bd73ecaccdbfdddf371f1c8f20dc64842b | 22b8af34e275f93a88cfd69d1764525973cc1ffe | /test_mat.cc | 4ccf572075522d820c6f9258a34caaceff856b64 | [] | no_license | veekxt/add_dep_t_t | 0773a07ec7e890e34657dfc67b42f02f8bdc9351 | fc037a11b70a459a99beb8e3543c2bf89ae545ce | refs/heads/master | 2020-12-25T23:57:23.737163 | 2018-11-25T08:07:16 | 2018-11-25T08:07:16 | 56,289,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | cc | #include <iostream>
#include "opencv2/opencv.hpp"
using namespace std;
using namespace cv;
int main(int argc, char* argv[])
{
//读入图像,并将之转为单通道图像
Mat im = imread("pic/01-ChairBox/ChairBox_L_2.bmp", 0);
//请一定检查是否成功读图
if( im.empty() )
{
cout << "Can not load image." << endl;
return -1;
}
//进行 Canny 操作,并将... | [
"veekxt@gmail.com"
] | veekxt@gmail.com |
6d9f5fdb1e33d56c95cad016447ad89156a71b74 | cae581d56a31a313c0c60a8171f0d8ebe2f4665d | /src/Engine/Event/EventManager.cpp | a4d478969aa6545f8ada02a60ac94055dbd9617f | [] | no_license | Joshhua5/Protheus | 3c5ac1a3a7a0f6ea81649bc5f328fc0446972b24 | b46384371dee863fc288e4ffb2dd1c479c3a20d5 | refs/heads/master | 2021-05-04T10:16:28.174610 | 2018-11-09T21:52:55 | 2018-11-09T21:52:55 | 52,888,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | cpp | #include "EventManager.h"
using namespace Pro;
using namespace Util;
using namespace Events;
EventManager::EventManager() {
_handle_count = 1;
}
EventManager::~EventManager() {
}
void EventManager::RegisterEvent(const Event& evnt, const string& channel_name) {
RegisterEvent(evnt, hash<string>()(channel_name));
... | [
"Joshhua123@gmail.com"
] | Joshhua123@gmail.com |
e9b808ac31cac811f11745e45ef55c6f43648685 | 2f6c298a8abca53cea22b5e11be43bf0ccd0e5e7 | /刷题/P1909 买铅笔.cpp | 56342bf3eba392660e5794d20fbafe8e4bc5021f | [] | no_license | hnyqwqgh/hny-cpp | 207d39885c4ab55efd722f962347cf7d91de1110 | 95d310cac1bae2f727a23faf41cb4a42f8a129da | refs/heads/master | 2023-04-29T15:48:17.076239 | 2020-02-13T03:09:04 | 2020-02-13T03:09:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | //Happynewyear 2019/2/6 13:31
#include<bits/stdc++.h>
using namespace std;
int n,x,y,s,minx=0x7fffffff;
int main()
{
scanf("%d",&n);
for (int i=1;i<=3;i++)
{
scanf("%d%d",&x,&y);
s=(n/x+(n%x!=0))*y;
if (s<minx) minx=s;
}
printf("%d\n",minx);
return 0;
... | [
"noreply@github.com"
] | noreply@github.com |
9745149d0f8587a1c302fa2b4fe4ed77f2814c9a | eabaf0af05d3840b8beab85b8f9284c966a501a8 | /MimiFS/HandleCp.h | c15722d49842d2ee51c3abc574d031160b158ec2 | [
"MIT"
] | permissive | fangdongliu/MimiFS | f3dfa998513b051a784f29f42420e2e6288f7b12 | a22f8be7a27c7c553dacb4a7f3d9f3a24ce8972d | refs/heads/master | 2020-03-28T07:38:04.962833 | 2018-09-13T11:19:21 | 2018-09-13T11:19:21 | 147,894,660 | 0 | 0 | MIT | 2018-09-08T07:17:50 | 2018-09-08T02:41:14 | C++ | UTF-8 | C++ | false | false | 226 | h | #pragma once
#include "CommandHandler.h"
class HandleCp :
public CommandHandler
{
public:
HandleCp();
~HandleCp();
void onHandleCommand(Lexer¶m)override;
void doCopy(MiniFile*,MiniFolder*);
int cnt1;
int cnt2;
};
| [
"894856599@qq.com"
] | 894856599@qq.com |
f1495a5d1012fd3c2a9d16983767ee1db300b33d | 8dcffd5c5611c7a149bdc72f696f34e485b9a2bb | /code/stable/projectile/projectile_u_p_l_b_wi_v_f/src/cpp/Projectile.hpp | 998fcdddb6540f16664675984a1ad041dc3fb7f1 | [
"BSD-2-Clause"
] | permissive | peter-michalski/Drasil | fdd1de2bdd110e3dc956e0caa5425b2273c605c8 | 3553724d2d21bad093c7a4bf03d3dc284ce848c3 | refs/heads/master | 2022-10-05T17:37:32.268801 | 2022-09-07T17:18:53 | 2022-09-07T17:18:53 | 207,017,077 | 0 | 0 | BSD-2-Clause | 2019-09-07T19:36:19 | 2019-09-07T19:36:19 | null | UTF-8 | C++ | false | false | 2,857 | hpp | /** \file Projectile.hpp
\author Samuel J. Crawford, Brooks MacLachlan, and W. Spencer Smith
\brief Contains the entire Projectile program
*/
#ifndef Projectile_h
#define Projectile_h
#define _USE_MATH_DEFINES
#include <math.h>
#include <string>
using std::ifstream;
using std::ofstream;
using std::string;
/... | [
"brooksel_14@hotmail.com"
] | brooksel_14@hotmail.com |
e2b21bb392d45eff0f6bd45b4e4a9560b9fdea36 | f6f105714bff9937dccf6cbe7935a2a528b66d6d | /Source/LearnSlate/Private/UI/Widget/SSlAiPointerWidget.cpp | b4e925dc63d69abbeedb51daa3abae70a3ecf0c7 | [] | no_license | hongilywang/UnrealSlateLearn | 3f8cb630924a8cc820720490237f5c706b5f347d | dae124d3de4cc1463eec34b9dfd2c8372fb31309 | refs/heads/master | 2020-06-04T21:19:04.464494 | 2019-11-20T05:27:07 | 2019-11-20T05:27:07 | 192,195,227 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,802 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SSlAiPointerWidget.h"
#include "SlateOptMacros.h"
#include "SlAiStyle.h"
#include "SlAiGameWidgetStyle.h"
#include "SBox.h"
#include "SImage.h"
#include "Materials/MaterialInstance.h"
#include "Materials/MaterialInstanceDynamic.... | [
"hongilywang@sina.com"
] | hongilywang@sina.com |
55d93b38c2d152bedb11f6e59cfacf8a94acbae3 | 215750938b1dd4354eab9b8581eec76881502afb | /src/mfx/dsp/ctrl/lfo/PhaseGen.h | 830960fa675eea075abf5f9d2557f7070925c1d2 | [
"WTFPL"
] | permissive | EleonoreMizo/pedalevite | c28fd19578506bce127b4f451c709914ff374189 | 3e324801e3a1c5f19a4f764176cc89e724055a2b | refs/heads/master | 2023-05-30T12:13:26.159826 | 2023-05-01T06:53:31 | 2023-05-01T06:53:31 | 77,694,808 | 103 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 2,749 | h | /*****************************************************************************
PhaseGen.h
Author: Laurent de Soras, 2010
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the term... | [
"fuck@fuck.fuck"
] | fuck@fuck.fuck |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.