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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f047894dd19c89e769dfe6bd5fb9369f2d4c03c7 | 3a9bd82f9696143cd15d79b304a89dfe0f553767 | /sources/C_CPP/OLD/Arduino_WiFi_RS232_converter_REST_server/eclipseCWorkspace/Satelita1_RestServer/SkipBytesUntilSequenceSubTask.cpp | 5768102e16f1e14c12d183c50aa161cc8dfa6081 | [] | no_license | kermitas/intellihome | 70ed6eae659ede659889416df79b60557ddc7d62 | 23c9f3c3202101125f5648257518aa58f7ab455c | refs/heads/master | 2021-01-23T13:36:01.563695 | 2012-06-27T13:10:01 | 2012-06-27T13:10:01 | 4,650,476 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,207 | cpp | SkipBytesUntilSequenceSubTask.cpp | /*
* SkipBytesUntilSequenceSubTask.cpp
*
* Created on: 18-04-2012
* Author: root
*/
// =================================================
#include "SkipBytesUntilSequenceSubTask.h"
// =================================================
//const PROGMEM prog_char SkipBytesUntilSequenceSubTask::className[] = "... |
fc40ca7ffaac9e61ce78489c86488d105a48d6b5 | 785f542387f302225a8a95af820eaccb50d39467 | /codeforces/615-B/615-B-15248980.cpp | d7b733cddd27bc21e5cb31614ad07801bc6cea71 | [] | no_license | anveshi/Competitive-Programming | ce33b3f0356beda80b50fee48b0c7b0f42c44b0c | 9a719ea3a631320dfa84c60300f45e370694b378 | refs/heads/master | 2016-08-12T04:27:13.078738 | 2015-01-19T17:30:00 | 2016-03-08T17:44:36 | 51,570,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,320 | cpp | 615-B-15248980.cpp | // Anve$hi $hukla
// Until the lion learns how to write, every story will glorify the hunter.
#include <bits/stdc++.h>
using namespace std;
#define TRACE
#ifdef TRACE
#define trace1(x) cerr<< #x <<": "<<x<<endl;
#define trace2(x, y) cerr<< #x <<": "<<x<<" | "<< #y <<": "<<y<< endl;
#define trace3(x... |
216760569e10b44e8d1035575faa2607ab77089f | 14095d94663868d9b3a99ed9426f1d89f50c0c46 | /src/flash_loader.cpp | c6361ed4570c9355d619e7326c98c3b577d24cae | [] | no_license | iq-motion-control/iq-flasher | 06901e00525989f6aaefd9a67c0e149f9e7f7d5c | 36c0061a1a4e40b72fd84cc8c1b84991b8cd76f7 | refs/heads/master | 2023-06-25T11:19:22.975734 | 2023-06-14T17:52:22 | 2023-06-14T17:52:22 | 371,368,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,241 | cpp | flash_loader.cpp | #include "schmi/include/Schmi/flash_loader.hpp"
#include <QDebug>
namespace Schmi {
void FlashLoader::Init() {
ser_->Init();
bin_->Init();
total_num_bytes_ = bin_->GetBinaryFileSize();
return;
}
bool FlashLoader::InitUsart() { return stm32_->InitUsart(); }
uint16_t FlashLoader::CalculatePageOffset(uint16_t... |
51f1a627154937e2289b184bcf9db66f7fd778b0 | 73ceef53044657b0500e5bea07c8084d28bffbbe | /inc/board.h | f7e1522ba9ed26f94821efb3dcb1b694254932c1 | [] | no_license | rikanov/Planets | ce8fa23a19e1ce634fa62267889a42b947559a04 | f1031ee3e089214a77775614e19804745212c573 | refs/heads/master | 2022-12-01T13:33:43.284138 | 2022-11-14T05:38:08 | 2022-11-14T05:38:08 | 203,871,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | h | board.h | #ifndef BOARD_H
#define BOARD_H
#include "generator.h"
#include "sstack.h"
class Board: public StepStack
{
protected:
const Node* _WINNER_SPOT;
private:
// Board grid [rows+2][columns+2]
Node ** __theGrid;
Collection * _collectionOfPlayer;
Collection * _collectionOfProgram;
Collection * _curre... |
0e02b62734541310f04e77ab6e39159e3b470ba2 | 428cd933e5eb520232119720480f1f00cd0f99f0 | /fingertracking.cpp | bb4c5eeeffa106174da24cbb375142f211d9218f | [] | no_license | AadarshKumayan/finger-tracking-using-openCV | 2be28965e96f210a7808248d1961630fc6cdbf83 | 655e2c38d6ace8848d484204a2bdec0b7223f3df | refs/heads/master | 2021-01-25T08:06:56.031125 | 2017-06-09T04:44:34 | 2017-06-09T04:44:34 | 93,713,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,263 | cpp | fingertracking.cpp | #include<opencv2/core/core.hpp>
#include<opencv2/highgui/highgui.hpp>
#include<opencv2/imgproc/imgproc.hpp>
#include<iostream>
#include <math.H>
using namespace std;
using namespace cv;
#define pivalue 3.14159265358;
Mat img, img1, erosion_dst, dilation_dst, sampleOut;
VideoCapture wc(0);
int erosion_elem = 0;
int ... |
82d801c76e5644562097840223714d062eb1952b | b1545362a4bba38a14dcc2bf7cd06d369f9e4ae7 | /4369/source/OJ.cpp | 0a6cbcc1a83e55d25e2296e18608496b740079ae | [] | no_license | guojun12002/Huaweitest | 11fe1369e5808a3f981ade8f6bd485b35755c7e2 | 685c6ba0b7997bee97a1ed0065e2e0f80f5581db | refs/heads/master | 2021-03-22T03:10:00.347847 | 2015-05-12T05:43:13 | 2015-05-12T05:43:13 | 35,462,145 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 514 | cpp | OJ.cpp | #include <stdlib.h>
#include <cmath>
#include "oj.h"
// 功能:判断输入 nValue 是否为水仙花数
// 输入: nValue为正整数
// 输出:无
// 返回:如果输入为水仙花数,返回1,否则返回0
unsigned int IsDaffodilNum(unsigned int nValue)
{
int str[100];
int n = 0;
unsigned int num = nValue;
while(num > 0)
{
str[n++] = num % 10;
num = num / 10;
}
unsigned int sum =... |
610e3568ebee18f30dcb7cbbfe8c63fc950441aa | ef0de18bbc1d411b9af4feb410e0d1e8d4d3af0b | /MgmtConsole/main.h | 8e0b3daa0017db736cb2edd97cc52c41a171c95a | [] | no_license | tengyifei/SoundAuth | fe0afac9667cc0631805f536bf72c90a6b4cb623 | 8f0caf3443db9a6fed71ee9d6dc4c577e3939013 | refs/heads/master | 2021-01-19T00:24:49.084763 | 2014-01-30T08:52:34 | 2014-01-30T08:52:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,894 | h | main.h | //---------------------------------------------------------------------------
#ifndef mainH
#define mainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <Mask.hpp>... |
997990a08710b4ed5e6a21c5e8cc5cba8d0e1936 | d4b2c93b199aa0713b4e47bd4166edbe62fa94f2 | /cpp/libs/src/opendnp3/master/PollTaskBase.cpp | c5b5508f95afd05ce4fb5a1b8b5e3f31632e7f5b | [
"Apache-2.0"
] | permissive | philwil/opendnp3 | 2502a29c9eab64c9007a1c5a50f4e4009b038edc | 932bcde73b8c615a386818fbcc7cfad8dbb6e1b9 | refs/heads/release-2.x | 2022-06-11T09:26:59.127577 | 2020-05-01T15:47:52 | 2020-05-01T15:47:52 | 260,477,443 | 0 | 0 | Apache-2.0 | 2020-05-01T15:47:53 | 2020-05-01T14:22:25 | C++ | UTF-8 | C++ | false | false | 2,818 | cpp | PollTaskBase.cpp | /*
* Copyright 2013-2019 Automatak, LLC
*
* Licensed to Green Energy Corp (www.greenenergycorp.com) and Automatak
* LLC (www.automatak.com) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Green Energy Co... |
b7d3e18c57927f277e4651b6fe5531f35ca47d85 | d22c5bf9fa57d3ee419609cb14983dde75dff3fd | /code_for_rc522/curlpostrequest.cpp | 6b68f00ff192f14cfd2684970fa5094ebfae947f | [] | no_license | FelixTheC/timeclock | 61bb433554943ca2af18993728760dd8ab1b6b49 | 6797ac0326c2640a073feaeba3edc1c200ac4a83 | refs/heads/main | 2023-06-22T03:16:50.776681 | 2021-07-22T14:19:29 | 2021-07-22T14:19:29 | 385,981,835 | 0 | 0 | null | 2021-07-22T14:19:30 | 2021-07-14T15:08:32 | Python | UTF-8 | C++ | false | false | 1,429 | cpp | curlpostrequest.cpp | #include "curlpostrequest.h"
CurlPostRequest::CurlPostRequest()
{
}
CurlPostRequest::CurlPostRequest(const string new_base_url)
{
base_url = new_base_url;
}
CurlPostRequest::~CurlPostRequest()
{
curl_easy_cleanup(easyhandle);
easyhandle = nullptr;
}
void
CurlPostRequest::perform_post(const string path)
... |
ba9481a3123102eb119337f8301b3f0e49db7eee | 428ca720a37fc238340de46304bcb14c48e62bce | /Project/Peter-Huynh_CSCI4239_Final-Project/Source/PTHopengl.cpp | c62f70df6228a8452e40ff9408092176c7a5d7ae | [] | no_license | PeterTranHuynh/CSCI4239_Spring2017 | 12be53624811d5565c60bb311ea50a7d7979bcb2 | 26f651915c1d98073201869421e0e4ed760279e7 | refs/heads/master | 2021-07-06T09:21:33.246178 | 2017-10-02T18:12:21 | 2017-10-02T18:17:59 | 105,567,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,504 | cpp | PTHopengl.cpp | /* ******************************
* Name: Peter Tran Huynh
* Title: PTH - Final Project
* Course: CSCI 4239
* Semester: Spring 2017
* File Notes:
* OpenGL Widget
***************************** */
#include "Headers/PTHopengl.h"
#include <QtOpenGL>
#include <QMessageBox>
#include <QGLFun... |
9306249bdbdef05a4efcb84332bdb28a5eb95f0a | 4b28074774821a2dc4921f14feaa83336fc087a7 | /InetTar/Server/StdAfx.cpp | 3c7b791409312fc0281ab5174d620abc30693877 | [] | no_license | laz65/internet | b7522fcac209e7b1432ed4c6fbb0f6c88d47f660 | fbeef8aa030d55b10147c98cc0f412b2473904cf | refs/heads/master | 2021-01-10T09:16:09.346241 | 2015-10-03T06:38:12 | 2015-10-03T06:38:12 | 43,551,883 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,634 | cpp | StdAfx.cpp | // stdafx.cpp : source file that includes just the standard includes
// InetTarif.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
void ClearComp(CompInfo *Comp)
{
Comp->Elapce=0;
Comp->TPos=0;
Comp->bTarif=false;
Comp->sTarif=false;
Comp->cT... |
01f9ae95f37f48462445556498aa732281375a72 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_old_hunk_1081.cpp | e26723b59c3ddfa65d3bcf7fa3acd7750aa5cff1 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 871 | cpp | git_old_hunk_1081.cpp | die("cannot deflate request; zlib end error %d", ret);
gzip_size = stream.total_out;
headers = curl_slist_append(headers, "Content-Encoding: gzip");
curl_easy_setopt(slot->curl, CURLOPT_POSTFIELDS, gzip_body);
curl_easy_setopt(slot->curl, CURLOPT_POSTFIELDSIZE, gzip_size);
if (options.verbosity > 1) {
... |
df8d2a6e1d129de4f8fd1ce9ef067ce231318ef5 | a255dc54e6366310f12eb7e169cb832cc1a93025 | /boost/is_palindrome/fuzzer.cpp | abac8a4f0780078dade2056c5ba59a36f4111e30 | [] | no_license | MyLibh/fuzzing | d867c77304d2a0bb64791ca2d6efce183f6e177b | 1a0fa16ca4b153426ff8766ee1918ee68b10e570 | refs/heads/master | 2022-10-06T07:15:26.795349 | 2020-06-05T14:21:48 | 2020-06-05T14:21:48 | 258,853,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | fuzzer.cpp | #include <boost/algorithm/is_palindrome.hpp>
extern "C" int LLVMFuzzerTestOneInput(const std::uint8_t* data, const std::size_t size)
{
try
{
boost::algorithm::is_palindrome(reinterpret_cast<const char*>(data));
}
catch(...) { }
return 0;
}
|
90b450ef0ca56f08b043d97c00ffb871189865b9 | 59dec7b828f9e2acc226a41bb9e15f70d7523b74 | /164_Maximum_Gap/main.cpp | 94b5dc07954a40c429ee3c27f9b5c88e371a9238 | [] | no_license | zbxhome/Leetcode | 3bca2f4f9caf6852e3480818ad0a67eb81c36749 | 8c6d33b653ff1d555d1106e69b355ef2be125b04 | refs/heads/master | 2021-07-25T16:36:23.951330 | 2017-11-06T13:36:19 | 2017-11-06T13:36:19 | 108,818,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,300 | cpp | main.cpp | class Solution {
public:
vector<int> digits(vector<int>& nums, int digit){
vector<int> sortDigit;
for (int i=0; i<nums.size(); i++){
sortDigit.push_back((nums[i] & (1<<digit)) >> digit);
}
return sortDigit;
}
vector<int> countingSort(vector<int>& nums, vector... |
2fd400f210140ce557a6ecf9616047a0da272f6e | d195abfd2e3cb3f11d4c1df4fc1676762f904d07 | /moveit_planners/pilz_industrial_motion_planner/src/command_list_manager.cpp | 5a544b13a30c84f8d25137c3f332e270e4a4efe7 | [
"BSD-3-Clause"
] | permissive | ros-planning/moveit | 146a5c2648dd27d7bf4fc45ff2ceb90beca14f8a | 1730d7b392a072bafaab37e6e3bb8ed11e58047e | refs/heads/master | 2023-09-04T03:39:21.644592 | 2023-08-06T09:03:04 | 2023-08-06T09:03:04 | 64,340,188 | 1,499 | 1,117 | BSD-3-Clause | 2023-09-09T11:20:46 | 2016-07-27T20:38:09 | C++ | UTF-8 | C++ | false | false | 12,184 | cpp | command_list_manager.cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2018 Pilz GmbH & Co. KG
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following c... |
1a00db88834f33647655c00960a4aba33199f9cf | 3622c3528c39aaed7b6e28f839d5baf9846b6a1b | /QuickData/QuickData.Unity/MeshSchemeAPI.cpp | 0f96913369ecbd110635526c17f2d6ba1e721b61 | [] | no_license | tylercamp/UICColum | 4fc0bbfae81fc33ae2f6f82dd03b1e2c0d1f1546 | 41275bee353093fbbf9aff1606e43256d5f96e9a | refs/heads/master | 2020-04-16T17:43:35.882235 | 2016-10-03T18:27:46 | 2016-10-03T18:27:46 | 45,938,280 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,843 | cpp | MeshSchemeAPI.cpp |
#include "../QuickData/MeshPartitionScheme.h"
#include "QuickData.Unity.h"
static MeshPartitionScheme * g_LoadedScheme = nullptr;
UNITY_NATIVE_EXPORT bool LoadMeshScheme( char * schemeFile )
{
if( g_LoadedScheme != nullptr )
delete g_LoadedScheme;
MeshPartitionScheme * scheme = new MeshPartitionScheme( );
sche... |
30df55a1db4d76423f464fda4c2b18ba8e1b483b | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/3D Game Engine Architecture/Linux/MagicSoftware/WildMagic3/SampleShaders/VertexNoise/Wm3VertexNoiseVShader.h | 8ddf40a5a60d873c6d1ee31768953aba07a3e444 | [] | no_license | alecnunn/bookresources | b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0 | 4562f6430af5afffde790c42d0f3a33176d8003b | refs/heads/master | 2020-04-12T22:28:54.275703 | 2018-12-22T09:00:31 | 2018-12-22T09:00:31 | 162,790,540 | 20 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 1,354 | h | Wm3VertexNoiseVShader.h | // Magic Software, Inc.
// http://www.magic-software.com
// http://www.wild-magic.com
// Copyright (c) 2004. All Rights Reserved
//
// The Wild Magic Library (WM3) source code is supplied under the terms of
// the license agreement http://www.wild-magic.com/License/WildMagic3.pdf and
// may not be copied or disclosed ... |
8202fc2133f4f4b7c484cf2921d3e822123ce048 | b230ebbc1b2d66d049f246726e568e3a16613d11 | /Robot_BT/Sensor_TCRT5000.h | 85c56fca3e92d7ecd0e0358161e3b818260cd749 | [] | no_license | ramporfy/Robot-BT | 39dab429d9ddce463f00fa47d9957acafbcf41de | 2c171b1af47032106c1a8767ed559ed1278f528b | refs/heads/master | 2020-03-18T00:47:45.285781 | 2017-03-14T18:20:12 | 2017-03-14T18:20:12 | 134,112,874 | 1 | 0 | null | 2018-05-20T02:16:14 | 2018-05-20T02:16:13 | null | UTF-8 | C++ | false | false | 154 | h | Sensor_TCRT5000.h |
class Sensor
{
private:
int Pin_sensor;
public:
Sensor(int pin): Pin_sensor(pin){}//Constructor
void Inicializar();
int Leer_sensor();
};
|
5c71180acb2f1fb3c00e054522d4d15e097b8b6d | d0f2bb18c39ff5dac5d9d2cec8cc98e96a642d8a | /Examples/Cpp/source/Outlook/PST/DisplayInformationOfPSTFile.cpp | 5ba27c0b9cdfc4d0eb16d45408daf7a5ee682838 | [
"MIT"
] | permissive | kashifiqb/Aspose.Email-for-C | d1e26c1eb6cb1467cee6a050ed5b52baaf186816 | 96684cb6ed9f4e321a00c74ca219440baaef8ba8 | refs/heads/master | 2023-03-24T22:44:20.264193 | 2021-02-10T14:07:51 | 2021-02-10T14:07:51 | 105,030,475 | 0 | 0 | null | 2017-09-27T14:43:20 | 2017-09-27T14:43:20 | null | UTF-8 | C++ | false | false | 2,261 | cpp | DisplayInformationOfPSTFile.cpp | /* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Email for .NET
API reference when the project is build. Please check https://Docs.nuget.org/consume/nuget-faq
for more information. If you do not wish to use NuGet, you can manually download
Aspose.Email for .NET API from htt... |
c4971269981f2c51750ce7137e7311ad16578084 | 30b8561243cff67f758633327004cb378e5c5cef | /source/include/NGE/Media/Files/File.hpp | 2d1d71698701feec9900d3fb81a06480398076ea | [] | no_license | tkubicz/ngengine | 56a7235de0c799f541d47841380da6fd90d3abed | 75413c8b77587e5ec8f03164fa9b5dcd7697c0c6 | refs/heads/master | 2021-01-12T06:02:57.202296 | 2016-06-15T16:42:43 | 2016-06-15T16:42:43 | 77,282,542 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | hpp | File.hpp | /*
* File: File.hpp
* Author: tku
*
* Created on 11 lipiec 2015, 22:36
*/
#ifndef FILE_HPP
#define FILE_HPP
#ifdef ANDROID
#include "NGE/Core/Core.hpp"
#include <android/asset_manager.h>
namespace NGE {
namespace Media {
namespace Files {
class File {
private:
std::string name;
unsigned ... |
9ce452d7a15af42ecc6af09d9fe27a3df088d235 | 7a376b7871fed50e8d7e81ae0917c41d33fff714 | /Stand.h | 44c0d932b318b8a59baf0e91fa8a044afa38f6b7 | [] | no_license | kmoran23/Lemonade | f3caa6071f06f486dd5d375f0339b258d505bba2 | ae2e04fc2aee7ae0dafaaa12d339422bd5995441 | refs/heads/main | 2023-02-17T20:52:16.714974 | 2021-01-21T04:30:16 | 2021-01-21T04:30:16 | 331,513,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,887 | h | Stand.h | //CS1300 Spring 2020
//Author: Patricia Chin & Kyra Moran
//Project 3
#include <iostream>
#include <string>
using namespace std;
#ifndef STAND_H
#define STAND_H
class Stand
{
public:
//default constructor
Stand();
//setter function
void setPlayerName(string playerName_)... |
d499dfdb72b80f381a56135dedbf38f083f5124e | 7af9c24bb6cea6e77c74990fbdf061bd03c0e779 | /src/Union_find.cpp | 99903cd6fe8101ca8c525157563879fd0c983a0f | [] | no_license | dtbinh/sedgewick_cpp | abfca17d774f03cfde912fe5404770fad68a8628 | b488e5df2ad9c855aaaed66397c457dba55a4463 | refs/heads/master | 2023-03-16T09:11:31.240153 | 2017-08-23T23:39:20 | 2017-08-23T23:39:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,370 | cpp | Union_find.cpp | #include <sstream>
#include "Union_find.h"
#include "utility.h"
// NOTE: this is the weighted quick union version
Union_find::Union_find(int n)
: _count{n},
_parent(static_cast<std::vector<int>::size_type>(n)),
_rank(static_cast<std::vector<short>::size_type>(n), 0)
{
if (n < 0) {
... |
03ab414bb8f2ea2b164626bc3a25aa226bd75f47 | 8d4d2dcba20c384ba0e5a07e9ad039af0f56acb8 | /Source/Abstraction/Private/DefaultPlayerController.cpp | 36614e1ea7eb266c5698bd1bfd36c176a40df6c6 | [] | no_license | Zaknarfen/Abstraction | cae76ded97362a148f61ad1b8969393685f00471 | 8f692ffb10877d371b2c00e4ae61f5f4a967525d | refs/heads/main | 2023-06-27T11:21:25.719576 | 2021-07-09T06:21:00 | 2021-07-09T06:21:00 | 382,698,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,037 | cpp | DefaultPlayerController.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Controllers/Entities/Players/DefaultPlayerController.h"
#include "Blueprint/AIBlueprintHelperLibrary.h"
#include "GameFramework/PlayerInput.h"
#include "GameFramework/Pawn.h"
ADefaultPlayerController::ADefaultPlayerController()
{... |
e98e09001620820a12c2b876eede979dadf99229 | 3c8bfae0880a10b429954e7eb68f47bf927b1328 | /FastLED_RGBW2.h | c7297ebd5d537700340c959458ea473b4e50963d | [] | no_license | jaygoldstuck/TeaShop | 6b581a4e09ca423e40e0db5768e5a80937adfccd | 2d38196c28cefbf926a31911b751c915de1eaa59 | refs/heads/master | 2022-10-25T21:34:25.445440 | 2022-10-08T23:52:54 | 2022-10-08T23:52:54 | 159,211,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,347 | h | FastLED_RGBW2.h | /* FastLED_RGBW
*
* Hack to enable SK6812 RGBW strips to work with FastLED.
*
* Original code by Jim Bumgardner (http://krazydad.com).
* Modified by David Madison (http://partsnotincluded.com).
* Modified by Christof Kaufmann.
*
*/
// See: https://www.partsnotincluded.com/fastled-rgbw-neopixels-sk6812/
// See: ... |
9b3b74f03a3245abbe593b1c25b4940aa549b025 | f34b5a529e2fa17b5d83a1e4a11115d591414ffa | /lib/Interface/rayleigh.h | a6ce54bd1e0135d7b07af29209e89edbdb72a85f | [] | no_license | ReFRACtor/framework | 89917d05e22dd031e12d12389157eb24cebeaada | 882e13c3e94e6faa1281a0445abc0e08b2f8bf30 | refs/heads/master | 2022-12-08T17:12:49.696855 | 2022-11-28T23:30:50 | 2022-11-28T23:30:50 | 98,920,384 | 4 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 1,302 | h | rayleigh.h | #ifndef RAYLEIGH_H
#define RAYLEIGH_H
#include <boost/shared_ptr.hpp>
#include "printable.h"
#include "array_ad.h"
namespace FullPhysics {
/****************************************************************//**
This class represents the interface for the calculation of
the Rayleigh portion of the optical depth
**... |
d18efaf63a2f562736d4dc9f58198cc9dcde68f5 | 2d3a162d458b57defe37b88eecea65edb494ad65 | /Mover.cpp | ac1342fc92490a94cde9bc59f513d9e44c29c58d | [] | no_license | DavletSaukin/Running_Ogre | 2d056d9994cc2376a5936ca9e42abc873b20a78f | 3d12867f00efe443c8629d416a0f9d9a8474ce2c | refs/heads/master | 2020-04-09T17:44:30.814087 | 2018-04-19T14:46:46 | 2018-04-19T14:46:46 | 124,236,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,802 | cpp | Mover.cpp | #include <Urho3D/Graphics/AnimatedModel.h>
#include <Urho3D/Graphics/AnimationState.h>
#include <Urho3D/Scene/Scene.h>
#include <Urho3D/Physics/RigidBody.h>
#include <Urho3D/Physics/PhysicsEvents.h>
#include <Urho3D/Physics/PhysicsWorld.h>
#include <random>
#include "Mover.h"
#include <Urho3D/DebugNew.h>
... |
6b4f4e2775937164896105c8e3966cff0b1e8952 | 3dbf3b1a91f539631898624cfd8771cf8e395087 | /src/game/main.cpp | 2f23988cd8b7c6218c846977d98f4e756a18bd7c | [] | no_license | FredTheDino/Tea | daa5596beef860ffcde0a543f407dae62614f0b0 | 4f838626bf3ac139863794fc0a3d2353f43a6f45 | refs/heads/master | 2021-01-17T20:57:21.435863 | 2016-11-03T21:06:54 | 2016-11-03T21:06:54 | 61,391,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,559 | cpp | main.cpp | #include <iostream>
#include <stdio.h>
#include <math.h>
#include "bag.h"
#include "animation.cpp"
#include "gameobject.cpp"
Tea::GameObject obj;
static double a = 0;
static int frame = 0;
void update(double delta) {
static unsigned int lastFPS = 0;
unsigned int newFPS = Tea::Time::getFPS();
if (lastFPS != new... |
5a193ad723a8079a0a25d5c1fbfffcf041205ba3 | 776bb000f51a134300e8c84f3c01b8f0839a86e4 | /www/util/gsk_log/src/mongo_driver.h | cd83fe6cf9ee50b765a567c43bc7e228f503a10d | [] | no_license | SoulBringerOnline/ci_project | a096c716c8198bdcd0a537debba7c8df4cea9377 | f6a5c13866a0fedb3c0755f2ad871ddc0344584c | refs/heads/master | 2021-01-19T02:00:42.567250 | 2017-04-06T02:22:05 | 2017-04-06T02:22:05 | 87,257,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,055 | h | mongo_driver.h | /* ======================================================================
* taal project
*
* ----------------------------------------------------------------------
* Author : yongsheng.zhao@lavaclan.com
* Date : 2014-08-15
*
* Copyright (c) 2014年 http://www.lavaclan.com All rights reserved.
* ============... |
ef624da7f5ce9b3c3723d5ab3aa8058fd3b705eb | 4858dcc1d54f8544563e31b4a649d276dcbfa9ad | /romanToInteger.cpp | 02506670f53aa2f40b4f9a10c9882840f2cfd5c6 | [] | no_license | sunwit/Leetcode | cabc9dcc23419d865e218baecd3adb40dcb3e426 | b57bf142bdc182bd8e5cd9f3f74ea8d6fd68a51c | refs/heads/master | 2021-01-10T03:06:15.910956 | 2016-04-14T05:41:44 | 2016-04-14T05:41:44 | 55,280,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | cpp | romanToInteger.cpp | #include<iostream>
#include<string>
using namespace std;
int romanCharToInt(char ch){
int d = 0;
switch(ch){
case 'I':
d = 1;
break;
case 'V':
d = 5;
break;
case 'X':
d = 10;
break;
... |
f44acb00966e05c8117c1fefecbdb62e37ff84b0 | aa10e3edb2d9db88b0fa48beee2c8a4c93d6958f | /ch14/1417ex.cpp | 16ddedfe54d7d93cf6384ec0dcb697eab40cc1c9 | [
"MIT"
] | permissive | mallius/CppPrimer | e1a04d6e1a00d180ecca60a0207466a46a5651b7 | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | refs/heads/master | 2021-06-05T10:32:55.651469 | 2021-05-20T03:36:22 | 2021-05-20T03:36:22 | 88,345,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,103 | cpp | 1417ex.cpp | #include <iostream>
#include <vector>
using namespace std;
struct Date {
string date;
Date& operator=(Date& d) { date = d.date; return *this; }
};
class CheckoutRecord {
public:
double get_bookId() { return book_id;}
void set_bookId(double id = 0.00) { book_id = id; }
void set_wait_list(pair<strin... |
1cdb32f76555493d6d44c60b75ebb222497dd4a5 | 51bbc8724ff448bcda714e33b79022bb4a8caa22 | /audioplay_sdl2.h | f6e8b95bcb3bf4626bc3d04bc27cef44df3a13cc | [] | no_license | Imatch/ColorPlayer_CoWork | f9d39c59fb24e5588f40698439f0ce4d6f023ddc | ad223b071f4c60ed10a3326bc291161740ed69b9 | refs/heads/master | 2020-05-31T13:59:49.153474 | 2018-12-08T03:42:11 | 2018-12-08T03:42:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,317 | h | audioplay_sdl2.h | #ifndef AUDIOPLAY_SDL2_H
#define AUDIOPLAY_SDL2_H
#include <QThread>
#include "colorplayer.h"
#include "messagequeue.h"
#include "masterclock.h"
#include "stdint.h"
#include <QMutex>
#include <QWaitCondition>
class SDL2AudioDisplayThread:public QThread
{
public:
static SDL2AudioDisplayThread *Get(v... |
bad02bf3e5e9db424d7d5ceeb6a9b80b9a03b310 | 66ce44bff21bf17fd1ad4fff402fe6042885488e | /Project 8/Book.h | 9115c4b7cae714ccaee6a161cc36bd27e5402e20 | [] | no_license | KimiNoNawa1610/C- | 09f31aa807e0b124d2b05a455ee71f1c8b75eeca | 09445f1097bb560e6d3d1badce6ca0738cbb40d1 | refs/heads/master | 2023-02-05T10:27:37.276245 | 2020-12-21T04:50:49 | 2020-12-21T04:50:49 | 289,384,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 404 | h | Book.h | /*
* Nhan Vo
* CECS 282-Lab 8
*/
#pragma once
#ifndef BOOK_H
#define BOOK_H
#include "publication.h"
#include "Sales.h"
/*
* Class Book definition
*/
class Book:public Publication, Sale {// Inherit Publication and Sale classes
public:
void getData();// get input from the user
void putData();// output the data of the ... |
9ba44181b37c0b0d5bd28365122e4d88440bbbe5 | 1ca7266d80133e92f4025de746409337bcbc4b13 | /anagrams.cpp | bd9525659918b4cd09d3645117e47c59eea9ccc4 | [] | no_license | inikhil/Competitive-Programming | 23ca74b5f0ff2ac2bc73b3624850684926368d03 | 60c1aeecc953f7a5d08ada55989642dee4003b5c | refs/heads/master | 2021-01-21T04:55:44.847041 | 2015-02-14T15:34:44 | 2015-02-14T15:34:44 | 30,800,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | anagrams.cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<algorithm>
using namespace std;
void sw(char *x,char *y){
char temp;
temp = *x;
*x = *y;
*y= temp;
}
bool Match(char Str[],int i,int j)
{
if(i == j)
return false;
else
for(;i<j... |
2d5f31813fe4bf1015cfc9373a0ff058117bd393 | d6cdbf95ca197276053500e2f5e4fdc6fc2958b5 | /test/testRollbackFMU.cpp | 0803ce1a82d013d41b94be02ebca90dd01897b81 | [
"BSD-2-Clause"
] | permissive | qianqian121/fmipp | 1f7fb52a2a7f92c54cbdc820016685d9c06db15e | 38c309eae58c332b3d533dbdca7dd271a6e056d6 | refs/heads/master | 2020-05-18T09:32:40.720467 | 2016-10-19T15:52:10 | 2016-10-19T15:52:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,414 | cpp | testRollbackFMU.cpp | // --------------------------------------------------------------
// Copyright (c) 2013, AIT Austrian Institute of Technology GmbH.
// All rights reserved. See file FMIPP_LICENSE for details.
// --------------------------------------------------------------
#include <import/utility/include/RollbackFMU.h>
#define BOOS... |
e96b75919de91cbb109291a8dd0857b489c54024 | 56bd544d88f3765efd25afb505476ca2af268726 | /src/Entities/Bonus.cpp | b1ae1af6ec3335c348f857850f0b9205e969175f | [
"MIT"
] | permissive | skwee357/TankSmasher | 5c3945f8d782561cbf4745f5e75d99fc88eefb57 | 6afccb33aeb19e32a6dd26e3d91a7f1e416e7a77 | refs/heads/master | 2020-12-25T19:03:50.000651 | 2013-08-30T11:29:15 | 2013-08-30T11:29:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | cpp | Bonus.cpp | #include "Entities/Bonus.hpp"
#include "TankSmasherException.hpp"
#include "Game.hpp"
Bonus::Bonus(int type, int px, int py){
int left;
mType = type;
switch(type){
case TYPE_UPGRADE_WEAPON:
left = 0;
break;
case TYPE_1UP:
left = WIDHT;
break;
case TYPE_GRANADE:
left = 2 * WIDHT;
bre... |
ef82e3720476258eb98176992c44a4ebb750cab6 | 7f258bdc8805984aa7444c853bce70d11c85dd69 | /CronExpressionParser/include/CronExpression.h | 0f7b23e550b8cb3ce1e213f6e7c14036671ac7b7 | [] | no_license | DenisPryt/Cron | 0d2ec2b30c490101588900c0c5baeeea240083b7 | 2f36726b2769dce46a48e3d4e953d34fd21a58e0 | refs/heads/master | 2020-03-09T18:50:38.203734 | 2018-05-14T13:06:17 | 2018-05-14T13:06:17 | 128,942,544 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | h | CronExpression.h | #pragma once
#include "CronSheduleMasks.h"
#include <string_view>
#include <chrono>
namespace Cron
{
class Expression
{
public:
Expression() = default;
Expression(Expression&&) = default;
Expression(const Expression&) = default;
Expression& operator=(Expression&&) = default;
Expression& operator=(const Expres... |
dee67ceaf2600826ae77f3e4f1cb47cff32ba163 | b2b23771e540ab459eb1ab20c32a9238ae4535e8 | /SlidingWindow/main.cpp | e6212f53c03302951829e0bb360e12bf8ea91d88 | [] | no_license | rsghotra/JUL_2021_DSA | 8485de6585b074de68e8f424c650f035ef73b892 | d5298e4353f14cc4a907c84f801c31cdf514a013 | refs/heads/master | 2023-08-16T22:55:44.005874 | 2021-09-19T18:42:32 | 2021-09-19T18:42:32 | 382,127,300 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | main.cpp | #include "SlidingWindow.h"
#include<iostream>
using namespace std;
int main () {
SlidingWindow::KSumAverage();
SlidingWindow::KMaxSum();
SlidingWindow::MinSizeSubArraySum();
SlidingWindow::LongestSubstringWithKDistinctChars();
SlidingWindow::FruitBasket();
SlidingWindow::NoRepeatSubstringMaxLength();
SlidingWin... |
508ad49a1ef0c3ccc39d4f300d15355d5c9a92e6 | 414b5914bc064ac22af52fa3d0b38981c6e53e1e | /app/src/main/cpp/Fluid.cpp | 8f5975f17f6418c5ea0294dec899906909d7872a | [] | no_license | gwenyu517/CIS4914_SeniorProject | a6706a5b61b8f9c55bce47bdcbd7fc3926e37b80 | c71a426aad1b0b561b40c2a5004fdfe980122d73 | refs/heads/master | 2020-05-04T14:48:10.906133 | 2019-05-28T22:15:00 | 2019-05-28T22:15:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,125 | cpp | Fluid.cpp | #include "Fluid.h"
static const int iter = 20;
Fluid::Fluid(GLfloat viscosity, GLfloat diffRate, int width, int height, int dH) {
this->viscosity = viscosity;
this->diffRate = diffRate;
this->W = width+2;
this->H = height+2;
this->dH = dH;
setupGrid();
}
Fluid::~Fluid() {
free(sForce->x)... |
539370c2fa00d22cf5e79a87cc8fa2be904e3481 | e5720f95696653b496e5f927eac7492bfb9f132c | /lcof/lcof_025/cpp_025/Solution2.h | a0ebbdd39d36675720da4081f6fac3ccddc5d3a3 | [
"MIT"
] | permissive | ooooo-youwillsee/leetcode | 818cca3dd1fd07caf186ab6d41fb8c44f6cc9bdc | 2cabb7e3e2465e33e4c96f0ad363cf6ce6976288 | refs/heads/master | 2022-05-24T15:37:19.652999 | 2022-05-15T01:25:31 | 2022-05-15T01:25:31 | 218,205,693 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | Solution2.h | //
// Created by ooooo on 2020/3/16.
//
#ifndef CPP_025__SOLUTION2_H_
#define CPP_025__SOLUTION2_H_
#include "ListNode.h"
class Solution {
public:
ListNode *mergeTwoLists(ListNode *l1, ListNode *l2) {
if (!l1) return l2;
if (!l2) return l1;
ListNode * ans = nullptr;
if (l1->val <= l2->val) {
... |
30e7265d758ea42934963709f77568cdc356d81e | 53aecc4b8d646d6df2387fc30c2821d588c9520a | /test/temp_buffer/catch_temp_buffer.cpp | 91c0b37706b496d771f7580e3eb7c993bba49576 | [
"MIT"
] | permissive | Chronimal/utl | 8ecb074a379df06c98cddc53d8bad00e1ed78c78 | a22c4b984e3452242ba6c1dde637d4a2b24b44c4 | refs/heads/master | 2023-03-14T15:55:56.791890 | 2021-04-02T06:16:02 | 2021-04-02T06:16:02 | 264,489,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,418 | cpp | catch_temp_buffer.cpp | //
// Test harnesses for TempBuffer<L>
//
// Copyright(c) 2020 Chronimal. All rights reserved.
//
// Licensed under the MIT license; A copy of the license that can be
// found in the LICENSE file.
//
#define CATCH_CONFIG_MAIN
#include "temp_buffer.hpp"
#include "catch.hpp"
using namespace TB_NAMESPACE_NAME;
TEST_CA... |
e2e470b247c33384798d51c6b76d370cfe86315c | 475b62e84674e1a4f2f92bdcf311a5d6eb7f76fe | /nibbler_core/header/Exception.hpp | 1823d14fd27db53899d26ffdaf93c1dbde9fd97d | [] | no_license | alatyshe/nibbler | c67b534ac1be5d30514bd15f9fe21c696377f389 | ae788bff9eb9151e71cbe04b15a849c646225e21 | refs/heads/master | 2021-03-24T12:15:11.501144 | 2019-03-30T17:30:37 | 2019-03-30T17:30:37 | 119,737,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | hpp | Exception.hpp | #pragma once
# include <exception>
# include <string>
# include <sstream>
class Exception: public std::exception {
private:
std::string _error;
const Exception& operator=(const Exception &);
public:
Exception(void);
Exception(const Exception &src);
Exception(std::string const &error);
~Excepti... |
dbff00311f8db99adcd17f61a2a1c128d43032eb | 412b4c2a33d8ca5554fd607e07cee620cea9b463 | /rmath/matrix/rsparsevector.h | c206a3f32c03efd272d711773a265ee2fbd03c2e | [] | no_license | pfrancq/r | 65df093d7cd31f4e5c521eadd61a54cb8da58925 | bd78f3b2da3b357ca5d21e6055f809c83b488cd5 | refs/heads/main | 2023-08-17T09:01:37.815379 | 2021-10-04T06:15:01 | 2021-10-04T06:15:01 | 404,758,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,468 | h | rsparsevector.h | /*
R Project Library
RSparseVector.h
Sparse Vector - Header.
Copyright 2005-2015 by Pascal Francq (pascal@francq.info).
Copyright 2003-2005 by Valery Vandaele.
Copyright 2003-2008 by the Université Libre de Bruxelles (ULB).
This library is free software; you can redistribute it and/or
modify it under the te... |
1144e35b84924b5d500b4e83a607b92ee23c0adc | 5d1009c910c78eab434559c1c8fcd58fdc0a6adf | /HN_XML/HN_Xml.hpp | f2d3305c8a536bf913fcd40d72ae82393c333b73 | [
"MIT"
] | permissive | Jusdetalent/JT_Network | b4180709f0d88f5341b2a9282a19cd3c44a4a848 | 9af82a158be0fea1dbe2bcbc32bfac5ab54cdeba | refs/heads/master | 2020-07-01T09:52:40.123704 | 2019-08-31T18:30:18 | 2019-08-31T18:30:18 | 201,134,804 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | hpp | HN_Xml.hpp | #ifndef HN_XML_HPP_INCLUDED
#define HN_XML_HPP_INCLUDED
// Include node reader
#include "HN_Node/HN_FNode.hpp"
#include "HN_Node/HN_SNode.hpp"
#endif // HN_XML_HPP_INCLUDED
|
bd401b554229371aac1b75c21dab15f7fecac4fe | 6c02e9419c6cbb1f2992e4cbb3235430eff67dda | /SyntaxChecker.cpp | 0d416d72819c9924030861869bcf5be03923bddc | [] | no_license | jmcg213/Assignment3 | 3c24c309c86df6ef23a49f16e67dcb758ffac9c8 | 978350ca123c54aaf56e01745950d9757a23a226 | refs/heads/master | 2020-04-01T00:36:43.187995 | 2018-10-12T06:35:31 | 2018-10-12T06:35:31 | 152,704,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,821 | cpp | SyntaxChecker.cpp | #include "SyntaxChecker.h"
#include "GenStack.h"
#include <fstream>
using namespace std;
SyntaxChecker::SyntaxChecker()
{
lineCount = 1;
foundError = false;
stack = new GenStack<char>(); //initializing new stack
}
SyntaxChecker::~SyntaxChecker()
{
delete stack;
}
//Reads in input file and checks for syntax ... |
d4c74585527fabd17a238a3e7b69a4cce8197b5c | f51689603d55891be26c4d628011d64e1379b730 | /ModelFitting/Optimizer.h | 75e2092e9133d180dc9e64a3b296b65e7825d680 | [] | no_license | gewirtz/APC_FinalProject | cb3b52d3316689a363b09af1968256a25a505248 | 7baea5accac77421d7aec31969395a0cf07bf078 | refs/heads/master | 2021-01-20T10:30:46.591062 | 2017-01-16T22:16:43 | 2017-01-16T22:16:43 | 74,398,491 | 2 | 0 | null | 2017-01-09T17:35:02 | 2016-11-21T19:29:05 | C++ | UTF-8 | C++ | false | false | 345 | h | Optimizer.h | /* Author : Chase Perlen and Ariel Gewirtz */
#ifndef OPTIMIZER_H_
#define OPTIMIZER_H_
class Model;
class KNN;
class GradientModel;
class Optimizer {
public:
virtual ~Optimizer() {}
virtual void fitParams(Model *m) = 0;
virtual void fitParams(KNN *m) = 0;
virtual void fitParams(GradientModel *m) = 0;
};
... |
2d5673202485e1dc9da79d3ece1b0137d9cd3132 | e018d8a71360d3a05cba3742b0f21ada405de898 | /Client/Packet/Gpackets/GCSystemMessageHandler.cpp | cff2441da45f787cb22db7935cc2bae5ea51757b | [] | no_license | opendarkeden/client | 33f2c7e74628a793087a08307e50161ade6f4a51 | 321b680fad81d52baf65ea7eb3beeb91176c15f4 | refs/heads/master | 2022-11-28T08:41:15.782324 | 2022-11-26T13:21:22 | 2022-11-26T13:21:22 | 42,562,963 | 24 | 18 | null | 2022-11-26T13:21:23 | 2015-09-16T03:43:01 | C++ | UHC | C++ | false | false | 4,739 | cpp | GCSystemMessageHandler.cpp | //////////////////////////////////////////////////////////////////////
//
// Filename : GCSystemMessageHandler.cc
// Written By : elca
//
//////////////////////////////////////////////////////////////////////
// include files
#include "Client_PCH.h"
#include "GCSystemMessage.h"
#include "ClientDef.h"
#i... |
c27cb00f973b23a003fee670c1f3bd6b5c27779d | 30540bc3d3b9c86aebb0fa652a7ae827dd4a3456 | /source/assembler/assembler_visitors.cpp | 754e8fb4ddaaa33dad2e503e6efde65dbc2534d8 | [
"MIT"
] | permissive | skwirl42/robco-processor | 28b1e91f39f63142601209bf123b1d3a892d8919 | eb92ee0d2402403b36b9b796f80c3d46aaed1442 | refs/heads/master | 2023-08-12T13:56:11.768654 | 2021-10-13T15:16:18 | 2021-10-13T15:16:18 | 281,253,448 | 0 | 0 | MIT | 2021-01-18T22:10:01 | 2020-07-21T00:15:00 | C++ | UTF-8 | C++ | false | false | 2,652 | cpp | assembler_visitors.cpp | #include "assembler_visitors.hpp"
data_def_handler::data_def_handler(assembler_data_t* data) : data(data)
{
}
parser_state data_def_handler::begin(parser_state state, const rc_assembler::data_def& begin_data)
{
if (!in_progress && state == parser_state::normal)
{
in_progress = true;
spans_multiple_lines = fals... |
f79177a1a6b103f43a7c9d6fe4e58477be388551 | fa4fa0e01ac89211fe69d0447c68779da1eaaf6a | /Module/Module16/Exercise1.cpp | bfb63592862053c7931812d857f4717f1b1d9cbb | [] | no_license | hwilt/CS174 | 92a1bdc78c7d2ce4b882237d689efaea95f177b0 | 4fea28a294ec4d32ef8509937242c382facdbfd6 | refs/heads/main | 2023-02-13T03:47:10.048222 | 2021-01-05T02:25:18 | 2021-01-05T02:25:18 | 312,004,537 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | cpp | Exercise1.cpp | #include <stdio.h>
#include <string>
class TreeNode {
public:
int value;
int index;
TreeNode* left;
TreeNode* right;
//TreeNode* parent;
TreeNode(int value) {
this->value = value;
left = NULL;
right = NULL;
}
};
class Bina... |
b6da66f32b35f15a00bfe7d861df9bdc8bd5903d | 3853ed9cb9a798b0a4ccfb8f18bbc2b23ecf35d3 | /Source/Lumos/WRTK/RetrieveTriggerBox.cpp | ae753405e63b5bdc966da44c4d11839fd99dcdd7 | [] | no_license | michael-duan/Early-WRTK-Source-Code | f9a5c3c40916350b77949a43840ebd8c3868c231 | 3a2e3699fb8b22b9ea46a15e4658cd74d0610e67 | refs/heads/master | 2021-07-19T17:38:58.237974 | 2017-10-25T01:43:18 | 2017-10-25T01:43:18 | 108,204,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | cpp | RetrieveTriggerBox.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Lumos.h"
#include "RetrieveTriggerBox.h"
#include "RetrievableBehaviorComponent.h"
ARetrieveTriggerBox::ARetrieveTriggerBox()
{
PrimaryActorTick.bCanEverTick = true;
PrimaryActorTick.bStartWithTickEnabled = true;
}
void ARetri... |
342feac7487490333fa21b7508e69e48ebfdfac3 | 12676cc44aeaf7ae604fdd7d3319052af7d0fbf2 | /KMP.cpp | e72f4207f16e2ac2ab0ad6294b8cf83af6d83b4e | [] | no_license | BIT-zhaoyang/competitive_programming | e42a50ae88fdd37b085cfaf64285bfd50ef0fbbc | a037dd40fd5665f3248dc9c6ff3254c7ab2addb2 | refs/heads/master | 2021-04-19T00:02:12.570233 | 2018-09-01T11:59:44 | 2018-09-01T11:59:44 | 51,271,209 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,192 | cpp | KMP.cpp | #include <iostream>
#include <vector>
#include <string>
using namespace std;
class KMP{
public:
void setPattern(string &P){
this->P = P;
m = P.size();
kmpProcess();
}
void setText(string &T){
n = T.size();
this->T = T;
}
void kmpSearch(){
cout << "The text is: " << T << endl;
co... |
5ff3368a06c85bc49481dc5b3726fb8c938219ec | 98ef9f82f45320df070f670eac258c8365113642 | /solution1-100/78. Subsets.cc | c923ae2fd10702608ff78912c3e959459a2b29e4 | [] | no_license | FrankWork/LeetCode | abbf6125b57e143073f89daf5cbcbd8ff67bb78b | 6ec0c0d43cf4e8ef968051a4d125c4965d58e4f5 | refs/heads/master | 2021-01-22T07:27:43.963950 | 2018-11-12T08:44:18 | 2018-11-12T08:44:18 | 39,978,490 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,070 | cc | 78. Subsets.cc | #include <iostream>
#include <vector>
#include <algorithm>
#include <cstdio>
using namespace std;
void print(vector<vector<int>> &path){
for(auto vec: path){
for(int i: vec){
cout << i << " ";
}
cout << '\n';
}
}
class Solution {
public:
void subsets(vector<int>& nums,... |
5897051c96272dc0a1d8bbcaa020ea4d845fd79b | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Developer/DeviceManager/Private/Widgets/Details/SDeviceDetails.h | 6e2c3460e368d160dfce4a3ca5dfb3b77afa0e61 | [
"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 | 1,209 | h | SDeviceDetails.h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Containers/Array.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
#include "Templates/SharedPointer.h"
#include "Widgets/Views/SListView.h"
class FDeviceManagerModel;
clas... |
f98a5bd5c25f6898f72b17d4f9ee0e3a11a2b1ca | f5d779b0b89b1f13f69c6acda517c7bf773c1e58 | /backups/22-04-2014-1-50-pm/src/timer/header/timer.h | 4f569501a9bb07cffefb5715ab60d686f5ef2140 | [
"MIT"
] | permissive | Samathy/Engine-du-Elephant | 5b58c6b49b7802217f8f850ad3c19a158e6583a9 | 01e7c2c1394de440e715d42173816c179ad84b46 | refs/heads/master | 2016-09-10T22:10:56.458588 | 2014-10-19T20:02:14 | 2014-10-19T20:02:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | h | timer.h | /**************************
THIS IS NOT MY CODE. I copied it from this post: http://www.cplusplus.com/forum/beginner/317/#msg1047
Timer class.
***************************/
class timer
{
public:
timer();
void start();
void stop();
void reset();
bool isRunning();
unsi... |
55abb89fa00a2ca29eb5524ed714d5780aed3faf | d76d52d75bcc06fa1e5fd3b47e2cb6359dcd95d3 | /Pandemic/Pawn.h | 970360935287b701fd3804bd85371e83950825e4 | [
"MIT"
] | permissive | ddicorpo/PandemicBuild | 6a2d61164519e5455b6fef143defd51237a68327 | 9c1ff34cd2bdfb2a5a1a26019d31f0b360fb9dd0 | refs/heads/master | 2021-04-29T14:31:25.034765 | 2017-03-17T18:47:56 | 2017-03-17T18:47:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | h | Pawn.h | #ifndef PAWN_H
#define PAWN_H
#include <string>
class Pawn
{
public:
Pawn();
Pawn(std::string color);
// setters
void setColor(std::string color);
std::string getColor();
private:
std::string color;
};
#endif |
f974f241a66550b0a7071e3aef608a6fb14e4939 | 9402c9f35b6d895c3b6f7ddcfc87241e6b9145d8 | /Spoj/ascdfib.cpp | c6ded95c2ebd5e7397ea48c7debf7f18d3f70cb7 | [] | no_license | siddharth94/competitive | 586d42679558dcd1dcca3457c2ca7be089cbda30 | ecda01521a7a9908225771d9374d5c18fa646515 | refs/heads/master | 2021-07-06T05:27:13.395384 | 2017-09-29T10:16:20 | 2017-09-29T10:16:20 | 105,229,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,404 | cpp | ascdfib.cpp | #include <bits/stdc++.h>
using namespace std;
#define R(i,a,b) for(int i=a;i<b;i++)
#define RE(i,a,b) for(int i=a;i<=b;i++)
#define RR(i,a,b) for(int i=a;i>b;i--)
#define RRE(i,a,b) for(int i=a;i>=b;i--)
#define F(i,n) for(int i=0;i<n;i++)
#define FE(i,n) for(int i=0;i<=n;i++)
#define FR(i,n) for(int i=n;i>0;i--)
#def... |
87d462bc63b3ce9aefc8853f5864c7294d9fa8ae | 893cff54c0f3a0c73218fbae078b47d1a169bb42 | /Users.h | ab65df98067352b1f64c06c8cb18c540898bcc03 | [] | no_license | xiaoyugan/Task2 | d22bf246014b57b6f8b713c7a1878cbbbf4f4a9f | c25c6acf57ab90e7a498e9e20ff680facd34b529 | refs/heads/master | 2020-04-05T19:33:33.167709 | 2018-11-28T12:12:17 | 2018-11-28T12:12:17 | 157,140,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,035 | h | Users.h | //C++ Boot Camp - Task 2 - 2018-19
//Name: Maodan Luo
//Student number: 27042120
#pragma once
#include <string>
#include <list>
//--
// UserTypeId represents an identifier for the specific user type.
//--
enum class UserTypeId
{
kInvalid = 0
, kPlayerUser
, kAdminUser
, kGuestUser
, kGameStudio
};
//--
// User... |
1e7a6f1490e61d193b79bf037fe62f75de595b54 | 346f1f88acabca0a7b1d0c814d448f3d5e0f2345 | /GoldOpt.h | 86967360bb0e46d322d2c8e0461da496ec946b15 | [] | no_license | wilburCode/wilburCode | a7320fc501ac6036276d9c94571c0fed71864b1b | f77fca310bfa1cf7f9e15319646d58e29419fee4 | refs/heads/main | 2023-07-14T12:03:49.630543 | 2021-08-25T20:39:58 | 2021-08-25T20:39:58 | 399,828,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | h | GoldOpt.h | #ifndef GOLDOPT_H
#define GOLDOPT_H
#include <iostream>
#include <fstream>
namespace iret {
class GoldOpt {
public:
GoldOpt(void);
~GoldOpt(void);
void set_init_bracket(double a, double c);
double give_value();
void return_value(double xx);
int next(void);//It will set... |
94ace3bd60be50ba4584188126b879981a867559 | befd90e800178e4cbf6d29b16570037eff90d11e | /app/src/main/jni/com_example_opencvexample_opencvnative_OpenCvNativeClass.cpp | 2942a54623267190d7fb95c6bad0f82337157cf6 | [] | no_license | escuras/mcm_opencv | 95879a569dc34612c99e0fefa4a77fd96c632dce | ea151d079eaf806af79b0bc2ac3e420c6a5ee291 | refs/heads/master | 2020-06-18T22:10:42.257697 | 2020-06-09T21:56:32 | 2020-06-09T21:56:32 | 196,468,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | com_example_opencvexample_opencvnative_OpenCvNativeClass.cpp | #include <com_example_opencvexample_opencvnative_OpenCvNativeClass.h>
JNIEXPORT jint JNICALL Java_com_example_opencvexample_opencvnative_OpenCvNativeClass_convertGray
(JNIEnv *, jclass, jlong addrRgba, jlong addrGray) {
Mat& mRgba = *(Mat*) addrRgba;
Mat& mGray = *(Mat*) addrGray;
int conv;
jint r... |
c85e1ce00628db9889ff167304721eef2b38e299 | bce0562272a45159171c17f12f8267ec8782183c | /CG_skel_w_MFC/MeshModel.cpp | 0455e3d67f4689741d1824dc61bc152d24329e8a | [] | no_license | bedoron/ComputerGraphics | 15fed26b7913ff2b109d6cc4992de33048d9fc21 | 00efc4982991654e9525d6eb9d35769d6928bf1a | refs/heads/master | 2021-06-02T11:16:46.593780 | 2013-03-20T10:32:28 | 2013-03-20T10:32:28 | 6,999,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,723 | cpp | MeshModel.cpp | #include "StdAfx.h"
#include "MeshModel.h"
#include "vec.h"
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
#include "Utils.h"
using namespace std;
struct FaceIdcs
{
int v[4];
int vn[4];
int vt[4];
FaceIdcs()
{
for (int i=0; i<4; i++)
v[i] = vn[i] = vt[i] = 0;
}
FaceIdcs(std:... |
748ca3a2be70ed412e1d0d68392446291cc883ba | b505ef7eb1a6c58ebcb73267eaa1bad60efb1cb2 | /sample/0130guitest/comboboxsample.cpp | 8458cf5cc6705fdcb04fc1087d3b25d162bc7fce | [] | no_license | roxygen/maid2 | 230319e05d6d6e2f345eda4c4d9d430fae574422 | 455b6b57c4e08f3678948827d074385dbc6c3f58 | refs/heads/master | 2021-01-23T17:19:44.876818 | 2010-07-02T02:43:45 | 2010-07-02T02:43:45 | 38,671,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,032 | cpp | comboboxsample.cpp | #include"comboboxsample.h"
using namespace Maid;
static const RECT2DI BOXRECT(0,0,200,20); // 最初のボックスの位置、大きさ
static const RECT2DI SELECTBOXRECT(0,0,BOXRECT.w-20,20); // 選択項目ボックスの位置、大きさ
static const SIZE2DI SLIDERBARSIZE(20,SELECTBOXRECT.h*3); // スライダバーの大きさ
static const RECT2DI SLIDERB... |
cda38a7577bece9418db24ba25a824e0700f9cc0 | dbba95b9ae59cb2bb18709f28bc3be8ff1d9a910 | /lis.cpp | 8fb7af909beb19b9e3fd39349f77d43554829768 | [] | no_license | navyxliu/leetcode | a32de3777401803b16216773c968a506051d612e | cec8246d12b8cbdb15a6bf4ae625b0725d319b68 | refs/heads/master | 2021-01-19T00:25:22.489306 | 2016-08-03T06:55:05 | 2016-08-03T06:55:05 | 63,682,482 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | lis.cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int lis(const vector<int> & seq) {
int sz = seq.size();
//L[i] = 1 + L[j] if j < i and arr[j] < arr[i]
vector<int> L(sz);
for (int i=0; i<sz; ++i) L[i] = 1;
for(int i=1; i<sz; ++i)
for (int j=0... |
06fe458320b846769e3daf8dc70d293a41b7e469 | f93e33e2c05541ad7a2d0acd849ded025ea041c3 | /prj/habstractitem.cpp | 531ea4305e1473e3665434160fc889706a7aa2f3 | [] | no_license | ithewei/ds | d52d3722e3efe6b234e042a5cab1773d2f544450 | 4e2631d9ae4f13360e0cdce6c358b5e7fd98f0f1 | refs/heads/master | 2021-04-18T21:54:51.805401 | 2018-03-22T08:05:00 | 2018-03-22T08:05:00 | 126,301,280 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,582 | cpp | habstractitem.cpp | #include "habstractitem.h"
#include "hnetwork.h"
#include "hdsctx.h"
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
IMPL_SINGLETON(HItemUndo)
HAbstractItem::HAbstractItem()
{
type = NONE;
id = -1;
}
HAbstractItem::~HAbstractItem()
{
}
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//<<... |
d8b4b325e3b332fd35c27cba465722a6aabcf293 | d6ebbe29a5ed512889b0488620e53bc9df3ec4e1 | /leetcode/15-Programme/JD0804M-PowerSet/PowerSet_bitset.cpp | 95a7e110a183ce3e926a32fdde9339ca7a4de8d1 | [
"MIT"
] | permissive | BinRay/Learning | ccfcfd88b4c73cf85fcdc0050b23534d16221e13 | 36a2380a9686e6922632e6b85ddb3d1f0903b37a | refs/heads/master | 2021-07-16T20:33:38.587694 | 2021-03-05T08:53:29 | 2021-03-05T08:53:29 | 243,143,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | PowerSet_bitset.cpp | /**
* 执行用时:4 ms, 在所有 C++ 提交中击败了61.63%的用户
* 内存消耗:7.6 MB, 在所有 C++ 提交中击败了100.00%的用户
* 1. 每种组合都是2**len数字中的一个二进制位表示
* 2. 遍历,组装即可
*
class Solution {
public:
vector<vector<int>> subsets(vector<int>& nums) {
// bit manipulation: O(n*2**n)
bitset<128> combination;
vector<vector<int>> subsets;
... |
569a9c5f9f2f829a09e6e2b4f01812cc83e5baff | 23e5a183cba5e06c645d4a60f2ebd14f73c63ab2 | /src/figures/figure.h | 439719e35f8d5e74faccd6060f6282af26725baf | [] | no_license | airat91140/tetris | ce6365626bd551d56a7af6ceaf3ab39538d1b1b4 | c4619e6f5e0436f26280ea0dee3d19552960afc5 | refs/heads/master | 2023-07-03T08:57:00.018231 | 2021-07-31T18:46:20 | 2021-07-31T18:46:20 | 381,806,380 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | h | figure.h | //
// Created by airat on 30.06.2021.
//
#ifndef TETRIS_FIGURE_H
#define TETRIS_FIGURE_H
#include <QVector>
#include <QPointf>
#include <Qpair>
#include <QGraphicsScene>
#include "piece.h"
namespace tetris {
/**
* @brief abstract class of figure
*/
class Figure : public QObject {
Q_OBJECT
... |
9af0177b424ac8c04102717fc32156d1c78a4772 | 6dbb7829aa008d165c287f4ba5605c1eb6278065 | /CodeForces_CodeChef/tempCodeRunnerFile.cpp | 93a601451b533063b8f75b249c041babd2187e1b | [] | no_license | 2023PHOENIX/CP | 08831756aebc74f01ab5c50259de4897215b8448 | 238b0417d4712414711eba8a6076849470645493 | refs/heads/master | 2023-06-30T01:22:08.349187 | 2021-08-05T18:02:55 | 2021-08-05T18:02:55 | 372,407,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | cpp | tempCodeRunnerFile.cpp | // for (int i = 1; i <= pf; i++)
// {
// if (dp[n][i] <= W)
// {
// cout<<i<<" ";
// }
// } |
e5d5cc98319d38da2cf6427c81243f4eaf2a1307 | 02c201b1afd2de7f8237adc3737734e19b77cd2b | /src/wasm/wasm-io.cpp | 65e6a982aec739b4a1f3a07be49f8322f595079e | [
"Apache-2.0"
] | permissive | WebAssembly/binaryen | 1ce65e58489c99b5a66ab51927a5b218c70ae315 | 90d8185ba2be34fa6b6a8f8ce0cbb87e0a9ed0da | refs/heads/main | 2023-08-31T21:01:27.020148 | 2023-08-31T19:32:33 | 2023-08-31T19:32:33 | 45,208,608 | 7,061 | 768 | Apache-2.0 | 2023-09-14T21:41:04 | 2015-10-29T20:26:28 | WebAssembly | UTF-8 | C++ | false | false | 6,138 | cpp | wasm-io.cpp | /*
* Copyright 2017 WebAssembly Community Group participants
*
* 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... |
6f45de629f54111b3565d55357ec47a4de327306 | 5682fdd3d0c8118da9f75ccb463ebacea174b3ed | /project3-sc9ny/shared_double_buffer.cpp | 33675762d08bc0de30adbad2f71c03c9ca7bb66c | [] | no_license | sc9ny/ECE3574 | 3642a79aca14def6f989f8bd901b2105bc0e2ce9 | 68d1512b5edba9a623c9d746d30d9db5f3dd68fa | refs/heads/MS1 | 2020-03-09T22:45:21.294037 | 2018-04-11T06:45:14 | 2018-04-11T06:45:14 | 129,041,874 | 0 | 0 | null | 2018-04-11T06:40:53 | 2018-04-11T05:59:32 | C++ | UTF-8 | C++ | false | false | 2,557 | cpp | shared_double_buffer.cpp | #include "shared_double_buffer.hpp"
#include <QDebug>
// Implement your shared double buffer here
template<typename T>
shared_double_buffer<T>::shared_double_buffer(size_t s)
{
size = s;
}
template<typename T>
bool shared_double_buffer<T>::s_d_b_push(const T &item)
{
std::unique_lock<std::mutex> lock(the_mutex... |
e6b478b2d076c2f83d000e4c5d38b62f1befa55f | 8ebf49a1eac01a9757cff0444af247d66e0352c5 | /2013-CJ-RoadNetworkRkNN/main.cpp | 04ae63b2b9896da35892b83e1b9d55414b2b5c25 | [] | no_license | safarisoul/ResearchProjects | 9a5f62cf9364f879e5ede27e9edfb57532c1fc76 | 7171965b07e70d73e643b82a084571ec8f8559ad | refs/heads/master | 2021-01-01T19:21:07.628414 | 2015-12-21T02:33:03 | 2015-12-21T02:33:03 | 20,355,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,229 | cpp | main.cpp | #include "main.h"
using namespace std;
int main(int argc, char* argv[])
{
cout << endl;
// read argument
Argument::readArguments(argc, argv);
Argument::printArguments();
// load data
if(Argument::network == "california")
{
CaliforniaDataLoader loader;
loader.load();
... |
7c0481bfc2e7ec426b9c9742ee1860169176883a | 6b57141bf61b717cdb56ec0f356b7fbee5ee4c81 | /MuxTest.cpp | e3f8d2ef62b2bcd1f6d56efb7a2f916373d982a9 | [] | no_license | AdamFulford/MuxTest | 93696b1a1d199f50cc2b78bff25eb2fc2d991b56 | 07834743a50c7ff032156e51732f3bea38f2951e | refs/heads/master | 2023-03-14T09:09:04.429291 | 2021-03-10T13:05:57 | 2021-03-10T13:05:57 | 346,176,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,758 | cpp | MuxTest.cpp | #include "MuxTest.h"
//#include "daisy_seed.h"
#include "QSPI_Settings.h"
#include <string.h>
#include <atomic>
Settings setting{};
constexpr Settings defaultSetting
{
(25000.0f + 240000.0f) / 2.0f, //RevLength
1.0f, //tapRatio
0.0f, //ModDepth
(10.0f + 0.1f) / 2.0f, //ModFreq
200.0f, //HP... |
e9ce7b60639ddcfbfb7da5f231172edeb10095fd | 24e015bfc2883daf97c71a5c08cc3765d3678c74 | /cpp/BatchWraperNewExemplars.cpp | ec23d03caba33befa62d9b1dab800b9542c283f6 | [] | no_license | herobd/crowdcat | 4309a45fc9de0f42d7919d37af1034c78c392c67 | 67c24a18d5a6172b450bf4916557e10b3aebac43 | refs/heads/master | 2021-01-17T07:59:42.470951 | 2017-03-31T23:25:27 | 2017-03-31T23:25:27 | 83,824,594 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,982 | cpp | BatchWraperNewExemplars.cpp |
#include "BatchWraperNewExemplars.h"
BatchWraperNewExemplars::BatchWraperNewExemplars(NewExemplarsBatch* newExemplars)
{
base64::encoder E;
vector<int> compression_params={CV_IMWRITE_PNG_COMPRESSION,9};
batchId=to_string(newExemplars->getId());
int batchSize = newExemplars->size();
retData.re... |
4d5ce7293d002f74f289fe47655762a2cdbd74d9 | 50c1593f3183e7fe578926ccabe1021105b88e90 | /やさしいC++/lesson8/sample3.cpp | 076092daa892f96b3afbdb082d6169a64df0949e | [] | no_license | birune/learning-cpp | a30a8887c6fbcabeb2cb176ba22dd0119114ade1 | 6670bd15597d3d46c744f764c4814aa11cc84f84 | refs/heads/master | 2020-05-20T02:15:27.192662 | 2019-05-07T13:49:39 | 2019-05-07T13:49:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | cpp | sample3.cpp | #include <iostream>
using namespace std;
int main(){
int a;
int* pA;
a = 5;
pA = &a;
cout << "変数aの値は" << a << "です\n";
cout << "変数aのアドレスは" << &a << "です\n";
cout << "ポインタpAの値は" << pA << "です\n";
//"*ポインタ名"でポインタの指す変数の値を示す
//この"*"を間接参照演算子という
cout << "*pAの値は" << *pA << "です\n";
... |
ef2e96bccdf6d6e6f1f15b9276b2d1423b3cec3d | afa8201826d9db8ed7c7692c2971103a9b798d7e | /Baekjoon/StronglyConnectedComponent/4013.cpp | f12a8712519b74e3c3b3c7df69c5811f1ed76ad8 | [] | no_license | lcy960729/Algorithm_Solution_Collection | bd346d8e2056d23b3ebc113d9220c4f622049ded | fa39ed55ecbc7ab17be9c22e74248078030768d5 | refs/heads/main | 2023-05-14T03:22:32.020737 | 2021-06-08T08:14:39 | 2021-06-08T08:14:39 | 294,163,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,143 | cpp | 4013.cpp | #include <iostream>
#include <algorithm>
#include <cstring>
#include <vector>
#include <cmath>
#include <stack>
#include <queue>
#define pii pair<int, int>
#define ll long long
#define Int_MAX 1e9
#define LL_MAX 3e18
using namespace std;
int n, m, s, p;
int id, sn;
vector<int> discovered;
vector<int> sccid;
vector<i... |
37c9cb1b3b9f4245aad29fb8ed4f681172a4c7f1 | a8e9ecef19ede99dfb4cd4516c7a243d565d726a | /src/ParseDotGraph.hpp | 7cb8bba961b99ac0f014ca7a9836fc36b16cd041 | [
"MIT"
] | permissive | oesse/find-critical-path | b6caf76a8f6652bcc0eb48ff93421cd39b598854 | 1cd6ebd2ef1238307d5d63f2fe895fcbede5fc10 | refs/heads/master | 2020-09-03T02:43:58.701461 | 2019-11-05T08:13:48 | 2019-11-05T08:47:06 | 219,365,512 | 2 | 0 | MIT | 2019-11-05T08:47:08 | 2019-11-03T21:06:05 | C++ | UTF-8 | C++ | false | false | 303 | hpp | ParseDotGraph.hpp | #pragma once
#include <functional>
#include <istream>
using OnEdgeFunction = std::function<void(std::string, std::string)>;
void parseDotGraph(
std::istream &in,
const OnEdgeFunction &onEdge = [](const auto & /* srcId */,
const auto & /* destId */) {});
|
7894536915f298fcbe11046f5309dcae61b85bc0 | 4cec1ac5a533800299efb9929ffda16b8e28da56 | /minheap.h | ead8c67b4b9e637a4189900a41314e22d49993e2 | [] | no_license | xjh199923/MinHeap | 9f4e3857511a113bf646215b022c4079ecb5e88c | a4ec91e3a3b7822b81c96cc5f68e6a306959bab3 | refs/heads/master | 2020-08-29T22:08:46.371163 | 2019-10-29T02:24:37 | 2019-10-29T02:24:37 | 218,186,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,800 | h | minheap.h | template<class E>
class MinHeap
{
private:
E *heap;//存放元素的数组
int count;//当前储存个数
int maxsize;//最小堆最多允许个数
void siftdown(int start,int m);//从start到m下滑调整成为最小堆
void siftup(int start);//从start到0上滑调整成为最小堆
int tmp;//封装一个tmp来计算比较次数
public:
MinHeap(int sz=1000);//构造函数建立空堆
MinHeap(E arr[],int n);//构造函数,通过一个数组建立堆... |
47a690ead838ee116b9404850b6a2f71b010a804 | 71decf3230d325a9586b9971d480d02b7bf7c86c | /cpp/archive/2020/03/21/Codeforces___acm_sgu_ru_archive___156__Strange_Graph/main.cpp | 43f97f3ad926be322cc7c710265e07d5c235dd42 | [] | no_license | jaichhabra/contest | 4d92fc8c50fdc7e6716e7b415688520775d57113 | 2cdd1ed4e2e98cc6eb86d66fe0d4cba8a0c47372 | refs/heads/master | 2021-04-14T16:16:45.203314 | 2020-03-22T17:37:23 | 2020-03-22T17:37:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,222 | cpp | main.cpp | #include "../../libs/common.h"
#include "../../libs/debug.h"
#include "../../libs/dsu.h"
struct Edge {
int a;
int b;
bool visited;
};
vector<vector<int>> g;
vector<int> types;
vector<vector<int>> typeG;
vector<int> trace;
vector<Edge> edges;
vector<bool> occur;
vector<vector<int>> pend;
dsu::DSU<10000> dset;
v... |
1c11dc05c662ca0143f43fea07e037fd5ca335cf | 8abc331137bf2bbcc88dc691a22fd6a84f9a1683 | /852.Peak Index in a Mountain Array/main.cpp | 7fcda23117a96209ff94fc029634e8c22a061252 | [
"Apache-2.0"
] | permissive | Kingpie/leetcode | 3cfbf18653b8b7c8f5b4b7a01bb350665e59fb8f | b5fd90a12f34f5baf24a3d4fa04c0914dd3e000f | refs/heads/master | 2021-04-10T14:41:00.312568 | 2020-05-20T15:20:05 | 2020-05-20T15:20:05 | 248,941,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | cpp | main.cpp | /*Let's call an array A a mountain if the following properties hold:
A.length >= 3
There exists some 0 < i < A.length - 1 such that A[0] < A[1] < ... A[i-1] < A[i] > A[i+1] > ... > A[A.length - 1]
Given an array that is definitely a mountain, return any i such that A[0] < A[1] < ... A[i-1] < A[i] > A[i+1] > ... > A[A.... |
e5561a824f75b30ef42c09fe2251ce465f797b0d | 1dd1de8e298e95077fdd471c240d3abc5e11a510 | /unittests/BackendCore/BackendCallTests.cpp | f7d0ed28176e10c4c6caf7be27717d354f268ad1 | [
"Apache-2.0"
] | permissive | thanm/dragongo | e4255166526071baaa515f7b679f0cbdfca6d07e | 664cb6ae179fe512165971df694bb38da9f695ec | refs/heads/master | 2022-10-27T13:03:12.288529 | 2022-10-11T19:53:58 | 2022-10-11T19:53:58 | 68,115,768 | 18 | 2 | null | 2017-05-18T12:44:14 | 2016-09-13T14:24:20 | C++ | UTF-8 | C++ | false | false | 5,840 | cpp | BackendCallTests.cpp | //===- llvm/tools/dragongo/unittests/BackendCore/BackendCallTests.cpp ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... |
50067799aa85eff413fe395162eefff9ba2f3573 | 9b291d036ee7d4364734caab6fcf061e0e6de147 | /Game/basicai/AIController.h | 6793b1e6faecbaf4cdb4a179afce91fb2295932a | [] | no_license | PSP-Archive/Rip-Off | 0227db92c34b6f084a56ba122baa4b5bd74e6e6d | 968c21162b0b44a539664400a0047ffaad4ad764 | refs/heads/main | 2023-04-13T12:52:36.275617 | 2021-04-24T15:15:23 | 2021-04-24T15:15:23 | 361,194,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | h | AIController.h | #pragma once
#include "engine/AI_ImplementationIF.h"
#include "engine/ControllerIF.h"
#include "engine/Ship.h"
class AIController : public ControllerIF {
public:
AIController();
~AIController();
void Update(float frameTime);
// set current AI implementation
// The controller will call delete on it when deleted i... |
a6b5e5c03a65167660914b88c3ad39ec6eddc843 | 0237a503f80482bbda913f1f9a500aa1d712f379 | /TaskManager/TaskManager/WindowDlg.cpp | c2d5e6e4a246a686e264d0dc43e3f83af154a696 | [] | no_license | fa1c0n1/funny_learning | bce89d6edff46a0a6f78aa1fb2b0a95168e84f1e | 10f500a1e06743379539b14e8a04a79d95a6a796 | refs/heads/master | 2021-12-29T18:52:38.588889 | 2021-12-27T01:54:52 | 2021-12-27T01:54:52 | 53,765,191 | 2 | 2 | null | null | null | null | GB18030 | C++ | false | false | 2,736 | cpp | WindowDlg.cpp | // WindowDlg.cpp : implementation file
//
#include "stdafx.h"
#include "TaskManager.h"
#include "WindowDlg.h"
#include "afxdialogex.h"
#include <strsafe.h>
int CWindowDlg::m_nWndCnt = 0;
// CWindowDlg dialog
IMPLEMENT_DYNAMIC(CWindowDlg, CBaseDialog)
CWindowDlg::CWindowDlg(CWnd* pParent /*=NULL*/)
... |
e38c396aff2a618fc80e6744c21dfe691d93b7bb | e50a85ac350314d6ddc6bad162cead8c6d939be4 | /AIPlayer.cpp | 76c8ebf288aa1c654d5969e55cec17f361182b12 | [] | no_license | Jerorfigan/BlackJack | 26c94d226f724a3c91594b088b2e82e4002adedf | f88efd8d2927e3eb46b8d6b8b1646277a0c709bc | refs/heads/master | 2021-01-22T02:53:06.443801 | 2013-03-12T01:59:12 | 2013-03-12T01:59:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | cpp | AIPlayer.cpp | #include "stdafx.h"
#include "AIPlayer.h"
namespace BlackJack
{
/*******************/
/* Virtual methods */
/*******************/
///////////////////////
// CreateStartingBet //
///////////////////////
bool
AIPlayer::CreateStartingBet()
{
// Bet a random percentage between 15%-30% of total chips.
f... |
7d25cb173bc51b56d17397d346e3caa8a564101c | 5b0ba8d8f67ae18e12f914f1f3495a88d20597ee | /POC_UAV/neural/NeuralNet.h | 4112f693a3558449e4b611813eff6a3dd20b2ca7 | [] | no_license | td1tfx/POC_UAV | 885a9934a7b2d1c32f7427ccedc125ccc78b78a8 | af9fd9860b5eeed275281bf7055759c4e9a24d01 | refs/heads/master | 2020-04-12T06:21:59.901349 | 2017-02-20T10:04:59 | 2017-02-20T10:04:59 | 63,743,225 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,376 | h | NeuralNet.h | #pragma once
#include <stdio.h>
#include <vector>
#include <string.h>
#include <cmath>
#include "NeuralLayer.h"
#include "lib/libconvert.h"
#include "MNISTFunctions.h"
#include "Option.h"
#include "io.h"
#include <direct.h>
//学习模式
typedef enum
{
Batch = 0,
Online = 1,
MiniBatch = 2,
//输入向量如果0的项较多,在线学习会比较快
//通常... |
23e329e71d8199ce98cf11fce9aa37ee91588d8b | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_log_2241.cpp | 0bee195faae1a4d15a4a6f6b511e05e5b95cdcef | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43 | cpp | Kitware_CMake_repos_log_2241.cpp | fprintf(fout, "int foo() { return 0; }\n"); |
4052033005737d7c6e7b4471dbc427b552ff921a | fd9f5186fa5d19db077dbf302fe9c940cb42e82f | /src/graph/executor/query/GetVerticesExecutor.cpp | 4e5e3c85c9a5646ee60b574cc133154c734acc8e | [
"Apache-2.0"
] | permissive | vesoft-inc/nebula | a0b9af548e124e59ecbfb0c5152098a1020b621c | 7c32088dec1891870a24aaa37ee5818e69f5ad6d | refs/heads/master | 2023-08-17T00:00:29.022525 | 2023-08-16T04:02:03 | 2023-08-16T04:02:03 | 146,459,443 | 11,007 | 1,220 | Apache-2.0 | 2023-09-05T05:48:16 | 2018-08-28T14:25:09 | C++ | UTF-8 | C++ | false | false | 2,362 | cpp | GetVerticesExecutor.cpp | // Copyright (c) 2020 vesoft inc. All rights reserved.
//
// This source code is licensed under Apache 2.0 License.
#include "graph/executor/query/GetVerticesExecutor.h"
using nebula::storage::StorageClient;
using nebula::storage::StorageRpcResponse;
using nebula::storage::cpp2::GetPropResponse;
namespace nebula {
n... |
5829461da668e50d26a2eabd99a6ed1e21c0b2a5 | 6f9e8e401a8a4253838fb7310cc7baaafcf52616 | /json.cpp | eacaaecedd9f90c98c15419107b9a908e6a239f1 | [
"MIT"
] | permissive | alex-sherman/embedded-json | e7086ef2d4f4bf98b6454b4397de20ae7ce91b4d | d1aeeede32baeb28525718d85b66f078aa1703fb | refs/heads/master | 2022-09-24T13:40:56.989940 | 2022-09-15T17:00:15 | 2022-09-15T17:00:15 | 64,700,309 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,581 | cpp | json.cpp | /*
Copyright (c) 2001, Interactive Matter, Marcus Nowotny
Based on the cJSON Library, Copyright (C) 2009 Dave Gamble
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, incl... |
509516f05ca6abcf09488f582a1f3effedefb63d | 677c697f108901e5403c94ac4874d3a760faba44 | /II/ChM_sem2/lab1/Polynomial.cpp | 1aa359f51a99922ab4df525726b3ab8c6072be93 | [] | no_license | BunnyBoss75/Labs | f63e205e5ad8db487ae80bb5af3d641db6542343 | 6f01d265321a3d7f656899f1efdfc71f38416767 | refs/heads/master | 2020-09-14T10:24:46.010521 | 2020-07-04T09:26:05 | 2020-07-04T09:26:05 | 223,102,840 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,266 | cpp | Polynomial.cpp | #include "Polynomial.h"
Polynomial::Polynomial() : polynomial(0) {}
Polynomial::Polynomial(std::initializer_list<double> init) : polynomial(init) {}
Polynomial::Polynomial(int size, double value) : polynomial(size, value) {}
Polynomial::Polynomial(const std::vector<double>& _polynimial): polynomial(_polynimial) {}
... |
1ce356eadc703c9b0db202606b22b9f5cd668159 | cd9b125ccfc18b1beae2bf0eb4a5825087122040 | /shua_ti_刷题/360/test.cpp | 841e4e77065953cd098727431f5964a441589542 | [] | no_license | Tianxintong/git | 06538c66916c4bd55d2dd0d240f0a182f18cbfd5 | b943e9338f70e84922dd6784da52dd97455c323a | refs/heads/master | 2021-01-20T01:59:05.496269 | 2017-09-13T13:18:21 | 2017-09-13T13:18:21 | 89,354,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | cpp | test.cpp | #include<stdio.h>
#include<unistd.h>
#include<stdlib.h>
#include<iostream>
using namespace std;
struct st_task
{
uint16_t id;
uint32_t value;
uint64_t timeatsmp;
}
int main()
{
st_task = {};
uint64_t = 0x00010001;
}
/*
struct Data
{
char a;
int b;
int64_t c;
char d;
};
int main()
{
Data a[2][10];
cou... |
004b3b5c737c68e276a65aa851c8701b4b71f866 | 939e6f79ca9b9411fcab2dbc2b31f73e42d3fa00 | /tiled_resources_2d/include/gxu/gxu_pinhole_camera_dispatcher.h | 9f3d9a65a5a74632209de8d609cc6d42ebc61e86 | [] | no_license | kingofthebongo2008/examples | f5f8d4149b83b454d788b53ac2ac440d77af9230 | 17d421d0f7fe9f20b32f3a9510c46eddc86353af | refs/heads/master | 2023-06-10T05:07:55.712393 | 2020-07-21T12:23:34 | 2020-07-21T12:23:34 | 7,283,947 | 3 | 0 | null | 2023-05-31T20:09:46 | 2012-12-22T08:30:16 | C++ | UTF-8 | C++ | false | false | 5,154 | h | gxu_pinhole_camera_dispatcher.h | #pragma once
#include <gx/gx_pinhole_camera.h>
#include <gxu/gxu_camera_command.h>
#include <math/math_quaternion.h>
#include <math/math_graphics.h>
namespace gxu
{
namespace details
{
void turn_pinhole_camera(gx::pinhole_camera* camera, float angle_in_radians)
{
auto view_dire... |
a30b8431816b0208e2c0e15e7c322c071d52a25f | bf580fc7c835fe3fa3ed132f767c45f3984f0379 | /simulator.cpp | 69fd3f3ecc9b1c6552b7114bd39172a713b12d18 | [] | no_license | flavioc/meld | eb9ddb9a244498769511cc6c9f2e9f3541d1169a | 08511ad36d96386ff06ed9c695d05c3ac2761cb8 | refs/heads/master | 2016-09-16T00:18:00.744714 | 2013-12-05T19:00:23 | 2013-12-05T19:00:23 | 1,469,942 | 17 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,466 | cpp | simulator.cpp |
#include <cstdlib>
#include "conf.hpp"
#include "process/machine.hpp"
#include "utils/utils.hpp"
#include "process/router.hpp"
#include "interface.hpp"
#include "version.hpp"
#include "utils/atomic.hpp"
#include "utils/fs.hpp"
#include "ui/client.hpp"
#include "ui/manager.hpp"
#include "sched/sim.hpp"
using namespac... |
8ae29fff7bf81b7d19bf42a71eefb2a90b04d342 | 2b1b459706bbac83dad951426927b5798e1786fc | /src/lib/storage/vfs/cpp/paged_vnode.cc | cb674c8194f68fa057be9b2f6c72d769739f2306 | [
"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 | 5,403 | cc | paged_vnode.cc | // Copyright 2021 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.
#include "src/lib/storage/vfs/cpp/paged_vnode.h"
#include <lib/async/task.h>
#include <zircon/errors.h>
#include <memory>
#include <mutex>
#include "src... |
e4bd7d8e647f895aed74dd919b3c2f6f0bff6f5f | c4dbe510e88c94fce468cf6b475172268febdc5f | /utils/math/fifo_median.hpp | 64d4458a931cab01c03f98ec3c4eb081282f99ae | [] | no_license | FRC-Team-955/DuncansResources | 2d7dbd6afd302c3082602c4f233744090f3a452c | ccb00725fa0f3f96348330825b9bb69fcc365f27 | refs/heads/main | 2021-06-16T13:37:24.443434 | 2019-03-23T03:01:39 | 2019-03-23T03:01:39 | 163,228,553 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | hpp | fifo_median.hpp | #pragma once
#include <algorithm>
#include <deque>
#include <stdio.h>
class FifoMedian {
private:
// First In First Out array
std::deque<float> fifo;
// Maximum length we allow the array to reach
size_t fifo_max_length;
public:
FifoMedian(size_t max_length);
v... |
3283aded28d982f961c2ed1fd90601a2a7399cef | 60aff25ce7c0d3ce80e22423db0d84823a896f3a | /sfitsio/src/fits_hdu.h | 4d6d60c41bcaa7f008273b7bafac2de1d9c48658 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cyamauch/sli | 8870f36ba273b415fb9cd0dd6c16cb22a235d924 | c24ad209034f9f9fea46cac7915917694ab9cad5 | refs/heads/master | 2022-11-24T03:08:04.791714 | 2022-10-23T18:55:23 | 2022-10-23T18:55:23 | 18,258,864 | 7 | 2 | null | null | null | null | EUC-JP | C++ | false | false | 17,801 | h | fits_hdu.h | /* -*- Mode: C++ ; Coding: euc-japan -*- */
/* Time-stamp: <2014-05-08 02:20:24 cyamauch> */
#ifndef _SLI__FITS_HDU_H
#define _SLI__FITS_HDU_H 1
/**
* @file fits_hdu.h
* @brief FITS の HDU を表現する基底クラス fits_hdu の定義
*/
#include "fits_header.h"
#ifdef BUILD_SFITSIO
#include <sli/cstreamio.h>
#include <sli/tstring.... |
247ed5d7f642e76e76274cfbd80634ea68cc3cec | 24004e1c3b8005af26d5890091d3c207427a799e | /Win32/NXOPEN/NXOpen/BaseSession.hxx | 253ade980dc95ae009b0cd75631f0b650219cbca | [] | no_license | 15831944/PHStart | 068ca6f86b736a9cc857d7db391b2f20d2f52ba9 | f79280bca2ec7e5f344067ead05f98b7d592ae39 | refs/heads/master | 2022-02-20T04:07:46.994182 | 2019-09-29T06:15:37 | 2019-09-29T06:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 942 | hxx | BaseSession.hxx | /*******************************************************************************
Copyright (c) 2003 Unigraphics Solutions Inc.
Unpublished - All Rights Reserved
*******************************************************************************/
#ifndef NXOpen_BASESESSION_HXX_INCLUDED... |
43ee7f8e73d99a38975cfcf6c063523cada91873 | d2396967fff0e4441711a34b04132ba8c3b20982 | /src/Weapons/DualPistols.cpp | 8f6f6c7bcbb5931891b8a3ba7df7d70658e4f16a | [] | no_license | gbdb71/SuperFakeBox_cpp | 5f25183c4134c8e67a2c3c96872b6ed92606d647 | db85aeefea218a622feba72e2dedce7eb049bbf4 | refs/heads/master | 2020-03-22T12:52:27.193894 | 2017-10-15T05:54:34 | 2017-10-15T05:54:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 962 | cpp | DualPistols.cpp | #include "DualPistols.h"
#include <iostream>
#include "Bullet.h"
#include "../Spieler.h"
DualPistols::DualPistols(Spielfeld * s) : Weapon(s)
{
//Change Body type to a Rect
maxFireDelay = 7;
name = "DUAL PISTUUL";
onePress = true;
screenShakeAmount = 5;
Resources::loadTexture(tex,"dualpistol.png");
... |
a4440a3b3956a1f80350856bd7c64c1e3c77cfc6 | e96140fe29ac734c9985ba8835b13a38deda8a23 | /extension/include/wx/extension/log.h | 3157c70b00f21733c8cbf8721f8b885904cd6469 | [
"MIT"
] | permissive | fanzcsoft/wxExtension | 33efbd379188584d6ef6a2a08fff07ed7fc3e374 | e99bd2c83502fac64db0aece657a480d0352d2ba | refs/heads/master | 2020-03-27T04:36:04.115835 | 2018-08-17T18:45:56 | 2018-08-17T18:45:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,029 | h | log.h | ////////////////////////////////////////////////////////////////////////////////
// Name: log.h
// Purpose: Declaration of wxExLog class
// Author: Anton van Wezenbeek
// Copyright: (c) 2018 Anton van Wezenbeek
////////////////////////////////////////////////////////////////////////////////
#pragma once
#in... |
a9a34a5f31161ae0763a51cd27460b751e5fdec2 | 35f1a2b751819d0e5741a87121cfdf2aae3e646b | /study/study/1003.cpp | 7643b6f7114fffa795575f43d7140ebfdf50dc87 | [] | no_license | namhyo01/ForStudy | b15ec2dc8b3e659509b93604b4468fbd7460bed8 | fa7b8f6279a02f1ed261a209fefccc96a4ef4752 | refs/heads/master | 2022-03-20T15:38:47.140018 | 2022-03-09T12:41:05 | 2022-03-09T12:41:05 | 250,731,941 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 785 | cpp | 1003.cpp | #include <iostream>
#include <algorithm>
#include <stdio.h>
#include <vector>
#include <cmath>
#include <set>
#pragma warning(disable:4996)
using namespace std;
/*
int dp[50];
int n;
int num_0 = 0, num_1 = 0;
int fibonacchi(int n) {
if (n == 0) {
dp[0] = 0;
return 0;
}
if (n == 1) {
dp[1] = 1;
return 1;
}
... |
e360a69de1497138b3fcfd0adcf42c470c3b561c | adb16eaccac05b07dbc44bb7fe87a17bf59889f0 | /worktree/hello-gm/gmalproxy.h | 5574322595c61b369fbed3615c5f5cc92f658333 | [] | no_license | tech-ui/nao-gm | e29f6cc899e744b1faf596d770b440eb81039a53 | bd0f201640701a0a3eaddc12a1fa12c0c7c48891 | refs/heads/master | 2021-05-27T12:07:25.586855 | 2012-12-20T05:05:15 | 2012-12-20T05:05:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | h | gmalproxy.h | //
// gmalproxy.h
//
#pragma once
#include "main.h"
using namespace funk;
class GMALProxy
: public HandledObj<GMALProxy>
{
public:
GM_BIND_TYPEID(GMALProxy);
GMALProxy(const char* type, const char* ip, int port);
gmVariable CallReturnVariable(const char* function, gmVariable arg);
float CallRetur... |
776597c727b5d5c4babb0c09f92f4460a7e06624 | b66367fda3db9089fd710be500fe40ef43062ae0 | /Source/Game.h | 767c9f5f5e760261c7ea4e05ed05ec94e13e6891 | [] | no_license | trevelyanuk/GGJ2013-Undying-Love | d788b1f4af2c1fe8155aa964caa3b609bb546525 | 6ec3b820a0d6c61a8c3b2d5501c946c294d4c0bf | refs/heads/master | 2021-01-12T17:26:39.243984 | 2017-06-16T12:48:31 | 2017-06-16T12:48:31 | 71,569,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,073 | h | Game.h | #pragma once
#include "Main.h"
//#include "Input.h"
#include "gl.h"
//#include "Audio.h"
//#include "boost/cstdint.hpp"
//#include <vector>
//#include <algorithm>
#include "Image.h"
#define x_player_fire "audio/x_dirtDig.wav"
class COverlay;
class CObject;
class CCamera;
class CGUI;
class CGame
{
public:
int ... |
c905d617286eece32a1498775075f3cbd121085b | d1811d8d37b7ca54731b797b032f346267066d99 | /src/ee/storage/persistenttable.h | 1c3f3bbcb818c91b9d2f4864dd5067229023a4c5 | [] | no_license | chenbk85/HStoreJDBC | b5db42423648db4446a65d733ce2acee79876cf5 | f05b056f65215ef33dc7ed5c567e880905fabc62 | refs/heads/master | 2021-01-16T20:23:46.705607 | 2015-03-16T02:57:54 | 2015-03-16T02:57:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,039 | h | persistenttable.h | /* This file is part of VoltDB.
* Copyright (C) 2008-2010 VoltDB Inc.
*
* This file contains original code and/or modifications of original code.
* Any modifications made by VoltDB Inc. are licensed under the following
* terms and conditions:
*
* VoltDB is free software: you can redistribute it and/or modify
* ... |
7df63b7d2854a66ce8da862fad37e6f24600a740 | f45caafc90b013ead12619bf5d3a4f1698db19a1 | /src/list_widget.h | 1206dc8c49df7daafb78ba99edce56dc39f58a73 | [] | no_license | gotoss08/engine | 71c59e1c9afac8a73bb06945718861cd9898ab3d | e71aa085a975247cc5e967e8a180cd959fb32480 | refs/heads/master | 2020-03-12T18:50:12.797184 | 2018-05-04T18:22:08 | 2018-05-04T18:22:08 | 130,770,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | h | list_widget.h | #ifndef LIST_WIDGET_H_
#define LIST_WIDGET_H_
#include <string>
#include <vector>
#include "libs/loguru.hpp"
#include "text_renderer.h"
struct ListWidgetItem {
std::string text;
void (*action)();
};
class ListWidget {
private:
TextRenderer* text_renderer;
int x;
int y;
std::vector<List... |
6c93f2df7409906304bce16b103644e855f4401c | 38310f59421bc65256bde942aad70108b6c0d411 | /Source/cmExtraCodeLiteGenerator2.cxx | afc1a89f158fd57db5019ec95a81b55da6075d7f | [
"BSD-3-Clause"
] | permissive | pbondo/CMake | 7eb2882059e3440e8d486aa6a13d0f0aa9cd4cba | e2cca3e6fbecb586c396fdd64b14cd9282ed5f6f | refs/heads/master | 2021-07-25T03:52:28.007769 | 2021-02-13T17:55:12 | 2021-02-13T17:55:12 | 8,237,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,091 | cxx | cmExtraCodeLiteGenerator2.cxx | /*============================================================================
CMake - Cross Platform Makefile Generator
Copyright 2004-2009 Kitware, Inc.
Copyright 2004 Alexander Neundorf (neundorf@kde.org)
Copyright 2012-2020 Poul Bondo (poul.bondo@gmail.com)
Distributed under the OSI-approved BSD License ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.