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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7c65825af731f7f6a69913acebbfcca7c626fac3 | b315e6fea61793ac825e4d9e07746183cd838765 | /main.cpp | 118c0e1b019d162313416e1c7e5fd81eeff8033d | [] | no_license | Venkatesh0625/FS_Library | 57fb0c28c1071606d681cdbde878aea99071dee3 | 4f2428e52af58bdd19f3613e86ed565bd1a787eb | refs/heads/master | 2021-05-19T09:12:03.633753 | 2020-04-20T06:24:13 | 2020-04-20T06:24:13 | 251,622,910 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <map>
#include <queue>
#include <thread>
#include "headers/change.h"
#include "headers/server.h"
#include "headers/file_chng.h"
#include "headers/get_changes.h"
#include "headers/watch_dog.h"
#include "headers/client.h"
using name... | [
"venkatesan.0625@gmail.com"
] | venkatesan.0625@gmail.com |
4d47fba33768b5a8358fcf38e83bdbbbc3d94eb3 | a152281027ae2e88c973a9ad2693f5e2c190add0 | /SPCS/numvalue_convert.cpp | 10b8ce42d5f1fc86836dd21b1057a17cd0cb903c | [] | no_license | superp2017/SPCS | 66ceefff2458c9939b178488c4834fc93fb2f749 | 9a73b9ca861bfa73e3d2ef54750c3183deea1656 | refs/heads/master | 2020-03-27T23:08:34.637977 | 2018-09-04T05:53:04 | 2018-09-04T05:53:04 | 147,294,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,032 | cpp | #include "numvalue_convert.h"
NumValue_Convert::NumValue_Convert()
{
}
double NumValue_Convert::complex_to_real(std::complex<double> com)
{
return com.real();
}
double NumValue_Convert::complex_to_imag(std::complex<double> com)
{
return com.imag();
}
double NumValue_Convert::complex_to_mag(std::complex<dou... | [
"345881922@qq.com"
] | 345881922@qq.com |
678fd37f402386a57ebe189b04d488789d9f12d5 | 22f801ef0ad614dfe3584cc88e8ee9af4423d504 | /MbedQuadCopter/Scheduler/Tasks/FlightDataLoggerTask/FlightDataLoggerTask.h | 2d1e025d5c209114a1355875e71af1c62707634a | [] | no_license | Scubaboy/MbedQuad | 007ee11a7dd5be4daea306a6f955c5a866a3c2e4 | 5a02ce4d27cc66224c20403d99a941a4245755b5 | refs/heads/master | 2021-01-10T15:36:52.590917 | 2015-11-06T15:46:54 | 2015-11-06T15:46:54 | 45,548,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | h | #ifndef FlightDataLoggerTask_H
#define FlightDataLoggerTask_H
#include "Task.h"
#include "EncodersDecodersBase.h"
class FlightDataLoggerTask : public Task
{
public:
FlightDataLoggerTask(EncodersDecodersBase* encoder);
virtual void ExecuteTask(int interval);
virtual void Init();
... | [
"robin@robincawsey.plus.com"
] | robin@robincawsey.plus.com |
01d5ba7271a0ee0222e251b6b3d894377a11c068 | afa89ae5cc719f0343d2a9df8172200ad6524f57 | /CCV-COT/addons/ofxNetwork/src/ofxTCPClient.cpp | 432e1bd9269ca2f371b320ed644246c6bd8d88b3 | [] | no_license | guozanhua/ccv-object-tracking | 8409d76e3cb804e7b5d733686f9b31d62dd7755e | cc26ec43c601241120e55b66e38c7777b21db6bd | refs/heads/master | 2020-12-26T03:11:14.590984 | 2010-10-20T08:22:40 | 2010-10-20T08:22:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,250 | cpp | #include "ofxTCPClient.h"
#include "ofAppRunner.h"
//--------------------------
ofxTCPClient::ofxTCPClient(){
verbose = false;
connected = false;
messageSize = 0;
port = 0;
index = -1;
str = "";
tmpStr = "";
ipAddr ="000.000.000.000";
partialPrevMsg = "";
memset(tmpBuff, 0, TCP_MAX_MSG_SIZE+1);
}... | [
"amit.getinfo@85fc5e24-5cb5-a459-a2e3-60d0933772b6"
] | amit.getinfo@85fc5e24-5cb5-a459-a2e3-60d0933772b6 |
ef4de34aeefb9601657d9972a19ffc3b136a7732 | cb80a8562d90eb969272a7ff2cf52c1fa7aeb084 | /inletTest2/0.145/nut | d2811252c1645071ba64430ae566bd7066218f32 | [] | no_license | mahoep/inletCFD | eb516145fad17408f018f51e32aa0604871eaa95 | 0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2 | refs/heads/main | 2023-08-30T22:07:41.314690 | 2021-10-14T19:23:51 | 2021-10-14T19:23:51 | 314,657,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411,730 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"mhoeper3234@gmail.com"
] | mhoeper3234@gmail.com | |
b38adde2cf0e4e638d4832ca0ce053283ec6091b | c4cf2bc7a5c7de9cf9af2f9b48543b068b0cb59b | /1. Practice/Questions/Arrays/2.0 Peak_Element.cpp | 9b17f59b49f9757802470c7418581b13cb9429e4 | [] | no_license | PacificPR/DS_ALGO_PRACTICE | abcf36007818d8448fbe50cf7a552ac89cfddf7f | ce42bf740035abb1deab75db78b2ec92bb9d8d8d | refs/heads/master | 2021-05-20T09:45:26.941780 | 2020-10-01T20:08:11 | 2020-10-01T20:08:11 | 252,231,972 | 1 | 2 | null | 2020-10-01T20:08:13 | 2020-04-01T16:41:16 | C++ | UTF-8 | C++ | false | false | 1,259 | cpp | class Solution {
public:
int findPeakElement(vector<int>& nums) {
int l = 0;
int h = nums.size()-1;
if(h==0)
return 0;
if(h==1)
return nums[0]>nums[1]?0:1;
int mid = 0;
while(l<=h){
mid = l+(h-l)/2;
... | [
"prashant.kumarjha63@gmail.com"
] | prashant.kumarjha63@gmail.com |
34e819fa4a4bff3fdbeca6ffdfd7f5d42158a46c | 67baab02cfda6c54a287d63d0874824cf15f3ba6 | /codeforces/292e.cpp | f89fa935a130a584416f3d3792880febfe4d6164 | [
"MIT"
] | permissive | sogapalag/problems | a14eedd8cfcdb52661479c8c90e08737aaeeb32b | 0ea7d65448e1177f8b3f81124a82d187980d659c | refs/heads/master | 2021-01-12T17:49:52.007234 | 2020-08-18T14:51:40 | 2020-08-18T14:51:40 | 71,629,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,009 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>
using namespace std;
using namespace __gnu_pbds;
typedef long long ll;
typedef long double ld;
typedef complex<ld> cd;
typedef pair<int, int> pi;
typedef pair<ll,ll> pl;
typedef pair<double,double> pd;
typedef ve... | [
"yan-zp@foxmail.com"
] | yan-zp@foxmail.com |
c9fff7caecb11a7204320420be29e016619ad626 | 2814b4ed8ebe8bbeb2e4210ed083326dd6ce7252 | /Medium/56. Merge Intervals/merge.cpp | d6fc18a400cdae662a163a7fa6b200b8186eb020 | [] | no_license | teddy8997/LeetCode | 31970b5efe1945204bf2f8fc4e5d6924f05636db | 399edc5300fb1cb2cb0fe51b42ce3a913c830d25 | refs/heads/master | 2023-04-10T21:14:28.684276 | 2021-04-19T06:12:34 | 2021-04-19T06:12:34 | 303,752,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 811 | cpp | /*
先將起點從小到大排序後再倆倆比較第一個終點有沒有比第二個終點小 如果比較小代表兩個點沒有交集
比較大代表兩個點有交集然後比較各自的結尾誰比較大
time complexity: O(n*log(n))
space complexity: O(n)
*/
class Solution {
public:
vector<vector<int>> merge(vector<vector<int>>& intervals) {
sort(intervals.begin(), intervals.end(), [](auto &a, auto &b){
re... | [
"70366832+teddy@users.noreply.github.com"
] | 70366832+teddy@users.noreply.github.com |
8c13f401c28bb7f23a2faa37f44e790328656101 | bbc3877ebac3ec9da519089265889eb8fbe4c4d9 | /www/chromium/files/patch-chrome_browser_sync_device__info__sync__client__impl.cc | 8b124e3d21f925326111eb728c35229d1da019be | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | luckman212/FreeBSD-ports | 4bfd6cfadfa9ed5f6f8f98781486ae82ba385451 | 21c83fc18c324b248bb75cf51019dc7a1af332ac | refs/heads/devel | 2022-05-30T04:44:54.424927 | 2022-05-13T12:53:19 | 2022-05-13T12:53:19 | 105,670,457 | 1 | 0 | null | 2017-10-03T15:45:25 | 2017-10-03T15:45:24 | null | UTF-8 | C++ | false | false | 597 | cc | --- chrome/browser/sync/device_info_sync_client_impl.cc.orig 2022-02-28 16:54:41 UTC
+++ chrome/browser/sync/device_info_sync_client_impl.cc
@@ -38,7 +38,7 @@ std::string DeviceInfoSyncClientImpl::GetSigninScopedD
// in lacros-chrome once build flag switch of lacros-chrome is
// complete.
#if BUILDFLAG(IS_WIN) || BU... | [
"rene@FreeBSD.org"
] | rene@FreeBSD.org |
6c68f7bc958d421d45b00c866022162434941c68 | 037719ee5f8ab6d2fdaa982cdf8bcdcb4bbc480d | /src/main.cpp | a04acc7b8394ec6609fec55ffc87742fd02b6551 | [] | no_license | metno/wdb-pointvaluebatchload | 4cec8d40f75b32278b032f64c556495bbf3bdd57 | 04ab870d36d95d633b505c3a86e51326de37b2bc | refs/heads/master | 2021-01-13T02:07:32.278117 | 2013-12-03T10:14:11 | 2013-12-03T10:14:11 | 6,258,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,744 | cpp | /*
fastload
Copyright (C) 2012 met.no
Contact information:
Norwegian Meteorological Institute
Box 43 Blindern
0313 OSLO
NORWAY
E-mail: post@met.no
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publi... | [
"vegard.bones@met.no"
] | vegard.bones@met.no |
f5518bb082c8de0d00627a21b65a84bda301b199 | b97f0d918bdce8d1b0a7fa9c4c044af1bc0766b2 | /include/xercesc2.5/util/SynchronizedStringPool.hpp | 0d237b5dc190dca22577571227a71dec7a193e6a | [] | no_license | rauls/newscaster | 47ade74338c9d7032a275858ebbaa3deb2aa0b6c | 2557eee7b146454042e93382d734d7ca4a5ca2df | refs/heads/master | 2021-01-01T20:16:34.236163 | 2014-02-08T09:17:31 | 2014-02-08T09:17:31 | 2,427,760 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,504 | hpp | /*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999-2003 The Apache Software Foundation. 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 sou... | [
"Raul.sobon@gmail.com"
] | Raul.sobon@gmail.com |
b5689c4212a8873303abd3d563fac34fa4818012 | 88e8b7284f5c7693dae1934ccadb4b893187e71a | /test/testdatasource.cpp | 61d15d9e74dd27934a99a7b397e0a7ac416404eb | [] | no_license | liuxinren456852/lidarconverter | 6caeb69c7e391693d8a8fd602080ddcf5230daee | b68f6d68d8b386494baccc3326fdc6d3e67aa2a8 | refs/heads/master | 2021-01-14T10:02:03.246549 | 2008-04-11T19:16:15 | 2008-04-11T19:16:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,497 | cpp | #include "testdatasource.h"
/**
* Populates data_ary with data corresponding to a straight line from
* Jakarta to Mecca. Based on http://krysstal.com/sphertrig.html
*
* Add a Second Segment from Mecca to Izmir
*/
bool TestDataSource::read() {
float* data_temp = new float[10];
for(int i = 0; i < 10; i++)
da... | [
"ben@b8611051-9045-0410-8e59-9b3d6e8491ad"
] | ben@b8611051-9045-0410-8e59-9b3d6e8491ad |
186d068ca0006a077aad167bdbef2cef09fa5db6 | 23e393f8c385a4e0f8f3d4b9e2d80f98657f4e1f | /VC++深入详解 源码/Chapter4——MFC消息映射机制的剖析 讲述如何运用ClassWizard/Draw/DrawDoc.cpp | b20fff77c98613845d7aa53da9c2501e3173064a | [] | no_license | IgorYunusov/Mega-collection-cpp-1 | c7c09e3c76395bcbf95a304db6462a315db921ba | 42d07f16a379a8093b6ddc15675bf777eb10d480 | refs/heads/master | 2020-03-24T10:20:15.783034 | 2018-06-12T13:19:05 | 2018-06-12T13:19:05 | 142,653,486 | 3 | 1 | null | 2018-07-28T06:36:35 | 2018-07-28T06:36:35 | null | UTF-8 | C++ | false | false | 1,618 | cpp | // DrawDoc.cpp : implementation of the CDrawDoc class
//
#include "stdafx.h"
#include "Draw.h"
#include "DrawDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDrawDoc
IMPLEMENT_DYN... | [
"wyrover@gmail.com"
] | wyrover@gmail.com |
d75fb9355b855315be93b03212e9923b9f4c0ad1 | 18509c4ea94f810d6d8b5de39dd400f05a36f4ff | /variables-1.h | b3950350eecd1ae274a5c9b2f1ced277dba9b9ea | [] | no_license | ptobgui300/Graphing-Calculator | 750c1d432986df55a9772640f49e31542634807f | 448cee2809e04247b5e557e3159d072cb1e81b81 | refs/heads/master | 2020-08-02T23:06:01.987661 | 2019-09-28T17:40:58 | 2019-09-28T17:40:58 | 211,538,521 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | h | #ifndef VARIABLES_H
#define VARIABLES_H
#include <iostream>
#include "token.h"
using namespace std;
class variables:public Token
{
public:
variables();
variables(string other);
ostream& Show();
int GetType();
private:
string VAR;
int type;
};
#endif // VARIABLES_H
| [
"patriots.stars@gmail.com"
] | patriots.stars@gmail.com |
e4784e74c54e18ccfd9cbacd693a47ea8d8c314f | 2a03e3b28566290f8475d9d419ad988aa9b75046 | /server/src/server/commands/SendMessageCmd.cpp | 2e729bbfac43d9472a5bb905f50a348d95439c7a | [] | no_license | ACharchula/Charades | 7c012d94fc6c811d5f7eb00b48f9e1503a45f87c | 060f4e763503fa99f247a2944e4993462afc0baa | refs/heads/master | 2020-05-05T02:45:12.414592 | 2019-07-08T18:03:22 | 2019-07-08T18:03:22 | 179,649,884 | 3 | 0 | null | 2019-06-05T21:45:56 | 2019-04-05T08:56:21 | C++ | UTF-8 | C++ | false | false | 375 | cpp | // Copyright 2019 Kamil Mankowski
#include "SendMessageCmd.h"
const buffer_ptr SendMessageCmd::HEADER = helpers::to_buf("SEND_MESSAGE");
void SendMessageCmd::pushInput(buffer_ptr input) {
auto table_id = current_user->getTableId();
auto& table = tables->getTable(table_id);
if (!table.isUserInTable(current_use... | [
"kam193@wp.pl"
] | kam193@wp.pl |
f72a79b6ec267759e6620b3eee1f09ef61907cbe | fbbc663c607c9687452fa3192b02933b9eb3656d | /tags/1.26.09.00/mptrack/Vstplug.cpp | 4bf1a82cb032f4ffe8c63b4b84e0fe62ba6332fe | [
"BSD-3-Clause"
] | permissive | svn2github/OpenMPT | 594837f3adcb28ba92a324e51c6172a8c1e8ea9c | a2943f028d334a8751b9f16b0512a5e0b905596a | refs/heads/master | 2021-07-10T05:07:18.298407 | 2019-01-19T10:27:21 | 2019-01-19T10:27:21 | 106,434,952 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 52,355 | cpp | /*
* Vstplug.cpp
* -----------
* Purpose: VST Plugin handling / processing
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#include "stdafx.h"
#ifndef NO_VST
#include "Vstplug.h"
#ifdef MODPLUG_TRACKER
#include... | [
"sagamusix@56274372-70c3-4bfc-bfc3-4c3a0b034d27"
] | sagamusix@56274372-70c3-4bfc-bfc3-4c3a0b034d27 |
349b94835f61f7ab79eb131a366069e4967d6669 | 3663513cb8e82e3b2720d091a5a7bcb2447697f7 | /include/ParticleEmitters.h | a1be81162c61ff06c2bd251ee891f5d349474aad | [] | no_license | ThomasLengeling/sintra_moonsBloom | 493462d8a335b358a3eb1e000d79d1b21bf3c251 | 59730e87fd3cce96a759b16599883797702b5814 | refs/heads/master | 2021-01-10T19:00:56.902382 | 2015-04-10T00:20:19 | 2015-04-10T00:20:19 | 33,691,159 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,367 | h | #pragma once
#include "ParticleSystemReactive.H"
#include "AudioAnaylzer.h"
#include "Bloom.h"
class ParticleEmitters : public Bloom{
public:
ParticleEmitters(int numSphere, int numParticles, const ci::Vec2f & dims);
void updateParticles();
//DRAW FUNTIONS
void drawParticles();
voi... | [
"thomas@codigogenerativo.com"
] | thomas@codigogenerativo.com |
cb251b9d3782391df2fc0ffdd4e06b6e69a4f896 | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/orbsvcs/orbsvcs/PortableGroup/GOA.h | 0c03bdcdea35f6640f2ad475d6bd0f03364b51ae | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 6,595 | h | // -*- C++ -*-
//=============================================================================
/**
* @file GOA.h
*
* Header file for Group Object Adapter
*
* @author Several
*/
//=============================================================================
#ifndef TAO_GOA_H
#define TAO_GOA_H
#include /*... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
41a33980cab5bac7fa4f21157c7a5cd500880fbe | 488c009dea1d0d0fd21d71eaac20701634236932 | /BindingOfIsaac v1/BindingOfIsaac v1/Loader.cpp | 35f1b6a3152beeb5dab0ec3aceb1bd1962e2129d | [] | no_license | goatiie/Side-Project | 67f4fd94073c32fbe8fe6eec12c84f468e49a27f | e488d9377cda63ab4b5b2f85a2668258c553c3ca | refs/heads/master | 2021-01-16T19:34:03.867143 | 2014-08-30T00:09:24 | 2014-08-30T00:09:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,477 | cpp | #include "Loader.h"
Loader::Loader(void)
{
// One time instantiations here
tmpImage = loadBitmapImage("Sprites/skeleTest.bmp", &tmpHeader);
player->setSpriteSheet(tmpImage);
}
Loader::~Loader(void)
{
}
//--------------------------------------------------------------------------------------------------
// Bitm... | [
"Liamcallow@hotmail.com"
] | Liamcallow@hotmail.com |
d3850844d81f9ed2eecb064dbebb13b4e3744d52 | 1890b475dc4e7b856f973252080814b14bb52d57 | /aws_drive/v7.1/Samples/multimedia/directshow/vmr9/ticker/ticker.cpp | 7251069b04d57b3e249824df3e738f20db1b2cea | [] | no_license | nfouka/InnoSetup5 | 065629007b00af7c14ae9b202011e12b46eea257 | df39fc74995a6955d2d8ee12feed9cff9e5c37db | refs/heads/master | 2020-04-20T02:51:58.072759 | 2019-01-31T21:53:45 | 2019-01-31T21:53:45 | 168,582,148 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 26,681 | cpp | //------------------------------------------------------------------------------
// File: Ticker.cpp
//
// Desc: DirectShow sample code - a simple static image display app.
// Using the DirectX 9 Video Mixing Renderer, a static image is
// alpha blended with the image in the corner of the screen.
// ... | [
"nadir.foukagmail.com"
] | nadir.foukagmail.com |
d50dd7021eb18d976df455e848b843d7b51481d6 | d296f3b8b55616c4a74f5bbb217fc87b9f4b8e63 | /weikong/cbl/demo/test_base.cpp | 15dbddf9df9c5bb7ef6ae537a3ce582edccb72ca | [] | no_license | ktysakura/project_test | 8c541eecc974c37256a2daad0328c308253759db | 4c015aa92894b87c6ed5a0419073300f2c01b206 | refs/heads/master | 2023-03-01T18:24:07.597722 | 2021-02-08T09:34:58 | 2021-02-08T09:34:58 | 294,620,728 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,661 | cpp | #include "../src/cbl.h"
#include "main.h"
void test_base64()
{
CBase64 base64;
//CBase64 base64(true); //url模式
unsigned char data[] = "\x11\x12\x13\x14\x15\x16\x17\x18\x00\x19\x20";
char buf[100] = {0};
string sDecode;
int ret;
//编码
ret = base64.encode(data, sizeof(data) - 1, buf, sizeof(buf));
cout << "enc... | [
"563073320@qq.com"
] | 563073320@qq.com |
56da097ea96d2f7206dfdf2c4206487b31b754e1 | 9f44492305fa9fff4d2824856a3f9c1e830c4a75 | /bintree/BinNode.h | ac5986c4a2cfa30527103170fff8fbda4a346a30 | [] | no_license | wasax9t/Cpp_data_structure | e2d13dc1e9f1118b8a916ed165402821fcaac146 | e8cb47943d95529c97a629d62db59b1d1577b483 | refs/heads/master | 2020-06-15T22:27:24.296663 | 2016-12-03T09:43:10 | 2016-12-03T09:43:10 | 75,261,842 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,701 | h | #pragma once
#define BNPosi(T) BinNode<T>*
#define stature(P) ((P)? (P)->height:-1)
typedef enum { RB_RED, RB_BLACK } RBColor;
#define IsRoot(x) (!((x).parent))
#define IsLChild(x) (!IsRoot(x)&&(&(x)==(x).parent->lc))
#define IsRChild(x) (!IsRoot(x)&&(&(x)==(x).parent->rc))
#define HasParent(x) (!IsRoot(x))
#define Ha... | [
"wasax9t@126.com"
] | wasax9t@126.com |
dc9ecb366189a42215238d871e433d4fbadee77e | 68123ca061eb559923eb770b707e1e9e8576b7b2 | /OnHookTestTalk/Classes/NodeUtils.hpp | c4ac52c9c6b335b88970e5cb32bb655cd69e9ef6 | [] | no_license | YiFeng0755/AutoTest | 367839bf8820527c512e4738dbb5174b98fff984 | 5ec640e14affb14bc6d073596f1f8168abbda7ce | refs/heads/master | 2020-04-02T00:01:31.229330 | 2018-11-12T08:13:13 | 2018-11-12T08:13:13 | 153,784,790 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | hpp | //
// NodeUtil.hpp
// AutoCaller-mobile
//
// Created by Micheal Chen on 2017/11/10.
//
#ifndef NodeUtil_hpp
#define NodeUtil_hpp
#include "cocos2d.h"
class CNodeUtils {
public:
static float getLeftX(cocos2d::Node * node);
static float getRightX(cocos2d::Node * node);
static float getTopY(cocos2d::No... | [
"YiFeng0755@sz.com"
] | YiFeng0755@sz.com |
29a55e6023a7c75491a37e118e5415ba745c2bb7 | 4897b9d75d851a81606d19a0e046b32eb16aa1bd | /other/jisuanke/contest/2290/C.cpp | cbc75fbf2cf8a49de4cfff5f5a85939a9bb3893f | [] | no_license | tiankonguse/leetcode-solutions | 0b5e3a5b3f7063374e9543b5f516e9cecee0ad1f | a36269c861bd5797fe3835fc179a19559fac8655 | refs/heads/master | 2023-09-04T11:01:00.787559 | 2023-09-03T04:26:25 | 2023-09-03T04:26:25 | 33,770,209 | 83 | 38 | null | 2020-05-12T15:13:59 | 2015-04-11T09:31:39 | C++ | UTF-8 | C++ | false | false | 919 | cpp | /*************************************************************************
> File Name: C.cpp
> Author: tiankonguse
> Mail: i@tiankonguse.com
> Created Time: Sat Apr 20 12:06:47 2019
************************************************************************/
#include<bits/stdc++.h>
using namespace std;... | [
"i@tiankonguse.com"
] | i@tiankonguse.com |
f49c1b235e253cbd8bf93b3784521868552914eb | adcd1a0efcd34150631bd4eb86f278240d9a1a9f | /clientplugin/KafkaReceiver/src/MQRSosListManager.cpp | e967390e8f8f9b38cc5d042dc6e336edbc30b155 | [
"BSD-3-Clause"
] | permissive | victorzjl/BPE | a91bf8d6781ba1ea7fb118fdc809f99423f9be14 | b919e655337df53fe45515b8d5aed831ffdb2a19 | refs/heads/master | 2020-02-26T14:16:00.513976 | 2016-06-28T09:20:52 | 2016-06-28T09:20:52 | 61,704,491 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,571 | cpp | #include "MQRSosListManager.h"
#include "SapMessage.h"
#include "AsyncVirtualClientLog.h"
#include "ErrorMsg.h"
#include <XmlConfigParser.h>
#include <cstdio>
#include <boost/algorithm/string.hpp>
CMQRSosListManager::~CMQRSosListManager()
{
for (std::map<int, CMQRSosList*>::iterator iter=m_mapServiceIdAndSosList.beg... | [
"78655677@qq.com"
] | 78655677@qq.com |
488599d7b36539843adf546b6f519bc7dbebeea3 | 9bcb17a001bdc8bd3bf5133621d009139600f532 | /include/latch.h | 4ae7b7023864b408475bb4af9a0032a9dd326b12 | [] | no_license | fzxs/glog | 6db2d8396fb5477c370f508d306b18bf9e36a04b | e416543c271cf5111df5a2c21d731b804552e169 | refs/heads/master | 2020-04-30T21:49:54.871687 | 2019-03-22T08:54:02 | 2019-03-22T08:54:02 | 177,103,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | h |
#ifndef LHN_BASE_COUNTDOWNLATCH_H
#define LHN_BASE_COUNTDOWNLATCH_H
#include "Lock.h"
/*
设计方案:
条件锁使用时,要求wait()方法必须在signal()方法之前调用,CountDownLatch通过内置计数器的方式确保了这种调用
*/
namespace gtc
{
class CountDownLatch
{
public:
//构造函数
explicit CountDownLatch(int count);
//wait
void wait();
//发送信号
void countDown(... | [
"zhanggf@ynt.ai"
] | zhanggf@ynt.ai |
aef4a117b6fe388d9d464b37a7bb7448de77b602 | 1b60aa813a083bbe4324f972757652a31d378c66 | /기타/미분류/KAKAO 2020_크레인 인형뽑기 게임.cpp | 966c08ac232cd4102a3858edfaa54c6ee7ea4d4b | [] | no_license | SeongYunKim/Algorithm | 85cfb29c53c6930148402fe0e393bd53900e750b | f12ebe2784ea2c65c187e71e2feb4ac4a6fff3ae | refs/heads/master | 2021-09-10T22:08:07.531797 | 2021-08-30T07:14:47 | 2021-08-30T07:14:47 | 231,978,328 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | cpp | #include <iostream>
#include <queue>
#include <stack>
#pragma warning (disable: 4996)
using namespace std;
int solution(vector<vector<int>> board, vector<int> moves) {
int answer = 0;
stack<int> bascket;
queue<int> q[30];
for (int i = 0; i < board.size(); i++) {
for (int j = 0; j < board[i].size(); j++) {
if... | [
"cauboy17@naver.com"
] | cauboy17@naver.com |
5f602f56cb647a35352789aeb804ea87319db5b1 | 4a2054f1eb97ccc94f6ae82f6d6d381d6a3eab5b | /src/material.cc | 2799fef0d4a10246e94fbda6b767dcac78f1a31a | [] | no_license | RocketRope/raytracer | 4b313f8060b9a8a2d40ac42f122b62f38473ab5a | 0b972ddac7ac4b8e0db0f2a414e774adfc92f228 | refs/heads/master | 2021-04-06T19:38:31.467334 | 2018-04-22T21:57:30 | 2018-04-22T21:57:30 | 125,268,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,320 | cc | #include "material.h"
// -- Struct Color -- //
Color::Color(unsigned int hex)
{
unsigned char* p_hex = (unsigned char*) &hex;
red = p_hex[3] / 255.0f;
green = p_hex[2] / 255.0f;
blue = p_hex[1] / 255.0f;
}
// Assignment operators
Color& Color::operator = (const Color& rhs)
{
red = rhs.r... | [
"Fredrik.t.Kling@gmail.com"
] | Fredrik.t.Kling@gmail.com |
7e1cd6811272086589b04dc376434276aaa60617 | f1bde7424c041ac3ce6d15d731b1a16350450cf6 | /H1/fig811.cpp | 1aee50aa0daeb5ed3244ff3faebd2cf72f06e635 | [] | no_license | meganschmidt23/AssemblyLanguage-DosReis | e6184b551dba65f615e4127734d8950f561f1543 | 8c64405fc5f2c42568b5f89f78e3de676136fb0e | refs/heads/main | 2023-01-27T14:51:38.138700 | 2020-12-08T19:12:27 | 2020-12-08T19:12:27 | 319,723,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | cpp | #include <iostream>
using namespace std;
int x = 1;
void fol() // fol with no parameters
{
x = x + 1;
}
void fol(int n) // fol with one int parameter
{
x = x + n;
}
void fol(int n, int m) // fol with two int parameters
{
x = x + n + m;
}
int main()
{
fol(10); ... | [
"schmidtm6@hawkmail.newpaltz.edu"
] | schmidtm6@hawkmail.newpaltz.edu |
a0e5fdf8cf22349008f7cc350e073d02935180b2 | f438f330f6c4edcce840c3d6b37835b33245aca3 | /botscpp/src/utility.cpp | 4711368393602997fbb953417ff38f8c7874155a | [
"BSD-3-Clause"
] | permissive | Delaunay/dota2env | e8000dd2326e51a5ce567eabf3d56c50ddba98cf | bd0efd8fc2b064d6bf58993e59a6ad4ac6713b39 | refs/heads/master | 2023-04-24T02:47:23.938184 | 2021-05-15T03:09:09 | 2021-05-15T03:09:09 | 328,294,503 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include "utility.h"
#include <fstream>
#include <sstream>
void _print(){
logfile() << '\n';
logfile() << std::flush;
}
std::string logfilename(int team_id) {
std::stringstream ss;
ss << "cpp_" << team_id << ".log";
return ss.str();
}
std::ostream& logfile(int team_id) {
static std::ofstream... | [
"pierre.delaunay.tr@gmail.com"
] | pierre.delaunay.tr@gmail.com |
d2fde3eaf3bcb78ac21968e5893c84e0432823e4 | af278a0a4521a1b7373d27cfc81f26c1c41d8b44 | /framework/O.win32-x86-mingw/moc/moc_QEResizeableFrameManager.cpp | fbeb5a54a8be631b23565e1e7fe2a6b30066e739 | [] | no_license | TDControlsGroup/CLARA_RGA | 0cb90a130c5d64d75a263ae517b5f43f4ff6d06f | 31c92e97e3037f60f7bd1551979ca1771c3ee437 | refs/heads/master | 2021-01-13T05:20:24.894596 | 2017-03-27T16:42:42 | 2017-03-27T16:42:42 | 81,346,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,260 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'QEResizeableFrameManager.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
********************************************... | [
"rorydog1@gmail.com"
] | rorydog1@gmail.com |
e69bb27e1c320fb7deb1071a82e2ba8ad0b19c44 | 89dcccb951d343f1936a8329aa539ba5a4f6f91b | /김동현/숙제1/ex1/MyRectangle.h | da0d698f7cec9de1ad87c96fdd36a681b0306433 | [] | no_license | nakta1617/sbs20120806 | 4d89f8f19c0283254b4d159384b6f3a6edadbf32 | f5dadb04028bd1b98300f02225dcd89d4051f78f | refs/heads/master | 2021-01-24T02:16:52.794883 | 2012-08-17T10:55:55 | 2012-08-17T10:55:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | h | #pragma once
class MyRectangle
{
public:
MyRectangle(void);
~MyRectangle(void);
void Draw();
int m_1;
int m_2;
int m_3;
int m_4;
void Cancel();
};
| [
"raspisanie@naver.com"
] | raspisanie@naver.com |
e9fb7c0c336a7685c79258ff6e97a00ea4fd4387 | 0415dd9a3e781e59e11f3712bd4d7cbe8c8d3810 | /TEST2 NOM1/Struct №1 Spisok(1svyaz)/Struct №1 Spisok(1svyaz).cpp | 875fd355760158a612dd6c266d229942256c84f7 | [] | no_license | KimViktor522/VKI-KURS2 | fa67160c408c8b8697e3b23951c9a575cac8e468 | d52d84b7058563554b283d473808b96d57907452 | refs/heads/master | 2023-02-23T18:32:01.837211 | 2020-10-10T03:46:45 | 2020-10-10T03:46:45 | 241,249,579 | 1 | 3 | null | 2020-03-04T14:10:53 | 2020-02-18T01:57:56 | C++ | WINDOWS-1251 | C++ | false | false | 2,004 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
template<typename T>
class List {
public:
class Node {
public:
T value{};
Node* next;
};
private:
//число справа
Node* front{ nullptr };
int listsize{};
public:
~List() {
clear();
}
//вставка числа вправо
Node* push_front(T data) {
Node* cu... | [
"KimViktor522@users.noreply.github.com"
] | KimViktor522@users.noreply.github.com |
d5b23c60dac68ee269a28241e06cbe96a1256068 | 1ecc22f2799a88c523372dde6913d04da8015745 | /Stack with push pop and max/Source.cpp | 11243254f7ea2b877c75812dfdf9ca675deacfed | [] | no_license | abdulrafayn001/Stack-Data-Structure | 33b15229a84cc9dfdd139fb20aea7d39b31f08bd | 9aae0515c6fb007db1b4a4d1f230e9aad38b7e66 | refs/heads/master | 2022-11-20T13:33:03.591513 | 2020-07-25T11:41:20 | 2020-07-25T11:41:20 | 282,432,246 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | cpp | #include<iostream>
#include"MyStack.h"
using namespace std;
int main()
{
MyStack<int> S;
S.Push(5);
S.Push(2);
S.Push(1);
S.Push(7);
S.Push(10);
S.Push(9);
cout << S.Min();
return 0;
} | [
"abdulrafayn001@gmail.com"
] | abdulrafayn001@gmail.com |
8e5002a5976597ea595e12010e1b0be061f87372 | d9659457cb333ace681a89b85b47f03090ffeb1c | /OpenGL/main.cpp | 01c0a98fcf6f3686552fd9d3fc3052b83a848327 | [
"MIT"
] | permissive | chingyi-lin/TapInputVisualize | 967559856aa0dca82c96670891fdf74b82d9a84f | 5888dd921d6b318d836aec6950024bc702da7738 | refs/heads/master | 2021-05-27T12:25:37.961449 | 2014-03-05T15:50:48 | 2014-03-05T15:50:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,499 | cpp |
#include <iostream>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <OpenGL/glext.h>
#include <GLUT/glut.h>
#include <fstream>
#include <cmath>
/*
#include <windows.h>
#include <iostream>
#include <cstdlib>
#include <gl/Gl.h>
#include <gl/glut.h>
#include <fstream>3
*/
using namespace std;
static int... | [
"icequ60914@gmail.com"
] | icequ60914@gmail.com |
51e82b0d0ad54b9a8f002f4ccc782b4d2962943b | c8045a13bd1ebe378b242c98f1aa3d7d0c3a8cf1 | /565_Array_Nesting/sol.cpp | 53f63a1b1cb8f917e0933690024eebbecd5915a8 | [] | no_license | IrvingW/LeetCode-problems | 1e6f85c71400043f1dc97d99e11297357ce11aaa | 65cd70ec4fd0335cc6e536db1e1373aa5630b4b5 | refs/heads/master | 2018-11-15T17:18:08.056162 | 2018-09-02T09:45:04 | 2018-09-02T09:45:04 | 118,145,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | cpp | class Solution {
public:
int arrayNesting(vector<int>& nums) {
// 最后一定是会变成一个环
int result = 1;
vector<bool> visited (nums.size(), false);
for(int i = 0; i < nums.size(); i++){
if(visited[i]) continue;
visited[i] = true;
int len = 1;
int... | [
"thor.wang@sjtu.edu.cn"
] | thor.wang@sjtu.edu.cn |
01dc847c6d993317bc7595220bec129009be0225 | 53c7be0b11e36b0cfec43b27e844b100df5f455b | /src/runtime.hpp | b35458e89a28f77073bd36b15857420990fb6329 | [] | no_license | enigames/mirb | 39539fa2e086eac3d79ac7f44a90e2fcb0acec9c | 14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6 | refs/heads/master | 2022-01-28T15:46:44.326325 | 2012-06-29T18:16:13 | 2012-06-29T18:16:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,803 | hpp | #pragma once
#include "macros.hpp"
#include "value.hpp"
#include "block.hpp"
#include "on-stack.hpp"
#include "finally.hpp"
#include "classes/symbol.hpp"
namespace Mirb
{
class CharArray;
class Exception;
struct InternalException
{
InternalException(Exception *value) : value(value)
{
((Value *)value)->asse... | [
"zoxc32@gmail.com"
] | zoxc32@gmail.com |
15e9d6c69d561fdb6af136a62ef8f6c32a405072 | 816387bfc88fd5832ee12715ec6f8ad4e3a721ee | /SearchingSorting/111QuadrupleWithSumK.cpp | f252c7fc19bb1aaa0d20af59df935fbd62a397b5 | [] | no_license | Siriayanur/DSA | 2710163f93e65878d0985307cc838128bfcfb8f5 | 11679a585b2aec2d5b1eeefb97e469ac6f95ef84 | refs/heads/master | 2023-06-18T04:54:38.886743 | 2021-07-17T12:37:50 | 2021-07-17T12:37:50 | 314,945,846 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,396 | cpp | #include <bits/stdc++.h>
using namespace std;
//Using 4 for loops
vector<vector<int>> findFour1(int a[], int n, int k)
{
vector<vector<int>(4)> result;
int index = 0;
for (int i = 0; i < n - 3; i++)
{
for (int j = i + 1; j < n - 2; j++)
{
for (int k = j + 1; k < n - 1; k++)... | [
"meemusiri@gmail.com"
] | meemusiri@gmail.com |
0cfde0d53982a7d9a9beed1e217803fe6d186f5f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_new_log_8109.cpp | 10082b050ab9c88eac7716d654f20c8b94ec190a | [] | 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 | 530 | cpp | fputs(
" A quick and very simple example of how to setup a .netrc to\n"
" allow curl to FTP to the machine host.domain.com with user name\n"
" 'myself' and password 'secret' should look similar to:\n"
"\n"
" machine host.domain.com login myself password secret\n... | [
"993273596@qq.com"
] | 993273596@qq.com |
14870072f9cc1d707edbb2d96ce5660050538d4b | cb6f4ec55a2fef9b20249d5b7d54fdc732855050 | /src/common/lead_follow_inv_index.hpp | ed701bf94b8c58c3d2610222c9ea78713b45482a | [] | no_license | Shuenhoy/2020SP-ZJU-IR | c3c60e129aec9d218f54f22930c20e94f5043819 | 0d686631826e1bbb589528bd216f7a9fa98a7502 | refs/heads/master | 2022-10-31T14:20:17.783071 | 2020-06-16T15:38:58 | 2020-06-16T15:38:58 | 268,735,200 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | hpp | #pragma once
#include "common.hpp"
#include "dictionary.hpp"
#include "index.hpp"
#include "serialization.hpp"
#include "vb_io.hpp"
#include "vec.hpp"
#include <vector>
namespace ir::common {
using LeadFollowInvIndex = Index<size_t, size_t>;
} // namespace ir::common
| [
"shuenhoy@zju.edu.cn"
] | shuenhoy@zju.edu.cn |
8004f397ec905a8493f37293f0fcbdf76f671558 | c08ebc0eb4c3e2cb5df2f7e9cc5cb32731afd95b | /BSTree.cpp | c744b9a2094164d525029e33f9256fc9944c2809 | [] | no_license | wwolny/PROI2 | 5c825b2fa614b100fbb71f2550896df3f7592acc | 4485ac4bfd799a538409efe89df63b4ddb711660 | refs/heads/master | 2021-01-19T18:47:34.449725 | 2017-06-06T23:40:54 | 2017-06-06T23:40:54 | 88,381,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,773 | cpp | #include "BSTree.h"
/*
BSTree::BSTree()
{
//ctor
}
BSTree::~BSTree()
{
//dtor
}
//funkcja zwraca wskaznik elementu o najmniejszej wartosci (najbardziej na lewo)
template<class Key> BSTree* BSTree<Key>::most_left(BSTree* start)
{
if(start->l_son != NULL)
return most_left(start->l_son);
else
retur... | [
"wwolny1@gmail.com"
] | wwolny1@gmail.com |
e9588e5a9df43bbd97c547ab091a69a5ad3166f1 | e173575397d92e38fe9b38d698cfc11bbe0ca2d7 | /src/Menu.cpp | 5d0c4ecc8cd3e34799625cbedf94e99cbb73e7b0 | [
"MIT"
] | permissive | remolueoend/LMS | 33d321e601a3f873bad9dcdf8f2331afe7504f83 | 058e9b1debefefde81408cfe16859d10110ef2c3 | refs/heads/master | 2021-01-18T15:34:57.103960 | 2015-06-16T14:44:04 | 2015-06-16T14:44:04 | 36,525,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp | #include "../headers/Menu.h"
#include <iostream>
#include "../headers/Action.h"
using namespace std;
Menu::Menu(string title)
: Selectable(title)
{ }
Menu::~Menu()
{
//dtor
}
void Menu::AddSubItem(Selectable* item){
pSubItems.push_back(item);
}
void Menu::AddAction(string title, void (*handler)(LMS *sy... | [
"remo.zumsteg@outlook.com"
] | remo.zumsteg@outlook.com |
1df48226b83b087feedcc54a287a06e603aef45a | 4ccd2340c39e7b15cff0fba85f52bb7695d41cac | /examples/Thermometer/Thermometer.ino | b8d2b08abd935804ac12a0766fc619ef8f967dbe | [] | no_license | msyem2014/Arduino-library-nokia-1100-lcd--PCF8814 | 807c1129cf35045203cab11cf464c1c9ee2fd54b | fdfcf52f8419f7098a0471fb58b7de0652bbb587 | refs/heads/master | 2020-06-01T22:03:33.514296 | 2014-08-17T10:40:58 | 2014-08-17T10:40:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,407 | ino | /*
* Thermometer - read temperature using an LM35 sensor and display it on a PCF8814 LCD.
*
* Copyright (c) 2010 Carlos Rodrigues <cefrodrigues@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to dea... | [
"vasiliu.catalin.mihai@gmail.com"
] | vasiliu.catalin.mihai@gmail.com |
e99fbe8c26c26396e20125d71c0533514744e4a3 | a6376e1ada58384cdc0065ce5a4a96728e84f04f | /SDK/include/ext/tgt/event/touchpoint.cpp | 16c92a978126d23e4700231f06b3d2590d4443c1 | [] | no_license | widVE/Voreen | be02bac44896e869a6af083c61729d5e154c28f1 | c8a5c66f15d31f8177eeceefa19358f905870441 | refs/heads/master | 2021-08-17T23:46:19.556383 | 2020-06-22T20:21:11 | 2020-06-22T20:21:11 | 196,454,037 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,655 | cpp | /**********************************************************************
* *
* tgt - Tiny Graphics Toolbox *
* *
* Copyright (C) 2005-2013 V... | [
"kalimi@wisc.edu"
] | kalimi@wisc.edu |
dcd10573929fa63e00190aa705aa28409c729188 | cd2cd3e1e87a4bd068a13f972abbb72f34718c41 | /cpp/trees/minDepth.cpp | 8d34a8273c6cb4a3e7584836efac46ac6db1c721 | [] | no_license | kagehina919/dsa | 25b49827782099fdabdf7daa809afba4a16ea7ee | 1fa3403b48b2015223b65e173e53444cee37da3a | refs/heads/master | 2020-04-12T11:37:54.584215 | 2019-08-14T12:01:11 | 2019-08-14T12:01:11 | 162,465,661 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | // https://www.interviewbit.com/problems/min-depth-of-binary-tree/
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
int Solution::minDepth(TreeNode* A) {
if(A == NULL) {
... | [
"ns19041997@gmail.com"
] | ns19041997@gmail.com |
516e8aef725b48bc287b711a6e6db4c15fb91192 | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/tutorials/multiphase/twoPhaseEulerFoam/RAS/fluidisedBed/0.79/rho | bdae7e835592a96d85eb4bda28b8b20b98ba7a95 | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,502 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"mizuha.watanabe@gmail.com"
] | mizuha.watanabe@gmail.com | |
29872a56fce67e306465aa123aa976cf51369580 | 341dc63e657beec5d0202493ce5206a574689a70 | /inc/node.hpp | 05fb75d63fd890a542276e2a6d59e17e70f9f76b | [] | no_license | evgeniy1294/modbus-pp | bfb3f77ad7ebbf62357b7d866575aae6ae99a773 | 3e50661bcd4d867669d01b0e16718198404f12a0 | refs/heads/master | 2023-05-01T20:38:18.824503 | 2021-05-20T15:30:50 | 2021-05-20T15:30:50 | 350,980,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | hpp | #pragma once
#include <optional>
#include "defs.hpp"
#include "error.hpp"
namespace modbus {
class Node {
friend Logic;
public:
Error Sync( std::size_t reg, std::size_t count, Access op );
// Diagnostic
Error Set ( std::size_t reg, std::uint16_t value );
std::optional... | [
"evgeniy1294@yandex.ru"
] | evgeniy1294@yandex.ru |
e4e3557c49c22f80dbb302e0221bd2d497e6d659 | f7bf1cb0aee6b2166a0a6a3a8029c2ba4de72571 | /player_source/全都马队/cpp/player1.cpp | f7317cd897c8546965a253f19f92034ae4450991 | [
"MIT"
] | permissive | windowso/THUAI4 | 138ee218cb133f0ec5510123101d94a82860765f | 97bd5c865433471a1a7e8a49ce7af950097b03c3 | refs/heads/master | 2023-07-08T10:47:06.266519 | 2021-08-10T16:56:47 | 2021-08-10T16:56:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,353 | cpp | #include "AI.h"
#include "Constants.h"
//峈樑寀play()覃蚚潔蚔牁袨怓載陔郯ㄛ峈淩寀硐悵痐絞蚔牁袨怓祥頗掩袨怓載陔滲杅迵GameApi腔源楊肮奀溼恀
extern const bool asynchronous = false;
#include <vector>
#include <random>
#include <iostream>
#include <math.h>
#include <string>
#include <chrono>
/* 衾 VS2019 砐醴扽俶笢羲 C++17 梓袧ㄩ/std:c++17 */
extern const THUAI4::Job... | [
"liuxf19@163.com"
] | liuxf19@163.com |
c98addd96e55b40dc29ec5059c0dcbe27503f40b | ebb87a16bf6c74d184a65c6c3c14b3610160f42a | /ThingOne/Code/Hardware.cpp | a61795c70f9a3e15ea1483cee52022018a7eec94 | [
"Apache-2.0"
] | permissive | uraniid/Hardware | b9d528dcae23b13a844dd609be21b7f97fe73665 | d89d1897a1ded75f467762a20ce15045b92e5622 | refs/heads/master | 2021-05-31T12:12:32.401698 | 2016-05-05T01:09:25 | 2016-05-05T01:09:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,884 | cpp | #include "Hardware.h"
#define BUZZ_PIN 14
#define LED_R_PIN 20
#define LED_G_PIN 0
#define LED_B_PIN 21
Hardware::Hardware() {
/// init IMU
imu = new LSM9DS0(0x6B, 0x1D);
imu->begin();
/// init motors
motors.standby(false);
/// init adc
adc_i2c = new mraa::I2c(1);
adc = new ads1015(adc_i2c, 0x48);
... | [
"michael_truell@horacemann.org"
] | michael_truell@horacemann.org |
f4313d31467cdb43e20213d5debefecdd1e64d3f | 5499e8b91353ef910d2514c8a57a80565ba6f05b | /garnet/bin/trace2json/trace_parser_test.cc | b2008cdc2c337108485df5700b65c2410766f766 | [
"BSD-3-Clause"
] | permissive | winksaville/fuchsia | 410f451b8dfc671f6372cb3de6ff0165a2ef30ec | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | refs/heads/master | 2022-11-01T11:57:38.343655 | 2019-11-01T17:06:19 | 2019-11-01T17:06:19 | 223,695,500 | 3 | 2 | BSD-3-Clause | 2022-10-13T13:47:02 | 2019-11-24T05:08:59 | C++ | UTF-8 | C++ | false | false | 517 | cc | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "garnet/bin/trace2json/trace_parser.h"
#include <gtest/gtest.h>
#include <sstream>
namespace {
TEST(TraceParserTest, InvalidTrace) {
std::is... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
221324e571db39780b9c0ef5e8e27898235ae733 | fae45a23a885b72cd27c0ad1b918ad754b5de9fd | /benchmarks/accuracy_and_overhead/parsec-benchmark/pkgs/tools/cmake/src/Source/cmStandardIncludes.h | 3879641067ff5e77ed851222a895b069150065d6 | [
"LicenseRef-scancode-other-permissive",
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | bitslab/CompilerInterrupts | 6678700651c7c83fd06451c94188716e37e258f0 | 053a105eaf176b85b4c0d5e796ac1d6ee02ad41b | refs/heads/main | 2023-06-24T18:09:43.148845 | 2021-07-26T17:32:28 | 2021-07-26T17:32:28 | 342,868,949 | 3 | 3 | MIT | 2021-07-19T15:38:30 | 2021-02-27T13:57:16 | C | UTF-8 | C++ | false | false | 10,869 | h | /*=========================================================================
Program: CMake - Cross-Platform Makefile Generator
Module: $RCSfile: cmStandardIncludes.h,v $
Language: C++
Date: $Date: 2012/03/29 17:21:07 $
Version: $Revision: 1.1.1.1 $
Copyright (c) 2002 Kitware, Inc., Insight Co... | [
"nilanjana.basu87@gmail.com"
] | nilanjana.basu87@gmail.com |
3a2b22b6df4d561c7b1b45d0d2f853cb8bb70ef4 | 3980d55261207bda0036029cf2da66830df3cb0d | /src/qml/osgga/trackballmanipulator.hpp | 8dcea041cebf9ddb3e25bb5663858f9e3c9d5393 | [] | no_license | rooi/osgqtquick | d0db524a73a02dc7e25425bb6e208f85715c9205 | 983490c590bdac74eb57279c9c5b765bf2709078 | refs/heads/develop | 2021-01-18T14:24:15.956596 | 2015-04-29T16:11:43 | 2015-04-29T16:11:43 | 32,401,558 | 0 | 0 | null | 2015-03-17T15:21:02 | 2015-03-17T15:21:02 | null | UTF-8 | C++ | false | false | 654 | hpp | #ifndef _OSGGA_TRACKBALLMANIPULATOR_QTQML_
#define _OSGGA_TRACKBALLMANIPULATOR_QTQML_ 1
#include <osgGA/OrbitManipulatorQtQml>
namespace osgGA {
class TrackballManipulator;
class OSGQTQML_EXPORT TrackballManipulatorQtQml : public OrbitManipulatorQtQml
{
Q_OBJECT
public:
class Index;
TrackballManipulatorQtQm... | [
"konstantin@podsvirov.pro"
] | konstantin@podsvirov.pro |
7f0aaf60ff861f831e432c79b776ad89375bedbc | a7910a6752f63616630144998eb83fd811fed411 | /src/utils.cpp | 1222e8fdccda55fb8c1150f817988184b2360fa0 | [] | no_license | yushk/tracker | 5eebe931464c4b05747ea53e37192bd2c5d22b71 | f4da0577cf86044d922bc38e584703d89f210f33 | refs/heads/master | 2020-04-04T12:52:39.397659 | 2018-11-11T07:06:23 | 2018-11-11T07:06:23 | 155,940,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | cpp | #include <utils.h>
using namespace cv;
using namespace std;
void drawBox(Mat& image, CvRect box, Scalar color, int thick){
rectangle( image, cvPoint(box.x, box.y), cvPoint(box.x+box.width,box.y+box.height),color, thick);
}
void drawPoints(Mat& image, vector<Point2f> points,Scalar color){
for( vector<Point2f>::co... | [
"945009587@qq.com"
] | 945009587@qq.com |
9ceb5d0dfe2ffa734094bb0355a263144b5fab25 | 740d1758c202126eb0c1eb41e3c80a9eaebd0c21 | /Codesys/component/CmpPwmCtrl/CmpPwmCtrl/CmpPwmCtrlItf.h | 273aa0dedb5563bcfeedcba57d5a9455a55063dd | [] | no_license | weihongni/codesys | 7e3e9fc6b2f0b9194eaa38fb95851956615b8a76 | c8ed52a2157bb337f4a42ca3091d4165e6a72739 | refs/heads/master | 2023-07-08T03:00:55.987861 | 2018-03-30T03:19:35 | 2018-03-30T03:19:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,867 | h | /**
* <interfacename>CmpPwmCtrl</interfacename>
* <description></description>
*
* <copyright></copyright>
*/
#ifndef _CMPPWMCTRLITF_H_
#define _CMPPWMCTRLITF_H_
/** EXTERN LIB SECTION BEGIN **/
/* Comments are ignored for m4 compiler so restructured text can be used. */
#ifdef __cplusplus
exter... | [
"whx891214@163.com"
] | whx891214@163.com |
091adf18d915a3a853d7de4e0684a43a19449975 | c9cf0586ace11aa32fa67606d237a130a06364ee | /circular-cylinder-3-40/17/phi | fd3734290a16abcab4d61e8f6a33616468ef336a | [] | no_license | jezvonek/CFD-Final-Project | c74cfa21f22545c27d97d85cf30eb6dc8c824dc1 | 7c9a7fb032d74f20888effa0a0b75b212bf899f4 | refs/heads/master | 2022-07-05T14:43:52.967657 | 2020-05-14T03:40:56 | 2020-05-14T03:40:56 | 262,370,756 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 391,932 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"jezvonek@gmail.com"
] | jezvonek@gmail.com | |
b32e4e6d4fc371ba10b9ca3758ec061e73e3ebbf | 507ca05e8357bf6ce6c821d28dce1faca6d39b73 | /rttr/include/detail/misc/template_type_trait.h | a4b821392d87ae5f40b9ca3784dd4bff58e5c538 | [] | no_license | ahdaemon/rttr-test | eb200859970c37edc936d2a1d49c33fe2cb802e0 | 8224f935150e05175516b15e3b5643f2d158fa87 | refs/heads/master | 2023-06-05T12:55:45.824226 | 2021-06-19T12:53:05 | 2021-06-19T12:53:05 | 378,407,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,029 | h | /************************************************************************************
* *
* Copyright (c) 2014 - 2018 Axel Menzel <info@rttr.org> *
* ... | [
"854638781@qq.com"
] | 854638781@qq.com |
0e156d8ed189a3548aed1200cb134c12b18e4fa3 | 9c45bfbbefd4476e0daa46dbb9dac542bcd7ec0c | /C/Recurtion of funtion factorial.cpp | ceee98bf75915507a5cd98f03ea09a5896ac966d | [] | no_license | hasibulhasan763/Advance-C-Programming | 36a6125fde6b2b8d840894eed8f952db0eaa61bd | 56ff2e7dbb13bb6644592a924e92fc7a2b5077f8 | refs/heads/main | 2023-03-01T11:11:27.600259 | 2021-02-15T15:37:56 | 2021-02-15T15:37:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | #include<stdio.h>
int fact(int n);
int main()
{
int x;
scanf("%d",&x);
printf("%d",fact(x));
}
int fact(int n)
{
if(n==1)
return 1;
else
return n*fact(n-1);
}
| [
"shaounchandrashill75@gmail.com"
] | shaounchandrashill75@gmail.com |
75601dd2c2129ff399f49c5b99a8ff2c8bab8cbc | 4f81a55377a59978d5eb87562b06707797c10190 | /day11/exam2/exam2.cpp | 55c54db125edf8b4e51a27ff9de423b980f2f991 | [] | no_license | gbox3d/cs2019 | 336177f6340984b9331addeecd8e5b7fc7c8d150 | 97d947041beaeb3c2686a56c26d22d439780ce4e | refs/heads/master | 2020-06-10T11:43:08.598248 | 2019-07-19T07:56:47 | 2019-07-19T07:56:47 | 193,641,575 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 5,539 | cpp | // exam2.cpp : 애플리케이션에 대한 진입점을 정의합니다.
//
#include "framework.h"
#include "exam2.h"
#define MAX_LOADSTRING 100
// 전역 변수:
HINSTANCE hInst; // 현재 인스턴스입니다.
WCHAR szTitle[MAX_LOADSTRING]; // 제목 표시줄 텍스트입니다.
WCHAR szWindowClass[MAX_LOADSTRING]; // 기본 창 클래스 이름입니다.
... | [
"gbox3d@gmail.com"
] | gbox3d@gmail.com |
4b58015a97a0bcc1699c4fe30a8faeb4ed8623f5 | 4517acb095b24c67ac52ad8eab669c54321c97a3 | /UnitTest1/UnitTest1.cpp | 765ab6ff718351596e4470e2d701b22616ceed6b | [] | no_license | sasha-1337/lab5.1 | 60b6fb8fa2c6ed5614990b09d5bf3936eb39a522 | 47fe31c707805be9616458805e2db415e8bf2097 | refs/heads/master | 2023-01-04T21:23:47.094798 | 2020-11-04T16:47:21 | 2020-11-04T16:47:21 | 309,978,588 | 0 | 0 | null | 2020-11-04T16:47:22 | 2020-11-04T11:10:21 | C++ | UTF-8 | C++ | false | false | 342 | cpp | #include "pch.h"
#include "CppUnitTest.h"
#include "../lab5.1/lab5_1.cpp"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace UnitTest1
{
TEST_CLASS(UnitTest1)
{
public:
TEST_METHOD(TestMethod1)
{
double t;
const double x = 0;
const double y = 0;
t = g(x, y);
Assert::AreE... | [
"kolymbia97@gmail.com"
] | kolymbia97@gmail.com |
f842f5ea039bb484ac9b8db8ef4fc20667a1bcf5 | f759ec82f356ffdf272099c99f857343ee8db820 | /thread_pool/c++98/thread_pool.cpp | 1da55d9b8220c169e7cd23e1131ad3b2329e0e56 | [] | no_license | lioncfliu/mini-demo | f9eddcf9fd1df598722613cc4c0ce7ceadc79700 | 71c90477b03cb6ddb088699174d1b9fe70607274 | refs/heads/master | 2021-02-22T19:05:18.586071 | 2020-04-25T07:47:37 | 2020-04-25T07:47:37 | 245,383,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,352 | cpp | /*
* created by lioncfliu on 2020/03/05.
*
* */
#include "thread_pool.h"
#include <iostream>
#include <stdlib.h>
ThreadPool::ThreadPool(int count): thread_count_(count), terminated_(false) {
pthread_mutex_init(&mutex_, NULL);
pthread_cond_init(&condition_, NULL);
create_threads();
}
ThreadPool::~ThreadPool(... | [
"liucf3995@foxmail.com"
] | liucf3995@foxmail.com |
5d3387d0a39a79c78104c5290e2c1843217bdc90 | 7cddfff618c7725c384ecb97b782be717d677873 | /test/fuzzer/regexp.cc | 7e42319601622abaec66fc199d0aced0c25d1c5f | [
"bzip2-1.0.6",
"BSD-3-Clause",
"SunPro"
] | permissive | gdgy/v8 | 07bfb4cdbd26aab12f6daa0f2688796a66632d23 | d45e7898fd44f192e8b409b226854fba8d93070e | refs/heads/master | 2021-01-20T13:04:22.988253 | 2017-08-29T04:04:27 | 2017-08-29T04:36:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,255 | cc | // Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <limits.h>
#include <stddef.h>
#include <stdint.h>
#include "include/v8.h"
#include "src/factory.h"
#include "src/objects-inl.h"
#include "src... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
40c48456d8f3f5f2920c4ed6b105edfafedceba2 | 0c37d85238cd06bcd3e083a50a93603f08e3901a | /ado.h | d74d9e435481c86ef9bf04a9636b2c664adc1935 | [] | no_license | fenglimin/TinySMMS | 4b82b2612cdb250c606e8bcd25954244105e2220 | 938bdf1c5f9168db3505807ab2a36e127ada9fe7 | refs/heads/master | 2022-03-02T17:36:51.235762 | 2022-02-22T13:09:34 | 2022-02-22T13:09:34 | 131,948,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,989 | h | /*************************************************
Name : Ado.h
Author : Forest Yue
Created : Aug. 1, 2002
Comments : Ado Class .h file. Ado module is a class for operating database with ado.
come from internet.
*************************************************/
#ifndef _ADO_H_
#define _ADO_H_... | [
"liming.feng@carestream.com"
] | liming.feng@carestream.com |
093f20700e8b3fba5a4cde1e26d0c27f47b6e36a | 7277d930b74618a0e09a5f5c345c0237bc092bb0 | /VirtualContest/20200608/arc095/d/main.cpp | 6141be6b796231e99c01158896dafa58383e235c | [] | no_license | fhiroki/atcoder | 78bccbdc10e2ca94543c965cc53874c2e99f32af | aaf50382f3c4008cd48183a06f480a103c623a7b | refs/heads/master | 2022-03-13T04:21:16.570731 | 2022-02-13T01:20:33 | 2022-02-13T01:20:33 | 245,597,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | cpp | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
using namespace std;
int main() {
int n;
cin >> n;
ll a[n];
rep(i, n) cin >> a[i];
sort(a, a + n);
ll maxv = a[n - 1];
ll half = maxv / 2;
int idx = distance(a, lower_bound(a, a + n, half));
... | [
"hiroki976@gmail.com"
] | hiroki976@gmail.com |
24e90c34b94c5db7ef40a304c6673e8379571a11 | 5fd160630c40761abf74696625de4e6736603be0 | /asserv/consignController/ConsignController.cpp | 5c0c933faee0e0ba9ff734ce1599388ae6e50c8b | [] | no_license | mickael9/IAsservPetitRobot2012 | 3c0ed43aca7c663f6ea5535bb14f724cc61de7db | d2cdd6c86618f66dcc2eb0975b520f1f3db6af15 | refs/heads/master | 2021-01-01T05:31:18.931917 | 2012-09-21T15:41:48 | 2012-09-21T15:51:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,680 | cpp | #include "ConsignController.h"
//#define DEBUG
#ifdef DEBUG
#include "../debug/DebugUDP.h"
#endif
// Constructeur prenant deux objets initialiser avec l'asserv en param�tre
ConsignController::ConsignController(Odometrie *odo, MotorsController *mot )
: angle_regu(false), dist_regu(true) {
... | [
"mickael9@gmail.com"
] | mickael9@gmail.com |
b33a510c869c2525fa0e026ee403712849836142 | 8c6047251fab46c71030b8fc4fac995c3269639f | /modules/wechat_qrcode/src/zxing/common/reedsolomon/genericgf.hpp | df951d45e16a1751ccb7a9a7e4101709ae27e120 | [
"BSD-3-Clause-No-Nuclear-Warranty",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | DevenLu/opencv_contrib | 01210c07b292f2290861df1e51b27cc5fb9295c9 | 273246d8572cf005c7648e60c6cef78240edfb3e | refs/heads/master | 2023-02-12T21:40:03.347386 | 2021-01-15T08:15:00 | 2021-01-15T08:15:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,705 | hpp | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Tencent is pleased to support the open source community by making WeChat QRCode available.
// Copyright (C) 2020 THL A29... | [
"zhigangdai@hotmail.com"
] | zhigangdai@hotmail.com |
7438ab66269edd7a3d074ac5bd7596aaacecca57 | 51849f2e99c8b617a7ee1267d46babd28025a2b7 | /lib/Target/Z80old/Z80oldISelLowering.h | 132047d46f533142ccfcf74dcc283f943b251f01 | [
"NCSA"
] | permissive | gt-retro-computing/llvm-z80-backend | a1ab7496da4e5431696dbde12186ca0bf2c640ac | e4bd87d447c36e371613b0da42131d309e4ea25f | refs/heads/master | 2020-05-14T22:28:25.830850 | 2019-04-22T08:09:47 | 2019-04-22T08:09:47 | 181,979,235 | 0 | 0 | null | 2019-04-17T22:48:08 | 2019-04-17T22:48:08 | null | UTF-8 | C++ | false | false | 13,241 | h | //===-- Z80oldISelLowering.h - Z80old DAG Lowering Interface ----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------... | [
"makefilm@gmx.net"
] | makefilm@gmx.net |
120ab025be846418e9f3320b319d946a6f8b8ebc | c7dad0141e70312bbf01941215b3c86d80f541cc | /lc2/PartitionList.cpp | d9c19589074dcd1547f5d900955477634379e26c | [] | no_license | hiberabyss/octopress-blog | f63cc22aad63b7500e75a89c63f5aa311bfa22c2 | b6500dc19a91b29bf4861a51370a096bf227281d | refs/heads/master | 2020-04-13T11:25:25.556893 | 2014-08-15T05:48:33 | 2014-08-15T05:48:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include "listnode.h"
using namespace std;
class Solution {
public:
ListNode *partition(ListNode *head, int x) {
Li... | [
"lhbf@qq.com"
] | lhbf@qq.com |
979ba4e9fd6f3cd9db7fb1dc669dc3fe900ae550 | 56faa945655349a2c529b5076139ad823db2e516 | /leetcode/medium/16.cpp | 6b2912cfd86e8c4345f5a448a7969b44dc42b030 | [] | no_license | lijinpei/leetcode | 61e3fec4ec935ec0d3a8048e5df6c022b3663545 | 9833469506f4802009398b6217e510e35b188c95 | refs/heads/master | 2018-10-17T08:28:08.716683 | 2018-08-02T16:30:50 | 2018-08-02T16:30:50 | 120,696,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,072 | cpp | #include <vector>
#include <algorithm>
#include <limits>
class Solution {
public:
int threeSumClosest(std::vector<int> &nums, int target) {
std::sort(nums.begin(), nums.end());
int ans = std::numeric_limits<int>::max(), ans_v;
for (int i = 0, n = nums.size(); i + 2 < n; ++i) {
int v1 = nums[i];
... | [
"leekingp1994@163.com"
] | leekingp1994@163.com |
4bc61d1bcf798661a1d813a6d01536a14abe2ee3 | 1af49694004c6fbc31deada5618dae37255ce978 | /components/sync_sessions/switches.cc | bc1df38d93bc7db9c98aa9ea870b432ec6526a66 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 489 | cc | // Copyright 2020 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/sync_sessions/switches.h"
namespace switches {
// Enables syncing Sessions data type in case when the window doesn't have open
// t... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d60ce1fd80bf1b120ea55b09dfb01d7aa7de7453 | 9f1cc217612f75bcf44a1dc0062691310841c45f | /GraphPlotter/build-GraphPlotter-Desktop-Debug/moc_TabFenetreCurve.cpp | e9bdf6f722f70cf408acb63f731dad78d6ed8134 | [] | no_license | Near32/NeuralNetworks | 3e3af115a0448a0535c567dcba15eefed874913d | 2d5b6e9d8287df54184ee8d8c6e31dd8c0acf167 | refs/heads/master | 2021-01-17T18:06:39.910904 | 2017-02-09T08:38:53 | 2017-02-09T08:38:53 | 56,426,611 | 1 | 1 | null | 2017-02-09T08:38:54 | 2016-04-17T08:28:49 | C++ | UTF-8 | C++ | false | false | 5,151 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'TabFenetreCurve.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.2.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************... | [
"denamganai.kevin@gmail.com"
] | denamganai.kevin@gmail.com |
6af15d10e3d2d079b66cf3004a4705e919559a1d | d6f231aa64df78689776dde56ea7afb8cbd215f3 | /HDU/2203/11559663_AC_0ms_2240kB.cpp | cbbe34a52fbd9ce1e6eccc120aac54845fd838e5 | [] | no_license | Linzecong/My-ACM-Code | 18de33b786d51fd0729b601349f0db0f8ff22141 | d5487590d400510f387d352cd0748e9224f7acdd | refs/heads/master | 2021-01-24T04:28:53.268943 | 2018-11-30T08:36:40 | 2018-11-30T08:36:40 | 122,939,894 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | cpp | #include<iostream>
#include<deque>
#include<memory.h>
#include<stdio.h>
#include<map>
#include<string.h>
#include<algorithm>
#include<vector>
#include<math.h>
#include<stack>
#include<queue>
#include<set>
using namespace std;
typedef long long int ll;
void getNext(char a[],int len,int nxt[]){
nxt[0]=nxt[1]=0;
... | [
"504603913@qq.com"
] | 504603913@qq.com |
7241b08e5179809b39292e3ac9433238b5f02ba9 | fad392b7b1533103a0ddcc18e059fcd2e85c0fda | /build/px4_msgs/rosidl_typesupport_introspection_cpp/px4_msgs/msg/sensors_status_imu__rosidl_typesupport_introspection_cpp.hpp | 66fed267e02becb8177380e74edbbbeb82830ffd | [] | no_license | adamdai/px4_ros_com_ros2 | bee6ef27559a3a157d10c250a45818a5c75f2eff | bcd7a1bd13c318d69994a64215f256b9ec7ae2bb | refs/heads/master | 2023-07-24T18:09:24.817561 | 2021-08-23T21:47:18 | 2021-08-23T21:47:18 | 399,255,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | hpp | // generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em
// with input from px4_msgs:msg/SensorsStatusImu.idl
// generated code does not contain a copyright notice
#ifndef PX4_MSGS__MSG__SENSORS_STATUS_IMU__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#define PX4_MSGS... | [
"adamdai97@gmail.com"
] | adamdai97@gmail.com |
4ba0c181dd660f39194798ca8d5310c585e81fbf | a9985cd843e901056101d45f959eedd4baeb2de2 | /21DaysLearnCPlus/chapter16/16.6使用reverse反转.cpp | 8fe14be58bddbae3fe80b8f02d09bc71538519bf | [] | no_license | hykruntoahead/AndroidNdkStudy | 70b05bc9320ee96643e3d06921c0dc64b8327f9e | b6967023edbd054bde9ee032076fd73b5150fe6b | refs/heads/master | 2023-08-08T09:31:03.929155 | 2021-09-08T03:05:24 | 2021-09-08T03:05:24 | 316,390,703 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | cpp |
#include <string>
#include <iostream>
#include <algorithm>
using namespace std;//std::reverse
int main(){
string sampleStr("Hello String! We will reverse you!");
cout << "The original sample string is: " << endl;
cout << sampleStr << endl << endl;
reverse(sampleStr.begin(),sampleStr.end());
c... | [
"ykhe@grandstream.cn"
] | ykhe@grandstream.cn |
2953ba5f885536a7df14836ea04996bec3b9b0eb | c15d124ea20024ed94884e0d457a4e24f024b377 | /1182.cpp | c93fe01255b8757d61041711d6376a2b54d8c1df | [] | no_license | zm2417/luogu-cpp | 34e37afaf96f17e45f1ccb2b883dea5584b332d0 | 40d4960dc7ccf84168707fd5f0285b2e325eb03f | refs/heads/master | 2020-12-21T02:24:12.088314 | 2020-03-11T07:44:39 | 2020-03-11T07:44:39 | 236,278,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | #include <iostream>
using namespace std;
// 判断d数组连续子数组之和可以是x
bool judge(int x, int d[], int size, int m)
{
int tol = 0, num = 0;
for (int i = 0; i < size; i++)
{
if (tol + d[i] <= x)
tol += d[i];
else
tol = d[i], num++;
}
return m > num;
}
int main()
{
i... | [
"1174866517@qq.com"
] | 1174866517@qq.com |
87f89a977db0004de9bbfc7a6053ca9dde249777 | 8cf0668b32770dd2524f0ec0dea2c4955e56ce8e | /sources/math/Vector2d.h | d3c7121915aaf7fb95059d1250d1de522ce7bcfa | [] | no_license | pvmiseeffoC/MazeGame | c845863e6f2389935f93bdbe9d5967f81572b6a2 | 7b9a83b917650449ee93549e3450226d3c2921a0 | refs/heads/master | 2020-06-05T09:48:11.874299 | 2019-06-26T15:24:34 | 2019-06-26T15:24:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | h | #pragma once
#include <iostream>
struct Vector2D
{
float x;
float y;
Vector2D() = default;
Vector2D(float x, float y);
explicit Vector2D(int x, int y);
explicit Vector2D(unsigned int x, unsigned int y);
friend Vector2D& operator+(Vector2D& v, Vector2D const& other);
friend Vector2D& operator-(Vector2... | [
"boris.gluzov@abv.bg"
] | boris.gluzov@abv.bg |
2f633bdc5eea591608d64547959b5ec000f9be32 | 23f988531f6b59d5e2639d14d7c3183a94360cef | /net/scriptrpc.cpp | 6a4937036ac7fecdbc9e679bd2a08a6fe792bc78 | [] | no_license | AthallahDzaki/SAMPMobile | 0f883ed25396dca6841f3c2002500c2824efb33c | 165673b0d853ede42a94ec0f09180869809aaa6e | refs/heads/master | 2023-08-01T19:41:05.482866 | 2021-10-01T00:38:32 | 2021-10-01T00:38:32 | 267,602,721 | 20 | 16 | null | null | null | null | UTF-8 | C++ | false | false | 56,287 | cpp | #include "main.h"
#include "game/game.h"
#include "netgame.h"
#include "chatwindow.h"
#include "game/cheats.h"
#include "cheatgui.h"
#include "game/audiostream.h"
#define WEAPONTYPE_PISTOL_SKILL 69
#define WEAPONTYPE_PISTOL_SILENCED_SKILL 70
#define WEAPONTYPE_DESERT_EAGLE_SKILL 71
#define WEAPONTYPE_SHOTGUN_SKILL 72
... | [
"discordgg5@gmail.com"
] | discordgg5@gmail.com |
dcd581dc8c32d01262de4d0995737fd00880bfe4 | 5b6e374d9adbe9de00d7260c8924e09dabfbe892 | /src/main.cpp | e787cc777971c4b19f5ff75bc3feae436a4afabe | [] | no_license | Bankszd/LaserMeasurement | 3c9e5ac76ad8546402b336b094a3e7e535c0d41f | 42803754b6cad84fa5c3e0013ab8cf4604010647 | refs/heads/master | 2021-12-23T12:25:55.648464 | 2017-11-13T14:12:40 | 2017-11-13T14:12:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,068 | cpp | #include <fstream>
#include <iostream>
#include <sstream>
#include <vector>
#include "Eigen/Dense"
#include "measurement_package.h"
#include "tracking.h"
using namespace std;
using Eigen::MatrixXd;
using Eigen::VectorXd;
using std::vector;
int main() {
/*************************************************************... | [
"lion_zheng@sina.com"
] | lion_zheng@sina.com |
c603e75035fe52720462dbccc01df656db3ab57f | 8fa5b99c8e3d36e21030bea69dca0124ad2f7ad9 | /cpch.h | 361105e47cead79dc3c0cb66dbd06c775c57719f | [] | no_license | alyssaw20/IxaProject | 5f200990fbed81ca49682b1504ed19e0c0c3a076 | b8c022e836ee07693d5e2ce3c5c509785d2e81d5 | refs/heads/master | 2020-04-05T23:40:43.066721 | 2013-11-23T22:06:09 | 2013-11-23T22:06:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | h | #pragma once
#include <stdio.h>
#include <SFML/System.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#include <SFML/Audio.hpp>
#include <map>
#include <iostream>
#include <cassert>
| [
"alyssawhite@outlook.com"
] | alyssawhite@outlook.com |
0fc01eea85fe9c2df1b9b52ac49aecd9923d7938 | 9de9e16160a6e23b7c814a81b4f7787b5cadeb0e | /Warcraft II/Warcraft II/UIMinimap.h | f26fc6723c1153e78e98bb3425e8dba4e2a5c84b | [
"MIT"
] | permissive | jiabaozhang/Warcraft-II | ba327fd2060eab834f82c3457d5cd7d311b0b5e9 | fd4fab4c629783d6acc18c34bdaac15fcfb54dd1 | refs/heads/master | 2023-03-23T08:52:25.540502 | 2018-06-06T21:33:43 | 2018-06-06T21:33:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,618 | h | #ifndef __UIMinimap_H__
#define __UIMinimap_H__
#include "SDL\include\SDL.h"
#include "Defs.h"
#include "j1App.h"
#include "UIElement.h"
#include "j1EntityFactory.h"
#include "j1Gui.h"
#include "j1Timer.h"
struct Room;
struct UIMinimap_Info
{
bool draggable = false;
bool interactive = false;
bool interactionFr... | [
"oscarhernandezgomez@gmail.com"
] | oscarhernandezgomez@gmail.com |
9e97e8db0aa9388964624d4e34e7c790bf5cba7b | 94f2f552c2353d7dfb96d39dc5b76b3801b56adf | /Recursion + backtracking/rec_subsequences-Q7.cpp | 58d80508e15853780a90757086691e26d90401ec | [] | no_license | Sagorika28/CB-codes | 5ce2a7fe0d4fe839ea7e6c14dd15d24cfd758053 | 0dc549e01d0945605176dcaafdbf3f77e384a6c4 | refs/heads/master | 2023-04-22T17:54:22.009465 | 2021-05-08T10:25:23 | 2021-05-08T10:25:23 | 365,483,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | #include <iostream>
#include <cstring>
#include <stdlib.h>
using namespace std;
string recsub(string str, string osf)
{
if (str.size()==0)
{ cout<<osf<<endl<<num;
return; }
char ch=str[0];
string ros = str.substr(1);
int num=recsub(ros,osf+ch)+recsub(ros,osf);
}
int main()
{
string str;
cin>>str;
fflus... | [
"2sagorika8@gmail.com"
] | 2sagorika8@gmail.com |
48ff3168da5aabad1c2bd0c6c96b4ddb3f47f8e0 | 543edcbbc8ae7cb77f2c235447ed5f722b8beaaf | /electric clouds xcodeproject/src/Boid.cpp | 337235f0e75f7f456b6cefe0bb0c50e7219de5d2 | [] | no_license | bruzed/electric-clouds | e0ed4251dc5df510db4238a45c3da586e8bd157b | d508d2b71d0c6d721a682e15988350e96261d6ae | refs/heads/master | 2021-01-15T19:45:27.802399 | 2011-03-09T04:52:17 | 2011-03-09T04:52:17 | 1,457,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,141 | cpp | #include "Boid.h"
Boid::Boid() {
pos.set(300.0f, 300.0f, 0.0f);
acc.set(0.4,0.4, 0.0f);
vel.set(ofRandom(0.1f, 0.4f), ofRandom(0.1f, 0.4f), 0.3f);
vel = 0.0f;
//max_vel.set(20.0f, 20.0f, 0.0f);
max_vel = 30.0f;
mass = 1.0f;
// steering forces.
max_force = 2.0f;
force.set(0.0f, 0.0f, 0.0f);
// arrive t... | [
"brucedrummond@gmail.com"
] | brucedrummond@gmail.com |
d93a7ac310aceecdfba9238af55287775d01c2b3 | b6926a3e90d5f2322cf96e3819415d50a58097e2 | /hi.cpp | bb5cf18310ffa3163f1817e4ce777b93958c4377 | [] | no_license | AbhJ/some-cp-files-1 | 67c6814037e6cbc552119f3d2aa4077616b88667 | 04e7e62ac7d211bb38dd77dc44558a631805c501 | refs/heads/master | 2023-07-05T16:36:56.770787 | 2021-09-03T12:50:13 | 2021-09-03T12:50:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | cpp | #include <bits/stdc++.h>
#define ll long long int
#define pb push_back
#define ibs ios_base::sync_with_stdio(false)
#define cti cin.tie(0)
using namespace std;//coded by abhijay mitra
#define watch(x) cout << (#x) << " is " << (x) << endl
// #define N 100010
// ll a[N],b[N],c[N];
string s[22],t[22];
int main(... | [
"abhijay.mitra@iitkgp.ac.in"
] | abhijay.mitra@iitkgp.ac.in |
4d52d27c64b660a8a8c5647942b47b699a43c3f8 | e018d8a71360d3a05cba3742b0f21ada405de898 | /Client/SpriteLib/CAlphaSpritePal.cpp | a0b4b08fd8143a9e219384de320800ac0ea5640e | [] | no_license | opendarkeden/client | 33f2c7e74628a793087a08307e50161ade6f4a51 | 321b680fad81d52baf65ea7eb3beeb91176c15f4 | refs/heads/master | 2022-11-28T08:41:15.782324 | 2022-11-26T13:21:22 | 2022-11-26T13:21:22 | 42,562,963 | 24 | 18 | null | 2022-11-26T13:21:23 | 2015-09-16T03:43:01 | C++ | UHC | C++ | false | false | 78,865 | cpp |
#include "Client_PCH.h"
#include "CAlphaSpritePal.h"
#include "CSpriteSurface.h"
int CAlphaSpritePal::s_Value1 = 0;
int CAlphaSpritePal::s_Value2 = 0;
void CAlphaSpritePal::SetPixel(BYTE *pSource, WORD pitch, BYTE *pSourceAlpha, WORD alphaPitch, WORD width, WORD height)
{
// memory해제
Release();
... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
2fff38608efbda564326ecbadb2c048d7abf8fe9 | cf081b5ffd19fd5e42a2224c3bf5a765d00b461a | /Lib/ThreadTest/ThreadTest.cpp | 2f5f570c847da54a40a79516cef634d96049b619 | [
"BSD-3-Clause"
] | permissive | WAVM/WAVM | feecbce5d9197f07a69827dd42c63173bea3c95a | 3f9a150cac7faf28eab357a2c5b83d2ec740c7d9 | refs/heads/master | 2023-08-28T04:09:34.730872 | 2022-05-14T07:51:49 | 2022-05-14T07:51:49 | 41,151,921 | 2,051 | 176 | BSD-3-Clause | 2023-04-25T15:42:38 | 2015-08-21T11:14:30 | C++ | UTF-8 | C++ | false | false | 6,737 | cpp | #include "WAVM/Platform/Thread.h"
#include <stdint.h>
#include <atomic>
#include <memory>
#include <utility>
#include <vector>
#include "WAVM/IR/Types.h"
#include "WAVM/IR/Value.h"
#include "WAVM/Inline/Assert.h"
#include "WAVM/Inline/BasicTypes.h"
#include "WAVM/Inline/Errors.h"
#include "WAVM/Inline/IndexMap.h"
#incl... | [
"andrew@scheidecker.net"
] | andrew@scheidecker.net |
df9250cbc92594218bd54654f60e947269c21164 | abf24191265fb9e6648cf1de7ed848fbe291da7c | /source/CUNetworkConnection.h | a29fe39b5cb8f91c04468e36ff6bc9435a79215f | [] | no_license | onewordstudios/sweetspace | 4ecc3fe27fb794fac6e8b2e8402f9b010f5553a4 | 5d071cd68eb925b9ae1b004ce5d6080cc3261d30 | refs/heads/master | 2023-02-04T11:13:34.287462 | 2023-02-03T04:03:24 | 2023-02-03T04:03:24 | 241,430,856 | 9 | 2 | null | 2023-02-03T04:03:26 | 2020-02-18T18:00:44 | C++ | UTF-8 | C++ | false | false | 9,462 | h | //
// CUNetworkConnection.h
//
// Author: Michael Xing
// Version: 2/8/2022
//
// With help from onewordstudios:
// - Demi Chang
// - Aashna Saxena
// - Sam Sorenson
// - Michael Xing
// - Jeffrey Yao
// - Wendy Zhang
// https://onewordstudios.com/
//
// With thanks to the students of CS 4152 Spring 2021
// for beta te... | [
"mt-xing@users.noreply.github.com"
] | mt-xing@users.noreply.github.com |
3f18f4be8b51fa2a777384a2e10f1cf7b09d20ec | e6e073673cdbef380abeba89cbf2618d4f680b2d | /CST 211 - Data Abstraction/Data Structures C&C++ Projects/STRING/test3.cpp | 9246dcc72c6424dfc99fd531fa09733ba1d95834 | [] | no_license | mklump/CS_OIT2005Degree_Accademic_Work | 2a7d10a73caff65d43421d5bb71de0ca94bb69d4 | 785c4649a6e43ebca81b7c03b3cba8f9ecf78bcc | refs/heads/master | 2021-01-10T06:45:56.185811 | 2016-03-21T15:04:23 | 2016-03-21T15:04:23 | 54,396,605 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,712 | cpp | //--------------------------------------------------------------------
// Author: Matthew Klump CST 211 Lab #3
// Date Created: July 15, 2002
// Last Change Date: July 15, 2002
// Project: STRING
// Filename: test3.cpp
//
// Overview: Test driver for the member methods and data of
// the Stri... | [
"mklump@gmail.com"
] | mklump@gmail.com |
44348174df391700962e24d91cc1b51056edad55 | f545099e75c8594b223f7d7b2956bab8b29ec494 | /Lab exam - Colocviu/Masca.cpp | 11b1c7e16746ab7981951a1fcb1d3a5f6d8d2e17 | [] | no_license | bianca-mihaela-stan/Object-Oriented-Programming---POO | 48391ce6617bc439a3c061663a40d3b406dbedfb | b4d8dbbcfec3daeb8819449a64b43d7e7bd10d0c | refs/heads/master | 2023-02-28T05:21:59.548684 | 2021-02-11T13:32:48 | 2021-02-11T13:32:48 | 276,148,173 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,403 | cpp | /// Stan Bianca-Mihaela grupa 132
/// rulat cu Codeblocks g++ C++14
/// Tutore: Lupascu Marian
#include "Masca.h"
Masca::Masca() : tip(""), culoare(""), nr_pliuri(0)
{
}
Masca::Masca(std::string tip, std::string culoare, int nr_pliuri) :
tip(tip), culoare(culoare), nr_pliuri(nr_pliuri)
{
}
Masca::Masca(cons... | [
"stanbianca611@gmail.com"
] | stanbianca611@gmail.com |
81a578925bd829761c74a2827b26e3fa7b93beea | 036ba57cb2023532e085fdc29e7241c5c3671c18 | /eclipse/main20_2.cpp | 96f628119c840e824645057b44617bda2a00dcc3 | [] | no_license | libo8621696/CPP_Course3 | de6a04ec60f29c09987a8f26694ce97d0b46a7fd | f4ccd1acd3348225a14b21b9c52723630221403a | refs/heads/master | 2020-05-21T17:04:44.178008 | 2019-05-11T09:43:17 | 2019-05-11T09:43:17 | 186,114,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | #include <iostream>
#include <string>
using namespace std;
// 在此处补充你的代码
template <class T>
class CMyistream_iterator
{
public:
CMyistream_iterator(istream &input):is(input) {
is>>a;
}
T operator *() {
return a;
}
void operator ++(int) {
is>>a;
}
private:
T a;
istr... | [
"b_li08@163.com"
] | b_li08@163.com |
fe1656f09e92acddee36a661b63286df0d3e8709 | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazetest/src/mathtest/dmatdmatschur/H3x3aH3x3b.cpp | d0d27e72269a546330b746471a56b1a50d7e8173 | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,812 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatschur/H3x3aH3x3b.cpp
// \brief Source file for the H3x3aH3x3b dense matrix/dense matrix Schur product math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
209407ab0e4e6cd2e44eceb5c483f584b2dff28c | 6cac9c17eda2ad12d814d03efb52204c8b36e91d | /Task 4-10.cpp | d4142b9a0030641a63cea018e9072ef36753b4ee | [] | no_license | StefanG97/SI_Homework_2016-2017 | e28ae5b4323d712272edd921d28afd2e9670528b | 80e8d04777bd6ca157327263c823501c44ed26ee | refs/heads/master | 2021-01-11T01:51:06.605337 | 2016-11-15T14:54:49 | 2016-11-15T14:54:49 | 70,847,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | cpp | #include<iostream>
#include<math.h>
#include<iomanip>
#define pi 3.14159265
using namespace std;
double circleSurface(double x){
return pi * pow(x, 2);
}
int main(){
double Radius;
cin>>Radius;
cout<<setprecision(100)<<circleSurface(Radius)<<endl;
return 0;
}
| [
"death.trapbg@gmail.com"
] | death.trapbg@gmail.com |
8cd118e2fa709f24785d9c30f325bf1f688c6ade | b0d3354dc8dda2bfb9886594de5dabd6d3459889 | /include/ncreportxmldatasource.h | 27fc7e4225558884667ead0ee2339969ffc3b98e | [] | no_license | rodety/Jireh | 94ba6439c673b93976e6adf128cf3bfa78dd9853 | f53afab4cfe207c710a0251fec5c7ef063d76361 | refs/heads/master | 2020-12-11T22:46:22.145146 | 2016-07-13T19:40:24 | 2016-07-13T19:40:24 | 26,620,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,194 | h | /****************************************************************************
*
* Copyright (C) 2002-2012 Helta Kft. / NociSoft Software Solutions
* All rights reserved.
* Author: Norbert Szabo
* E-mail: norbert@nocisoft.com, office@nocisoft.com
* Web: www.nocisoft.com
*
* This file is part of the NCRepor... | [
"rodety@gmail.com"
] | rodety@gmail.com |
46355a0a4d7aacb50d4b80b424b10262eda5b0fd | 3f86387c9ddef61a7a75d1a0b98501810c54ff3d | /module/KinectSensor.h | 7f26d531861cf63010ac44c73e9a7f03acfe041d | [] | no_license | melody1994ll/KV2FrameworkCPP | 75892b1f5778ce9c60ccede5de8eb27b64825195 | 78aca908773e25dd3dcc58d145d83f1c96128a5c | refs/heads/master | 2021-01-12T05:48:04.994300 | 2016-12-07T08:35:11 | 2016-12-07T08:35:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | h | #pragma once
#include <Kinect.h>
#include "ExportHeader.h"
class _EXPORT CKinectSensor
{
public:
CKinectSensor();
~CKinectSensor();
bool OpenSensor();
void CloseSensor();
IKinectSensor* GetSensor();
private:
IKinectSensor* pSensor;
};
| [
"yiyi_oo@qq.com"
] | yiyi_oo@qq.com |
585ce293fcdfe4e2f5cc82b00b317f4e59dbedc4 | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch/eulerVortex.cyclic.twitch.test.test/3.71/T | 9c360fd41ed51b5526f2921b21f30cb9ae719c16 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,264 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
15d000f68d5470f4184e39c90988cbaf0cfe03b3 | 13dafbe0e33771bd24496637a761c4703fb0beb4 | /Codeforces/YellowCards.cpp | da61557ca622aa8f7c7aef3130a8344fb95b3067 | [] | no_license | Owmicron/CPStuff | 121d498b2418141fa45d27fcbfa0a1fd851a4293 | 436f3234ed2f2930b13169f30428ded5da557b75 | refs/heads/master | 2022-12-30T06:43:18.425735 | 2020-10-20T12:21:59 | 2020-10-20T12:21:59 | 258,448,760 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,099 | cpp | #include<bits/stdc++.h>
#pragma GCC target ("avx2")
#pragma GCC optimization ("O3")
#pragma GCC optimization ("unroll-loops")
#pragma comment(linker, "/stack:200000000")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
typedef long long ll;
typedef string str;
typedef... | [
"owenultima@gmail.com"
] | owenultima@gmail.com |
7fa5fdacc21bcf2672cedf81aec2bb9f2de59440 | a928ab16d0384b5474f6e635c77974ac6dc1a022 | /lib/matchbox/lcd.cpp | 0966d0eeda0d2a78f8f1b68e27e2c7a708d91aba | [] | no_license | ghsecuritylab/matchbox | 9b1b9e9a420e21ab48f20c34c8d0cb5105117cca | 93c32dbf28aabee79d18531840976edfb98bbd00 | refs/heads/master | 2021-02-28T12:39:15.494511 | 2016-09-04T09:22:54 | 2016-09-04T09:22:54 | 245,697,492 | 0 | 0 | null | 2020-03-07T20:03:16 | 2020-03-07T20:03:16 | null | UTF-8 | C++ | false | false | 6,648 | cpp | /*
* Lcd.cpp
*
* Created on: Jan 16, 2012
* Author: jmiller
*/
#include <algorithm>
#include <cstring>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <ctype.h>
#include <assert.h>
#include "font.h"
#include "gpio.h"
#include "lcd.h"
#include "util.h"
#define BLE_PRESENT
Lcd::Lcd(Spi& ... | [
"jaggiesjim@gmail.com"
] | jaggiesjim@gmail.com |
28b0c2c2821962ef2a97fd0a1e233ea9e7942f91 | a795ac8062cc106a044ffbcfe87e13a9eb9d5105 | /main.cpp | ca52e140f1def3a06d339d2c6692bb563481e8b3 | [] | no_license | dii-programmazione-avanzata/esame-16062020-Automedonte | 6703bc4c77b58371f878b4910f40c75d09c64d93 | fa055825a36f1ca93da5eefd43b535fd147a9564 | refs/heads/master | 2022-10-20T01:23:44.384589 | 2020-06-16T11:29:28 | 2020-06-16T11:29:28 | 272,636,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | cpp | //
// Created by Marcello Tenca on 16/06/2020.
//
#include "iostream"
#include "include/docente.h"
#include "include/corso.h"
#include "include/percorso.h"
int main() {
Iscritto x("mario", "rossi", 193070);
Docente y (x);
Corso prova ("Informatica", y, 10, 20, 2);
Data data(1, 1 ,2020);
Ora ... | [
"61504444+Automedonte@users.noreply.github.com"
] | 61504444+Automedonte@users.noreply.github.com |
23a6bc80d745c9d00e2ee9e33648e76a50257c2e | b28305dab0be0e03765c62b97bcd7f49a4f8073d | /media/gpu/ipc/service/vda_video_decoder.cc | e8824ab1b46f9a17f0634dfb7eb4065e8592c5f7 | [
"BSD-3-Clause"
] | permissive | svarvel/browser-android-tabs | 9e5e27e0a6e302a12fe784ca06123e5ce090ced5 | bd198b4c7a1aca2f3e91f33005d881f42a8d0c3f | refs/heads/base-72.0.3626.105 | 2020-04-24T12:16:31.442851 | 2019-08-02T19:15:36 | 2019-08-02T19:15:36 | 171,950,555 | 1 | 2 | NOASSERTION | 2019-08-02T19:15:37 | 2019-02-21T21:47:44 | null | UTF-8 | C++ | false | false | 26,328 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/gpu/ipc/service/vda_video_decoder.h"
#include <string.h>
#include <utility>
#include "base/bind.h"
#include "base/callback_helpers.h"
#... | [
"artem@brave.com"
] | artem@brave.com |
1d7aef71552c71bb47aeeb4d92335689517e450a | bbb808e77135b6552db908bcc086dc2dd7c3d573 | /dynamic-programming/3-51nod-1174.cpp | a6a2099c135ad87432c74612b3e2e2cc9b2893fe | [] | no_license | cfeitong/ACM-problem-archive | fda3c9e6bed051e209fe1de7e86a41ac9730a49f | 77d7b7488121fd9d2deaba223d01f4afedee5b9f | refs/heads/master | 2020-05-22T04:38:47.130189 | 2017-03-30T10:37:12 | 2017-03-30T10:37:12 | 65,458,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cpp | #include <algorithm>
#include <cmath>
#include <cstdio>
using namespace std;
const int N = 2e4;
int n, q;
struct RMQ {
int dp[N][30];
void init(int n) {
int up = log(n) / log(2);
for (int j = 1; j <= up; j++) {
for (int i = 1; i <= n; i++) {
dp[i][j] =
... | [
"cfeitong@gmail.com"
] | cfeitong@gmail.com |
e7e3dc59c1ac91ed3bb1056c5e63f1461d59c472 | 0bebbf7cdd77c7ba4da30035cc34e5838439ed35 | /include/matrix.h | f7d8c9d64a22f5bb6dbb93a1a2b1a939c67f84ad | [] | no_license | fast-squid/MobileNetV2SSD | fef8a2157b549dbff95bfb28355ff93853d79f0e | c336819ac4d5983e382cbac8ff5b25c7b5b53c94 | refs/heads/master | 2023-01-23T05:13:35.182482 | 2020-11-24T11:48:05 | 2020-11-24T11:48:05 | 314,789,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | h | #pragma once
#include <stdio.h>
#include <string.h>
typedef float DTYPE;
class Matrix{
public:
int n;
int c;
int h;
int w;
DTYPE* data;
DTYPE* data_ptr;
int Size() const
{
return n*c*h*w;
}
Matrix(){}
Matrix(int n_, int c_, int h_, int w_)
: n(n_), c(c_), h(h_), w(w_)
{
data = (DTYPE*)calloc(Size(),... | [
"dlwjdaud1@gmail.com"
] | dlwjdaud1@gmail.com |
aabe6dd0f749d0255cb80a400ce70febf5df861a | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /garant6x/implementation/Garant/GblAdapterLib/impl/DynamicTree_i/VariantsForDocFilter_i_factory.h | 958541f938f39d06120dec2a2523accb4c50aeb7 | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,046 | h | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Модуль: "w:/garant6x/implementation/Garant/GblAdapterLib/impl/DynamicTree_i/VariantsForDocFilter_i_factory.h"
// генератор заголовочных файлов для фабрик интерфейсов (.h)
// Generated from UML ... | [
"instigator21@gmail.com"
] | instigator21@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.