blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d8a78e972deb621623f0454f33fcac823b8a97e1 | 6e5c2d09c3517fd1ad3eb1bf89b908589382ad70 | /PMS5003-OLED.ino | ed64acb5e41de92319052c888d19acc9e73aa37e | [] | no_license | jbeale1/DataAcq | 61bd3daeac591cd475748fc2f3d12d5696badce8 | 0e59809466ef5afbe8bed2c34edf8c0ef901d067 | refs/heads/master | 2023-07-24T06:22:14.607816 | 2023-07-23T19:53:22 | 2023-07-23T19:53:22 | 128,291,117 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,959 | ino | // =========================================================================
// Scrolling PMS5003 air sensor plot on 128x64 OLED display
// OLED example: amazon.com/gp/product/B076PDVFQD/
// J.Beale 12-July-2020
// =========================================================================
#include <Arduino.h>
#include ... | [
"noreply@github.com"
] | jbeale1.noreply@github.com |
b8a33aef6a18f685c12c2e60a6588f03b468569a | 654c2151e8e76478282a7221c9972fd4a8bae632 | /include/gideon/cs/datatable/template/help_table.hxx | 647c6744aa8902e8702dca38a13d23ff6b94db26 | [] | no_license | mark-online/cs | 485e06f1d3ad3a85837ed76ae259a3b89e37d40f | d1ff39f56f85117deca0ec3e626a9ad9429fbd49 | refs/heads/master | 2020-11-24T10:53:25.846048 | 2019-12-15T02:32:15 | 2019-12-15T02:32:15 | 228,116,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,870 | hxx | // Copyright (c) 2005-2014 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// 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 Fre... | [
"kcando@gmail.com"
] | kcando@gmail.com |
e82ae87d574e612267c02bf44f03ecf20adec35e | a78e701259d599f254e4d79473483e0cef9c7946 | /main_controller/Linux/build/LinuxActionScript.cpp | fde69e7cdd647ed53110b377c323788a01fd9c63 | [] | no_license | vehemens/baby_overlord | b62957d73d0ab18f80124c6b1b8a38b2aa7b9727 | 7ef8ddaa4485521bdc4abeb70c601b56344752e0 | refs/heads/master | 2021-01-16T18:31:09.254527 | 2016-11-12T06:11:06 | 2016-11-12T06:11:06 | 34,977,614 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,199 | cpp | /*
* LinuxActionScript.cpp
*
* Created on: 2011. 1. 18.
* Author: zerom
*/
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/wait.h>
#include "Config.h"
#include "Action.h"
#include "LinuxActionScript.h"
#include "LinuxMotionTimer.h"
using namespace Robot;
pth... | [
"vehemens@verizon.net"
] | vehemens@verizon.net |
f5cabe2e51faa425dd3cde108ed4299490c146c1 | 7a20b3db1a185ecdf12ad86f38edaa03742abd7b | /src/gpu/GrTextureProducer.h | 467948dfa65a88116a74f35b45439d18b8d6b21e | [
"BSD-3-Clause"
] | permissive | revery-ui/esy-skia | 7ef96ceeca94d001264684b7dc1ac24db0381ad4 | 29349b9279ed24a73ec41acd7082caea9bd8c04e | refs/heads/master | 2022-05-29T17:50:23.722723 | 2022-04-02T09:37:52 | 2022-04-02T09:37:52 | 203,015,081 | 24 | 26 | BSD-3-Clause | 2022-04-02T09:37:52 | 2019-08-18T14:24:21 | C++ | UTF-8 | C++ | false | false | 8,637 | h | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrTextureProducer_DEFINED
#define GrTextureProducer_DEFINED
#include "GrResourceKey.h"
#include "GrSamplerState.h"
#include "SkImageInfo.h"
class GrContext;
class Gr... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
ef59ef980a2cac33b8d8811389a0bf3ce0ac9478 | 458cd6f7ae22de180d3bea1a17e85759e6ce06ef | /customer/main.cpp | 7219f7d86d3aac552784a706d198084661b0bb19 | [] | no_license | l1021635438/Game_zinx | f758821ec392e7de08fbd9ff2448799bfcf7ba88 | da6fdd6fa3a96be925ebc3fc1126ad928025580b | refs/heads/master | 2022-01-13T08:27:19.355649 | 2019-06-12T01:56:45 | 2019-06-12T01:56:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | cpp | #include "zinx.h"
#include "Player/player_channel.h"
#include "Player/player_role.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/resource.h>
extern RandomName g_xRandModule;
void daemon_init(void) {
// 1. 重新设置 u... | [
"marklion@sina.com"
] | marklion@sina.com |
df85000b7e2215c598292109736abebc30b6057b | 3234ee3ed8da2b3a767fee087e60d3f31f47015b | /4033/main.cpp | 95578df3925521d513e8b9b382db648a5a9c1759 | [
"MIT"
] | permissive | innovator-zero/SJTU-OJ | 5e0f4eb0462d99706edb80860bb6e5e67f0fe3c6 | 6690d773a5992f3e00599380dc6ca0b4ff2ac845 | refs/heads/master | 2021-07-17T13:15:51.382078 | 2021-02-04T03:33:13 | 2021-02-04T03:33:13 | 237,784,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include <iostream>
using namespace std;
int main()
{
int year,month;
cin>>year>>month;
if(year<0||year>10000||month<1||month>12){cout<<"Error!";return 0;}
switch(month){
case 4:case 6:case 9 :case 11:
cout<<"30";break;
case 2:
if (year%400==0||year%4==0&&year%100!=0) cout<<"2... | [
"2529300178@qq.com"
] | 2529300178@qq.com |
4344ac183d0d4bc64dedc0fd4805c55bff5bdb0f | 46d67307d64323df77aa35c36a6026863efb1258 | /P5/1/d/1d.cpp | 69bc831c6e1d4827dbb4348bf0248e3ff8b027ef | [] | no_license | LFRusso/Intro_Fiscomp | 760a3bd8686f368eb024ef27d4b7706add877ea2 | 266e1d4ebf1e60db5035b3ba070f354b98f4f81d | refs/heads/master | 2020-05-16T06:56:15.431994 | 2019-09-17T00:49:38 | 2019-09-17T00:49:38 | 182,862,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 712 | cpp | #include <iostream>
#include <cmath>
#define n 10000 // número de iterações
using namespace std;
double derG(double x, double r){
return r*(1-2*x); // derivada de G(x)
}
double G(double x, double r){
return r*x*(1-x); // função G(x)
}
int main(){
double r;
double x;
double L;
r = 2.5; // Valor de r
for (int ... | [
"lf.santos@usp.br"
] | lf.santos@usp.br |
b47870496260f3a213e528259a73c34a0c874736 | 45235b3fb76767c35cdbc761f8ba402da2b22937 | /src/loss/loss.cpp | b3effca98796214875604ab66e1d2cb32970d28d | [] | no_license | BevisGX/FMLearn | 55e8f15e3531669716da7000d84801a6cd8a691a | 9758250d1dca47b92e4b0b97a387c06d126b67f4 | refs/heads/master | 2021-01-16T16:16:07.885108 | 2020-02-24T12:14:46 | 2020-02-24T12:14:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | //
// Created by naihai on 2020/1/23.
//
#include "loss/loss.h"
void Loss::Predict(const DMatrix* data,
FMModel& model,
std::vector<float>& preds) {
preds.clear();
preds.reserve(data->row_length);
for (int m = 0; m < data->row_length; ++m) {
auto& x = data->rows[m];
... | [
"open@zhfsky.com"
] | open@zhfsky.com |
a7db1797f700994da35fe714ca228561b489b69b | 38146d8325bdd4f2afc4ad488c1ae25977cae3ac | /leggiPotenziometri/leggiPotenziometri.ino | b82310184ac3014db78702a396d5dae71ee41ff4 | [] | no_license | davidebarcelli/3A_INF_INF_2018_19 | 3039ad65570387fc6da2436d523213376360470c | e69afd6ac28c9dbff69d981cabb585582d29dbb3 | refs/heads/master | 2020-04-11T22:30:26.621507 | 2019-02-08T12:20:01 | 2019-02-08T12:20:01 | 162,138,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | ino | void setup()
{
Serial.begin(9600);
}
bool leggi=false;
byte a='a',b='a',c='a';
void loop()
{
if(Serial.available()>0)
{
leggi=Serial.read()=='0';
}
if(!leggi)
return;
Serial.write(a);
Serial.write(b);
Serial.write(c);
a = ((a-'a')+1)%26+'a';
leggi=false;
delay(100);
}
| [
"="
] | = |
db89f855823da90f10da425bb970afae27bfc188 | 9afe02b2868bc29c44a935258bf33511de155f49 | /CodeForces/Good Bye 2019/A.cpp | 0facbff33d15d411a3ca5464d228de10495c8778 | [] | no_license | Aarti002/Competitive-Programming | e35861ef17f28a70e758f11f2d7fd3a3c79cb3fb | 41399bb3b54d7d31327f2be7597f69e219de974d | refs/heads/master | 2022-12-20T09:27:44.083383 | 2020-10-11T08:59:38 | 2020-10-11T08:59:38 | 297,463,984 | 0 | 0 | null | 2020-09-21T21:20:47 | 2020-09-21T21:20:47 | null | UTF-8 | C++ | false | false | 1,906 | cpp | /*
Esteban Arango Medina
*/
#include <algorithm>
#include <iostream>
#include <iterator>
#include <numeric>
#include <sstream>
#include <fstream>
#include <cassert>
#include <climits>
#include <cstdlib>
#include <cstring>
#include <string>
#include <cstdio>
#include <vector>
#include <bitset>
#include <cmath>
#includ... | [
"marranoparael31@gmail.com"
] | marranoparael31@gmail.com |
a23dfb30c5f3417721f338711a37e996e0972bf9 | c3400f1d4721b4ed6a87810ed368aa7b02b42669 | /src/TGATools.cpp | 07075b0e08380f96ad308b729420769a69a09373 | [
"MIT"
] | permissive | Gaukler/Software-Rasterizer | d55637b206ec23aac788238f2427c991c0049457 | dda480407a33f5b123acbab1f6d0d658896a92b1 | refs/heads/master | 2023-03-28T05:47:08.695702 | 2021-03-30T19:18:50 | 2021-03-30T19:18:50 | 218,014,899 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,254 | cpp | #include "pch.h"
#include "TGATools.h"
namespace TGATools {
TGAImage::~TGAImage() {
delete data;
}
TGAImage* loadTGAFile(const std::string& path) {
std::ifstream file(path, std::ios::binary);
assert(file.is_open());
TGAheader header;
file.read((char*)&header, sizeof(header));
assert(header.imageType... | [
"agauggel@uni-koblenz.de"
] | agauggel@uni-koblenz.de |
566b8cd41cb907c23e466e1a70c76e2af3b13c3f | 82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5 | /Airfoil/wingMotion/wingMotion2D_pimpleFoam/2.71/p | 403a8c7efcb0a8511631344abe81669a8c99a2ab | [
"MIT"
] | permissive | ishantja/KUHPC | 6355c61bf348974a7b81b4c6bf8ce56ac49ce111 | 74967d1b7e6c84fdadffafd1f7333bf533e7f387 | refs/heads/main | 2023-01-21T21:57:02.402186 | 2020-11-19T13:10:42 | 2020-11-19T13:10:42 | 312,429,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156,542 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"ishantamrakat24@gmail.com"
] | ishantamrakat24@gmail.com | |
7c63017c63e988bebc1ce979b408df3f35d45f05 | 173e26d9db765ceba22c19a742416659860fcf42 | /10567.cpp | 5a264c7b28ea0c36d6b65ef273c6beae2652d1f3 | [] | no_license | Hrily/UVa | f3726fdb8693ee6c3b2e6feca6a68327ae100b72 | 4a30d780c4fe903812f7d799ad9b7b8d8b9182fe | refs/heads/master | 2020-04-16T23:27:57.040770 | 2016-08-14T06:28:47 | 2016-08-14T06:28:47 | 51,148,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,762 | cpp | #include<iostream>
#include<cmath>
#include<cstdio>
#include<algorithm>
#include<limits>
#include<vector>
using namespace std;
#define MOD 1000000007LL
#define LL long long
#define ULL unsigned long long
#define LD long double
#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
#define ABS(x) ((x)<0?-... | [
"noreply@github.com"
] | Hrily.noreply@github.com |
a15393b0fb55b1d94f6c906cd0bd9a85cf3beb86 | 22a4727b415a10fd6e57814d9c84bb61e1689a5a | /Data Struture and Operating System/Stack and queue/3_2/3_2.cpp | e5651b4908e870597cb669364d9dfb051912e79d | [] | no_license | Walterkd/Research-and-Projects | 30f1c06ec813829d6cacae761ecf9f5d06a7310d | b68743be8d1bc4cf6091a6ad34978df93adb30dd | refs/heads/master | 2022-11-25T06:33:53.579562 | 2019-11-17T08:59:13 | 2019-11-17T08:59:13 | 221,824,850 | 0 | 0 | null | 2022-11-21T22:12:40 | 2019-11-15T02:11:17 | Jupyter Notebook | GB18030 | C++ | false | false | 1,446 | cpp | // 3_2.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define N 20
typedef struct
{
int data[N];
int front, rear;
}queue_type;
void init_queue(queue_type *q)
{
int x;
printf("\nPlease input the datas ended by 0:\n");
scanf("%d", &x);
wh... | [
"noreply@github.com"
] | Walterkd.noreply@github.com |
b90c5f7296cad5a01701844c1c5722355db3b7b1 | b50f5b85b12346e29f8d85aac5228e95b3af7a60 | /conex/supernodal_solver.cc | db062e0bb169c72ddd3736fbff37edab21847528 | [
"MIT"
] | permissive | adam-urbanczyk/conex | 18ba2946c2dc9f711272e2bc77df675256728a77 | 181a4a9b77d7331464fffc7afc45fe8be29168d2 | refs/heads/main | 2023-02-16T00:21:16.978830 | 2021-01-05T23:04:34 | 2021-01-05T23:04:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,253 | cc | #include "conex/supernodal_solver.h"
#include "conex/clique_ordering.h"
#include <iostream>
#include <map>
#include <Eigen/Dense>
namespace conex {
using Eigen::MatrixXd;
using Eigen::MatrixXi;
using Eigen::VectorXd;
using Eigen::VectorXi;
using Permutation = Eigen::PermutationMatrix<-1>;
using T = TriangularMatrix... | [
"frank.permenter@tri.global"
] | frank.permenter@tri.global |
8931ad3bfee95235255fde782fc129d62c3da111 | 2c917e0f81a2ffb746e53f723f0dea182b8cec14 | /Direct3D/Project/TerrainTool/TerrainHeight.h | ea514497eac4bc9afd35e1cf014583656f9d5b40 | [] | no_license | mukbe/azure | 599f4e3a288fd4e050d25474c1bb039c3ce77f4e | f5df71f38f32cb6d996086f424e562b0d7fe6282 | refs/heads/master | 2021-07-11T05:26:02.906571 | 2019-01-30T21:20:58 | 2019-01-30T21:20:58 | 143,990,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | h | #pragma once
class TerrainHeight
{
public:
TerrainHeight();
~TerrainHeight();
void CopyHeight();
void EditHeight();
void Load();
ID3D11ShaderResourceView* GetHeightMap();
CResource2D* GetHeightBuffer() { return heightMap; }
CResource1D* GetTempHeightBuffer() { return tempHeightMap; }
private:
ComputeShader *... | [
"azure9312@gmail.com"
] | azure9312@gmail.com |
2b5004e4a38919187fae5ac71f3df084b3c1435d | 6b550d3d0b182bcddda1f0a175d6b6cd07b60fb3 | /logdevice/server/rebuilding/RebuildingPlan.h | 17b6e131ebfaa943523a582cfe24e5ddcddbc396 | [
"BSD-3-Clause"
] | permissive | Rachelmorrell/LogDevice | 5bd04f7ab0bdf9cc6e5b2da4a4b51210cdc9a4c8 | 3a8d800033fada47d878b64533afdf41dc79e057 | refs/heads/master | 2021-06-24T09:10:20.240011 | 2020-04-21T14:10:52 | 2020-04-21T14:13:09 | 157,563,026 | 1 | 0 | NOASSERTION | 2020-04-21T19:20:55 | 2018-11-14T14:43:33 | C++ | UTF-8 | C++ | false | false | 2,647 | h | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <boost/icl/interval_map.hpp>
#include "logdevice/common/EpochMe... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
67fa9247d56908b704467a889da0f1c9bd5003b9 | 49aa304ddd5ac73650e95d1c2ad50183b40cc435 | /Example/src/ofApp.cpp | b01ac678b9a386d056f438a2e0565c98e754d5d1 | [] | no_license | nightshining/ofxControlUtils | 551b236049ea7214532e3539d9ca55ff255478c5 | 7fb454f9dd8182c9887c825a7058793a927cb237 | refs/heads/master | 2021-01-18T22:51:34.120895 | 2016-06-28T18:53:37 | 2016-06-28T18:53:37 | 38,910,772 | 11 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,292 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(ofColor::black);
ofSetCircleResolution(60);
}
//--------------------------------------------------------------
void ofApp::update(){
}
//---------------------------------... | [
"michaelpromeo@gmail.com"
] | michaelpromeo@gmail.com |
040166ad3da5c5107d55e91962be29f892f9ec3f | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /net/proxy/dhcp_proxy_script_fetcher.cc | 839c59bbd31f8f36965738e3bd019a2b71ee811c | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 1,062 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/proxy/dhcp_proxy_script_fetcher.h"
#include "net/base/net_errors.h"
namespace net {
std::string DhcpProxyScriptFetcher::GetFetcherNam... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
a69ad1ee09b4810442125ad3e098bf135161459e | f14626611951a4f11a84cd71f5a2161cd144a53a | /武侠世界/代码/Common/Packets/GCCoolDownUpdate.h | 3f0e9a7bca8f938dd1e02028681a4a0a70dcc520 | [] | no_license | Deadmanovi4/mmo-resourse | 045616f9be76f3b9cd4a39605accd2afa8099297 | 1c310e15147ae775a59626aa5b5587c6895014de | refs/heads/master | 2021-05-29T06:14:28.650762 | 2015-06-18T01:16:43 | 2015-06-18T01:16:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,308 | h | // GCCoolDownUpdate.h
//
// 当前主角的冷却表更新
//
//////////////////////////////////////////////////////
#ifndef __GCCOOLDOWNUPDATE_H__
#define __GCCOOLDOWNUPDATE_H__
#include "Type.h"
#include "Packet.h"
#include "PacketFactory.h"
#include "DB_Struct.h"
namespace Packets
{
class GCCooldownUpdate : public ... | [
"ichenq@gmail.com"
] | ichenq@gmail.com |
b88f7bec083661c0aaaaa216f62e0210f6dfb09f | 81cb2740b80a5576ff9a19ecf1bb7a6883c7ec75 | /unit2/test2-11.cpp | 0deda06e06b0c66cde5eb709902203d049dc0b86 | [] | no_license | wen-fei/elderly-acmer | 417c09e42f580286d8129532a6097e60e746a4a0 | ca4f43365f290615464eb3154bbb73594b5294ff | refs/heads/master | 2021-01-05T18:52:48.276919 | 2020-06-29T15:48:47 | 2020-06-29T15:48:47 | 241,108,333 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | cpp | #include<stdio.h>
#define INF 1000000000
int main() {
FILE *fin, *fout;
fin = fopen("data.in", "rb");
fout = fopen("data.out", "wb");
int x, n =0, min = INF, max = -INF, s = 0;
while (fscanf(fin, "%d", &x) == 1){
s += x;
if (x < min) {
min = x;
}
if (x >... | [
"282699766@qq.com"
] | 282699766@qq.com |
8e6814953d4d0f590206516ba27be1d81af63bf0 | 8abeaced48501df525ee887b261ce7755e39e22a | /src/ros/src/data/packages/dynamicmap_info/include/dynamicmap_info.h | a1335e4c088f34afeb6ea0ec672d2a9fea5fa8c8 | [
"Apache-2.0"
] | permissive | Harmoware/Harmoware-DMI | 23f945c47a1b8d07da4babbdb8d026f3672a7b92 | b16f809353d1b946db4ad7f4ad04b44f907bb20a | refs/heads/master | 2020-06-15T04:20:02.468007 | 2019-07-04T10:07:56 | 2019-07-04T10:07:56 | 195,201,654 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | h | /*
* Copyright 2019 Nagoya University
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | [
"noreply@github.com"
] | Harmoware.noreply@github.com |
8312ca498eddd9d1329c11cd5ef860341b6c5433 | 847e887b34dc4e2ca30bc79a018222377ec858c0 | /DirectXSpike/InputManager.h | a8bc093ddcd4b8f1fd35d10494113ad06fc07f07 | [] | no_license | mailek/sojourn_engine | 71b42da7c8d3b53cef6b3f98d87a699f13d9926c | 6d8b1d7719843c6167392291ad35b2ce59123903 | refs/heads/master | 2021-01-22T03:53:47.897474 | 2012-08-26T20:47:44 | 2012-08-26T20:47:44 | 2,250,890 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | h | #pragma once
/********************************************************************
created: 2012/04/23
filename: InputManager.h
author: Matthew Alford
purpose: Buffers raw input messages and translates to game key codes
*********************************************************************/
////////////////////... | [
"mattalford@comcast.net"
] | mattalford@comcast.net |
a5bd9d3d1ee49e3accfd5784c649adcdcf432cc9 | 5926bda735e7ac95163f658b5e9e968c044c682b | /30Clean/Clean/TreeCtrlExName.cpp | 6e6ce30b10cb4e5be97d0e13d1fda11ca6b7cabe | [] | no_license | liweilong0225/C2 | 42956654687804c544cfdac5aaf4ab7ec0c5b89a | b1efc9cbc10e567e991039df574e84ea07f9e58f | refs/heads/master | 2023-04-05T03:51:17.366828 | 2021-04-09T13:01:24 | 2021-04-09T13:01:24 | 347,281,732 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,450 | cpp | // TreeCtrlExName.cpp : 实现文件
//
#include "stdafx.h"
#include "Clean.h"
#include "TreeCtrlExName.h"
// CTreeCtrlExName
IMPLEMENT_DYNAMIC(CTreeCtrlExName, CTreeCtrl)
CTreeCtrlExName::CTreeCtrlExName()
{
}
CTreeCtrlExName::~CTreeCtrlExName()
{
}
BEGIN_MESSAGE_MAP(CTreeCtrlExName, CTreeCtrl)
ON_NOTIFY_REFLECT(TVN... | [
"liweilong0225@163.com"
] | liweilong0225@163.com |
6ea4c1bbdee227770208465cbabb736e4684ff74 | 657171d657b5b192af7f58d68a18862f16197f5f | /五子棋/chess.h | 158f4db43369c4fad3303cfc07b7dbf910569578 | [] | no_license | gaopu/mygame | 0a630c35775a74bcc07a3345a4430bc3835b6da8 | 585bd7a63f1e3e1045357059d1274e2716f1f562 | refs/heads/master | 2020-05-01T08:16:22.047349 | 2014-11-01T07:50:15 | 2014-11-01T07:50:15 | 26,044,817 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,067 | h | #include<graphics.h>
#ifndef CHESS_H_
#define CHESS_H_
class CHESS
{
public:
enum Condition{_black,_white};//该出什么颜色的棋子的标记(常量记号)
CHESS();//初始化
bool paint(short x,short y);//(x,y)绘画棋子,并且判断是否该一方胜出
private:
IMAGE chessboard;
IMAGE black_chess;
IMAGE white_chess;
IMAGE white_win;
IMAGE black_win;
C... | [
"936302529@qq.com"
] | 936302529@qq.com |
28aea79aacee18988b03fa3b62361d5a7e30d2bc | 05073cbde481a38ab04bb875ce22b8f6c4125ba6 | /src/hardware/machine/parts/sensor/imu.cpp | 24e653c8a902763d5862c7fcac7bc9a2f85479bd | [] | no_license | naznaseli/F405ControlBoard_program | cf17b66f37bdee829e46fdf5a73cf15440cea07a | 0fff67c0979494a4d9652b94e3a724874da3601c | refs/heads/master | 2023-02-05T18:16:45.252643 | 2020-12-19T10:29:08 | 2020-12-19T10:29:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20 | cpp | #include "imu.hpp"
| [
"shibadaigogo@gmail.com"
] | shibadaigogo@gmail.com |
a476528eabb175d59e27737506d80e928fa7ee68 | 7d2db85c46e7d0501a2f08254a0713cc5cc06095 | /src/translatingcylinder.cpp | a555ec6e372e4e87738c6670fa044236b7c2adc8 | [
"BSD-3-Clause"
] | permissive | mesnardo/petibm-decoupledibpm | 87f7e1a94dc137ccc29ad284cb54b8664efb0c38 | 675615a882cc8418b15a34e1100ccfb421f1d9d1 | refs/heads/master | 2020-04-09T03:36:55.984158 | 2020-02-12T17:46:39 | 2020-02-12T17:46:39 | 159,989,339 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,507 | cpp | /**
* \file translatingcylinder.cpp
* \brief Implementation of the class TranslatingCylinderSolver.
* \copyright Copyright (c) 2019-2020, Olivier Mesnard. All rights reserved.
* \license BSD 3-Clause License.
*/
#include "translatingcylinder.h"
#include <petibm/io.h>
TranslatingCylinderSolver::TranslatingCylind... | [
"mesnardo@gwu.edu"
] | mesnardo@gwu.edu |
2f2546d397436b7cb02d582c9dcfff1fab652ad5 | 5aad40ba5a1eb29799c1ad1c21495faa07e99b36 | /src/examples/opengl/glsl_pseudo_instancing/SphereMesh.cpp | 9446ddf665b957ecc471282eb23ac6b66125ff9b | [] | no_license | q4a/navidia_proj | 3525bcfdb12dc20dcecf08f2603324feceef7394 | 32c839744ad849f8d4d0273c635c4d601cc1980f | refs/heads/master | 2023-04-16T10:44:39.466782 | 2019-11-30T10:26:47 | 2019-11-30T10:26:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,901 | cpp |
#include "SphereMesh.h"
#include <assert.h>
#include <glh/glh_extensions.h>
#include <math.h>
static const float PI = 3.14159265358979f;
SphereMesh::SphereMesh(int rows, int columns)
{
assert(rows > 0);
assert(columns > 0);
int i, j;
float theta, phi;
Vertex v;
if((rows == 2) && (columns == 2))
... | [
"xtKnightMM@iCloud.com"
] | xtKnightMM@iCloud.com |
2f35f610963bd5eccf7353ef05419849ac6b07fa | 318f9186f840b30d0b2e19ca9431759ee0aca601 | /src/cryptonote_core/account.cpp | 40e6988ca3c23350b44e92471751a4b91e65bc8f | [
"MIT"
] | permissive | cmarshall108/reference-cryptonote | 24fe37129a09dd597582890b9173af47c29a4ed7 | 29a09394aff54ee2c7c981d5c1dacdf38ac027b8 | refs/heads/master | 2021-09-06T20:19:30.496463 | 2018-02-11T01:12:39 | 2018-02-11T01:12:39 | 121,068,843 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,112 | cpp | // Copyright (c) 2018, The Reference CryptoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistri... | [
"anythingtechpro@gmail.com"
] | anythingtechpro@gmail.com |
c6d1d817c4e93ef7758c2f10e7cff76428206a34 | ca1f24e0a1b89e69043e155ce4d0aa5420e7198c | /component/oai-hss/src/hss_rel14/util/src/sutility.cpp | 9bfc7e6ee26ba5f1775a81c0b816e4d5327dcf8d | [
"BSD-3-Clause",
"BSD-2-Clause-Views",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | oddytony/OAI_EPC-docker-compose- | c26931eaa2badd9c76a68e2ab78876ea01905548 | bf1c0aede05b422a3594afd205330da3cf5c7dd1 | refs/heads/master | 2023-01-31T03:10:59.395216 | 2020-12-15T18:29:26 | 2020-12-15T18:29:26 | 321,754,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,367 | cpp | /*
* Copyright (c) 2017 Sprint
*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You u... | [
"signormca@yahoo.com"
] | signormca@yahoo.com |
59ff7cd143fee48a35c35137eba16896d5b48cb4 | dc8f72ef95bd520980f0934a0e6f674b13083eed | /AVL.cpp | 9e6108fed023acf51102b4d5bf44ffdfb726b0d5 | [] | no_license | kltachi/some-bug-fixes | ab78b6d57175e940ba27fb6548403fc5da421c82 | 06b7ee07ba80ba0d02dfb613522e00473ab1520e | refs/heads/master | 2020-09-30T10:17:30.531053 | 2019-12-11T03:26:21 | 2019-12-11T03:26:21 | 227,267,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,876 | cpp | // C++ program for AVL Tree
#include<iostream>
#include"AVL.h"
using namespace std;
//get the maximum of two numbers
static int getMax(int first, int second) {
return (first > second) ? first : second;
}
template <class T>
void DeleteTree(AVLNode<T> *root)
{
if (root != NULL)
{
DeleteTree(ro... | [
"noreply@github.com"
] | kltachi.noreply@github.com |
37ff39c38629f3af815599b1bccd0c9cf8a0c299 | 6981a1cbd746fb3351fb2fa0e284c67c27fcf94a | /libs/CycleGrouping_v1.0.0/src/src/SpacePartitioner_CommonLine.cpp | d1f0202432c090d3a94699bd42debc0f2aff4438 | [] | no_license | quantumExploration/Desktop_Tool | 3242901a39d245f0a0229af8fd5f96b0afa7e1d4 | 265db5c81bca991cd83309a00dca80cd355067df | refs/heads/master | 2022-12-01T21:06:15.294151 | 2018-03-13T16:16:30 | 2018-03-13T16:16:30 | 122,759,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,675 | cpp | #include "SpacePartitioner.h"
#include <cstring>
/*
1.detect the common edge between all the planes
2.reorganize the subspace, so that
first one lies above plane0, below plane1
second one above plane0 above plane1
third one - below 0 above 1
fourth one - below 0 below 1
*/
void SpacePartitioner::reorganizeC... | [
"henan@pooled-93-96.pooled.umbc.edu"
] | henan@pooled-93-96.pooled.umbc.edu |
ae68ed7b15e8dc72b3654c3098bb77a572307ebc | eadaa262402712ad0739515af8ace4e8f914a813 | /Lógica de Programação/Desafios_Proprios/testerandom.cpp | 3ebfcd192efb45c44d3965f7ae4a5235cf67a471 | [] | no_license | EuJota/Estudos_C | 099ea6009f1e695aec9a8b7fb1295267d5fb3484 | ecad6ae859deabbe0a905ef45b57e5a2f24e3393 | refs/heads/master | 2021-07-06T13:04:51.752830 | 2020-10-07T17:14:55 | 2020-10-07T17:14:55 | 192,138,153 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | #include <stdio.h>
int main(void) {
// Define the two integer variables
int L,R;
int i;
// Get L and R from the user
scanf("%d", &L);
scanf("%d", &R);
// Write here the logic to print all integers between L and R
int n;
n=(R-L);
int list[n];
i=0;
do{
list[i]=L;
L++;
... | [
"betajpsg@gmail.com"
] | betajpsg@gmail.com |
6048fa3d749967348cf8c36dc3794561858e4bd7 | c01898b0f202022ccd1190ff025bd7563bf35e30 | /HW4.cpp | 7277c91f3f6937ecec3d22f523d143f28765b665 | [] | no_license | SethKinsaul/COMP-3350 | 764c495121c6f317f8bcb603d1ab7c398045939f | be8b5b1698154cb93e4b25794cc098f171b7dd96 | refs/heads/main | 2023-03-01T18:31:39.714427 | 2021-02-11T23:16:30 | 2021-02-11T23:16:30 | 338,177,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | TITLE My first assembly program INCLUDE
Irvine32.inc
.DATA
Message BYTE "Seth Kinsaul",0
.CODE
main PROC
mov edx, offset message
Call WriteString
exit
main ENDP
END main | [
"noreply@github.com"
] | SethKinsaul.noreply@github.com |
ccaac291233e710350b986a6efc727380c83ae58 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/multimedia/directx/dplay/dplay8/core/groupcon.h | 98a55e06f46db58a66e1aefbaf86077d780d303a | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 4,861 | h | /*==========================================================================
*
* Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
*
* File: GroupCon.h
* Content: Group Connection Object Header File
*@@BEGIN_MSINTERNAL
* History:
* Date By Reason
* ==== ... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
ddf34fc9f9898ca1b237a4905f415d52e881a99c | 70779f5f796cd2856093442af66b6f6d711f7c5a | /MyApplication_1/generated/images/src/CustomControls/datepicker_main_background.cpp | b56586a453cad27ed2550a095d9522904eba60f7 | [] | no_license | steve22184/TouchGFX | 97f213af0cd82a299d100b5f19771763155c5db9 | 6d778b6cd4b351d90bdbf6b7f0e50c6ad6f43a22 | refs/heads/master | 2022-11-13T02:54:55.167309 | 2020-07-08T03:55:09 | 2020-07-08T03:55:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662,142 | cpp | // 4.13.0 dither_algorithm=2 alpha_dither=yes layout_rotation=0 opaque_image_format=RGB565 non_opaque_image_format=ARGB8888 section=ExtFlashSection extra_section=ExtFlashSection generate_png=no 0x0af82584
// Generated by imageconverter. Please, do not edit!
#include <touchgfx/hal/Config.hpp>
LOCATION_PRAGMA("ExtFlash... | [
"jwyeyo@naver.com"
] | jwyeyo@naver.com |
df0c26b1d15a182c74e91cc6a69aa146dac44457 | 38c10c01007624cd2056884f25e0d6ab85442194 | /third_party/webrtc/modules/audio_coding/neteq/delay_manager_unittest.cc | f231c3da30145e8023431a889e7e6b0ab1c2d1ab | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-google-patent-license-webrtc",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"MS-LPL",
"LicenseRef-scancode-takuy... | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 10,211 | cc | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
976140785b92e6127d34b237ff775cf9e2140284 | ca23b411c8a046e98f64b81f6cba9e47783d2584 | /fast_k_means_2020/compute_cost.h | 076c64516a365fced7024ec95bc2a4f65e883e4e | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | pdybczak/google-research | 1fb370a6aa4820a42a5d417a1915687a00613f9c | 0714e9a5a3934d922c0b9dd017943a8e511eb5bc | refs/heads/master | 2023-03-05T23:16:11.246574 | 2021-01-04T11:30:28 | 2021-01-04T11:30:28 | 326,629,357 | 1 | 0 | Apache-2.0 | 2021-02-01T12:39:09 | 2021-01-04T09:17:36 | Jupyter Notebook | UTF-8 | C++ | false | false | 1,847 | h | // Copyright 2020 The Google Research Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
f2e1572665fe4ddb97fad132ab9500b7a766afc9 | 0065cefdd3a4f163e92c6499c4f36feb584d99b7 | /rogue/cheat/sdk/SDK/StatWrapper_Rogue_Downs_parameters.h | 099f8e5f0e9d9a2da0fb68ffef6e147984f46e41 | [] | no_license | YMY1666527646/Rogue_Company_hack | ecd8461fc6b25a0adca1a6ef09ee57e59181bc84 | 2a19c81c5bf25b6e245084c073ad7af895a696e4 | refs/heads/main | 2023-08-20T06:07:14.660871 | 2021-10-21T20:33:53 | 2021-10-21T20:33:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,966 | h | #pragma once
// Name: roguecompany, Version: 425
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//----------------------------------------------------... | [
"51001754+dmitrysolovev@users.noreply.github.com"
] | 51001754+dmitrysolovev@users.noreply.github.com |
1cca3fd36b1364a24a9ce6c976f2f8abfb2a3349 | ad470721ad1711a176e7c737404d8a8503a10563 | /src/Core/UI/UIStackTrace.cpp | a363278210e6ca82fb3fe9a2d0b52fc8e90e9d55 | [
"MIT"
] | permissive | I-Hudson/SimpleProfiler | e9c1e5084d1ae819c50e24480af6f3fbf070e1c1 | 1ce2a16ca15cb73d3b6364ca0a451b9656fee286 | refs/heads/master | 2020-12-02T23:05:48.123681 | 2020-01-03T20:14:48 | 2020-01-03T20:14:48 | 231,142,158 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,108 | cpp | #include "Core/UI/UIStackTrace.h"
#include <iostream>
namespace Core
{
namespace UI
{
UIStackTrace::UIStackTrace(UIPanel* parent, const char* panelName, const float& xPos, const float& yPos, const float& width, const float& height)
: UIPanel(parent, panelName, xPos, yPos, width, height),
m_displayedTrackNo... | [
"cuffy94@gmail.com"
] | cuffy94@gmail.com |
2a8a7429e4e743f239cb53e3d95ee284c172cb8a | ed994bc1980bb6463c477ddfb9167fcedf7341eb | /csma-simulation.cc | 8d77c2607bd1d28aa4219c632eff43eeca4d29a0 | [] | no_license | juliorenner/redes-II | a0d78946a59485a072926ec2898b92da0c9891da | 276a0a358cb20826e538d2347070e79efda8262d | refs/heads/master | 2022-04-23T07:16:00.242952 | 2020-04-27T04:37:43 | 2020-04-27T04:37:43 | 257,653,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,616 | cc | # /*
# * 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 distributed in the hope that it will be useful,
# * but WITHOUT ANY WARRANTY; without even the ... | [
"redesii@Redes-II.5nfiffhjujoencx1mukc0ehdlc.jx.internal.cloudapp.net"
] | redesii@Redes-II.5nfiffhjujoencx1mukc0ehdlc.jx.internal.cloudapp.net |
ca63d2df80379e9c22e316fe6af6fe5d05ab4b1a | a879bcb6a5dbd40a1c4815dc00291fca458dcc01 | /checked_deletor.cpp | 81db865bf600fbda0539e616d2cf03d6cca55e39 | [] | no_license | hgedek/cpp-samples | 38a5b44c43589bf441f4205bff2cb8a1e9f2c136 | 2f69954de8627fe2065a9958f997eee56d48f135 | refs/heads/main | 2023-04-20T06:24:36.931213 | 2021-05-01T14:41:20 | 2021-05-01T14:41:20 | 329,326,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | cpp | #include <iostream>
template <class T>
inline void checked_delete(T* ptr) {
// if T is not defined till now this will not work so
// undefined T's not usable and will compile error
char type_must_be_completed[sizeof(T) ? 1 : -1];
(void)sizeof(type_must_be_completed);
delete ptr;
}
template <class... | [
"hgedek@gmail.com"
] | hgedek@gmail.com |
4e6d6c82bdbad503f6cdac40eaf8885265b35c0f | 6516917077b0a4784e97903ee156dd5f8a722305 | /Twisty.ino | cc6906d1bbd425de5bcac3e04f3d747d71141ef9 | [] | no_license | michael-mj-john/twisty | 60cb43ba71d36b187ab12940200280e8a88c0bca | 08e3ceef0d1c63d50ed066d64d4722dceebd27ae | refs/heads/master | 2021-01-19T08:20:45.542860 | 2017-08-17T23:17:31 | 2017-08-17T23:17:31 | 100,652,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,489 | ino | #include "twisty.h"
void setup() {
Serial.begin(9600);
pinMode(LEFT_PLAYER_PIN,INPUT);
pinMode(RIGHT_PLAYER_PIN, INPUT);
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
randomSeed(analogRead(A0));
frameCount = 0;
gameState = start;
}
void loop() {
switch (gameState) {
case start:
gameS... | [
"mbjohn@ucsc.edu"
] | mbjohn@ucsc.edu |
74e3e095b8c08d4497adf6d3e1fe4bfa7f546d79 | 57b6fa831fe532cf0739135c77946f0061e3fbf5 | /NWNXLib/API/Mac/API/CRes.hpp | 36ddf6138a97ea881f5a3e2f8c31f569cf5a9678 | [
"MIT"
] | permissive | presscad/nwnee | dfcb90767258522f2b23afd9437d3dcad74f936d | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | refs/heads/master | 2020-08-22T05:26:11.221042 | 2018-11-24T16:45:45 | 2018-11-24T16:45:45 | 216,326,718 | 1 | 0 | MIT | 2019-10-20T07:54:45 | 2019-10-20T07:54:45 | null | UTF-8 | C++ | false | false | 1,944 | hpp | #pragma once
#include <cstdint>
namespace NWNXLib {
namespace API {
// Forward class declarations (defined in the source file)
struct CExoLinkedListNode;
struct CKeyTableEntry;
struct CRes
{
void** m_vtable;
uint16_t m_nDemands;
uint16_t m_nRequests;
uint32_t m_nID;
uint32_t m_status;
void*... | [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
6f1a1f949430104e9628742b64051892bb914f8f | dfb67fa48b3a3d5d411cbbbc748f5bc0afb339e0 | /Lab 10/218 Task 1.cpp | 4312525b5e950e2dbf7eaa1cf0f51abecd299795 | [] | no_license | LazyOlaf/190041218-CSE-4302 | ef9fb84bd2e0a1817bda4d856469918f66ad3918 | 3719dd0767ead05152230364da6894b931e4be67 | refs/heads/master | 2023-08-15T22:15:10.572354 | 2021-10-05T12:44:21 | 2021-10-05T12:44:21 | 374,868,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,266 | cpp | /**
differences between virtual and pure virtual function
VIRTUAL FUNCTION:
for virtual function we see that a base class pointer, which is assigned the address of an derived class object, can override
a function in base class if virtual keyword in used before that function in the base class.
now here, we can have 2 sc... | [
"fariaahmed@iut-dhaka.edu"
] | fariaahmed@iut-dhaka.edu |
a23a6bbdcf1425af84dc8fad31d75cd2ecf4f6e5 | ab6099adb86fc3a648595e3c3e76a08838ed4284 | /exam1/dynamic-array/main.cpp | ed4fcf510f8e56c867588bd51d228d941c89e28c | [] | no_license | saljashamy/CS2560 | 0c8f14c4fe846a7ddcd96f1ccb033f9cf6473f09 | 1e583eb7520c645302079ad26ee383e40a9712b4 | refs/heads/master | 2020-04-22T03:18:50.337390 | 2019-05-12T04:05:10 | 2019-05-12T04:05:10 | 170,082,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | cpp | #include<iostream>
#include<string>
#include "DynamicArray.cpp"
using namespace std;
int main(){
int n;
cout << "Size: ";
cin >> n;
DynamicArray *test = new DynamicArray(n);
test->setFloat(124.168, 0);
test->setFloat(-54.25, 1);
test->setFloat(0,2);
cout << test->getFloat(2) << endl;... | [
"saljashamy@tuta.io"
] | saljashamy@tuta.io |
0eea8222b885aa71f1978843c54e6bfb9b07f3ff | cea527dbaea23e1138c04d97d2580e4b5b22e100 | /Code_forces_problems/A_problems/A - Boy or Girl/A - Boy or Girl.cpp | 24c6d9e9183ec386c1f250db4252420788722e0d | [] | no_license | abdallahabusedo/Code_forces_problems | 4671514fa3c1afdb7344aa6bed3b14d14b7de631 | 9b71ec2abae6d5ecd09c4c8552d7097ed99a0526 | refs/heads/master | 2020-05-09T13:46:01.392861 | 2019-09-13T19:03:39 | 2019-09-13T19:03:39 | 181,166,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include <iostream>
#include<string>
#include<algorithm>
using namespace std;
int main() {
string s1;
cin >> s1;
sort(s1.begin(), s1.end());
int d = 0;
int c1 = s1.length();
for (int i = 0; i < c1; i++)
{
if (s1[i] == s1[i + 1])
{
d++;
}
}
if ((abs(d - c1)) % 2 != 0)
{
cout... | [
"noreply@github.com"
] | abdallahabusedo.noreply@github.com |
fd83802ed93ded776a14e88c2b80b735e21eb5c5 | 3ae3b4fa0286228642edbda8c8ed3f0d37664323 | /Project7/Project2/소스.cpp | ce65ae2dd75d6bdf94c26fa2aec2ba17bcd59fb1 | [] | no_license | KNDG01001/grade-1 | b06d105dd09b5ca0fe81d256a6ace96b4160db13 | c6f56eb6c812bc5cc0300ab000a4d285f5d4621d | refs/heads/master | 2023-01-09T09:45:02.457267 | 2020-11-01T06:02:42 | 2020-11-01T06:02:42 | 279,789,135 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 232 | cpp | #include <stdio.h>
#include <math.h>
#pragma warning(disable : 4996)
int main(void)
{
int i, a;
printf("정수를 입력하시오.");
scanf("%d", &a);
for (i = 1; i <= a; i++)
{
if (a % i == 0)
printf("%d\n", a / i);
}
} | [
"ydk2001524@gmail.com"
] | ydk2001524@gmail.com |
810b530f9d7ad1a111eb6d3f645ecc9c169ad036 | a884371d0a2ee3eef78ebeeb5cdc6cb1ce4cf4a8 | /BOJ/2089.cpp | cfc609610c07b3e855b8de87463b8e78a1cc0617 | [] | no_license | identity16/ProblemSolving | 3d63c19495089acf23edbf8ba0e281edafd46f9e | 55d6b049cd4450b9e01ba0db844b9a3acaa97cee | refs/heads/master | 2022-05-15T07:42:20.070793 | 2022-05-06T00:53:11 | 2022-05-06T00:53:11 | 158,641,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 877 | cpp | //
// Created by 신원준 on 2019. 09. 21..
//
#include <iostream>
#include <cmath>
#include <stack>
using namespace std;
// N / -2
long long division_m2(long long N) {
// 홀수인 음수
if(N % 2 && N < 0) {
N -= 1;
}
long long absN = abs(N), ret;
ret = absN / 2;
if(N > 0) {
ret = -ret;
}
return ret;
}
// N % ... | [
"dnjswns0930@gmail.com"
] | dnjswns0930@gmail.com |
1851ba525a98fea1aacf46a723661607aa28f83b | 02fb0cacdf96d44b6dd53253d2a39c8492890a0f | /src/clientversion.cpp | 17788e15ed744b117ba229f345f3b7b204157748 | [
"MIT"
] | permissive | KwamiLabs/LABS | 402cb8685e3bb798a5425f8f1fe07920cc4f6b90 | d817482b5a85dd0073da52221722bf3b03ec6de2 | refs/heads/master | 2023-04-15T16:01:46.843255 | 2021-05-03T08:31:22 | 2021-05-03T08:31:22 | 356,563,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,092 | cpp | // Copyright (c) 2012-2017 The Bitcoin Core developers
//Copyright (c) 2016-2019 The PIVX developers
//Copyright (c) 2020 The Sombe developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "clientversion.h"
#include ... | [
"info@sombe.org"
] | info@sombe.org |
3436ac54e9aa387bede6668e13d8347a23f007b3 | eff7ed347564b3b5240daee8621f596065a901da | /62. Unique Paths.cpp | 6cf7841a462f3c94100b65138779206fe8055bd7 | [] | no_license | liihhnm/leetcode | c455fcb9e8ad388a976f5cb863be75c86630cb0f | 53bb5a9ea95a51b23a6bfff0a9309edcfa2fd582 | refs/heads/master | 2021-01-17T08:22:22.056328 | 2017-03-23T16:48:56 | 2017-03-23T16:48:56 | 83,881,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | cpp | //62. Unique Paths
//dp
class Solution {
public:
int uniquePaths(int m, int n) {
vector<vector<int>> board(m + 1, vector<int>(n + 1, 0));
board[0][1] = 1;
for (int i = 1; i < m + 1; ++i)
{
for (int j = 1; j < n + 1; ++j)
board[i][j] = board[i][j - 1] + boa... | [
"davididota@gmail.com"
] | davididota@gmail.com |
3bcd9eca4ddd9ffebcbca4ee9d57380912b758ee | e383224ad0c76a3d98fa0321c00f189731e82b3d | /assignment3/test2.cpp | dfdeb15d80b9b992271c2986b0c8dfdefcf5dfde | [] | no_license | simon201400/CMPT225 | 8ffae74e415238309a7776e3c9181f0db9991093 | 974d55eae59c4808758e5576686cc85bf77e0b87 | refs/heads/master | 2022-04-26T14:42:13.636112 | 2020-04-29T04:54:31 | 2020-04-29T04:54:31 | 258,951,101 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,382 | cpp | #include <iostream> // I/O library.
#include <algorithm> // Includes sort()
#include <ctime> // access to the system clock
#include <time.h> // access to "wall clock"
#include "exp2.h" // our quicksort (and insertion sort)
using namespace std;
double elapsed_time( clock_t start, clock_t finish){
// returns elapsed ... | [
"noreply@github.com"
] | simon201400.noreply@github.com |
fbe9f02ffbdf88205415b9087dbb48c1829d9daf | aad6b08ee56c2760b207d562f16be0a5bb8e3e2a | /tags/Robespierre_2.0_pre-merge/BAL/Interfaces/BTTextLogFormatter.h | cfb1ed491220d5028bd3312a08e6c2e79a3c89e0 | [] | no_license | Chengjian-Tang/owb-mirror | 5ffd127685d06f2c8e00832c63cd235bec63f753 | b48392a07a2f760bfc273d8d8b80e8d3f43b6b55 | refs/heads/master | 2021-05-27T02:09:03.654458 | 2010-06-23T11:10:12 | 2010-06-23T11:10:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,123 | h | /*
* Copyright (C) 2007 Pleyo. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions... | [
"odole@a3cd4a6d-042f-0410-9b26-d8d12826d3fb"
] | odole@a3cd4a6d-042f-0410-9b26-d8d12826d3fb |
b06bccf379fb23289fad05370af53f4ab90156de | 8c415777ded08de0c62ec1fbedc81e7dfced6227 | /quicksort.cpp | ba90d2a8d8760468cb306596de52ef42b347a8c6 | [] | no_license | jhan1998/Data-Structure | a69169f95cbc5664ef4e26b5b3faa74a9acdbf81 | 6addd5c18ebc58a9caa03a52e1a5010a1b77f961 | refs/heads/master | 2021-03-23T18:47:56.097796 | 2020-04-15T14:32:55 | 2020-04-15T14:32:55 | 247,476,194 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,149 | cpp | #include <iostream>
#include <cstdio>
#include <vector>
#include <time.h>
#include<fstream>
using namespace std;
void swap(int *a, int *b){
int temp = *a;
*a = *b;
*b = temp;
}
int Partition(vector<int>&arr, int front, int end){
int pivot = arr[front];
int i = front -1;
for (in... | [
"noreply@github.com"
] | jhan1998.noreply@github.com |
dc40cbcfa0ee1e1b3ea9b89795a27a24821392b4 | 3bef4ea6baa134ffdaf1017f1a81d24fd2ce4ad2 | /src/repeat_graph/bipartie_mincost.cpp | aa708504a6dbebf7b7136520f32dd48c664d593e | [
"BSD-3-Clause"
] | permissive | SDquest/ABruijn | 0fc713b59547d2b10a831e5364a1498e4febf377 | 9c3f1662ba298f569977f0ca4f0f4d3ede4b6c52 | refs/heads/master | 2021-07-04T16:23:28.139311 | 2017-09-11T18:58:07 | 2017-09-11T18:58:07 | 105,111,508 | 1 | 0 | null | 2017-09-28T06:39:57 | 2017-09-28T06:39:57 | null | UTF-8 | C++ | false | false | 3,164 | cpp | // Implementation was taken from https://github.com/t3nsor/codebook
//
// Min cost bipartite matching via shortest augmenting paths
//
// This is an O(n^3) implementation of a shortest augmenting path
// algorithm for finding min cost perfect matchings in dense
// graphs. In practice, it solves 1000x1000 problems in a... | [
"fenderglass@gmail.com"
] | fenderglass@gmail.com |
cf5be8011984c45380734f254d1b7f48d9474e14 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/net/spdy/buffered_spdy_framer.h | 8ad0defed0f0477ef4eb99f1feb01b743661f40c | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,148 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_SPDY_BUFFERED_SPDY_FRAMER_H_
#define NET_SPDY_BUFFERED_SPDY_FRAMER_H_
#include <stddef.h>
#include <stdint.h>
#include <string>
#includ... | [
"dummas@163.com"
] | dummas@163.com |
2e0c30eb5ef0a6f7491c26e18325fd1d218292cb | 93df2bb23a094c5a81a94d3d7d3eb88e7de7c07c | /greedy/different_summands.cpp | 8d04a050cc0380913cdd9ba76dc48b88644ecef2 | [] | no_license | zouyonghao/Algorithm | 73bd0e7cff0f46551fb0d00d30545cb7b1f726c8 | ec65543e74b18ffd38a9cbdac57e0cda29026c12 | refs/heads/master | 2021-01-21T12:53:43.124235 | 2019-11-28T04:26:40 | 2019-11-28T04:26:40 | 52,542,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp | #include <iostream>
#include <vector>
using std::vector;
vector<int> optimal_summands(int n) {
vector<int> summands;
int i = 1;
while (n > 0) {
n -= i;
if (n <= i) {
i += n;
n = 0;
}
summands.push_back(i);
i++;
}
return summands;
}
int main() {
int n;
std::cin >> n;
vector<int> summands = opt... | [
"yonghaoz1994@gmail.com"
] | yonghaoz1994@gmail.com |
5579ffbf32986ceb8b21d61dcfce5f2f5e3ae36a | abfc6a67d84f743cfe48ab1233e79e6814e44fc4 | /tictactoe.cpp | 31859864bc577be62c1a967099d990f58260d27f | [] | no_license | cartagenae/TicTacToe | 744a7d78a4484f0dd3f27bf2a26007887b3ad228 | c2576111a73c59828c74f006f23688e8cc495475 | refs/heads/master | 2022-09-01T09:02:10.824452 | 2022-08-08T01:47:15 | 2022-08-08T01:47:15 | 71,516,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,217 | cpp | #include <cstdio> //c syntax
#include <iostream> //c++ syntax
#include <string.h> //string manipulation
#include <cctype> //toupper function
#include <time.h> //seed random number
#include <cstdlib> //random generator
//#include <conio.h> //getche function
//#include "getche.h" //Included becaus... | [
"cartagenaea@gmail.com"
] | cartagenaea@gmail.com |
e472428f79e98eb9e56bfdcf2d680e0b170c48d4 | a6dd54cb560dddccef0b2233fa2990f25e818c7b | /Codeforces/CF-28/D.cpp | 2262548c9dd73a47cbd6d992fcf5e8e71c27c54a | [] | no_license | renzov/Red_Crown | ec11106389196aac03d04167ad6703acc62aaef6 | 449fe413dbbd67cb0ca673af239f7d616249599a | refs/heads/master | 2021-07-08T04:56:22.617893 | 2021-05-14T18:41:06 | 2021-05-14T18:41:06 | 4,538,198 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,008 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <set>
#include <cstring>
#include <cstdlib>
#include <cctype>
#include <map>
#include <string>
#include <sstream>
#include <vector>
#include <queue>
#include <stack>
#include <cmath>
#include <numeric>
#define repn( i , a , b ) for( int i = ( int ) a ... | [
"gomez.renzo@gmail.com"
] | gomez.renzo@gmail.com |
5156adb97e41c2f45dce05c50926df5c6de1c620 | 18814825f89fda6637258a02454850c738465ee3 | /ex12/ex12_32/QueryResult.cpp | bb4215cc7e03f0ab2acb8f2d75b1c5ebdc647d0a | [] | no_license | rcocco/Cpp_Primer_5th | ce3f961c47f10d6e23524bba9f7772816cc304d8 | ae5b5d064acb353d8e1789066258c7673c1d9ad5 | refs/heads/master | 2020-04-18T18:39:47.635248 | 2019-02-21T15:09:28 | 2019-02-21T15:09:28 | 167,691,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | cpp | #include "QueryResult.h"
#include "StrBlob.h"
#include "ConstStrBlobPtr.h"
#include <iostream>
#include <memory>
#include <map>
#include <set>
#include <string>
using std::string;
using std::ostream;
using std::endl;
string make_plural(size_t ctr, const string &word, const string &ending) {
return (ctr > 1) ? word + e... | [
"araia@qq.com"
] | araia@qq.com |
77cf77909d0cfe972ddcfaea57cd2a93c38c1094 | ec851d93174372b391dece0fdec2863a0525c1b7 | /Info P1/Info P1/P1.cpp | 5874a6644631967ca3ba71f2393bd3da935c2ea6 | [] | no_license | UncleFirefox/Computer-Graphics-UPF | b32fe994241d9a9b41f0fbd6d84a77ae8728eb7d | 1d62bb51f5a4d01a1f48d6cd9e290f7e61438f86 | refs/heads/master | 2020-12-25T15:18:22.569620 | 2016-08-31T19:26:31 | 2016-08-31T19:26:31 | 67,066,428 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 15,213 | cpp | /*
*********************************************
** UPF/ETIS - Infografia I, Curso 2010/2011
**
** Practica 1
** Sergio Leon Gaixas - NIA 100750
** Albert Rodríguez Franco - NIA 103117
*********************************************
*/
#ifdef WIN32 //if we are under windows...
//we need to have this include
#include <w... | [
"albertrfranco@gmail.com"
] | albertrfranco@gmail.com |
cbe72bc7ee0c6e293a711af8ba712ad85ee742c2 | 1302a788aa73d8da772c6431b083ddd76eef937f | /WORKING_DIRECTORY/hardware/bsp/intel/peripheral/libupm/src/groveehr/groveehr.cxx | d2b0cd950b22bbc3e891cbef59806a9b5f36aefd | [
"MIT"
] | permissive | rockduan/androidN-android-7.1.1_r28 | b3c1bcb734225aa7813ab70639af60c06d658bf6 | 10bab435cd61ffa2e93a20c082624954c757999d | refs/heads/master | 2021-01-23T03:54:32.510867 | 2017-03-30T07:17:08 | 2017-03-30T07:17:08 | 86,135,431 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,129 | cxx | /*
* Author: Jon Trulson <jtrulson@ics.com>
* Copyright (c) 2014 Intel Corporation.
*
* 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 limitatio... | [
"duanliangsilence@gmail.com"
] | duanliangsilence@gmail.com |
a24f58279609ff182c0a9623eccc38c18d8b2c11 | c5169cd90666869e39efa4e2420ea5ede179c1d6 | /main.cpp | ddaf0b3171f7a6ac2102f297de6424776c298980 | [] | no_license | yowlings/data_structure | 4d7b8604da63776463e9b76d9b3dde9d0cd56b66 | cb7e6551f1a47a8090a546b702b17617dbb523ed | refs/heads/master | 2021-05-03T17:27:48.726703 | 2018-02-06T11:52:50 | 2018-02-06T11:52:50 | 120,448,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | #include <iostream>
#include "lqueue.hpp"
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
| [
"yowings@gmail.com"
] | yowings@gmail.com |
8dfcd281bc171102e3726d16489973acce6efabd | b1fb55354f46a21831c8350c9cd66928a6ad9b05 | /阶乘之和.cpp | a76956537f1e7f5261fe5a1d2ea8a4e71c3e4bfd | [] | no_license | LemuriaX/luogu | 8e3163b2c6aa6efdc6e8de0ac7665973b6020766 | 580955adb3fa2a698968c9342bbbd3cb83c7aaf7 | refs/heads/master | 2022-09-21T16:57:33.135957 | 2020-04-22T15:19:54 | 2020-04-22T15:19:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,562 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
if(n == 1)
cout << 1;
else if(n == 2)
cout << 3;
else if(n == 3)
cout << 9;
else if(n == 4)
cout << 33;
else if(n == 5)
cout << 153;
else if(n == 6)
cout << 873;
else if(n == 7)
cout << 5913;
else if(n == 8)
cout <... | [
"xialei1468@gmail.com"
] | xialei1468@gmail.com |
d1f8485289b6b5ce3c2b9122c872bdb44c5ff0bb | 376883e26add80c6e3dc75fd3571b994d37eda51 | /src/signACoreFun/sa_fun_core.cpp | f70003d52a020664453d303cbf859f7dac2db1e6 | [] | no_license | rpzhu/sa | 4375142a565e9ed058acd2d0f2729f6cfa499c73 | 1a01b4ab065d2b596496126b43140e8bda922a53 | refs/heads/master | 2022-11-28T12:36:27.491989 | 2020-07-30T01:22:08 | 2020-07-30T01:22:08 | 275,979,744 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,143 | cpp | #include "sa_fun_core.h"
#include <QVector>
#include <iterator>
#include "SAValueManager.h"
#include "SAAbstractDatas.h"
#include "SAVectorDouble.h"
#include "SAVariantDatas.h"
#include "SADataConver.h"
#include <QCoreApplication>
///
/// \brief 激记录错误信息
///
static QString s_error_info = QString("");
#define TR(str)\... | [
"872207648@qq.com"
] | 872207648@qq.com |
d6379eba36cbc7c9a62cfaf80362ab00995f8fb0 | 593db3223cd2d6efe94828611697a1854ff6593b | /fboss/agent/hw/sai/switch/SaiPortManager.cpp | 0f9c27553b75b50646ea148a3347aba11265f847 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | st303303/fboss | f737404819c754def4317ba675adf03e008ee6ac | b775bff1f206ebd1ecfcd6a42dd88d48611a881a | refs/heads/master | 2023-04-07T02:56:40.970433 | 2021-04-07T21:36:08 | 2021-04-07T21:37:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,555 | cpp | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
87a86478a0fd1c5e609d023e4ce6ccb734adb8c5 | fa55d8ed32564195f2687d1e18b99f80c5683073 | /lbc_hackerrank/bike-racers.cc | fcba9ea42cd2b4d710f97d808e69732d35412945 | [] | no_license | TenFifteen/SummerCamp | 1841bf1bd212938cee818540658185cd3e429f0c | 383b9321eee9e0721772f93a897c890f737f2eff | refs/heads/master | 2020-04-05T23:48:01.393256 | 2018-03-11T12:37:38 | 2018-03-11T12:37:38 | 38,595,086 | 9 | 4 | null | 2016-07-18T14:21:15 | 2015-07-06T03:15:55 | C++ | UTF-8 | C++ | false | false | 2,342 | cc | /*
这是第一次写二分匹配的题目。
感觉上来讲,好像二分匹配应该是比较基础常见的算法了。
参考:http://www.cnblogs.com/pony1993/archive/2012/07/25/2607738.html
*/
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
const int maxn = 256;
bool grid[maxn][maxn];
void initGraph(const vector<pair<int,int>> ... | [
"libenchao@gmail.com"
] | libenchao@gmail.com |
42091f912d6be1ea9c46d1829879f76f3cb5cd53 | 720f9f7c3732c7b48d8bff2a41e57dd6b6f7d5eb | /mergeSortedArray2/mergeSortedArray.cpp | 3ca6a7429114171b19f8638d12669d5c35347cb2 | [] | no_license | WindZQ/LintCode | 99364e6861dd1c20412831b8fffff9f5c385b3fc | ec4c69ce90ec705d331a71362d44a29a04cd8204 | refs/heads/master | 2023-05-01T09:03:12.792290 | 2023-04-16T04:19:35 | 2023-04-16T04:19:35 | 202,881,696 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | #include <iostream>
#define method1 1
#define method2 0
class Solution
{
public:
//时间复杂度为O(n),空间复杂度为O(1)
#if method1
void mergeSortedArray(int A[], int m, int B[], int n)
{
int i = m - 1, j = n - 1, index = m + n - 1;
while(i >=0 && j >= 0)
A[index--] = A[i] > B[j] ? A[i--] : B[... | [
"1049498972@qq.com"
] | 1049498972@qq.com |
e90f796717c832fa40bc1bc3db17a7af2cfa3b08 | f4f8ec5c50bf0411b31379f55b8365d9b82cb61e | /operation-overload/重载增量和减量运算符(ERROR-不明白).cpp | 1c788246337dcebf9f350c1057da810eeba0bc2c | [] | no_license | xhbang/cpp-homework | 388da7b07ddc296bf67d373c96b7ea134c42ef0c | fb9a21fef40ac042210b662964ca120998ac8bcf | refs/heads/master | 2021-01-22T05:20:59.989600 | 2011-12-05T10:31:14 | 2011-12-05T10:31:14 | 2,915,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | #include <iostream.h>
class T
{ public:
int x;
int y;
T()
{ x=0;
y=0;
}
void set(int i,int j)
{ x=i;
y=j;
}
};
void main()
{ T x,arr[5],y;
x.set(10,20);
y.set(6,99);... | [
"sonicisdreaming@gmail.com"
] | sonicisdreaming@gmail.com |
cc6658e2f8104058f8fc3ab3adbb86d7075eb52b | 70b80126db111cd9c3dfcad9a30ec73253b4a15f | /IDA_STAR.cpp | ceb3c9e97265a6abfe09d6de75890d841ef5218e | [] | no_license | asthabhatiwara/Sliding-Puzzle-Solver | 7d8dfe05ba5d236d1d2dee19237645f726fada0d | a6a67d30963a56527821495e1e59e747a47457bb | refs/heads/main | 2023-06-14T00:41:15.974278 | 2021-07-03T09:23:22 | 2021-07-03T09:23:22 | 382,457,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,728 | cpp | /****
* IDA* Algorithm on Sliding Puzzle
***/
int IDDFS(Node *cur , int level , int threshold){
int f = level + heuristic_manhattan(cur->board);
if(f > threshold)
return f;
if(heuristic_manhattan(cur->board) == 0){
cout << "SOLUTION STATE using IDA* star: " ;
... | [
"noreply@github.com"
] | asthabhatiwara.noreply@github.com |
ae72cfdab4d0063971ac0b2117e7c4016cd538cb | 82e49fa2218f0a24e6127cf01b5d5f8450b0b2ea | /include/Camera.h | 3b2f745267599fc7475017923bac6e6ddd4f3f63 | [] | no_license | pulldtrigger/Senior-Legacy | 0c64288840e7527b438ab4a8defc93e25bcec8d1 | 05e1018efdcb76a893e9d9702425bfb3e1d3cea0 | refs/heads/master | 2020-03-28T09:23:56.591271 | 2015-11-26T23:59:53 | 2015-11-26T23:59:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | h | #ifndef CAMERA_H
#define CAMERA_H
#include <SFML/System/Vector2.hpp>
#include <SFML/Graphics/View.hpp>
class Camera
{
public:
Camera();
~Camera();
void follow(sf::Vector2f center);
void setCenter(sf::Vector2f center){mCenter=center;mView.setCenter(mCenter);}
void zoom(floa... | [
"lucas.derego@gmail.com"
] | lucas.derego@gmail.com |
2d27eae415eba4a8218218ab67b5d7ee156ddc40 | cbbded5a7ab0fdf76bf8223a6d6f6ac6f2f66f1d | /三国war/Classes/Roles/ActorBase.h | c18f065e073c7ec18429777bd6024f77bc7d5ea6 | [] | no_license | Changqingdaozhang/dotawar | 23557bcc7ebefbd471220f212a84a330a546588a | 6b59d992bbf46aa65bbf4164ec6f77e9a4fe3e36 | refs/heads/master | 2020-12-11T09:17:56.494901 | 2014-04-27T15:13:19 | 2014-04-27T15:13:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,799 | h | #ifndef _ACTOR_BASE_H_
#define _ACTOR_BASE_H_
#include "cocos2d.h"
using namespace cocos2d;
#include "ActorData.h"
enum ActorState {Stand = 0, Run, Attack};
class Tower;
class GameRoot;
class ActorBase : public CCNode,public cocos2d::CCTouchDelegate
{
public :
// ActorBase(ActorData* data);
~ActorBase(... | [
"tigerandy@163.com"
] | tigerandy@163.com |
519afd9e9045f55a256416785cd86c7cc82746b6 | 41af50c10d40fa6bf69fc2e7ecb631e15a79cb2c | /rush00/Player.hpp | cfcc4693035f0097c60fe72f04ab305ef67941e9 | [] | no_license | ppanchen/piscine_cpp | 3cfe03f770472c919749cf6327e8a21f67eb4140 | e81fb363a8548c741ac122bc7ad56088cea9f655 | refs/heads/master | 2021-01-23T05:25:12.842067 | 2017-06-20T18:18:21 | 2017-06-20T18:18:21 | 92,970,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | hpp | //
// Created by petro on 6/17/17.
//
#ifndef PLAYERS_HPP
#define PLAYERS_HPP
#include "Map.hpp"
#include <random>
class Player {
protected:
int i;
int j;
int direction;//1 ->, 2 <-;
bool alive;
bool wasAlive;
Map ↦
void ch_dir();
int gravity();
public:
Player(int, int, Map &)... | [
"mrpeterpan10@gmail.com"
] | mrpeterpan10@gmail.com |
7b48483793a7c4655a4582aa9fc14a1b79f2189f | b478eca7f38c63a5be2235c2a74e339737263897 | /BinarySearchTree.cpp | 5039550f5c2cfd87068330854888899ed7dbcb34 | [] | no_license | 237K/DataStructure | f4c79252a59b7f48bed78a23e98bc005ec5f8e5e | a84734ca91d38d19dc7ac9bcb92d1be3e99cb744 | refs/heads/master | 2020-04-24T18:53:31.354732 | 2019-03-14T05:46:14 | 2019-03-14T05:46:14 | 172,194,731 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 11,844 | cpp | //
// OS Windows
// 2019.03.09
//
// [자료구조]
// <1. Linked List>
// <2. Circular Linked List>
// <3. Doubly Linked List>
// <4. Stack>
// <5. Queue>
// <6. Deque>
// <7. Binary Tree>
// <8. Heap>
// 1) 완전이진트리 구조
// 2) 모든 경우에 부모노드의 우선순위 >= 자식노드의 우선순위 를 만족함. 루트노드의 우선순위가 가장 높음
// 3) 루트노드로 올라갈수록 저장된 값이 커지는 완전 ... | [
"237ref@gmail.com"
] | 237ref@gmail.com |
595571fc9bc59090933444eda3b57812b4b6fdbf | 8bf1f3a08d012055f9e244fc6e2c9c6caddd14b0 | /cpp/DIS7/EntityMarking.cpp | 9748e1edbc115c1c6b482d2e668cc07fa74e350d | [
"BSD-3-Clause"
] | permissive | mcgredonps/open-dis-cpp | 9724e41a82503215c56cdbd112a4a24b3b46f437 | 6c060f508fb369229ff54a371e75d536cb68ce5a | refs/heads/master | 2021-01-10T07:28:59.401127 | 2015-10-01T04:38:22 | 2015-10-01T04:38:22 | 43,478,826 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,648 | cpp | #include <DIS/EntityMarking.h>
using namespace DIS;
EntityMarking::EntityMarking():
_characterSet(0)
{
// Initialize fixed length array
for(int lengthcharacters= 0; lengthcharacters < 11; lengthcharacters++)
{
_characters[lengthcharacters] = 0;
}
}
EntityMarking::~EntityMarking()
{... | [
"mcgredo@Dons-Mac-mini.local"
] | mcgredo@Dons-Mac-mini.local |
52d2472a589fb26aee1f5cf95f6b7bad181fb12d | 2afca25b1452fbcf338c02aa34b357cc578cc91f | /tdaq09.pro/Cicaevmhdl.h | b6aea49e81b91a05350d48146509b9f880d0bdf4 | [] | no_license | sandrov/fladaq | c7b057ffe9be4125e1ed8babfcd322bd3b128363 | 13171a97b36be3f59c90bfa76fc6d55bd3e34667 | refs/heads/main | 2023-04-21T12:12:43.280744 | 2021-05-05T20:39:25 | 2021-05-05T20:39:25 | 364,693,368 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | h | #ifndef _evmhdl_
#define _evmhdl_
#include "wrimsg.h"
#include "Ctcpux.h"
class icaevmhdl
{
public:
Ctcp *mcon;
trip mtr;
wriparam wpa;
icaevmhdl();
~icaevmhdl();
void handleInit();
int waitTrig();
void receivingDone();
void giveStatus(int);
void giveUp();
};
#endif
| [
"sandro.ventura@cern.ch"
] | sandro.ventura@cern.ch |
ed3ea9bbec0bfe4737a4ca94037148cccdf52b3f | 02d27ea6a37e40e2b14c45e6ab52ec46f0857db3 | /AMoAdCocos2dxModuleDemo/cocos2d/cocos/base/CCProperties.h | 651e6ec453aa2f5f01ac3f7062acf79ce8b4ab49 | [
"MIT"
] | permissive | amoad/amoad-cocos2dx-module | 41cabe123b86034bb8e3aa63249bd0850a3bea03 | 6d3611a1c423fac3e62fec9236e7759fea747904 | refs/heads/master | 2021-07-14T22:22:17.618048 | 2020-07-17T02:08:54 | 2020-07-17T02:08:54 | 60,071,704 | 1 | 8 | MIT | 2018-04-13T07:07:19 | 2016-05-31T08:28:48 | C++ | UTF-8 | C++ | false | false | 22,530 | h | /**
Copyright 2013 BlackBerry Inc.
Copyright (c) 2015 Chukong Technologies
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 appl... | [
"yun@amoad.com"
] | yun@amoad.com |
7b534be94cb4130e21713e562988c8757e4dceaa | e5bc2b47d5232b584218083fecd5e2e6ace0767b | /RVPCore.cpp | 8334000c695ea1854a27f36b6a9c2389d1e00ea0 | [] | no_license | TumanovArtem/RVPCore | b742f8708d5bb62e1c906f5526a80e51dd05a7cf | 9b1ac93afa6fb6e376e98b377f38522187aa81ac | refs/heads/main | 2023-03-19T01:46:14.861057 | 2021-03-11T12:59:43 | 2021-03-11T12:59:43 | 322,834,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,639 | cpp | // RVPCore.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
#include "Model.h"
#include "Calculator.h"
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
using namespace std;
Model* MyModel;
Calculator* Calc;
//Переменные для па... | [
"artem_tuman@mail.ru"
] | artem_tuman@mail.ru |
3dac32835f0e4cc6531437e2930b0fdfe9e2e8bf | 0db39d27f607c11e3690f5e055fda6205ad6c693 | /dataminning_lab/fptree/fptree.cpp | d0e0af06fbc44372b8f567f0a59640f1a1abe608 | [] | no_license | deepank1728/workspace | a316a9a5495f7d8bbfa2554c05ab6fe9d36c4b1b | 9d1f90a375b40078d9e00225da91cfecdec84d1c | refs/heads/master | 2021-01-25T07:40:08.364942 | 2015-05-26T09:45:36 | 2015-05-26T09:45:36 | 28,571,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,774 | cpp | #include<iostream>
#include<cstdlib>
#include<fstream>
#include<cmath>
using namespace std;
char filename[255]="input";
typedef struct node{
string s;
int *count;
struct node *next;
}node;
node *getnode(string s){
node *temp=new node();
temp->next=NULL;
temp->s=s;
temp->count=new int[s.length()];
return t... | [
"deepank1728@gmail.com"
] | deepank1728@gmail.com |
0041aa1ce9a66de97b67a5ea9fdb3bf85e0e835b | 214d5f58879ac065b84c5b8af9b9bfc3afd92fbc | /RastrVisualModule/helpwindow.h | 0071ef6f867e681b028b1b2e29c701ac27ac7e22 | [] | no_license | MikProtopopov/RastrVisualModule | 61a6e0058870276f28d6bef9b93e9379ea687663 | 3c64b150ff027309632e734032eaac1b275e4b6d | refs/heads/master | 2021-01-17T09:54:36.161559 | 2016-06-19T17:29:09 | 2016-06-19T17:29:09 | 58,476,985 | 0 | 0 | null | 2016-06-11T14:18:28 | 2016-05-10T16:29:22 | C++ | UTF-8 | C++ | false | false | 1,153 | h | // Copyright 2016, Protopopov Mikhail G. <mikprotopopov@yandex.ru>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later ve... | [
"mikprotopopov@yandex.ru"
] | mikprotopopov@yandex.ru |
08bd40e2a427043a3cfccebc39e5b160f90f8abc | 51b1a358e1618ea72f76afda4d50a73714322cc1 | /编程练习/二叉树的层序遍历/test.cpp | 8dd7e32058ddcb4f7125d93aeb06e3f223c632ab | [] | no_license | kelandisi/After-Class-Practice- | 95b3b33712161534a0b1c6722d91d31e143617ac | c4d8c75e34716126d5bb3c74c2e9ed799720f358 | refs/heads/master | 2023-02-14T00:30:08.541941 | 2021-01-13T10:01:45 | 2021-01-13T10:01:45 | 179,977,236 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 2,174 | cpp | #define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<queue>
#include<vector>
using namespace std;
class Node
{
public:
Node(int);
int _data;
Node* left;
Node* right;
};
Node::Node(int data)
{
_data = data;
left = NULL;
right = NULL;
}
//vector<vector<int> > levelQuery(Node* root) //按层号进行遍历
//{
// vect... | [
"1191054822@qq.com"
] | 1191054822@qq.com |
a8c27741ad362f3b6d21d6585f43dc8dc43e9577 | f78f67455aea51a68345242d880ace43e911bcbb | /LAST/LambdaCalculator.cc | 64d11e07b488edda89128df87add29d219f4c4ee | [] | no_license | hallamlab/SOFA | deed7f75fd862d623e0fd11cf71cc8163517f9b1 | 4c06b4fe681dd7303c8db92b14d76d456d4a4472 | refs/heads/master | 2021-01-25T08:54:31.133579 | 2018-08-28T13:58:32 | 2018-08-28T13:58:32 | 31,295,469 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,022 | cc | // Copyright 2008 Michiaki Hamada
#include "LambdaCalculator.hh"
#include <vector>
#include <cassert>
#include "lambda_calculator.hh"
namespace cbrc{
void LambdaCalculator::setBad(){
lambda_ = -1;
letterProbs1_.clear();
letterProbs2_.clear();
}
void LambdaCalculator::calculate( const int matrix[MAT][MAT], in... | [
"david.kim9325@gmail.com"
] | david.kim9325@gmail.com |
3df85e7cb3e110129dfa4fe8452d91f77961c853 | c89df69de10550fbdc45ed6f7a1c729e2392c57f | /[Dynamic][2618]PoliceCar.cc | 12bd845dc63a7d72c2615e7afede2781621f47f5 | [] | no_license | gmpark1932/backjoon_onlineJudge | 8c4db62f34eae344ace94e61019cdf661e34d041 | 27ef71ccf62cdc4e015edf683ed3250fad32b1bb | refs/heads/master | 2020-12-02T19:46:49.848196 | 2018-09-21T04:15:57 | 2018-09-21T04:15:57 | 96,388,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,674 | cc | #include <cstdio>
#include <algorithm>
#define MAX_N 2000
#define MAX_W 2000
#define INF 150000000
using namespace std;
struct Case {
int y;
int x;
};
int min(int a, int b) {
return (a < b) ? a : b;
}
int D[MAX_W][MAX_W];
Case incident[MAX_W];
Case BackTrack[MAX_W][MAX_W];
int distance(Case a, Case b) {
int r... | [
"noreply@github.com"
] | gmpark1932.noreply@github.com |
fe59740301ff94cb31603b45f76475104b7777c0 | 463f1160306b49dcaf781c2eae661ed6f11c880e | /20170630_polymorphism/main.cpp | df874f35020191c96bbcb47e31cc9b42f8a7dd3f | [] | no_license | boldorider4/coding_fun | f93d09b60b35b1f7e0737e7fb6a3b883f9b6c5c6 | 00a5deb019ed9d3b67d8c37d42712f9cc24da77f | refs/heads/master | 2021-06-29T01:58:12.965445 | 2019-05-27T10:23:15 | 2019-05-27T10:23:15 | 90,873,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | cpp | #include <iostream>
class A {
public:
virtual void foo() { std::cout << "A foo was called" << std::endl; }
};
class B : public A {
public:
virtual void foo() { std::cout << "B foo was called" << std::endl; }
};
class C : public B {
public:
virtual void foo() { std::cout << "C foo was called" << std::endl; }
};... | [
"jack.olivieri@tomtom.com"
] | jack.olivieri@tomtom.com |
2ee935c9e784539d39e4f2bc80862253f4de9ae3 | 25be9cd11e759eec032e6f38207420d5e944b1d4 | /src/pvm2sdp/read_input_files/read_xml_input/Input_Parser/on_start_element.cxx | 77dfa09bb00592ddf4df76e3119c79695e5906d2 | [
"MIT"
] | permissive | SUBHAPHYSICS/sdpb | a50e38bf32a28828bfd3aa80a44691230fef64e8 | 9da09235ffe9359a224b038fcfbe919aa6db7a8f | refs/heads/master | 2022-04-17T04:31:37.494934 | 2020-03-24T03:12:43 | 2020-03-24T03:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cxx | #include "../Input_Parser.hxx"
#include <stdexcept>
void Input_Parser::on_start_element(const std::string &element_name)
{
if(inside_sdp)
{
if(!objective_state.on_start_element(element_name)
&& !polynomial_vector_matrices_state.on_start_element(element_name))
{
throw std::runtim... | [
"wlandry@caltech.edu"
] | wlandry@caltech.edu |
75b7a87a6c15d8079dd8117fc92011e8c5532a21 | c077321369be5d3391b7313e0958ed91ea1ce1a6 | /Homework1/homework1fan.cpp | 88c5c740821d92f1574769539cdc964b9476beb1 | [] | no_license | maholmes1/cse460-spring2018-2 | 622f6c4e2d31674d82f573ba52356b5cf4256a8b | f7e8915d14577da35a7c3ea3afa79b7c219114c5 | refs/heads/master | 2020-03-19T22:46:50.754142 | 2018-06-11T22:02:36 | 2018-06-11T22:02:36 | 136,981,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | //creates a fan of processes
#include <iostream>
#include <sys/types.h>
#include <unistd.h>
using namespace std;
int main()
{
int n = 10;
pid_t childpid;
for ( int i = 0; i < n; ++i ) {
if ( ( childpid = fork()) <= 0 )
break; //break, either child or error
sleep ( 1 );
}
cout <... | [
"noreply@github.com"
] | maholmes1.noreply@github.com |
9e7b5ce0ffe6b35128369cdef9b1b162b4d2cb0b | 74b6018e594e5cba71d3e26ef70884c92abde0c0 | /mmCoreAndDevices/DeviceAdapters/NiMotionStageController/NIMotionControl.h | 4b3d21b71fdaa27d1138aa646ca2e96dbc1e988c | [
"BSD-3-Clause"
] | permissive | lwxGitHub123/micro-manager | 4b5caec8f25de2b7a9e92e7883eecc026fdc08b9 | a945fdf550ba880744b5b3695fa2c559505f735b | refs/heads/main | 2023-06-24T13:00:29.082165 | 2021-07-29T07:24:13 | 2021-07-29T07:24:13 | 382,203,845 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,656 | h | ///////////////////////////////////////////////////////////////////////////////
// FILE: NiMotionControl.h
// PROJECT: Micro-Manager
// SUBSYSTEM: DeviceAdapters
//-----------------------------------------------------------------------------
// DESCRIPTION: The example implementation of the demo ca... | [
"test@test.com"
] | test@test.com |
480d8cfce7ea96d703811ec65aef53fc0ef085c6 | b49f272ee4c9c6a36fdd608068bc725644c96c89 | /dynamic11.cpp | 61af83b0663d76fee0e435c225d0051d38943cc3 | [] | no_license | nikisonowal4899/codes | 2061954511e73b71e572e32342ff6cbe8b4a660a | b399f6c59a7daa038518df373e6d88d6831f2df4 | refs/heads/master | 2020-08-03T07:46:45.711770 | 2019-10-14T13:00:25 | 2019-10-14T13:00:25 | 211,673,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | #include <iostream>
#include <string>
using namespace std;
struct student
{
string name;
int roll;
};
int main()
{
struct student *ptr; //Declaring a pointer to structure
ptr = new(struct student); //Allocating memory in Heap
cout << "Enter Name: ";
cin >> ptr->name;
cout << "Enter Roll number: ";
cin >> ptr... | [
"nikisonowal4899@gmail.com"
] | nikisonowal4899@gmail.com |
57bedbf77cde4270ebe1296368b1dcd21df4a416 | 3cf6bb62295c532fc0bbe83892035a73798288b7 | /vendor/qcom/proprietary/fastmmi/module/battery/battery.cpp | 98235fbfb5b2f1a8ba4446de776d9114c9aaab49 | [] | no_license | qiangzai00001/QuectelShare | 4698c270fde9b2a3fb88f9633302553582a34a8c | 92fbb0f6117219f63b3a83887e16e4f8335ab493 | refs/heads/master | 2022-12-14T20:21:13.450593 | 2020-01-14T04:56:44 | 2020-01-14T04:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,781 | cpp | /*
* Copyright (c) 2014-2016, Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
#include<sys/types.h>
#include<sys/stat.h>
#include<fcntl.h>
#include<ter... | [
"tommy.zhang@quectel.com"
] | tommy.zhang@quectel.com |
7f5a54eaa36e2c9b8ce3f8e49860d8d9028d764b | 3e18f076511616ce513029a62efe4e3a8f7aa062 | /test/integer_sequence.with.tuple.libcxx.cpp | 9dd718593d7134c7b9e67746ef0f96551fb6b5a5 | [
"NCSA",
"LicenseRef-scancode-mit-old-style",
"MIT",
"LicenseRef-scancode-other-permissive",
"BSL-1.0"
] | permissive | FirstLoveLife/Faiz | 5fbd0d5b1e03b8f46052ade03725f6157fc15630 | 9c417fc9ffc082aa0c446196aac1d2ca743c6a1b | refs/heads/master | 2022-09-16T02:30:08.399255 | 2022-08-27T13:34:04 | 2022-08-27T13:34:04 | 166,163,447 | 16 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,114 | cpp | #include "rider/faiz/type_traits.hpp"
#include "rider/faiz/utility.hpp"
#include <cassert>
#include <tuple>
template<typename AtContainer, typename T, T... I>
auto
extract(const AtContainer& t, const Rider::Faiz::integer_sequence<T, I...>)
-> decltype(std::make_tuple(std::get<I>(t)...))
{
return std::make_tuple(std::... | [
"c941968215@gmail.com"
] | c941968215@gmail.com |
6822962ccebcfe9e0b0aee4b8f11227be0fd4e9a | 2f2a99fb68c2fc9d920f76c60781c7f5ab6e2f06 | /sequential/object_tracker.cpp | e39dbb7935a1fbfc83e544db67a6096bdb710f0e | [] | no_license | Teemothy/fast-object-tracker-15418 | dba824389177ff6789ea69606bc43fe7251d9d3f | 5fadcd57f4a9a8a1056e23b3975f94ad29e91918 | refs/heads/master | 2020-12-30T15:29:50.116863 | 2017-05-13T03:38:29 | 2017-05-13T03:38:29 | 91,146,749 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,176 | cpp |
#include "object_tracker.h"
object_tracker::object_tracker(int bounding_box_height, int bounding_box_width,
int image_height, int image_width,
int search_box_height, int search_box_width,
int classifiers_count,
... | [
"tkli@GHC42.GHC.ANDREW.CMU.EDU"
] | tkli@GHC42.GHC.ANDREW.CMU.EDU |
4b50006f492290be0cdcecc992c058acec2973c8 | b7b09e3e439c18868442604413ba826c9ad1f0dc | /d3d12-physx/d3d12-physx/GameObject/MainScene/PlayerCamera.h | e88f10281004208ab5d721d1577e6309d2ba7efc | [] | no_license | zhumake1993/physx | 712f5da222ab5378fa3945f470ca23b824e170c6 | 04309e8bae963ba0b0cfe753a1d4daf9c01da32e | refs/heads/master | 2022-02-14T00:53:26.853934 | 2019-08-23T02:19:38 | 2019-08-23T02:19:38 | 196,956,100 | 2 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 488 | h | #pragma once
#include "Manager/GameObject.h"
class PlayerCamera :
public GameObject
{
public:
PlayerCamera(const Transform& transform = Transform(), const std::string& name = "");
~PlayerCamera();
private:
virtual void Update(const GameTimer& gt)override;
void Move(const GameTimer& gt);
// Ðýת
void Pitch(f... | [
"zhumake1993@gmail.com"
] | zhumake1993@gmail.com |
24187fdef65f5b997d01a5525be2d1054d82560e | a02a9701fca434612e1c78e20b884ab92be6b5ed | /src/map.cpp | df30370d2edd4faf3908d6923cec1b8060cb2584 | [
"MIT"
] | permissive | alvarogonzalezferrer/warlord_premier_mr_bush | d74281b7fc904f75bb602b974a7d55c57c4fd64d | ebabaf8f5e57b9c8ba78e03af23b0788f681faa3 | refs/heads/master | 2022-11-15T08:19:59.690336 | 2020-07-04T08:37:53 | 2020-07-04T08:37:53 | 277,002,817 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,230 | cpp | // -----------------------------------------------------------------------
// map.cpp
// -----------------------------------------------------------------------
// Map of the game
// -----------------------------------------------------------------------
// Copyright (c) 2007, Kronoman
// In loving memory of my father.... | [
"alvarogonzalezferrer@users.noreply.github.com"
] | alvarogonzalezferrer@users.noreply.github.com |
d9c88e49395c92cb2db919a978648bcbb4604db3 | 7e4e48586a9a97b0801032b01f9754d548cbaec7 | /parser/css/token.hpp | 6fd97b6fe2200ea28fab475655eb833df4083864 | [
"BSD-2-Clause-Views",
"BSD-2-Clause"
] | permissive | usadson/WebEngine | a2d190d02d2c611f09591ba12fc531bed0def2c6 | 73f436535a70c6c9d7f3a5c565650b6152effd8d | refs/heads/master | 2021-05-17T07:01:26.962421 | 2020-12-02T23:45:40 | 2020-12-02T23:45:40 | 250,685,304 | 3 | 0 | BSD-2-Clause | 2020-06-19T23:36:20 | 2020-03-28T01:03:39 | C++ | UTF-8 | C++ | false | false | 3,204 | hpp | #pragma once
/**
* Copyright (C) 2020 Tristan. All Rights Reserved.
* This file is licensed under the BSD 2-Clause license.
* See the COPYING file for licensing information.
*/
#include "data/text/unicode.hpp"
#include <type_traits>
#include <variant>
namespace CSS {
using IntegerType = std::int64_t;
using N... | [
"code@thewoosh.me"
] | code@thewoosh.me |
8ddbd74e37b86fa74a3b064b90e6dae85cb14b7c | e7be2ee48f952308f5672240c2c833d718d9d431 | /Juliet_Test_Suite_v1.3_for_C_Cpp/C/testcases/CWE194_Unexpected_Sign_Extension/s01/CWE194_Unexpected_Sign_Extension__fgets_malloc_82_goodG2B.cpp | 5848297d2999568353a7ded26d4a3a66dde87748 | [] | no_license | buihuynhduc/tooltest | 5146c44cd1b7bc36b3b2912232ff8a881269f998 | b3bb7a6436b3ab7170078860d6bcb7d386762b5e | refs/heads/master | 2020-08-27T20:46:53.725182 | 2019-10-25T05:42:36 | 2019-10-25T05:42:36 | 217,485,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,423 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE194_Unexpected_Sign_Extension__fgets_malloc_82_goodG2B.cpp
Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml
Template File: sources-sink-82_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 194 Unexpected Sign Extension
* BadSource: fgets Read data from the... | [
"43197106+buihuynhduc@users.noreply.github.com"
] | 43197106+buihuynhduc@users.noreply.github.com |
d607cf08605d6ee971fcfe4558c31f8814d7ec05 | 35596c34d80d1378091090e6183cb0e1c27fdc4d | /src/pcl_tutorial/src/correspondence_grouping.cpp | 14f0499c90162afdf7199c4c5e2487813866871a | [] | no_license | YeeKal/grasp_ws | bdb22a04a52919621fd69d15a5ba274322f61102 | 7e40ddb871c4975f39f677ada035aac56d79e511 | refs/heads/master | 2020-09-02T04:12:41.745818 | 2019-12-31T05:26:35 | 2019-12-31T05:26:35 | 219,128,067 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,037 | cpp | #include <pcl/io/pcd_io.h>
#include <pcl/point_cloud.h>
#include <pcl/correspondence.h>
#include <pcl/features/normal_3d_omp.h>
#include <pcl/features/shot_omp.h> //描述子
#include <pcl/features/board.h>
#include <pcl/keypoints/uniform_sampling.h>
//#include <pcl/filters/uniform_sampling.h>
#include <pcl/recognition/cg/ho... | [
"gangy521@gmail.com"
] | gangy521@gmail.com |
13ab9192a3fc1312e8393d56c85ba5c0a7964b20 | 35960fb62f6921a4d9bb3de0f971103b2bebef96 | /unittest/mkl_lapack_executer_test.cpp | 806204ef9a8d0a220866b81350c85fa64dbe1e5f | [] | no_license | echo-ml/execution_context | ce3d24589b7ee596e7f556a815615b6ecbdd21ba | da5b099f724a8e89b6bb0818375812677d9f9938 | refs/heads/master | 2021-01-10T20:19:27.797107 | 2015-09-14T04:19:24 | 2015-09-14T04:19:24 | 34,025,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | cpp | #include <echo/execution_context/mkl/lapack_executer.h>
#include <echo/execution_context/lapack_executer_concept.h>
#include <echo/test.h>
using namespace echo;
using namespace echo::execution_context;
using namespace echo::execution_context::intel_mkl;
static LapackExecuter lapack_executer;
TEST_CASE("mkl_lapack_ex... | [
"ribulous.barnulous@gmail.com"
] | ribulous.barnulous@gmail.com |
7a7119672af6ca872c39de4b4c7d589729b1f53c | 48e9625fcc35e6bf790aa5d881151906280a3554 | /Sources/Elastos/LibCore/inc/org/apache/harmony/security/x509/CBasicConstraints.h | 79f346c3732fcd153886287595e4ee3f4b22837f | [
"Apache-2.0"
] | permissive | suchto/ElastosRT | f3d7e163d61fe25517846add777690891aa5da2f | 8a542a1d70aebee3dbc31341b7e36d8526258849 | refs/heads/master | 2021-01-22T20:07:56.627811 | 2017-03-17T02:37:51 | 2017-03-17T02:37:51 | 85,281,630 | 4 | 2 | null | 2017-03-17T07:08:49 | 2017-03-17T07:08:49 | null | UTF-8 | C++ | false | false | 3,033 | h | //=========================================================================
// Copyright (C) 2012 The Elastos 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
//
// ... | [
"cao.jing@kortide.com"
] | cao.jing@kortide.com |
c4823e1d6432be31f6a1e6030cef123e13ea5acf | 520c46d7f4ce63697f7a0f87cec247b618c5e395 | /Operation research/MMDO1_min_max_func_finder/MMDO1.cpp | 19fe3662db62ab04e65987470b444776b6097b31 | [] | no_license | DmytroDT/university-CPP- | 7e53d7f84bf6e3d4e9cfc38f939fdddd49e32b58 | 1c72e2fe419ebecd7a33d43da82fda893c6f2883 | refs/heads/master | 2023-05-03T22:00:26.550543 | 2021-05-24T17:02:36 | 2021-05-24T17:02:36 | 360,164,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,284 | cpp | #include <iostream>
#include <vector>
using namespace std;
#define n 3
class Point {
private:
double x, y;
public:
Point(double x, double y) {
this->x = x;
this->y = y;
}
Point(Point &pt) {
this->x = pt.x;
this->y = pt.y;
}
double getX() {
return x;
}
double getY() {
return y;
}
friend ostre... | [
"Dohgca@gmail.com"
] | Dohgca@gmail.com |
5de6a2c913db2053128bffd367be00240ce4a3cb | 0f4abb86eef5028a4683dc8e943b152870593eba | /StockItem.cpp | 89872d3442ea398adc432d67694e0b15e1193119 | [] | no_license | bitblaster/lab-prog-assigment2 | 145d96fe3c937bc521efb9c26dc092603a04de9c | 4f52829c0a380ca9bb8e2542c35cf13179264650 | refs/heads/master | 2020-12-08T13:25:26.282362 | 2020-01-30T08:09:27 | 2020-01-30T08:09:27 | 232,992,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | /**
* Implementazione della classe StockItem
*
* @author Giacomo Vettoretti, 1187540
* @version 1.0 29/01/20
*/
#include "Stock.h"
#include "StockItem.h"
void StockItem::add(const unsigned int q) {
quantity += q;
availability += q;
}
int StockItem::reserve(const unsigned int q) {
if (availability >... | [
"roberto.mozzicato@gmail.com"
] | roberto.mozzicato@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.