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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5e59ebf9917fe6012e14846dacdc56cab54c5c72 | 117c87fbd6645eff94b20091129edcda8c8e2793 | /Dash/Dash.Shared/Engine/Curves/Curve.hpp | dc62258a7923e5642ef126eed8b58ca78e7c5902 | [] | no_license | cobalthex/dxgame | ab8b9f512062f68d98b49f91b128c4a150514d42 | 59f81dba32b3d63c0eb79dd7779f33bcf9f7aaf3 | refs/heads/master | 2021-01-18T20:32:37.215859 | 2015-12-20T20:13:16 | 2015-12-20T20:13:16 | 29,381,110 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | hpp | #pragma once
#include "Pch.hpp"
enum class CurveContinuity
{
Smooth,
Step
};
enum class CurveTangent
{
Flat,
Linear,
Smooth
};
enum class CurveLoopType
{
Constant, //The Curve will evaluate to its first key for positions before the first point in the Curve and to the last key for positions after the last point
... | [
"cobalthex@live.com"
] | cobalthex@live.com |
d57fa4a85daec52dfd136533223d8b256dcf01d8 | 4531d7a2f149bca1e3c04c10b1b8eeb993a95dfe | /constant/turbulenceProperties | 03bd6f0368e0dfb4ff7cecbd91a712f0044b4069 | [] | no_license | roryh2703/cylinder_dfsem | ea39345212073ac56e03a5b8bf138aa19e82beb5 | 24171d2e131ad521bfc5ebacd4cbc35d778fb450 | refs/heads/master | 2021-08-29T04:43:08.571308 | 2017-12-13T12:08:59 | 2017-12-13T12:08:59 | 114,110,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,112 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
... | [
"scrh@comp-pc3240.leeds.ac.uk"
] | scrh@comp-pc3240.leeds.ac.uk | |
39e6683af0eb381b1ab488d9cfbfd43c6e172d03 | 99ed5156c9b83d22dcd7c8a29937825694f4f36d | /dll/ALL/Demo示例/1-MFC综合示例(人脸库、人脸底图)/Config/StoragePathSet.h | d30c1feac29f99bd7456a6ccb7e928d37fb8e077 | [
"MIT"
] | permissive | zyx030613/algorithm_its | 73e862988f375a73e517db4f39b8f9005a819609 | eae3628a498d2bd9d61487b53b9cdde23b99e314 | refs/heads/master | 2020-04-25T07:53:45.586587 | 2019-12-03T06:37:26 | 2019-12-03T06:37:26 | 172,627,700 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 950 | h | #ifndef _STORAGE_PATH_SET_H_
#define _STORAGE_PATH_SET_H_
#include "../BasePage.h"
#include "afxwin.h"
// CLS_VideoEncodeSlicePage dialog
class CLS_StoragePathSetPage : public CLS_BasePage
{
DECLARE_DYNAMIC(CLS_StoragePathSetPage)
public:
CLS_StoragePathSetPage(CWnd* pParent = NULL); // standard constructor
vir... | [
"orchidaroma@126.com"
] | orchidaroma@126.com |
b845e64ab319a4873c7edfd01db62ba136eac441 | d17a8870ff8ac77b82d0d37e20c85b23aa29ca74 | /lite/backends/arm/math/fp16/conv5x5s1_depthwise_fp16.cc | 444922fda476428b30c26bac958a853357b9cf29 | [
"Apache-2.0"
] | permissive | PaddlePaddle/Paddle-Lite | 4ab49144073451d38da6f085a8c56822caecd5b2 | e241420f813bd91f5164f0d9ee0bc44166c0a172 | refs/heads/develop | 2023-09-02T05:28:14.017104 | 2023-09-01T10:32:39 | 2023-09-01T10:32:39 | 104,208,128 | 2,545 | 1,041 | Apache-2.0 | 2023-09-12T06:46:10 | 2017-09-20T11:41:42 | C++ | UTF-8 | C++ | false | false | 55,381 | cc | // Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | [
"noreply@github.com"
] | PaddlePaddle.noreply@github.com |
753511f1d353d36539cdd4d8ee5203ec10b8feec | 924fe517c9f14ea41e1e2a2adcfcd9c35b14c0ec | /rfidd.ino | 12a474a27f8d78f3dcdd7ff75f3b009dca487026 | [] | no_license | paultag/rfidd | 3d13d60d8f0729006a012f551b492937bf912b6a | 16618e0c9241a323d4435340755df2d6044a83a0 | refs/heads/master | 2021-01-02T23:13:16.155717 | 2015-01-03T20:23:15 | 2015-01-03T20:23:15 | 28,753,798 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,070 | ino | #include <SoftwareSerial.h>
#define RFID_START 0x0A
#define RFID_STOP 0x0D
#define RFID_ENABLE_PIN 3
#define RFID_DATA_PIN 6
#define RFID_DISABLE digitalWrite(RFID_ENABLE_PIN, HIGH)
#define RFID_ENABLE digitalWrite(RFID_ENABLE_PIN, LOW)
#define RFID_RESPONSE_LENGTH 11
SoftwareSerial sse... | [
"tag@pault.ag"
] | tag@pault.ag |
efd3426874b80e0b3cc9fd4d2b6f756016387567 | a7b11db7b7b9b9a4d329d9c6396753f31ad733fa | /DataStructuresAndAlgorithms/АВЛ.cpp | f9523d38ae5e7ac250870ad422d3ee5ba86f0649 | [] | no_license | DariaGal/UniversityLabs | 49ff258e906b0278009edeeada7d9567bd1d115a | f6e2d3d6970f520ac3100af4eff5145fb2f217da | refs/heads/master | 2020-08-05T14:31:32.302507 | 2019-10-03T19:59:32 | 2019-10-03T19:59:32 | 212,580,131 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 4,369 | cpp | #include <cstdio>
#include <cstdlib>
#include <conio.h>
#include <time.h>
int const n=100;
int A[n];
struct vertex
{
int data;
int Bal;
vertex *left;
vertex *right;
};
void Mass()
{
int i;
for(i=0;i<n;i++)
{
A[i]=rand()%100;
}
}
void LL(vertex *&p)
{
vertex *q;
q=p... | [
"noreply@github.com"
] | DariaGal.noreply@github.com |
fc31f95d5b2b74ac025621449bd6799a35cf930b | bf2869a0d080fa547c2557962659fa0822c4f6eb | /Bean/bean/env/native/pattern/PatternCompileExecutor.h | fd060c9ac65227ee00e0c6dd399bada26f6c2630 | [] | no_license | desktopgame/Bean | 966f8a148c94bb1035373a811c910e3f50f6d238 | 743904b5d61d4914536e5fbb678236199abe6f0b | refs/heads/master | 2021-09-26T08:43:48.247461 | 2017-11-11T06:22:01 | 2017-11-11T06:22:01 | 110,304,259 | 2 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 540 | h | #pragma once
#ifndef BEAN_ENV_NATIVE_PATTERN_PATTERNCOMPILEEXECUTOR_H
#define BEAN_ENV_NATIVE_PATTERN_PATTERNCOMPILEEXECUTOR_H
#include "../TypedNativeMethodExecutor.h"
class PatternCompileExecutor : public TypedNativeMethodExecutor {
public:
PatternCompileExecutor();
~PatternCompileExecutor();
// TypedNativeMethod... | [
"koya0306@outlook.jp"
] | koya0306@outlook.jp |
ce933f16d11a7b1aa693ada0d85d716c8b00a870 | 17d4334d169773d2e2608b5eb76110442741ae78 | /RF_CSP/Paillier/Paillier.h | 13334af57ec9558350f74e27469f77f764d90c7f | [] | no_license | Sprate/PTRF | 76d63459aa08096433f986c5b5a8e0fc0c9c7abe | 1eb3e430b014d09c59cb90c4b50ca26deca15a6a | refs/heads/master | 2023-05-02T00:47:55.798630 | 2021-03-18T08:57:12 | 2021-03-18T08:57:12 | 349,001,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | h | //
// Created by Administrator on 2019/11/25.
//
#ifndef RF_PAILLIER_H
#define RF_PAILLIER_H
#include <NTL/ZZ.h>
#include <NTL/ZZ_pXFactoring.h>
class Paillier {
public:
Paillier();
Paillier(const NTL::ZZ& modulus, const NTL::ZZ& lambda);
NTL::ZZ encrypt(const NTL::ZZ& message);
NTL::Z... | [
"qianhao1330@qq.com"
] | qianhao1330@qq.com |
dfc14f3d34a9c5b16a62b2dc350a14ceaec25fb2 | 2d664608c921ca02926f5d7a7ee045c08cd5cb3a | /ui/ozone/platform/x11/x11_native_display_delegate.cc | 2551b6ed3996e67ef90c0dc11ee3bdc21b0ccd6d | [
"BSD-3-Clause"
] | permissive | zhani/chromium | 158b371747fdefb9440d6889f58e84be7a8e3daf | 30667946ff7c8de70e79fa6e854c0e3c994640a2 | refs/heads/ozone-wayland-dev | 2023-03-16T19:47:09.382418 | 2018-10-02T07:56:36 | 2018-10-02T07:56:36 | 111,190,118 | 0 | 0 | null | 2017-11-18T08:44:44 | 2017-11-18T08:44:44 | null | UTF-8 | C++ | false | false | 3,110 | cc | // Copyright 2018 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 "ui/ozone/platform/x11/x11_native_display_delegate.h"
#include "ui/display/types/display_snapshot.h"
#include "ui/display/types/native_display_o... | [
"msisov@igalia.com"
] | msisov@igalia.com |
e875b5f07bf7d76fdb543fef7955f13d053a1b0d | 08ec866f78484b951e80f4444dead0e150d61b9f | /android/external/pdfium/fpdfsdk/src/fpdf_dataavail.cpp | f31685f6d8083f0f562f6b7036e85e3710077df5 | [
"BSD-3-Clause"
] | permissive | BPI-SINOVOIP/BPI-A83T-Android6 | c7e2fbecb8e50f6cdc3f006d991c783452411258 | e0b8640e89e60371b64f765228b5ee1c35ebd705 | refs/heads/master | 2023-05-08T14:19:15.533806 | 2018-07-04T07:18:58 | 2018-07-04T07:18:58 | 112,411,954 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,141 | cpp | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "../../public/fpdf_dataavail.h"
#include "../include/fsdk_define.h"
... | [
"Justin"
] | Justin |
a804da0dfa8ee64cc6b7551ae36334488160f713 | 262a0831e1ab459cddd83e3d63bfb13ba6c61e19 | /mcmf_dfs.cpp | 7f1b3f1e4dbeb2a0850827195a5c3cd7dbbb5b2e | [
"Unlicense"
] | permissive | nibtehaz/snippets | bba616eb30baa5cae4669e1d9a6f1bf78b36868c | 07067a12d94391972416ef8df495de728e54fb22 | refs/heads/master | 2021-06-05T01:31:41.342491 | 2016-10-20T19:47:30 | 2016-10-20T19:47:30 | 71,499,828 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,547 | cpp | // Min-cost max-flow (uses DFS)
//
// Given a directed weighted graph, source, and sink, computes the minimum cost
// of the maximum flow from source to sink.
// This version uses DFS to find shortest paths and gives good performance on
// very "shallow" graphs: graphs which have very short paths between source
// and ... | [
"stjepang@gmail.com"
] | stjepang@gmail.com |
5fbc49bc3e2218e2a7e6776a33a8a245f94b02e5 | 171b27ba265922de7836df0ac14db9ac1377153a | /include/eve/module/real/math/function/diff/generic/asech.hpp | 30aa53fc559dc62e4f80f8a5dbcc8f524dfbd882 | [
"MIT"
] | permissive | JPenuchot/eve | 30bb84af4bfb4763910fab96f117931343beb12b | aeb09001cd6b7d288914635cb7bae66a98687972 | refs/heads/main | 2023-08-21T21:03:07.469433 | 2021-10-16T19:36:50 | 2021-10-16T19:36:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | hpp | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | [
"noreply@github.com"
] | JPenuchot.noreply@github.com |
f476f65fb79b9dd97d2e6b375ad4618d0dece4db | 7cfcc43d1eb330f56a75b9ecc76f1aa975f9a225 | /algorithmStudy/1849_순열.cpp | 67382c0d536b77f7fe4600135e20026fe096632f | [] | no_license | enan501/Algorithm-study | e25f35ff6fedb7e46b154326e4145ce0948f4f5d | f8b6380b530ee08404e01b050543c81f2958169e | refs/heads/master | 2021-07-25T02:08:11.805891 | 2021-07-02T05:35:27 | 2021-07-02T05:35:27 | 162,815,602 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 388 | cpp | #include <iostream>
#include <vector>
using namespace std;
int n, tmp, arr[100000];
vector<int*> parr;
int main(void)
{
ios_base::sync_with_stdio(false);
cin >> n;
for (int i = 0; i < n; i++)
parr.push_back(&arr[i]);
for (int i = 1; i <= n; i++)
{
cin >> tmp;
*parr[tmp] = i;
parr.erase(parr.begin()+tmp);
... | [
"hant2258@gmail.com"
] | hant2258@gmail.com |
974d1fedd3d47b4e9c3300af6eb2f76ba38946a7 | 31c4304ab376fd346edbfc96e068866cf583f121 | /half array.cpp | 0da25286e86935646a4934c1e04b5f3dc96b0289 | [] | no_license | zubaer0126/code-in-c | bffbfbc27f41cd09664aeb2c298a1f3d4969b278 | 01ffecb20c087f86449dd5aae680d1c53c167a80 | refs/heads/master | 2022-08-05T01:23:37.037681 | 2020-05-27T22:13:41 | 2020-05-27T22:13:41 | 257,738,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | cpp | #include<iostream>
using namespace std;
int main()
{
int n, i, a[10], temp ;
cin>>n ;
for(i=0 ; i<n ; i++)
{
cin>>a[i] ;
}
for(i=0 ; i<n/2 ; i++)
{
cout<<a[i]<<" ";
temp= i ;
}
cout<<"\n" ;
for(i=temp+1 ; i<n ; i++)
{
... | [
"noreply@github.com"
] | zubaer0126.noreply@github.com |
4e883e0fb9f77f0f50f4b45e28559c16b49145f6 | 22e9144e9ca00d73e9a9d9e958fe1f04f511f9dd | /include/dll/trainer/dbn_trainer.hpp | 1ff264da9c51fe7c236f7696cb6068f773f75e32 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | acknowledge/dll | e378c8d960df36e27b0f50a0d261bc6469cb80ad | 6ab90077bbfc93a4089c5a906dda039575fcc446 | refs/heads/master | 2021-01-12T05:34:23.360832 | 2016-12-22T09:58:06 | 2016-12-22T09:58:06 | 77,131,064 | 0 | 0 | null | 2016-12-22T09:22:35 | 2016-12-22T09:22:35 | null | UTF-8 | C++ | false | false | 12,343 | hpp | //=======================================================================
// Copyright (c) 2014-2016 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================================... | [
"baptiste.wicht@gmail.com"
] | baptiste.wicht@gmail.com |
58cb17bbd09a2e1e769a555ca8674b4346860746 | 40f6f140567a45f594991602c20d02ffa602206c | /halfnetwork/HalfNetwork/ACE_wrappers/ace/ATM_Connector.cpp | 746cb910ca37cf6f430e89c43d589018714ae630 | [
"MIT"
] | permissive | sonyeo/com2us_cppNetStudy_work | 0f169c0dd66b81d4ab1ffcb3b27659c2d67a4ad7 | 992d4ecfe66b74e6547d108f570abb58c4294015 | refs/heads/master | 2020-12-13T05:50:58.021219 | 2019-10-29T05:53:29 | 2019-10-29T05:53:29 | 234,328,099 | 1 | 0 | MIT | 2020-01-16T13:38:16 | 2020-01-16T13:38:15 | null | UTF-8 | C++ | false | false | 4,824 | cpp | // ATM_Connector.cpp
// $Id: ATM_Connector.cpp 80826 2008-03-04 14:51:23Z wotte $
#include "ace/ATM_Connector.h"
#if defined (ACE_HAS_ATM)
#include "ace/Handle_Set.h"
ACE_RCSID(ace, ATM_Connector, "$Id: ATM_Connector.cpp 80826 2008-03-04 14:51:23Z wotte $")
#if !defined (__ACE_INLINE__)
#include "ace/ATM... | [
"jacking75@gmail.com"
] | jacking75@gmail.com |
5b3050d6114db03956931c02e6edd63620eabe9b | 1fbcb6cc6bade9a69d6b82a2a74dc962429f1e7d | /Timestamp/Timestamp.ino | c1c6b34f1c098a13c33ab752b8fa899fabfd705b | [] | no_license | life-with-iot/ARDUINO-PROJECTS | 805d1780e3624b241640bc6c9a4904a620e954ef | ec99a95d8bde9ba147284700e4b4770189880f19 | refs/heads/master | 2023-06-08T15:50:33.669184 | 2023-06-06T05:13:31 | 2023-06-06T05:13:31 | 277,988,550 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,541 | ino | //https://github.com/jumejume1/NodeMCU_ESP8266/blob/master/READ_TIME_FROM_INTERNET/READ_TIME_FROM_INTERNET.ino
#include <ESP8266WiFi.h>
#include <time.h>
const char* ssid = "RajeshRK";
const char* password = "1234567891";
int ledPin =LED_BUILTIN ;
int timezone = 19800;
int dst = 0;
void setup() {
... | [
"noreply@github.com"
] | life-with-iot.noreply@github.com |
52e9887e456ff345bdb9112997a16d7225de8b05 | 563a2449a24e2671b6bae280cef0da203f740a03 | /작업중/DXMain/PlaneMesh.cpp | 579e2ad6a9ecabb37fe3e6bbb70f9d974436f500 | [] | no_license | potris12/-GitTestProject | 534e06092d1c6451ca31b59db21b6d0e909fc168 | 7cc04cfdbd88ff1d1c379e7860cbcb46d890cebb | refs/heads/master | 2021-01-01T06:04:38.290574 | 2017-01-03T15:12:30 | 2017-01-03T15:12:30 | 77,925,573 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,359 | cpp | #include "stdafx.h"
#include "PlaneMesh.h"
/*정점의 색상을 무작위로(Random) 설정하기 위해 사용한다. 각 정점의 색상은 난수(Random Number)를 생성하여 지정한다.*/
#define RANDOM_COLOR XMFLOAT4(((rand() * 0xFFFFFF) / RAND_MAX),((rand() * 0xFFFFFF) / RAND_MAX),((rand() * 0xFFFFFF) / RAND_MAX),((rand() * 0xFFFFFF) / RAND_MAX))
#define WIDTH 1000
#define HEIGH... | [
"potri@DESKTOP-5MOCCNM"
] | potri@DESKTOP-5MOCCNM |
b8aadd8d734542f3e278a798d18d96d2ef9793d5 | 41479873a6de61badb5adef1811c0e86a07f7326 | /lr7++/List.h | ab3472582cf5c68fcc148928ca1f946099280315 | [] | no_license | denisero21/CPlusPlus_Labs | 2c5b6677ce6180fb7bde2bf269ffe8e163373d3d | cbb99f3dcc4f3680b2358a556413b0dfbadc0821 | refs/heads/main | 2023-06-16T05:18:05.975792 | 2021-07-08T11:51:06 | 2021-07-08T11:51:06 | 384,105,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,714 | h | //---------------------------------------------------------------------------
#ifndef ListH
#define ListH
#include<vcl.h>
class List {
private:
class node {
public:
node* pNext;
int data;
node(int data, node* pNext = nullptr)
{
this->data = data;
this->pNext = pNext;
}
};
node ... | [
"noreply@github.com"
] | denisero21.noreply@github.com |
0af9cc23f31c92a278edbb6e6a54ee8912d2845d | 76e3ffcd9c356dceb9208dc035173530e0d58c1e | /deps/anvil/src/wrappers/image.cpp | c492bff24d128c245b9496fab5f9d94f1e22bcf2 | [] | permissive | Euxiniar/LycanthEngine | 62913c4c279b403070a78fc47ef469b0901502b3 | d4c962ddbbb2123778dbb4e1e3104c86eb57f768 | refs/heads/master | 2020-03-07T22:20:18.128234 | 2018-11-02T12:51:55 | 2018-11-02T12:51:55 | 127,751,217 | 0 | 0 | MIT | 2018-11-02T12:51:56 | 2018-04-02T12:09:31 | C++ | UTF-8 | C++ | false | false | 124,153 | cpp | //
// Copyright (c) 2017-2018 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rig... | [
"charles.ago37@gmail.com"
] | charles.ago37@gmail.com |
670165307091fd05553f0049c5e9b43304113b01 | 83f6b6623dccad62ca373034505275c6203333dd | /gapii/cc/abort_exception.h | 7c7fb4c72e85fa93b8e182fcdf7d7ac1449e44d8 | [
"Apache-2.0"
] | permissive | google/gapid | 318be6c1e551d52d6a3d186ea432111d7c0166a0 | 15b44454df3a2469ee9ba42cb116d9b50786c7a4 | refs/heads/master | 2023-08-25T10:56:05.609259 | 2022-06-06T13:49:01 | 2022-06-06T13:49:01 | 81,937,787 | 2,268 | 377 | Apache-2.0 | 2023-04-22T20:06:17 | 2017-02-14T11:18:43 | Go | UTF-8 | C++ | false | false | 862 | h | /*
* Copyright (C) 2017 Google Inc.
*
* 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... | [
"bclayton@google.com"
] | bclayton@google.com |
fd4e3ba867c235387c7e23e342f492d231c15d32 | 50cc006bceb68d2d73b0fd3ff9a284c6f7f71f15 | /PAT-Basic/1035-pat.cpp | 79131bb2d7c219297e69fe4c01721dd1a7418627 | [] | no_license | weixusheng/Algorithm_Test | 7ce97815744a4e6e84924135be25d62e4604bece | d0eb776017b987ba3e0d2d91ab557c0d7b851bd1 | refs/heads/master | 2023-03-03T17:04:45.553723 | 2021-02-08T09:59:06 | 2021-02-08T09:59:06 | 249,350,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | cpp | #include<cstdio>
#include<algorithm>
using namespace std;
int main(){
int n;
scanf("%d",&n);
int a[n];
int b[n];
for(int i=0 ;i<n ;i++){
scanf("%d",&a[i]);
}
for(int i=0 ;i<n ;i++){
scanf("%d",&b[i]);
}
int i,j;
for(i=0 ;i<n-1 && b[i+1]>=b[i] ;i++); //i记录了第一个相同元素的位置
for(j=i+1 ;j<n && a[j]==b[j];j++); ... | [
"tronwei@163.com"
] | tronwei@163.com |
3cdef1ab42a4abbecf56f95412dc1d1208cffd79 | 7e5be101928eb7ea43bc1a335d3475536f8a5bb2 | /ACM - Online Contests/2017 Facebook Hacker Cup/Round 1/B.cpp | 878595b0f95b7b4c616d5b89be4cfb9dbbca9668 | [] | no_license | TaoSama/ICPC-Code-Library | f94d4df0786a8a1c175da02de0a3033f9bd103ec | ec80ec66a94a5ea1d560c54fe08be0ecfcfc025e | refs/heads/master | 2020-04-04T06:19:21.023777 | 2018-11-05T18:22:32 | 2018-11-05T18:22:32 | 54,618,194 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,246 | cpp | //
// Created by TaoSama on 2017-01-15
// Copyright (c) 2016 TaoSama. All rights reserved.
//
#pragma comment(linker, "/STACK:102400000,102400000")
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iomanip>
#include <iostream>
#i... | [
"lwt1367@gmail.com"
] | lwt1367@gmail.com |
09a65051531e430030d319b711b52ea4c0f517e2 | e75cf3fc4e6569583270ac0f3626453c464fe020 | /Android/第三方完整APP源码/mogutt/TTServer/cpp/src/route_server/RouteConn.h | 82c2ab8f02c37ce6b5a58fbeb16f8323b83d8b2a | [] | no_license | hailongfeng/zhishiku | c87742e8819c1a234f68f3be48108b244e8a265f | b62bb845a88248855d118bc571634cc94f34efcb | refs/heads/master | 2022-12-26T00:00:48.455098 | 2020-02-26T09:22:05 | 2020-02-26T09:22:05 | 133,133,919 | 1 | 9 | null | 2022-12-16T00:35:57 | 2018-05-12T09:56:41 | Java | UTF-8 | C++ | false | false | 1,426 | h | /*
* RouteConn.h
*
* Created on: 2013-7-4
* Author: ziteng@mogujie.com
*/
#ifndef ROUTECONN_H_
#define ROUTECONN_H_
#include "imconn.h"
class CRouteConn : public CImConn
{
public:
CRouteConn();
virtual ~CRouteConn();
virtual void Close();
virtual void OnConnect(net_handle_t handle);
virtual void On... | [
"no_1hailong@yeah.net"
] | no_1hailong@yeah.net |
c02918a39592ab58182dc25dce97b3805781ed1a | 1e506578383a9c018ccf992340f556090cf5cb87 | /IMU/VTK-6.2.0/Filters/Core/vtkPointDataToCellData.cxx | befd14d418c51b1b19f4f500788f25e698320fce | [
"MIT",
"BSD-3-Clause"
] | permissive | timkrentz/SunTracker | 387c69f4080441822c490fdccf5c850e64cb0ea7 | 9a189cc38f45e5fbc4e4c700d7295a871d022795 | refs/heads/master | 2020-12-14T09:50:34.216912 | 2015-07-17T17:06:36 | 2015-07-17T17:06:36 | 37,494,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,969 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkPointDataToCellData.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... | [
"tskrentz@gmail.com"
] | tskrentz@gmail.com |
23fb256d773412e8bea8174f61966452146412a1 | 628874c23f85e8c2f38a0d89dccd220fb4b5f3f5 | /plugin.cpp | 678dc0c204eb244cedf4057ed0f15160c688a5e8 | [] | no_license | h4ck3rm1k3/gcc-introspector-plugin | 1efde10ede8b180003b7b83b94a9d20bf4b00b9f | 7615d7cc7568ebb091b53690dcee302901533ff3 | refs/heads/master | 2021-03-12T23:20:37.947530 | 2012-03-11T15:40:06 | 2012-03-11T15:40:06 | 3,523,008 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,506 | cpp | #include <stdio.h>
//#include "gcc-plugin.h"
#include "gcc-plugin.h"
#include "tree.h"
#include "plugin-version.h"
#include "cp/cp-tree.h"
#include "ggc.h"
#define DEFTREECODE(SYM, NAME, TYPE, LENGTH) TYPE,
#define END_OF_BASE_TREE_CODES
const enum tree_code_class tree_code_type[] = {
#include "all-tree.def"
};
stat... | [
"JamesMikeDuPont@googlemail.com"
] | JamesMikeDuPont@googlemail.com |
b81b6648cc9a5284481557de0c06551cb49970c6 | 630a68871d4cdcc9dbc1f8ac8b44f579ff994ecf | /myodd/boost/libs/numeric/odeint/test/runge_kutta_concepts.cpp | a16b04fda46a6db0e7c575e9542d1643219595d1 | [
"BSL-1.0",
"MIT"
] | permissive | FFMG/myoddweb.piger | b56b3529346d9a1ed23034098356ea420c04929d | 6f5a183940661bd7457e6a497fd39509e186cbf5 | refs/heads/master | 2023-01-09T12:45:27.156140 | 2022-12-31T12:40:31 | 2022-12-31T12:40:31 | 52,210,495 | 19 | 2 | MIT | 2022-12-31T12:40:32 | 2016-02-21T14:31:50 | C++ | UTF-8 | C++ | false | false | 6,725 | cpp | /*
[auto_generated]
libs/numeric/odeint/test/runge_kutta_concepts.cpp
[begin_description]
This file tests the Stepper concepts of odeint with all Runge-Kutta steppers. It's one of the main tests
of odeint.
[end_description]
Copyright 2012 Karsten Ahnert
Copyright 2012-2013 Mario Mulansky
Distributed under t... | [
"github@myoddweb.com"
] | github@myoddweb.com |
9e0da6466559353aba2429844a23798da1ed4513 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14567/function14567_schedule_7/function14567_schedule_7_wrapper.cpp | 705771acd3e77c0a4fbb0a6e7f34237af091f5b2 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,135 | cpp | #include "Halide.h"
#include "function14567_schedule_7_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(128);
Halide::Buffer<int32_t> buf01(1024,... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
9d6f7392128db5ce9ceb6b837fd312cf16a5a7c9 | 888ebd5b68e410b9a1792ae9893b0f726a8d9245 | /.dummycode/nfa_generic.h | baab4a10a60e678f5ae800f42ac4b8ad2e767381 | [] | no_license | hirenchalodiya1/compiler-algorithms | 82b045056e85d4175c2dfbe1d4719174fedca946 | c1731375f6219a83b401f7d9b566a4a5b095c305 | refs/heads/master | 2020-07-27T12:34:20.853149 | 2020-01-22T21:54:23 | 2020-01-22T21:54:23 | 209,091,224 | 0 | 0 | null | 2020-01-22T21:54:25 | 2019-09-17T15:30:54 | C++ | UTF-8 | C++ | false | false | 9,294 | h | //
// Created by hiren on 26/09/19.
//
#ifndef COMPILER_ALGORITHMS_NFA_H
#define COMPILER_ALGORITHMS_NFA_H
#include <string>
#include <set>
#include <map>
#include <iostream>
#include <sstream>
#include <limits>
#include <stack>
#include <utility>
#include "../../libs/prettyprint/include/print.h"
template <class STA... | [
"chalodiya.1@iitj.ac.in"
] | chalodiya.1@iitj.ac.in |
133fb85dddaf58f83c0baf682a757fe9a50b0ecf | 27698cb6fc1a958c772f3439166b8f109ac27e4d | /support/digraph.cpp | db8e0f618fc940456b1e61e9a10c18286b92e27f | [] | no_license | gxhen/WirelessModelCPP | 321177b3dfa736ae1289a48c12e3c04fbe6749f6 | 67983fdebfe24710db023711d0fff58b49a4dc7d | refs/heads/master | 2023-05-29T04:57:23.448902 | 2015-09-19T18:28:03 | 2015-09-19T18:28:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,461 | cpp | //
// File = digraph.cpp
//
#include <stdlib.h>
#include <fstream>
#include "digraph.h"
#ifdef _DEBUG
extern std::ofstream *DebugFile;
#endif
//===============================================
DirectedGraph::DirectedGraph( void )
{
Vertex_List = new std::vector<obj_id_type>;
Edge_List = new std::... | [
"410090357@qq.com"
] | 410090357@qq.com |
392c54868240ca0e739a6b16238ad720eb84d701 | 392a5f46c62500b90d37f7937ce3239561728a9f | /BaseLib_src/SpSymMgr/FillCircleElem.cpp | 4b66f565cba0ee2b4d5fc0c7f7db6ee6f6f29d4d | [] | no_license | wangxiang5/DYM | 554dc052e61c17d3b4bfdeea7bae404e12997596 | 823d6731a16f7bf4c6d43728c8903514da31b1a1 | refs/heads/master | 2020-04-06T14:14:07.376918 | 2019-03-21T02:22:19 | 2019-03-21T02:22:19 | 157,533,033 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,812 | cpp | #include "stdafx.h"
#include "FillCircleElem.h"
CFillCircleElem::CFillCircleElem(void)
{
m_nElemType = MAP_etFillCircle;
m_pFill = NULL;
}
CFillCircleElem::CFillCircleElem(double fx, double fy, double fRadius)
{
m_nElemType = MAP_etFillCircle;
m_pFill = NULL;
SetPtXY(fx, fy);
m_fRadius = fRadius;
}
CFillCircl... | [
"mld@whu.edu.cn"
] | mld@whu.edu.cn |
533d9b7b3265f607eb1eecd474f0d32b6ffa56ab | 3cc724e49843928f6e0886ca99110ce87b806b9c | /capdAux/include/capd/auxil/minmax.h | 391794657aea12caee8e895a949b2af914c84d38 | [] | no_license | dreal-deps/capdDynSys-3.0 | ec6245d470c40b74eaafeae14cac28d985eb8c4f | 1d02413c10be5354e5c81d2533d0fde89243d455 | refs/heads/master | 2021-01-10T20:20:12.351964 | 2014-06-27T21:27:52 | 2014-06-27T21:27:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,805 | h | /// @addtogroup capd
/// @{
/////////////////////////////////////////////////////////////////////////////
/// @file minmax.h
///
/// @author The CAPD Group
/////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2000-2005 by the CAPD Group.
//
// This file constitutes a part of ... | [
"soonhok@cs.cmu.edu"
] | soonhok@cs.cmu.edu |
9a57b102645470fca35d045c2336c894904cdffd | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/make/old_hunk_774.cpp | 88289e2357eb0ed9e166f95252443fa0c0e6ea09 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | cpp | /* Get a reference for this pattern-specific variable struct. */
p = create_pattern_var (name, percent);
p->variable.fileinfo = *flocp;
v = parse_variable_definition (&p->variable, defn);
v->value = xstrdup (v->value);
if (!v)
error (flocp, _("Mal... | [
"993273596@qq.com"
] | 993273596@qq.com |
354c2a5586d80d3e2de66d137fca5a91f41f9187 | 60a1869b69df6ffc89c6a1fe5646199d923a7863 | /cmdline/src/option.cpp | d6ec3c071a812aeebbcc8cfcc6e0f71f8fdd33e1 | [
"MIT"
] | permissive | lineCode/XamlCpp | 7331bfc3287c4bd22c03158fe72b5d074a416a0f | 2e1402a9c1708ca7f151a7f2608c02ecff5472a8 | refs/heads/master | 2022-07-24T21:40:51.824309 | 2020-05-21T06:45:28 | 2020-05-21T06:45:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,113 | cpp | #include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index_container.hpp>
#include <sf/sformat.hpp>
#include <xaml/cmdline/option.h>
#include <xaml/internal/stream.hpp>
#include <xaml/map.h>
using namespace std;
using namespace boost::multi_index;
struct option_e... | [
"Strawberry_Str@hotmail.com"
] | Strawberry_Str@hotmail.com |
663798ddfb7217655d386173da7d59d357bb653c | 439e969aeb8376ae9446c13b672df62d99695da7 | /Program/SnowDrop/Classes/Model/Character/GimmickCharacter/GimmickCharacter.cpp | ea2a9b2ec04ae26332c2ef3ef6b808c85d0bb904 | [] | no_license | KitchenKnife/SDP | 86c55c35f86c4875cf09c233df4d84299d2f8b56 | 9d4e4559feec1ab79d6f5e4207d3aa0e643a648d | refs/heads/master | 2021-01-12T09:07:13.914330 | 2016-12-19T16:30:43 | 2016-12-19T16:30:43 | 76,766,191 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,728 | cpp | //========================
// 追加のインクルードはここから
//========================
#include "GimmickCharacter.h"
#include "Lib/Input/InputManager.h"
#include "Model/Map/Map.h"
//================================================
// ギミックキャラクターのメンバ関数のコードの追加はここから
//================================================
//コンストラクタ
CGimmick... | [
"shinya.ueba@gmail.com"
] | shinya.ueba@gmail.com |
6d91f01491aa08bc9aaa0b265cd4bcfd9cb201d7 | 8b42d17832e469e75c58ce73fb2cd65cac562614 | /Training/1014/L/1.cpp | 97a2ddd1aa999d84a86e37b5f1906452f20dee33 | [] | no_license | wu-qing-157/Aerial-Ace | c7948a6fb683cabc9b5258f2c35d1a36ee90880c | a0ac172dffae0edf92d427d70989ba016e6944d4 | refs/heads/master | 2020-06-20T06:03:21.143666 | 2019-11-30T14:15:48 | 2019-11-30T14:15:48 | 197,018,034 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | cpp | #include <cstdint>
#include <cstdio>
int f(int64_t a, int64_t b, int64_t c, int64_t n) {
if (a == 0) {
return b / c & (n + 1) & 1;
} else if (a >= c || b >= c) {
return f(a % c, b % c, c, n) ^ (a / c & 1 & (n & 1 ? n & (n + 1) / 2 : n / 2 & (n + 1))) ^ (n + 1 & b / c & 1);
} else {
... | [
"wuqing157@gmail.com"
] | wuqing157@gmail.com |
ec87eeab346f8b1a829d07e41ef82341ac0030b5 | c2af7288d1eff2dc970cf99316ac1d58bea37f92 | /SP4/SP4/UIButtonCircle.cpp | 56663a56b9baa4443301f73a8f1c17263d12e0db | [] | no_license | StudioProject4/SP4 | bf0ec9c125c30763089219f7c217f50c4cc8d32f | 70716dc0974bda1540bb61c4e78978f15ca14c2a | refs/heads/master | 2020-05-18T22:28:26.003168 | 2015-03-05T05:15:42 | 2015-03-05T05:15:42 | 30,849,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,347 | cpp | #include "UIButtonCircle.h"
#include "Mouse.h"
CUIButtonCircle::CUIButtonCircle(void)
:radius(1.f)
{
name = "circle button";
}
CUIButtonCircle::~CUIButtonCircle(void)
{
}
bool CUIButtonCircle::Update()
{
if(active)
{
ownTexture.LiveOn();
}
return true;
}
bool CUIButtonCircle::Render()
{
if(active)
{
... | [
"pang_kee_yang@hotmail.com"
] | pang_kee_yang@hotmail.com |
2f119e00a28456ba1a95af8a9e5769a8542d9c72 | db37add120116d4d9083de6ab015107a0ec10dfd | /robot_base/src/robot_base.cpp | 628f92423412d606c5b4ce01bc973be4b6ef6a93 | [] | no_license | Jarrett-li-china/RobotTeam | 2f444babcbd1a0d0cd8389ddc2a98c8ff1afb98e | 70449458bdc938efeb8dc4164fbb0119fda48504 | refs/heads/master | 2021-07-07T06:59:21.797544 | 2020-11-22T02:57:58 | 2020-11-22T02:57:58 | 204,603,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,168 | cpp | #include "ros/ros.h"
#include "base_manager.h"
#include <stdlib.h>
#include <geometry_msgs/Twist.h>
#include <tf/transform_broadcaster.h>
#include <nav_msgs/Odometry.h>
class Robot_Con{
private:
RobotManager *manager;
void callBack(const geometry_msgs::Twist &twist);
ros::NodeHandle m_handle;
ros::NodeHandle m_p... | [
"714058596@qq.com"
] | 714058596@qq.com |
2c6bc4a4424b6778c18cfb97454e515b5d206636 | 5b1dd5d3cc755696c75a423da841daf2aa39afb5 | /aliyun-api-ram/2015-05-01/src/ali_ram_get_policy.cc | 1a63e4cd74256c5b09156529e83a448e9aa26791 | [
"Apache-2.0"
] | permissive | aliyun-beta/aliyun-openapi-cpp-sdk | 1c61ffd2f0f85fb149ba9941c77e193f5db4d364 | 5e708130870a27e0c749777118f9e26ace96e7d9 | refs/heads/master | 2016-08-12T06:21:57.634675 | 2015-12-15T08:14:59 | 2015-12-15T08:14:59 | 47,530,214 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,964 | cc | #include <stdio.h>
#include "ali_api_core.h"
#include "ali_string_utils.h"
#include "ali_ram.h"
#include "json/value.h"
#include "json/reader.h"
using namespace aliyun;
namespace {
void Json2Type(const Json::Value& value, std::string* item);
void Json2Type(const Json::Value& value, RamGetPolicyPolicyType* ite... | [
"zcy421593@126.com"
] | zcy421593@126.com |
7e93dc146aeff94911e17e75ec0051d2eccc7f37 | e601871a96b257ec79790a6ea82702879cef9800 | /base/apple/scoped_typeref.h | 69538f56dd63dc81c6a60528b0a305247d3bcc16 | [
"BSD-3-Clause"
] | permissive | chromium/mini_chromium | 2ec1d196d083ad47a36f85e5287f1443db3b0463 | 0c540fd5462a266277e86fa32a230cad4a859037 | refs/heads/main | 2023-08-23T21:08:20.488921 | 2023-08-21T19:57:27 | 2023-08-21T20:00:21 | 90,301,460 | 236 | 74 | BSD-3-Clause | 2023-09-07T13:22:41 | 2017-05-04T19:20:57 | C++ | UTF-8 | C++ | false | false | 2,117 | h | // Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MINI_CHROMIUM_BASE_APPLE_SCOPED_TYPEREF_H_
#define MINI_CHROMIUM_BASE_APPLE_SCOPED_TYPEREF_H_
#include "base/logging.h"
#include "base/memory/scoped_policy.h"
namespa... | [
"mark@chromium.org"
] | mark@chromium.org |
fba4c2a2210e624e61552614d4da1926a1ce458b | 497c252f194399db10c8d4ef38b557fa3dccc8db | /LeetCode/max-consecutive-ones.cpp | 1336d728d0a0109835c12202d351e1a9389f7266 | [] | no_license | minaamfasihi/competitive-programming | 75d2f1bd3bf06acd282f654ec5daa97eca305628 | f5dab4881d8b6052e86721790a1c9ba47c45d366 | refs/heads/master | 2021-06-07T16:49:09.746172 | 2020-06-20T19:16:26 | 2020-06-20T19:16:26 | 105,802,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | cpp | int findMaxConsecutiveOnes(vector<int>& nums) {
stack<int> s;
int count = 0;
for (int i = 0; i < nums.size(); i++) {
if (nums[i] == 1) count++;
else {
s.push(count);
count = 0;
}
}
if (count > 0) s.push(count);
int max = 0;
while (!s.empty())... | [
"noreply@github.com"
] | minaamfasihi.noreply@github.com |
9b4daa2c97c0f3858d26e0ad982dea3316a8a9ce | 7989e1cecf800090ee83c9a8ed63391beba85007 | /2D_Portfolio_HYH/CScrollBg.cpp | 09b857cfa25c6a8e6e82b1972417bd31e1127971 | [] | no_license | heemang2001/2D_Portfolio_HYH | 725338d022b09685c4d762c3a12b9c9ea4c8e85c | 55ce4ed9e9aef54c3aaa145f33d31c3c16bc054b | refs/heads/master | 2023-04-13T06:08:07.244848 | 2021-04-19T08:53:19 | 2021-04-19T08:53:19 | 359,390,921 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,798 | cpp | #include "CScrollBg.h"
//#include "olcPixelGameEngine.h"
void CScrollBg::CreateR(float tScrollSpeed)
{
mpSpriteA = new olc::Sprite("resources/back01.png");
mpSpriteB = new olc::Sprite("resources/back01.png");
//
mA_Y = 0.0f;
mB_Y = -800.0f;
mHeight = 800.0f;
mScrollSpeed = tScrollSpeed;
}
void CScrollBg::D... | [
"babypooh2001@naver.com"
] | babypooh2001@naver.com |
96f4c1f6a989e3613a9e0c29d3e6f89021b0ca2f | 887f3a72757ff8f691c1481618944b727d4d9ff5 | /gears/base/ie/pe_image.h | 70bdc6f23288a43f288b45e12682b6cb8049bd83 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | zied-ellouze/gears | 329f754f7f9e9baa3afbbd652e7893a82b5013d1 | d3da1ed772ed5ae9b82f46f9ecafeb67070d6899 | refs/heads/master | 2020-04-05T08:27:05.806590 | 2015-09-03T13:07:39 | 2015-09-03T13:07:39 | 41,813,794 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,818 | h | // Copyright 2009, Google Inc.
//
// 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 and the following disclai... | [
"gears.daemon@fe895e04-df30-0410-9975-d76d301b4276"
] | gears.daemon@fe895e04-df30-0410-9975-d76d301b4276 |
2ba08a1ca622cc1a21ed3be66fffbce5950de1cc | 93343c49771b6e6f2952d03df7e62e6a4ea063bb | /HDOJ/3469_autoAC.cpp | e21e45e9b4fc3a1abad77bf1feba1cfa9d62bc19 | [] | no_license | Kiritow/OJ-Problems-Source | 5aab2c57ab5df01a520073462f5de48ad7cb5b22 | 1be36799dda7d0e60bd00448f3906b69e7c79b26 | refs/heads/master | 2022-10-21T08:55:45.581935 | 2022-09-24T06:13:47 | 2022-09-24T06:13:47 | 55,874,477 | 36 | 9 | null | 2018-07-07T00:03:15 | 2016-04-10T01:06:42 | C++ | UTF-8 | C++ | false | false | 338 | cpp | #include<stdio.h>
#include<stdlib.h>
int main()
{
int t, n, re, i;
scanf("%d", &t);
for(i=1; i<=t; i++)
{
scanf("%d", &n);
if(n==1)
re=1;
else if(n==2)
re=2;
else
re=2*n-4;
printf("Case %d: %d\n", i, re);
}
... | [
"noreply@github.com"
] | Kiritow.noreply@github.com |
383626390bf44c453bbf666b9cbe508e8cdf8fce | 764236bd2d3984c68661a299269b15f4afc5c49e | /zhttp/private/timerequesthandler.cpp | ad81b7a45242cb8b512b17d7c3d6bc2b808d3e3e | [] | no_license | tamvh/HomeBackend | 054ffef4ea41ad8a745d23ba274fc8ba5a6dae42 | f7187702816f0480f049d413a9c35d37293195df | refs/heads/master | 2020-12-24T09:55:10.030412 | 2016-11-10T06:39:17 | 2016-11-10T06:39:17 | 73,259,952 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | cpp | #include "timerequesthandler.h"
#include <Poco/Util/Application.h>
#include <Poco/Timestamp.h>
#include <Poco/DateTimeFormat.h>
#include <Poco/DateTimeFormatter.h>
using Poco::Net::HTTPRequestHandler;
using Poco::Net::HTTPServerRequest;
using Poco::Net::HTTPServerResponse;
using Poco::Util::Application;
using Poco::... | [
"huytamuit@gmail.com"
] | huytamuit@gmail.com |
cad82749dcaecf2c440ffdfaaed4d8acfb4a05e5 | 90bcfb2d56f04da17e3c70261edf33cf8c977b66 | /640/640.cpp | a3f0ce3e2c0d595fa914ec7ba991209740eae0a7 | [] | no_license | iqbalnaved/acm_uva_solutions | b4df2afaa4c30817a75d30bd4a51d4d55f017092 | ca5b450db27999baeed7f16754a6ab672d5678cb | refs/heads/master | 2020-12-02T06:26:43.722733 | 2017-07-14T15:16:22 | 2017-07-14T15:16:22 | 96,834,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include<stdio.h>
int main()
{
long num, i, j, k;
for(i = 1; i <= 100; i++)
{
num = i;
j = i;
while(j)
{
num += j % 10;
j = j / 10;
}
for(k = i+1; k < num; k++) printf("%ld\n", k);
}
return 0;
}
| [
"iqbalnaved@gmail.com"
] | iqbalnaved@gmail.com |
36fa2a813b2a81bd5e3030de003887b7f2affc67 | 2f30a76bc8e0badd50fab5461c7811545e6e3f1e | /folkraceteensy/steering.ino | f36bb358e1a15258486ef5769fcd391542ff5fad | [
"MIT"
] | permissive | NorbotNorway/FolkraceTeensy | bf066e0702779006631de56dd4cd1779940c8684 | a681673e9b852050ebaa5f9a5e8a57294509a7f4 | refs/heads/master | 2021-01-21T03:09:53.573321 | 2015-11-07T13:27:52 | 2015-11-07T13:27:52 | 43,172,109 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,450 | ino | /*
* Control the steering
* Frode Lillerud, NorBot, oct 2015
*/
/*
* Based on the sensorvalues, and current speed, calculate and set a new steering direction.
* If there is something close up front, then go to the side with furthest distance to object.
* If the speed is high, then just turn slightly. If speed is... | [
"frode@lillerud.no"
] | frode@lillerud.no |
7c5f30f45380d448e0f9f374b02c9a108fe628ca | feb8a44472202cd0a75ffc129e83f1728184e714 | /src/accumulatorcheckpoints.json.h | 99c205bebbe865967ea8eee00ef4f49123f35fbf | [
"MIT"
] | permissive | bitalley/BitAlley-Core | 9ec7fe02a3f5ca9aa31d7b752fce89ec0517ae57 | f92f5366988553cba423b6f534206fef41b5b666 | refs/heads/master | 2020-03-25T08:27:04.591960 | 2018-12-30T20:04:08 | 2018-12-30T20:04:08 | 143,613,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 97,111 | h | // Copyright (c) 2018 The BACX developers
// Copyright (c) 2018 The BITALLEY developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BAC_ACCUMULATORCHECKPOINTS_JSON_H
#define BAC_ACCUMULATORCHECKPOINTS_JSON_H
#includ... | [
"noreply@github.com"
] | bitalley.noreply@github.com |
651684e9ffa582039091572029501227fc5c3d23 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/OpenMx/src/FellnerFitFunction.cpp | 097ca5d008ef55ba64650b20d7de48a73d11d44c | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,780 | cpp | /*
* Copyright 2015-2016 Joshua Nathaniel Pritikin and contributors
*
* 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 re... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
120a47fd502bb0736ca8e0b24a31e037e6fa1096 | ca84d7bb4450bf746931c269d1e99dccf2be85ed | /dev_info.cpp | e4d077461c8cf40bb223d46167f28adcb57d93a0 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | darkoppressor/scanner | a7caf4305b45fb6cce7b67627f1f460f8e59c76e | c174b95fd5afbf1b54673aad0d9da950727d348f | refs/heads/master | 2016-09-05T16:24:34.386166 | 2015-09-14T09:54:09 | 2015-09-14T09:54:09 | 42,384,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,163 | cpp | /* Copyright (c) 2012 Cheese and Bacon Games, LLC */
/* This file is licensed under the MIT License. */
/* See the file docs/LICENSE.txt for the full license text. */
#include "engine_interface.h"
#include "world.h"
#include "render.h"
using namespace std;
void Engine_Interface::render_dev_info(){
string msg="";... | [
"darkoppressor@gmail.com"
] | darkoppressor@gmail.com |
27783d4405924f43ee0ae62193847bf896638d05 | 0edbcda83b7a9542f15f706573a8e21da51f6020 | /private/shell/shell32/atldisp.h | aa49d01ae78b1d12fc4f081da6c79a52f1ca1ae8 | [] | no_license | yair-k/Win2000SRC | fe9f6f62e60e9bece135af15359bb80d3b65dc6a | fd809a81098565b33f52d0f65925159de8f4c337 | refs/heads/main | 2023-04-12T08:28:31.485426 | 2021-05-08T22:47:00 | 2021-05-08T22:47:00 | 365,623,923 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 8,191 | h | #ifndef __ATL_IDISPATCH_H__
#define __ATL_IDISPATCH_H__
#include "unicpp/stdafx.h"
extern LCID g_lcidLocale;
#pragma pack(push, _ATL_PACKING)
#ifndef ATL_NO_NAMESPACE
namespace ATL
{
#endif // ATL_NO_NAMESPACE
template <class T, const GUID* pclsid, const IID* piid, const GUID* plibid, WORD wMajor = 1, WORD wMin... | [
"ykorokhov@pace.ca"
] | ykorokhov@pace.ca |
7ebc696a88e983ca9b2262319197cd7c32ba0829 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/windows/advcore/duser/directui/engine/control/repeatbutton.cpp | 89b78fe0dc57959b595da6181462cd9fe8d33919 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,334 | cpp | /*
* RepeatButton
*/
#include "stdafx.h"
#include "control.h"
#include "duirepeatbutton.h"
#include "Behavior.h"
namespace DirectUI
{
// Inernal helper (defined in Button)
extern inline void _FireClickEvent(Button* peTarget, ClickInfo* pci);
////////////////////////////////////////////////////////
// Event type... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
ec6033c50784b9ecc1bd638ded63b7c5ed536f0d | d97ce6c9ba9cd8d679ba0aae2f6e2f705a813e5a | /Trunk/2019_Fall/Resources/Random/main.cpp | cf0d60b65991e9358a536e0b38c91b5c188dc876 | [] | no_license | Soto1999/3013-Algorithms | fdd54c3a1e25ce5af6b594603888af4f1d9184bb | b48dace9e68e8b98ba4f6ec22974e86e4b4ce26c | refs/heads/master | 2021-03-17T05:44:52.388201 | 2020-03-11T20:24:54 | 2020-03-11T20:24:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,834 | cpp | #include "termcolor.h" // color header file
#include <fstream> // file output
#include <iostream> // standard output
#include <map> // stl map
#include <stdlib.h> // used for windows system("cls"); // clear screen
#include <string>
#include <unistd.h> // used for Griffins macbook clear screen
#include... | [
"terry.griffin@mwsu.edu"
] | terry.griffin@mwsu.edu |
6b0022416f7bf1edccb3166783f0ce701cde9a1f | 2cbe5a3c876b2dfc1e3d3cfe94c986616f133639 | /SDK/SpvService/MainNetConfig.h | 213bf1e4c46c87a30cfe7588e819a8570c16e89c | [
"MIT"
] | permissive | chenyukaola/Elastos.ELA.SPV.Cpp | 803d028d311ba2193a5b5ccd684bb0112c676bfd | 57b5264d4eb259439dd85aefc0455389551ee3cf | refs/heads/master | 2021-06-27T22:42:18.211020 | 2021-02-19T03:41:44 | 2021-02-19T03:41:44 | 222,857,687 | 1 | 0 | MIT | 2019-11-20T05:26:13 | 2019-11-20T05:26:12 | null | UTF-8 | C++ | false | false | 11,351 | h | // Copyright (c) 2012-2019 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_MAINNET_H__
#define __ELASTOS_SDK_MAINNET_H__
#include <nlohmann/json.hpp>
namespace Elastos {
n... | [
"heroopan@gmail.com"
] | heroopan@gmail.com |
3f85e5940b10250cd9d62dc4227bbc050e20e1ae | a61da2b88aa65bfa8c8a71be65fd68164f6b84ce | /enemyatt.h | 74e5ca682f6885701856a722e5603d78757aef82 | [] | no_license | Ralnore/cpp-Cupehad | c42ab36443d1247026022580865d4bcd409634c8 | 7902e72c2235f39105703dba2ff09f07d7f61e7f | refs/heads/master | 2020-04-05T18:52:30.579849 | 2018-11-11T19:55:13 | 2018-11-11T19:55:13 | 157,115,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | h | #ifndef ENEMYATT_H
#define ENEMYATT_H
#include <QGraphicsRectItem>
#include <QObject>
class EnemyAtt: public QObject,public QGraphicsRectItem
{
Q_OBJECT
public:
EnemyAtt();
public slots:
void move();
};
#endif // ENEMYATT_H
| [
"gorn244@gmail.com"
] | gorn244@gmail.com |
94bbe517a23f736de0f25fafd266ae92612b9696 | 45364deefe009a0df9e745a4dd4b680dcedea42b | /SDK/FSD_Tutorial_Hint_BoscoAbility_classes.hpp | 9b05ccba1fbd20685e49763b8685062a656f2807 | [] | no_license | RussellJerome/DeepRockGalacticSDK | 5ae9b59c7324f2a97035f28545f92773526ed99e | f13d9d8879a645c3de89ad7dc6756f4a7a94607e | refs/heads/master | 2022-11-26T17:55:08.185666 | 2020-07-26T21:39:30 | 2020-07-26T21:39:30 | 277,796,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,605 | hpp | #pragma once
// DeepRockGalactic SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "FSD_Tutorial_Hint_BoscoAbility_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//-----------------------------------------------------------------------... | [
"darkmanvoo@gmail.com"
] | darkmanvoo@gmail.com |
7bc2b45662ab0db5129a7c6b769d7e72de8cccfd | 0233477eeb6d785b816ee017cf670e2830bdd209 | /SDK/SoT_BP_female_makeup_asian_04_Desc_classes.hpp | 652dc1fd9803c75db9a38c55430c9e03d1123e55 | [] | no_license | compy-art/SoT-SDK | a568d346de3771734d72463fc9ad159c1e1ad41f | 6eb86840a2147c657dcd7cff9af58b382e72c82a | refs/heads/master | 2020-04-17T02:33:02.207435 | 2019-01-13T20:55:42 | 2019-01-13T20:55:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | hpp | #pragma once
// Sea of Thieves (1.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_female_makeup_asian_04_Desc_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
815c5d0761c061b69c23f8a0d1a3fe29b7356812 | 4c7c50889ff34f6f6376f3b8c24a835fedab7c8a | /atcoder/arc082_d.cpp | 4b3e5ab586004707a22614a074e604b1bdcdc263 | [] | no_license | kojingharang/algorithm_contest | 590d4f2854a1bbed7d70ed16276bcc5e800b57a7 | 3578334ab590671d8cd9f8d97db6ceb3d7a5d3dc | refs/heads/master | 2021-01-16T23:11:50.808394 | 2020-08-19T03:45:36 | 2020-08-19T03:45:36 | 61,990,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,912 | cpp | #include <vector>
#include <map>
#include <set>
#include <stack>
#include <queue>
#include <algorithm>
#include <numeric>
#include <sstream>
#include <iostream>
#include <iomanip>
#define _USE_MATH_DEFINES
#include <cmath>
#include <climits>
#include <cstdlib>
#include <cstring>
#include <cfloat>
#include <cmath>
#incl... | [
"kojingharang@gmail.com"
] | kojingharang@gmail.com |
441cbdf1e17cc3ace85c9a646251c729e17bce40 | bae76888e633874c1278a43bb5773aae8201c44d | /CPSeis/spws_home/include/ipc/ipc_informer.hh | 44a33558e1aa065565c1824ae9cf9c72e6736eff | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Chen-Zhihui/SeismicPackage | a242f9324c92d03383b06f068c9d2f64a47c5c3f | 255d2311bdbbacad2cb19aa3b91ceb84a733a194 | refs/heads/master | 2020-08-16T05:28:19.283337 | 2016-11-25T02:24:14 | 2016-11-25T02:24:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,329 | hh | /*<license>
-------------------------------------------------------------------------------
Copyright (c) 2007 ConocoPhillips Company
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 with... | [
"Uqer@d-i89-169-66.student.eduroam.uq.edu.au"
] | Uqer@d-i89-169-66.student.eduroam.uq.edu.au |
e985bfd9a6d1b7ea75de58a426da69760ce3befe | 8d5ca7e9f9b1f8c1878298a9e6876a346a5db72f | /space_racers/original_version/sr_src/include/Game/Hud.h | dd337b9d4d0eb75ad622cddfd0f784802b037ff9 | [
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | fallahn/osgc | 102914dc740796cdc53cbc225038eee8695716ec | 8a2f7745bd767e68da2b0771ecf3e7d50e59e725 | refs/heads/master | 2021-06-20T11:33:04.473998 | 2021-02-11T13:16:53 | 2021-02-11T13:16:53 | 178,931,498 | 23 | 3 | null | 2020-04-21T10:39:17 | 2019-04-01T19:18:19 | C++ | UTF-8 | C++ | false | false | 6,154 | h | //***header for HUD item classes***//
#ifndef HUD_H_
#define HUD_H_
#include <Game/SharedData.h>
#include <SFML/Graphics/CircleShape.hpp>
#include <memory>
namespace Game
{
//-------------------------Manager--------------------------//
//manages all the active elements during game play
class HudManager : private... | [
"matty_styles@hotmail.com"
] | matty_styles@hotmail.com |
eca2958eed9d36842509e3afbe57ad201e5f6349 | b39c57a8c56e189ccbd9ce4cb874eb35d78c7dbe | /code/third/cpprestsdk/Release/libs/websocketpp/test/message_buffer/pool.cpp | f49d41320f6f9e3c1337abfd47d3f1c5b40da4ed | [
"MIT",
"Apache-2.0",
"Zlib",
"BSD-3-Clause"
] | permissive | CloudXNS/LDNS-Selector-Windows | 4d05ce8fbdb94c9352726b3032aacfeb42e0d729 | 5c5288f27ed28d63ceb19d5ef86808f9c3112aef | refs/heads/master | 2020-12-25T17:24:21.753591 | 2016-09-28T10:19:47 | 2016-09-28T10:19:47 | 58,096,984 | 8 | 6 | null | 2016-05-06T08:47:58 | 2016-05-05T02:04:07 | C++ | UTF-8 | C++ | false | false | 7,378 | cpp | /*
* Copyright (c) 2011, Peter Thorson. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list o... | [
"taobo@fastweb.com.cn"
] | taobo@fastweb.com.cn |
f65fb722a25ad6371dc1e67d582538492674b914 | 373d1aa02ae805d3304fcc81981e90edeb7ffa39 | /Library/Il2cppBuildCache/Android/armeabi-v7a/il2cppOutput/Il2CppGenericAdjustorThunkTable.cpp | 2486757cd7a4fa8c7dcc81b8618da577f73e8167 | [] | no_license | unae131/ARFaceTracking | 05a0c7cc6e66c239dd650b46f663d4fe99dbf5f5 | 8a617f4e09ed0fb698e3f840c56304c2bcf7825d | refs/heads/master | 2023-08-06T10:23:37.876642 | 2021-09-22T08:53:29 | 2021-09-22T08:53:29 | 409,128,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443,651 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
IL2CPP_EXTERN_C void AsyncTaskMethodBuilder_1_AwaitUnsafeOnCompleted_TisConfiguredTaskAwaiter_t286C97C0AF102C4C0BE55CE2025CC7BD1FB5C20C_TisU3CWaitUntilCountOrTimeoutAsyn... | [
"yjhyhw8998@gmail.com"
] | yjhyhw8998@gmail.com |
df246af1f3784f3519e8acfc8ad1d0ad5f7c2dac | c89c754f8ce01ab1dfc77e1da508bfd31dc34ae7 | /include/cg/tools.h | 898990e8902cfac8569c58b64ac075307ac8eb44 | [] | no_license | felipepiovezan/ine5420 | ef1d07fdcf2385b6870a99ef88952c29912aaa96 | 4bf1fc5c628fc544c8d5fbdf1f68a1cf5f109637 | refs/heads/master | 2020-04-14T13:32:45.648412 | 2015-05-27T23:18:07 | 2015-05-27T23:18:07 | 32,107,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | h | #ifndef CG_TOOLS_H_
#define CG_TOOLS_H_
#include "cg/Viewport.h"
namespace CG {
class Tool {
public:
virtual void init(double x, double y) {}
virtual void update(double x, double y) {}
virtual void end(double x, double y) {}
virtual void cancel(double x, double y) {}
};
/**
* The default tool. Used to mov... | [
"carlosb_bc@hotmail.com"
] | carlosb_bc@hotmail.com |
9a4538e0afaa70c0b37f395e1a690640d43adda6 | 12d2d105d55ac0061bbbd1a29122c165e79c4b0a | /EventsSet/src/EventsSetErrors.cpp | a59553455b955af09229ec4f8fb2aa596d1cd4d7 | [] | no_license | giulianoc/CatraLibraries | 75d3f22f7636ae001d4bd2cc4e83648664e0734e | 928730f656290b0f9907e7794935f96d2a895df1 | refs/heads/master | 2023-03-03T11:28:54.408320 | 2023-02-26T11:13:30 | 2023-02-26T11:13:30 | 29,320,791 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,810 | cpp | /*
Copyright (C) Giuliano Catrambone (giuliano.catrambone@catrasoftware.it)
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 2 of the License, or (at your option) any later
ve... | [
"giulianoc@catrasoftware.it"
] | giulianoc@catrasoftware.it |
44198fbc52c8772f33ee7e44097f83bd1cbd7de3 | 425386c14f9b576801e861d2d6a11bfb6b89b704 | /ConstructBinaryTreeFromPreorderAndInorderTraversal/buildTree_v2.cpp | a09fdd5810f465b05907b375b8ff36cdc150c410 | [] | no_license | tianyangche/leetcode-1 | e7323e2adcf4a6c74793b844a978a3ff3fd903b7 | c2d276c0777328381039633ebea5189fe5444169 | refs/heads/master | 2021-01-01T19:29:26.312637 | 2013-11-13T21:39:41 | 2013-11-13T21:39:41 | 16,220,915 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cpp | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
TreeNode *buildTree(vector<int> &preorder, vector<int> &inorder) {
if (preorder.empty() || inor... | [
"shuk.xie@gmail.com"
] | shuk.xie@gmail.com |
d2be4318397a6da8660680a2ab2986f569bd29dd | fab3558facbc6d6f5f9ffba1d99d33963914027f | /include/fcppt/assert/exception.hpp | 2a2dfab533ccc1ab83273180b29fe63d4a7bb11a | [] | no_license | pmiddend/sgedoxy | 315aa941979a26c6f840c6ce6b3765c78613593b | 00b8a4aaf97c2c927a008929fb4892a1729853d7 | refs/heads/master | 2021-01-20T04:32:43.027585 | 2011-10-28T17:30:23 | 2011-10-28T17:30:23 | 2,666,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | hpp | // Copyright Carl Philipp Reh 2009 - 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef FCPPT_ASSERT_EXCEPTION_HPP_INCLUDED
#define FCPPT_ASSERT_EXCEPTION_HPP_INCLUDED
#include ... | [
"pmidden@gmx.net"
] | pmidden@gmx.net |
9e132583804b498b8fd333131b612971e2b8363f | 17478d9298936093c31dc16c356fdbf5a9e5dd7f | /online-judge-solutions/LeetCode/1678.cpp | 639672503362c7877ba44f7d353aaa9a33cce58a | [] | no_license | lilberick/Competitive-programming | 5b381aa7cd7736e1040974cde302d0d50521fc9d | c0b160e4abbd2c6d459604b60b8fef5d97d8d576 | refs/heads/master | 2023-04-02T13:30:21.143442 | 2023-03-22T14:52:43 | 2023-03-22T14:52:43 | 137,540,270 | 2 | 1 | null | 2018-10-04T06:13:11 | 2018-06-15T23:39:21 | null | UTF-8 | C++ | false | false | 378 | cpp | //https://leetcode.com/problems/goal-parser-interpretation
//Lang : C++
//Time : 6 ms
//Memory : 7.7 MB
#include<iostream>
#include<regex>
using namespace std;
class Solution {
public:
string interpret(string command){
command=regex_replace(command,regex("\\(\\)"),"o");
command=regex_replace(command... | [
"lilberick@gmail.com"
] | lilberick@gmail.com |
47ce041039e2a3f330cbd9ad9e1eeb1133dd0a8f | e595d0b7c75ef8838120aa2cbe039797e153d057 | /Projekt/ProjektProzor.cpp | 7444e2756bec6d7c251d36fe9773cd865ebc74e8 | [] | no_license | elvispopovic/wxWidgets_Grafika | 0e5dec37b54ded2eabec61d61649850e59b23afb | 56d2a59f7c3d4b96e9ec323e9718a7cf3d9fbe6d | refs/heads/master | 2020-09-09T01:14:36.845599 | 2020-01-08T19:57:51 | 2020-01-08T19:57:51 | 221,299,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,893 | cpp | /***************************************************************
* Name: Projekt2Main.cpp
* Purpose: Code for Application Frame
* Author: EPC ()
* Created: 2019-11-06
* Copyright: EPC ()
* License:
**************************************************************/
#ifdef WX_PRECOMP
#include "wx_pch.h"
... | [
"elvis_popovic@yahoo.com"
] | elvis_popovic@yahoo.com |
f9ac45c2b8dc31bcbe2c9db4baf769981f78a609 | 074fffd46f75fe26356f47ff483bca57c18bd26b | /src/ip2rep.cpp | 8d1bcc2a363c38ee49fe85e2ec065a22f82cce51 | [
"MIT"
] | permissive | wonder2019WHU/IonOccAnalysis | a174a4d9cf290f948d50f85b2e1f37434bc2c99e | fa01720db64f4d83cf96ac1ca5cc529995610f12 | refs/heads/master | 2020-06-19T11:07:40.152601 | 2019-12-31T13:41:10 | 2019-12-31T13:41:10 | 196,687,213 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,397 | cpp | #include<getopt.h>
#include<iostream>
#include<unistd.h>
#include "IonPrf.h"
using namespace std;
int main(int argc, char* argv[]) {
int opt;
string argument;
IonIndex qc;
AziIndex msg;
qc.set_switch_all(false); qc.set_switch_invalid(true); qc.set_switch_qcfail(true);
bool is_dir = false, is_files = false;
stri... | [
"1109734874@qq.com"
] | 1109734874@qq.com |
28b0cf8b050aee3749f7f9c5ebee1ce1c1397a2c | d160bb839227b14bb25e6b1b70c8dffb8d270274 | /MCMS/Main/Processes/EndpointsSim/EndpointsSimLib/EpSimSipSubscription.h | 7cc4de5fdac35ca21c8da5fcab4d1d73e36107b4 | [] | no_license | somesh-ballia/mcms | 62a58baffee123a2af427b21fa7979beb1e39dd3 | 41aaa87d5f3b38bc186749861140fef464ddadd4 | refs/heads/master | 2020-12-02T22:04:46.442309 | 2017-07-03T06:02:21 | 2017-07-03T06:02:21 | 96,075,113 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,524 | h | //////////////////////////////////////////////////////////////////////
//
// EpSimSipSubscription.h: SIP subscriptions / notifications classes.
//
//////////////////////////////////////////////////////////////////////
#ifndef __EPSIMSIPSUBSCRIPTION_H__
#define __EPSIMSIPSUBSCRIPTION_H__
#include "PObject.h"
cons... | [
"somesh.ballia@gmail.com"
] | somesh.ballia@gmail.com |
97119ddccf011c4f9e4c7e4c73e315887beaa940 | 5a70a2e03a6b4c2e9f96e823220caf853988313e | /cpp/calc.cpp | 81234900a90cc82594d3e94e647b43c07382a7f8 | [] | no_license | amogil/icfpc2013 | eca3a69cd1451f8787b8bfbff581d08d0b5e2149 | d3453c419e974427fed5ac7d51218f805b14ba7e | refs/heads/master | 2016-09-05T19:05:07.265164 | 2013-08-13T20:51:35 | 2013-08-13T20:51:35 | 11,898,369 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,695 | cpp | #include <cstdio>
#include <cstring>
#include <vector>
#include <set>
#include <string>
#include <unordered_set>
#include "rand.h"
#include <openssl/md5.h>
#define clr(a) memset(a, 0, sizeof(a))
typedef unsigned long long ll;
const int zero = 0;
const int one = 1;
const int var = 2;
const int shl1 = 3;
const int shr1... | [
"stigius@gmail.com"
] | stigius@gmail.com |
fc57b2d82f844f5089726f576e59cc633ca3da4a | 266da33d23f48514a6bcc8aa1762341182e80b1e | /lab/lab7/lab7.cpp | 33457fcac4ed3f9d9027e1cd660ad9da87bc7d4f | [] | no_license | tkicks/comp215 | a8cfea532f5284b474fa5cc699b2107830d7e7f9 | 66313db615a122525df53d64dc43db03a6b9c9bc | refs/heads/master | 2021-01-12T13:49:20.848703 | 2014-12-11T00:36:24 | 2014-12-11T00:36:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,320 | cpp | /*
NOTE: Lines 74 and 75 are commented out. Uncomment one at a time. I don't think
I got the functions to work correctly, but I got them to go through each
vertex, so I threw in some cout statements to show where it's reaching.
Uncommenting both at once will produce too much output for a single run.
It's sort of... | [
"tkicks32@gmail.com"
] | tkicks32@gmail.com |
76c508159c3b40fa95e61ff64616390788dd861b | 46638c3f10f1793561acc3d0cfd6c266fb2f0ec2 | /MetaNN/model/param_initializer/gaussian_filler.h | 1e0bfe814deaa03fa153875220c7193e6780d450 | [] | no_license | Mintonmu/MetaNN | ab8dc12883b1d94636287fc36057ddea2b05a57d | 7a863189ae14e38b3bac4499a7b3da72f85dc793 | refs/heads/master | 2022-01-25T04:31:49.515247 | 2018-10-08T09:56:08 | 2018-10-08T09:56:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,007 | h | #pragma once
#include <random>
#include <stdexcept>
#include <type_traits>
#include <MetaNN/model/param_initializer/facilities/fill_with_spec_dist.h>
namespace MetaNN
{
template <typename TPolicyCont = PolicyContainer<>>
class GaussianFiller
{
using TRandomEngine = typename PolicySelect<InitPolicy, TPolicyCont>::... | [
"liweifriends@gmail.com"
] | liweifriends@gmail.com |
d6795bb79bb3b596256148b4ff650cec20dde5eb | 0cc5fc61e5c6f24062b61b93f8c81ccbcec1f78b | /Projects/CoX/Common/GameData/VisitLocation.h | 42e540b64909d87d31ebb60f9f08299d28ead821 | [
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Tristochi/Segs | d4259c95c599cd86e177db978308fd2b2aaa7ca9 | e7fb05fe1f763286adb116c787357f67387f3a7f | refs/heads/develop | 2020-05-16T08:15:26.195569 | 2019-04-22T17:48:52 | 2019-04-22T17:48:52 | 182,903,316 | 1 | 0 | BSD-3-Clause | 2019-04-23T02:01:38 | 2019-04-23T02:01:37 | null | UTF-8 | C++ | false | false | 770 | h | /*
* SEGS - Super Entity Game Server
* http://www.segs.io/
* Copyright (c) 2006 - 2019 SEGS Team (see AUTHORS.md)
* This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details.
*/
#pragma once
#include "CommonNetStructures.h"
#include "glm/vec3.hpp"
#include "cereal/cereal.h... | [
"paul@broxen.net"
] | paul@broxen.net |
b042c2b9bed94420933942542ecea8d2dedb7325 | 6d7152a034766ac8d1c08566faf3f2480d136940 | /trview.graphics/Device.h | 1c4411993a6ee50aab2ccfbf359335f57f0bac1e | [
"MIT"
] | permissive | sapper-trle/trview | 5afbe0b3f5a7691442ddc687e2b73e0b6ec8d0a2 | dc9f945355a5976f2a539316a5dbf8323bb75064 | refs/heads/master | 2020-12-03T01:29:10.337580 | 2020-04-18T07:29:15 | 2020-04-18T07:29:15 | 231,176,625 | 0 | 0 | MIT | 2020-01-01T04:51:32 | 2020-01-01T04:51:31 | null | UTF-8 | C++ | false | false | 1,612 | h | /// @file Device.h
/// @brief Wraps the D3D device.
///
/// Wraps the D3D device and manages common D3D operations.
#pragma once
#include <memory>
#include <wrl/client.h>
#include <d3d11.h>
#include <SimpleMath.h>
#include <trview.common/Window.h>
namespace trview
{
namespace graphics
{
class Rende... | [
"noreply@github.com"
] | sapper-trle.noreply@github.com |
e3159a5202d93f30382fce65d68320264c7c3919 | 86d037945c85ce5bbebffd9fcbfab542d93a546c | /June/Matchsticks to Square.cpp | a368fb445caef9746cb65528faa51363de8b65ac | [] | no_license | safwankdb/Leetcoding-Challenges-Cpp | c86e26c6ccbb98533a6823b745ef12df17e9e0aa | a1515c67f8dc70f40cff247f0941869051f7ea5c | refs/heads/master | 2023-06-24T20:13:28.564380 | 2021-07-09T16:48:27 | 2021-07-09T16:48:27 | 376,255,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | cpp | #include <bits/stdc++.h>
using namespace std;
class Solution {
public:
bool check(vector<int>& m, int l[], const long& s, int x){
int i;
if (x == m.size()) {
for (i = 0; i < 4; i++)
if (l[i] != s) return false;
return true;
}
for (i = 0; i < ... | [
"safwaniitb@gmail.com"
] | safwaniitb@gmail.com |
e1bcb6667c40cefcbf5fc1d1b95e8127aad5f2ab | 914ce03bf92da55554f0766a9277afe31b72abc5 | /test/minmax.cpp | ee1ca0d7765cb7a6a912aa582c802b6b365228b8 | [
"Vim",
"MIT"
] | permissive | janoma/STL-algorithms-study | b8606e1b45d43bd24f8a16aaf6bd3601bdcd690c | ebff15047f1470d3e6c72c3ae5a4b8f40392865a | refs/heads/master | 2021-01-19T03:48:44.326027 | 2016-06-06T04:26:41 | 2016-06-06T04:26:41 | 60,049,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,696 | cpp | #define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MAIN minmax tests
#include <boost/test/unit_test.hpp>
#include <algorithm>
#include <initializer_list>
#include <vector>
#include <point.h>
using point = point_t<int>;
BOOST_AUTO_TEST_SUITE( minmax_test_suite )
BOOST_AUTO_TEST_CASE( binary_min_default_compare )
{
... | [
"janoma@gmail.com"
] | janoma@gmail.com |
9edbbb82420aabbe2a8e19fc58dcd98afcb0db68 | 185e5747e7321fc28103ae73870f9eb2d36da2d4 | /src/EWFrame.h | 972daba9750c458e0316f28384d6aacafcc6c4e8 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | shi27feng/graphstorm | 8a90ff33f251c818219f96a00b6aae65bb06f1f6 | 6eef536f8bfda371a818b3af89a9c79badeac794 | refs/heads/master | 2021-01-23T08:33:40.668214 | 2017-07-05T12:50:39 | 2017-07-05T13:06:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | h | /*
* EWFrame.h
*
* Copyright (c) 2008 - 2013, Michael Clark <michael@earthbuzz.com>, EarthBuzz Software
*/
#ifndef EWFrame_H
#define EWFrame_H
class EWFrame;
typedef std::shared_ptr<EWFrame> EWFramePtr;
/* EWFrame */
class EWFrame : public EWContainer
{
protected:
EGstring label;
EGTextPtr text;
... | [
"michael@metaparadigm.com"
] | michael@metaparadigm.com |
498a4e944a8293ebe3486a5ba8a494355f31c235 | f5415baabc9e610cc2df58af138673fc8d816245 | /libs/Otto/Otto.h | cafb5b947ee31f29ed3ebe2ddaaae411f7902532 | [] | no_license | nick-geek/arduino_otto | 1257c9f5ef08c6288a166c5226330386518faffa | 5b387bd307974133c0b5d3659ba4f9e668878cdf | refs/heads/master | 2020-12-10T20:04:15.421329 | 2020-01-23T19:02:07 | 2020-01-23T19:02:07 | 233,697,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,237 | h | #ifndef Otto_h
#define Otto_h
#include <Servo.h>
#include <Oscillator.h>
#include <EEPROM.h>
#include <US.h>
#include <BatReader.h>
#include "Otto_mouths.h"
#include "Otto_sounds.h"
#include "Otto_gestures.h"
//-- Constants
#define FORWARD 1
#define BACKWARD -1
#define LEFT 1
#define RIGHT -1
#... | [
"Zeddicus@mail.ru"
] | Zeddicus@mail.ru |
5dcd7bcd2c295d5417ae50a27d93872b058fd44c | 8248ac12187f09efb591cf36fe1e98bb65ea6325 | /include/ASDebugHelper.hpp | 96879e9830ed1539588d88a339fede19529e2ebf | [
"BSD-2-Clause"
] | permissive | CommunicoPublic/cas | da3831a12dadfe8b7fc4782b75c388f7aef14b64 | 4fbf8e3b6cba52d7bc4db29f68a21560b608c9cb | refs/heads/master | 2021-01-17T10:18:40.425481 | 2016-07-01T17:09:02 | 2016-07-01T17:09:02 | 56,317,076 | 10 | 1 | null | 2016-07-01T17:09:02 | 2016-04-15T12:03:31 | C++ | UTF-8 | C++ | false | false | 3,163 | hpp | /*-
* Copyright (c) 2005 - 2016 CAS Dev Team
*
* 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 and the foll... | [
"root@communico.pro"
] | root@communico.pro |
4d946c05436cd808ef23ad9adbd87ed22f2ac17a | d58be819169ac2b219d07e8539cf5cfcf2ea787e | /09/exercise/ex_09_10_leapyear/Chrono.cpp | 6233ce8558ac4ce2af562f64ea90d69d68e52188 | [] | no_license | IronClimber/_Straustrup | 602b73cf520b99f03744be70179b7e51d4597613 | c3c14eefa089c749cc75335b6328d87bc9af4826 | refs/heads/master | 2021-06-10T22:44:25.617440 | 2021-05-25T08:55:14 | 2021-05-25T08:55:14 | 192,340,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,186 | cpp | #include <iostream>
#include "Chrono.h"
namespace Chrono {
Date::Date(int yy, Month mm, int dd)
: y{yy}, m{mm}, d{dd}
{
if (!is_date(yy,mm,dd)) throw Invalid{};
}
const Date& default_date() {
static Date dd {2001,Month::jan,1};
return dd;
}
Date::Date()
:y{default_date().year()},
m{default_... | [
"ironclimber@gmail.com"
] | ironclimber@gmail.com |
335cc658c0329e3f92ea80f49dabdb93dc2ebaf7 | 770ae8ea9b4e13b2247c7f2097ea395af5fa107c | /lib/observable.h | e7b956493df504a592de330d0c97c3ac5c8ef555 | [
"MIT"
] | permissive | tina-r/simple-observable-qt--MVVM-and-Observer-pattern-with-Qt | 805a1a6a2879e3c30d36e6d973f1adfba03794b8 | df33deb4af4170ea3b51c22af130a710e52641cf | refs/heads/master | 2023-04-20T23:24:04.635589 | 2019-07-14T15:32:24 | 2019-07-14T15:32:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,301 | h | #ifndef OBSERVABLE_H
#define OBSERVABLE_H
#include <functional>
#include <memory>
#include <deque>
#include <algorithm>
#include <unordered_set>
/*!
* \brief An abstract typed bindable observable value.
* The value type must be assignable and comparable.
*/
template<typename T> class Observable
{
public:
... | [
"diamat@localhost.localdomain"
] | diamat@localhost.localdomain |
c7902ddf426e8adec6e130bd634695051848f959 | 2d894bf8f94711ea4945353864facd7d261e3fd1 | /kernel/lib/utils/include/utils/tests/intrusive_containers/objects.h | f9e6fdbf84d3b6ac043f73a0f420aa719dd1eaff | [
"MIT",
"Apache-2.0"
] | permissive | sharmajai/magenta | b6149384a9c2cda6ffbac23ddf58939845230634 | fc150078b119bcbdccc785ee4eb6f6a9b7461f48 | refs/heads/master | 2021-01-21T16:18:35.339450 | 2016-08-12T08:19:31 | 2016-08-12T08:19:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,645 | h | // Copyright 2016 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#pragma once
#include <new.h>
#include <utils/ref_counted.h>
#include <utils/ref_ptr.h>
#include <utils/unique_ptr.h>
namespace ... | [
"johngro@google.com"
] | johngro@google.com |
f4111564382002c4c52bd950321e93fe029eeb22 | a2134d89f641746c67050b6e9c699865cf5c6332 | /codeforces/practice/LIS.cpp | 57bf35de07fe604b438eed4f6c65155b00f4ac55 | [
"Apache-2.0"
] | permissive | anandj123/gcpdemo | 7eaf4f5af837bd3706e457c7ed7a9efef18a0aa9 | cb5900def4853f3a77d848df6bab6c11b9e66c8a | refs/heads/master | 2023-01-22T02:24:43.010442 | 2023-01-19T18:39:02 | 2023-01-19T18:39:02 | 239,536,507 | 0 | 0 | MIT | 2022-06-02T07:17:37 | 2020-02-10T14:51:07 | C++ | UTF-8 | C++ | false | false | 2,006 | cpp | #include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<cmath>
#include<numeric>
#include<set>
#include<assert.h>
#include<queue>
#include<stack>
#include<unordered_set>
using namespace std;
#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define en... | [
"jain.12@gmail.com"
] | jain.12@gmail.com |
8cf1da2375a8500931f501f8328a38e88fcafc76 | 5d582a49d8301b2fdcc8602f53699348e7531fb9 | /MFC-ListControl/MFC-ListControlDlg.cpp | 83f0bbfa37a07276a1fece5e70861380daf0d557 | [] | no_license | wisebuilder/MFC-ListControl-20190422 | ecf67a19b58776e4fd2a3f9f70d8c3a7e7f38d3b | 0301fe9de2f7a4c1108c97cf99b4a3508b1ee5cb | refs/heads/master | 2022-01-08T06:50:19.959233 | 2019-05-03T08:08:43 | 2019-05-03T08:08:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,665 | cpp |
// MFC-ListControlDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "MFC-ListControl.h"
#include "MFC-ListControlDlg.h"
#include "afxdialogex.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// 用于应用程序“关于”菜单项的 CAboutDlg 对话框
class CAboutDlg : public CDialogEx
{
public:
CAboutDlg();
// 对话框数据
#ifdef AFX_DESIGN_TIME
enu... | [
"49854479+Qianzujin@users.noreply.github.com"
] | 49854479+Qianzujin@users.noreply.github.com |
67c99a77252db0228c530849272ec617daac30df | 9dc62993d5b4e2a5932a924d415d7fb179ff8b3e | /low_viscocity_flat/0.1/U | d321e632fa6dd6b2e1465cfe1aabf32b0005974a | [] | no_license | allenvarughese22/OpenFoam_Beginner | b477ba423dea53ba3563857b0d1a86ddf86a2b83 | 80b93b96e212f8ed5d11045348ea757912b0dd6d | refs/heads/master | 2022-11-08T04:41:06.154500 | 2020-06-18T05:27:48 | 2020-06-18T05:27:48 | 273,148,299 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116,045 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
... | [
"allenvrghs2007@gmail.com"
] | allenvrghs2007@gmail.com | |
68d06362d2a88bbb33292bdfadc38c538b8a027b | 05625fc9f454bb20bb07ed0d22cee4823302452e | /ELECTRONIC_COMPONENTS/ELC2049/Example/Example_08_display_phonecall/display_phonecall/display_phonecall.ino | e561f37475bdc1be2d623745caa56eed39390238 | [] | no_license | thinkrobotics/SAMPLE_CODE | a317ba15a4ce416a16c6b1d56ed085cdf72fc3a0 | e91faf815cffcce2feac8361d5e7303893aa25a6 | refs/heads/master | 2023-01-29T15:11:35.959150 | 2023-01-19T09:56:44 | 2023-01-19T09:56:44 | 252,168,307 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 10,826 | ino | /***********************************************************************************
*This program is a demo of how to use the touch function in a phone GUI
*This demo was made for LCD modules with 8bit or 16bit data port.
*This program requires the the LCDKIWI library.
* File : display_phonecall.ino
* ... | [
"noreply@github.com"
] | thinkrobotics.noreply@github.com |
c8608a13fb9f8fe27d1ddd772481dfa9d3ae7654 | 19632bbe06a9f7c592b3de5ef4bcf6e6e480b95d | /0/ex1Rellotge/main.cpp | e95d55418217693b340e32572bc44667d34433d3 | [] | no_license | jordiae/IDI-Qt-OpenGL | 05f58c6a3fc3a462a0cb86ac8bb9da9188d23b95 | e2ae74faecc26e930064c1292976e21cfb011c1b | refs/heads/master | 2021-04-27T00:17:04.731171 | 2018-03-04T12:03:46 | 2018-03-04T12:03:46 | 123,784,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163 | cpp | #include <QApplication>
#include "MyForm.h"
int main(int argc, char** argv) {
QApplication app(argc,argv);
MyForm form;
form.show();
return app.exec();
}
| [
"me@jordiae.com"
] | me@jordiae.com |
81f69e0769578d9dd8c34454bb58fc7c213b4691 | c86b4e6b1a28605ebc9e6b10eb55a020b3175909 | /cpp/main_CascadedPropagation.cpp | efe0ec5dc3b3c30063818ccbe471a80fbb0d87b1 | [] | no_license | shs-leo/OpenholoRefApp | 6175f8a7c2a894e3d68f88a6b106a051bf89d4d7 | 4118b6ffd7680d2832acd29cce66e4f0a56cfe00 | refs/heads/master | 2023-05-11T16:55:36.945384 | 2018-08-03T02:34:18 | 2018-08-03T02:34:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | #include <iostream>
using namespace std;
#include "ophCascadedPropagation.h"
int main()
{
OphCascadedPropagation* pCp = new OphCascadedPropagation(L"TestSpecCascadedPropagation.xml");
if (pCp->propagate())
pCp->saveIntensityAsImg(L"result/intensityRGB.bmp", pCp->GetNumColors() * 8);
pCp->release();
return 0;
... | [
"shinsh@etri.re.kr"
] | shinsh@etri.re.kr |
56e6f10e91fe87234d502c450bf777cf99406865 | 98e0f8f8b3a6c74f827191094bb5811fc0f871ca | /majority element.cpp | d22c127c642df805647890edc6499c64db5c8dc5 | [] | no_license | NILESH8757/Interview-prep | 05e2110e77cebcc004123d15b2db8654d038b9ef | 47f9a9f3e115d5caf462b1b882c5840b38becbcc | refs/heads/master | 2022-11-28T05:55:16.705101 | 2020-07-17T09:04:46 | 2020-07-17T09:04:46 | 196,860,579 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | cpp | //Boyer–Moore majority vote algorithm
//ref. : https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_majority_vote_algorithm
int Solution::majorityElement(const vector<int> &A)
{
int mxid = 0, cnt = 0;
for(int i = 0; i < A.size(); i++)
{
A[i] == A[mxid] ? cnt++ : cnt--;
if(cnt == 0)
{
... | [
"noreply@github.com"
] | NILESH8757.noreply@github.com |
c1a808b4336c497cd46c3604a2b64379a8061711 | 3774e3ecc9e1a80ce4f60d5e75b5dd6018b0badb | /TestProgram/8.Wifi/SendAdafruitIO/SendAdafruitIO.ino | 2190a95710fff687131713996b6080e503ee0023 | [] | no_license | brice1401/StationMeteo | ea361a1acdf51f4896f4814dbafa9e1805911d8d | f1e7a9502fb95ebdd20bf730a8190cb7bb0512ff | refs/heads/master | 2021-07-07T18:20:52.576049 | 2021-04-24T21:20:15 | 2021-04-24T21:20:15 | 229,487,650 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,094 | ino | nf/*
* This sketch is used to test the sending of data to adafruit IO
*/
#include <ESP8266WiFi.h>
#include "AdafruitIO_WiFi.h"
#include "config.h"
// Create a feed object that allows us to send data to
AdafruitIO_Feed *temperatureFeed = io.feed("temperature");
void setup()
{
// Enable the se... | [
"brice.roblot@gmail.com"
] | brice.roblot@gmail.com |
632f69ddb9d756c50cafecf0e0589fe485221f93 | 718fc882bcda7e8a4fd8b369d2735a9a49077118 | /src/codegen/codegen.cpp | a7b35d6bf4a69c3d59bf152853d578a070db7e45 | [
"Apache-2.0"
] | permissive | MichaelZhero/nncase | 3d848271c6acb2f1856a71e32c5338acfe884753 | 0fae6ce90d7adff386e1a286cd2b42422f4b850a | refs/heads/master | 2023-02-10T14:17:22.530969 | 2021-01-10T05:55:15 | 2021-01-10T05:55:15 | 271,465,105 | 0 | 0 | Apache-2.0 | 2021-01-10T05:55:16 | 2020-06-11T06:04:18 | null | UTF-8 | C++ | false | false | 5,432 | cpp | /* Copyright 2019-2020 Canaan Inc.
*
* 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 agreed t... | [
"sunnycase@live.cn"
] | sunnycase@live.cn |
15505b5a7368e7b4d060b3999f06115738911ef6 | 8a4eaa59d28991905b905c4e29fe1f49a96ecf13 | /src/plugins/command/set.h | fb6574c6b100e4cc0b35d4e198e317a1f422e474 | [] | no_license | amantaya/UniSim2 | ffa4ebdf9910f63aea0c7df907355a23e0a8ca3d | 912c8eebdf1080e302986280a9a55d4e32f93f8d | refs/heads/master | 2021-01-17T04:28:29.510439 | 2017-02-21T21:27:58 | 2017-02-21T21:27:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | h | #ifndef SET_H
#define SET_H
#include <base/command.h>
namespace command {
class set : public base::Command
{
public:
set(QString name, QObject *parent);
private:
void doExecute();
};
}
#endif
| [
"niels.holst@agrsci.dk"
] | niels.holst@agrsci.dk |
a128354ac0361af981830a70871a506219423d2b | 5c03a86c8bbc901a3e6f0124d9eaca0d1015887c | /guider-master/Flight/ringbuffer.cpp | 68546d2ddf63a738d2cc73653ee42183a6fbd7b2 | [] | no_license | ndyann/Guider | 6cd3c4ccb6e35f01fae5beb59ac19893709e3a05 | 8e63976ea03673b016d0d8b7fc2db0e7e0619f13 | refs/heads/master | 2021-01-17T20:30:46.658379 | 2015-11-12T01:40:12 | 2015-11-12T01:40:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cpp |
#include "ringbuffer.h"
char& RingBuffer::operator[](int i){
return buffer[(this->start + i) % this->size];
};
int RingBuffer::Start(){
return start;
};
int RingBuffer::End(){
return end;
};
int RingBuffer::push(char *sourcebuff, int length){
int i;
if(length+used < size){
for(i=0;i<length;i++){
... | [
"fireball.columbia@gmail.com"
] | fireball.columbia@gmail.com |
5aeec76537f2863044c40e2bc66f93a15f0f7ed2 | 26ad4cc35496d364b31396e43a863aee08ef2636 | /SDK/SoT_BP_TreasureArtifact_box_01_a_Desc_classes.hpp | 64e6391d219d949e0ed00dea2063f4b492dcd346 | [] | no_license | cw100/SoT-SDK | ddb9b19ce6ae623299b2b02dee51c29581537ba1 | 3e6f12384c8e21ed83ef56f00030ca0506d297fb | refs/heads/master | 2020-05-05T12:09:55.938323 | 2019-03-20T14:11:57 | 2019-03-20T14:11:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 794 | hpp | #pragma once
// Sea of Thieves (1.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_TreasureArtifact_box_01_a_Desc_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
a033c3167ee4a38f627573505ae8805dbbed332e | a6e16f8b4e3e9dfb7a8b6f323b7e35fb82537222 | /C/J.D. Koftinoff/Pro Player/inc/midiscrn.hh | 697604d8c2426ac89206086f5701e0a9c4b4435b | [] | no_license | pjones1063/Atari_ST_Sources | 59cd4af5968d20eb3bf16836fc460f018aa05e7c | fe7d2d16d3919274547efbd007f5e0ec1557396d | refs/heads/master | 2020-09-04T20:21:44.756895 | 2019-10-30T12:54:05 | 2019-10-30T12:54:05 | 219,878,695 | 2 | 0 | null | 2019-11-06T00:40:39 | 2019-11-06T00:40:39 | null | UTF-8 | C++ | false | false | 1,054 | hh |
#ifndef __MIDI_MIDISCRN_HH
#define __MIDI_MIDISCRN_HH
#include "world.h"
#include <MIDI/midi.hh>
#define DISP_TYPE_NONE (0)
#define DISP_TYPE_D50 (1)
#define DISP_TYPE_MT32 (2)
#define DISP_TYPE_D10 (3)
#define DISP_TYPE_JX8P (4)
#define DISP_TYPE_... | [
"ggn.dbug@gmail.com"
] | ggn.dbug@gmail.com |
abb02c7d42c51edadb4403abba95e19471a4a7bc | b006260642e4a660e81815410f5bb046911d2f6e | /Code /程序员代码面试指南/第 4 章 递归和动态规划/9.最小编辑代价.cpp | 57f9291f98e8501c3273add4c54fd0eed79a84ae | [] | no_license | JuniorPan/2018_interview | 87e001d32862a27c15330682915735641a3df3db | f120daf7885e973f75f088fa0571e846c5ce5b85 | refs/heads/master | 2023-08-19T11:12:19.015033 | 2023-08-12T15:17:07 | 2023-08-12T15:17:07 | 137,877,042 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,110 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
int minCost(string s1, string s2, int ic, int dc, int rc)
{
int m = s1.size();
int n = s2.size();
int dp[m+1][n+1];
dp[0][0] = 0;
for(int i = 1; i <= m; i++)
{
dp[i][0] = dc * i;
}
... | [
"panqiang@panqiangs-MacBook-Pro.local"
] | panqiang@panqiangs-MacBook-Pro.local |
a1fdd47cb4c0f69d1e41f57d9a5e1138f9edb51b | 9cc347d44d6465eb6c7f03fadc6c0652cfb572cb | /kod/SVM-Face_Recognition/svm/smo.h | de2f8aed820caa183f7a10e2fe01ea51dc80b4a3 | [] | no_license | PetaPowerGroup/pattern-recognition-lab | 0979ae29de4d1645d6fcec5a35cfa4a133bfd9cb | dd9d1fb042a23ef3de9d6ec43a55bdcf84523c7b | refs/heads/master | 2016-08-07T01:05:11.347524 | 2010-01-19T10:12:32 | 2010-01-19T10:12:32 | 7,590,036 | 0 | 1 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 976 | h | // Optimizator za SVM. Temelji se na SMO metodi predloženoj od Platt.
// Implementirano je također i podoljsanje predloženo od ...
#ifndef SMO_H
#define SMO_H
#include "kernel.h"
class kernel;
class smo {
private:
std::vector<double> *f_cache; // pogreske izracuna
PLagrange ... | [
""
] | |
25ca393abe4269d03dbcaab7187fb20aaa70867d | 2f6a538cc60822119878797ee7ffe517a8dcb3b6 | /count1&2.cpp | f18dffdabb6c8b2622932040d5e65210ac396544 | [] | no_license | imvkie/CandCPPSnippets | d9b546388581b7b12e848becfbf270e945653b66 | f1f8f7c127f185848ab135f8660b254be5a4f124 | refs/heads/master | 2022-11-21T02:09:33.915048 | 2020-07-03T21:14:39 | 2020-07-03T21:14:39 | 276,987,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
int num, count1=0, count2=0;
while(scanf("%d,",&num)!=EOF) {
if(num==-1) {
break;
}
if(num==1) {
count1++;
}else {
count2++;
}
}
cout<<count1<<count2;
return 0;
}
| [
"noreply@github.com"
] | imvkie.noreply@github.com |
4875a481f4bc58bebbe004349a5d2a55f14373b3 | cc3e7e4c7c7877f8562b6d80dd0f9f585886421b | /Arduino/Rescue_B/erkunden.ino | 9ff2fd6a9c7179cd94bbedfc64e98dd6c332d686 | [] | no_license | FrityMeier/rescueB | ec656ebc79ca840090fc397ff68182c4a75a3e9a | 9157d99b2fa81ef08322d9cff93871e315be745e | refs/heads/master | 2021-01-23T13:30:23.634970 | 2014-04-27T06:41:51 | 2014-04-27T06:41:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | ino | int wand_links = 0;
int wand_rechts = 0;
int wand_vorne = 0;
int dist_links = 0;
int dist_rechts = 0;
void erkunden(){
dist_rechts = (ir30Read(A6)+ir30Read(A7))/2;
dist_links = (ir30Read(A2)+ir30Read(A3))/2;
if(dist_links < 180){
wand_links = 1;
}
else wand_links = 0;
if(dist_rechts < 180){
wand... | [
"jan.heidemeier@gmx.de"
] | jan.heidemeier@gmx.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.