blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cf49f366b11e41af18f7632e71246cbf75d1a64f | 7149754bf9791d4a1dc763faf7810e616bd6802a | /src/WPA/Analyzers/ExpensiveTemplateInstantiationCache.cpp | 877729c5e7db0e48ac8faca56c4c8ed972281671 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | microsoft/vcperf | 90173ad5483ca68b2b828a7759df54ebb04044d4 | f5c2a0c8d9876110a169add5044451b69e434bbf | refs/heads/master | 2023-08-29T05:02:32.093111 | 2023-06-14T00:09:34 | 2023-06-14T00:09:34 | 225,333,724 | 289 | 29 | MIT | 2023-06-14T00:09:37 | 2019-12-02T09:18:28 | C++ | UTF-8 | C++ | false | false | 5,005 | cpp | ExpensiveTemplateInstantiationCache.cpp | #include "ExpensiveTemplateInstantiationCache.h"
using namespace Microsoft::Cpp::BuildInsights;
using namespace Activities;
using namespace SimpleEvents;
namespace vcperf
{
std::tuple<bool, const char*, const char*> ExpensiveTemplateInstantiationCache::
GetTemplateInstantiationInfo(const TemplateInstantiation& t... |
c638946a98ee7eb2edb4f5b64d5edd1f83d8275b | 9b0fe9fe587ffc1f297a64661dfb2e083ee3cad3 | /Client1/client.h | c2bd11365ac9bfaad1b1f08bd4501cac75b77aa4 | [] | no_license | dengmingjie/MyChatRoom | e2f6163e351146599f584e95b6a6acd8c594425e | 308d887dfcd296d59284d68065d83cc3627ca54c | refs/heads/master | 2020-03-10T10:57:53.814363 | 2018-04-13T03:54:16 | 2018-04-13T03:54:16 | 129,344,802 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,257 | h | client.h | /* 声明client类 */
#ifndef __CLIENT_H__
#define __CLIENT_H__
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#include <string>
#include <pthread.h>
#include <iostream>
using namespace std;
#include "recvbuf.h"
#include "errnos.h"
#include "except.h"
#define PORT 8888 /* 服务器端口号 */
#d... |
7dd69058c8bb5b0d4226bae149c962034e4d16cb | 1c390cd4fd3605046914767485b49a929198b470 | /poj/P3224.cpp | fd79a4910b6b704b9e6d19d976c1d85cedbb8767 | [] | no_license | wwwwodddd/Zukunft | f87fe736b53506f69ab18db674311dd60de04a43 | 03ffffee9a76e99f6e00bba6dbae91abc6994a34 | refs/heads/master | 2023-01-24T06:14:35.691292 | 2023-01-21T15:42:32 | 2023-01-21T15:42:32 | 163,685,977 | 7 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | P3224.cpp | #include<stdio.h>
int w,u,v,n,x,i,j;
int main()
{
scanf("%d",&n);
for(i=1;i<=n;i++)
{
w=0;
for(j=0;j<n;j++)
{
scanf("%d", &x);
if(x==3)
w++;
}
if(u<w)
u=w,v=i;
}
printf("%d",v);
return 0;
} |
a00e1048a70c4cb7999e8a48b034cffe98461e86 | 0d12e9e0d88edd414d23b1a9eb206e44571823fd | /main.cpp | 1a62b01578a30c088ba2db5ccff92f8f7dafbe53 | [] | no_license | WilliamAvila/LPP-compiler | 58c77ff5405c1da7a0aceceb98418c112e7fea53 | 54f4e7cbd70deca92abe1ecced54ea7028dcb302 | refs/heads/master | 2021-01-01T17:41:13.872569 | 2018-01-12T03:05:11 | 2018-01-12T03:05:11 | 98,134,884 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | cpp | main.cpp | #include <string>
#include <cstdlib>
#include <iostream>
#include <stdio.h>
#include <list>
#include <map>
#include "Utils.h"
#include "Expression.h"
#include "tokens.h"
using namespace std;
extern int line;
map<string, int> vars;
StatementList* stMain;
void *ParseAlloc(void *(*mallocProc)(size_t));
v... |
6740997a2765d94577def0853a4ade32c0a94d6c | ecc24216c6a2e7dd4306219ece39e2aae9732555 | /catkin_qt/src/robotcar_gui/src/qrviz.cpp | 9d1b7064cb4f4ad98aa41d60b1fb410b15c01d24 | [] | no_license | ZuoAnZoom/miivii-Xavier | 343d3f810b3954aa1ad6a3924695110af200971e | 25636cb016fb481e445cee771bfd574f0c0e7363 | refs/heads/master | 2023-09-05T15:06:07.586261 | 2021-11-21T11:13:36 | 2021-11-21T11:13:36 | 421,431,367 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,894 | cpp | qrviz.cpp | #include "../include/robotcar_gui/qrviz.hpp"
QRviz::QRviz(QVBoxLayout *layout,QString node_name)
{
nullmap.clear();
this->layout=layout;
this->nodename=node_name;
//创建rviz容器
render_panel_ = new rviz::RenderPanel;
//向layout添加widget
layout->addWidget(render_panel_);
//初始化rviz控制对象
m... |
c88b453af7fa14f39d86a599dbd015e4f30af783 | 84150fbadb9f84d7ec2f99ce756afd27d865bffb | /c++/src/se3_dmp/src/source_list/robot/lwr4p_robot.cpp | ad7816b3dc9212c70d2f251b205eee6dd5d4a00f | [] | no_license | Slifer64/SE3_DMP | 3a1b3e4a4debc09d2cc15b20c36a3b23a5cdbe97 | 3fca002c5ca2b476f6f0016b28b85f30a89ef510 | refs/heads/master | 2020-05-09T14:59:03.081131 | 2019-05-10T15:01:30 | 2019-05-10T15:01:30 | 181,216,346 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,398 | cpp | lwr4p_robot.cpp | #include <se3_dmp/robot/lwr4p_robot.h>
#include <ros/package.h>
arma::vec quatProd(const arma::vec &quat1, const arma::vec &quat2)
{
arma::vec quat12(4);
double n1 = quat1(0);
arma::vec e1 = quat1.subvec(1,3);
double n2 = quat2(0);
arma::vec e2 = quat2.subvec(1,3);
quat12(0) = n1*n2 - arma::dot(e1,e2);... |
bdd2e9813ec5b8df1e3ef170d58a10339d89895d | c1e761b79f84d3f7da23d21a99b34d9063da7782 | /GameEngine/BasicAnimation.cpp | a02099bb7ebdd063ced9d160ca686af59d22cb92 | [] | no_license | IgnacioAstorga/Caveman-Ninja | 9040ab183d318cc5851b82a6dfbb4a120fb46f86 | b55d4c659442feacb4f52c9ab1cfe32ec1b17e40 | refs/heads/master | 2020-12-25T20:08:47.011355 | 2016-01-14T16:41:01 | 2016-01-14T16:41:01 | 47,366,125 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,416 | cpp | BasicAnimation.cpp | #include "BasicAnimation.h"
#include "SDL.h"
BasicAnimation::BasicAnimation(int width, int height, int columns, int rows, float speed, bool loop, SDL_RendererFlip flip, bool start_enabled) : enabled(start_enabled)
{
this->width = width;
this->height = height;
this->rows = rows;
this->columns = columns;
this->spe... |
9380d4a27ca4032732419e92cfcde8fdcaa24db5 | 8fbe19a54e9068f0944fcc4d3c08602284a77096 | /src/chebyshevpolynomialbdg/chev.h | 7e54db4753dc15985ec18e5ea4098b3001c80239 | [
"BSD-2-Clause"
] | permissive | dc1394/chebyshevpolynomialbdg | 71ae115860ac12afa8b85673d658cb647a6995f8 | 529e7367ea408b62cb11880970c7fd67a888f3de | refs/heads/master | 2020-12-05T20:16:27.150559 | 2016-11-13T04:19:29 | 2016-11-13T04:19:29 | 66,469,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,758 | h | chev.h | /*! \file chev.h
\brief Bogoliubov-de Gennes方程式を解くクラスの宣言
Copyright © 2015 @dc1394 All Rights Reserved.
This software is released under the BSD 2-Clause License.
*/
#ifndef _CHEV_H_
#define _CHEV_H_
#pragma once
#include <cstdint> // for std::int32_t
#include <Eigen/Dense> // for Eigen::Sp... |
6c5ea5640ef2df67e6d30b0665e437db0eb72fae | c495cccd8ef794214a0766d01eea31d04c263ee0 | /IO輸入輸出stream/fstream檔案開啟關閉.cpp | f3aac60e59b25885dfce70ea1aaf245fafd6c5bc | [] | no_license | kontai/CPlus | 480694755672bacda1665276c17ca152f20eff9e | c808eb1fa7c9232617ea20d5891f3146af388daa | refs/heads/master | 2023-04-13T12:05:59.506604 | 2023-04-06T23:50:06 | 2023-04-06T23:50:06 | 136,694,492 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 848 | cpp | fstream檔案開啟關閉.cpp | #include<iostream>
#include<fstream>
#include<string>
using namespace std;
int mainFstreamIO() {
string ifile("c:\\temp\\1.txt");
ifstream in; //創建ifstream,為綁定檔案
in.open("c:\\temp\\1.txt"); //呼叫open()將ifstream物件綁定於指定檔案
//以上兩式作用如同 ifstream in(ifile.c_str())
//ifstream in(ifile.c_str()); //創建ifstream,並將他綁定於指定檔... |
5220a0658d5ffc23ea4cc2e68ccc36c56513b6fe | f7f09782d15ee7bdd14e637bd717dfb8327bc57c | /2014Train/VJ/8/E.cpp | 187680654f97f3cd629135e4df6e3c8ce8597d20 | [] | no_license | whywhyzhang/ACM-ICPC-Code | 14f3f6b0532c18da9694d7f70914a97e0983913f | d15bd475774ff104ebfe9504f8ea0acffdb5ddb0 | refs/heads/master | 2022-12-09T06:27:14.893967 | 2017-03-09T14:31:49 | 2017-03-09T14:31:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,066 | cpp | E.cpp | #include<iostream>
#include<cstring>
#include<cstdio>
#include<cmath>
#include<algorithm>
using namespace std;
////////////////////////////////////////////////////////////
// couEdge=0;!!!
const int INF=10e8;
const int MaxN=110;
const int MaxM=10010;
struct Edge
{
int u,v;
double cost;
};
Edge E[MaxM];
int couE... |
074fb66e996f4d0f48c6e8924325090b2b923659 | c6aea90c2aaa027999d2291e03a33a70b359c093 | /Lab2/include/common_def.hh | e76b26074050b9ca8bc8af89b4cf3f742f315935 | [
"MIT"
] | permissive | degv364/embeded | 951e46d2ad1e8698d091dc6613133a59c05c7075 | 96ffa17314269069eebf3af6220daab38804b2b3 | refs/heads/master | 2021-01-19T16:33:55.545659 | 2017-11-28T02:21:49 | 2017-11-28T02:21:49 | 101,004,365 | 0 | 0 | null | 2017-11-28T02:21:50 | 2017-08-22T00:43:38 | C++ | UTF-8 | C++ | false | false | 2,053 | hh | common_def.hh | /**
Copyright 2017 Daniel Garcia Vaglio <degv364@gmail.com> Esteban Zamora Alvarado <estebanzacr.20@gmail.com>
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 wi... |
5f6a3ea2278d6c13d2ab1fa9c479dafbc0e5a7b3 | 8fd2853602b36ee4c3187076928c6409e14283fc | /1744_수 묶기.cpp | 16c1410ae3d2b0031aa3451ae274093306732ad7 | [] | no_license | DongHeonSeok/Algorithm | 3a79660957d57acd6b0612d1178355cfc2e3a29a | 017cf1abd50b3ae7af23ae1aa4c7127f88f2cf81 | refs/heads/master | 2016-09-14T08:14:45.978726 | 2016-04-27T06:51:59 | 2016-04-27T06:51:59 | 57,191,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp | 1744_수 묶기.cpp | #include <cstdio>
#include <algorithm>
using namespace std;
int M[10100];
int P[10100];
int main()
{
int N, m = 0, p = 0, zero = 0;
scanf("%d", &N);
for (int i = 0; i < N; i++) {
int x;
scanf("%d", &x);
if (x > 0) {
P[p] = x;
p++;
}
else if (x < 0) {
M[m] = x;
m++;
}
else
zero++;
}
sor... |
82c52d013391bac3d8d1de54e4883aa1556ddcfd | 2ffe070c266741e5b65d5b6e677e034cc666df58 | /build/initmod.windows_io_32.cpp | f637cf4df158b10860f535fe888a9f4325aa13c4 | [
"MIT"
] | permissive | djohnkirby/PSC | f2ecccae1cddcb653038fde14c0befaeb419f969 | f8cbb6cf3fb6a228c9a6e6c8f46867ff19c306cc | refs/heads/master | 2021-05-16T02:59:50.612480 | 2014-03-21T16:42:23 | 2014-03-21T16:42:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,306 | cpp | initmod.windows_io_32.cpp | extern "C" {
unsigned char halide_internal_initmod_windows_io_32[] = {
66, 67, 192, 222, 33, 12, 0, 0, 171, 1, 0, 0, 11, 130, 32, 0, 2, 0, 0, 0, 18, 0, 0, 0, 7, 129, 35, 145, 65, 200, 4, 73, 6, 16, 50, 57, 146, 1, 132, 12, 37, 5, 8, 25, 30, 4, 139, 98, 128, 20, 69, 2, 66, 146, 11, 66, 164, 16, 50, 20, 56, 8, 24, 73, 10... |
0c1d002f4c73351b1cb621098fd457936bd36479 | 51d2519339976898df3c76ec74e65e023eb0fc89 | /Chapter9/ex9_23/main.cpp | df6cec5ac8eb86d91efaa4118d99f7706df1f082 | [] | no_license | githubfun/CppPrimer5thEdition_Solutions | 1421e03d9145d46260d345db012a62d228f531ef | 3779083c2798aab44954cca7ef784842173935f4 | refs/heads/master | 2018-02-09T05:39:34.247874 | 2016-04-05T15:44:48 | 2016-04-05T15:44:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 712 | cpp | main.cpp | /// Exercise 9.23:
/// In the first program in this section on page 346,
/// what would the values of val, val2, val3, and val4 be if c.size() is 1?
/**
// check that there are elements before dereferencing an iterator or calling front or back
if (!c.empty()) {
// val and val2 are copies of the value of the first ... |
9c1ea54f0b35f79859177a4b322b698fd96b6565 | 9b1639af63f7fc82f0e488b452dee0cb7ae22a3b | /avis/trunk/source/src/dataflow/dfgui/dfgui.h | 522948257f101827f632e3a0597de04febc8d5a4 | [] | no_license | ExpLife/Norton_AntiVirus_SourceCode | af7cd446efb2f3a10bba04db8e7438092c7299c0 | b90225233fa7930d2ef7922080ed975b7abfae8c | refs/heads/master | 2017-12-19T09:15:25.150463 | 2016-10-03T02:33:34 | 2016-10-03T02:33:34 | 76,859,815 | 2 | 4 | null | 2016-12-19T12:21:02 | 2016-12-19T12:21:01 | null | UTF-8 | C++ | false | false | 1,591 | h | dfgui.h | // DFGui.h : main header file for the DFGUI application
//
#if !defined(AFX_DFGUI_H__A244E3B6_5A46_11D2_A583_0004ACECC1E1__INCLUDED_)
#define AFX_DFGUI_H__A244E3B6_5A46_11D2_A583_0004ACECC1E1__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#ifndef __AFXWIN_H__
#error include 'stda... |
242414cb8901e355c4772b84b192924b920ae237 | c50e2c015af89a5321f952f43e1d9a830a7ed22f | /primetime.cpp | 406ae7b10423ae5176c085c975509784c2b6e610 | [] | no_license | Biswa5812/SDE-Sheet-Solution | 7d085d2ecd460ee3164b5b163c66948c1b75a966 | f165ef89e4b5c17f1908c6774e0bb2d7b7cdafa2 | refs/heads/main | 2023-09-01T03:21:33.038103 | 2021-10-28T17:17:31 | 2021-10-28T17:17:31 | 358,801,319 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | primetime.cpp | #include<iostream>
using namespace std;
int check_prime(int y);
int main()
{
int h,p,answer=0;
int prime[100],index=0;
cout<<"enter no. of hours";
cin>>h;
cout<<"enter no. of parts";
cin>>p;
int counter=0;
int x = h/p;
for(int i=2;i<=x;i++)
{
for(int j=1;j<=i;j++)
{
if(i%j==0)
{
... |
f2da11e6ff6fb007c060529ec6c19b9726cce308 | 33fd7f0794f01481d4c10963b6b2bfd5a0762fe7 | /xp_comm_proj/instment/prvcp.cxx | fb12a565e4ae30ac3d21147e7e8aab9d02ddddee | [
"Apache-2.0"
] | permissive | avs/express-community | fc8531a221b73057ad3e5d6c2d968466ee033637 | c699a68330d3b678b7e6bcea823e0891b874049c | refs/heads/master | 2022-07-06T16:03:22.406751 | 2020-05-19T21:00:15 | 2020-05-19T21:00:15 | 264,246,567 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 584 | cxx | prvcp.cxx | /*
* PR VCP - print a string to stdout - in the VCP window
*
* Synopsis : prints a string parameter to stdout
*
* Author: I. Curington, AVS Inc. 28 August 2000
*/
#include "gen.hxx"
#include <avs/om.h>
#include <avs/port.h>
#include <stdio.h>
#include <errno.h>
/***********************... |
51434e8a6d560f2bac65c7e1441a88ab863f5460 | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /garant6x/implementation/Garant/CommonUtils/LibHome.cpp | f02eb1a0aecdbf77e9d3e174413f961e0e9d7b8b | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,346 | cpp | LibHome.cpp | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Модуль: "w:/garant6x/implementation/Garant/CommonUtils/LibHome.cpp"
// генератор файлов реализации C++ (.cpp)
// Generated from UML model, root element: <<Library::Category>> garant6x::CommonUt... |
b67276911cbf80dddef607e6abcadb85e302ad9c | 55c81da8a1d0e98fe426b7b5c3ce7a9646ffdbe8 | /CrossApp/view/CAWindow.cpp | 3c0fa6baf2973421b41375bcb91b9f38d70d2645 | [] | no_license | babyliynfg/nano-CrossApp | e40c1b209e30b47bea588b981f4f15aedc638266 | e0c0e45c500d2647d330131b68474b67f0dfaae2 | refs/heads/master | 2021-01-18T03:04:08.540737 | 2017-03-14T03:47:06 | 2017-03-14T03:47:06 | 68,501,961 | 38 | 23 | null | null | null | null | UTF-8 | C++ | false | false | 4,237 | cpp | CAWindow.cpp |
#include "CAWindow.h"
#include "support/CAPointExtension.h"
#include "basics/CAApplication.h"
#include "animation/CAViewAnimation.h"
#include "dispatcher/CATouchDispatcher.h"
NS_CC_BEGIN
CAWindow::CAWindow()
:m_pRootViewController(NULL)
,m_pModalViewController(NULL)
{
this->setDisplayRange(false);
}
CAWindow::~... |
e7a0f4baf4464b59d18a9d6238fedcbbd5b063cf | d3e1f8b563611d940ceedd5e3f4fbf40092eab7e | /puzzle.h | 7ff6e9ea3290dcd23d3f5c91653c96960108ffe8 | [] | no_license | tanil-o-v/slidePuzzle | 96a83da9209748e1b27465a0fc4fed688ac42374 | e62e21af63172d7d46df608d0cef74a4f9d846ef | refs/heads/master | 2021-07-13T05:59:23.610836 | 2015-09-04T14:23:16 | 2015-09-04T14:23:16 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,297 | h | puzzle.h | #include<cstdlib>
#include<fstream>
#include<sstream>
#include<iostream>
using namespace std;
enum DIRECTION { UP, DOWN, LEFT, RIGHT, COUNT, STAY };
const string Answer = "123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
class puzzle {
public:
int stageWidth;
int stageHeight;
string panels;
int blank;
public:
//コンストラクタ
pu... |
1c0c9b915867cc2c4b12d241b5636d3181deca4f | 4b079e58941be01982b59f92b02a63dc59439aa3 | /sbmt_decoder/include/sbmt/edge/impl/dlm_info.ipp | 24ff98d6712a34561030a26a75bcd55fd33eea14 | [] | no_license | isi-nlp/sbmt | 143b784540e79cdbeaed3655588e8f4e38157284 | 56b2a2651b7741219657d095db3ebd7875ed4963 | refs/heads/master | 2020-04-06T13:56:13.370832 | 2018-11-21T18:59:31 | 2018-11-21T18:59:31 | 47,573,153 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,688 | ipp | dlm_info.ipp | #ifndef SBMT_EDGE_dlm_info_ipp_
#define SBMT_EDGE_dlm_info_ipp_
#include <sbmt/grammar/rule_input.hpp>
#include <sbmt/grammar/grammar_in_memory.hpp>
#include <boost/scoped_array.hpp>
#include <algorithm>
#include <deque>
namespace sbmt {
// hash the boundary words.
// Do we have other good hash function for the boun... |
d1b7be7df198733b0da7dcb3ff41cb2dd624e4e9 | 7ee18aa256587f7ace1640ecc647dc5719c2da61 | /jni/exnihilope/tessellator/CrucibleTessellator.cpp | a8a2e97bd2f91130ba1df24b5605bfcfe225a55e | [
"Apache-2.0"
] | permissive | Virtualoso/ExNihiloPE | 3491ba06548075284114ff89178d5ffa50c03ad7 | 8a3636ff72456a6ae156f23ea79d871fa3721754 | refs/heads/master | 2021-06-21T09:31:44.923842 | 2017-07-27T16:29:20 | 2017-07-27T16:29:20 | 83,483,622 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | cpp | CrucibleTessellator.cpp | #include "CrucibleTessellator.h"
#include "mcpe/level/BlockSource.h"
bool CrucibleTessellator::tessellate(Block const&b,BlockPos const&pos,unsigned char aux,bool wtf)
{
tessellateCauldronInWorld(b, pos, aux);
return true;
}
|
b3a71b3356b68bc1c8fc8db7b229149588dcf90f | 0d3105bcc542cbda87e84215bdf489456017adc3 | /Dawrf Undecided/Customer/BaseCustomer.h | 91c86af79b1549554f94f410960a4187f8ed5cf8 | [] | no_license | Hjallimar/Portfolio | f050732fef27e0071cb84606c917552c862f6464 | e02eb1ce47dcae664bb88def49dd40019d3ecece | refs/heads/master | 2021-11-19T05:31:45.147276 | 2021-09-16T12:59:08 | 2021-09-16T12:59:08 | 253,906,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,839 | h | BaseCustomer.h | //Author: Hjalmar Andersson
#pragma once
#include "GameFramework/Pawn.h"
#include "Item/BaseItem.h"
#include "UI/ItemDisplayWidget.h"
#include "Item/Level2WantType.h"
#include "BaseCustomer.generated.h"
class UCapsuleComponent;
class UBaseItem_DataAsset;
class UInteractableComponent;
class AItemCounter;
class UGM_Bar... |
3f0b5ccc4bd34e2758c46c28d2b3191636c407a9 | 8da99752f4e4823286692c94a88737a604945421 | /cpp_module01/ex06/HumanB.cpp | 12a76fdac41c726a53aae23736b2b507dd79e9ec | [] | no_license | khcho902/CPP_Module | f2922b8a405616af02b345c6f8ef71392953f7b8 | cc4374ccdd50bb3a5c5455c6e77add9d8511db38 | refs/heads/main | 2023-04-06T21:49:36.872791 | 2021-04-13T06:41:01 | 2021-04-13T06:41:01 | 351,490,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | cpp | HumanB.cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* HumanB.cpp :+: :+: :+: ... |
aa718628aa3f169d4a9d4ef956fe7167d1534dce | 149c8203884a196136fbb6d023041119a8a733ef | /6.cpp | dc94231d53f1adab8f593dd12275588c8683d8c5 | [] | no_license | golnoushnb/ApLabGitPractice | 5f6ea2b6c5b448a90c49c95b20e2948a28eb03f7 | 9ecf786fc2d6043eb80ff7a2b3731f5a0ef634ca | refs/heads/main | 2023-03-24T03:04:03.127046 | 2021-03-18T10:06:03 | 2021-03-18T10:06:03 | 348,995,783 | 1 | 0 | null | 2021-03-18T08:27:57 | 2021-03-18T08:27:57 | null | UTF-8 | C++ | false | false | 239 | cpp | 6.cpp | #include<stdio.h>
int main()
{
int a;
char *x;
x = (char *)&a;
a = 512;
x[0] = 1;
printf("%d\n", a);
return 0;
}
//////////////////////////////////////////////////////
/*
code bedune eshkale :)
output: 513
*/ |
f93c7d2d0879dd17ce2b636c693ab80bf186d042 | eeb014a48d22e38bb4f866838c06f64ac2b4f4c6 | /string/permutationsOfString.cpp | fa082ea50168a2d600606455832ffc420e0957d3 | [] | no_license | oumkale/Geeks-For-Geeks-Work | 8cb2b7948fe1afc4dfa18d6d30f9ca1fc83db9cf | 96893a593b8e1dc03e0d8d3d23c279cd7968e1e6 | refs/heads/master | 2021-03-02T18:24:41.660387 | 2020-03-08T21:55:02 | 2020-03-08T21:55:02 | 245,893,402 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | permutationsOfString.cpp | #include <iostream>
#include <cstring>
#include <algorithm>
using namespace std;
void palin(string s,bool val)
{
if(val==false)
return ;
else
{
cout << s << " ";
val = next_permutation(s.begin(),s.end());
palin(s,val);
}
}
int main() {
//code
long long int t;
cin>>t;
w... |
967bab8efcfcfbbfaab56a49b8558e06eecb8a03 | c8b626559aa452139b91aa1930daa93c731fc506 | /check/subtype_implicit.cpp | 8b8e4f31a4a454ee6a49fa016a405c89c468645d | [] | no_license | jirihavel/butil | 685467b65e761b4da36adcf6e7c93a31347c6a98 | c3460eeef07c47c360e1b72a45720877bd6d7bd5 | refs/heads/master | 2020-02-26T16:28:46.155353 | 2016-10-18T07:45:59 | 2016-10-18T07:45:59 | 71,223,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,399 | cpp | subtype_implicit.cpp | #include <butil/subtype.h>
#include <cstdlib>
#include <catch.hpp>
using namespace butil;
template<typename T, typename P, typename Tp, typename Q, typename Tq>
bool operator==(subtype<T, P, Tp> const & a, subtype<T, Q, Tq> const & b)
{
return a.value() == b.value();
}
struct Failure
{
bool operator()(int)... |
f525ca4bfe640cb7342c8b4e364848723294cf8d | 104e616a3c0ddb698c9dc86b4c19cb7c9893ad9f | /hidl2aidl/main.cpp | e440af65e5d37e5e87c2401796b057813dea51e7 | [
"Apache-2.0"
] | permissive | lineageos-kaibo/android_system_tools_hidl | 83e6deb53214e54673d224cb5a02737fd77c40e6 | 4ca5e6b5886fbe7aaa840db67276b60c95a1279b | refs/heads/lineage-18.1 | 2023-08-29T20:45:37.023245 | 2021-11-03T12:32:51 | 2021-11-03T12:32:51 | 446,873,586 | 0 | 1 | NOASSERTION | 2022-01-11T15:21:40 | 2022-01-11T15:21:38 | null | UTF-8 | C++ | false | false | 9,842 | cpp | main.cpp | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
4169c92aded091afbdcc1128e979c086fd2abd17 | 079d55d486fefcfbebd8b202fdfa7a8042ef7c08 | /virtual_machine/virtual_machine/Exception.h | f3105bcb4cdb47d732f5c66130b7ede5b120991d | [] | no_license | karennik98/new_virtual_machine | c1994e741033da8662c8dec15add78080d85cf0c | eca001ce20fd2fddc9962e6dd7eade6f4c1aa93c | refs/heads/master | 2020-05-05T13:49:39.270696 | 2019-05-28T20:04:04 | 2019-05-28T20:04:04 | 180,094,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,068 | h | Exception.h | #pragma once
#ifndef EXCEPTION_H
#define EXCEPTION_H
#include <exception>
#include <string>
class Exception : public std::exception
{
public:
const char* what() const throw() = 0;
Exception(std::string file, std::string func, unsigned line) : m_file(file), m_func(func), m_line(line)
{
}
//virtual void info() = 0... |
dfc21d756d3f18942bacf8aad8eb59e068f99303 | d9e660af9c6b2bd4da336caffa630691d7b5840e | /include/v2/pair/header.inc | ad88e62421ebc4feb710f0382c3598c535536536 | [
"Apache-2.0",
"LicenseRef-scancode-us-govt-public-domain"
] | permissive | Goddard-Fortran-Ecosystem/gFTL | 37b20fbfaa6d821e3fa2305f1bbecd9cb40884a2 | 4beb2f415ffe071a251d56eb56da8fcee62dd58c | refs/heads/main | 2023-08-17T23:41:16.242802 | 2023-04-13T13:53:27 | 2023-04-13T13:53:27 | 122,108,503 | 33 | 8 | Apache-2.0 | 2023-08-15T14:37:07 | 2018-02-19T19:13:49 | Fortran | UTF-8 | C++ | false | false | 190 | inc | header.inc | #include "shared/define_common_macros.inc"
#define __pair pair
#define __pair_guard pair_
#include "parameters/T1/copy_T1_to_pair_T1.inc"
#include "parameters/T2/copy_T2_to_pair_T2.inc"
|
9616f12f7bcc2008b35ab8dcf7786cecd2d828ba | 37f26f02cdbad66bd3c375845527342dd9a46573 | /code/123/main.cpp | 738e403502fad7c1e6f269f54ab0f9db17170f88 | [] | no_license | letinh6498/vietcodes.github.io | 24d3d6aaa2ea840e51a4cfa40f460858cd6d4401 | 5b4aedbcaa1dc8eb8de014d548aa253006bb97b2 | refs/heads/master | 2020-05-06T13:46:33.695669 | 2018-12-17T02:17:07 | 2018-12-17T02:17:07 | 180,155,312 | 1 | 0 | null | 2019-04-08T13:29:54 | 2019-04-08T13:29:54 | null | UTF-8 | C++ | false | false | 749 | cpp | main.cpp | #include <cstdio>
#include <vector>
#include <queue>
using namespace std;
typedef vector<vector<int>> dsk;
int main() {
int n, m;
scanf("%d%d", &n, &m);
dsk ke(n+1);
while (m--) {
int u, v;
scanf("%d%d", &u, &v);
ke[u].push_back(v);
ke[v].push_back(u);
}
vector... |
60b77ac6d6e9e64169edf0f6b058d87521d3699f | 5bda36b616ec134435958ae12418f6cfcd6f473c | /PAINt/PAINt/Square.h | 4428a573f1e23f02a4b5bda29fa334323e558a77 | [] | no_license | brimst0ne/ProjRep | 82929cd07459a93b336a7f2b5b0615d56277cda9 | 33e159fd829794ba40aeb215250e9c362b2fed7c | refs/heads/master | 2022-07-18T20:37:38.547500 | 2020-05-21T15:45:26 | 2020-05-21T15:45:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,263 | h | Square.h | #pragma once
#include"Objects.h"
#include <iostream>
using namespace std;
template <class T>
class Square : public Objects
{
private:
int side;
T** Array;
public:
Square();
Square(int a, T _mark);
Square(const Square& square);
~Square();
int GetSide();
T GetMark();
void SetSide(int _side);
float Area() ove... |
65f1f44204b8148efb584cbd79e96427ea39a558 | df6d96ba17dc9765770f587a1e04d9880925b2f8 | /src/mntLogger.cpp | 4871cc003f7645ae0dae58e4f9d7405ce2704664 | [
"0BSD"
] | permissive | pletzer/mint | 300c7e460453afba3fae4ccc8d04e12bf48341d3 | 50c2c66bce5e09cf14f9f244da67ab4be84fbe5b | refs/heads/master | 2023-08-08T08:38:20.361042 | 2023-07-31T07:18:37 | 2023-07-31T07:18:37 | 130,304,591 | 6 | 4 | 0BSD | 2023-07-31T07:18:38 | 2018-04-20T03:36:44 | C++ | UTF-8 | C++ | false | false | 1,885 | cpp | mntLogger.cpp | #include <mntLogger.h>
#include <ctime>
static char STRTIME[32];
void mntlog::logging(const std::string& severity,
const char* file,
const char* function,
int lineno,
const std::string& msg) {
std::time_t now = std::time(nul... |
04a77e7cd7c0424259db8f2b3a5d10264314a1ec | 5c023bf2e7fea93a4841fefc9175ecd0b6beb772 | /src/timestep.cc | 460674ad0753e2d07b9d2956e4b35a3924bf5db5 | [
"MIT"
] | permissive | timy/dm_spec | 4f06a4fc26e2090fcd4e2c87e184a9fef0a04da7 | 1e50922f43612a638e56a2877b8500d30e191217 | refs/heads/master | 2021-01-20T21:53:24.381412 | 2014-09-16T13:14:40 | 2014-09-16T13:14:40 | 22,839,560 | 3 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,590 | cc | timestep.cc | #include "timestep.h"
#include "para.h"
#include <cstdlib>
#include <cstdio>
void para_time_config( struct config_t* cfg, struct parameters* ps );
void para_time_set( struct parameters* ps );
void para_time_ini( config_t* cfg, parameters* ps )
{
para_time_config( cfg, ps );
ps->time = new double [ps->nt];
... |
9a029b81ca1c86da700f96e21ae42f4407e7da8a | 194df6facd91e9c1e4a0be4b91010e0baf2f9d6d | /C++/2540.cpp | 91804209ff26d247971ded28e7dae3491f2576a8 | [] | no_license | tthheusalmeida/URI_Online_Judge | a421fb57055974211844a91825fdc0f7726a44f6 | 623725edc744321b964bc339dbe9af939673fac6 | refs/heads/master | 2022-10-04T08:41:55.245586 | 2020-06-08T21:27:10 | 2020-06-08T21:27:10 | 197,940,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cpp | 2540.cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int num, soma = 0;
int aux;
while (cin >> num) {
for (int i = 0; i < num; i++) {
cin >> aux;
if(aux == 1){
soma++;
}
}
... |
39737ddaedaaaac08698c123f6bbd6eca0c65d34 | 4d4822b29e666cea6b2d99d5b9d9c41916b455a9 | /Example/Pods/Headers/Private/GeoFeatures/boost/python/return_by_value.hpp | 740bf5f79fd24a2e27ec0ae3d7f5509a60d54ef3 | [
"BSL-1.0",
"Apache-2.0"
] | permissive | eswiss/geofeatures | 7346210128358cca5001a04b0e380afc9d19663b | 1ffd5fdc49d859b829bdb8a9147ba6543d8d46c4 | refs/heads/master | 2020-04-05T19:45:33.653377 | 2016-01-28T20:11:44 | 2016-01-28T20:11:44 | 50,859,811 | 0 | 0 | null | 2016-02-01T18:12:28 | 2016-02-01T18:12:28 | null | UTF-8 | C++ | false | false | 65 | hpp | return_by_value.hpp | ../../../../../../../GeoFeatures/boost/python/return_by_value.hpp |
559918cf4296083cb9294e1497009ee16b480946 | 59ad5cde96c126cbc390ab47c682e16524c5a858 | /school/238/raytracer/code/CubeSkyMap.cpp | 4c62eadbca1177beb9cca819c3ddbe2597aea0c9 | [] | no_license | scheib/scheib.net | 096eea36b088838c6c98b2046a1a1d03b8c247d3 | ab2d0cfe0bc886ab776afb9df3eda117a5d17611 | refs/heads/master | 2021-01-13T03:42:44.855167 | 2018-10-08T17:55:08 | 2018-10-08T17:55:08 | 77,249,778 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,478 | cpp | CubeSkyMap.cpp | // CubeSkyMap.cpp: implementation of the CubeSkyMap class.
//
//////////////////////////////////////////////////////////////////////
#include "CubeSkyMap.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////... |
4ab8c67f19da5453d2764731c70c08c004bbe5ea | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Programs/UnrealLightmass/Private/Launch/UnitTest.h | 300f605b1f617fcdf8db5de027272935fe4ede9f | [
"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 | 252 | h | UnitTest.h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
namespace Lightmass
{
/**
* Run "unit tests" making use of LightmassCore and other functionality
* worth testing
*/
void TestLightmass();
}
|
1f86ccd17209db97cbfb6c16523aafaf0142ee8e | a1099c617ac709c5588db41fd1c82748a37e770b | /Classes/ImlecNode.cpp | 9a3736c99d4527676dd8ef32e2793fb6bf4e2f1c | [
"MIT"
] | permissive | anilgulgor/Football-Card-Game | d79fd8aa8ac2beb0689883cea56e298fd6b2ed53 | 2637218a540bb12265416188bf19512c767d6fcf | refs/heads/master | 2020-12-30T10:24:27.755140 | 2017-08-02T06:16:46 | 2017-08-02T06:16:46 | 98,968,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | ImlecNode.cpp | //
// ImlecNode.cpp
// Santra
//
// Created by Anıl Gülgör on 27/03/16.
//
//
#include "ImlecNode.hpp"
ImlecNode::ImlecNode(std::string name){
this->name = name;
}
ImlecNode *ImlecNode::create(std::string name){
ImlecNode *imlecNode = new ImlecNode(name);
return imlecNode;
}
vo... |
3217d0fd50d6b8090f6cc90741011841460465fc | 77ea942dd3776c2aecfc0eb23d0e11c5de9b6181 | /paplp/problem.hpp | 829d3ede583b31630ac7e01f2d9664e0cbc0aa15 | [] | no_license | oleks/paplp | 079365d7175e8cd5755c83938d6a5b29dd52c8a2 | 9da171e70862a551fb424e08536cd2952e53612e | refs/heads/master | 2016-09-05T19:23:06.011617 | 2012-05-05T15:26:42 | 2012-05-05T15:26:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,360 | hpp | problem.hpp | #pragma once
#include "types.hpp"
/* The problem hierarhy..
*
* Abstract classing is done via the protected constructor since no common
* method seemed to unite the problems. A suitable candidate could probably be
* a \mono{Solve} method, but this is (at the moment) orthogonal to the current
* solver architectur... |
f5ec81a342cefb524889367fd11cc7418dadb580 | 63c71060f36866bca4ac27304cef6d5755fdc35c | /src/DocSelector/DocSelectorType.h | a0623609142547fe5585d0eec5c3a1b5b7ad23fa | [] | no_license | 15831944/barry_dev | bc8441cbfbd4b62fbb42bee3dcb79ff7f5fcaf8a | d4a83421458aa28ca293caa7a5567433e9358596 | refs/heads/master | 2022-03-24T07:00:26.810732 | 2015-12-22T07:19:58 | 2015-12-22T07:19:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,690 | h | DocSelectorType.h | ////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2005
// Packet Engineering, Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification is not permitted unless authorized in writing by a duly
// appointed officer of ... |
784a58ace23b7ad621be71e8982d90b3e84f128c | b768b26835e5186332104ab7b180cb61dd86eae0 | /app/src/main/cpp/ffmpegAudio.cpp | 6b51515f64fe8a3fe112a23a4ee788730ab968c0 | [] | no_license | hub3266/android_ffmpeg | adb204ec4ced701347528b57a333dd547ae5846d | c1d5be5dd32681cd137011fc107f0bd70eaa2c3b | refs/heads/master | 2021-07-11T06:03:42.615260 | 2017-10-16T06:41:45 | 2017-10-16T06:41:45 | 104,154,542 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,513 | cpp | ffmpegAudio.cpp | //
// Created by lenovo on 2017/9/26.
//
#include "ffmpegAudio.h"
extern "C" {
AVFormatContext *pContext;
AVCodecContext *pCodecContext;
AVCodec *pCodec;
AVPacket *avPacket;
AVFrame *frame;
SwrContext * swrContext;
int out_channer_nb;
uint8_t *out_buffer;
int createffmpeg(const char *input,int *rate,int *channel) {
... |
aaecec468b95a7644141adfb97efff37887c85fc | c3db8588ef91dda1f6aabfa8e19005d0fefdc168 | /ParEGO/ParEGOIteration14/ParEGOIteration14/DACE.cpp | 2cb1a280b566d91593d0a0d33186a61de24de29d | [] | no_license | CristinaCristescu/ParEGO_Eigen | 1d0b41fd46818a40c90860d7fa11e6160eddd718 | dd8a69c224566ba4ffeae9a7db87142575b92f20 | refs/heads/master | 2020-02-26T13:08:50.483763 | 2015-09-03T09:20:54 | 2015-09-03T09:20:54 | 25,860,582 | 8 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 17,478 | cpp | DACE.cpp | /**
* \class DACE
*
*
* \brief The class represents the DACE model of an optimization function.
*
* This class builds the function model for the optimization function
* and sets all the hyperparameters and provides the routines for evaluting a
* sample points using the estimated function.
*
*
* \note Copyrig... |
dae1720049930fb3876f77dced4ff871358cdff2 | 9f22a7234bfcb6608d4e4e7ea41164eaa75371ca | /Games Lab/Source/PCGTesting/FogActor.h | 407779a78fc20712ef281f3e8804b13a917725c2 | [] | no_license | haigleonard/C- | bb177701b1582d5c41230724d56a28ac6ef9ca3a | 1d98b45567fd725bfd2966164e2b84f36fec808a | refs/heads/master | 2020-03-30T16:52:07.709270 | 2018-11-19T18:19:21 | 2018-11-19T18:19:21 | 151,431,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 826 | h | FogActor.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "FogActor.generated.h"
UCLASS()
class PCGTESTING_API AFogActor : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's propertie... |
053df4628e80e34cd0a7b5bfc4764d0ca45308a5 | 1351f48d45c2c05e322c29c5f68da0d4590888c1 | /uva2/AC Question and Code/12015.cpp | 7711aeefcadd3cad8c0e2206ec9f4d06e50a7252 | [] | no_license | laziestcoder/Problem-Solvings | cd2db049c3f6d1c79dfc9fba9250f4e1d8c7b588 | df487904876c748ad87a72a25d2bcee892a4d443 | refs/heads/master | 2023-08-19T09:55:32.144858 | 2021-10-21T20:32:21 | 2021-10-21T20:32:21 | 114,477,726 | 9 | 2 | null | 2021-06-22T15:46:43 | 2017-12-16T17:18:43 | Python | UTF-8 | C++ | false | false | 501 | cpp | 12015.cpp | #include<bits/stdc++.h>
using namespace std;
int main ()
{
int t,i,j,n[10],max;
char s[10][10000];
cin>>t;
for(i=1; i<=t; i++)
{
max=0;
for(j=0; j<10; j++)
{
cin>>s[j];
cin>>n[j];
if(n[j]>max)
max=n[j];
}
cou... |
73ffa10bd6346cb02f80d8795a35f1f13ef0fc38 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/gcc/c-family/c-attribs.cc | 111a33f405ac11344e422b6362b2a623d9d50f89 | [
"LGPL-2.1-only",
"FSFAP",
"LGPL-3.0-only",
"GPL-3.0-only",
"GPL-2.0-only",
"GCC-exception-3.1",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 188,885 | cc | c-attribs.cc | /* C-family attributes handling.
Copyright (C) 1992-2022 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any ... |
b9a76c805ce8b57e24cd0b5adaa3b2315bb9b4aa | ac9f0b09754038a3531d1297e03f166eb170f1d0 | /testMap/newmain.cpp | 62ba48bf7609419362e6847892296bfca119db44 | [] | no_license | vascoV/Map-class | adaff5130e06c07c685386b28d8eff78cba4d93e | 5b8d34665960d521619cfcf824d4a663202d7085 | refs/heads/master | 2020-06-13T05:45:33.991973 | 2017-02-02T16:50:01 | 2017-02-02T16:50:01 | 75,485,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,125 | cpp | newmain.cpp | #include <iostream>
#include <string>
#include "CMap.h"
class Fruits{
private:
std::string name;
public:
Fruits(std::string fruit) {
this->name = fruit;
}
std::string getFruit(){
return name;
}
};
int main() {
//
CMap<int,... |
b4b5910f0dc4e087c0cfae7ec446ea3d149c2d28 | 6f2f4e0ee3fce8a2592a5673b3e1c96a10602fe3 | /72/leetcode_72_2.cpp | 3a4a1d49090354394bfca76f276074d8f4033926 | [] | no_license | Ivanqi/leetcode | 33a09bf96b850da5a050d0a67266e2a395f54b82 | bdd569c0f5d69596aa9848a28f1f4c4d4cc6a35c | refs/heads/master | 2022-04-28T12:38:18.220161 | 2022-04-27T14:08:24 | 2022-04-27T14:08:24 | 199,861,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,776 | cpp | leetcode_72_2.cpp | #include <iostream>
#include <algorithm>
using namespace std;
class Solution {
public:
int minDistance(string word1, string word2) {
int n = word1.length();
int m = word2.length();
// 有一个字符为空串
if (n * m == 0) return n + m;
// DP数组
i... |
84b4936068b65015e2122332ca26f923ff3184e3 | fe215b10bbe3e924cfacd02f2e5b95cc9a2fb031 | /Libs/Dx12Lib/App.cpp | 97a30beb9d4b3c7be0296a5729cf620380734690 | [
"MIT"
] | permissive | yasyamanoi/BaseDx12 | ac9fe74eb720b79738c0ae464b4b5c8cb30875fd | c01e084691f3aa4d08e4bfc2d6336b642c43381d | refs/heads/master | 2021-01-01T07:03:07.695484 | 2020-08-02T07:23:50 | 2020-08-02T07:23:50 | 239,158,042 | 3 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,199 | cpp | App.cpp | #include "stdafx.h"
namespace basedx12 {
HWND App::m_hwnd = nullptr;
SceneBase* App::m_pSceneBase = nullptr;
//サイズはWinMainから渡される
int App::m_width = 0;
int App::m_height = 0;
shared_ptr<BaseDevice> App::m_baseDevice = nullptr;
StepTimer App::m_timer;
Controler App::m_controler;
wstring App::m_classsName =... |
c6cd471afb26183295fe736ad1c6b8f5dcea2328 | 56d780f7cd4a1c9f22c84d56f7b260f39bf071a7 | /code/CSpace/CSpace_Mapping/CSpace_Mapping.ino | 0383dec8f5dec8d1fa8b0332ef8a90d1869fda5d | [] | no_license | wilsjame/SeniorDesign | 6fe391f0ef9ab518b4c8886a2c125d765740619b | 2d1b0237ebd4c26615a6ecb00e4604005baecf3f | refs/heads/master | 2020-04-09T20:51:00.977037 | 2017-08-07T14:19:44 | 2017-08-07T14:19:44 | 88,535,863 | 0 | 0 | null | 2017-04-17T18:07:56 | 2017-04-17T18:07:56 | null | UTF-8 | C++ | false | false | 2,651 | ino | CSpace_Mapping.ino | #include <stdio.h>
//=========DEFINITIONS==================
int encA_pin1 = 6;
int encB_pin1 = 7;
long encA_ticks1 = 0;
//for polling implementation
int n = LOW;
int encA_pin1_prev = LOW;
unsigned long time;
char buffer [50];
int i = 0;
int encA_pin2 = 2;
int encB_pin2 = 4;
volatile long encA_ticks2 = 0;
int encA_p... |
1b98ccb01cc900a350e276621571044e9b3ee58d | 48298469e7d828ab1aa54a419701c23afeeadce1 | /Client/SceneEdit/src/ui/MoveUpDownSettingDialog.cpp | d45951bb89dffa873bfc63cb973eb5b5ea77c8ab | [] | no_license | brock7/TianLong | c39fccb3fd2aa0ad42c9c4183d67a843ab2ce9c2 | 8142f9ccb118e76a5cd0a8b168bcf25e58e0be8b | refs/heads/master | 2021-01-10T14:19:19.850859 | 2016-02-20T13:58:55 | 2016-02-20T13:58:55 | 52,155,393 | 5 | 3 | null | null | null | null | GB18030 | C++ | false | false | 2,231 | cpp | MoveUpDownSettingDialog.cpp | // ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "MoveUpDownSettingDialog.h"
#endif
// For compilers that support precom... |
229de47edd104124b44b65f4391e4c6161e9a992 | 9ccfab8d79ade3f508a11ea14cf33fcb6590c162 | /include/gtk-accounting/transaction/Transaction.h | 0d453b4d433e402a93c9f1d847cebe392cc852af | [
"MIT"
] | permissive | iShabang/gtk-accounting | 33f85901b6e7022bd4c39821bd1f28e6f3f208a7 | 305702bce0187e0e83b74301abeaa50ba35fe0bf | refs/heads/master | 2021-05-24T15:16:21.806862 | 2021-04-19T17:31:42 | 2021-04-19T17:31:42 | 253,623,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | h | Transaction.h | #ifndef _GTK_ACCOUNTING_TRANSACTION_H_
#define _GTK_ACCOUNTING_TRANSACTION_H_
#include <string>
#include <cstdint>
namespace acc {
/* Transaction object used to store information about the transaction itself */
struct Transaction {
uint64_t id;
std::string name;
std::string date; // date format in YYY... |
914f56ab715931c1c73e77be358afd2db7b76d97 | 332825d7afa9550c1400702d1c5300908af9d20f | /Src/Quote/Quote/RPT.HXX | 95bd0fa68d5441d1bae1119f7ed1e31c094cb84b | [] | no_license | wardquinlan/win16 | 35a17b7a16a6ffd51665be6d6b72b57323269953 | 4b17ca4d61c04f275f93f201f90d10b8426f4e23 | refs/heads/master | 2021-07-21T18:06:38.760494 | 2020-04-02T03:16:10 | 2020-04-02T03:16:10 | 90,180,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,762 | hxx | RPT.HXX | //////////////////////////////////////////////////////////////////////////////
// RPT.HXX
//
// This file generates scan results
//
// Copyright (c) Ward Quinlan, 1996
//////////////////////////////////////////////////////////////////////////////
#ifndef _RPT_HXX
#define _RPT_HXX
#include "word.hxx"
/////... |
b2a06a2d023d4f89a035c675d522e532bd676048 | d64737d31ae9caba2820ea1048be3f9bce708b42 | /cpp/repeated-dna-sequences.cpp | 1b3ae72f441428144f394bcab414fc61129b5548 | [] | no_license | ldcduc/leetcode-training | 2453ec13e69160bc29e8e516e19544c2b25bf945 | 40db37375372f14dd45d0a069c8b86fe36221f09 | refs/heads/master | 2023-08-05T01:46:52.993542 | 2021-09-18T16:47:54 | 2021-09-18T16:47:54 | 271,736,046 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | repeated-dna-sequences.cpp | /* Problem url: https://leetcode.com/problems/repeated-dna-sequences
* Code by: ldcduc
* */
/* Begin of Solution */
class Solution {
public:
vector<string> findRepeatedDnaSequences(string s) {
vector<string> result;
if (s.length() >= 10) {
unordered_map<string, int> M;
for ... |
1d925198fe6d7fbd0d66d7b07441471694b14d00 | 9cb4de290d4dbb5fd5298043a9a8f1cf08615687 | /adversarial_utils.h | 09c4edc716ac5f0fb3b378892e3124104bbc4b2f | [] | no_license | rsofaer/no_tipping | 0f9ee69fd5640fe8ed92d4ed31ce4b351db36f40 | 06dbce5a9eda3a14cbd3befc21e0764d50a26c16 | refs/heads/master | 2020-11-26T14:05:03.405033 | 2011-11-27T20:10:34 | 2011-11-27T20:10:34 | 2,487,036 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,546 | h | adversarial_utils.h | #ifndef _NO_TIPPING_GAME_ADVERSARIAL_UTILS_H_
#define _NO_TIPPING_GAME_ADVERSARIAL_UTILS_H_
#include "combination.h"
#if NDEBUG
#define HPS_NTG_ASSERT_BOARD_HASH_NO_DUPS(states)
#else
#define HPS_NTG_ASSERT_BOARD_HASH_NO_DUPS(states) \
for (BoardHashList::const_iterator hash ... |
891ecdff7d259721d1df151f767c83aded75325b | 15e6afaebf3c57e570bc7fee9404f8a7abbd5bea | /OpenHome/Media/Pipeline/SpotifyReporter.h | 36b611c38a404ddf0f50584fccbebb4bf007af0a | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | david-dever-23-box/ohPipeline | 64cc23dd1d59090567577c7ee2833d0a74285f1f | ebaaaaa33a3b7a93bb4e5d5dbfdd5d996c1935f5 | refs/heads/master | 2021-04-06T05:24:22.343182 | 2018-03-05T11:45:57 | 2018-03-05T11:45:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,270 | h | SpotifyReporter.h | #pragma once
#include <OpenHome/Types.h>
#include <OpenHome/Media/Pipeline/Msg.h>
#include <OpenHome/Media/Pipeline/AudioReservoir.h>
#include <OpenHome/Media/Pipeline/Reporter.h>
namespace OpenHome {
namespace Media {
class ISpotifyReporter
{
public:
virtual TUint64 SubSamples() const = 0;
virtual void Flus... |
69efbe6dacb7861a3b7738b90362ab44c9d3f879 | 00b2421552ae8881c7d71fae6d8747e572e150f2 | /UVa/containers.cpp | f3ca4c6fc1961968b47d48d6483a6f7f5d9bb53e | [] | no_license | serendiipity/Competitive-Programming | 870eabb067e1746ae76d4d6fbf94fe24ae9b6ab1 | 3ecca29a7d69f8bab44bec646166a3885ae4d2f5 | refs/heads/master | 2022-05-05T03:48:49.355716 | 2022-03-17T13:35:22 | 2022-03-17T13:35:22 | 184,333,777 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | containers.cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main() {
string line;
int c = 1;
while (cin >> line) {
if (line == "end")
break;
vector < stack <char> > stacks;
for (int i = 0; i < line.size(); i++) {
bool placed = false;
if (!stacks.empty()) {
for (int j = 0; j < stacks.si... |
b8ed67f78370d6fc9beaa892c762f2a3f91ca5df | a5cecfca2a9c6367977df2f89efa06a796384e15 | /segregate_even_odd.cpp | f13891a01555cbfc36802744736289e4345ca855 | [] | no_license | Jagdish587/linkedlist | 33d635f061e232201f933d610e310efdeb42da21 | 6df4d0a3c837ea60a4faefe6ee0c63fb780320d9 | refs/heads/master | 2021-12-15T11:36:35.039327 | 2018-01-08T17:52:07 | 2018-01-08T17:52:07 | 105,436,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,612 | cpp | segregate_even_odd.cpp | #include <iostream>
using namespace std;
struct Node {
int data;
Node* link;
};
void printlist(Node* head)
{
Node* temp = head;
while(temp!=NULL) {
cout<<temp->data<<" ";
temp = temp->link;
}
}
void push(Node** head,int data)
{
Node* node = new Node;
node->data = data;
... |
3d3ea799fa757c4e03bca806a088300efa5dc992 | 1d55bb4200447dca33868f797877338a45970945 | /algorithm/code/cpp_code/math/10to-2.cpp | bedc5993eb3fd65d5cfb40d90679bfedbc1b5f3f | [] | no_license | dh00023/TIL | 3acb7955470a4e7e5177b54d7a08f72f260a8be5 | 3e793f77d4d42b8aad7c4a065da001fc9761a7f7 | refs/heads/master | 2022-05-31T09:14:49.480169 | 2022-02-28T08:40:10 | 2022-02-28T08:40:10 | 83,773,571 | 6 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 903 | cpp | 10to-2.cpp | /*
8진수가 주어졌을 때, 2진수로 변환하는 프로그램을 작성하시오.
첫째 줄에 8진수가 주어진다. 주어지는 수의 길이는 333,334을 넘지 않는다.
첫째 줄에 주어진 수를 2진수로 변환하여 출력한다. 수가 0인 경우를 제외하고는 반드시 1로 시작해야 한다.
*/
#include <algorithm>
#include <string>
#include <iostream>
using namespace std;
int main(){
int n;
scanf("%d",&n);
string ans="";
if(n==0)printf("%d",n... |
3d8bafb1f565c59defd15bc075f393295ff2021c | 5f7eb4881c65c9bf3db64087fde1082e15b1cb3d | /leetcode_349.cpp | bd41b8dfac13a9d2ff17612ae088b6af3c9f1a40 | [] | no_license | nefuxulinlin/leetcode | 6164ede1dc2930bb2e587e0cc87654c67a4afb8f | a6ff9c55d1f18bc066a719caf4c05553a9d2aa09 | refs/heads/master | 2020-07-02T20:51:32.660614 | 2017-07-01T00:16:49 | 2017-07-01T00:16:49 | 74,282,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,311 | cpp | leetcode_349.cpp | // 349. Intersection of Two Arrays
// https://leetcode.com/problems/intersection-of-two-arrays/#/description
#include <vector>
#include <iostream>
#include <set>
using std::vector;
using std::set;
class Solution {
public:
vector<int> intersection(vector<int>& nums1, vector<int>& nums2)
{
set<int> set... |
a6ee2cfcae5b13256822a7c75d8fa225855b5507 | 4514dfc5b61b84fe310e90cfd2e1e3a29423f657 | /arduino & nodemcu/nodemcu_send_via_blynx/nodemcu_send_via_blynx.ino | 5732e06638516963e663e6e09d1446599dd601c0 | [] | no_license | alanyukeroo/IWACOM-IoT | 52f95c2d14757dffd47f46f301314e230cd23fb7 | 0d02c3e53a57763338ee9dffe7ca4d4e7f867631 | refs/heads/master | 2020-04-05T15:15:10.937733 | 2019-01-29T06:26:23 | 2019-01-29T06:26:23 | 156,960,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | ino | nodemcu_send_via_blynx.ino |
//SoftwareSerial DebugSerial(2, 3); // RX, TX
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <SimpleTimer.h>
SimpleTimer timer;
char auth[] = "0234093d03824eafbcf08a6770d82456";
char ssid[] = "OPPO A37f";
char pass[] = "12345678";
String myString;
char c;
int Index1,Index2,Index3,Index4;
Strin... |
a3ca75b722d64624e4e8e398f748075e358ddf82 | 464aa9d7d6c4906b083e6c3da12341504b626404 | /src/lib/entitydef/unit_test/main.cpp | b63975e52ed6ff6ccf8eff0305e55f45d1805e6d | [] | no_license | v2v3v4/BigWorld-Engine-2.0.1 | 3a6fdbb7e08a3e09bcf1fd82f06c1d3f29b84f7d | 481e69a837a9f6d63f298a4f24d423b6329226c6 | refs/heads/master | 2023-01-13T03:49:54.244109 | 2022-12-25T14:21:30 | 2022-12-25T14:21:30 | 163,719,991 | 182 | 167 | null | null | null | null | UTF-8 | C++ | false | false | 2,229 | cpp | main.cpp | /******************************************************************************
BigWorld Technology
Copyright BigWorld Pty, Ltd.
All Rights Reserved. Commercial in confidence.
WARNING: This computer program is protected by copyright law and international
treaties. Unauthorized use, reproduction or distribution of thi... |
9ea1289607d65818b5a9ed5813dd674b43a161d7 | ea3704ff07b67e767433da56624d396bd784fd5c | /Header/ShellSort.h | af00e8ec4470814bbc84abeceab2550e53e4ecce | [] | no_license | bestfancc/algorithms | 6fb15372a0c3314e55a7c349e3b4413cda9a0ae1 | b027b7ddb2911565d22472b26da0e528c93a2b46 | refs/heads/master | 2020-03-21T18:33:42.204521 | 2019-01-02T15:02:36 | 2019-01-02T15:02:36 | 138,899,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | h | ShellSort.h | /**
* User: bestfancc
* Email:bestfancc@gmail.com
* Date: 2018/11/20
*/
#include "BaseSort.h"
#ifndef SUANFA_SHELLSORT_H
#define SUANFA_SHELLSORT_H
//希尔排序
class ShellSort :public BaseSort
{
public:
virtual void sort(double *a,int size);
};
#endif //SUANFA_SHELLSORT_H
|
6a245b6357c12427cc0ed57968ee1f1dd3d0ea7d | a2ebf22e6172cadaa2d6e06c0c5778d2284fa723 | /lib/src/facts/linux/dmi_resolver.cc | 29345705e3e139ccb2b24985142abdcdab6adcbf | [
"Apache-2.0"
] | permissive | ferventcoder/facter | 15150ad5bdfb585fe667a70e7670360a88f4f65e | f034727b92992f6f56a76ae1c925e668a7b07161 | refs/heads/master | 2021-01-16T19:31:36.516750 | 2015-06-30T19:14:12 | 2015-06-30T19:14:12 | 10,981,713 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,006 | cc | dmi_resolver.cc | #include <internal/facts/linux/dmi_resolver.hpp>
#include <leatherman/logging/logging.hpp>
#include <facter/util/file.hpp>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
using namespace std;
using namespace facter::util;
using namespace boost::filesystem;
namespace bs = boost::system;
namespace... |
fe270afc0bebf202515ee5bff915d362a533aa13 | a68389cd02e6b8d1caa9513040cc4d5f970ae565 | /ChatVR-Windows_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Il2CppCCalculateFieldValues1.cpp | 6374109d1e1fa9121ea91f3e34b11d3ff689837a | [] | no_license | Breality/ChatSpace-VR | 585ace201640d5856fb744be9ee0a262ad6870c7 | a6f2edcf202e726014235444a7239f0d696a14f3 | refs/heads/master | 2023-03-26T22:55:17.157573 | 2021-03-29T03:08:18 | 2021-03-29T03:08:18 | 352,499,841 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,243,603 | cpp | Il2CppCCalculateFieldValues1.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.ArraySegment`1<System.Byte>>
struct Action_1_tC4A1932C3BAC3AB12474910E0F61464B28376DDC;
// System.Action`1<UnityEngine.XR.InteractionSubsystems.ActivateGe... |
33d0f96b6db5a4a10965c3185dd26ce05bfaf102 | 873ccca946d4ac1af5d5f995b61c56d4e6144cdd | /src/PPF.cpp | 925866eabe505b3cb2a268b9dee28189c270dc92 | [] | no_license | wwd605075811/Traditonal_PPF | cb7a996f772548d94164d20c0e7408fded6ac5b7 | 33ef49ac41e14ab5a353903123fd7f9edb742838 | refs/heads/master | 2023-02-28T08:26:00.819973 | 2021-01-24T11:50:41 | 2021-01-24T11:50:41 | 234,305,954 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,117 | cpp | PPF.cpp | #include "../include/PPF.h"
PPF::PPF()
{
this->d_distance = 0.01;//1cm
Min_angle = -M_PI;
Max_angle = M_PI;
nAngle = 30;
d_angle = (Max_angle - Min_angle) / nAngle;
this->max_nDistance = 25;
this->max_hashIndex = 10000;
F1 = 0;
F2 = 0;
F3 = 0;
F4 = 0;
hashIndex = 0;
... |
9e96ea3d32218850736939a239d975b744e3227c | 25410f53cedda16028429d84c01a1c4461de60bf | /libraries/AutoConnect/examples/Simple/Simple.ino | 2ac3f5857bc4b75dcaaf0ccec43fa72d7b5db856 | [
"MIT"
] | permissive | poplicola/Thotcon-0x9 | 772c7eda7f2a7176d1ff6d45d696bc6aa08c0dba | 7538c38c8e355e9cf6674a1d2aad90126b043db4 | refs/heads/master | 2020-03-15T17:56:59.108787 | 2018-06-11T23:56:31 | 2018-06-11T23:56:31 | 132,272,755 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,704 | ino | Simple.ino | /*
Simple.ino, Example for the AutoConnect library.
Copyright (c) 2018, Hieromon Ikasamo
https://github.com/Hieromon/AutoConnect
This software is released under the MIT License.
https://opensource.org/licenses/MIT
*/
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <time.h>
#include <AutoConn... |
787c0cfbcd3e4c3c83701264a5d3db596cdfd2f8 | 843124c50abdb72602af0b61daad9660739e5368 | /src/render/OGLES2_0/CRenderTargetColorOGLES2_0.cpp | 1247116024ad856ec5066f48dc73e0bdaa7b1c24 | [
"MIT"
] | permissive | opengamejam/OpenJam | 8806e9dd7eaa5e90048851733c9dc24d4d1f2e5c | 565dd19fa7f1a727966b4274b810424e5395600b | refs/heads/master | 2020-04-03T21:30:34.937897 | 2017-06-19T12:41:44 | 2017-06-19T12:41:44 | 28,153,757 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,555 | cpp | CRenderTargetColorOGLES2_0.cpp | //
// CRenderTargetColorOGLES2_0.cpp
// OpenJam
//
// Created by Yevgeniy Logachev on 9/2/16.
//
//
#if defined(RENDER_OGLES2_0)
#include "CRenderTargetColorOGLES2_0.h"
using namespace jam;
// *****************************************************************************
// Constants
// ***************************... |
886d992793fd76cc9b4a5501347d09616536a250 | 2b1b459706bbac83dad951426927b5798e1786fc | /src/camera/lib/image_utils/image_writer.h | f1aa27af83341b20b684d7e9603956a95e26ec36 | [
"BSD-2-Clause"
] | permissive | gnoliyil/fuchsia | bc205e4b77417acd4513fd35d7f83abd3f43eb8d | bc81409a0527580432923c30fbbb44aba677b57d | refs/heads/main | 2022-12-12T11:53:01.714113 | 2022-01-08T17:01:14 | 2022-12-08T01:29:53 | 445,866,010 | 4 | 3 | BSD-2-Clause | 2022-10-11T05:44:30 | 2022-01-08T16:09:33 | C++ | UTF-8 | C++ | false | false | 1,683 | h | image_writer.h | // Copyright 2019 The Fuchsia 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 SRC_CAMERA_LIB_IMAGE_UTILS_IMAGE_WRITER_H_
#define SRC_CAMERA_LIB_IMAGE_UTILS_IMAGE_WRITER_H_
#include <lib/fzl/vmo-pool.h>
namespace camera {
i... |
13e8bcf601a4b4f7506e9d5b882eabfc25b0933d | 52076d51dfa8f41e0f318caf21221f73ed737b5a | /archive/274-H-Index.cc | 92570088cce691a3402899f22908b101285d8d05 | [] | no_license | kevinkwl/mLeetcode | 2371cbbced3bf29ef0948c3e6eb1f331aa663d10 | a0aa7c87aa1e95bac21467036b92c6adb5977a36 | refs/heads/master | 2020-04-07T10:03:50.381212 | 2018-10-11T11:41:23 | 2018-10-11T11:41:23 | 124,202,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 839 | cc | 274-H-Index.cc | // O(NlogN)
class Solution {
public:
int hIndex(vector<int>& citations) {
int N = citations.size();
if (N == 0) return 0;
sort(citations.begin(), citations.end());
for (int i = N; i >= 0; i--) {
if (citations[N-i] >= i && (N-i == 0 || citations[N-i-1] <= i))
... |
65e15ee145697809627a52061edd6cfab4f3ebf8 | 1313f6dcc62044c77c370f764c67e7f9006b965d | /11953.cpp | d313b765e57f924d4ca62a8b5d707c09dac6c321 | [] | no_license | luckeciano/competitive-programming | b7955ff780ce8afa0d84368d283517b7b69329f9 | 4008f1201a25934a2a4cd63e233a56d46e66fea3 | refs/heads/master | 2020-04-21T04:03:55.251747 | 2019-02-05T20:00:54 | 2019-02-05T20:00:54 | 169,302,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,440 | cpp | 11953.cpp | #include <iostream>
using namespace std;
char grid [105][105];
int N; char aux;
int dr[] = {1,0,-1, 0}; // trick to explore an implicit 2D grid
int dc[] = {0,1, 0,-1}; // S,SE,E,NE,N,NW,W,SW neighbors
int floodfill(int r, int c, int R, int C) { // returns the size of CC
if (r < 0 || r >= R || c < 0 || c ... |
ae8a8aca38f6c2c5c58b7afe3ee784188103a925 | 187ce9d4df99208c3db0e44f3db6a3df4ce34717 | /C++/340.longest-substring-with-at-most-k-distinct-characters.cpp | 5c29390ca800ec1064145ff348ce0b3b25161813 | [] | no_license | zhoujf620/LeetCode-Practice | 5098359fbebe07ffa0d13fe40236cecf80c12507 | 8babc83cefc6722b9845f61ef5d15edc99648cb6 | refs/heads/master | 2022-09-26T21:49:59.248276 | 2022-09-21T14:33:03 | 2022-09-21T14:33:03 | 222,195,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | cpp | 340.longest-substring-with-at-most-k-distinct-characters.cpp | /*
* @lc app=leetcode.cn id=340 lang=cpp
*
* [340] Longest Substring with At Most k Distinct Characters
*
* Given a string, find the length of the longest substring T that contains at most k distinct characters.
*
* For example, Given s = “eceba” and k = 2,
*
* T is "ece" which its length is 3.
*
*/
#in... |
84c95b2a95980f42e54a1fd0539761a8b005bb82 | 754cc9e0424740907af49075f7c1eb6c7cbdcf91 | /common/common/BitSet.h | 5c9d88598e5f1af7a771acfef8e3e47f2eb9ea78 | [] | no_license | zhaojinwei0124/Project-RC_Server | 2d0906bed6406ef02e83cb9260746ccd23c0996e | b9ccb3e0476d7c562a4affb25d247e87c8aed1be | refs/heads/master | 2021-01-21T15:38:14.408311 | 2017-01-26T03:16:29 | 2017-01-26T03:16:29 | 81,521,050 | 0 | 2 | null | 2017-02-10T03:12:07 | 2017-02-10T03:12:07 | null | MacCentralEurope | C++ | false | false | 2,442 | h | BitSet.h | #ifndef _BITSET_H_
#define _BITSET_H_
#include "BaseType.h"
#include "BaseLib.h"
template<int _BitSize>
class BitSet
{
public:
typedef BitSet<_BitSize> _MyselfClass;
public:
enum CONST_VALUE
{
BIT_SIZE = _BitSize, //bit◊‹ ż
BYTE_SIZE = (BIT_SIZE + 7) / 8, //Byte◊‹ ż
};
public:
BitSet<_BitSize>(void)
{
... |
0f7c774ab6b92b31e844991156c7f31425aac50d | 15c3ef211da2e28bf11d23131246e5eedc372a38 | /pract_work_1/Artyom's solution/application.h | 3255fd1e5ad20e5d6fd2526a6be8a90dc0874e4d | [] | no_license | Ksallle/ETU_OOP_6semestr | 1ada41c7faeb6edbe2d97f4eb20c8889cf424acd | e442151141dc2e196c7f7367292bc3961f58fcf3 | refs/heads/main | 2023-05-22T07:35:59.380399 | 2021-06-12T09:48:21 | 2021-06-12T09:48:21 | 341,162,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180 | h | application.h | #ifndef TAPPLICATION_H
#define TAPPLICATION_H
#pragma once
class TApplication
{
private:
int menu();
public:
TApplication();
int exec();
};
#endif // TAPPLICATION_H
|
63da5d4d6cfc17fb18000c5605eef4ff1fbf65e7 | beac164f7f396038abe9772b54a4ba397006d4d4 | /src/state_machine.cpp | 6a550ef29bafa7795d4eb374c61f694e4582c655 | [] | no_license | Farzinsvi/Research-Track-2-First-Assignment | f023406574d7701172f6791bfbb10a6ad90fe7b4 | 643cdb72c7a02e991a33060f9a37e0e20782b6b0 | refs/heads/main | 2023-07-15T15:19:22.353186 | 2021-08-16T16:59:15 | 2021-08-16T16:59:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,665 | cpp | state_machine.cpp | /**
* \file state_machine.cpp
* \brief This file implement a state machine that start and stops a go to point goal
* \author Omotoye Shamsudeen Adekoya
* \version 0.01
* \date 20/07/2021
*
* \param start boolean to know if to start of stop the go to point action
*
* \details
*
*
* Services : <BR>
* ° /user_interface
* ... |
10bd36d65db58b348e71c3c480b0b7bc451cbe00 | 601f527d3223f5dd41e999b6c33d6eedc14faf90 | /src/lexer.hpp | 9efb818c07b38de742ea77d7138e0c2f2b6b0f50 | [] | no_license | alexgrejuc/interpreter | ee97e19658683d3f1b96c59c4226523ffd1c8ee7 | 7c0d56f2120be8036ac9b35b308042efb9fb45cb | refs/heads/master | 2022-04-21T18:27:46.671106 | 2020-04-20T01:15:35 | 2020-04-20T01:15:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | hpp | lexer.hpp | #ifndef LEXER_HPP
#define LEXER_HPP
#include "token.hpp"
#include <string>
#include <map>
using std::string;
using std::map;
/* lexical analysis: tokenizes the input string */
class Lexer{
private:
string text;
unsigned int pos;
Token current_token;
map<string, T... |
5a7a37378e8d66491d95aa32b00916efcc3399bc | 260e5dec446d12a7dd3f32e331c1fde8157e5cea | /Indi/SDK/Indi_FPV_AnimBP2_classes.hpp | 5f08b2f759083bad3564964cf1d41088570dc6d0 | [] | no_license | jfmherokiller/TheOuterWorldsSdkDump | 6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0 | 18a8c6b1f5d87bb1ad4334be4a9f22c52897f640 | refs/heads/main | 2023-08-30T09:27:17.723265 | 2021-09-17T00:24:52 | 2021-09-17T00:24:52 | 407,437,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,211 | hpp | Indi_FPV_AnimBP2_classes.hpp | #pragma once
// TheOuterWorlds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "Indi_FPV_AnimBP2_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// AnimBlu... |
578b3c448bb9f7c031af00ec99318d335dac0ead | dea72d23b20266996f3bbeba9c77abdec9e7491c | /ui/dataset.cpp | 6fda0bf092e2237745a878cff96922e21f6a2b75 | [] | no_license | jonathon-love/BEESTS | 35248e34f2b657c6c77b5c79063a9322724db0d8 | 86ddc65e55c8d94811ff563c5af7c9ce192de195 | refs/heads/master | 2020-04-06T21:56:45.777157 | 2015-12-31T02:03:16 | 2015-12-31T02:03:16 | 23,144,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,355 | cpp | dataset.cpp | #include "dataset.h"
#include "csv.h"
#include <QDebug>
#include <vector>
using namespace std;
/*
* DataSet is implemented as a set of columns
*/
DataSet::DataSet()
{
m_columnCount = 0;
m_rowCount = 0;
}
DataSet::DataSet(std::string path)
{
m_columnCount = 0;
m_rowCount = 0;
CSV csv(path);
cs... |
de56ec249aed888342838b02f257dd26718ea730 | 1abe8c48fc8d642750d3d6adb3a2d4f794e53286 | /src/PrintHandler.cpp | 9b122c103abf8112422d3e16311e55fbd0f041e9 | [
"MIT"
] | permissive | ststeiger/cef-pdf | 38442d5373448bc7cdfdffd01858cdbb927882d6 | ff4ba7399109f2e3d855dc4fba5a21d92f28e16a | refs/heads/master | 2020-04-28T06:12:39.262986 | 2019-03-27T16:33:42 | 2019-03-27T16:33:42 | 175,048,374 | 2 | 0 | MIT | 2019-03-11T17:14:53 | 2019-03-11T17:14:52 | null | UTF-8 | C++ | false | false | 1,166 | cpp | PrintHandler.cpp | #include "PrintHandler.h"
#include "include/wrapper/cef_helpers.h"
namespace cefpdf
{
PrintHandler::PrintHandler() {}
// CefPrintHandler methods:
// -------------------------------------------------------------------------
CefSize PrintHandler::GetPdfPaperSize(int device_units_per_inch)
{
DLOG(INFO)
<< "P... |
915c613ecac441344d53403455de4b5311605925 | b05f1cbd207e22f12e7f3076bf56181787b68085 | /ACM solved the question with Corresponding number/5mC.cpp | 8ef0dbe1f8b858e48bc30593530b942331eeb674 | [] | no_license | NikoSoftware/Algorithm | e76db0556acdcfedd06d027a5642c6472254c50e | ceff66d6d6839ae8deb802e5e2e7e31c02025115 | refs/heads/master | 2020-12-30T14:45:13.903814 | 2017-05-12T11:54:42 | 2017-05-12T11:54:42 | 91,084,931 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | 5mC.cpp | #include<stdio.h>
#include<string.h>
bool vis[1000];
char map[1000][1000];
int main()
{
int n,m,i,j;
while(scanf("%d%d",&n,&m)!=EOF)
{
for(i=0;i<n;i++)
{
scanf("%s",map[i]);
for(j=0;j<n;j++)
{
if(map[i][j]=='.')
vis=1;
... |
dd71ab439ad5424f8024cdef5014feb7cd7148c9 | 8173dcd5964b792551d99289a7f57cdd30ba4747 | /skp2tgcDlg.h | d783ce8a2c707b16ff1ed8cde8d7215ea17da732 | [] | no_license | mbanquiero/skp2tgc | 2fbd1632fe7e026f24bd36e76e47cd4df4ef87ef | 3a7dcade7a1e502c42ffec9ba4e5582b9c63910a | refs/heads/master | 2021-01-10T07:31:57.043760 | 2016-03-11T11:37:09 | 2016-03-11T11:37:09 | 53,663,046 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,492 | h | skp2tgcDlg.h |
// skp2tgcDlg.h: archivo de encabezado
//
#pragma once
#include <slapi/slapi.h>
#include <slapi/geometry.h>
#include <slapi/initialize.h>
#include <slapi/unicodestring.h>
#include <slapi/model/model.h>
#include <slapi/model/entities.h>
#include <slapi/model/face.h>
#include <slapi/model/edge.h>
#include ... |
e15899ff4b625cb98b36e6865bf2f78954a6b25d | 0dd3f3ec40f3d5b85582e4bca3e406790765375c | /Inheritance/p13.cpp | efb6c9e4aa9312d887c62d99e2a543b090981406 | [] | no_license | rayray2002/cpl | 0c0d67d1c7efa793bb847f2bfcdea9535a9947ef | d6641004e670379901c06993a73d0593365c8569 | refs/heads/main | 2023-02-14T16:00:24.046015 | 2020-12-29T08:29:36 | 2020-12-29T08:29:36 | 317,732,019 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40 | cpp | p13.cpp | //
// Created by Ray on 2020/12/28.
//
|
92844c60183baf4f31305fc14348d3e1a2f87892 | 8215b7b97a82d7d0a88dea0a088bc62f809ac9f3 | /io/io.cpp | d608e26af770a9925ae7b024d93853f80dd027bc | [] | no_license | TestProgramLanguage/tpl | 59d71f7a585ce41ad98b1ade0f969337ed354cf5 | 1ea3ead7ff4e1e9b21d34eae5b21d0525edbd04a | refs/heads/master | 2018-01-08T09:24:51.866010 | 2016-05-13T15:52:52 | 2016-05-13T15:52:52 | 54,628,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | cpp | io.cpp | //**********************************************************************
//** **
//** (C)Copyright Hunter_Chen xhfch@126.com 2009-04 **
//** **
//** All Rights... |
4474eb66dec42ba1d7a5e29879d362389e9e0393 | 69dd4bd4268e1c361d8b8d95f56b5b3f5264cc96 | /GPU Pro5/06_Compute/Object-order Ray Tracing for Fully Dynamic Scenes/Application/RayTracing/header/RayTracing/RenderableEffectDriver.h | 2e9696546a21dacf6197b86b112102366e2338aa | [
"MIT",
"BSD-3-Clause"
] | permissive | AnabaenaQing/Source-Code_ShaderX_GPU-Pro_GPU-Zen | 65c16710d1abb9207fd7e1116290336a64ddfc86 | f442622273c6c18da36b61906ec9acff3366a790 | refs/heads/master | 2022-12-15T00:40:42.931271 | 2020-09-07T16:48:25 | 2020-09-07T16:48:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | h | RenderableEffectDriver.h | #pragma once
#include "Tracing.h"
#include <beScene/beRenderableEffectDriver.h>
#include "TracingEffectBinder.h"
#include <lean/smart/scoped_ptr.h>
namespace app
{
namespace tracing
{
class TracingEffectBinderPool;
/// Renderable effect driver.
class RenderableEffectDriver : public besc::RenderableEffectDriver
... |
fdd24aa578c7c9eabbd707f3fd5b4176d4e76f88 | aab7eafab5efae62cb06c3a2b6c26fe08eea0137 | /preparejpsipiweights/preparejpsipiweights_FUMSB_NOTsimultaneous_before_combibdt/fitExclude.cc | 14b15fe9a29ad8611b439df7fda242ac894c22fe | [] | no_license | Sally27/B23MuNu_backup | 397737f58722d40e2a1007649d508834c1acf501 | bad208492559f5820ed8c1899320136406b78037 | refs/heads/master | 2020-04-09T18:12:43.308589 | 2018-12-09T14:16:25 | 2018-12-09T14:16:25 | 160,504,958 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,112 | cc | fitExclude.cc | #include "TH1.h"
#include "TF1.h"
#include "TList.h"
Bool_t reject;
Double_t fline(Double_t *x, Double_t *par)
{
if (reject && x[0] > 2.5 && x[0] < 3.5) {
TF1::RejectPoint();
return 0;
}
return par[0] + par[1]*x[0];
}
void fitExclude() {
// Create a source function
TF1 *f1 = new TF1("f1","[0] ... |
564089bda5feaf1d78c166eaff0c8563b8445c22 | b04a481521d3fd679254035f4bf751a29a6393cd | /Coktel/Fresa.cpp | 702e9ca6188f3a54137635ab59aea95767fb4fed | [] | no_license | Igneel-san/cocktel | 349242485e627a1bb5c45e86ac04b89ff6542546 | 44d6d6426815dc6fa2c94e9654982402844f859f | refs/heads/master | 2021-05-19T00:20:47.197001 | 2020-03-31T03:45:05 | 2020-03-31T03:45:05 | 251,491,688 | 0 | 0 | null | 2020-03-31T03:45:06 | 2020-03-31T03:32:12 | C++ | UTF-8 | C++ | false | false | 229 | cpp | Fresa.cpp | #include "Fresa.h"
Fresa::Fresa(string nombre) :Fruta(nombre, 1) {
cout << "constructor fresa" << endl;
}
Fresa::Fresa() {
// TODO Auto-generated constructor stub
}
Fresa::~Fresa() {
// TODO Auto-generated destructor stub
} |
9e4426f97bfe2343e9db9d34766b68dfbf3c70cb | 2ef9e94ac152d6b52cea8606dd313b4b9e603f85 | /PlatinenProduktSys/Firma.cpp | c137a85d88c9ed3cb4e03ff6af87921bea4838f6 | [] | no_license | amendy/PlatinenProduktSys | b1230f3c4e5dfe841fad045648286be26c5e0d95 | ab97d124425a029c91630cf8228890777b265322 | refs/heads/master | 2020-07-30T18:34:22.817536 | 2019-09-23T09:39:22 | 2019-09-23T09:39:22 | 210,317,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cpp | Firma.cpp | #include <iostream>
#include <list>
#include <string>
#include "Node.h"
#include "Firma.h"
using namespace std;
Firma::Firma(string name, string dienstleistung):Node(name) { /* deklariere hier alles */
m_name = name;
m_dienstleistung = dienstleistung;
}
void Firma::setUmsatz(double umsatz){
m_umsatz = m_umsatz... |
032e58034cb820ca2b1f1a7d560de028c544c861 | 02609e2fcfe3d5b55bd6fc93821cadce4444804c | /src/JasonsTileManager.cpp | 8faa737893c8996db71a1f17f8183aa9004b3a3e | [] | no_license | psyfb2/Age-Of-Empires-2D | 918a5837163179d33e187376d3ce3ac8ef914710 | 8a6df95edb993eff9bad6007e8a2a0f539243112 | refs/heads/master | 2021-06-30T07:22:58.553371 | 2020-10-22T22:31:42 | 2020-10-22T22:31:42 | 183,983,448 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | cpp | JasonsTileManager.cpp | #include "header.h"
// This is Jason's version of the MyTileManager class from Demo A.
// It may be a useful comparison for your own class?
#include "JasonsTileManager.h"
JasonsTileManager::JasonsTileManager()
: TileManager( 20, 20, 15, 15 )
{
}
JasonsTileManager::~JasonsTileManager()
{
}
void JasonsTileManage... |
65ecd559c65ca38c87c14f1690fe27671ca6c93a | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/EvalResults180628-fully/88.6/U | 665afd37af85871173db8a502a4d7ac6ea433c19 | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526,610 | U | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | |
728a3cdd897d3e4792c481be2f27538d0a822538 | 99f13d1a4b83277f2dc6c17e4b2a01f3cc4c405e | /src/Mappings/SphereExpMapping.h | 8a1c7febd980f097b414aa1b1b5d750d630e18b1 | [] | no_license | stormraiser/yaoclass20-advanced-computer-graphics-project | 7f86aa4a119872013fcc99f0869991cc73d7dc1c | c73bcd12d75266ef63fe50a5038b2257f5d8e257 | refs/heads/master | 2016-09-15T08:04:35.330720 | 2016-05-23T09:55:00 | 2016-05-23T09:55:00 | 42,011,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | h | SphereExpMapping.h | #pragma once
#include "Core/Mapping.h"
class SphereExpMapping: public Mapping{
private:
double c;
int k;
public:
SphereExpMapping(double _c, int _k): c(_c), k(_k){}
double value(const HitInfo &info) const;
};
|
979ea185ff6eeff638578e08a1224322f81dac89 | 5fc3eac5651b2ec83080d78918446b02863f2757 | /proj04/proj04.cpp | b25d41e4ad7310c0c0e52c1cf3bae31ef82d6473 | [] | no_license | funakoshiapi/C-Plus-Projects | 7f25d1b28afed7a1c1bc6fba63e5f20d46458c6f | eb18370ced6177ba5ae9d71c12335ab1b67d68c9 | refs/heads/master | 2022-12-07T04:34:51.451355 | 2020-08-12T17:53:58 | 2020-08-12T17:53:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,342 | cpp | proj04.cpp |
// Readme.. (Project 3 had no comments because I assumed that since the class had no
// coding standards for comments, it was not required. It was only mantioned that it was good practice.
// Can I please have my points back for project 3? )
// Project04
// This source code allows the user to input a string... |
0a0e6832ff1ba912236441032f76f5c632874343 | ff0589961076b3449ed49c4fbd3479f732f62151 | /include/CallableTraits.hpp | e09cfcbbbd0cb3ea093236ba02e1711244df9d6a | [] | no_license | juxeii/memoization | 7647b5f628a0dc36fa6bf3f1ee9551f15e41e953 | aa9ebe987b8bbcc7454a237f4c55b3aefcd17dd3 | refs/heads/master | 2023-02-16T22:19:48.100715 | 2021-01-13T08:13:12 | 2021-01-13T08:13:12 | 321,981,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,354 | hpp | CallableTraits.hpp | #pragma once
#include <functional>
#include <tuple>
#include <type_traits>
namespace memoization::details
{
template <typename T>
struct function_components
{
};
template <typename R, typename... Args>
struct function_components<std::function<R(Args...)>>
{
using type = std::tuple... |
37351fe42a29c85edfdb5d4d137bff9e7aa37590 | d9008a6695469f0c1283439e9cd9fa360e1d8371 | /Modeling.hpp | cf41b0b1dc9d91a34f9901835f5502d4f7cb566d | [] | no_license | bobosky/MertonCreditModel | eb2ee55ad1a7f3bd373b72f4806ace9de22af649 | 42694b664c004314bbd40197adcf5d702c0fb07d | refs/heads/master | 2022-02-04T21:21:39.000372 | 2018-10-01T17:10:25 | 2018-10-01T17:10:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | hpp | Modeling.hpp | //
// Modeling.hpp
// MoodysPractice
//
// Created by David Donnelly II on 9/29/18.
// Copyright © 2018 DavidDonnellyII. All rights reserved.
//
#ifndef Modeling_hpp
#define Modeling_hpp
#include <vector>
#include <stdio.h>
#include "DataHandle.hpp"
using namespace std;
struct Simulation{
int iterations;
... |
227893b3e8cea49f0e807a8bfd53d1f3a07deea5 | ba3b353b77dcf3631919ba1fe595c764ee0a9358 | /Source/FactoryGame/Private/FGSkySphere.cpp | 555576abe6c7cd17d392e13f9357e7128ae4050b | [] | no_license | TL044CN/SF_Mod_RefinedPower | ec78e93ee6f5414013edff393817ef1094fb4afa | ccaed30e2e96fbc17bb30409b9a86b3540004b1d | refs/heads/master | 2023-01-25T03:41:52.333970 | 2020-11-22T18:21:29 | 2020-11-22T18:21:29 | 315,099,080 | 0 | 0 | null | 2020-11-22T18:21:30 | 2020-11-22T17:56:10 | null | UTF-8 | C++ | false | false | 1,991 | cpp | FGSkySphere.cpp | // This file has been automatically generated by the Unreal Header Implementation tool
#include "FGSkySphere.h"
#if WITH_EDITOR
void AFGSkySphere::PostEditChangeChainProperty( FPropertyChangedChainEvent& propertyChangedEvent){ }
#endif
#if WITH_EDITOR
float AFGSkySphere::GetViewMinInput() const{ return float(); }
fl... |
8516c4a38536ba641c4cda3b8b4ec671991f3c4a | 319e7eb93d8ec1b9e0db8c829e30f2093718bd0f | /Arduino/libraries/RF24-master/arch/BBB/spi.cpp | 83750a201348e0fb51348b40cb0c77f146588cc5 | [
"MIT"
] | permissive | Petermarcu/Projects | 6644a7a6992fdeec522bddd6d9f0a0de4216df4d | 54e3a9854b18dc8327d1f5e482c09b316a69a388 | refs/heads/master | 2022-04-28T11:39:59.388617 | 2020-10-21T04:01:38 | 2020-10-21T04:01:38 | 32,695,728 | 5 | 1 | MIT | 2022-04-12T00:08:35 | 2015-03-22T21:12:03 | C# | UTF-8 | C++ | false | false | 3,898 | cpp | spi.cpp | /*
* File: spi.cpp
* Author: Purinda Gunasekara <purinda@gmail.com>
*
* Created on 24 June 2012, 11:00 AM
*
* Inspired from spidev test in linux kernel documentation
* www.kernel.org/doc/Documentation/spi/spidev_test.c
*/
#include "spi.h"
SPI::SPI() {
}
void SPI::begin(int busNo){
//BBB:
if(!busN... |
1c554c9ca6991541d8d2cd8fd0bfdeca3f053681 | de14a5d137287ec012d1644a15bc62da7e97d321 | /org.glite.wms-utils.jobid/src/jobid/JobIdExceptions.cpp | 6be40b7db15a2dceabedae6c82a6c88e21d19ebd | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | CESNET/glite-legacy | 209a5c01feccf69568fe850c76b0c91e036e6346 | 0ee8f0dea3fa9b316c7e98bbd002744995741644 | refs/heads/master | 2023-09-02T23:02:12.960080 | 2013-01-18T14:57:01 | 2013-01-18T14:57:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | cpp | JobIdExceptions.cpp | /* **************************************************************************
* filename : JobIdExecptions.cpp
* author : Alessandro Maraschini <alessandro.maraschini@datamat.it>
* copyright : (C) 2002 by DATAMAT
***************************************************************************/
#include "glite/wmsuti... |
ac81431b16951e2e16e1fa41eae115bac1785b51 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Codes/AC/1114.cpp | 2e70c6f5b358a5e706a2a064bc1a1ace44a7ec74 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,114 | cpp | 1114.cpp | #define __USE_MINGW_ANSI_STDIO 0
#include <bits/stdc++.h>
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl '\n'
#define ff first
#define ss second
#define mod 1000000007
#define pb push_back
#define mp make_pair
#define int long long
#define all(a) a.begin(), a.end()
#def... |
240c7d749716722f2c3ac0a9e43d9c1752f023fd | 2928bee4e6917946e058ecf0415d1847ef52a4db | /DAQSys.h | a6fc2b0f7c0013ccc47d9792da35295d51727e5d | [] | no_license | thinkexist1989/ThrustExpr | d12915dc6db31c54b96fa2f35feeaf4e8db77a51 | 25541d2adfed8a1f76382815983f006f5ec166f1 | refs/heads/master | 2021-01-20T02:42:24.057633 | 2017-04-26T05:59:30 | 2017-04-26T05:59:30 | 89,443,704 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,771 | h | DAQSys.h | // DAQSys.h: interface for the DAQSys class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DAQSYS_H__7532000D_2E31_4585_AB12_BB18D4864927__INCLUDED_)
#define AFX_DAQSYS_H__7532000D_2E31_4585_AB12_BB18D4864927__INCLUDED_
#include "NIDAQmx.h"
//#include <nidaqex.h>
#if _MSC... |
c4ab40e05b65448c21b1dde55b645f4af29817f6 | 6409b6a2699deb10488605525c24986b969f9922 | /Assignments/demo/CLL/CLL.h | 575a2a8c05972a5cec12418f06346723def6d555 | [] | no_license | prijuly2000/Data-Structure | 7745332f9b8d851139b04d99a5b4d2fb274b8b73 | caf2737d7912ea03f64a233f49f9bdf6b47933a4 | refs/heads/master | 2016-09-06T08:02:36.107609 | 2015-08-14T00:10:54 | 2015-08-14T00:10:54 | 40,687,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136 | h | CLL.h | #include"Node.h"
class CLL
{
Node *last;
public:
CLL();
void insertpos(int,int);
void deletepos(int);
void display();
~CLL();
}; |
59bcf6a258eb35f7abcf7230ea58b0125e15e692 | b18ea10bd7dd81a705b0b9a19b15da73393e5ed4 | /WinCtrlSolution/VirtualGridDemo/GridPropertiesSheet.h | 4b25954aa385ffec0212732bb5fc13b5c9bbefd0 | [] | no_license | yedaoq/YedaoqCodeSpace | 90f56c37fbb0ba2e5b1d0854714acc531e3d9f42 | 523eb2eab61c958abba5dd5eeeb5944dee43b9a9 | refs/heads/master | 2021-01-02T09:52:25.642868 | 2018-07-03T12:36:44 | 2018-07-03T12:36:44 | 2,127,456 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | h | GridPropertiesSheet.h | #if !defined(AFX_GRIDPROPERTIESSHEET_H__4C5D8673_8907_4B70_A717_929D9053E79D__INCLUDED_)
#define AFX_GRIDPROPERTIESSHEET_H__4C5D8673_8907_4B70_A717_929D9053E79D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GridPropertiesSheet.h : header file
//
#include "VirtualGridCtrl.h"
#include "Column... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.