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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
afda1109dc86860cff962dd77d1dc76130ead727 | dd3a1ea4a43e067f14c0ba1c08d066ab2332d002 | /Codeforces/Codeforces 1348C.cpp | a92e731144800c7d75c9c6dd1d8de08cf23884be | [] | no_license | codermehraj/Problem-solving-and-discussion-ACM- | eda9546d30c4c9b4ac77841d986d2c57d279c1ae | 657875866f08b7b2598ca9b63246a17f914e223b | refs/heads/master | 2023-03-08T17:05:04.525101 | 2021-02-25T14:51:43 | 2021-02-25T14:51:43 | 256,446,820 | 2 | 1 | null | 2020-07-13T16:00:21 | 2020-04-17T08:32:21 | C++ | UTF-8 | C++ | false | false | 584 | cpp | /* ~ CoderMehraJ ~ */
#include <bits/stdc++.h>
using namespace std;
#define show(x) cout << #x << " = " << x << '\n';
int main()
{
ios::sync_with_stdio(0);
cin.tie(0);
int t,n,k,num;
string s;
cin>>t;
while(t--){
cin>>n>>k;
cin>>s;
sort(s.begin(), s.end());
if... | [
"noreply@github.com"
] | codermehraj.noreply@github.com |
4539776f3922f27303dd206d7653ac2a866c6a7b | 202c37b75acc5d19a188b390a7ac7fbd102ac1a1 | /队列/LinkQueue.cpp | 0558f57534e63b67e7b2e6cef0702ceae04587f8 | [] | no_license | mayali123/data-structure | 72eb7e4ee8868ded60d40e3cf79db6a800a28ebf | 9fea520870e9769c183273ac859424fd98da713a | refs/heads/master | 2023-03-02T07:36:45.965688 | 2021-02-16T08:17:43 | 2021-02-16T08:17:43 | 296,842,832 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,059 | cpp | // 用链表实现的队列
#include<stdio.h>
#include<malloc.h>
#define ElemType int
typedef struct List{
ElemType data;
struct List* next;
}L;
typedef struct LinkQueue{
L* front;
L* rear;
}LQ;
LQ* CreateLinkQueue()
{
LQ* lq = (LQ*)malloc(sizeof(LQ));
lq->front = lq->rear = NULL;
return lq;
}
void AddE... | [
"noreply@github.com"
] | mayali123.noreply@github.com |
038cad7ad9924622156a21541fefd3a9c3eaa8d7 | 6431762a17ab2f0f9e4bc41cd1f9837145687520 | /metadataGatherer/lowLevelTimer.cc | 80943858bde4322db699245a45028019d105ed64 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | minghao2016/KFF | 324d3751a0b290b0fe74c1c2db05fff55d21d788 | 609e5afac8a9477dd1af31eacadbcd5b61530113 | refs/heads/master | 2021-01-17T22:44:06.535735 | 2015-08-26T07:10:20 | 2015-08-26T07:10:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,039 | cc | #ifndef LOW_LEVEL_TIMER_CPP_INCLUDED
#define LOW_LEVEL_TIMER_CPP_INCLUDED
#ifdef _WIN32
#include <windows.h>
#elif __APPLE__
#include <mach/mach_time.h>
#endif
#include <lowLevelTimer.h>
namespace meta
{
LowLevelTimer::LowLevelTimer()
{
start();
}
void LowLevelTimer::start()
{
beginning = rdtsc();
... | [
"mwhahibium@yahoo.com"
] | mwhahibium@yahoo.com |
f3bd4d74ba8b4bb330081843ccc2c1f1bf6ea46b | 86cf43b623ba45164d46d265f419cb4538b3a1d1 | /cat/tests/snsrgtwy/radio/messages/TestAttrMessage.cpp | 57f9c669088afc25a3fd3248b5b83b713777aa0c | [] | no_license | CentreForAlternativeTechnology/SensorGateway | d00bb897e53c291f44c2755a756c11163e2d377d | 3152381ed7b949a7f50d9b8c3c02dc0764c787a8 | refs/heads/master | 2021-01-01T19:38:21.240330 | 2015-05-20T09:23:37 | 2015-05-20T09:23:37 | 35,937,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,774 | cpp | #include <boost/test/unit_test.hpp>
#include <iostream>
#include <cat/snsrgtwy/radio/messages/EncryptedMessage.hpp>
#include <cat/snsrgtwy/radio/messages/AttrMessage.hpp>
#include <cat/snsrgtwy/radio/messages/CorruptMessageException.hpp>
namespace cat { namespace snsrgtwy { namespace radio { namespace messages {
cl... | [
"jonty.newman@gmail.com"
] | jonty.newman@gmail.com |
953dabb11d06fbf5a92821db89c26424f1d30fe7 | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Shipping/Engine/Module.Engine.gen.4_of_65.cpp | e03768f4bc62644ab1fd86ad47df4c010c3214da | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 3,202 | cpp | // This file is automatically generated at compile-time to include some subset of the user-created cpp files.
#include "C:/Users/Ryan/Drive/BYU/2018_Fall/cs_497r/Rodent-VR/RodentVR/Intermediate/Build/Win64/RodentVR/Inc/Engine/AnimInstanceProxy.gen.cpp"
#include "C:/Users/Ryan/Drive/BYU/2018_Fall/cs_497r/Rodent-VR/Roden... | [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
7ba44607dbf9d626ad27b8ecb893a457420e0412 | 5145d166dbb699a8f75c4b9d9614002607ae0597 | /algos_semina/5th_seminar/seminar_1/2nd_grade/김윤서_minnie03/3649.cpp | fc04ae09dc72a0e55b5414185a7f795971988e73 | [] | no_license | Sookmyung-Algos/2021algos | 8cedfb92d8efaf4f6241dece5bc9b820fc5dc277 | be152912517558f0fc8685574064090e6c175065 | refs/heads/master | 2022-07-21T03:47:38.926142 | 2021-12-02T01:35:13 | 2021-12-02T01:35:13 | 341,102,594 | 11 | 46 | null | 2021-12-02T01:35:14 | 2021-02-22T06:32:53 | C++ | UTF-8 | C++ | false | false | 1,613 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main(void) {
ios_base::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
int x;
while (cin >> x) {
int n;
cin >> n;
vector<int> blocks(n); // 레고조각의 수 n을 크기로하는 정수 벡터 blocks 생성
for (int i = 0; i < n; i++) { // 레고조각의... | [
"noreply@github.com"
] | Sookmyung-Algos.noreply@github.com |
f05fd005d2a391712d5d87ea0ed8a9a9501e0937 | c76adc973e5251452e1beb3de7776d0a2b709fce | /submissions/c2.s42.ncu100502507.ProblemA.cpp.0.Scanner.cpp | 739e17939caf6a357588ae35b783e03ff2b3099c | [] | no_license | ncuoolab/domjudge | 779a167f695f45a6a33437996ec5ad0f9d01c563 | bda18c69d418c829ff653f9183b3244520139f8a | refs/heads/master | 2020-05-19T08:10:39.974107 | 2015-03-10T19:35:03 | 2015-03-10T19:43:26 | 31,972,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | cpp | #include <iostream>
#include <string>
#include <cstdlib>
using namespace std;
enum type {ERR, ID, ASSIGN, INUM};
void proc(string);
void stmt(string);
void val();
int scannDigit(string);
int scannID(string);
int peek(string);
bool eof(string&);
void advance(string&);
struct token {
int type;
stri... | [
"fntsrlike@gmail.com"
] | fntsrlike@gmail.com |
fa5ef74498b863d83a34ce82b3e522887fac50de | 410e45283cf691f932b07c5fdf18d8d8ac9b57c3 | /content/renderer/fetchers/resource_fetcher_impl.cc | f5bda17799c4d6f03466c1ceb005e5e08c18ee24 | [
"BSD-3-Clause"
] | permissive | yanhuashengdian/chrome_browser | f52a7f533a6b8417e19b85f765f43ea63307a1fb | 972d284a9ffa4b794f659f5acc4116087704394c | refs/heads/master | 2022-12-21T03:43:07.108853 | 2019-04-29T14:20:05 | 2019-04-29T14:20:05 | 184,068,841 | 0 | 2 | BSD-3-Clause | 2022-12-17T17:35:55 | 2019-04-29T12:40:27 | null | UTF-8 | C++ | false | false | 11,664 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/fetchers/resource_fetcher_impl.h"
#include <stdint.h>
#include <memory>
#include <string>
#include <utility>
#include "b... | [
"279687673@qq.com"
] | 279687673@qq.com |
8d6178e0353ded6cdd8df0f5c99c9cba5f476589 | 4da55187c399730f13c5705686f4b9af5d957a3f | /projects/robots/gctronic/e-puck/plugins/robot_windows/botstudio/core/TransitionRepresentation.cpp | caedd38fa4976c88c90f7cf3fba34e776d54c7eb | [
"Apache-2.0"
] | permissive | Ewenwan/webots | 7111c5587100cf35a9993ab923b39b9e364e680a | 6b7b773d20359a4bcf29ad07384c5cf4698d86d3 | refs/heads/master | 2020-04-17T00:23:54.404153 | 2019-01-16T13:58:12 | 2019-01-16T13:58:12 | 166,048,591 | 2 | 0 | Apache-2.0 | 2019-01-16T13:53:50 | 2019-01-16T13:53:50 | null | UTF-8 | C++ | false | false | 4,814 | cpp | // Copyright 1996-2018 Cyberbotics Ltd.
//
// 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 agr... | [
"David.Mansolino@cyberbotics.com"
] | David.Mansolino@cyberbotics.com |
2b5cb9b3becba423adc281b9257a9fd55d57e129 | 5a258d6ee19e0566c2911f8ad1d62a089f100407 | /Cirk_Per_Uni_v0.1/Cirk_Per_Uni_v0.1/Header17.h | d37727d3cefe5a0cea2a1247db2bad0cd8f96263 | [] | no_license | dulejuve/Cirk_Per_Uni | 9dae9721ceda9ec1283fc7ad17365a0b7e8e53bc | 2921c563d75f1085e155b433599ac74f4c3bb93a | refs/heads/master | 2021-01-10T12:20:32.349954 | 2016-04-14T12:20:50 | 2016-04-14T12:20:50 | 55,682,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,189 | h | #include <iostream>
//#define sizeSbox 256
//#define binary 9
#define NumMatrx17 17
int CirMat17[binary256][NumMatrx17], CirMatPer17[binary256][NumMatrx17];
int InvPerm17[sizeSbox256];
#include "SetCirMatPer17.h"
//int STT17[binary256][sizeSbox256];
//int STT117[binary256][sizeSbox256];
using namespace std;
//====... | [
"dule.juve@gmai.com"
] | dule.juve@gmai.com |
d07aaa082d3053a937cb0b0108e40470e50043cd | 8c2b209d83d457eb0b55822d440007387f2d2a75 | /foundation/src/Thread_POSIX.cpp | b18876b1e249b79208ccb9a4bdf1eb110e3e1508 | [] | no_license | MayaPosch/Lucid | 491277fdd2edacb8469171292330853d51b35bc6 | 48e7563f59ba125e3d694976fc4d7a8fd47e66bc | refs/heads/master | 2022-09-07T08:03:40.387631 | 2020-06-01T15:33:42 | 2020-06-01T15:33:42 | 266,867,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,108 | cpp | //
// Thread_POSIX.cpp
//
// Library: Foundation
// Package: Threading
// Module: Thread
//
// Copyright (c) 2004-2007, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "lucid/Thread_POSIX.h"
#include "lucid/Thread.h"
#include "lucid/Exception.h"
... | [
"maya@nyanko.ws"
] | maya@nyanko.ws |
512ecd6b7d08a9f287af2693f77cf7f616d2bfb3 | 15c086a39bcc075bfbcbdb814b1fe5480fd126df | /project/arduino/HomeNodeController/EncodeNSendMessage.h | 8640c206fb97aee23d0993d502ef1d32056b826a | [] | no_license | youkkwon/smarthome | 78960b9fcd114a988793e787c0500058e5dc3134 | a2342761e75d6b48afb327ae515a43799b58c1e8 | refs/heads/master | 2021-01-10T01:08:40.726332 | 2015-09-04T04:46:29 | 2015-09-04T04:46:29 | 36,963,274 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 709 | h |
#ifndef EncodNSendMessage_h
#define EncodNSendMessage_h
#if ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include <SPI.h>
#include <WiFi.h>
#include "HomeNodeDDI.h" // Note that the DHT file must be in your Arduino installation folder, in the library foler.
class ... | [
"carrot205@naver.com"
] | carrot205@naver.com |
29e5f9cbe5c1584264e5eee942097ed73cf92ab8 | 174413d04cd4c75e843f1a325732a64d7cf1a69a | /plugins/dispvaluesplugin/src/dispval.cpp | 997a51177dfbdc601e3618f2ba7458559cb196d1 | [] | no_license | mysmartgrid/chumby-controlpanel | f0a0f8683a1b1227b86c76d274ea2c32d7657cbc | b02135ee36d3943b89d117d8ba4151153a23973d | refs/heads/master | 2021-01-22T23:37:06.116170 | 2012-09-21T12:07:01 | 2012-09-21T12:07:01 | 3,144,299 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,922 | cpp | #include "dispval.h"
#include <QObject>
Msg::DisplayPage::DisplayPage ( QWidget* parent ) : QWidget ( parent )
{
digitalClk = new QLCDNumber ();
digitalClk->setSegmentStyle ( QLCDNumber::Filled );
digitalClk->setFrameStyle ( QFrame::StyledPanel | QFrame::Plain );
digitalClk->setMaximumSize ( 220, 32 );
digitalCl... | [
"github@paalsteek.de"
] | github@paalsteek.de |
2a2eca428e5d097f4f5b03fa693207cbfc15f0d1 | b667f7c5ab0bfc6727890468f2e9eba9564efcff | /AppServiceSandwich/ResourcePath.hpp | 406ebca0bb012087c22d936eaed4c8c49b162346 | [] | no_license | peterekepeter/app-service-sandwich | c6fe39f1ef5be9ae7537c2c893a7a33152f002aa | 6299e23b62f2484ce82e34ba214d2ca8dd892853 | refs/heads/master | 2021-07-10T12:30:19.020482 | 2021-04-09T17:38:34 | 2021-04-09T17:38:34 | 88,741,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,879 | hpp | #pragma once
#include <stdexcept>
#include <string>
// a class for handling paths towards resources
class ResourcePath
{
friend std::ostream& operator<<(std::ostream& os, const ResourcePath& obj);
public:
// construct default path which is current folder, in relative path form
ResourcePath();
// can create a new... | [
"peterekepeter@gmail.com"
] | peterekepeter@gmail.com |
36b1c30b1802fd5b09c60b60462baef3041d2adc | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/agc003/A/2742431.cpp | 3e5a073d3796f671d5a5690b3857f7fe91a60bc4 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | #include<iostream>
#include<string>
#include<vector>
#include<algorithm>
using namespace std;
#define rep(i,n) for(int i=0;i<n;i++)
int main(){
string s;
cin>>s;
bool north=false;
bool south=false;
bool east=false;
bool west=false;
for(int i=0;i<s.size();i++){
if(s[i]=='S')south=true;
if(s[i]=... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
45f1ffdbaa16d87b690cc03308c553176fd6544f | 23787ce9f0c55c04ba00a109c45d5d7a26daff0b | /extlibs/vili/include/vili/NodeValidator.hpp | 0af17cc14f9e5502c6db5b4c3f10dc5d74e69f27 | [
"MIT",
"Zlib",
"BSD-2-Clause"
] | permissive | Tzupy/ObEngine | 859e350de2987929ed99f532c60b5eaca227c528 | fa5c36aa41be1586088b76319c648d39c7f57cdf | refs/heads/master | 2020-08-22T15:13:43.899147 | 2019-10-20T21:10:42 | 2019-10-20T21:10:42 | 216,424,002 | 0 | 0 | MIT | 2019-10-20T20:35:26 | 2019-10-20T20:35:26 | null | UTF-8 | C++ | false | false | 1,032 | hpp | #pragma once
#include <NodeIterator.hpp>
namespace vili
{
/**
* \brief Almost like the NodeIterator except it should return a result
* \tparam T Type the NodeValidator should return (validate)
* @Bind
*/
template <class T>
class NodeValidator : public NodeIterator
{
private:
... | [
"Mizugola@gmail.com"
] | Mizugola@gmail.com |
8a34da68548535b6363db87556724245852b185e | d071e6156cf23ddee37a612f71d71a650c27fcfe | /template/string_algorithm/SuffixAutomaton[后缀自动机].cpp | 6efea92e3f4cd505b115f0b589e0fa44129e81fe | [] | no_license | tsstss123/code | 57f1f7d1a1bf68c47712897e2d8945a28e3e9862 | e10795c35aac442345f84a58845ada9544a9c748 | refs/heads/master | 2021-01-24T23:00:08.749712 | 2013-04-30T12:33:24 | 2013-04-30T12:33:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | cpp | const int MAXN = 250005;
struct SuffixAutomaton {
struct Node {
int len;
Node *f, *ch[26];
};
Node *root, *last;
Node pool[MAXN*2];
int cnt;
void init() {
root = last = pool;
memset(root, 0, sizeof(Node));
cnt = 1;
}
void append(char ch) { /* 添加一个字符到末尾,last为一个后缀终止态,沿着last->f走,经过的都是终止态 */
int c = c... | [
"leon.acwa@gmail.com"
] | leon.acwa@gmail.com |
065b4d365f97140a0227bb75669d45f1f6c6d86a | 1424e17abdd5710526695687626a083f5abaf476 | /Chapter07/Teacher.cpp | c944d72359c71b6115e1f41b0bf09a62bfcc8170 | [] | no_license | nosuggest/sladeRode3 | f0c827909175e9510c56ea8d8fb587a61d7583b6 | 4145dcf20321a49033ea88a3c0990f802aeee758 | refs/heads/master | 2022-11-17T19:29:41.919594 | 2019-11-20T15:57:10 | 2019-11-20T15:57:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,027 | cpp | //
// Created by 沙韬伟 on 2019-09-24.
//
#include "Teacher.h"
const string &Teacher::getName() const {
return name;
}
void Teacher::setName(const string &name) {
Teacher::name = name;
}
int Teacher::getAge() const {
return age;
}
void Teacher::setAge(int age) {
Teacher::age = age;
}
float *Teacher::... | [
"taowei.sha@ymm56.com"
] | taowei.sha@ymm56.com |
cbe44538ca0c0c7ad19ab786198fb50f1e9ffff3 | 014c74aac6e6e6e7e86a39eecc299c6a3f89d702 | /includes/ara/diag/impl_type_monitoractiontype.h | b025e6f12f563cf46fab9b82b8cb2787f0331add | [] | no_license | xuanwolanxue/ucm_client | 927e0ee25816b2f6b64a5755a5baca0a91bf5b5d | 130f87bff609ad78bbd4224a5781f9999ce36c01 | refs/heads/master | 2023-03-15T21:10:05.574505 | 2020-02-17T12:17:38 | 2020-02-17T12:17:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | h | #ifndef ARA_DIAG_IMPL_TYPE_MONITORACTIONTYPE_H
#define ARA_DIAG_IMPL_TYPE_MONITORACTIONTYPE_H
#include "impl_type_uint8.h"
namespace ara
{
namespace diag
{
enum class MonitorActionType : ::UInt8
{
kPassed=0,
kFailed=1,
kPrepassed=2,
kPrefailed=3,
kFdcThresholdReached=4,
kResetTestFailed=5,
kFreezeDebouncing=6,
k... | [
"yang.dongwei@foxmail.com"
] | yang.dongwei@foxmail.com |
b11aaeffaeb120f912aa82600bf4b1cea2a76a2c | d681b93f80b75d2b79b77ec621773e66efcf6cba | /include/mqf/portfolio/efficient_frontier_unconstrained.h | 448afdfeca9b0bfb2a04999924413cb193197c8b | [] | no_license | gansuranga/mqf | 0ebcf6bd2607afc5cc9bbfd28b35c3f301742508 | 25de0f3df1cc2edadb2bac87cfd7ed4238646b4d | refs/heads/master | 2020-03-28T12:48:31.289331 | 2015-07-21T00:01:08 | 2015-07-21T00:01:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,507 | h | #ifndef INCLUDED_MQF_PORTFOLIO_EFFICIENT_FRONTIER_UNCONSTRAINED
#define INCLUDED_MQF_PORTFOLIO_EFFICIENT_FRONTIER_UNCONSTRAINED
#include "../eigen_pinv.h"
namespace mqf {
/*
* Efficient Frontier Unconstrained
*
* The set of portfolios that have the least variance for their expected return.
*
* This places... | [
"chriswelshman@gmail.com"
] | chriswelshman@gmail.com |
fa9bfa0c629632682d6c4916fa0b22b6a82f4c13 | 92b7ba1025bd462cef8ce1595baba3bb7f602439 | /AlgoSolution/PKU/poj3128(AC).cpp | b13e85d380bc5c797c8a022677c07453af2f6717 | [] | no_license | robotcator/Algo | 4f60b8140cde6891b7425412ab98124094f3ae7f | 9c49c4f6ea50339539756964c5f3f3ad7b92141f | refs/heads/master | 2020-12-30T09:59:15.529226 | 2014-11-27T06:03:31 | 2014-11-27T06:03:31 | 20,529,193 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 949 | cpp | // Accepted 164K 16MS
// 置换T^2,如果置换长度为n && gcd(n, 2) == 1
// 则T^2长度仍然为n
// 若置换长度n 满足2 | n,则T^2分裂为 2个长度为
// n/2的循环的并
#include <iostream>
#include <string.h>
#include <stdio.h>
using namespace std;
int main()
{
int t;
int vis[30];
int cnt[30];
// 统计循环个数为i的循环个数
char B[30];
scanf("%d", &t);
while(t--){
... | [
"problemset@163.com"
] | problemset@163.com |
9ac2862204cd214bca9e5ecc78d55c74a5889d37 | 09849dc5ec4f7456f4f791491dc7002e23e250a1 | /c/cppp/class/test.hpp | 397dde0d7e2f977bd9adf8fa6671df92318110d6 | [] | no_license | Cuculidae/Learn | e6f97dad5524681a5e1e113fb2f7fa4d2c088916 | f811b0ee36298824bc179f08d9bdc81447ccfeac | refs/heads/master | 2021-01-10T17:38:36.370590 | 2015-11-29T05:07:35 | 2015-11-29T05:07:35 | 47,028,983 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | hpp | #include <iostream>
class test
{
friend std::istream &read(std::istream &is, test &item);
public:
// fuck! it compiled
test() { read(std::cin, *this); }
};
std::istream &read(std::istream &is, test &item);
| [
"2863043993@qq.com"
] | 2863043993@qq.com |
beea8b8564879bfc1a4468e2d4d0fb838ac7b12e | 2a855997a890ed3f21618adf132f4214c2ddd8c3 | /October_LeetCoding_Challenge/Week_1 October 1st–October 7th/Day_1 Number of Recent Calls.c++ | fa38b7f95ae2bcd02dff064032daf791572a9efa | [] | no_license | DaliaAymanAmeen/leetcoding-challenges | 81354f2d48239424898ca95ba4e732a239255015 | 0a9f4b81c31d48031d23238c67bac46d599d3261 | refs/heads/master | 2022-12-24T07:27:38.323666 | 2020-10-05T10:53:05 | 2020-10-05T10:53:05 | 260,786,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | class RecentCounter {
public:
int requests_done = 0;
vector <int> request;
RecentCounter() {
requests_done = 0;
}
int ping(int t) {
RecentCounter();
request.push_back(t);
int upper = t;
int lower = t - 3000;
auto upper_it = lowe... | [
"dalia.ayman.ameen@gmail.com"
] | dalia.ayman.ameen@gmail.com | |
eea10395d5ba265b7cf2cdfe623d4f350c82771a | af555a7397356ca5b1a30bf4d1a62960b8649774 | /example/windows/runner/main.cpp | da8ee2be9d588dc590a1fff868b9547e8062bc34 | [] | no_license | xTudoS/flutter-native-desktop | fc3d36e34591584c2edda6208d42a85495676e76 | 39dba305dab974631025bb8572498d1547c9e2fa | refs/heads/master | 2023-03-30T11:12:15.705075 | 2021-04-06T04:55:43 | 2021-04-06T04:55:43 | 350,507,323 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,240 | cpp | #include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include "flutter_window.h"
#include "run_loop.h"
#include "utils.h"
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
... | [
"x2do@pm.me"
] | x2do@pm.me |
6da25e856830ffdecaa822802aeea296bf2c83fb | b77b296844bc196a881a5cd9f2495671578ec6c9 | /include/vo_core/mappoint3d.h | 1bd19e34268913d9341dd85ef0d142b47404e341 | [] | no_license | GabrielDracula/Mixed-form-map-with-panoramic-images-based-on-SLAM | 41555193508dc5c28818c0dc3004d97a74d5553c | 6374e6544fceb58765131cac997c28f231263407 | refs/heads/master | 2020-04-07T01:58:50.781380 | 2018-11-17T07:13:05 | 2018-11-17T07:13:05 | 157,959,490 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | h | #ifndef MAPPOINT3D_H
#define MAPPOINT3D_H
#include "common_include.h"
namespace mixmap
{
class Frame;
}
namespace vocore
{
class MapPoint3d
{
public:
typedef std::shared_ptr<MapPoint3d> Ptr;
unsigned long id_; // ID
static unsigned long factory_id_; // factory id
bool good_; // wheter a good poi... | [
"243652457@qq.com"
] | 243652457@qq.com |
2b4a9e550f95eb53464ef6ecb3fd02beef871e54 | 4033100805905577cc1e75b1cdec88f43e9205c7 | /core/utility/include/reference.h | 0338529fb6f2017a6363f5366226e73095f1e96d | [
"MIT"
] | permissive | uwdb/lightdb | de69ed28bf8ceb13e2ef1cffa2b32a80d5244fa3 | b24edb60b601a948e6b441e2ccc59b1911c47ac9 | refs/heads/master | 2023-05-31T21:21:07.674916 | 2023-05-16T20:08:26 | 2023-05-16T20:08:26 | 90,768,966 | 36 | 5 | null | 2021-02-18T18:02:27 | 2017-05-09T16:40:37 | C++ | UTF-8 | C++ | false | false | 5,967 | h | #ifndef LIGHTDB_REFERENCE_H
#define LIGHTDB_REFERENCE_H
#include "errors.h"
#include <memory>
#include <unordered_map>
#include <optional>
namespace lightdb {
class DefaultMixin {
public:
inline void PostConstruct(const DefaultMixin&) const { }
};
template<typename T, typename Mixin=DefaultMixin>
class shared_r... | [
"bhaynes@cs.washington.edu"
] | bhaynes@cs.washington.edu |
8bd2a03d5c01a738ea10ef238551687480dd3fa7 | fec81bfe0453c5646e00c5d69874a71c579a103d | /blazetest/src/mathtest/operations/smatsmatkron/DCaSCa.cpp | 7e7494983bb7f4a250d174a4e0fbd4495686f85a | [
"BSD-3-Clause"
] | permissive | parsa/blaze | 801b0f619a53f8c07454b80d0a665ac0a3cf561d | 6ce2d5d8951e9b367aad87cc55ac835b054b5964 | refs/heads/master | 2022-09-19T15:46:44.108364 | 2022-07-30T04:47:03 | 2022-07-30T04:47:03 | 105,918,096 | 52 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 4,335 | cpp | //=================================================================================================
/*!
// \file src/mathtest/operations/smatsmatkron/DCaSCa.cpp
// \brief Source file for the DCaSCa sparse matrix/sparse matrix Kronecker product math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Rese... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
0b3d3410a5c62a3fa913a4fb17107e83776e32cc | e30bb72d0836bd9bda3279dc469a3b3a5e78724c | /test/unittest/test_factory_template.cpp | d83e3b899402f877a9bb7be5f3bae44088e0e0f9 | [] | no_license | hutusi/xns | 2f2bc30c7421d3a80826e1e20b077816f7d4e098 | 3bd838e1b51566d1d837bb0abfa3e869a3d5866a | refs/heads/master | 2016-09-06T00:40:54.589869 | 2012-09-27T15:32:41 | 2012-09-27T15:32:41 | 3,582,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp |
#include "xns/pattern/factory_template.h"
#include "xns/pattern/singleton.h"
#include "gtest/gtest.h"
using namespace testing;
using namespace std;
class Product{
public:
virtual void Show(){cout<<"I'm base!";}
DEFINE_SINGLETON(Product)
};
class AP : public Product{
public:
DEFINE_PRODUCT_MAKER(Product, AP)
vi... | [
"huziyong@gmail.com"
] | huziyong@gmail.com |
f467462e62c0f4b2181370d9198990dc5d083613 | 1e944c61257df92db3e8fff37302cfa38e9f1717 | /src/gamecontroller_subsystem.cc | 3d172dcd137728cf75f22fc531892d970e388f76 | [] | no_license | wilhelmtell/glasses | 273ece7c15d1940c468eed4553e18ff1a87fce8a | 650eabcc7170b064e8589ef1b35827861f05184c | refs/heads/master | 2021-01-17T12:54:31.700871 | 2016-07-24T14:18:00 | 2016-07-24T14:18:00 | 58,410,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cc | #include "gamecontroller_subsystem.hh"
#include "subsystem_init_error.hh"
#include <SDL2/SDL.h>
namespace gls {
gamecontroller_subsystem::gamecontroller_subsystem() {
if(SDL_InitSubSystem(SDL_INIT_GAMECONTROLLER) < 0)
throw subsystem_init_error(SDL_GetError());
}
} // namespace gls
| [
"matan.nassau@gmail.com"
] | matan.nassau@gmail.com |
1d556e3f7d7fe15213f11d8970dd83fb075227cc | 2a60865fe06327e545e8bdea149315baa6e56e23 | /src/cholmpi.cpp | 2a27ca34b87efe55eb26ee5496c52247b12a0a60 | [] | no_license | pguz/CholeskyFactorization | 7dc4463b9fc1791e1c8334fd38921c58b571f538 | a415a32876ee347f64f6524f1e36757f53e53de9 | refs/heads/master | 2016-09-06T04:45:44.638615 | 2015-02-21T13:02:39 | 2015-02-21T13:02:39 | 31,124,319 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,646 | cpp | #include <fstream>
#include <cmath>
#include <stdlib.h>
#include <iostream>
#include <cassert>
#include <stddef.h>
#include <sys/time.h>
#include <math.h>
#include <mpi.h>
double gettime_ (void) {
struct timeval timer;
if (gettimeofday(&timer,NULL))
return -1.0;
return timer.tv_sec+1.0e-6*timer.tv_usec;
}
bool ... | [
"pawelguz@gmail.com"
] | pawelguz@gmail.com |
f902a4198a895929b2069f20983b45a3ad49fc21 | 9c09ff82d3eeb1977ff8cf06c9f4565abb75183e | /databaseDriver.cpp | 1e979d28203df08078c5554d6ca6c31faa728f37 | [] | no_license | zachnudels/3022H-Assignment1 | ec7262ebce553d102986949b0f3aa40bc7b0be5f | a4ef808a614558b41c36a4f0017917054666769f | refs/heads/master | 2021-04-26T23:09:16.207957 | 2018-03-05T15:33:48 | 2018-03-05T15:33:48 | 123,937,490 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,897 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <cstdlib>
#include "students.h"
int main(void)
{
using namespace std;
string command;
NDLZAC001::printMenu();
while(command!="q")
{
cout << "\n";
cin >> command;
system("clear");
cout << command << "\n\n";
... | [
"zachnudels@gmail.com"
] | zachnudels@gmail.com |
0e185996787b115ad842b395833a160193c704a8 | ced0044646a4271afadc9d5aecb0cebe34051d4a | /Plugins/FFMPEGMedia1/Source/FFMPEGMedia/Private/FFMPEG/FFMPEGDecoder.h | e4aa819f5124f804c321c65ad58839e26e0a9ad6 | [] | no_license | asdlei99/example_ue4 | dd4cf53b360cb29222c52a640a6249d99eaf0730 | cbbc63e917900a63cb3802dbd3d90f916650f41b | refs/heads/master | 2022-04-12T11:19:19.581619 | 2020-03-13T11:49:56 | 2020-03-13T11:49:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,141 | h | #pragma once
#include "CondWait.h"
#include "FFMPEGPacketQueue.h"
#include "FFMPEGFrameQueue.h"
#include <thread>
extern "C" {
#include <libavcodec/avcodec.h>
}
class FFMPEGDecoder
{
public:
FFMPEGDecoder();
~FFMPEGDecoder();
void Init(AVCodecContext *avctx, FFMPEGPacketQueue *queue... | [
"gxj21720@126.com"
] | gxj21720@126.com |
678818fc6e3a1d1b431ef8198f35119a5e804a3f | 6a6e28867e78bf3f4e88b3639cf27074b0153226 | /C++_Standard.cpp | c01c864c91c17065124bb4866a2e2ca416c75423 | [] | no_license | denden-kata/Study | 02ecee28b7e4e8818b8dbc74f99e1a02d9e23d9b | 2f7e9ec06aae99418e82f0dbd69ac09bce542f3c | refs/heads/master | 2021-01-02T09:18:36.209727 | 2018-09-23T15:41:21 | 2018-09-23T15:41:21 | 99,189,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | /*
コメント例
*/
// C++の標準入出力ライブラリ
#include<iostream>
// 出力(cout)を使用するために記述
using namespace std;
int main(){
// C++ では特定の文字や数値の表記を「リテラル」と呼ぶ
// 文字列リテラル
cout << "これがC++の標準出力だ!\n";
// 文字リテラル
cout << 'A' << '\n';
// 数値リテラル
cout << 123 << '\n';
// エスケープシーケンス(特殊文字の出力) ⇒ "\" をつける
cout... | [
"denden3104@gmail.com"
] | denden3104@gmail.com |
03dc59b533f4a4bed51ba16c6ae155196b8cd67c | e8bd00c6904a163024783cb31403a5ff668750e3 | /libs/bcg_library/math/Mathematics/LogToStdout.h | ec86bd6123fc53b06737aa989cabe18804ed118f | [] | no_license | intrinsicD/basics_lab | 165f53d9420de7ab7abd8bde5f3f32b9824f5762 | 109afca04014275015efc93e0472412d8f3feb13 | refs/heads/basics_lab | 2023-04-14T04:54:25.658721 | 2021-04-13T05:52:09 | 2021-04-13T05:52:09 | 343,719,615 | 0 | 3 | null | 2021-04-13T05:52:09 | 2021-03-02T09:37:53 | C++ | UTF-8 | C++ | false | false | 622 | h | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2020
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2019.08.13
#pragma once
#include <Mathematics/Logger.h>
#... | [
"dieckman@cs.uni-bonn.de"
] | dieckman@cs.uni-bonn.de |
187e56e212fcf47bff0b692150224f5c3eb39334 | 72d740ddb5fa5aa88874b197d3352cc899f3fca6 | /SPOJ/BRCKTS.cpp | 158e94ad2ee3eff45d746b15653edef9b42f2bc4 | [] | no_license | abdullaAshraf/Problem-Solving | b632dabfc40ce7333b6c86deb1384e7834835934 | f89f334b36f8294f1a5aef228723a666c6fc788e | refs/heads/master | 2018-09-18T06:14:44.792582 | 2018-08-19T05:37:24 | 2018-08-19T05:37:24 | 112,501,076 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,184 | cpp | /*
Author: Abdulla Ashraf
Idea:
-keep 2 paramters for every node in the segment tree , how many unmatched left and right facing bracktes
-when conecting 2 segments match as much unmatched bracktes as possible
-answer is the answer for the whole segmet tree which exist at 1.
*/
#include <bits... | [
"noreply@github.com"
] | abdullaAshraf.noreply@github.com |
45ecc2633cc89a85275a52e03bf2d9f486f2b1b5 | 146d64aa4de1ddd14995ed3c9aaaa08ac8c6a92b | /all-cpp-files-v2/doctors.cpp | 67dde7f434c1e2ba20d98fbf846cfd9d8311ecab | [] | no_license | orestotel/hacktoberfest-ProjectCPlusPlus | 09edc23a3a9f1d148fe623f105b67398744c0dc3 | baabde9f6957cb108f5208ebba0c194b96687a32 | refs/heads/master | 2021-07-10T15:49:15.890975 | 2019-12-28T10:02:46 | 2019-12-28T10:02:46 | 206,317,639 | 1 | 7 | null | 2020-10-02T13:23:54 | 2019-09-04T12:47:44 | C++ | UTF-8 | C++ | false | false | 1,054 | cpp | ...
//beginning to be added
void print(People**a, int u,string ill){
for(int i=0;i<1;i++){
Patient*p=dynamiccast-Patient*>(a[i]);
if(p!=null){
o=(Patient*)(a[i]);
if(p->getIllness()==ill){
p->output(cout);
}
}
}
}
//створити базовий тип транспортний засіб
//рік випуску, назва
/... | [
"orekpk@gmail.com"
] | orekpk@gmail.com |
2b2f23f6311a218ece59319a2521ba4f1c7a9529 | 620ad318d120802b5f85616f6d114a790fe1a80a | /XYZ_DBT.cpp | 59e074edc874867d92b9254e74d27e0cd49409f6 | [] | no_license | realbigws/DeepOpen_source | 2b2de98c1c09ca24bcfb8136c4eaf7e6ec0ee6de | 2802ea4f7cdce35f968ec1dae8f04336a5b49a37 | refs/heads/master | 2021-01-21T05:02:37.762274 | 2018-12-04T12:46:42 | 2018-12-04T12:46:42 | 39,541,440 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,209 | cpp | #include "XYZ_DBT.h"
//--------------constructor--------------------//
XYZ_DBT::XYZ_DBT(void)
{
//init_process (determine_first_three)
cle_X_Axis[0]=1.0;
cle_X_Axis[1]=0.0;
cle_X_Axis[2]=0.0;
cle_Z_Axis[0]=0.0;
cle_Z_Axis[1]=0.0;
cle_Z_Axis[2]=1.0;
}
XYZ_DBT::~XYZ_DBT(void)
{
}
//--------------- function -----... | [
"realbigws@gmail.com"
] | realbigws@gmail.com |
820277d0ee813ab422dc5ed4fc3ec805f7e9bc8e | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/shell/ext/ratings/msrating/mslubase.cpp | 53c94d8755a7f672e46e2347d6c21c8aafc43757 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 32,951 | cpp | /****************************************************************************\
*
* MSLUBASE.C --Structures for holding pics information
*
* Created: Jason Thomas
* Updated: Ann McCurdy
*
\****************************************************************************/
/*Includes-----... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
4718e661738a1500156973c4125af6eb86636f09 | 28deeddb892e01cc44ae45739e83e5774b197b2e | /source/Irrlicht/CFileSystem.cpp | 002b386691eaccf4925e25937a6b7d912c49488c | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"Zlib"
] | permissive | gametechnology/psi-old | c3e4430f3f57751371324ea5be0a579bae45a63a | aade1b7a4db670a24f8eb9a2a39f3eb84d40addc | refs/heads/master | 2021-01-15T21:48:44.375001 | 2013-03-04T11:43:00 | 2013-03-04T11:43:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,447 | cpp | // Copyright (C) 2002-2011 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "IrrCompileConfig.h"
#include "CFileSystem.h"
#include "IReadFile.h"
#include "IWriteFile.h"
#include "CZipReader.h"
#include "CMountPointR... | [
"stephan@vanderfeest.nl"
] | stephan@vanderfeest.nl |
a529a2b6ecc16b336f71e53ccdb3c22029ab334b | b0eda7d367ae3bba928fd5c1df318a6034317ed1 | /Source/ResourceManager/cubemap.h | 6a8b4d0b8313cc05aa0139a03bf4375fad64c085 | [] | no_license | Bargestt/GameFrame-DROPPED | dc098465ea93db9c2ffeeee68b94990ffbf439ec | 8a9345a2582b55bc5994d4b1335739138addc4d8 | refs/heads/master | 2021-07-02T10:16:11.524246 | 2017-09-23T12:51:29 | 2017-09-23T12:51:29 | 104,484,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | h | #ifndef CUBEMAP_H
#define CUBEMAP_H
#include "gtexture.h"
class CubeMap : public GTexture
{
public:
CubeMap();
bool load(std::vector<std::string> faces);
void bind() const override;
};
#endif // CUBEMAP_H
| [
"bulgakovbarg@ya.ru"
] | bulgakovbarg@ya.ru |
40ded8f34349661f81d88c0d7e4aca48ade1fa6c | dd7da9964eeae4d0839709fff92f6f4da2c0c26b | /NodeMCU_ConexaoWiFi/NodeMCU_ConexaoWiFi.ino | be592af996bf6a4e8ccbf50ac57cfc3801aaad93 | [] | no_license | EduardoFRRZ/NodeMCU_ESP8266 | 93f9eed4d5a1cf8a93e012eae48b823559f952ac | 90dbb6fc880905d5d8f05cfc27db0161685a1e71 | refs/heads/master | 2020-07-19T07:23:05.151671 | 2019-09-04T20:28:45 | 2019-09-04T20:28:45 | 206,154,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | ino | #include <ESP8266WiFi.h>
#include <PubSubClient.h>
// Dados do WiFi
const char* ssid = "Net Virtua 577";
const char* password = "1000160930";
void setup() {
Serial.begin(115200);
// Inicia conexão com o WiFi
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.... | [
"eduardogd20@gmail.com"
] | eduardogd20@gmail.com |
79617b59c86a8687b288c1dcac25b7961310c15f | dad699d7c5359cbafcb39006345b138f098a8124 | /rrbs/test.cpp | a48412ab8cabfc772e592618278ee944329067f9 | [] | no_license | ZhouQiangwei/utils | 48328f6cb871c0b552cb7f6db7b84cc1077d5ea6 | 1450cb9c322db5560540d33ba026a7548011446d | refs/heads/master | 2020-03-26T05:46:20.600045 | 2018-08-13T12:28:46 | 2018-08-13T12:28:46 | 144,573,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
string str="01234567890000";
int a;
a=str.find("0");
cout<<a<<endl;//返回0
a=str.find("123");
cout<<a<<endl;//返回1
a=str.find("456");
cout<<a<<endl;//返回4
return 0;
}
| [
"1010170266@qq.com"
] | 1010170266@qq.com |
e2da676abb06717cbc00be8cffb81bbd01cf66f0 | c20c4812ac0164c8ec2434e1126c1fdb1a2cc09e | /Source/Source/KG3DEngine/KG3DEngine/KG3DAnimationSplitter.cpp | 06eddede53591ae27655fe923ba30a7045c584d9 | [
"MIT"
] | permissive | uvbs/FullSource | f8673b02e10c8c749b9b88bf18018a69158e8cb9 | 07601c5f18d243fb478735b7bdcb8955598b9a90 | refs/heads/master | 2020-03-24T03:11:13.148940 | 2018-07-25T18:30:25 | 2018-07-25T18:30:25 | 142,408,505 | 2 | 2 | null | 2018-07-26T07:58:12 | 2018-07-26T07:58:12 | null | GB18030 | C++ | false | false | 22,224 | cpp | #include "StdAfx.h"
#include "KG3DAnimationSplitter.h"
#include "KG3DEngineManager.h"
#include "KG3DGraphicsTool.h"
#include "KG3DAnimationTagContainer.h"
#include "KG3DClipTable.h"
#include "KG3DClip.h"
#include "KG3DClipTools.h"
#include "KG3DModelST.h"
const TCHAR* KG3DAnimationSplitter::s_strConfigFile = "Data\\pu... | [
"dark.hades.1102@GAMIL.COM"
] | dark.hades.1102@GAMIL.COM |
ce6400697adec5339f52aa83d9ebd1b144cb55ef | 93e55f080779f16f47a7382a3fb0b29a4189e074 | /convertor/huawei/1.72.T5.0.B050/atc/ccec_compiler/include/llvm/Analysis/BasicAliasAnalysis.h | 049c22022ab400fe42ccaee8f3fe8290632bc0f8 | [] | no_license | jizhuoran/caffe-huawei-atlas-convertor | b00cfdec3888da3bb18794f52a41deea316ada67 | 148511a31bfd195df889291946c43bb585acb546 | refs/heads/master | 2022-11-25T13:59:45.181910 | 2020-07-31T07:37:02 | 2020-07-31T07:37:02 | 283,966,371 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10,609 | h | //===- BasicAliasAnalysis.h - Stateless, local Alias Analysis ---*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"jizr@connect.hku.hk"
] | jizr@connect.hku.hk |
1a5d76fbb4fced3f97ab7d836c963ea5b813d628 | ea9fdab491ca277959f7dc59004d1a30c4ee6be4 | /virtualbox/patches/patch-src_VBox_VMM_testcase_tstX86-1.cpp | e8047bf207409a265a14c969bd85d16869b1d483 | [] | no_license | NetBSD/pkgsrc-wip | 99f40fb6f56e2a5a11840a810e9cf8b6097e7f21 | c94e923855e9515400435b2437a1659fdb26d2fb | refs/heads/master | 2023-08-30T14:27:26.946664 | 2023-08-30T12:09:15 | 2023-08-30T12:09:15 | 42,824,785 | 81 | 59 | null | 2021-01-28T20:10:38 | 2015-09-20T18:44:07 | Makefile | UTF-8 | C++ | false | false | 826 | cpp | $NetBSD$
--- src/VBox/VMM/testcase/tstX86-1.cpp.orig 2016-03-04 19:30:15.000000000 +0000
+++ src/VBox/VMM/testcase/tstX86-1.cpp
@@ -112,6 +112,13 @@ static void sigHandler(int iSig, siginfo
uintptr_t uErr = ~(uintptr_t)0;
uintptr_t uCr2 = ~(uintptr_t)0;
+# elif defined(RT_ARCH_AMD64) && defined(R... | [
"rillig@NetBSD.org"
] | rillig@NetBSD.org |
9066616fa6fd3864773961a102b196c37bb98287 | b35451bfa0035682faa945d7a0951334fb223c71 | /BehaviorTree/Includes/BehaviorTree/Details/DecoratorNode.hpp | 05318d1df3c013e62c7ba578bf986949cdec08b8 | [
"MIT"
] | permissive | herpec-j/BehaviorTree | e185d7bd6b0b4b663aaacf24591aea034425ebe6 | 5f9d2f4e60563dd2d6363dc280fd98f545abfc9a | refs/heads/master | 2021-01-19T08:23:50.167994 | 2015-04-08T07:57:50 | 2015-04-08T07:57:50 | 32,944,336 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,763 | hpp | #pragma once
#include "BehaviorTree/Details/CompositeNode.hpp"
namespace AO
{
namespace BehaviorTree
{
inline namespace Version_1
{
namespace Details
{
template <class Entity, typename... Args>
class DecoratorNode : public CompositeNode < Entity, Args... >
{
protected:
using EntityTyp... | [
"jonathan.herpeche+github@gmail.com"
] | jonathan.herpeche+github@gmail.com |
decfdcd1c8d7e8f837e9c7cefee28d76aa7ff0fe | d4e96aa48ddff651558a3fe2212ebb3a3afe5ac3 | /Modules/ThirdParty/VNL/src/vxl/core/vnl/tests/test_quaternion.cxx | fd0614faad1c823a7bc7e09b2369a475c6d7bb82 | [
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"NTP",
"IJG",
"GPL-1.0-or-later",
"libtiff",
"BSD-4.3TAHOE",
"... | permissive | nalinimsingh/ITK_4D | 18e8929672df64df58a6446f047e6ec04d3c2616 | 95a2eacaeaffe572889832ef0894239f89e3f303 | refs/heads/master | 2020-03-17T18:58:50.953317 | 2018-10-01T20:46:43 | 2018-10-01T21:21:01 | 133,841,430 | 0 | 0 | Apache-2.0 | 2018-05-17T16:34:54 | 2018-05-17T16:34:53 | null | UTF-8 | C++ | false | false | 8,438 | cxx | #include <iostream>
#include <limits>
#include <testlib/testlib_test.h>
#include <vnl/vnl_math.h>
#include <vnl/vnl_random.h>
#include <vnl/vnl_quaternion.h>
#include <vnl/vnl_vector_fixed.h>
#include <vnl/vnl_matrix_fixed.h>
#include <vnl/vnl_rotation_matrix.h>
#include <vcl_compiler.h>
// Tolerance betwee... | [
"ruizhi@csail.mit.edu"
] | ruizhi@csail.mit.edu |
cd60ab80281def89c87a624b6e45a10cf404bdfe | 813eb8705581a31726c432007406c88af4ac9822 | /Kth_root.cpp | e87a573346c30faf917a02e0a6d1d13c987f5b35 | [] | no_license | vansh-kapila/Coding_Blocks_CPP | ac59a8b1e444ab4ef1e2204e9b514ce856ce974d | f660d544e578ab361bc12d52fca539b478057c0e | refs/heads/main | 2023-07-13T20:39:07.878081 | 2021-08-18T07:06:38 | 2021-08-18T07:06:38 | 397,504,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,150 | cpp | /* Author : VANSH KAPILA */
/* "The greatest glory in living lies not in never falling, but in rising every time we fall." -*/
#include <bits/stdc++.h>
#define pb(x) push_back(x)
#define all(x) x.begin(), x.end()
#define debug(x) cout << '>' << #x << ':' << x << endl;
#define int long long
#define ld long double
#def... | [
"vanshkapila2002@gmail.com"
] | vanshkapila2002@gmail.com |
879d921b1214b68999b1eb3a96870eac62d57519 | 2758b84e44ea542f42c087d689e847353426e2db | /Libs/Include/OutputFile.h | 46c5ca95e605f3d2dcf883c89f8f68a44b8388d5 | [] | no_license | stravaganza/sgzsourcepack | db8949506f5d68c6ed23bdf2681b67ba4b485ce6 | 20ac3be3c4a9f994c7119030baff3bad216c5a09 | refs/heads/master | 2016-09-05T14:22:55.940388 | 2013-10-16T07:44:33 | 2013-10-16T07:44:33 | 13,604,601 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | h | // ==[ File ]===================================================================================
//
// -Name : OutputFile.h
// -Proyect : BaseLib
// -Author : Enrique Tromp Maseda A.K.A. Ithaqua^Stravaganza
//
// -Contents : COutputFile definition.
//
// ======================================================... | [
"fernandojsg@gmail.com"
] | fernandojsg@gmail.com |
80bd10e77d61bb41896fad1ab6b944edcaf47689 | 871cca811f1517447f04fd3c57597df1342bc487 | /c/dp/0-1.cpp | 964c0258621c769830e48b14b9733ffac622218e | [] | no_license | sonaspy/LeetCode | a4794f3ab46ba8116ea78a2fd48253735469e212 | da34f85a393ba0d2c566949c2c10ae7d1bca0580 | refs/heads/master | 2021-06-22T04:06:02.147723 | 2021-01-04T12:22:40 | 2021-01-04T12:22:40 | 175,682,471 | 0 | 0 | null | 2020-09-20T11:12:06 | 2019-03-14T19:00:16 | C++ | UTF-8 | C++ | false | false | 829 | cpp | // author -sonaspy@outlook.com
// coding - utf_8
#include <bits/stdc++.h>
#define test() freopen("in", "r", stdin)
using namespace std;
vector<int> w, d;
int n, m;
int main(int argc, char const *argv[])
{
/* code */
//test();
cin >> n >> m;
w = vector<int>(n + 1);
d = vector<int>(n + 1);
vect... | [
"sonaspy@zju.edu.cn"
] | sonaspy@zju.edu.cn |
2439bff0acead2f5024ab2c0655c0df3412c69a8 | 13e3207ae5a63c70cabcf2bab00547df487ea657 | /MetodyPomocnicze.cpp | fc46e552672beb19f60331782782ee5c695f3f47 | [] | no_license | mateuszklosek/Budzet_Osobisty | 8a6f926f1b5a3e4eee3d40e1199bdd7cb250d3e8 | 74f087d5c807ff8c8a2f8cb07b17eec740e360d3 | refs/heads/master | 2023-03-03T07:26:36.329774 | 2021-02-07T20:33:50 | 2021-02-07T20:33:50 | 332,528,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,202 | cpp | #include "MetodyPomocnicze.h"
char MetodyPomocnicze::getChoice() {
string wejscie = "";
char znak = {0};
while (true) {
getline(cin, wejscie);
if (wejscie.length() == 1) {
znak = wejscie[0];
break;
}
cout << "To nie jest pojedynczy znak. Wpisz pono... | [
"klosekmateusz@gmail.com"
] | klosekmateusz@gmail.com |
a6f531f41a1a17c953a91b947c9d38d98d64e7c0 | 19d05e32de0f8e3f949e4dc3e29100497cc32204 | /ocs2_ipm/src/IpmSolver.cpp | 46ea304b7c1fbcc91754c9cd85663b745ebb8732 | [
"BSD-3-Clause"
] | permissive | scmwang/ocs2 | 4ff6cad19520a839fb14986d589c636078f5ec1a | ebde452b10d0eceaac45364f7bb8f0ac1038b637 | refs/heads/main | 2023-07-10T22:59:25.645731 | 2022-12-20T17:07:07 | 2022-12-20T17:07:07 | 395,916,310 | 0 | 0 | BSD-3-Clause | 2021-08-14T06:37:03 | 2021-08-14T06:37:03 | null | UTF-8 | C++ | false | false | 48,945 | cpp | /******************************************************************************
Copyright (c) 2020, Farbod Farshidian. 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 mu... | [
"ihtf4ta7f@gmail.com"
] | ihtf4ta7f@gmail.com |
80196820e371658cd9c51c1ffe58ef832e57c070 | f3478562ae598ed6d0e8d4c124010c5be38afe08 | /src/qt/notificator.h | da49a7c624440e329606016c89dffc3fca4f2f14 | [
"MIT",
"FSFAP"
] | permissive | cryptocoinico/cloudnode-v2 | 782f5f6379bcd6e79359b6ef73dd272f7712b9f3 | 75c21d6602bc96b95ba715825b7648751736f77b | refs/heads/master | 2020-06-15T16:40:01.531396 | 2019-06-13T13:59:56 | 2019-06-13T13:59:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,820 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_NOTIFICATOR_H
#define BITCOIN_QT_NOTIFICATOR_H
#if defined(HAVE_CONFIG_H)
#include "config/cloudenode-conf... | [
"udaydeep.yadav@gmail.com"
] | udaydeep.yadav@gmail.com |
c1dff27d5a2d78d82574d83c07d2f8daaaad3b3c | d4d06745a1ed357cad9ef1dc03462bfbe65b1d63 | /day00/ex01/src/main.cpp | 9704bcb907fc6a7deff5be927a7999fb118e4a7f | [] | no_license | potatokuka/Cpp_Piscene | 5d7c7b5af0691f347e5b2dde9027ea9fdacbcd00 | f203d026ad0ab12d5711ddd18686e4335703a762 | refs/heads/master | 2022-12-16T13:44:51.960228 | 2020-09-18T10:09:10 | 2020-09-18T10:09:10 | 282,245,546 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,326 | cpp | /* ************************************************************************** */
/* */
/* :::::::: */
/* main.cpp :+: :+: ... | [
"griffin.reed3@gmail.com"
] | griffin.reed3@gmail.com |
5f79e62a0bed784d4d578938f5cb3d12bce31e4b | be59c390795966476e777e8b75e27b5999640ee0 | /src/device/device.hpp | 02dd2db63b73f8b2ca0a36ebf347d4555d8988ec | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | BRTChain/BRT-Chain | cdefbb1ab54c186b1f66e01c4bc5cf97b830f45a | e4bfc027bc82eb79940331f9d334ab31708d4202 | refs/heads/master | 2022-12-21T15:57:45.359810 | 2020-09-26T08:02:12 | 2020-09-26T08:02:12 | 298,766,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,514 | hpp | // Copyright (c) 2017-2020, The BRT Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this list of
/... | [
"blockchainServ01@gmail.com"
] | blockchainServ01@gmail.com |
2e77a47d55bc808bd2666548ee62910294bc5111 | ab82efbe38387847fdb59be73a6193ddf636ff11 | /cpp/004/004.cpp | 04d53fc7a2b8bfde12f07ac28a581048e65cdb2d | [] | no_license | j-browne/euler | 88d00688579b81d49599147a91af706fcf598bc9 | 224f0893365f8f7ec83c040b889098d2517b2684 | refs/heads/master | 2022-12-11T23:48:34.247440 | 2020-09-20T05:46:26 | 2020-09-20T05:46:26 | 291,895,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | #include <iostream>
#include <sstream>
#include <string>
using namespace std;
bool palindrome (int num)
{
stringstream stream;
string str;
string::iterator f;
string::reverse_iterator b;
stream << num;
str = stream.str ();
for (f = str.begin (), b = str.rbegin ();
f != str.end () && b != str.rend ();
... | [
"jebdude89@gmail.com"
] | jebdude89@gmail.com |
232080facce11a1f3bd419fad2d355812bd2630b | 36579e820f5c07cd1fe796abc777f23f32efeb10 | /src/cc/paint/paint_op_reader.cc | b89c8e677dd54676787a283c47ed83f04833ca62 | [
"BSD-3-Clause"
] | permissive | sokolovp/BraveMining | 089ea9940ee6e6cb8108b106198e66c62049d27b | 7040cdee80f6f7176bea0e92f8f3435abce3e0ae | refs/heads/master | 2020-03-20T00:52:22.001918 | 2018-06-12T11:33:31 | 2018-06-12T11:33:31 | 137,058,944 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 34,844 | cc | // Copyright 2017 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 "cc/paint/paint_op_reader.h"
#include <stddef.h>
#include <algorithm>
#include "cc/paint/image_transfer_cache_entry.h"
#include "cc/paint/paint... | [
"sokolov.p@gmail.com"
] | sokolov.p@gmail.com |
39157dc64028bb3c7be94c009aac25ebcd5dba05 | be6601674657294784b9ef455c1773d73ad657d9 | /PandoraSDK/include/Objects/OrderedCaloHitList.h | b1434358dcb8a4c41d55ac199a0d220a0acf648d | [] | no_license | cms-externals/pandora | 0a7a7eaec6596f57bec89f28e72ac4eb04a68eb7 | 41abc90c25109c5bc91896079546e53a8586c057 | refs/heads/master | 2016-09-05T13:13:39.703922 | 2015-03-12T09:48:17 | 2015-03-12T09:48:17 | 31,168,496 | 0 | 1 | null | 2015-03-12T09:48:20 | 2015-02-22T16:01:51 | C++ | UTF-8 | C++ | false | false | 7,778 | h | /**
* @file PandoraSDK/include/Objects/OrderedCaloHitList.h
*
* @brief Header file for the ordered calo hit list class.
*
* $Log: $
*/
#ifndef PANDORA_ORDERED_CALO_HIT_LIST_H
#define PANDORA_ORDERED_CALO_HIT_LIST_H 1
#include "Objects/CaloHit.h"
#include "Pandora/PandoraInternal.h"
#include "Pandora/Sta... | [
"a.degano@gmail.com"
] | a.degano@gmail.com |
5c3e05d22e8b42ad708761034b2c3f2148153589 | 15ffb46a378b034ac16df9a42c4a799fa3ba79eb | /code/util/cust_memory_pool.cc | d705ee6e20fdd0b2cda88ad4430766ce6d8d3fe1 | [] | no_license | cloudfuse-io/lab-cpp | bad69e95946b4d14b8f82935e97a1d86d9c3560c | 5d357ed46673044e710884feec79f667432aefe3 | refs/heads/master | 2022-12-23T10:36:51.629721 | 2020-10-01T14:08:21 | 2020-10-01T14:08:21 | 300,302,731 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,685 | cc | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | [
"rdettai@gmail.com"
] | rdettai@gmail.com |
5a5d3206516a3729f6bc90a772fb5ae6a6721af6 | d64dabe0b2136523fa9e75847189738946c3899d | /new/dayz_code/config/CfgMagazines/Attachments/SupBizon.hpp | ace64cdf45473aedcca8bfbd8f1802723b4b3ef0 | [] | no_license | AlexAFlorov/DayZ | d506eced27c5234fa3953979fca6c210ccd4f019 | e66dbe751409e70e141f29d76f7b0ec6141a7578 | refs/heads/Development | 2021-01-14T14:16:21.149249 | 2016-07-25T00:01:28 | 2016-07-25T00:01:28 | 39,254,564 | 0 | 0 | null | 2015-07-17T13:06:56 | 2015-07-17T13:06:56 | null | UTF-8 | C++ | false | false | 609 | hpp | class Attachment_SupBizon : CA_Magazine
{
scope = public;
count = 1;
type = WeaponSlotItem;
model = "z\addons\dayz_communityassets\models\surpressor.p3d";
picture = "\z\addons\dayz_communityassets\pictures\attachment_silencer.paa";
displayName = $STR_ATTACHMENT_NAME_SILENCER_BIZON;
descriptionShort = $STR_AT... | [
"asfoxyy@gmail.com"
] | asfoxyy@gmail.com |
ff828e61d0c9914c1154cf05988dc8fc112de0e0 | 3ae2a16953f0262a42a0bcfbd0ac63cb1895f1d5 | /MPI_Online_Course/Lecture_4/reduce_parts.cpp | 5a8a1059084282b48419538a3df9427ea2bd00b2 | [] | no_license | TaigoFr/ARCHER_MPI | da01ddf529024c10229c6a9e219e779fa7717118 | cb02ce1173496f989a42d0d9248f7b76efb53c46 | refs/heads/master | 2020-04-25T04:39:03.192748 | 2019-04-04T15:22:27 | 2019-04-04T15:22:27 | 172,517,454 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,724 | cpp |
#include "mpi.h"
#include <cstdio>
#include <cstring>
#include <fstream>
#include <cmath>
#include <iomanip> //setprecision
/*
N=10
SIZE | Time for 1M*2*N iterations
1 1.4s
2 ~4.7s
3 ~5.1s
4 ~6.0s
5 ~8.0s
6 ~9.8s
7 ~10.2s
Average: ~[0.24us-0.09us]
Latency (from pingpong exercise): ~0.3us
Big delay for 1 CPU.... | [
"taigo.fr@outlook.com"
] | taigo.fr@outlook.com |
fd15e8dbb3ec0d147b4afd18805f824a7ce11f57 | 920b66d220bdcd6c65a0e80a1c3cb9a7e042685a | /cruise/navigation_tutorials/simple_navigation_goals_tutorial/src/simple_navigation_goals.cpp | af397fe7225466150d11d79adce26eaad14de9ec | [] | no_license | NKU-ZiXuan/Graduation_Project | 34795b1f9202380a2feac347ac290425bf05e763 | d2bf757084f274677e953ea20c8f9fd5b824698d | refs/heads/master | 2022-07-27T08:00:27.497738 | 2020-05-23T04:02:13 | 2020-05-23T04:02:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,636 | cpp | /*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following cond... | [
"gjxslwz@gmail.com"
] | gjxslwz@gmail.com |
bb200d39b22a33f96c9b87729f4111855f2c7fed | e778be8ebc60a2ec915698280f17fafffe55c5fb | /platforms/imx8mm/include/nav_os/conf/nav_os_conf.h | 1d60473fd18963b7a8758c3cf57f7d69e8babeec | [] | no_license | 3JLinux/xag_xhome | 30b933e11b40ff3c72c810e49a857caaf49a7247 | c2b00f449354cf12b72c8c87246a3b4493b751d8 | refs/heads/master | 2023-06-14T08:05:29.771649 | 2021-07-02T02:00:42 | 2021-07-02T02:00:42 | 382,225,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | h |
#include <string>
namespace xag_nav{
namespace os{
namespace conf{
const std::string XAG_NAV_UPDATE_FLAG_FILE = "/usr/local/xag_navigation_update_pkg/xag_nav_update_flagfile";
}
}
} // namespace xag_nav
| [
"421721486@qq.com"
] | 421721486@qq.com |
4390675429fa71add3aa7efc58bf4f79a28e2bf6 | 21d95c8e302242eb03e334d97ff51b9fee8fff90 | /server/src/jMetalCpp/Ranking.cpp | 32971e859fe481cafe855636f5d2e719cb34a455 | [] | no_license | nszknao/master | 8e909336476efba112e27bd5c4478373a191db12 | ef7fd255209e7ef3d63a483ae03a55b54727a194 | refs/heads/master | 2023-04-30T16:23:17.485757 | 2023-04-26T07:26:17 | 2023-04-26T07:26:17 | 45,908,367 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,929 | cpp | // Ranking.cpp
//
// Author:
// Antonio J. Nebro <antonio@lcc.uma.es>
// Juan J. Durillo <durillo@lcc.uma.es>
// Esteban López-Camacho <esteban@lcc.uma.es>
//
// Copyright (c) 2011 Antonio J. Nebro, Juan J. Durillo
//
// This program is free software: you can redistribute it and/or modify
// it u... | [
"iloilo_has@yahoo.co.jp"
] | iloilo_has@yahoo.co.jp |
c854e0d8e46b0ff24b693ded0f0516930e8facb4 | 451ea083d1dce106ffb3ab7c78e8fa3abe61a725 | /Day 149/luckyNumber.cpp | f09ca046b75eaacd3ad5d9c2eb24f74fd77ff15e | [] | no_license | S4ND1X/365-Days-Of-Code | 52dd6a8b9d0f5c3c27b23da8914725e141d06596 | 257186d2a4d7c28a3063add55d6b72d20fccb111 | refs/heads/master | 2022-04-19T22:55:08.426317 | 2020-03-02T23:35:28 | 2020-03-02T23:35:28 | 164,487,731 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 933 | cpp | // A. Nearly Lucky Number
// time limit per test2 seconds
// memory limit per test256 megabytes
// inputstandard input
// outputstandard output
// Petya loves lucky numbers. We all know that lucky numbers are the positive integers whose decimal representations contain only the lucky digits 4 and 7. For example, numbers... | [
"42609763+S4ND1X@users.noreply.github.com"
] | 42609763+S4ND1X@users.noreply.github.com |
d0ed60208643893d32e6fc741e7783ea7bd873c8 | 11ade524c747aa7497724cb8996fe465790e35f4 | /src/tcpsocket.cpp | 944c2abb79840ed0599477a7aa7313968cfa6722 | [] | no_license | zstoychev/retrace-distributed | 08a3831a11395738ed2a8c975020c90eee0a7196 | 14c52bc42e80d5fc1f1cc3f033ff8ba4f7bd1b7a | refs/heads/master | 2021-01-23T03:28:31.375682 | 2012-09-09T19:16:27 | 2012-09-09T19:16:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,843 | cpp | #include "tcpsocket.h"
#include <algorithm>
Socket::Socket() {
}
Socket::Socket(const char* host, int port) {
IPaddress ip;
if(SDLNet_ResolveHost(&ip, host, port) == -1) {
throw NetworkException();
}
if ((socket = SDLNet_TCP_Open(&ip)) == 0) {
throw NetworkException();
}
set.addSocket(*this);
}
Socket::... | [
"zstoychev@gmail.com"
] | zstoychev@gmail.com |
7927e88cc7fe5b60faade7384e859253a6b0a5f0 | ef8e28a7b0648d3e09e39d037c0d313a98ef3cea | /D2/1986. 지그재그 숫자.cpp | a71032f5ba6d2ebd488ee91b40a2f1c195e467c1 | [] | no_license | RBJH/SWExpertAcademy | 07eecf6039e8178797e0a9ac3b0e9c8aa43f0c3e | 3b3cb2f71ce33e8f748831e4cb8c5b032551f846 | refs/heads/master | 2020-07-03T09:12:44.652707 | 2019-10-25T12:33:55 | 2019-10-25T12:33:55 | 201,862,798 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | cpp | #include <iostream>
using namespace std;
int T, N;
int main() {
cin >> T;
for (int t = 1; t <= T; t++) {
cin >> N;
int result = 0;
for (int n = 1; n <= N; n++) {
if (n % 2)
result += n;
else
result -= n;
}
cout << '#' << t << ' ' << result << '\n';
}
retur... | [
"46277703+RBJH@users.noreply.github.com"
] | 46277703+RBJH@users.noreply.github.com |
a71829e99cdacce8c20c5f5e91d5685160aee850 | 45e0fbd9a9dbcdd4fbe6aaa2fdb2aed296f81e33 | /FindSecret/Classes/Native/mscorlib_System_Collections_Generic_Dictionary_2_Va767236274.h | dc48fe21d8f3e776749b4e8df3563bab2d977b12 | [
"MIT"
] | permissive | GodIsWord/NewFindSecret | d4a5d2d810ee1f9d6b3bc91168895cc808bac817 | 4f98f316d29936380f9665d6a6d89962d9ee5478 | refs/heads/master | 2020-03-24T09:54:50.239014 | 2018-10-27T05:22:11 | 2018-10-27T05:22:11 | 142,641,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,425 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object3080106164.h"
// System.Collections.Generic.Dictionary`2<System.UInt32,System.Collections.Generic.List`1<ZGGame.AssetLoadData>>
struct Di... | [
"zhangyide@9fbank.cc"
] | zhangyide@9fbank.cc |
96a325a82ab4e473bea1274513ba378b29d926f3 | cff8e3ed690c9fb7ef3cf5b982d79712e5c4bd86 | /ipc/ipc_channel_posix.cc | ac9de554657771704fe9d7a58bbad53c5587522d | [] | no_license | sinoory/chromebase | 33d1de7224b54ec3ba854a3a1532239bbea02eb0 | 59b86d44c9a3b83fe0330f120245ae853de9ea6e | refs/heads/master | 2021-01-10T03:20:20.101937 | 2015-12-18T08:44:28 | 2015-12-18T08:44:28 | 48,563,156 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 34,852 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ipc/ipc_channel_posix.h"
#include <errno.h>
#include <fcntl.h>
#include <stddef.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <... | [
"wangc_os@sari.ac.cn"
] | wangc_os@sari.ac.cn |
272e8a415faa1f7e304e8651891c7873ab0d8eb2 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Codes/AC/3844.cpp | 19560efdf9da0ae5a1de8b4b4ac926253713fe4c | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,a,b) for(int i = (a); i < (b); i++)
#define iter(it,c) for(__typeof((c).begin()) it = (c).begin(); it != (c).end();++it)
typedef pair<int,int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
typedef long long ll;
const int INF = ~(1<<31);
const double pi =... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
77b4cbf73a8b066b37f07c7b41aaf5e83001f702 | 71b88bd1e34823ca9dcc29ae97db8eb852d2130d | /LAFORE_CH_11_EX3_CLASS_DiSTANCE_RELOAD_OPERATIONS/main.cpp | 414a81325d5b67c98991603689239cdb92759738 | [] | no_license | KirillBy/Lafore_cpp_solutions | bd57399088c67a35d3b7835e1f205bc5d03101d3 | 9fc9ac9971eacee4a7a63f9ed20d7f857059f3c2 | refs/heads/master | 2020-09-21T14:09:13.348077 | 2019-11-29T13:13:51 | 2019-11-29T13:13:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,785 | cpp | #include <iostream>
///////////////////////////////////////////////////////////
class Distance //Класс английских расстояний
{
private:
int feet;
double inches;
public:
Distance() //конструктор без аргументов
{
feet = 0; inches = 0.0;
}
Distance(double fltf... | [
"balanovichks@gmail.com"
] | balanovichks@gmail.com |
7a6e35840f3dabfa668d8b87fafea1c248d8647f | 0e733c19c693715c5757a1dd5f39091071d0ab58 | /libvt/test/unittest-pcg.cpp | ce6ede3dc51466de7fa957065030fa630c068546 | [] | no_license | ZhouYzzz/vt | 309f07bd31fa517e359d29ba20df139a0454e117 | 23b15b20df33b9377a60d356d8b71873c1b9e79a | refs/heads/master | 2021-07-11T10:31:23.054872 | 2017-10-10T02:37:26 | 2017-10-10T02:37:26 | 104,697,422 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 936 | cpp | //
// unittest-pcg.cpp
// vt
//
// Created by Yizhuang Zhou on 09/10/2017.
// Copyright © 2017 Yizhuang Zhou. All rights reserved.
//
#include <stdio.h>
#include "gtest/gtest.h"
#include "pcg.hpp"
TEST(PCG, 0) {
Mat A = Mat(2, 2, CV_32F);
A.at<float>(0,0) = 4;
A.at<float>(0,1) = 1;
A.at<float>(1,0) = 1;
A.... | [
"zhouyz9608@gmail.com"
] | zhouyz9608@gmail.com |
1055c2212397bbf364c0a4a5a5bf97f6b77479b6 | 3a0471bfc6ff059e5baa67b48befecc2d8447f86 | /hud.h | 368f4204b59023de44919da448e10d320f2de918 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | fcccode/ABCEnchance | f042a793562ae6bf7d5cb8ee1f577a0e48a287ad | 717e4554538e052b2b446f3352da4152f9c8f80e | refs/heads/main | 2023-07-04T16:36:59.820541 | 2021-08-30T03:58:22 | 2021-08-30T03:58:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,320 | h | #define CVAR_GET_FLOAT(x) gEngfuncs.pfnGetCvarFloat(x)
#define CVAR_GET_STRING(x) gEngfuncs.pfnGetCvarString(x)
#define SPR_Load (*gEngfuncs.pfnSPR_Load)
#define SPR_Set (*gEngfuncs.pfnSPR_Set)
#define SPR_Frames (*gEngfuncs.pfnSPR_Frames)
#define SPR_GetList (*gEngfuncs.pfnSPR_GetList)
// SPR_Draw draws a the current... | [
"dr.abc@cykaskin.com"
] | dr.abc@cykaskin.com |
28e4367a93ba7188f5b6736f4cf3beffda36637e | 4beac7b3eaea0b62a04f5365be0457e060973d9e | /src/ProcessingDialog.hpp | 12a85e311a0fa3e21b86f5f9543983eb79c8803a | [] | no_license | yokeap/sl-calibrator-gige | 72eb69e50b151e5f1f3f6a024602ae8e3a536219 | d4c13a7edecaa77653421d5d60e24b619b0ff045 | refs/heads/master | 2020-03-25T18:13:11.477695 | 2018-08-13T18:03:57 | 2018-08-13T18:03:57 | 144,018,978 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,504 | hpp | /*
Copyright (c) 2012, Daniel Moreno and Gabriel Taubin
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... | [
"siwakorn.ictrl@gmail.com"
] | siwakorn.ictrl@gmail.com |
b1939465c680c70b452e2425a0e0108588bbb48b | 45e0fbd9a9dbcdd4fbe6aaa2fdb2aed296f81e33 | /FindSecret/Classes/Native/mscorlib_System_Collections_Generic_Dictionary_2_Ke971183276.h | 05d703224f42bfa72848996a79dfc435f01f830a | [
"MIT"
] | permissive | GodIsWord/NewFindSecret | d4a5d2d810ee1f9d6b3bc91168895cc808bac817 | 4f98f316d29936380f9665d6a6d89962d9ee5478 | refs/heads/master | 2020-03-24T09:54:50.239014 | 2018-10-27T05:22:11 | 2018-10-27T05:22:11 | 142,641,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,292 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType3640485471.h"
#include "mscorlib_System_Collections_Generic_Dictionary_2_E2743189067.h"
#ifdef __clang__
#pragma clang diagnos... | [
"zhangyide@9fbank.cc"
] | zhangyide@9fbank.cc |
ee5ea73860afb94c4c71d8c3cc5dc5b007c658c9 | 14917b274d686fe52726662fe244a61b3a4451d7 | /Source/UiPlotter.cpp | 62f6a9faf79f7a2a744764594508daa1a66d380b | [
"MIT"
] | permissive | StefanoLusardi/BilinearOscillator | 984a6fc8825fd7e4b10802fca439d4bca7822219 | cb53ba05a865cc360243adf0e04ef9421028abcf | refs/heads/master | 2020-03-22T20:36:21.801474 | 2020-03-15T17:55:43 | 2020-03-15T17:55:43 | 140,614,150 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,452 | cpp | /*
==============================================================================
This is an automatically generated GUI class created by the Projucer!
Be careful when adding custom code to these files, as only the code within
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loade... | [
"lusardi.stefano@gmail.com"
] | lusardi.stefano@gmail.com |
4e612ca4d2b2a04f7347988288452503cffdd729 | 83dc4149bb57cd0d4c3d4f682951e80f53378ef2 | /841b.cpp | 579468c07969b3a960886672d7056331c19b2f1b | [] | no_license | asperaa/Codeforces_Problems | 20d2bec826a5f427e19e65003839f5df8f2411b5 | bb28935f47598bd74fe41552e258cbd447b8ddde | refs/heads/master | 2021-01-23T21:46:59.301036 | 2018-08-22T13:29:17 | 2018-08-22T13:29:17 | 102,904,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int main()
{
int n,o=0,e=0,om=0,em=0;
cin>>n;
vector<int>v;
int c;
for(int i=0;i<n;i++)
{
cin>>c;
v.push_back(c);
}
for(int i=0;i<v.size();i++)
cout<<v[i]<<" "<<endl;
while(v.size()>0)
{
for(int i=0;i<v.size();i++)
{
... | [
"adityaankr44@gmail.com"
] | adityaankr44@gmail.com |
276b8c4d60dc0dfea4235073a9cfabda224d5cb6 | 1074cd97c08562bd3d90c48c6e31c3fb4e6faead | /server/test.h | f90bd64cc60e2f72d392576e016c25a55df4a2dc | [] | no_license | ryder1986/pedestrian-v12 | e2fbaf8068c92b205c51486fac7cfc60e2833604 | 1bc6faf260ab5a77dc1f3702eef0beb779f42e5e | refs/heads/master | 2021-08-23T15:00:05.830717 | 2017-12-05T09:41:02 | 2017-12-05T09:41:02 | 111,528,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,955 | h | #ifndef TEST_H
#define TEST_H
#include <iostream>
#include <cstdio>
#include <chrono>
#include <thread>
#include <ctime>
#include <cstring>
#include <mutex>
#include <thread>
#include <bitset>
#include <QtCore>
#include <QUdpSocket>
#include <QNetworkInterface>
#include <list>
using namespace std;
class Tools
{
publi... | [
"you@example.com"
] | you@example.com |
70ba127d91602a2e24f6f175dc7a781464ced683 | 41457a07f7cb8e59a363ed2047dd08c6394e26e1 | /AtelierEditor/Private/CameraConfigurateTool.cpp | 67c812411b94a09a14ba0c5cfd619ff67f679bfb | [] | no_license | DingSongYun/FinalWork | 8702a47d179a8cc180b32915ff22eaced570ef9c | d5e7ad1179cdde95d6016c8a070f78b9c93c55c9 | refs/heads/master | 2020-09-10T22:21:51.703748 | 2019-11-15T05:34:39 | 2019-11-15T05:34:39 | 221,851,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,173 | cpp | #include "CameraConfigurateTool.h"
#include "Engine/Engine.h"
#include "Kismet/KismetMathLibrary.h"
ACameraConfigurateTool::ACameraConfigurateTool(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
ACameraConfigurateTool::~ACameraConfigurateTool()
{
}
void ACameraConfigurateTool::BeginPlay(... | [
"dingsongyun@xindong.com"
] | dingsongyun@xindong.com |
dd298571b4668becd4c51851a7fc57ad45963e37 | 70b642e909096134db8bb0e788c59e35d5117a22 | /RunAsDesktopUser-mod/RunAsDesktopUser_Implementation.h | 409dea7c21d47b6bdcab0c2513efbcbf48c79fa7 | [
"MIT"
] | permissive | jay/RunAsDesktopUser | ac67994baabdc22507ae14a2fd358f02537d4a0d | f027a1ae057793dd068b28b6ae8530d860cd9a44 | refs/heads/master | 2021-08-28T11:30:13.290093 | 2021-08-23T04:12:06 | 2021-08-23T04:12:06 | 99,401,226 | 12 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 675 | h | #pragma once
#include <sstream>
// Declaration of the function this sample is all about.
// The szApp, szCmdLine, szCurrDir, si, and pi parameters are passed directly to CreateProcessWithTokenW.
// sErrorInfo returns text describing any error that occurs.
// Returns "true" on success, "false" on any error.
// It is u... | [
"raysatiro@yahoo.com"
] | raysatiro@yahoo.com |
7f418934197316cbb8f74d1d3846a43aa889c75f | 3ba06ac484bfc05d3cd9eebe08f444759b8d196b | /Socket/Socket1/Client.h | 3887b8caea3f2d7b53958e94a782660b2a6ff7f2 | [] | no_license | XungangYin/C-Program | 0aa5a6316f091f0f42ca16474cb1dff47a16065f | a4241b8d1052b8a8399266beedc9249b789f9d27 | refs/heads/master | 2020-05-27T08:33:29.988863 | 2020-01-16T03:13:20 | 2020-01-16T03:13:20 | 188,547,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | h | #ifndef CHATROOM_CLIENT_H
#define CHATROOM_CLIENT_H
#include <iostream>
#include <string>
#include "Common.h"
using namespace std;
//客户端类用来链接服务器发送和接受信息
class Client{
public:
Client();
//链接服务器
void Connect();
//断开链接
void Close();
//启动客户端
void Start();
private:
//当前链接服务器端创建的socket
int ... | [
""
] | |
fc806724b05f10c622e7c0be183d031f26ff8929 | 4217ba1b23cfec70a56857995f5d6976c622fb8a | /richMan_display.cpp | d40380ab5413400ad83e4ce4b4d68c3f8b9c14fa | [] | no_license | WongWingLam/Group2_richman | 0cd1573d4e4203b9a551bc297a4287925313c5dc | d20dff4b2454104efef69ada0186d1a7231550f0 | refs/heads/master | 2022-06-16T04:39:47.583510 | 2020-05-09T15:54:15 | 2020-05-09T15:54:15 | 451,532,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,307 | cpp | //richMan_display.cpp
#include <iostream>
#include <string>
#include <iomanip>
#include "richMan_display.h"
#include "richMan_struct.h"
//display map when necessary
using namespace std;
void displayMap(Block *mapBlocks, Status *players, int playerNo){
for (int j = 0; j < 2; j++)
{
for (int i = ... | [
"noreply@github.com"
] | WongWingLam.noreply@github.com |
4046a73448de5b0feb448aa8680574d645613981 | 5900a82ac0566b0255a2bcd2a6b100a031656c69 | /sources/modules/levelset/ExplicitIntegration/Terms/TermLaxFriedrichs_cuda_dummy.cpp | 171670f239441757a0451be96204821620f4cab5 | [
"BSD-2-Clause-Views",
"BSD-2-Clause"
] | permissive | HJReachability/beacls | b21381b3725d13ce3d9c0596f3b1ca35cc3a0191 | e3103175d6d325fa096754bd11db4361e6554915 | refs/heads/master | 2023-07-08T16:37:37.383133 | 2023-06-27T14:46:27 | 2023-06-27T14:46:27 | 84,489,492 | 40 | 9 | NOASSERTION | 2023-06-27T14:46:29 | 2017-03-09T21:18:07 | C++ | UTF-8 | C++ | false | false | 740 | cpp | #include <typedef.hpp>
#include <cuda_macro.hpp>
#include <algorithm>
#include "TermLaxFriedrichs_cuda.hpp"
#if !defined(WITH_GPU)
void TermLaxFriedrichs_execute_cuda(
beacls::UVec& ydot_uvec,
const beacls::UVec& diss_uvec,
const beacls::UVec& ham_uvec
) {
FLOAT_TYPE* dst_ydot_ptr = beacls::UVec_<FLOAT_TYPE>(ydot... | [
"k-tanabe@berkeley.edu"
] | k-tanabe@berkeley.edu |
0b375c9f6f56eddd278286becc314df304402966 | e016b0b04a6db80b0218a4f095e6aa4ea6fcd01c | /Classes/Native/System_Xml_Mono_Xml_Schema_XmlSchemaUri1295878664.h | 3bf4dc546fc0f0f2b50cbcb912ae92db8bbd931c | [
"MIT"
] | permissive | rockarts/MountainTopo3D | 5a39905c66da87db42f1d94afa0ec20576ea68de | 2994b28dabb4e4f61189274a030b0710075306ea | refs/heads/master | 2021-01-13T06:03:01.054404 | 2017-06-22T01:12:52 | 2017-06-22T01:12:52 | 95,056,244 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,007 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "System_System_Uri19570940.h"
// System.String
struct String_t;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pra... | [
"stevenrockarts@gmail.com"
] | stevenrockarts@gmail.com |
851bfedb90c77b2bbc2f8a5043c84523fec2d5e8 | 3ae8fb577d6f34bc94c725b3b7140abacc51047d | /gambit/gambit_driver/src/actuator_RX28.cpp | 4ed1fbbfbdcf0d7911dba9ac3072d3c7eebc825e | [] | no_license | mjyc/gambit-lego-pkg | b25b7831e864bba0f126f64a3d40f412a19664c1 | d2ae2fa4eb09d5e149c0816eabf9213f75b7283f | refs/heads/master | 2022-12-30T17:11:30.768639 | 2013-09-03T22:02:21 | 2013-09-03T22:02:21 | 306,082,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,317 | cpp | /**
* @file
* @author Brian D. Mayton <bmayton@bdm.cc>
* @version 1.0
*
* @section LICENSE
*
* Copyright (c) 2010, Intel Labs Seattle
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*... | [
"mjyc@cs.washington.edu"
] | mjyc@cs.washington.edu |
9e7ee6f83d6c9a6b11bd8f0c874fc1b2c8fc64bd | 479aacc339f9b1d38fa0cc2a3888036d8a1c6c6b | /Clases - AdministracionDelTiempo/main.ino | 02df2dc9cd4743bcd5bc967ab25fd149e633efc7 | [] | no_license | ComputadorasElectronicas/sprenna | 222912cbab8e53550952f8ffe768d2a56c6b6d46 | 60528c65c96ce90d95d9d50447e3b5a46e21b2f2 | refs/heads/main | 2023-07-15T18:05:14.231590 | 2021-08-27T20:03:11 | 2021-08-27T20:03:11 | 383,602,508 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,823 | ino |
#include "ContadorSimple.h"
// TODO: ver esto
#define PULSADOR_CUENTA 3
#define PULSADOR_INGRESO_SERIAL 4
#define LED_BLINK 5
#define LED_INDICADOR 6
int referencia;
boolean flagPulsadorCuenta;
boolean flagIngresandoEntero;
String cadenaDeCaracteres;
int contadorDeLoopParaImpresion;
//--------------------
#d... | [
"secpre@hotmail.com"
] | secpre@hotmail.com |
776b06bbe52e40a57ba893288497426032196b4f | ab08c7d474c3b8b91bedef9ec198ecd822ddf86d | /cubeEncryptor/encryptor.h | fdf7d5a7e90fa61c6890843edd3cc50cab9c5f0d | [] | no_license | narekmartiros/Daily-projects | 794ae01c487c35a47c6affc3c9f55b0b8c15ec8e | 0a8333b2306243d50bdcb135fab51705a182bcc0 | refs/heads/main | 2023-05-24T13:10:16.236670 | 2021-06-15T14:39:33 | 2021-06-15T14:39:33 | 375,952,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | h |
#ifndef ENCRYPTOR
#define ENCRYPTOR
#include "cube.h"
#include <vector>
#include <fstream>
#include <iostream>
#include <time.h>
#include <algorithm>
class encryptor{
public:
void splitter(const std::string& filename);
int encryptor_size();
cube& get_cube(int index);
std::string rot_dir();
void e... | [
"noreply@github.com"
] | narekmartiros.noreply@github.com |
5788e37956978e059a3939fae2b7de3c049ec5d7 | cdea87e9889ce65e81d66c3f6df3199747c86609 | /src/CascadedMetadata.cpp | 9017ab108ae8312c79a50521519aaa5e361674f0 | [] | permissive | nsakharnykh/nvcomp | ebdfc4fbf9fcf2cb2c2b931e163cca65be1794f5 | 8640ba9d4f4916ff5e12fbbe3b03617518f551d4 | refs/heads/main | 2023-04-23T03:09:15.309774 | 2020-12-19T18:36:01 | 2020-12-19T18:36:01 | 323,417,590 | 0 | 0 | BSD-3-Clause | 2020-12-21T18:31:31 | 2020-12-21T18:31:31 | null | UTF-8 | C++ | false | false | 8,311 | cpp | /*
* Copyright (c) 2020, NVIDIA CORPORATION. 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 of co... | [
"dlasalle@nvidia.com"
] | dlasalle@nvidia.com |
3573b2b459f7ac73acb486a0118eecd46929407e | 9598f48703820d9c2e263cb8864226eeb13332bf | /uri/Right_Area.cpp | c5e97a5fa7c3c4df14c8620e3e7f412aa9819fe8 | [] | no_license | leiverandres/programming-contest | 4da6343119290b480757435788ff90d950492ff9 | 66cfb41326b0d35abbe70634976176446cb0fa63 | refs/heads/master | 2021-01-15T08:59:18.035112 | 2016-10-22T16:54:01 | 2016-10-22T16:54:20 | 45,351,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie();
char op;
cin >> op;
double aux, sum = 0;
for (int i = 0; i < 12; i++) {
for (int j = 0; j < 12; j++) {
cin >> aux;
if (i < j and (i+j) >= 12)
sum += aux;
}
}
cout << fi... | [
"leiverandres04p@hotmail.com"
] | leiverandres04p@hotmail.com |
b143b61fa0dcbc472d7e7a507730ad102e1d9704 | 240406279c9f3c271678d485f57e7944c98acaad | /etc/zmac/zi80dis.h | bceb9a977acb995292e01c95810f570654716beb | [
"Apache-2.0"
] | permissive | hallorant/bigmit | 7eb5bc0c1c2a56e86fcd0631bb91454bf13290f9 | 80f077ee4075e8bd01205896e003553017d5f5ab | refs/heads/master | 2023-07-06T03:26:38.935561 | 2023-07-03T19:32:13 | 2023-07-03T19:32:13 | 208,386,483 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,291 | h | //
// zi80dis.h - extract disassembly and timing information for Z-80 and 8080 instructions.
//
// The Zi80dis class is little more than a bag of values filled in when Disassemble()
// is called. For most programs "mem" points to the start of the Z-80's memory and the
// instruction to disassemble is at mem + p... | [
"hallorant@gmail.com"
] | hallorant@gmail.com |
c469d2a20ca036a1c854fc1a3dd67a86b43463ae | d443ca6a0f68ebc845dc652e221d02844b9889aa | /TP7_refait/max.cpp | 2f5a8583343afbb598d1a263023ed675477a96e3 | [] | no_license | JulietteNdn/CPlusPlus_TP | 66ec1332cad3690dafa881084f724cd17588733b | fa3aeecb9db3da79680929593452fffc9e88b5a5 | refs/heads/master | 2020-04-05T00:53:11.950831 | 2018-12-01T16:02:48 | 2018-12-01T16:02:48 | 156,414,365 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | #include <iostream>
#include <stdexcept>
using namespace std;
template <typename T>
const T& maxi(const T& a, const T & b){
return ((a>b)? a : b);
}
int main(int, char**){
cout << maxi(4,7) << endl;
cout << maxi(3.0,1.0) << endl;
return 0;
}
| [
"juliette-naudin@live.fr"
] | juliette-naudin@live.fr |
5ef8888d4486ca439936cdaa9006f3f1ba759660 | ddf9c40b06eb465bc89fb728d014c260ca0c4bf4 | /src/main_window.cpp | 4981910779ad768114fdc25c311bd56c7b96333b | [
"MIT"
] | permissive | kriolog/laser_painter | ae33bbc70ee682bff2bbbe167cf0671a383dcd46 | 392deae6b8f939ddbaec8cd15c753b3e5098b5f9 | refs/heads/master | 2021-01-19T08:31:44.861370 | 2017-04-08T15:29:57 | 2017-04-08T15:29:57 | 87,641,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,240 | cpp | #include "main_window.h"
#include <QSettings>
#include <QAction>
#include <QActionGroup>
#include <QMenuBar>
#include <QShortcut>
#include <QHBoxLayout>
#include <QKeySequence>
#include <QDockWidget>
#include <QVBoxLayout>
#include <QStatusBar>
#include "video_frame_grabber.h"
#include "camera_settings.h"
#include "i... | [
"kriolog@gmail.com"
] | kriolog@gmail.com |
31e8323fdfc7082ac25590a7e446fd7d61ff674e | bd6e36612cd2e00f4e523af0adeccf0c5796185e | /src/core/initializeClassesWithWx.cc | 4f479edbb99f4b1aac3cdc98b9455d6247b773a2 | [] | no_license | robert-strandh/clasp | 9efc8787501c0c5aa2480e82bb72b2a270bc889a | 1e00c7212d6f9297f7c0b9b20b312e76e206cac2 | refs/heads/master | 2021-01-21T20:07:39.855235 | 2015-03-27T20:23:46 | 2015-03-27T20:23:46 | 33,315,546 | 1 | 0 | null | 2015-04-02T15:13:04 | 2015-04-02T15:13:04 | null | UTF-8 | C++ | false | false | 1,457 | cc | /*
File: initializeClassesWithWx.cc
*/
/*
Copyright (c) 2014, Christian E. Schafmeister
CLASP is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any... | [
"chris.schaf@verizon.net"
] | chris.schaf@verizon.net |
6d3f2678c4953ddc4cbd89ed646da164c313f94a | 355fd721b8e51f1099713810f07e94f2e02f7d7c | /shadow learn material/advanced-shadows/GraphicsEngine/include/Qhull/cpp/Coordinates.h | 774fd4819d8ef4a9db54672602331319b8023d06 | [] | no_license | liangshiweigithub/update | bbfd1f40d6f714198468585b928bb01fa85cf8ba | 3a9a7e2dd4afaffcc3cdf7ff9292ed6fcd01e138 | refs/heads/master | 2023-07-20T05:19:40.586753 | 2023-07-17T15:50:28 | 2023-07-17T15:50:28 | 186,344,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,506 | h | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/Coordinates.h#36 $$Change: 1193 $
** $DateTime: 2010/01/23 11:31:35 $$Author: bbarber $
**
**************************************************... | [
"183071083@qq.com"
] | 183071083@qq.com |
a912adca0061d549478f2ffd65fabdcadd451480 | c7fd308ee062c23e1b036b84bbf890c3f7e74fc4 | /RobotInicial/main.cpp | e00824f14932cd21cd05bdc19a46cb4344ae5a81 | [] | no_license | truenite/truenite-opengl | 805881d06a5f6ef31c32235fb407b9a381a59ed9 | 157b0e147899f95445aed8f0d635848118fce8b6 | refs/heads/master | 2021-01-10T01:59:35.796094 | 2011-05-06T02:03:16 | 2011-05-06T02:03:16 | 53,160,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,351 | cpp | #include <windows.h>
#include <GL/glut.h>
float rotationX=0.0;
float rotationY=0.0;
float prevX=0.0;
float prevY=0.0;
bool mouseDown=false;
float viewer[]= {0.0, 0.0, 7.0};
int displayMode=1;
typedef struct treenode{
GLfloat m[16];
void (*f)();
struct treenode *sibling;
struct treenode ... | [
"diego.mendiburu@gmail.com"
] | diego.mendiburu@gmail.com |
5e76130eb5d91244236a4e32f51d1920b701dc35 | b22522fe8fc3777b51dba385f0cdb7a7d2911e96 | /opencv3/ch7/ch7/tx_equalizeHist.cpp | 30c38390d46b956906751021db51a71bea915495 | [] | no_license | txaxx/opencv | 5320cbe28b04dc9b6b4b0ed17daf2464ae46816d | 23e2394ab204f7439c62cffbae1f997cca50bf3e | refs/heads/master | 2020-05-16T01:54:16.331452 | 2019-05-09T02:36:42 | 2019-05-09T02:36:42 | 182,612,736 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 966 | cpp | #include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
using namespace cv;
//--------------------------------------【main( )函数】-----------------------------------------
// 描述:控制台应用程序的入口函数,我们的程序从这里开始执行
//------------------------------------------------------------------------------------... | [
"1192622499@example.com"
] | 1192622499@example.com |
f93bc675689f78a266778f2c85f376e29a99e24e | 830ed304a7d320e731bacb0dc78475339df46954 | /QuickChips/qcprocessmanager.h | 61c88e5511da31f1bdc58fd1c4c4780fc0524f6a | [] | no_license | anacecisb/Agri-Reader | 95899df0d058feaa7574b1319968dc8571bdff53 | d58cd1c43f724492dfbbeb1f6d6d928a3a4e17ac | refs/heads/main | 2023-04-25T20:37:47.331848 | 2021-05-17T00:00:43 | 2021-05-17T00:00:43 | 368,003,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | h | #ifndef QCPROCESSMANAGER_H
#define QCPROCESSMANAGER_H
#include <QObject>
class QCProcessManagerThread;
class QCProcessManager : public QObject
{
Q_OBJECT
public:
explicit QCProcessManager(QObject *parent = 0);
void loadProcessFile( QString filename );
void setExposure( int exposureTarget );
voi... | [
"noreply@github.com"
] | anacecisb.noreply@github.com |
e82ed296269ff838f01f03738e0bb11d97dc9f06 | 387549ab27d89668e656771a19c09637612d57ed | /DRGLib UE project/Source/FSD/Private/Flare.cpp | 83d37117522c87515e919172142f605b5a9f4889 | [
"MIT"
] | permissive | SamsDRGMods/DRGLib | 3b7285488ef98b7b22ab4e00fec64a4c3fb6a30a | 76f17bc76dd376f0d0aa09400ac8cb4daad34ade | refs/heads/main | 2023-07-03T10:37:47.196444 | 2023-04-07T23:18:54 | 2023-04-07T23:18:54 | 383,509,787 | 16 | 5 | MIT | 2023-04-07T23:18:55 | 2021-07-06T15:08:14 | C++ | UTF-8 | C++ | false | false | 1,349 | cpp | #include "Flare.h"
#include "Net/UnrealNetwork.h"
#include "Templates/SubclassOf.h"
void AFlare::StartLightFunction(ULightComponent* mainLight, TArray<ULightComponent*> spotLights, UCurveFloat* flutterCurve, UCurveFloat* fadeInCurve) {
}
void AFlare::OnRep_IsFlareOn() {
}
void AFlare::OnFlareSpawnCompleted() {
}
... | [
"samamstar@gmail.com"
] | samamstar@gmail.com |
484d096674002471f19f9623192077765a25de16 | 4db1629242d9ef04efcffc04193ac7c7234accb5 | /main.cpp | 79912b221450b705a11e21ea38980591efd129ec | [
"MIT"
] | permissive | casey-c/egg-parser | 0972d17da41b9cb6ada39a3db6ae4ede60d7beaa | ab5fed78950d1c4d73f033d3e7b80ad63f9d2436 | refs/heads/master | 2021-01-19T08:36:32.063592 | 2017-04-10T00:53:34 | 2017-04-10T00:53:34 | 87,653,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | cpp | #include <iostream>
#include <string>
#include "node.h"
int main()
{
std::list <std::string> list;
list.push_back( "221PQ21QP" );
list.push_back( "221QP21PQ" );
list.push_back( "3A1C3EBD" );
list.push_back( "23CABA" );
list.push_back( "31A1C1B" );
list.push_back( "3ABC" );
std::list<st... | [
"casey-c@users.noreply.github.com"
] | casey-c@users.noreply.github.com |
877651c6d42e709ab7bff1a7c20fdf1a759785bd | 3fa8244506a4bf9d8d439981a75d84a797d31abe | /readObj.h | 2a0f6ecfa5a3d973ce69a6d772281adda2f4afa2 | [] | no_license | ariellav/Coursework-OpenGLProject | caf4378da6d6d5f1a68a035d9b94c1d49e244b7f | 2fe5095acf1f1ddb83bb57ebeef98e3420afc82d | refs/heads/master | 2021-01-16T18:42:33.949465 | 2014-11-05T22:08:54 | 2014-11-05T22:08:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | h | #include <glm/glm.hpp>
#include "glheader.h"
// Mesh class
// vertices are a vector of 4D points (x,y,z,1)
// normals are a vector of 3D point
// but the elements (triangles) is a vector of 3m integer indices,
// three per triangle.
class Mesh {
public:
std::vector<glm::vec4> vertices;
std::vector<glm::vec3> nor... | [
"ariellavu@gmail.com"
] | ariellavu@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.