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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9f4ce9bc9750b29433bfb1b74e9ff57de527367f | 8d6277108164d60cc323191900d2700c42ce83c5 | /cpp/src/arrow/util/uri.h | 3d6949537ce72de3d2bab5411f66ede7c701d1f3 | [
"Apache-2.0",
"CC0-1.0",
"BSD-3-Clause",
"MIT",
"ZPL-2.1",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | SeppPenner/arrow | 0fa703c696a4570485d3ba34ed2c83c8ce65185f | 1df8806c61ace322a72bd44e73e7060af53d4b82 | refs/heads/master | 2020-05-05T02:07:38.921743 | 2019-11-25T08:22:31 | 2019-11-25T08:22:31 | 179,625,814 | 1 | 0 | Apache-2.0 | 2019-11-25T08:22:32 | 2019-04-05T05:45:41 | C++ | UTF-8 | C++ | false | false | 2,273 | h | // 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... | [
"Uwe.Korn@blue-yonder.com"
] | Uwe.Korn@blue-yonder.com |
8a8892eb8e7232ab2750ce2fdd6a84dd82fd5b06 | d373abf69b76940bc4f5da771223f974ee0b46fe | /include/pointpose.h | 59e75f991affe97bd503721b11a7694ae0798789 | [] | no_license | capox95/clothes_manipulation | fb2ded90ff312c566581d66a68aab51ba4773937 | 65d81f75417321ce7f4338b81fb8c8329b176760 | refs/heads/master | 2020-09-28T07:37:16.081826 | 2019-12-08T21:14:59 | 2019-12-08T21:14:59 | 226,725,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,759 | h | #include <pcl/ModelCoefficients.h>
#include <pcl/point_types.h>
#include <pcl/point_cloud.h>
#include <Eigen/StdVector>
typedef std::vector<Eigen::Affine3d, Eigen::aligned_allocator<Eigen::Affine3d>> Affine3dVector;
typedef std::vector<Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f>> Vector3fVector;
struct... | [
"capox95@gmail.com"
] | capox95@gmail.com |
de36a31c794dc61ee002701999e6dcd20a19ff4c | 6e6f1caae569ac0a7b2cf35da9ad779a81d293e1 | /Utilities/Pnt3f.cpp | ad5c69118b81f9ed5cb4dd90365b3b5a93be49e7 | [] | no_license | kirakira/train | 375047e33e0f1327299c54fa6a5710275de9d4dc | 35fd7952f67e5727bc22f93f09d6efbdc80cc08e | refs/heads/master | 2021-01-25T04:03:16.710349 | 2015-05-14T03:59:24 | 2015-05-14T03:59:24 | 35,589,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | cpp | // CS559 Utility Code
// - implementation of simple 3D point class
// see the header file for details
//
// file put together by Mike Gleicher, October 2008
//
#include "Pnt3f.H"
#include "math.h"
Pnt3f::Pnt3f() : x(0), y(0), z(0)
{
}
Pnt3f::Pnt3f(const float* iv) : x(iv[0]), y(iv[1]), z(iv[2])
{
}
Pn... | [
"wmhkebe@gmail.com"
] | wmhkebe@gmail.com |
5fac4ae71a1bde154bd01cab08f534ed9d4db56a | bb887168567c3fc8252308bd4749dbd87a4cbfab | /Hackerrank/bfs_shortest.cpp | 641bf395575a871327810bbfb514e2c153e3ac43 | [] | no_license | sudoRicheek/CP | 40769e37d796340cf322d5a70a8b0e82cc308a33 | b4aa01e1119dfe77b84f997fe3b41a2ad0a77f78 | refs/heads/master | 2022-11-21T18:24:30.427274 | 2020-07-29T15:17:16 | 2020-07-29T15:17:16 | 281,201,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,978 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the bfs function below.
vector<int> bfs(int n, int m, vector<vector<int>> edges, int s) {
}
int main()
{
ofstream fout(getenv("OUTPUT_PATH"));
int q;
cin >> q;
cin.ignore(numeric_limits<streamsize>::max... | [
"richeekdas2001@gmail.com"
] | richeekdas2001@gmail.com |
9b508e2be089501221811b09a6e26b36a952ea9a | 334558bf31b6a8fd3caaf09c24898ff331c7e2da | /GenieWindow/plugins/GeniePlugin_MapV2/src/newdevicenotifywidget.cpp | 654314e9f7b77f79ff781ac98e70ebcd3f5f1823 | [] | no_license | roygaogit/Bigit_Genie | e38bac558e81d9966ec6efbdeef0a7e2592156a7 | 936a56154a5f933b1e9c049ee044d76ff1d6d4db | refs/heads/master | 2020-03-31T04:20:04.177461 | 2013-12-09T03:38:15 | 2013-12-09T03:38:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,288 | cpp | #include "newdevicenotifywidget.h"
#include "language_Map.h"
#include <QTextEdit>
#include <QLabel>
#include <QPushButton>
#include <QEvent>
#include <QPainter>
#include <QMouseEvent>
#include <QFile>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QApplication>
#include <QPropertyAnimation>
#include <QDeskt... | [
"raylq@qq.com"
] | raylq@qq.com |
6e9f4691c1a8cdfab3bdbd66883b3e12145373a4 | fb518874988e4726805973664ddaa35e5eadc214 | /cw2/population.h | 645cc5b750e94582dd6c2de8372bd080afdf3ca6 | [] | no_license | davidsansome/evolving-tetris | fc8f74b7f327c673afd0861991104bf0a4328503 | 1c3e55adae5d8f7d477016079eba0eb2bbeecf2a | refs/heads/master | 2020-04-06T04:55:38.015114 | 2010-01-11T23:51:16 | 2010-01-11T23:51:16 | 4,369,127 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 751 | h | #ifndef POPULATION_H
#define POPULATION_H
#include "individual.h"
#include <QList>
class Population {
public:
Population(int size);
void InitRandom();
Individual& operator[](int i) { return individuals_[i]; }
Individual& SelectFitnessProportionate(const Individual& excluding = Individual());
Individual... | [
"me@davidsansome.com"
] | me@davidsansome.com |
4c8fe97adb5891dcc628f3552ba62f08bbd60f05 | c8293cb87fe50102ee9ed04f8d5754936c6b5da6 | /tcp/main.cpp | 4e95a10875618b74160cd8b16e5c4df77326ec13 | [] | no_license | VahidHeidari/NTA | d390bbdeb0e1bfbcb40b7ad36ec459c36e08932c | 1b1251c3e784d718c821c1cd64253745da310633 | refs/heads/master | 2021-01-17T09:08:42.869272 | 2017-01-09T10:04:27 | 2017-01-09T10:04:27 | 39,677,590 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,625 | cpp | /**
* NTA (Network Traffic Analyser) is contains simple tools for analysing
* netwrok traffic.
*
* Copyright (C) 2015 Vahid Heidari (DeltaCode)
*
* 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 Fo... | [
"crystal.delta@gmail.com"
] | crystal.delta@gmail.com |
edec0e0df23a4ab05f94257ad0ebd2ff09f392a1 | 9fd3a9ce789f64dd3bde7d42703ddf109c713614 | /04-Collision/LoadObject.h | 32f6056735a25d0d8ad6934bb32fd6aa09a2af09 | [] | no_license | DungNgoc/GameDev | 5da93dfcb9e595c630c85d32b0bfb3eb6ec96952 | eba2bd4b6ff2796a126a8158c49f4768cf6902bd | refs/heads/master | 2022-01-06T09:27:42.805835 | 2019-06-03T16:09:15 | 2019-06-03T16:09:15 | 177,239,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | h | #pragma once
#include <string>
#include <iostream>
#include <fstream>
#include "GameObject.h"
#include "Brick.h"
class LoadObject
{
public:
void Load(string file, vector<LPGAMEOBJECT> *listObject);
void LoadObjects(int id, int type, float x, float y, int width, int height, vector<LPGAMEOBJECT>* listObject);
Loa... | [
"you@example.com"
] | you@example.com |
e27398f216d20fbadabd7606398c7881e077f9bb | 910c7fcae933361911c0e41d51c863390eb61532 | /Tablature/JuceLibraryCode/modules/juce_gui_basics/windows/juce_ComponentPeer.h | eddca8fc209f04d877757687e212d58cf31b13df | [] | no_license | bpinder/BBSTablature | 791d0de108748b6e1272fb66ec92ddc90c8bcf97 | 28b20cb7accaebf3571c1438f3614cf852f0c0c1 | refs/heads/master | 2020-06-05T05:55:36.064547 | 2013-05-10T14:45:27 | 2013-05-10T14:45:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,516 | h | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be redistrib... | [
"brittany.pinder@noteloop.com"
] | brittany.pinder@noteloop.com |
386ff2adcd4d1123acefbc65ae952c8a3c01d4a9 | d84967ba1e6adc72e120f84524c51ad57912df5a | /devel/electron20/files/patch-base_system_sys__info.h | de62a9292509e6fd9e06e1623e58154ba9adcc8a | [
"BSD-3-Clause"
] | permissive | tagattie/FreeBSD-Electron | f191d03c067d03ad3007e7748de905da06ba67f9 | af26f766e772bb04db5eb95148ee071101301e4e | refs/heads/master | 2023-09-04T10:56:17.446818 | 2023-09-04T09:03:11 | 2023-09-04T09:03:11 | 176,520,396 | 73 | 9 | null | 2023-08-31T03:29:16 | 2019-03-19T13:41:20 | C++ | UTF-8 | C++ | false | false | 766 | h | --- base/system/sys_info.h.orig 2022-08-01 19:04:19 UTC
+++ base/system/sys_info.h
@@ -211,6 +211,8 @@ class BASE_EXPORT SysInfo {
// On Desktop this returns true when memory <= 2GB.
static bool IsLowEndDevice();
+ static uint64_t MaxSharedMemorySize();
+
private:
FRIEND_TEST_ALL_PREFIXES(SysInfoTest, Amo... | [
"tagattie@gmail.com"
] | tagattie@gmail.com |
ccabbe90cf6d022a163285d62f8696f61eff549b | 20f46879a2e0a354aad80db7aee0259f24f9602a | /src/utils/TableGen/AsmWriterEmitter.cpp | 681012974ce8083b003f4ec9277c119e6effea90 | [
"NCSA"
] | permissive | apple-oss-distributions/clang | e0b7a6ef6d2ee6fdd4ab71e5dc0a4280cb90a6f3 | 8204159ac8569f29fddc48862412243c2b79ce8c | refs/heads/main | 2023-08-14T22:37:07.330019 | 2016-12-09T19:27:15 | 2021-10-06T05:11:14 | 413,590,209 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 39,182 | cpp | //===- AsmWriterEmitter.cpp - Generate an assembly writer -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"91980991+AppleOSSDistributions@users.noreply.github.com"
] | 91980991+AppleOSSDistributions@users.noreply.github.com |
f6af4c3e78b8b9b8a93a5ad395b9e03c57969c14 | ef7b1e62182145fec5b1a1515d2427b737740a84 | /Server/DBA/DBACalendars.h | 63b1398f4370039eb8482e65baf47e5bb42b0ac8 | [] | no_license | zanxi/Trading-yadro | 732f5b3edd44d84aef50017c29e6692a27993811 | 481e2369e8837137a7485594e6d872f759f7d6ef | refs/heads/master | 2021-02-23T10:34:53.904627 | 2020-03-06T11:09:24 | 2020-03-06T11:09:24 | 245,398,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,810 | h | #ifndef __DBA___CALENDARS__H__INCLUDED__
#define __DBA___CALENDARS__H__INCLUDED__
const LPCWSTR dbCommandGetCalendars =
L"{ CALL dbo.GQA_GetAllCalendars(?, ?, ?) }";
const LPCWSTR dbCommandGetCalendarDates =
L"{ ? = CALL dbo.GQA_GetAllCalendarDates(?, ?, ?) }";
const LPCWSTR dbCommandInsert = L"{? = CALL dbo.G... | [
"consultantweb25@gmail.com"
] | consultantweb25@gmail.com |
0ffff8ab89055df35e31cf3889282307f91ece27 | bdfca7d4bd6e1baf2c43e593de66fcba80afadeb | /prog-verf/assignment1/sketch-1.7.5/sketch-frontend/test/sk/seq/miniTestb357_test.cpp | b4c3113d887f74818899afac0c3720fba74c4540 | [] | no_license | wanghanxiao123/Semester4 | efa82fc435542809d6c1fbed46ed5fea1540787e | c37ecda8b471685b0b6350070b939d01122f5e7f | refs/heads/master | 2023-03-22T06:47:16.823584 | 2021-03-15T10:46:53 | 2021-03-15T10:46:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <iostream>
#include "vops.h"
#include "miniTestb357.h"
using namespace std;
void main__Wrapper_ANONYMOUSTest(Parameters& _p_) {
for(int _test_=0;_test_< _p_.niters ;_test_++) {
int i;
i=abs(rand()) % 32;
if(_p_.verbosity > 2){
cout... | [
"akshatgoyalak23@gmail.com"
] | akshatgoyalak23@gmail.com |
6701dbc7af3e1ff7abf761981158e47eb8fc7602 | b6f3cdbe8de6142f48ea5b6a0ef4a118bf300c15 | /FractalTree-master/FractalTree/FractalTree Common/Game Objects/Objects/Weapon.h | 5fbd45f4ef14658353afec8eefe206aebd41ba60 | [] | no_license | jwang320/Engine | 182042cc2b5ea8bb71fe45022296aa00dbbc4e13 | 5fe1d23fc695f5b43f5a484297b6448c5a446f5a | refs/heads/master | 2023-01-01T12:25:18.545583 | 2020-10-28T00:45:05 | 2020-10-28T00:45:05 | 307,857,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | h | #pragma once
#include "../Common Source/Simulation Engine/Physical Simulation/Item.h"
namespace SimulationEngine
{
class Weapon : public Item
{
protected:
long long lastUseTime;
long long coolDown;
public:
void ShootWeapon();
protected:
Weapon(Actor* owner = NULL, long long coolDown = 100);
virtual vo... | [
"73551517+jwang320@users.noreply.github.com"
] | 73551517+jwang320@users.noreply.github.com |
aef1cf5f008075079283953a6f87c371939d36d5 | 1da7d378d84fb995bf118e94839a4131a178499b | /sinkworld/tentacle/python/add_Substance.cpp | 4de8f32ccd6cf1c914d7c1b58e9d01d09db46cf8 | [
"MIT"
] | permissive | calandoa/zxite | f85ed7b8cc0f3ed5194b5ea3c4ce5859cb487312 | 8122da2e5dc2907ccb84fe295a9a86e843402378 | refs/heads/master | 2021-07-14T21:14:16.559063 | 2017-10-20T16:12:09 | 2017-10-20T16:12:09 | 28,239,704 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,802 | cpp | #include <boost/python.hpp>
#include <boost/cstdint.hpp>
#include <string>
#include <iostream>
#include <assert.h>
#include "base.h"
// Using =======================================================================
using namespace boost::python;
#include "bbase.h"
void add_Substance() {
class_< Substance, bases<... | [
"antoine.calando@intel.com"
] | antoine.calando@intel.com |
2c1302fc4e404c58771b8cc266a8b61e7f1b7b1a | 39eac74fa6a244d15a01873623d05f480f45e079 | /LabResultsTabDlg.cpp | 3321068226c3894a6e81788765e3c92ae8dfc376 | [] | no_license | 15831944/Practice | a8ac8416b32df82395bb1a4b000b35a0326c0897 | ae2cde9c8f2fb6ab63bd7d8cd58701bd3513ec94 | refs/heads/master | 2021-06-15T12:10:18.730367 | 2016-11-30T15:13:53 | 2016-11-30T15:13:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373,876 | cpp | // LabResultsTabDlg.cpp : implementation file
//
#include "stdafx.h"
#include "PatientsRc.h"
#include "LabResultsTabDlg.h"
#include "LabsSetupDlg.h"
#include "InternationalUtils.h"
#include "AuditTrail.h"
#include "RenameFileDlg.h"
#include "MultiSelectDlg.h"
#include "EditLabResultsDlg.h"
#include "LabEditDiagnosisDl... | [
"h.shah@WALD"
] | h.shah@WALD |
9973ba527dcd5e56e303de83a8f3534a82b57b4d | cfbadd013412641c6221008941d68dd73f2bdddd | /TLE/tle17c5p1.cpp | 2dd9620bb3e6291f1dfff1e624e5284ffdae63ae | [] | no_license | YinuoWang/competitive_programming | 48c3dd2b17f9cb47648360953438912829992b0b | 4012ce7e9222c7a38b43217bed9d557e7d47bf08 | refs/heads/master | 2023-03-25T02:50:35.129843 | 2021-03-21T06:23:09 | 2021-03-21T06:25:11 | 113,873,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160 | cpp | #include <iostream>
using namespace std;
int main(){
cout << "guess 50\n";
int n;
cin >> n;
cout << "answer " << 50-n << '\n';
return 0;
} | [
"yinuo_wang@yahoo.ca"
] | yinuo_wang@yahoo.ca |
e01d3f05f4df9e4752d46d37ec7c30a8b6b5322a | 55725abd9d7877f719747bc64d0a4401447f5e87 | /ESO50CM/Observing/src/ObsControl.cpp | a80ed0bc34461005c0938ba77c4a04e38d98a08a | [] | no_license | tzuchiangshen/eso50cm | 3947b9c78657a768c634a9f4b77a6f8c01177f34 | 801223d254fb08ad2b246646b73b9ded604cf7c6 | refs/heads/master | 2020-04-26T09:43:29.073952 | 2013-03-26T02:02:54 | 2013-03-26T02:02:54 | 32,118,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,398 | cpp | #include <ObservingImpl.h>
#include <Ice/Ice.h>
using namespace std;
//global variable: to be fix
int verbose = 1;
int
run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("ObsAdapter");
Ice::ObjectPtr object = new Observing... | [
"tzuchiangshen@gmail.com@252240e4-1210-6a41-b381-b427a22c1ab4"
] | tzuchiangshen@gmail.com@252240e4-1210-6a41-b381-b427a22c1ab4 |
134e4caaaf66c0e4f002a8354dec97908aed6564 | c3ffa07567d3d29a7439e33a6885a5544e896644 | /CodeForce/500-B.cpp | b2566d89e63fec7f3868af31b8aac1ffc75187bb | [] | no_license | a00012025/Online_Judge_Code | 398c90c046f402218bd14867a06ae301c0c67687 | 7084865a7050fc09ffb0e734f77996172a93d3ce | refs/heads/master | 2018-01-08T11:33:26.352408 | 2015-10-10T23:20:35 | 2015-10-10T23:20:35 | 44,031,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | cpp | #include<bits/stdc++.h>
using namespace std;
const int maxn=400 ;
int a[maxn],inv[maxn],ans[maxn] ;
char G[maxn][maxn] ;
bool d[maxn][maxn] ;
main()
{
int n ; scanf("%d",&n) ;
for(int i=1;i<=n;i++) scanf("%d",&a[i]) , inv[a[i]]=i ;
for(int i=1;i<=n;i++) scanf("%s",&G[i][1]) ;
memset(d,0,siz... | [
"a00012025@gmail.com"
] | a00012025@gmail.com |
e1b4a94651bec1485450e427d0f6bf56710445b7 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_patch_hunk_884.cpp | 99b884ce59574dcfec0d8c3c6b3b245b533e6c1f | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,041 | cpp | }
#endif
return bytes_written;
}
+/*
+ * add_buffer_init() returns a fine buffer struct
+ */
+send_buffer *add_buffer_init(void)
+{
+ send_buffer *blonk;
+ blonk=(send_buffer *)malloc(sizeof(send_buffer));
+ if(blonk) {
+ memset(blonk, 0, sizeof(send_buffer));
+ return blonk;
+ }
+ return NULL; /... | [
"993273596@qq.com"
] | 993273596@qq.com |
c53dea291dfb0bd503259fe0e8506c4b62c21a68 | 3df6badbe1e4ab7f5f5400e79732868d9c5c9274 | /code/lt0187.cpp | 60e51be487be9e8463c9f0ae1a73c8cbbe880bb3 | [] | no_license | iwtbam/leetcode | fa440bf889b69bf3a6a3de1bf1846db3ca6aace9 | d76b120068919971775595ae306683aa0bab2bde | refs/heads/master | 2021-07-01T10:20:03.507257 | 2021-02-14T14:20:51 | 2021-02-14T14:20:51 | 214,327,800 | 11 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | #include <set>
#include <vector>
#include <string>
using namespace std;
class Solution {
public:
vector<string> findRepeatedDnaSequences(string s) {
set<string> s1;
set<string> s2;
int size = s.size();
for(int i = 0; i < size - 10; i++){
auto str = s.substr(0, 10);
... | [
"1161784945@qq.com"
] | 1161784945@qq.com |
cdc3624c57a42efea9fd7057f1e4d6ef0a4bc0f4 | 901373e903f1b44e4d6880a1926328821e0877dc | /src/qt/rpcconsole.cpp | fb858a6ca0cfdd0bb3ecd2a81f81250ecff38c6f | [
"MIT"
] | permissive | bitpound/bitpound | f16da4d8e80b816840239009b6ef1333086c87ae | 355d3022d6580867c9e4194037f8ebb1ff0ddc44 | refs/heads/master | 2021-01-10T14:13:58.149811 | 2016-01-17T16:56:29 | 2016-01-17T16:56:29 | 48,623,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,507 | cpp | #include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QTimer>
#include <QThread>
#include <QTextEdit>
#include <QKeyEvent>
#include <QUrl>
#include <QScrollBar>
#include <openssl/crypto.h>
// TODO: make it possible to filt... | [
"caesar@Iuliuss-MacBook-Air.local"
] | caesar@Iuliuss-MacBook-Air.local |
bf1ef334f2d35b84c33c6630552483fc74bde788 | 51e7b8214a1103daf485ea72100d68988efef29b | /1-3.cpp | 6c44ad3882dea620c78a9a99aaf7d4ed0c6e40bb | [] | no_license | justin-tt/accelerated_cpp | eb25b2ed03e34ecf1505b5be87caeaecc89eb8b2 | 5b6f6fca0509f505dd8375aa0e00504b9bab0a81 | refs/heads/master | 2020-03-18T12:54:21.331063 | 2018-05-26T11:03:52 | 2018-05-26T11:03:52 | 134,750,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | cpp | #include <iostream>
#include <string>
int main(){
{
const std::string s = "a string";
std::cout << s << std::endl;
}
{
const std::string s = "another string";
std::cout << s << std::endl;
}
return 0;
}
| [
"justin.ch.goh@gmail.com"
] | justin.ch.goh@gmail.com |
2a832a23e4257930d0211c8b2654494a6dc00b3f | f0bd42c8ae869dee511f6d41b1bc255cb32887d5 | /Codeforces/538A. Cutting Banner.cpp | 4e04ba5a5a15a2843170ffdb79af9925dea429e4 | [] | no_license | osamahatem/CompetitiveProgramming | 3c68218a181d4637c09f31a7097c62f20977ffcd | a5b54ae8cab47b2720a64c68832a9c07668c5ffb | refs/heads/master | 2021-06-10T10:21:13.879053 | 2020-07-07T14:59:44 | 2020-07-07T14:59:44 | 113,673,720 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 555 | cpp | /*
* 538A. Cutting Banner.cpp
*
* Created on: Apr 26, 2015
* Author: Osama Hatem
*/
#include <bits/stdtr1c++.h>
#include <ext/numeric>
using namespace std;
int main() {
#ifndef ONLINE_JUDGE
freopen("in.in", "r", stdin);
// freopen("out.out", "w", stdout);
#endif
string in, tar = "CODEFORCES";
cin >> i... | [
"osama@elysian.team"
] | osama@elysian.team |
d8c9f84372607957b4a5468cffd5fcfab7ab2b94 | fb1f2c730ce459b6bec8b8401355e9cadc4b984e | /April/Day19-SearchInRotatedArray.cpp | c3e28271277a04ed9358a6509ce92c8d587cee66 | [] | no_license | prtsh/30-Day-LeetcodeChallenge-2020 | d12937ac358947ceaa16d77d1931d24f2e8a48f8 | d2bc46436b23ba857e87fa2660c170c9260af58f | refs/heads/master | 2022-06-08T11:50:11.754060 | 2020-05-08T02:41:08 | 2020-05-08T02:41:08 | 256,850,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | cpp | /*
Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.
(i.e., [0,1,2,4,5,6,7] might become [4,5,6,7,0,1,2]).
You are given a target value to search. If found in the array return its index, otherwise return -1.
You may assume no duplicate exists in the array.
Your algorithm... | [
"pratyush.ismu@gmail.com"
] | pratyush.ismu@gmail.com |
9f7d48793b7422b2e50f7fc79ec144c93b01601c | 59df055dd9b5902eb27b73df840979cd7790f79d | /src/network-api/client-network-api.hxx | ab958febdbef3f2f901ceed977c65f28a7ac1391 | [] | no_license | danielbaud/ChessEngine | e73bf0c83367bb0019b5460d1ea9d04d54ef18fe | 7c37439847eca746ff558e0a8743ebad5c3c96a7 | refs/heads/master | 2020-06-19T15:35:42.653526 | 2019-07-13T21:35:05 | 2019-07-13T21:35:05 | 196,766,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,119 | hxx | #pragma once
#include "client-network-api.hh"
#include <array>
#include <boost/asio.hpp>
#include "common.hh"
/**
** \brief Implementation file for the client API
** Do not modify!
** You do not have to read or understand it.
*/
namespace network_api
{
/* Namespace aliases */
namespace asio = boost::asio;
u... | [
"daniel.baud@epita.fr"
] | daniel.baud@epita.fr |
0a77036731b0642f9830aedefdb5696b58713972 | a9de1209ef3c4dc58f24004fad3f66dc08f8a98a | /Huffman Coding and Entropy Calculator/BinaryTree.h | 5d67d5def3c43cf5c7034a18fe624b69661e16fe | [] | no_license | tyrus-tracey/Huffman-Coding-and-Entropy-Calculator | 1bc44efde2d69c3e5615a14a272fa7a9eb8f3fbb | 24043f1c3d73b3826933f152eadf3e5abe75c320 | refs/heads/master | 2022-11-24T19:57:08.046022 | 2020-08-03T17:56:33 | 2020-08-03T17:56:33 | 278,427,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | h | #pragma once
#include "Node.h"
#include <vector>
class BinaryTree
{
public:
BinaryTree(std::vector<Node> distribution);
~BinaryTree();
int size() const;
bool empty() const;
Node* root();
Node* position;
void printTree();
void deleteTree(Node* node);
void generateCodes();
double averageCodeLength();
int tot... | [
"ttracey@sfu.ca"
] | ttracey@sfu.ca |
4e21c2d7a9a757a3e7504570fc065653484eac4d | 19e748c74026e95d8946033715746f34066b2cf8 | /.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_+_eq.pass.cpp | c04ef730c6eb1a9602eeb473f9b35157b539d3b7 | [
"NCSA",
"LLVM-exception",
"MIT",
"Apache-2.0"
] | permissive | JanuszL/libcudacxx | a0c156e7c2bf12e2ee97401a7dc3e33a928a7fb5 | 41c94bdb8ff4974f2317b505360690715b8f5f7a | refs/heads/main | 2023-08-26T07:31:32.396998 | 2021-08-20T22:20:58 | 2021-08-20T22:20:58 | 408,430,785 | 0 | 0 | NOASSERTION | 2021-09-20T12:17:33 | 2021-09-20T12:17:32 | null | UTF-8 | C++ | false | false | 1,131 | cpp | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"griwes@griwes.info"
] | griwes@griwes.info |
39390995363e328cb610298c0ad038b74e884ce8 | 136f4d7ef71ea86b84220874edbea6d204931ff2 | /src/rsba/Sfm2Ply.h | 06175a9918594869d1ef325a4814efb2a9c9f4f6 | [
"Apache-2.0"
] | permissive | brunobg/rsba | 7c449119f580fa73444c4a4aac90ff13a15cd35a | 4d4aa952c3a5e41bd8355d394f6ed15bc14802f3 | refs/heads/master | 2021-01-17T14:59:33.531808 | 2018-02-15T13:14:42 | 2018-02-15T13:14:42 | 83,324,871 | 0 | 0 | null | 2018-01-16T14:40:54 | 2017-02-27T15:22:07 | C++ | UTF-8 | C++ | false | false | 428 | h | #ifndef _Sfm2Ply_h
#define _Sfm2Ply_h
#include "rsba/struct/VideoSfM.h"
#include "rsba/SfmOptions.h"
using namespace std;
namespace vision {
namespace sfm {
void writeCam(const double pose[6], unsigned cam_index, unsigned num_cameras, FILE* f);
void writePly(const string& file, const sfm::Session& sess, const Sfm... | [
"henrique@apache.org"
] | henrique@apache.org |
50488110b4e541666ce8a8180fa570a1b74f8574 | 48639c0acd4f70050e712873fd0b7f333d327434 | /hackerrank/Data Structures/insert-a-node-at-the-head-of-a-linked-list.cpp | 57a3abbbf80542bdc0034f43e5ad77fac90e53f1 | [] | no_license | gjmingsg/Code | 5cfddf4ce327262278b0940c78996e6f545484bb | 66f9691585cda77c9685d09a80ab2ac57bd853f9 | refs/heads/master | 2021-01-18T01:42:54.636069 | 2019-06-13T08:53:25 | 2019-06-13T08:53:25 | 7,618,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | cpp | /*
Insert Node at the end of a linked list
head pointer input could be NULL as well for empty list
Node is defined as
*/
#include<stdlib.h>
struct Node
{
int data;
struct Node *next;
};
Node* Insert(Node *head,int data)
{
if(head==NULL){
head = new Node;
head -> data=data;
head -> next = N... | [
"gjmingsg@163.com"
] | gjmingsg@163.com |
256f3c6f9e688df3c8318abe40fbd832c1b8f870 | 49d0403b0eb17fd434f438599281acc61db9e408 | /SSSTA/SSSTA7-图论入门/G/g.cpp | 66fc7e39836a926ae5135182b4067fcff493d994 | [] | no_license | francisfsjiang/ACM | 01795c0fd44941ce530e4aa7cfec54ad5f7705f6 | 5506cc5b9c94ca0866f9ee383676638b74ec5475 | refs/heads/master | 2021-05-27T01:02:39.419742 | 2014-02-26T12:45:06 | 2014-02-26T12:45:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,526 | cpp | # include<stdio.h>
# include<stdlib.h>
# include<string.h>
#include<math.h>
int edge[500000][2];
double dist[500000];
int pos[505][2];
int fath[505];
int fa(int x)
{
if(fath[x]==-1)
{
fath[x]=x;
return fath[x];
}
else if(fath[x]==x)return x;
else
{
fath[x]=fa(fath[x]);
... | [
"287459525@qq.com"
] | 287459525@qq.com |
60e32d6dde98ca97431baa7da2e90e6571a35b7e | adbc979313cbc1f0d42c79ac4206d42a8adb3234 | /Source Code/李沿橙 2017-10-3/competition/source/HNSDFZ-欧瀚骏/snakevsblock.cpp | 0dbea79f3873597ee7bcbe3baec81c84341aa153 | [] | no_license | UnnamedOrange/Contests | a7982c21e575d1342d28c57681a3c98f8afda6c0 | d593d56921d2cde0c473b3abedb419bef4cf3ba4 | refs/heads/master | 2018-10-22T02:26:51.952067 | 2018-07-21T09:32:29 | 2018-07-21T09:32:29 | 112,301,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,901 | cpp | #include <cstdio>
#include <cstring>
#include <cstdlib>
#include <iostream>
#define N 200
#define L 10000
#define max(a, b) ((a) > (b) ? (a) : (b))
using namespace std;
int ans = 0;
void update(int &a, int b, int c) { if (b == -1) return ; a = max(a, b + c); }
int mx = 0, g[6][6][L + 5], a[N + 5][7], f[N + 5][7], dp[2]... | [
"lycheng1215@sina.com"
] | lycheng1215@sina.com |
35c1a041a7ef05f09d1695037bfc7ef37ef5f3f2 | e785a1c1ea38813edc5be7d3833d5083b6033b15 | /src/qt/addeditadrenalinenode.cpp | 4c5b8fa90a6593f160ec0c075af04fec417cf666 | [
"MIT"
] | permissive | likewind123/xios | 5954c3a727e7cf09277f5c8aa0a97a267472ad9e | 82071afad615972cfe86320a4a4fea6654ac951a | refs/heads/master | 2022-06-01T21:21:51.118429 | 2017-11-20T00:44:28 | 2017-11-20T00:44:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,299 | cpp | #include "addeditadrenalinenode.h"
#include "ui_addeditadrenalinenode.h"
#include "masternodeconfig.h"
#include "masternodemanager.h"
#include "ui_masternodemanager.h"
#include "walletdb.h"
#include "wallet.h"
#include "ui_interface.h"
#include "util.h"
#include "key.h"
#include "script.h"
#include "init.h"
#include "... | [
"dbraford@gmail.com"
] | dbraford@gmail.com |
00baadca3c06f89faab2ef4e7ae7235fb528422e | dc2e0d49f99951bc40e323fb92ea4ddd5d9644a0 | /Cecily/Activemq-cpp_3.7.1/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQTempQueueMarshaller.cpp | b39a9d2b71a18ef599b6c3fab33d8c5e70999c03 | [
"Apache-2.0"
] | permissive | wenyu826/CecilySolution | 8696290d1723fdfe6e41ce63e07c7c25a9295ded | 14c4ba9adbb937d0ae236040b2752e2c7337b048 | refs/heads/master | 2020-07-03T06:26:07.875201 | 2016-11-19T07:04:29 | 2016-11-19T07:04:29 | 74,192,785 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,793 | cpp | /*
* 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... | [
"626955115@qq.com"
] | 626955115@qq.com |
59f292cf7378ec3f32a0ff33bcb247b87e3acf8a | a02d95c61213ca916e44d3ce97ad6757533f6182 | /src/tutorials/templates.h | e16178a47cc2c92b53394b81dd15fee83fc1253c | [] | no_license | dan-fritchman/EffectiveModernCppBook | 2b4b317a637186d3a0da499f08637faa9d0b2a67 | 1b8ae59c63901efd14055cf51c4f39ab0b00bd5c | refs/heads/master | 2022-12-14T00:12:12.886705 | 2020-08-25T04:18:37 | 2020-08-25T04:18:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,282 | h | //
// Created by Dan Fritchman on 2019-01-09.
//
#ifndef CPP_TUTORIALS_TEMPLATES_H
#define CPP_TUTORIALS_TEMPLATES_H
namespace templates {
template<typename T>
void f(const T &p) {
T p3 = p * 3;
print(p3);
}
template<typename T>
void g(T &&p) {
print(p);
}
templa... | [
"daniel.fritchman@gmail.com"
] | daniel.fritchman@gmail.com |
5786c183c0e66f5a39059dfef12b46fb39d2f950 | afdf8536a97ffdae17e065cb4611b1cb16062d44 | /apps/output_mpi/src/kosaraju_main.cc | 8b81c3b3f5c4f88b90067b295303bc8c550b3ad9 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | anchur/DisGCo | 6b08e4f86700fb510a148ec802eed40c266e242d | b9b59cb0264ecd2241ffa4d49ef1d71566e6fb48 | refs/heads/master | 2023-02-13T07:55:36.456648 | 2021-01-18T05:26:04 | 2021-01-18T05:26:04 | 283,666,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | cc | #include "common_main.h"
#include "kosaraju.h" // defined in generated
#include <sys/types.h>
#include <unistd.h>
class my_main: public main_t
{
public:
int* membership;
int num_membership;
virtual ~my_main() {
delete[] membership;
}
my_main() : membership(NULL), num_membership(0) {
... | [
"anchurs@gmail.com"
] | anchurs@gmail.com |
33f6d6f8522377b7583836f11d08f66505b4fc3e | bb65a3b3d17d88bce775bf4e97d37c60fb45413c | /CodeForces/870A/14019555_AC_31ms_4kB.cpp | 449fa84728ed111ee62d9dc98dbc854d6c5aabb6 | [] | no_license | Tufahel/Vjudge-ACM-Solutions | 802502b993891a5a1d2d015087dd946cf5a7a7e0 | d60cdc27ff1a0b2da178906bb7450387d2695808 | refs/heads/master | 2023-06-30T17:26:27.710523 | 2021-08-05T15:10:58 | 2021-08-05T15:10:58 | 393,086,295 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 749 | cpp | #include<bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
ll n,t;
cin>>n>>t;
ll arr1[n+1],arr2[t+1];
for(ll i=0; i<n; i++)
{
cin>>arr1[i];
}
sort(arr1,arr1+n);
for(ll i=0; i<t; i++)
{
cin>>arr2[i];
}
sort(arr2,arr2+t);
ll x=0,num[10... | [
"60083437+Tufahel@users.noreply.github.com"
] | 60083437+Tufahel@users.noreply.github.com |
fa5c2635a10f6416d7130cad48488d9ac6e068ab | 62bf789f19f500aa5aa20f6911573cc0c59902c7 | /green/src/model/UpdateOssStockStatusResult.cc | a64af9688fd7766c42fa2c6eb1314c69d2bea6ee | [
"Apache-2.0"
] | permissive | liuyuhua1984/aliyun-openapi-cpp-sdk | 0288f0241812e4308975a62a23fdef2403cfd13a | 600883d23a243eb204e39f15505f1f976df57929 | refs/heads/master | 2020-07-04T09:47:49.901987 | 2019-08-13T14:13:11 | 2019-08-13T14:13:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
06a0cb65d3f55f26765b3cce5e23a3dcf2a3f498 | 680dae9ff7c101aba1a33b22001c1ceea8c2f6f6 | /void-core/src/Common/Coroutines/CoroutineManager.cpp | 09ffa44e05d13ec95895258ca063d345f278556b | [
"MIT"
] | permissive | m039/Void | af696e237ff3da7683faadc348fe1690d1e0e9fb | 1f711a3769f228c9f5edb3377c3370ed68a8e17f | refs/heads/master | 2020-12-30T12:45:26.699826 | 2017-05-16T07:20:00 | 2017-05-16T07:20:00 | 91,358,975 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,111 | cpp | //
// Created by Dmitry Mozgin on 21/04/2017.
//
#include "CoroutineManager.h"
using namespace vd;
CoroutineManager::CoroutineManager() :
_inUpdate(false) {
}
CoroutineManager::~CoroutineManager() {
StopAll();
}
CoroutineRef CoroutineManager::Start(const Coroutine::EnumerationFunction &enumerator) {
... | [
"m0391n@gmail.com"
] | m0391n@gmail.com |
29c3c22c60e2995a9f0ded2baaae882181e611d4 | e763b855be527d69fb2e824dfb693d09e59cdacb | /aws-cpp-sdk-mobile/include/aws/mobile/model/Resource.h | 0b7a650e380319bffc183991f3cf132fbe414c00 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 34234344543255455465/aws-sdk-cpp | 47de2d7bde504273a43c99188b544e497f743850 | 1d04ff6389a0ca24361523c58671ad0b2cde56f5 | refs/heads/master | 2023-06-10T16:15:54.618966 | 2018-05-07T23:32:08 | 2018-05-07T23:32:08 | 132,632,360 | 1 | 0 | Apache-2.0 | 2023-06-01T23:20:47 | 2018-05-08T15:56:35 | C++ | UTF-8 | C++ | false | false | 6,329 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
5f944f652d8b47b6119c3bb52a4ccb2b1c1d340e | 3321f67c972f5bd3372f078da7f74d1a77641c64 | /ROS/devel/include/image_rotate/ImageRotateConfig.h | 984dd8a4a26d320218233057439a3a365e0a5981 | [] | no_license | MarcoAAG/Tesis | fa5a6e266eef2a6634aa1b79fe5d01ee84f03827 | f67b5dff172df7fc4bde4f53c117134299e27d6d | refs/heads/master | 2021-06-23T06:21:11.139561 | 2020-08-31T23:19:02 | 2020-08-31T23:19:02 | 256,625,266 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,589 | h | //#line 2 "/opt/ros/melodic/share/dynamic_reconfigure/cmake/../templates/ConfigType.h.template"
// *********************************************************
//
// File autogenerated for the image_rotate package
// by the dynamic_reconfigure package.
// Please do not edit.
//
// *****************************************... | [
"marco-antonioa@outlook.com"
] | marco-antonioa@outlook.com |
2ea5db7f12072f999a3104db47a6d88903700486 | fb98fed853c57c7c79c38c0aa3b90ab66d046475 | /prajinjo/src/sr.cpp | 0a96ccea3aed5b73ad9e2495c037b896e8238bc7 | [] | no_license | pjonchhe/reliable_transport_protocol | 2da898339895c58288320cbf9f32aaca92fb0ebf | 43f53e5785cd72206a6becae2b1babbd4e6f8251 | refs/heads/master | 2021-09-02T02:37:47.119865 | 2017-12-29T19:40:16 | 2017-12-29T19:40:16 | 110,907,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,916 | cpp | #include "../include/simulator.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
/* ******************************************************************
ALTERNATING BIT AND GO-BACK-N NETWORK EMULATOR: VERSION 1.1 J.F.Kurose
This code should be used for PA2, unidirectional data transfer
protocols (f... | [
"prajinjo@buffalo.edu"
] | prajinjo@buffalo.edu |
787229ac960db705ac3447e9a13f732322f5da6e | 5ec53d7afb645bfaf2620ba1267186054b92d84d | /PID_Lab/test/arduino_speak/arduino_speak.ino | 60ea54b32a59a7ad9feb6964b298df7fd04ee364 | [] | no_license | zhathawa/ENGR-131B | d515b5ce2f69c6ad2211389979205baac7096c9f | 5ea169ec3b7e742f7bbf0285c7b6e415002ebda0 | refs/heads/master | 2020-04-17T05:23:32.865510 | 2019-11-26T17:02:57 | 2019-11-26T17:02:57 | 166,276,529 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | ino |
#include "ardy.h"
#include "commands.h"
#include "joystick.h"
#include "pulse_gen.h"
#include "ultra.h"
#include "states.h"
// pointer for commands
char* options;
// chars read from serial line
int charsRead;
// serial message stored here
char msg[50];
// main interface with our various functions
Ardy ardy;
// se... | [
"zach.hathaway48@gmail.com"
] | zach.hathaway48@gmail.com |
1a12f264af2401db5d058ee1ab301a3e672211a1 | a623bb4db329c8d63e03908d16dc2808bacbcdaa | /include/vRt/Parts/Enums.inl | 750274b2e64cba6f6b2b9afcaf69bee4ab97c3a0 | [
"MIT"
] | permissive | gitter-badger/vRt | 990358412ec885352d3893bf80fdc286e01d170c | a50b67d42a7d8eb0735016337ec7f482a2bde253 | refs/heads/master | 2020-03-19T12:14:12.155526 | 2018-06-07T12:54:32 | 2018-06-07T12:54:32 | 136,505,385 | 0 | 0 | MIT | 2018-06-07T16:41:44 | 2018-06-07T16:41:44 | null | UTF-8 | C++ | false | false | 2,509 | inl | #pragma once
#include "Headers.inl"
#include "StructuresLow.inl"
namespace vt { // store in official namespace
// for not confusing with Vulkan API
// use 0x11E for VtResult
// use 0x11F for VtStructureType
// planned merge ray tracing exclusive errors
typedef VkResult VtResult;
typedef enum... | [
"33594593+elviras9t@users.noreply.github.com"
] | 33594593+elviras9t@users.noreply.github.com |
40407ff135ccad0a4e3228b35e1fb91727b2dcc8 | 51c373c677af476f9e0af12232c610bb624c3486 | /CougSat1-IHU/src/drivers/CSRI.h | 187c2afed7db1dee87ccd458c6feb9f88fe8f0d9 | [] | no_license | KendrickMitchell/CIS-temp2- | 2560e506a60db6651bf159f94320e52e7ee255fa | a09f5032b411c359155fc03dbd9c6f5854198093 | refs/heads/master | 2020-04-25T08:23:23.858052 | 2018-12-01T22:44:05 | 2018-12-01T22:44:05 | 172,645,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,696 | h | /******************************************************************************
* Copyright (c) 2017 by Cougs in Space - Washington State University *
* Cougs in Space website: cis.vcea.wsu.edu *
* *
... | [
"bradley.l.davis@wsu.edu"
] | bradley.l.davis@wsu.edu |
55bcef5fa5a3b2892dd80a5b5972129c58e5f577 | 4e1130e548ec59e55d91ccaecc2123e57ec079d8 | /CppND-Capstone-Snake-Game/src/main.cpp | 909ff52353868b70ca133a1be7b467ef4f842de7 | [] | no_license | mykhani/CPP_Udacit_ND | 95f0da75e38e64b63e5eaed0f069a6233bfcb924 | d919ec3679f650f5b35f0880fb4d66ac9d3cd6fd | refs/heads/master | 2022-07-16T19:45:22.328476 | 2020-05-17T23:24:02 | 2020-05-17T23:24:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | #include <iostream>
#include "controller.h"
#include "game.h"
#include "renderer.h"
int main() {
constexpr std::size_t kFramesPerSecond{60};
constexpr std::size_t kMsPerFrame{1000 / kFramesPerSecond};
constexpr std::size_t kScreenWidth{640};
constexpr std::size_t kScreenHeight{640};
constexpr std::size_t kGr... | [
"ahmhashesh@gmail.com"
] | ahmhashesh@gmail.com |
a2bda1a79c761d33939e4e91ff72086b97da8a55 | 080e7f5eeb768b87d3cbae2e37f2942e4197a327 | /数据结构与算法.算法设计题/快速排序一趟.cpp | c0ad70aac24ff49a732296aea9b6529bedfbd0a6 | [] | no_license | yhshu/Data-Structures-and-Algorithms | 9c4087d4b1c6d6f117323076f77f066809392493 | b2359b33a4c54694a25707d6139c4e46f2df45c2 | refs/heads/master | 2021-09-14T13:44:15.450133 | 2018-05-14T15:04:09 | 2018-05-14T15:04:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | // 设有一组初始记录关键字序列K1到Kn,要求设计一个算法能在O(n)的时间复杂度内将线性表分为两部分,其中左半部分的每个关键字均小于K1,右半部分的每个关键字均大于K1
void quick_sort(int a[], int start, int end) {
int pivot = a[start];
int i = start, j;
for (j = start + 1; j <= end - 1; j++) {
if (a[j] <= pivot) {
i++;
swap(a, i, j);
}
sw... | [
"lzw429@qq.com"
] | lzw429@qq.com |
3fa9010c06a88ddd18911df6e67d10a35395712c | 18235c9cd03db2879f9158e462e1fcbadf936c6d | /src/gpu/gradients/GrGradientShader.cpp | 4fe5266aee2473ea9874c99e175d57d392d6038a | [
"BSD-3-Clause",
"SGI-B-2.0"
] | permissive | LineageOS/android_external_skia | 1ffccc50c8c65acdc91a420aa55ef38e752576a5 | e519a019ae513c4cf640e2122c66224f569f79cb | refs/heads/lineage-17.1 | 2022-10-23T10:17:35.983361 | 2021-09-09T12:44:51 | 2021-09-09T12:44:51 | 75,638,325 | 1 | 62 | BSD-3-Clause | 2022-10-02T20:13:32 | 2016-12-05T15:29:07 | C++ | UTF-8 | C++ | false | false | 14,225 | cpp | /*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrGradientShader.h"
#include "GrClampedGradientEffect.h"
#include "GrTiledGradientEffect.h"
#include "GrLinearGradientLayout.h"
#include "GrRadialGradientLayout.h"... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
6a5ee8979a285ee91fa8240d85ed357d3b564c7c | 60f5e5d75aac439f11276caa4998dc392b02b9b7 | /src/main/native/FunctionPointerUtils_Win.cpp | c5a0c162f40bdd1b32c7a4df6461248fb97840ba | [
"MIT"
] | permissive | gpu/JOCL | 85046f2747740790ac1a9ce80178489e8edf3766 | 2db325a411039046b41a6d28c9e70ae09398dc43 | refs/heads/master | 2023-05-14T10:51:32.969534 | 2023-05-06T15:19:12 | 2023-05-06T15:19:12 | 1,185,036 | 174 | 45 | NOASSERTION | 2022-06-15T20:07:36 | 2010-12-20T18:40:29 | Java | UTF-8 | C++ | false | false | 2,854 | cpp | /*
* JOCL - Java bindings for OpenCL
*
* Copyright (c) 2009-2012 Marco Hutter - http://www.jocl.org
*
* 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, i... | [
"jocl@jocl.org"
] | jocl@jocl.org |
5ce1972bbc2400f02cf3bcceab51901c316d4404 | db179759b7f3b1afb80b5efec032a38e615154d3 | /Development/Src/D3D9Drv/Src/D3D9Util.cpp | 5d96c321369bd5d61407ce649e162b00a10e9270 | [] | no_license | xukunn1226/VRI3 | b263c6df957cefb8a347ff8feb7a90a491e28715 | 47c536220d60f04ccaccb275f65d63d717e25ac5 | refs/heads/master | 2016-09-09T22:34:51.370275 | 2013-02-18T16:09:31 | 2013-02-18T16:09:31 | 8,271,770 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,312 | cpp | #include "D3D9DrvPCH.h"
FString GetD3DErrorString(HRESULT ErrorCode)
{
FString ErrorText;
#define D3DERR(x) case x : ErrorText = TEXT(#x); break;
switch(ErrorCode)
{
D3DERR(D3D_OK)
D3DERR(D3DERR_WRONGTEXTUREFORMAT)
D3DERR(D3DERR_UNSUPPORTEDCOLOROPERATION)
D3DERR(D3DERR_UNSUPPORTEDCOLORARG)
D3DERR(D3DERR... | [
"xukunn1226@gmail.com"
] | xukunn1226@gmail.com |
04639d846d58360f6850749b0f3f2bd0b2067622 | 3420718f59993749d60b1439f4c6cceca129a123 | /CODES/google_code_jam/prc.cpp | 4b4ff0005a02735c2da985e8daf6f5d4d3ef8316 | [] | no_license | melvinvarkey/CompetitiveProgramming | 6f38b4a0d72621d31b65bc786c2522043fe59fd6 | c49ad082ce07daa6a2a5c9cbd7b10d3df84c9fe1 | refs/heads/master | 2020-12-30T21:59:51.491269 | 2014-10-08T11:59:50 | 2014-10-08T11:59:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | cpp | #include<iostream>
#include<cstring>
#include<cstdio>
using namespace std;
int main()
{
freopen("in.txt","r",stdin);
freopen("out.txt","w",stdout);
int i,j,k,n,len,p1,p2,cas=0;
char s1[5000];
// char c=' ';
cin>>n;
// n+=1;
for(k=0;k<n;k++)
{
... | [
"shabaz1729@gmail.com"
] | shabaz1729@gmail.com |
7db38f8bcf853aa4129073ae8587851446859ebe | 77157987168fc6a0827df2ecdd55104813be77b1 | /CNull/inst/testfiles/communities_individual_based_sampling_alpha/libFuzzer_communities_individual_based_sampling_alpha/communities_individual_based_sampling_alpha_DeepState_TestHarness.cpp | eb5ab4d68bae47023580d977295a0a15b20a3503 | [] | no_license | akhikolla/updatedatatype-list2 | e8758b374f9a18fd3ef07664f1150e14a2e4c3d8 | a3a519440e02d89640c75207c73c1456cf86487d | refs/heads/master | 2023-03-21T13:17:13.762823 | 2021-03-20T15:46:49 | 2021-03-20T15:46:49 | 349,766,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// communities_individual_based_sampling_alpha_DeepState_TestHarness_generation.cpp and communities_individual_based_sampling_alpha_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include ... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
53881069ab3381cad2ec91ec5afe1b3fcd8be1a1 | f0b7bcc41298354b471a72a7eeafe349aa8655bf | /codebase/apps/Radx/src/RadxModelQc/AzGradientFilter.cc | 255792aee5e8b4c6d4e5b6bc391ede6b125cee38 | [
"BSD-3-Clause"
] | permissive | NCAR/lrose-core | 23abeb4e4f1b287725dc659fb566a293aba70069 | be0d059240ca442883ae2993b6aa112011755688 | refs/heads/master | 2023-09-01T04:01:36.030960 | 2023-08-25T00:41:16 | 2023-08-25T00:41:16 | 51,408,988 | 90 | 53 | NOASSERTION | 2023-08-18T21:59:40 | 2016-02-09T23:36:25 | C++ | UTF-8 | C++ | false | false | 6,794 | cc | #include "AzGradientFilter.hh"
#include "AzGradientStateSpecialData.hh"
#include "RayData1.hh"
#include <Radx/RadxRay.hh>
#include <Radx/RayxData.hh>
#include <radar/RadxApp.hh>
#include <toolsa/LogStream.hh>
#include <vector>
#include <string>
//----------------------------------------------------------------------
A... | [
"dixon@ucar.edu"
] | dixon@ucar.edu |
bed45ad82c8a16a76b592d7cd9e40f15ddf221d5 | c97cb7e29c8e7319ba23a78f5bc30bdf1dbe0117 | /src/camera/camera.hpp | e7abe635bd5eff719d25a11a63cbe1b87a987193 | [] | no_license | nagato0614/nagatoRender | 5693211c5e971209bdcc03c8848a5ac2ea73a40b | 822d6f0d250e979a9355f789c23cc988e5842d75 | refs/heads/master | 2020-07-02T11:08:19.535123 | 2019-11-17T16:02:56 | 2019-11-17T16:02:56 | 201,505,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | hpp | //
// Created by 長井亨 on 2019-08-10.
//
#ifndef NAGATO_RENDER_SRC_CAMERA_CAMERA_HPP_
#define NAGATO_RENDER_SRC_CAMERA_CAMERA_HPP_
#include "nagato.hpp"
#include "ray.hpp"
namespace nagato {
class Camera {
public:
virtual Ray GeneratePrimaryRay(int x, int y) const = 0;
Camera(const Vector3f &lookfrom,
const V... | [
"nagato0614@gmail.com"
] | nagato0614@gmail.com |
2f64fd0e7b45dbe27745a2613abeeb6b2b5055fd | 3af68b32aaa9b7522a1718b0fc50ef0cf4a704a9 | /cpp/A/C/B/B/D/AACBBD.cpp | 0bea9266bb24ca0be075576f0df07cf03b6f2f94 | [] | no_license | devsisters/2021-NDC-ICECREAM | 7cd09fa2794cbab1ab4702362a37f6ab62638d9b | ac6548f443a75b86d9e9151ff9c1b17c792b2afd | refs/heads/master | 2023-03-19T06:29:03.216461 | 2021-03-10T02:53:14 | 2021-03-10T02:53:14 | 341,872,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108 | cpp | #include "AACBBD.h"
namespace AACBBD {
std::string run() {
std::string out("AACBBD");
return out;
}
} | [
"nakhyun@devsisters.com"
] | nakhyun@devsisters.com |
f466788fc22c9c65a62bb83467d4194a56f13226 | 57a3942322461889bc62e349385d5345466de421 | /misionerodedios-tenor2.inc | 44f3078fac41a8e8027721eaab24088882af12c3 | [] | no_license | cjsjb/misionerodedios | f054e934b3051fa5d90df2c28a482a86e2edbdc9 | 93d3f343148f9f3738a4b0a7d9644cc057ee9413 | refs/heads/master | 2022-10-29T18:31:28.725350 | 2022-10-14T02:21:25 | 2022-10-14T02:21:25 | 145,914,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,059 | inc | \context Staff = "Músicos" \with { \consists Ambitus_engraver } <<
\set Staff.instrumentName = "Tenor II"
\set Staff.shortInstrumentName = "T.2"
\set Score.skipBars = ##t
\set Staff.printKeyCancellation = ##f
\new Voice \global
\new Voice ... | [
"yosoy@danieldiaz.org"
] | yosoy@danieldiaz.org |
484e433c88294e31f6125fe5157831095b3d6c57 | e676ab46f8d641ce314ff68394c6c45bca3a9674 | /第7章 输入输出流/7.1_有一元二次方程,当此公式出错,用cerr流输出有关信息.cpp | 6fd1f8dc9de0500c40589d8e7d241ee32e8e059b | [] | no_license | dairycode/Cplusplus-language | 0ac04edbed52cff20eb1e3c678c963c984e9f7bd | 29cf9a0f3bd1f03d9e35f17bf34f35be2f3f09d7 | refs/heads/master | 2020-07-03T11:24:09.551988 | 2019-07-31T17:12:04 | 2019-07-31T17:12:04 | 201,891,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
float a,b,c,disc;
cout<<"please input a,b,c:";
cin>>a>>b>>c;
if(a==0)
cerr<<"a is equal to zero,error!"<<endl;
else
if((disc=b*b-4*a*c)<0)
cerr<<"disc=b*b-4*a*c<0"<<endl;
else
{
cout<<"x1="<<(-b+sqrt(disc))/(2*a)<<endl;
cout<<... | [
"liuzeyes@126.com"
] | liuzeyes@126.com |
68e58a30b866e25efa665e616ed6cc39e2cf2c36 | 90ab0be83a4e38ca7c9daec218d171e5fbcbd3a1 | /untitled/Cliente.h | fad3bf570acd6d6897a5cda87510248fc28cf66a | [] | no_license | ThunderGer23/Curso-C- | d24d7c69ffd24d9036b573c886cd9f926923ffc8 | 59af2183730be0050e1cf85bae1a4d0ded923874 | refs/heads/master | 2022-12-09T23:24:06.928307 | 2020-09-12T05:52:54 | 2020-09-12T05:52:54 | 294,879,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | h | //
// Created by cuand on 16/8/2020.
//
#ifndef UNTITLED_CLIENTE_H
#define UNTITLED_CLIENTE_H
#include "Persona.h"
class Cliente: public Persona {
private:
string calle;
int num_int;
int num_ext;
string Ciudad;
string contra;
public:
Cliente(string, string, string, string, string,string, int, ... | [
"66645071+ThunderGer23@users.noreply.github.com"
] | 66645071+ThunderGer23@users.noreply.github.com |
4fe90a43651c08eb7de21d0b3e373edd24186dca | 872f24199d847f05ddb4d8f7ac69eaed9336a0d5 | /code/msvis/MSVis/CalibratingVi2FactoryI.cc | 42713473ac3222da6af02852805cde88a9ceb17b | [] | no_license | schiebel/casa | 8004f7d63ca037b4579af8a8bbfb4fa08e87ced4 | e2ced7349036d8fc13d0a65aad9a77b76bfe55d1 | refs/heads/master | 2016-09-05T16:20:59.022063 | 2015-08-26T18:46:26 | 2015-08-26T18:46:26 | 41,441,084 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,624 | cc | //# CalibratingVi2FactoryI.cc: Implementation of the CalibratingVi2FactoryI class.
//#
//# CASA - Common Astronomy Software Applications (http://casa.nrao.edu/)
//# Copyright (C) Associated Universities, Inc. Washington DC, USA 2011, All rights reserved.
//# Copyright (C) European Southern Observatory, 2011, All rig... | [
"darrell@schiebel.us"
] | darrell@schiebel.us |
ce0023c18f6d1a99b4e102288896449a28ebc6bd | 35b943da1d426de3dd8331058b9d8e15e0ff3e9c | /Lab3_Task_3_6/Lab3_Task_3_6/main.cpp | 99078e5ca2cbae6369a9e7d2f4c6b83af51eda0c | [] | no_license | arunjayabalan/SystemC | d40de288d3b7bdb888341c18e62e5a908f46dbac | 737398db6da23cf740915f64cab41db2f91446f4 | refs/heads/master | 2016-08-12T03:33:53.265962 | 2015-12-10T16:34:37 | 2015-12-10T16:34:37 | 45,541,499 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | #define _CRT_SECURE_NO_WARNINGS
#define SC_INCLUDE_DYNAMIC_PROCESSES
#include "systemc.h"
//#include "Top.h"
using namespace sc_core;
using namespace sc_dt;
using namespace std;
#include "Initiator.h"
#include "target.h"
// Target module representing a simple memory
int sc_main(int argc, char* argv[])
{
Initiator... | [
"arun.jayabalan@gmail.com"
] | arun.jayabalan@gmail.com |
7cec000dcf17fee906d49826c76d1dc00bb2e98a | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /chrome/test/base/web_ui_browser_test_browsertest.cc | f424d7cd160732352d13b46fb479d83f90eb0bef | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 9,785 | cc | // Copyright 2014 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 <string>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/macros.h"
#include "base/values.h"
... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
93f683b109d0f2276466cc6ceef4335c328caefe | d8feb1a340b579c303e9ac17554addd142acb374 | /drip/Drip.h | 4becf90066d492fc17a9535f0855ba84068c3f0e | [] | no_license | mayd/more_opengl_demos | 0ff990c78c3176daff7fb40a9a10a14b049c3061 | b384e41f7d21604c8c6fe9f5e48cdccece47fc3b | refs/heads/master | 2023-03-31T02:26:17.117192 | 2021-03-29T14:05:05 | 2021-03-29T14:05:05 | 351,795,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,711 | h | /*
* (c) Copyright 1993, 1994, 1995, 1996 Silicon Graphics, Inc.
* ALL RIGHTS RESERVED
* Permission to use, copy, modify, and distribute this software for
* any purpose and without fee is hereby granted, provided that the above
* copyright notice appear in all copies and that both the copyright notice
* and thi... | [
"MAYDAVIDR@GMAIL.COM"
] | MAYDAVIDR@GMAIL.COM |
a00a60ec6cae93797514317b40c129aefc2f5319 | 27d319a8c9c41176e342911f38c9379dac819e33 | /src/qt/huntcoinunits.h | 458672fa24802bc6d36da26915238a022115de39 | [
"MIT"
] | permissive | HuntCoinDeveloper/huntcoin | 6ec86d4904313408ad4a3e7721e01c650eab048e | 99198152d21b58ce598f46783074b64113cc5e64 | refs/heads/master | 2020-05-18T18:00:54.723915 | 2019-05-17T15:09:06 | 2019-05-17T15:09:06 | 184,568,978 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,067 | h | // Copyright (c) 2011-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef HUNTCOIN_QT_HUNTCOINUNITS_H
#define HUNTCOIN_QT_HUNTCOINUNITS_H
#include <amount.h>
#include <QAbstractListModel>
#... | [
"github@huntcoin.africa"
] | github@huntcoin.africa |
63027ed13bea2b9858c75ca48941bca5ddd18090 | 5ffa94d821a79d6af4c581d1b48aeaeded819e0f | /C++/14.最长公共前缀.cpp | b84e600785581be0cec96cd08bf8f075a3a0894d | [] | no_license | YueNing/LC-learning | a4fd1fbed43a5825ae42c579d09836f0b4ee22ad | 73c64fb8b17b47d5cffb05131ef85b8969a8f488 | refs/heads/master | 2021-07-09T21:21:06.540502 | 2021-02-27T03:08:15 | 2021-02-27T03:08:15 | 228,195,914 | 2 | 2 | null | 2020-01-12T17:32:47 | 2019-12-15T14:17:17 | C++ | UTF-8 | C++ | false | false | 810 | cpp | /*
* @lc app=leetcode.cn id=14 lang=cpp
*
* [14] 最长公共前缀
*/
// @lc code=start
class Solution {
public:
string longestCommonPrefix(vector<string>& strs) {
int sizeOfStrs = strs.size();
if (sizeOfStrs == 1) {
return strs[0];
}
int size = INT_MAX;
string res;
... | [
"zjuxmh@gmail.com"
] | zjuxmh@gmail.com |
a21434837692397d2bc9d7a14d15e286acf944fe | ef142ad790366ca1f65da6a0d82583ce8757dd1c | /blitzd/plugins/bnet/OldAccountChange.h | fae0646f06e83fde73065e0b55699cfd73e0697d | [
"MIT"
] | permissive | shellohunter/blitzd | 1242a8794346d67099769c9993ff4ba92dac2792 | 774a543b619d3332dd40e9cde32aa54948145cb4 | refs/heads/master | 2021-05-26T14:43:19.775032 | 2012-12-26T06:01:03 | 2012-12-26T06:01:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | h | #ifndef _OLDACCOUNTCHANGE_H_
#define _OLDACCOUNTCHANGE_H_
#include "interface/IPlugin.h"
namespace Plugins
{
namespace BNet
{
DECLARE_TCP_PLUGIN(OldAccountChange, 0x31FF)
}
}
#endif // _OLDACCOUNTCHANGE_H_ | [
"soarchin@gmail.com"
] | soarchin@gmail.com |
4db270834d449889371e806baa18cfa1987a332b | cbf650bab1cf76df30af95949d9dc89b72a0259e | /Project1/RBTree - 副本.hpp | 51c8dff04cf49242087da6b4809000f664c84ab9 | [] | no_license | yuew016/rising-city | df53c46a3cb3f6aa520a9d7ac85f92bf220e11f6 | 6f99e5f67693c0d25b96a86856ef9364c034e6d0 | refs/heads/master | 2022-06-17T09:51:09.497696 | 2020-05-11T05:13:58 | 2020-05-11T05:13:58 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 19,574 | hpp | #pragma once
#ifndef _RED_BLACK_TREE_HPP_
#define _RED_BLACK_TREE_HPP_
#include <iomanip>
#include <iostream>
#include"MinHeap.hpp"
using namespace std;
enum RBTColor { RED, BLACK };
class RBTNode {
public:
RBTColor color; // 颜色
int buildingNum; // 关键字(键值) 建筑编号
RBTNode* left; // 左孩子
RBTNode* right; ... | [
"wangyue016@outlook.com"
] | wangyue016@outlook.com |
1ec73d28e182d702b5bb43c832f6b17b1aeab1a5 | 5b30ddfa88ce17b2efafaabaf24c60f951152bd3 | /[3]3.0下册案例/第13章 体育竞技游戏——火力篮球/FireBasketBall/jni/SQLiteUtil/SQLiteUtil.h | 5a10bef9c173e00a0414979712d97486f7f9d894 | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | liuxuanhai/Android_OpenGL_30Demo | bb3b53c69babf945fb34efbcfe198ed00fa37ec9 | 44af8fa7112bb65267c21fc295fcdc1cd019d63e | refs/heads/master | 2020-05-19T19:25:57.430385 | 2019-01-24T14:28:31 | 2019-01-24T14:28:31 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 661 | h | #ifndef _SQLiteUtil_H_
#define _SQLiteUtil_H_
using namespace std;
#include "SQLiteUtil/sqlite3.h"
using namespace std;
#include <string>
#include <vector>
class SQLiteUtil
{
public:
SQLiteUtil();
~SQLiteUtil(){}
//打开openSQLiteDB
static bool open();
static void close();
static int doSqlite3_exec(std::string ... | [
"525647740@qq.com"
] | 525647740@qq.com |
6252e4805694afa6825ebb5d8860409e33983fc8 | ec51cb2504d5bc88cf56c6083f9747e6f20ce4ba | /wifi.h | 00eb75dd2e649c48adaf772cd1c8628bc919c16d | [] | no_license | ichigovishal/WashingMachine | f1e34852a9ec14359e4c579768ad8c8705ed9c11 | 1a0645f095c743ea5686befbb138c4023f6e70ae | refs/heads/master | 2022-11-15T02:12:06.588999 | 2020-07-20T09:28:16 | 2020-07-20T09:28:16 | 281,073,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | h | #ifndef WIFI_H
#define WIFI_H
#include "custom_Websocket.h"
namespace wifi
{
bool turnOn_api();
bool connect_wifi(const char* SSID, const char* PASS);
void main(custom_Websocket* socket, open_file* file);
};
#endif //WIFI_H
| [
"55552148+ichigovishal@users.noreply.github.com"
] | 55552148+ichigovishal@users.noreply.github.com |
b32fa9e328d0105a0875d32eafddc0e693bdfa1d | cec628def1aad94ccbefa814d2a0dbd51588e9bd | /cnd.highlight/test/unit/data/org/netbeans/modules/cnd/highlight/error/UnresolvedIdentifierTest/bug211143_2.cpp | d5e7cb9be49cc00cc9f7f8b4ab8acbb8c4f11339 | [] | no_license | emilianbold/netbeans-releases | ad6e6e52a896212cb628d4522a4f8ae685d84d90 | 2fd6dc84c187e3c79a959b3ddb4da1a9703659c7 | refs/heads/master | 2021-01-12T04:58:24.877580 | 2017-10-17T14:38:27 | 2017-10-17T14:38:27 | 78,269,363 | 30 | 15 | null | 2020-10-13T08:36:08 | 2017-01-07T09:07:28 | null | UTF-8 | C++ | false | false | 256 | cpp |
#include "inc211143.h"
Theme211143::~Theme211143() {
// Be sure things are destroyed in the right order (XXX check)
m_vars = 10;
}
void Theme211143::loadConfig() {
m_windowManager = 0;
}
void Theme211143::saveConfig() {
m_vars = 111;
}
| [
"vv159170@netbeans.org"
] | vv159170@netbeans.org |
08ace8ec751f903931297b53a5a9e6fd24080ffc | 5279fdde651ecb50ee7e178a6351156437b7f069 | /BAPSServerAssembly/LogManager.cpp | e057671a7e186aef0bbf1744a7dc5d4bb8866347 | [
"BSD-3-Clause"
] | permissive | UniversityRadioYork/BAPS2 | 587bb8ed6864e719eca406e31d2c2eda38d0e36a | af80b66cdd7a980cf34714bef7b5260167714ca5 | refs/heads/master | 2022-03-07T16:35:51.735951 | 2019-05-26T19:19:19 | 2019-05-26T19:19:19 | 80,321,106 | 4 | 1 | BSD-3-Clause | 2019-05-26T19:19:20 | 2017-01-29T00:45:05 | C | UTF-8 | C++ | false | false | 2,657 | cpp | #include "stdafx.h"
#include "LogManager.h"
#include "Exceptions.h"
using namespace BAPSServerAssembly;
/**
* This class provides global Logging functionality
**/
using namespace System::Diagnostics;
void LogManager::initLogManager()
{
try
{
System::String^ logName = CONFIG_GETSTR(CONFIG_LOGNAME);
System::St... | [
"mat"
] | mat |
cb6fedc9d57d7ab06979d0c4b605669118172331 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/new_hunk_6122.cpp | ff3bbffdc75e96354e920bc457854290a150175e | [] | 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 | 520 | cpp | COMM_NONBLOCKING,
"WCCP Port");
theInGreConnection = comm_open(SOCK_RAW,
GRE_PROTOCOL,
Config.Addrs.wccp_incoming,
0,
COMM_NONBLOCKING,
"GRE Port");
leave_suid();
if ((theInWccpConnection < 0) || (theInGreConnection < 0))
fatal("Cannot open WCCP Port");
commSetSelect(theInWcc... | [
"993273596@qq.com"
] | 993273596@qq.com |
3224f03bd09e05889dfb93fc5c134ac587c337f1 | e192bb584e8051905fc9822e152792e9f0620034 | /tags/sources_0_1/base/test/test_liste.cpp | 6e2cea84cb62fa4e485e418371da2c42cfbe5a95 | [] | no_license | BackupTheBerlios/projet-univers-svn | 708ffadce21f1b6c83e3b20eb68903439cf71d0f | c9488d7566db51505adca2bc858dab5604b3c866 | refs/heads/master | 2020-05-27T00:07:41.261961 | 2011-07-31T20:55:09 | 2011-07-31T20:55:09 | 40,817,685 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,819 | cpp | /***************************************************************************
* Copyright (C) 2004 by Projet Univers *
* rogma.boami@free.fr *
* *
* Thi... | [
"rogma@fb75c231-3be1-0310-9bb4-c95e2f850c73"
] | rogma@fb75c231-3be1-0310-9bb4-c95e2f850c73 |
fd77e59eed53380c00c1ac941d3d926fb628dd54 | 7b6c8389b49191105e6afdc4ed28c056d3023739 | /src/st_handeye_visp.cpp | a960e4709980c35bfa8a40ed98e749bf5583dd36 | [] | no_license | dtyugin/st_handeye_graph | ed450fc2b58929ef26529c50dc31e6a2276adaa4 | e2f21e22fae942c7d7963ba6c6a2c7a2754a808b | refs/heads/master | 2023-02-03T22:50:54.809526 | 2020-02-29T11:22:29 | 2020-02-29T11:22:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,818 | cpp | #include <regex>
#include <random>
#include <fstream>
#include <iostream>
#include <Eigen/Dense>
#include <boost/format.hpp>
#include <boost/filesystem.hpp>
#include <opencv2/opencv.hpp>
#include <visp/vpDebug.h>
#include <visp/vpPoint.h>
#include <visp/vpCalibration.h>
#include <visp/vpExponentialMap.h>
#include <st... | [
"koide@aisl.cs.tut.ac.jp"
] | koide@aisl.cs.tut.ac.jp |
4f2cf35b743a789001c196372650a3dce7d52cc4 | 2d8e81d50fcb5bef8a3d0a754821eea5f994b959 | /1020.cpp | 0f7ecd00e25aaf7cecaa74adb38cfb2078f4eacb | [] | no_license | tasteSoGood/PAT_code | 2d77541202ad5f5aba69fcd5518c1cf388dae2fd | b340487f4cc5fbfcefe8784b4e0acb988cccd363 | refs/heads/master | 2021-01-19T12:26:30.266696 | 2018-01-15T09:50:09 | 2018-01-15T09:50:09 | 100,788,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,628 | cpp | #include <iostream>
#include <queue>
using namespace std;
struct binary_tree_node {
int number;
binary_tree_node *left;
binary_tree_node *right;
};
binary_tree_node *build_binary_tree(int *p_order, int *i_order, int N){
binary_tree_node *node = new binary_tree_node;
node->number = p_order[N - 1];
if(N == 1){
... | [
"970879461@qq.com"
] | 970879461@qq.com |
16e749dab47c76fac8dc59c5516aa87ed0eacc3a | 9969e08bd3fb9653eb40745d4e41e10a382088d6 | /extractLines_class_batch_test/main.cpp | 3f2dfcfcf6099170e08ef02070f77b3dfc919e74 | [] | no_license | yunjieyin/ExtractLines_class | bcd60cd6560e1f666126c6705665400eead6fd6f | 99e480970ee328cbbde051d2f69e0b8428efa0ba | refs/heads/master | 2020-03-26T23:10:46.226626 | 2018-08-31T06:05:53 | 2018-08-31T06:05:53 | 145,518,055 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 6,022 | cpp | #define _SCL_SECURE_NO_WARNINGS
#include "extractLines.h"
#include <fstream>
#include <opencv/cv.h>
#include <opencv2/opencv.hpp>
#include <highgui.hpp>
#include <vector>
///***********************************test function begin******************************************************/
//Scalar random_color(RNG& _rng)
/... | [
"yunjieyin@163.com"
] | yunjieyin@163.com |
b4821c22d59d4a14689e3c85dfecc17ebe7bd72c | 235702561f76797e37a2de2a2db29f641eb3915d | /thread1.cpp | 58376f88ba004d735652f891f51817320a16afee | [] | no_license | maopd265/ThreadsC | f838f7b0ea70c1fd9d312941737092e4078ca562 | c1860402e1ae31a02380a6de76fbcac266967175 | refs/heads/main | 2023-04-19T09:48:59.067760 | 2021-05-11T14:23:11 | 2021-05-11T14:23:11 | 364,241,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<pthread.h>
#include<errno.h>
#include<unistd.h>
void * does_not(void *a)
{
int i=0;
for(i=0;i<5;i++)
{
sleep(1);
puts("Does not!");
}
return NULL;
}
void * does_too(void *a)
{
int i=0;
for(i=0;i<5;i++)
{... | [
"maopdtec@gmail.com"
] | maopdtec@gmail.com |
715c82bef728e77f617d80b48aee6169ed788b79 | dc318157c4dd863c0f287e79bf028a9743e4e2fe | /robobug.ino | 15293f39d7858a3b197fdc3524f3c1133f1e191a | [] | no_license | asuran/robobug | bd0f3ad5176724f6a2429ec42b9cd92ced187c98 | c5b30f41929196f1a3dbcf9ab34df23de6feab09 | refs/heads/master | 2021-03-12T23:39:05.364267 | 2014-07-16T09:42:33 | 2014-07-16T09:42:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,891 | ino | #include <Servo.h>
#include <Oscillator.h>
#include <Ultrasonic.h>
class Robobug
{
public:
Oscillator osc_middle;
Oscillator osc_left;
Oscillator osc_right;
Servo grab;
int state; //-1 - stop, 0-forward, 1 - left, 2 - right
public:
void init()
{
osc_middle.attach(4); // 2,3 and 4 are the digital pins
... | [
"dmitriy0407@gmail.com"
] | dmitriy0407@gmail.com |
dd1b364344a5ede56ada00630a898ced8a3c2ea5 | 7595f12a2a540868b5cb9cb955494d2060d18904 | /gcj/2008/1A_B.cpp | 6bdcadfcda939becf1015f92ea89b1dd8f56a3d5 | [] | no_license | george24601/cp | eca845494b8e6155059d0d6615ea48b746055cbd | 9a3568355824a1ce8fdac625f05e921ec245762b | refs/heads/master | 2021-01-16T23:58:14.301165 | 2020-07-14T01:24:28 | 2020-07-14T01:24:28 | 58,160,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,498 | cpp | #include <iostream>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <algorithm>
#include <vector>
#include <iomanip>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <bitset>
using namespace std;
typedef unsigned long ... | [
"movingapple@gmail.com"
] | movingapple@gmail.com |
ab535c3b241db616f292d8320d815cf186f477e2 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /components/arc/intent_helper/font_size_util_unittest.cc | ef5cebe388e550f3ef77de9bdcd09a63a3cdc88a | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,834 | cc | // Copyright 2016 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 "components/arc/intent_helper/font_size_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace arc {
TEST(ArcSettingsServi... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
2ed1bdcce8bfbfd2491147676b14f31d82e87104 | 69582830440f9d8de3ae83667741826fff09815d | /views/shoppinglistview.h | 679b18e79c2c03e4df85aa61298815eb076af2b1 | [] | no_license | SimicDomagoj/Cookbook | f6094ce687d25b2510a9151066da3d06628f4c35 | 6a1464d26563457c07b72d9eaa854a1d97a78e5f | refs/heads/master | 2022-07-16T14:22:54.375407 | 2022-06-15T19:25:26 | 2022-06-15T19:25:26 | 182,816,934 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 456 | h | #pragma once
#include<vector>
#include<string>
class ShoppingListController;
class ShoppingListView
{
public:
ShoppingListView(ShoppingListController& controller);
virtual void show() = 0;
virtual void setList(std::vector<std::string>& list) = 0;
virtual void close() = 0;
virtual void enableEditi... | [
"domagoj.simic0@gmail.com"
] | domagoj.simic0@gmail.com |
e87f12252b404435c1d4e71b71ae92141faabbc3 | a2cd609a52eb5be16a248c054fb014394f12d344 | /devel/include/costmap_converter/ObstacleArrayMsg.h | 4b53a6b75b3aac2aa942558cd41322de70217e50 | [] | no_license | rfzeg/simon_thesis_ws | c5e6d6b20ee63010ffede91d17ba144527e5f6c5 | dc79635f628dade14cab1a631cc4eb24aee1762c | refs/heads/master | 2021-09-16T12:43:41.270235 | 2018-06-20T12:40:57 | 2018-06-20T12:40:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,154 | h | // Generated by gencpp from file costmap_converter/ObstacleArrayMsg.msg
// DO NOT EDIT!
#ifndef COSTMAP_CONVERTER_MESSAGE_OBSTACLEARRAYMSG_H
#define COSTMAP_CONVERTER_MESSAGE_OBSTACLEARRAYMSG_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/bu... | [
"s.forno@student.tue.nl"
] | s.forno@student.tue.nl |
86a3efb943abd57a354703b7d9c2508d2b50e931 | 9030481ef925278a174cbbf58c74bc5058e8d302 | /src/versionbits.h | ca8c5448e45b0181a3b93eb7435b9f10b27afc9d | [
"MIT"
] | permissive | hideoussquid/aureus-13-gui | 1b8f85f262cbc1970c3d8072b064956073bc4182 | 8865c958ba1680d4615128dabcc3cc4d47a24c51 | refs/heads/master | 2021-01-19T08:22:45.795165 | 2017-04-26T07:34:19 | 2017-04-26T07:34:19 | 87,622,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,614 | h | // Copyright (c) 2016 The Aureus Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef AUREUS_CONSENSUS_VERSIONBITS
#define AUREUS_CONSENSUS_VERSIONBITS
#include "chain.h"
#include <map>
/** What block versio... | [
"thesquid@mac.com"
] | thesquid@mac.com |
f63d6f13d6b340a995c07f8ca28f8d0b39a17668 | f5110ca088f5dc76f36f68a3af1423719680c628 | /a2oj/2B/CF122.cpp | 40f360a6bc897394a494410571d067d06c7abc37 | [] | no_license | tejas1995/SPOJ-solutions | 73ea196a170dd1b0c80c123b8e0c1bfe82d3da0b | fb7b1e8c1f729860661a09c9999405a734da902e | refs/heads/master | 2021-01-10T02:57:59.691488 | 2016-01-14T09:23:55 | 2016-01-14T09:23:55 | 47,422,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | //http://codeforces.com/problemset/problem/122/B
#include <iostream>
#include <string>
using namespace std;
int main()
{
string s;
cin >> s;
int num4 = 0, num7 = 0;
for(int i = 0; i < s.length(); i++)
if(s[i] == '4')
num4++;
else if(s[i] == '7')
num7++;
if(num4 == 0 && num7 == 0)
cout << "-1\n";
el... | [
"tejas.srinivasan95@gmail.com"
] | tejas.srinivasan95@gmail.com |
c47594bdec49fe8947849557fdd632d27ca0c688 | 44c1d55b12014de78edfc020208aeee87910b50c | /scroll_nodes/CCScrollLayerExt.h | 8357b6b73f6cefe40c13291899c88887d9f25bb7 | [
"MIT"
] | permissive | BoolkaSDK/gd.h-android | f92e359d246e0857e0421ba95f4b4c8a8ad13dc1 | d849abf0962b56139257abe38543dfd0cb97efcb | refs/heads/main | 2023-06-10T15:31:56.444813 | 2021-07-03T13:23:04 | 2021-07-03T13:23:04 | 466,213,017 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | h | #ifndef __CCSCROLLLAYEREXT_H__
#define __CCSCROLLLAYEREXT_H__
#include <gd.h>
class CCContentLayer;
class CCScrollLayerExt : public cocos2d::CCLayer {
protected:
PAD(4);
cocos2d::CCPoint m_obUnknown1;
cocos2d::CCPoint m_obUnknown2;
PAD(8);
bool m_bUnknown1;
bool m_bUnknown2;
cocos2d::CCLayerColor* ... | [
"marco@ema.com"
] | marco@ema.com |
e900f9bb5c2be0a6ebb6e90f768b32bb498ab49b | 60205084cab945880a323a10c9fc3894c0b8ffee | /a3controller/src/pilot/include/pilot/pilot_node.h | a99ac19903cf7d6000880f453dfb019790a915ed | [] | no_license | KCLI2000/LI_Guo_Qiang | 36c85883459191f38cdb8ce63006b14029299fe6 | dcef084c325a117d413d82ee1f78d27d94dfd621 | refs/heads/master | 2021-06-18T15:40:13.511241 | 2021-01-23T07:21:17 | 2021-01-23T07:21:17 | 149,882,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,613 | h | /**
* @file pilot.h
* @brief declare the class Pilot and the class Mission
* @author mafp
* @email 767102280@qq.com
* @version 1.0.0
* @date 2019/10/19
*/
#ifndef __PILOT_NOTE_H
#define __PILOT_NOTE_H
#include <ros/ros.h>
#include <geometry_msgs/Vector3.h>
#include <geometry_msgs/Vector3Stamped.h>
#include <ge... | [
"kcli2000@hotmail.com"
] | kcli2000@hotmail.com |
ac91d3a42a9626f354da6eb71bff02561f68f8d9 | 32399df3e1432efd36101d9ca7a722b0bc4cfee9 | /src/main.cpp | f0ba91068e3b5ce139e44fa57aa2b758a40c3c42 | [
"MIT"
] | permissive | uovie/timer | 4c12ad1e007a136dabe76c4d5fae0a2751c227a8 | 20d81f3725a1274711eb280f06ccd18e5c4e021c | refs/heads/master | 2020-07-02T03:51:43.710466 | 2019-08-09T07:02:05 | 2019-08-09T07:02:05 | 201,407,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | cpp | #include <iostream>
#include <iomanip>
#include "timer.h"
using namespace std;
using namespace uovie;
int main()
{
int ts;
timer::duration p{};
timer::duration q{};
cout << "Please set the time span (s): ";
cin >> ts;
timer u(ts);
u.start();
cout << q.count() << endl;
do {
... | [
"uovie@users.noreply.github.com"
] | uovie@users.noreply.github.com |
0c71ddd39d797526c29fcd9b122bfd443db8155a | df89a1540a17b08e9d5513c0514ba284fe38e1e6 | /PAT/B1022/main.cpp | dd4b95ed88faf195b7fbcd00f8ebaddf5cae255a | [] | no_license | xuyanbo03/Algorithm | 3eccab6492af6c75745ff94b2e3d484e6a995af8 | c9dd1ac5009475d465793e5d671fa594556b65da | refs/heads/master | 2021-01-20T09:37:27.250534 | 2018-06-18T08:24:15 | 2018-06-18T08:24:15 | 90,269,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | #include <iostream>
using namespace std;
int main(){
int a,b,d;
cin>>a>>b>>d;
int c=a+b;
int s[100];
int i=0;
if(c==0){
cout<<0;
return 0;
}
while(c!=0){
s[i++]=c % d;
c = c / d;
}
for(int j=i-1;j>=0;j--){
cout<<s[j];
}
return 0;
} | [
"610958401@qq.com"
] | 610958401@qq.com |
b11ff924e594ad404215bd982f80f5ae3c68b903 | b7a6ce79b829cc4a8fbdb2ea606902936e79fbce | /算法/pro4/floyd_warshall.cpp | a716b91019b6bdbec9ffeaadc13e21520e2b4b75 | [] | no_license | SJ110/some-kind-of-courses | 2308e3510bf3cd88471065eab33c3b07c5dfffcf | 7d5ebd0911fd578fb5615fa75d96a624a62f4b00 | refs/heads/master | 2020-04-18T11:37:48.488258 | 2019-01-25T07:49:36 | 2019-01-25T07:49:36 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,254 | cpp | #include <iostream>
#define INF 32767
#define MAX 100
using namespace std;
void All_path_floyd_warshall(int n, int (&A)[MAX][MAX], int (&path)[MAX][MAX])
{
for (int k = 0; k < n; k++)
{
for (int i = 0; i < n; i++)
{
for (int j = 0; j < n; j++)
{
if (A[i... | [
"1422667041@qq.com"
] | 1422667041@qq.com |
2b1c6b65f14efef6b9984d97419fb605fb3cd962 | 376e1818d427b5e4d32fa6dd6c7b71e9fd88afdb | /devel/poco/patches/patch-Foundation_testsuite_src_DynamicFactoryTest.cpp | c81126f2fff96878184f3a7fe602aba437437db6 | [] | no_license | NetBSD/pkgsrc | a0732c023519650ef821ab89c23ab6ab59e25bdb | d042034ec4896cc5b47ed6f2e5b8802d9bc5c556 | refs/heads/trunk | 2023-09-01T07:40:12.138283 | 2023-09-01T05:25:19 | 2023-09-01T05:25:19 | 88,439,572 | 321 | 138 | null | 2023-07-12T22:34:14 | 2017-04-16T20:04:15 | null | UTF-8 | C++ | false | false | 545 | cpp | $NetBSD: patch-Foundation_testsuite_src_DynamicFactoryTest.cpp,v 1.1 2012/11/16 00:43:36 joerg Exp $
--- Foundation/testsuite/src/DynamicFactoryTest.cpp.orig 2012-11-14 11:57:05.000000000 +0000
+++ Foundation/testsuite/src/DynamicFactoryTest.cpp
@@ -109,7 +109,7 @@ void DynamicFactoryTest::testDynamicFact
try
{... | [
"joerg@pkgsrc.org"
] | joerg@pkgsrc.org |
82959b5077708bc310f6c76f33ca578428dd849c | 79eb83cc3e7f4324ad3f7e56f094384ee494a7a9 | /Model/Kecheng.h | eac30adf936b02671bd53df0645a17dad94d7398 | [] | no_license | JiaoMing/Blackcat | 4a32ab2ec1abc356a4494ec9177ad0b3128d575b | 95fa6f74429ead752741cbff3debca8bb0cbdb6e | refs/heads/master | 2020-04-15T11:08:28.111536 | 2014-11-13T08:40:57 | 2014-11-13T08:40:57 | 30,082,134 | 0 | 4 | null | 2015-01-30T17:10:54 | 2015-01-30T17:10:53 | null | UTF-8 | C++ | false | false | 625 | h | //
// EBook.h
// blackcat
//
// Created by haojunhua on 13-10-18.
//
//
#ifndef blackcat_Kecheng_h
#define blackcat_Kecheng_h
#include "BaseModel.h"
class Kecheng: public BaseModel{
public:
EMPTY_CONSTRUCT_DESTRUCT(Kecheng);
SYNTHESIZE_KEY(id);
SYNTHESIZE_INT(win);
SYNTHESIZE_INT(lose);
S... | [
"380050803@qq.com"
] | 380050803@qq.com |
01e376f9559737a428252a9ac68ea691cc10fe98 | 10c3da46b2b4790a25b2cf6e4a3817ec2e149a84 | /libraries/mdlib/MultiColorLED.h | fcf38da7ab9c7854dff902241edcd51893043090 | [] | no_license | PapaMarky/ArduinoSketchbook | f9d04609343cfef0e16439b3a8309645c79f8b27 | 770a842402397be6be51ccfed6bfeee8d9496f58 | refs/heads/master | 2021-01-01T18:06:54.228424 | 2015-04-07T05:33:10 | 2015-04-07T05:33:10 | 7,977,740 | 0 | 0 | null | 2014-07-26T16:43:12 | 2013-02-02T15:46:09 | C++ | UTF-8 | C++ | false | false | 950 | h | #ifndef MULTI_COLOR_LED_H
#define MULTI_COLOR_LED_H
#include "mdBase.h"
namespace mdlib {
const uint32_t RED = 0x00ff0000;
const uint32_t YELLOW = 0x00ffff00;
const uint32_t GREEN = 0x0000ff00;
const uint32_t TURQUOISE = 0x0000ffff;
const uint32_t BLUE = 0x000000ff;
const uint32_t PURPL... | [
"papamarky@markyshouse.com"
] | papamarky@markyshouse.com |
8f497e26b2aa4fc98adbf6fd0fd4fd46033076a1 | 81ba4c039068682903918f9bbad2390d1acf6ba6 | /sort/heapsort.cpp | 24da99d735938fcb0bfedefd9b491581e9e5ab35 | [] | no_license | WuXing918/test | 69641a915b3998b32667b69fdba38fce21800a39 | 7964177c492742d39ecbc8e9b78dd37543e201a8 | refs/heads/master | 2020-04-17T03:34:11.368840 | 2018-03-11T03:08:57 | 2018-03-11T03:08:57 | 50,184,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,738 | cpp | #include <iostream>
using namespace std;
void print(int a[], int length) {
for (int i = 0; i < length; i++) {
cout << a[i] << " ";
}
cout << endl;
}
// 我写的好像没有判断根节点
void heapCreate(int a[], int i, int length) {
//当前父结点的左子树
int Lchild = 2*i+1;
int rchild = 2*i+2;
// 存储的当前堆中的临时最大值
// 存储当前堆中... | [
"wuxing@pset.suntec.net"
] | wuxing@pset.suntec.net |
1086f1be40cebe0a98125bc90b5e812066deef99 | 5f9bbacdcb3a12d633280c47f8653b45feb93584 | /Cpp/odin-views/secure.tests.cpp | 8574dc375278eb81b5727551da83f0200f701ce2 | [
"BSL-1.0"
] | permissive | Deuanz/odin | 57cbd7c8fb46967b8c26e05df719fcf82fa90f77 | da31a6bc8b9b4a0270f0807b588483840a24cf46 | refs/heads/master | 2020-03-26T10:43:20.057019 | 2018-06-21T05:40:25 | 2018-06-21T05:40:25 | 144,812,465 | 0 | 0 | BSL-1.0 | 2018-08-15T06:06:21 | 2018-08-15T06:06:21 | null | UTF-8 | C++ | false | false | 2,367 | cpp | /*
Copyright 2016 Felspar Co Ltd. http://odin.felspar.com/
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
*/
#include <odin/odin.hpp>
#include <odin/views.hpp>
#include <fost/crypto>
#include <fost/t... | [
"k@kirit.com"
] | k@kirit.com |
6489a4ce604ecab4978cbcd39e04354345877457 | b14e71190e1911774b9a0fdef813da658655e267 | /NewOgreProject/proj/src/ModeleOgre/Base.h | 5bc483f2325736d1f7c54d39d6340977290696b1 | [] | no_license | vernou/Modelisation_Aeronautique | 46d060bbc4c05f75548fb687e83be300a869475b | d890caa3e4e2ae715cd6b5b8331e63fb6cdd47ae | refs/heads/master | 2021-05-27T00:05:43.778712 | 2013-04-29T06:45:53 | 2013-04-29T06:45:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,086 | h | #ifndef BASE_H
#define BASE_H
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include "Scene.h"
#include "DisplayObject.h"
class Base
{
public:
////////////////////////////////////////////////////////////
/// \brief Default ... | [
"sebastien.schaal@etu.univ-tours.fr"
] | sebastien.schaal@etu.univ-tours.fr |
ad0d93ace89f544fdcdc2ab291f133d5c7f16ff6 | 8567438779e6af0754620a25d379c348e4cd5a5d | /third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.h | 64494de412740787eb14ac3416916d4b1eb48eab | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 4,753 | h | /*
* Copyright (C) 2010, 2011 Apple Inc. 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 condit... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
3deae6ebe37439a6af6d9dd578da0e217f3e683e | 1d648473ed374a1047e6986f4c7f8ee3f108b66b | /be/src/runtime/date-value.h | 2719466526a87d62bd137b0f17b91ce644ab3928 | [
"bzip2-1.0.6",
"BSD-3-Clause",
"OpenSSL",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-openssl",
"dtoa",
"LicenseRef-scancode-unknown-license-reference",
"PSF-2.0",
"MIT",
"Minpack",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scanc... | permissive | amansinha100/impala | 3422d0cdee83a47a5d0d774278229823b5d32a67 | e05a5323785ecb09e45bdb5dfc96533e68256175 | refs/heads/master | 2020-08-26T22:17:54.958615 | 2019-10-08T20:22:57 | 2019-10-22T04:31:20 | 217,164,646 | 0 | 0 | Apache-2.0 | 2019-10-23T22:28:28 | 2019-10-23T22:28:28 | null | UTF-8 | C++ | false | false | 8,217 | h | // 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... | [
"impala-public-jenkins@cloudera.com"
] | impala-public-jenkins@cloudera.com |
05ee978e2dc44a4c4847b0cbb6522aa10cef1bed | 000a7af455ed3f5f534b28b18be0b5997ddbdefa | /Includes/Internals/TComp/TTabCtrl.cpp | 595af19d774f2f127e3d1d99435d17f4188b768c | [] | no_license | boyfromhell/4Ever | 6f58182c07182f9569201dbc0f9116cc6644d296 | 8bd1d638f9ae23c3b97a56bd04f00061f39fbe61 | refs/heads/master | 2020-04-15T14:21:14.071423 | 2018-07-22T17:07:17 | 2018-07-22T17:07:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,316 | cpp | // TTabCtrl.cpp: implementation of the TTabCtrl class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////... | [
"pierre.bouffier05@gmail.com"
] | pierre.bouffier05@gmail.com |
95416de8bdf45bf8f3be693adbb87fa593f3f24b | 316e92de84c43eb4cef8572de973c3c3c4ad864c | /tools/checker.h | 85fc47caa057fd3357c476625b7ec25953742483 | [] | no_license | ShenJinglong/LZ-compressor | 73a3cefecc96fd1236920f1dce7d9c72c74e8857 | e75159f2172a13de3c27757cb983fee0c558be40 | refs/heads/master | 2021-05-22T17:10:15.541936 | 2020-04-04T21:48:10 | 2020-04-04T21:48:10 | 253,015,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,447 | h | #ifndef CHECKER_H_
#define CHECKER_H_
#include <string.h>
#include "debug.h"
#include "utilities.h"
#include "../BitOperator/BitReader.h"
#include "../BitOperator/BitWriter.h"
#include "../HuffmanCodec/HuffmanEncoder.h"
#include "../HuffmanCodec/HuffmanDecoder.h"
/**
* @brief: check the utilities block
*/
void ch... | [
"1368351931@qq.com"
] | 1368351931@qq.com |
6a03fdb876c89b8a4e510464e8fdab451a9fc3ad | ef9a782df42136ec09485cbdbfa8a56512c32530 | /tags/Fassetv2.2.2/source/livestock/pig.cpp | 4d95b712d1b31ab07fea46922f91bed9e7a15d61 | [] | no_license | penghuz/main | c24ca5f2bf13b8cc1f483778e72ff6432577c83b | 26d9398309eeacbf24e3c5affbfb597be1cc8cd4 | refs/heads/master | 2020-04-22T15:59:50.432329 | 2017-11-23T10:30:22 | 2017-11-23T10:30:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,682 | cpp | /****************************************************************************\
$URL$
$LastChangedDate$
$LastChangedRevision$
$LastChangedBy$
\****************************************************************************/
#include "../base/common.h"
#include "../products/feedItem.h"
#include "../products/products.h"
... | [
"sai@agro.au.dk"
] | sai@agro.au.dk |
d0f400110b043bc14801c95bc61a074221ee2ca0 | 2f557f60fc609c03fbb42badf2c4f41ef2e60227 | /CondFormats/GEMObjects/src/GEMeMap.cc | 83a0b79f4973526143c4017aea24ecdd880b3cd2 | [
"Apache-2.0"
] | permissive | CMS-TMTT/cmssw | 91d70fc40a7110832a2ceb2dc08c15b5a299bd3b | 80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7 | refs/heads/TMTT_1060 | 2020-03-24T07:49:39.440996 | 2020-03-04T17:21:36 | 2020-03-04T17:21:36 | 142,576,342 | 3 | 5 | Apache-2.0 | 2019-12-05T21:16:34 | 2018-07-27T12:48:13 | C++ | UTF-8 | C++ | false | false | 4,203 | cc | #include "CondFormats/GEMObjects/interface/GEMeMap.h"
#include "CondFormats/GEMObjects/interface/GEMROMapping.h"
#include "DataFormats/MuonDetId/interface/GEMDetId.h"
#include "DataFormats/FEDRawData/interface/FEDNumbering.h"
GEMeMap::GEMeMap():
theVersion("") {}
GEMeMap::GEMeMap(const std::string & version):
the... | [
"jason.lee@cern.ch"
] | jason.lee@cern.ch |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.