blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8b986a2c9445430e3971983b23efd3db08102926 | 634f1740953424708885082bd5b478ea4484a21a | /src/lldpix.cpp | 8a40d38658c12a3084a68e9928908261c734a2d4 | [
"BSD-3-Clause"
] | permissive | pullmoll/lualept | 6029748c0de362e678f92c9c2ba0e13312281c3b | bfe6da74088e23fc895faa30dfb1cbde9d42a53d | refs/heads/master | 2021-06-05T01:41:44.694247 | 2020-09-16T14:56:42 | 2020-09-16T14:57:04 | 133,794,327 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,597 | cpp | /************************************************************************
* Copyright (c) Jürgen Buchmüller <pullmoll@t-online.de>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of sourc... | [
"pullmoll@t-online.de"
] | pullmoll@t-online.de |
083aafdf2f3a9e3703a832a423ef77a2cc960262 | e79baefb428af70be149dab2eb5f8b02322d4279 | /epoc32/include/etelpckt.inl | 64fe750e5e12b64eaec54163010b9d0291d6a109 | [] | no_license | EKA2L1/oss.API_REF.Public_API | 24e8bdef672b6d7dfaafc38790591bfbdfcbefe7 | bc81f066aa6ffc3e41775a34ededbcf76da2ccfe | refs/heads/master | 2020-03-30T16:57:46.945926 | 2009-11-24T13:55:44 | 2009-11-24T13:55:44 | 151,434,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13 | inl | etelpckt.inl
| [
"williamr@symbian.org"
] | williamr@symbian.org |
250a629b0a8dd3c5185c6191bd14344db5d9428a | bc8561adde1e6c1201e995306739512e4e68438c | /FM_Server/log/AppendFile.cpp | 558f867cf0558297b392f54f05ab83e78f3ed18f | [] | no_license | fanminy/FM_Server | 5471c0ecbeb9aeea371d804083684413cb7c0502 | 49dda788766361c12295c94e95baa2449e306d65 | refs/heads/master | 2020-06-24T13:33:54.392826 | 2019-08-19T06:52:45 | 2019-08-19T06:52:45 | 198,975,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | cpp | #include "AppendFile.h"
using namespace FM_Server;
AppendFile::AppendFile(const char* filename):fp_(fopen(filename,"ae")),writenBytes_(0)
{
assert(fp_);
setbuffer(fp_,buffer_,sizeof(buffer_));
}
AppendFile::~AppendFile()
{
fclose(fp_);
}
void AppendFile::append(const char* line,int len)
{
size_t n = ... | [
"643832944@qq.com"
] | 643832944@qq.com |
bdc6a04ea6ab624da3bf86137c9b56b7d346219c | 17f1d3b525a73b7071f7cc12c21b90de8c508c56 | /include/caffe/layers/parameter_layer.hpp | 51999e51595aad42b88faea68f2d1b9c388e92e3 | [] | no_license | avBuffer/miniCaffe_ssd | 2486584a4ab04047b647eb7e1456478b461372f2 | f334d3df174cd9ce8dd66bba0ffec14edf26c3a7 | refs/heads/master | 2022-12-18T06:16:29.455642 | 2020-09-22T08:07:19 | 2020-09-22T08:07:19 | 297,577,851 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | hpp | #ifndef CAFFE_PARAMETER_LAYER_HPP_
#define CAFFE_PARAMETER_LAYER_HPP_
#include <vector>
#include "caffe/layer.hpp"
namespace caffe {
template <typename Dtype>
class ParameterLayer : public Layer<Dtype> {
public:
explicit ParameterLayer(const LayerParameter& param) : Layer<Dtype>(param) {}
virtual void LayerSet... | [
"jalymo@126.com"
] | jalymo@126.com |
fe5f481459bdacd14064a66703a4de49fd25ae9a | 7452457bf715cf50f251d086c5c9bfe0821b1538 | /include/Furrovine++/Vendor/fbxsdk/scene/geometry/fbxtrimnurbssurface.h | f6d7801b0a956ce2247f29bd67aa32f2bd9d414f | [
"MIT"
] | permissive | bananu7/Furropen | 3d91c49b5b833f5f269cf5516a8f8c7cf1385cdc | 968351c1268d8994116cd8312f067dd2cacdbf5b | refs/heads/master | 2021-01-10T20:44:17.606000 | 2014-02-13T22:28:09 | 2014-02-13T22:28:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,425 | h | /****************************************************************************************
Copyright (C) 2013 Autodesk, Inc.
All rights reserved.
Use of this software is subject to the terms of the Autodesk license agreement
provided at the time of installation or download, or which otherwise accom... | [
"phdofthehouse@gmail.com"
] | phdofthehouse@gmail.com |
1103567b818d14a19f05334b21ae2b168437d6fd | 83787c5cbdef6fdd204fb8f18039bec4679698a7 | /栈/栈/源.cpp | a860bf631c11292307702dac284c0e41b4823f4a | [] | no_license | Kilig-C/C- | 458e5be8f98ebebbee3ef2ba35285a9ac7bc9583 | c9baeaec67d38c5d1ffcc8201aee367053d4d490 | refs/heads/master | 2020-09-29T00:40:31.890533 | 2020-03-14T10:56:17 | 2020-03-14T10:56:17 | 226,903,923 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,300 | cpp | /*
#include<cstdio>
#include<cstdlib>
#define OK 1
#define ERROR 0
#define MAXSIZE 1024
typedef int Status;
typedef int SElemType; //SElemtype 类型根据实际情况而定,这里假设为int
typedef struct
{
SElemType data[MAXSIZE];
int top; //用于栈顶指针
}SqStack;
/*
//=========================
#define OK 1
#define ERROR 0
typedef int Sta... | [
"1650041116@qq.com"
] | 1650041116@qq.com |
cb35f56624a2d779dd85a5fb30774e169556db24 | 01e431819060cd3f923389094b6251a860696e63 | /software/ros/workspaces/master/src/valter/src/obsolete/test_cmd_vel_subscriber.cpp | 010189a10982ec943d0a4139146e3abc0ee220b0 | [] | no_license | wercool/valter | f2e7cb177e0dfd2bdccbcdf2bb094877267595dd | baf7721614316f12860dafcaa8429faa7e642e8a | refs/heads/master | 2021-12-19T16:04:35.107446 | 2021-12-08T16:33:39 | 2021-12-08T16:33:39 | 43,814,219 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,457 | cpp | #include <ros/ros.h>
#include <sensor_msgs/Joy.h>
#include <geometry_msgs/Twist.h>
#include <ros/console.h>
#include<iostream> //cout
#include<stdio.h> //printf
#include<string.h> //strlen
#include<string> //string
#include<sys/socket.h> //socket
#include<arpa/inet.h> //inet_addr
#include<netdb.h> //hostent
... | [
"maska@devstation"
] | maska@devstation |
a492e3dc158f2fd9e3e753ec2efb1bd364fd8cdd | a84b013cd995870071589cefe0ab060ff3105f35 | /webdriver/branches/chrome/chrome/src/cpp/include/net/base/load_flags.h | 7175713f6fc96cd116ee29179cbca0c2b65293a6 | [
"Apache-2.0"
] | permissive | vdt/selenium | 137bcad58b7184690b8785859d77da0cd9f745a0 | 30e5e122b068aadf31bcd010d00a58afd8075217 | refs/heads/master | 2020-12-27T21:35:06.461381 | 2009-08-18T15:56:32 | 2009-08-18T15:56:32 | 13,650,409 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,864 | h | // Copyright (c) 2006-2008 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.
#ifndef NET_BASE_LOAD_FLAGS_H__
#define NET_BASE_LOAD_FLAGS_H__
namespace net {
// These flags provide metadata about the type of the load requ... | [
"noel.gordon@07704840-8298-11de-bf8c-fd130f914ac9"
] | noel.gordon@07704840-8298-11de-bf8c-fd130f914ac9 |
47ff39db7b948614bc370a2736594355767d7e00 | fad65172e9ba5c3b3f97e13f785304552e4b8427 | /src/GlueXHitDIRCflash.cc | 355243e1b00e9be092330b5622365043c7c27238 | [] | no_license | billlee77/HDGeant4 | 666bb56280bb159117ca99d1517ea5e69581eb5b | 1420b57f4601ad639e148523a3a4f89d0050942e | refs/heads/master | 2020-03-19T00:07:47.741734 | 2018-05-12T00:13:48 | 2018-05-12T00:13:48 | 135,455,083 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,364 | cc | //
// GlueXHitDIRCflash - class implementation
//
// author: richard.t.jones at uconn.edu
// version: november 26, 2016
//
///////////////////////////////////////////////////////////////////
// NOTICE - This is not a real hits class for the DIRC detector.
// It was created during the DIRC conceptual design phase to mea... | [
"rjones30@gmail.com"
] | rjones30@gmail.com |
41d26aa54e3eb52c3ad360fe654e9c3fa6cdca18 | c21a826d92c7b6777343ecb0555162c363233b5a | /src/OpenGL renderer/World/Lights/Light.hpp | f71d66413f9a1537d5988dddc9a62be108ee1dd0 | [
"MIT"
] | permissive | Jesse-V/Multibrot-3D | bcb748b25c317219e57c109ee72ebafec105b7c4 | 4edbd99c659f98a3ed8d9e3c4529812c837ede39 | refs/heads/master | 2020-04-05T23:00:24.912602 | 2014-04-07T04:12:04 | 2014-04-07T04:12:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | hpp |
/******************************************************************************\
This file is part of Multibrot Renderer,
a program that displays 3D views of the Multibrot fractal
Copyright (c) 2013, Jesse Victors
This program is free software; you can redistr... | [
"jvictors@jessevictors.com"
] | jvictors@jessevictors.com |
e4287a3d47d5009a0111198220050b42d5c48da4 | 92ada3eabb986350da3f4919a1d75c71a170854d | /autoupdate/common/3rd/boost/mpl/list/aux_/O1_size.hpp | 78455ef58337c074ecc70c9404d8f6457595cfd6 | [] | no_license | jjzhang166/autoupdate | 126e52be7d610fe121b615c0998af69dcbe70104 | 7a54996619f03b0febd762c007d5de0c85045a31 | refs/heads/master | 2021-05-05T20:09:44.330623 | 2015-08-27T08:57:52 | 2015-08-27T08:57:52 | 103,895,533 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 771 | hpp |
#ifndef BOOST_MPL_LIST_AUX_O1_SIZE_HPP_INCLUDED
#define BOOST_MPL_LIST_AUX_O1_SIZE_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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)
//
// See http://www.... | [
"269221745@qq.com"
] | 269221745@qq.com |
1b7e2cc2b047938900de67169d9c6b7eb42d1bcb | 45a51d6ebcc19c772a2748135addadc9e7d9dd45 | /main.cpp | d4d63861a802a3d73fd569d4b02138d34e1ece3f | [] | no_license | jabathehutprogramer/acc_cpp_ch4 | d5e83e14a26c441e9b1dd778a33713156a006991 | e9bc3eda9aadce2c61bd2cbe640d2c7a0a8ae61d | refs/heads/master | 2023-04-04T02:33:34.106000 | 2021-04-24T21:32:24 | 2021-04-24T21:32:24 | 361,230,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include <vector> // vector ops
#include <string> // needed for string ops
#include <iostream> // needed for cout and cin
#include "readWord.h"
#include "displayWords.h"
using namespace std;
//using std::cout; using std::cin; using std::endl;
int main() {
vector<words_count> wordList;
readWord (wordList);
displa... | [
"prog_man123@yahoo.com"
] | prog_man123@yahoo.com |
4129e8d87c0bb35f662c051be1a118a496ce0d99 | 87421b5912b9cb158a2e0d9396e1367a296c1dd0 | /src/test/netbase_tests.cpp | d3997108722c6b73ab0f07026bf8dec1a6e2e85e | [
"MIT"
] | permissive | hendry19901990/babycoin | a76b4330e3b235ec989d87e5f01b07b0c81e11fe | c973192d7e877249b0c58127f10ea95083309993 | refs/heads/master | 2020-11-29T14:39:59.640269 | 2019-12-25T18:35:42 | 2019-12-25T18:35:42 | 230,134,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,542 | cpp | // Copyright (c) 2012-2016 The Babycoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "netbase.h"
#include "test/test_babycoin.h"
#include "utilstrencodings.h"
#include <string>
#include <boost/test/... | [
"hendryrodrigu1990@gmail.com"
] | hendryrodrigu1990@gmail.com |
8ff9d693e3bc6eefb0ea651cdd0fe0c284d1024b | 43963deaade533bc28ed8ca3a00e99bec171046e | /src/kernel/MmDbgFreeMemory.cpp | a4871f68b389168d955502997a1cb5316cbb8929 | [] | no_license | mborgerson/OpenXBOX | 3bc8dac3b719859b1284b2426b195945bb878b98 | 126fbd13a51dd09ae3f7cac747dffe1ce1a0e912 | refs/heads/master | 2023-02-25T16:11:31.497371 | 2017-12-27T21:08:57 | 2017-12-27T21:08:57 | 113,101,895 | 18 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | #include "common.h"
/*
* MmDbgFreeMemory
*
* Import Number: 375
* Calling Convention: stdcall
* Parameter 0: PVOID BaseAddress
* Parameter 1: SIZE_T NumberOfBytes
* Return Type: ULONG
*/
int Xbox::MmDbgFreeMemory()
{
K_ENTER_STDCALL();
K_INIT_ARG(PVOID, BaseAddress);
K_INIT_ARG(S... | [
"contact@mborgerson.com"
] | contact@mborgerson.com |
ecad27028f4e5714d2665abc29d1bbe618a2a06e | ad0fe9f21d55ec64ff72fabf77da92a442463b7e | /core/src/test/resources/CPP/neopz/Matrix/pzdiffmatrix.h | 3149b3664cc1ecad9f5252bb9c1ceaa2b3cbdc0c | [
"MIT"
] | permissive | gems-uff/oceano | 91425da8a11aa0268c9b5c1e2db70013f0152bac | a37468dab497c1ffe338bbf06df179bfe27b59d1 | refs/heads/master | 2020-12-24T19:27:06.468798 | 2018-11-18T00:20:13 | 2018-11-18T00:20:13 | 13,281,731 | 3 | 3 | MIT | 2018-11-18T00:20:13 | 2013-10-02T20:18:47 | Java | UTF-8 | C++ | false | false | 10,609 | h | /**
* @file
* @brief Contains TPZDiffMatrix class which to hold the flux derivatives A B C and diffusive matrix coefficients.
*/
//$Id: pzdiffmatrix.h,v 1.8 2011-04-05 19:32:54 calle Exp $
#ifndef PZDIFFMATRIX_H
#define PZDIFFMATRIX_H
#include <ostream>
#include "pzmatrix.h"
#ifdef _AUTODIFF
#include "fadType.h"
... | [
"leomurta@ic.uff.br"
] | leomurta@ic.uff.br |
4b8d8d3b8a699d468aa29791adde84c3c094d865 | 44a04b4e49d2f47cc184e479ecee3e90b8b8dc33 | /blob_detection/blob_detection.hpp | 9220ed2d38d384a6effa57d97d70f4261f2c7ac9 | [] | no_license | frferrara/blob_detection | a723c163673667e00d684ed4f50c715f2b58f68f | 3ce38391c33995a31bcb2fa9cf28bf3268367e0f | refs/heads/master | 2021-01-15T11:29:02.603322 | 2011-12-21T12:24:25 | 2011-12-21T12:24:25 | 3,005,708 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,556 | hpp | /*
* blob_detection.hpp
*
* Created on: Dec 18, 2011
* Author: ferraraf
*/
#ifndef BLOB_DETECTION_HPP_
#define BLOB_DETECTION_HPP_
// STL
#include <iostream>
#include <vector>
// Computer vision
#include <opencv2/opencv.hpp>
#include <cvblob.h>
// Multi threaded circle detection
#include <mt_circdet.hpp... | [
"fr.ferrara@gmail.com"
] | fr.ferrara@gmail.com |
ce237a70648158475b4c7bc8710de401e36b39df | 68781743f0bb7faeb7ef374e8c1e61b9a73e2f2e | /control_unit.cpp | 2b59d19ce80165b02ed3e94cf09f6e186925b486 | [] | no_license | roger-willian/mips | 4c4caba3bfed1129a7f7178d3ce5fd008436f5fe | 59cbe68fda38e00c4009ea930b4027830970cf56 | refs/heads/master | 2021-01-15T14:29:17.158202 | 2014-06-30T17:23:21 | 2014-06-30T17:23:21 | 19,010,294 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,750 | cpp | #include "systemc.h"
#include "functions.h"
#include "mips.h"
#define X 0
enum states {
PRE_FETCH,
FETCH,
DECODE,
ADDR_COMPUTATION,
EXECUTION,
BRANCH_COMPLETION,
JUMP_COMPLETION,
MEM_READ_COMPLETION,
R_COMPLETION,
MEMORY_ACCESS,
ADDIU_COMPLETION,
IMM_EXECUTION,
IMM_COMPLETION
};
const char*... | [
"williandmn@gmail.com"
] | williandmn@gmail.com |
f2ff33a292c2e23b81d1fae8b22c7edff1f20a6f | 5b00f4cf3f872afe4962e5b43458d06b49c42bb3 | /BOJProblem/p15460.cpp | 8addc2a87877afdce6a78b5d7d38b298e47deb3c | [] | no_license | AllisonLee0507/BOJProblem | 4e8884a104c6e4a770a1d1a979cc32b15fa39246 | cacb3fed3b6a7ad9be923d25fc876b0c65114202 | refs/heads/master | 2023-07-10T23:30:25.470586 | 2021-08-22T04:49:54 | 2021-08-22T04:49:54 | 398,716,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,673 | cpp | #if 0
#define _CRT_SECURE_NO_WARNINGS
#include <cstdio>
#include <vector>
#include <iostream>
using namespace std;
typedef long long LL;
int main(void)
{
int n;
cin >> n;
vector<int> a(n);
for (int i = 0; i < n; i++)
{
cin >> a[i];
}
LL s = 0;
LL p = 0;
LL q = 1;
LL x = a.back();
vector<int> k; ... | [
"65398946+AllisonLee0507@users.noreply.github.com"
] | 65398946+AllisonLee0507@users.noreply.github.com |
3b77b5efc083f7ad3ddbf330597db4b31e703e06 | a3e15db3f07cc4fbb490293d309ef5b498fd3bf1 | /Arrays/Maximum 69 Number.cpp | c94f54b4ee14677e06259437c42dc175808011d3 | [] | no_license | shoaib0657/Competitive-Programming-Problems-2020 | 85ae8e388ccfb2548fedf4e6a234a15170a0da4c | 5f1c8be018df8e1b54b1b2796992b0afe2ef9092 | refs/heads/master | 2023-04-26T14:24:45.149685 | 2021-05-17T17:45:10 | 2021-05-17T17:45:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | cpp | /*
Given a positive integer num consisting only of digits 6 and 9.
Return the maximum number you can get by changing at most one digit (6 becomes 9, and 9 becomes 6).
Example 1:
Input: num = 9669
Output: 9969
Explanation:
Changing the first digit results in 6669.
Changing the second digit results in 9969.
Changing t... | [
"noreply@github.com"
] | noreply@github.com |
354016b31cfcfb90ed6c0bbc595e7238182027f6 | e5ef91af99b97a7e6c21596faa5f1731fdb27a40 | /ProcExplorer/src/ListView.cpp | 7a29db20a81656344f999f47c21bd2f4ba2cbf33 | [] | no_license | kycgni/FakeProcExplorer | f7642cdee5e47266d497286eae8b9a7f579c598b | 15bdd4ce3bd6097e2f43ad30ba7e4c37f2ceb8f7 | refs/heads/master | 2022-01-11T08:45:43.568710 | 2019-09-24T03:00:58 | 2019-09-24T03:00:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,997 | cpp | #include "stdafx.h"
#include "../ProcExplorer.h"
LONG gnCounter = 0;
HCURSOR ghCursorArrow = NULL;
HCURSOR ghCursorFind = NULL;
WNDPROC gOldListWndProc = NULL;
void UpdateTooltips(HWND hWndTooltips);
//////////////////////////////////////////////////////////////////////////
//
//
//
//
//
//
/////... | [
"noreply@github.com"
] | noreply@github.com |
84f3962cd98e682a7cacf033e39b45fa84f01c75 | 464aa9d7d6c4906b083e6c3da12341504b626404 | /src/tools/modeleditor/App/undo_redo.hpp | 2a0d890cdbf4418b04807e37a7de96a366e3d874 | [] | no_license | v2v3v4/BigWorld-Engine-2.0.1 | 3a6fdbb7e08a3e09bcf1fd82f06c1d3f29b84f7d | 481e69a837a9f6d63f298a4f24d423b6329226c6 | refs/heads/master | 2023-01-13T03:49:54.244109 | 2022-12-25T14:21:30 | 2022-12-25T14:21:30 | 163,719,991 | 182 | 167 | null | null | null | null | UTF-8 | C++ | false | false | 1,911 | hpp | /******************************************************************************
BigWorld Technology
Copyright BigWorld Pty, Ltd.
All Rights Reserved. Commercial in confidence.
WARNING: This computer program is protected by copyright law and international
treaties. Unauthorized use, reproduction or distribution of thi... | [
"terran.erre@mail.ru"
] | terran.erre@mail.ru |
6358997d41f903974432093a8e6775553ff8bd21 | dbee967e4c128597a37bfd8cc97428eb99e91b09 | /outputVedioAudio/PacketQueue.h | 045f620fc516a83f21e61179ad2746c14a98c4bc | [] | no_license | sunfacel/FFMpeg | f632cc1c317d8e80ce7c425e9f16225a2d8d1c25 | 5e218be26c95686deaba53576066466923f4d3a4 | refs/heads/master | 2021-01-18T19:33:54.480558 | 2017-04-01T12:54:53 | 2017-04-01T12:54:53 | 86,901,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | h |
#ifndef PACKET_QUEUE_H
#define PACKET_QUEUE_H
#include <queue>
#include <sdl2/SDL.h>
#include <sdl2/SDL_thread.h>
extern "C"{
#include <libavcodec\avcodec.h>
}
struct PacketQueue
{
std::queue<AVPacket> queue;
Uint32 nb_packets;
Uint32 size;
SDL_mutex *mutex;
SDL_cond *cond;
PacketQueue();
bool en... | [
"sunfacel@163.com"
] | sunfacel@163.com |
12f5935fd79b04279969a60632ce0ffd62e38899 | bcc776c89ecda609c9627966b70332664f109ded | /andmin.cpp | a81adb7beadca1de8a639ba065f4f51d823d63a6 | [] | no_license | realflash08/spoj | f02751c17b3972ddb1348153f0f3d17bd2e2652d | c534128d175949b5f62acb649df8fabad04414ec | refs/heads/master | 2021-01-24T12:57:14.678001 | 2017-02-06T15:46:43 | 2017-02-06T15:46:43 | 54,800,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
#include <vector>
#include<queue>
#include<bitset>
#include<map>
#include<limits>
#define ll long long
typedef pair<int, int > pii;
#define pb push_back
#define mk make_pai... | [
"noreply@github.com"
] | noreply@github.com |
3f230bb9f42ad5c894031e1b3d1fc8d13c40b329 | c3e1fce7a720bb66a3814123727b6f835b54c8fd | /src/OGLSamples_GTruc/samples/gl-400-sampler-gather.cpp | 5c52281601528062b95d2fce56c0b9d2abe26da5 | [
"MIT"
] | permissive | isabella232/vogl | 6df37b32eb5c484a461b50eb50b75f2a95ffb733 | 172a86d9c4ee08dccbf4e342caa1ba63f1ea2b0e | refs/heads/master | 2022-04-18T21:11:14.760227 | 2014-03-14T21:55:20 | 2014-03-14T21:55:20 | 482,027,147 | 0 | 0 | MIT | 2022-04-16T02:59:09 | 2022-04-15T16:59:45 | null | UTF-8 | C++ | false | false | 8,113 | cpp | //**********************************
// OpenGL Gather
// 27/05/2010
//**********************************
// Christophe Riccio
// ogl-samples@g-truc.net
//**********************************
// G-Truc Creation
// www.g-truc.net
//**********************************
#include <glf/glf.hpp>
namespace
{
char const * SAMPLE... | [
"mikesart@gmail.com"
] | mikesart@gmail.com |
bf1b279adaf809ebc1031159e9d591b5bc7073ee | adac3837d0242936ee697daa7dc2a8ffdf4da08b | /examples/NDDSQuoter/withWaitsetListenerFiltering/Quoter_subscriber.cxx | f323bf73e04a7c2223f86525524eb0b9ed686ab1 | [] | no_license | DOCGroup/DDS_Test | 7fb89d13df0b3fc775f794212b58aa3550620eec | 1f82d597f35ea74d46784e27c8b9bae78370c9fc | refs/heads/master | 2023-07-22T20:43:17.811097 | 2008-10-23T17:37:34 | 2008-10-23T17:37:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,305 | cxx | /* Quoter_subscriber.cxx
A subscription example
This file is derived from code automatically generated by the nddsgen
command:
nddsgen -language C++ -example <arch> Quoter.idl
Example subscription of type Quoter automatically generated by
'nddsgen'. To test them follow these steps:
(1) Compi... | [
"mxiong@b83e41e9-5108-4780-9bb0-1723f710b6d8"
] | mxiong@b83e41e9-5108-4780-9bb0-1723f710b6d8 |
4838c147a4a50cc2351aaf299de6891427ede852 | 2482d7f225d0e2a30fd86fc884d1b09f0f709a67 | /source/interface/test_interface.cpp | 9b2ec4798b1ced558331329a33bd32fea3d88d82 | [] | no_license | EduardGomezEscandell/ConsoleChess | 0f194683b6e6aad16d562077bbf9b132c999d639 | bc2a2ef7e262b320633f4120b2ec0a8597f55b93 | refs/heads/master | 2023-04-27T13:13:18.258816 | 2021-05-10T17:01:38 | 2021-05-10T17:01:38 | 356,655,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | cpp | #include "test_interface.h"
#include "interface.h"
#include <string>
namespace ConsoleChess {
namespace InterfaceTests {
}
CHESS_TEST_LIST(InterfaceTestSuite)
{
}
}
| [
"eduard.gomez.escandell@gmail.com"
] | eduard.gomez.escandell@gmail.com |
e4fdacdc8682fac4e3087b7c99df757a5178d864 | 879fc5574b6dd2c683b4c12e39ba51e44e6dc942 | /src/lib/utils/backend.h | 74614be26fad9b92dd9593069e53f8027dee0b7d | [
"MIT"
] | permissive | carlzhangweiwen/gazelle_mpc | a48072cf296dd106ee0dd8d010e728d579f2f522 | 45818ccf6375100a8fe2680f44f37d713380aa5c | refs/heads/master | 2020-09-24T13:38:33.186719 | 2019-12-06T02:15:48 | 2019-12-06T02:15:48 | 225,770,500 | 0 | 0 | MIT | 2019-12-04T03:25:50 | 2019-12-04T03:25:49 | null | UTF-8 | C++ | false | false | 766 | h | /*
* backend.h
*
* Created on: Aug 25, 2017
* Author: chiraag
*
*/
#ifndef LBCRYPTO_MATH_BACKEND_H
#define LBCRYPTO_MATH_BACKEND_H
#include <inttypes.h>
#include <vector>
/**
* @namespace lbcrypto
* The namespace of lbcrypto
*/
namespace lbcrypto {
typedef int32_t si32;
typedef uint32_t ui32;
ty... | [
"chiraag@mit.edu"
] | chiraag@mit.edu |
77d47c8ccd8865c7a0dc50055b658e4de84bd1da | dffec5fe339883a8b84be0122eef6a3c64a4fa07 | /src/ctrl/progressbar.cpp | bb67bf6339b1b1ceb1d34dd8e1eb37915dee8cc0 | [] | no_license | ongbe/Memmon | 0e346b161c9b6538f6135eb87a60c14648de7e27 | 6bfbc6158a9b6d0d39ff4795a47501071855454f | refs/heads/master | 2021-01-18T14:29:45.299538 | 2013-02-17T14:51:01 | 2013-02-17T14:51:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,690 | cpp | #include "progressbar.h"
#include <QDebug>
ProgressBar::ProgressBar(QWidget *parent) :
QWidget(parent)
{
_min = 0;
_max = 100;
_value = 0;
_textAlignment = PB::Center;
setFixedHeight(PB::Constant::Height);
}
///
///
///
void ProgressBar::paintEvent(QPaintEvent *)
{
QPainter painter(this);... | [
"Administrator@PC-20121115RAMD.(none)"
] | Administrator@PC-20121115RAMD.(none) |
9d91889b0075d886e8e08db32e92a906277019c6 | 0e986df223a073666515642a57c36a8fc426c535 | /pizjuce/midiChords/JuceLibraryCode/modules/juce_core/system/juce_StandardHeader.h | 6e9cc6d05fca75ce65a8e34f9e2c69b528ecec2a | [] | no_license | CptanPanic/pizmidi | 49878f9312bce3f64cc51ee55092103db57acde7 | 9daf55ceff5d146dbbcc44ae6e78aea137598ebe | refs/heads/master | 2021-01-19T15:38:55.441104 | 2015-03-24T15:36:58 | 2015-03-24T15:36:58 | 32,807,602 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,999 | 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... | [
"reuben.vinal@gmail.com"
] | reuben.vinal@gmail.com |
124fcd2a19117f3add7bcf80ca7db68e83e38e68 | 4296ad62fc2d1c0111af5e9c9ef5b8336256674e | /src/typicalDP/d.cpp | b39f69da7bdb31105a64eb43968a10eeaf5730df | [] | no_license | emakryo/cmpro | 8aa50db1d84fb85e515546f37e675121be9de5c2 | 81db478cc7da06a9b99a7888e39952ddb82cdbe5 | refs/heads/master | 2023-02-09T12:36:47.893287 | 2023-01-23T12:07:03 | 2023-01-23T12:07:03 | 79,899,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,904 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
template<typename T>
ostream& operator<<(ostream &os, vector<T> &v){
string sep = " ";
if(v.size()) os << v[0];
for(int i=1; i<v.size(); i++) os << sep << v[i];
return os;
}
template<typename T>
istream& operator>>(istream &is, vector<T> &v){
for... | [
"ryosuke.kamesawa@dena.jp"
] | ryosuke.kamesawa@dena.jp |
00a2a46e1e62ab641983437bb1a246b48359fb1c | 365affa0132d4a46af9aed84c472b2fe369a6be3 | /src/TTPCUtils.cxx | 8d0577c1a67bbe920c5ec25ebbdc37c47ebe9f3f | [] | no_license | davehadley/trex | be0f36a2c13201ed68e37be60e1e1fa487a1673c | 6233fb6ab5e88a296b446744803522f879453995 | refs/heads/master | 2023-01-06T12:13:13.690164 | 2020-11-05T11:02:06 | 2020-11-05T11:02:06 | 308,296,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,918 | cxx | #include "TTPCUtils.hxx"
#include "TTRExHVCluster.hxx"
#include "TTPCHitPad.hxx"
#include "TTPCLayout.hxx"
namespace TTPCUtils {
bool Curvature_to_MomentumAndCharge(const TVector3& pos, const TVector3& dir, double curv, double& p, double& q) {
//******************************************************************... | [
"phsmaj@soulor.epp.warwick.ac.uk"
] | phsmaj@soulor.epp.warwick.ac.uk |
bedc2f4e206df80c8622c4911fe7de41242965dc | f5196fa9f8b1b4eba4c495fde6b2b8b90f39b92f | /libraries/Robot_Control/src/helper.cpp | 181c656831f96bcdef737abd7756512072635749 | [] | no_license | ArduWellBeingBot/Robot | 874c07cf50cee8ecc10b7453ef4ff018dc99153c | 0c96730661c72fc75b7cdd6a370f0ce7ed64868c | refs/heads/master | 2021-01-01T19:11:17.193528 | 2014-05-21T21:14:43 | 2014-05-21T21:14:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | cpp | #include "ArduinoRobot.h"
void RobotControl::drawBase(){
Arduino_LCD::drawCircle(64,80,50,foreGround);
Arduino_LCD::drawLine(64,30,64,20,foreGround);
}
void RobotControl::drawDire(int16_t dire){
static uint8_t x_old;
static uint8_t y_old;
static uint8_t x_t_old;
static uint8_t y_t_old;
uint8_t x=60*sin(dire/36... | [
"fbrodziak@free.fr"
] | fbrodziak@free.fr |
8f208297f65a3f936c0dc94db4107833a64add10 | 61255bb7724c45ff555497114fdd12941e5df6c9 | /Contest/Cuarentena de entrenamiento/Contest 01/B.cpp | aaed4a79c56d5a6ed35926fd04331b4a60ff7c52 | [] | no_license | eerick1997/Club | ddcc0a9d3706bb43723718079441fa227b61ea42 | 5ea13c3a22fafa82751fab25be5cb7f472fa5856 | refs/heads/master | 2021-11-24T00:17:42.270738 | 2021-10-28T02:12:40 | 2021-10-28T02:12:40 | 164,712,369 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | #include <bits/stdc++.h>
using namespace std;
using lli = long long int;
set< lli > number_list;
int main(){
ios::sync_with_stdio( false );
cout.tie( nullptr );
cin.tie( nullptr );
lli N;
string Xi;
cin >> N;
for( lli i = 0; i < N; i++ ){
cin >> Xi;
if( Xi.size() <= 7 )
... | [
"vargas.erick030997@gmail.com"
] | vargas.erick030997@gmail.com |
0382c62a019afcf87b820a3a336c1f82a4d05c44 | 1203005699cf0b765ce1a4ff8487081a7c16b76d | /programming/88.合并两个有序数组.cpp | 2da76410b0780d274d86eb5848db90a50c558380 | [] | no_license | tuduweb/LeetCode | 7192a0b888f89affb6c85d47847c14ed671d9bf6 | 1c1084ed016eae80eea67f97a72ee8b7635f8f5b | refs/heads/master | 2022-10-22T23:48:27.749888 | 2022-10-12T14:52:53 | 2022-10-12T14:52:53 | 195,778,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | cpp | /*
* @lc app=leetcode.cn id=88 lang=cpp
*
* [88] 合并两个有序数组
*/
class Solution {
public:
void merge(vector<int>& nums1, int m, vector<int>& nums2, int n) {
#if 1
/**
* √ Accepted
√ 59/59 cases passed (4 ms)
√ Your runtime beats 99.06 % of cpp submissions
... | [
"tuduweb@qq.com"
] | tuduweb@qq.com |
e3a984e3b822d86af7b4ec04b064105f0f18c03a | a1b3263ec03b59e81cac8cea0fa682ccf3ef4e7e | /libseq64/include/daemonize.hpp | 8d14de8adc4f1b71139faf30f5dc818e46a99736 | [] | no_license | jean-emmanuel/sequencer64 | 1bb07c95220cfc8c5a66d10b3ffc3fb6080bdc0d | da7d0341bdec1b7d94e265aa1063eb48619f3330 | refs/heads/master | 2021-01-20T16:55:41.343642 | 2017-05-07T17:02:29 | 2017-05-07T17:02:29 | 90,858,546 | 2 | 0 | null | 2017-05-10T11:51:12 | 2017-05-10T11:51:12 | null | UTF-8 | C++ | false | false | 1,858 | hpp | #ifndef SEQ64_DAEMONIZE_HPP
#define SEQ64_DAEMONIZE_HPP
/**
* \file daemonize.hpp
* \author Chris Ahlstrom
* \date 2005-07-03 to 2007-08-21 (from xpc-suite project)
* \updates 2017-04-22
* \license GNU GPLv2 or above
*
* Daemonization of POSIX C Wrapper (PSXC) library
* ... | [
"ahlstromcj@gmail.com"
] | ahlstromcj@gmail.com |
ac596d310e30042fd9874fe403f8f66b4a051956 | 800e60ddf28c65a990b4d599dcd279f43c84fafa | /gl02/data_types/MutableData.h | 4e3716e9b976d238e14e8d17a035bd135ad966c8 | [] | no_license | 1179432578/gl02 | d825a835621a3538472263fad7033825aa10f76c | a566530b744a41e4d0afb4833054b77615c31734 | refs/heads/master | 2020-12-24T20:33:11.843545 | 2016-06-03T08:12:10 | 2016-06-03T08:12:10 | 56,444,030 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,731 | h | //
// MutableData.hpp
// LImage
//
// Created by lewis on 16/4/19.
// Copyright © 2016年 lewis. All rights reserved.
//
#ifndef MutableData_hpp
#define MutableData_hpp
#include <vector>
using namespace std;
//可变数据 存放的数据在它看来就是一个个字节
//存储的数据都是有符号的
//磁盘文件-》MutableData-》文件解析结构(psd bitmap png and so on)
class MutableDa... | [
"lewis.lu@mochang.net"
] | lewis.lu@mochang.net |
547efaab7be60c7b3b94db48baad5f6ecd8544bc | 5cfcc3288a27ccbcd7951ecf2c37d16808188e17 | /src/actors/Dot.cpp | cd285093bdb3955db567777a8162d20f5705ad3b | [] | no_license | Jshbrck/Pong | 2da6fe9b3338a16dae0328c46f60e719cbc9f6d8 | 30d700b0a71c3c419874d67c83404556f3c4ee41 | refs/heads/master | 2020-03-24T09:02:24.852674 | 2018-07-28T05:00:23 | 2018-07-28T05:00:23 | 140,986,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | cpp | #include "Dot.h"
#include <primitives/allegro5/allegro_primitives.h>
#include <math.h>
Dot::Dot(){
this->radius = 1;
this->speed = 1;
setPos(10,10);
setVelocity(1,-1);
}
Dot::Dot(float rad, float speed, float x, float y, float vx, float vy){
this->radius = rad;
this->speed = speed;
setPos(... | [
"jshbrck625@hotmail.com"
] | jshbrck625@hotmail.com |
c926f112153463c052676378324bb1fea6c4511f | c4f18c1cbda8358a81e8d40ea75dca520ee3e0b0 | /src/ray.cpp | ce8788206df5e3b6d2c660d3db28219522be19fe | [] | no_license | chloesnyder/CIS277_FinalProject_MiniMaya | 0ea074fd2af45e82d67124dda162e6dded5816de | 7c9226f59f5b90ba996f25da7fdd0fd87318aa43 | refs/heads/master | 2021-07-17T17:14:55.967739 | 2017-10-23T22:24:19 | 2017-10-23T22:24:19 | 108,047,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,329 | cpp | #include "ray.h"
#include "shaderprogram.h"
#include "la.h"
#include <iostream>
#include <limits.h>
#include <math.h>
using namespace std;
static const int two = 2;
Ray::Ray()
: bufIdx(QOpenGLBuffer::IndexBuffer),
bufPos(QOpenGLBuffer::VertexBuffer),
bufNor(QOpenGLBuffer::VertexBuffer),
bufCo... | [
"csny@seas.upenn.edu"
] | csny@seas.upenn.edu |
29a966322e1e5d33777e92156a89617ee4093b3f | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/browsing_data/mock_browsing_data_file_system_helper.h | 6ef7e17924d6badcdd2a7ec3212ec30a95f626e0 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,988 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_FILE_SYSTEM_HELPER_H_
#define CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_FILE_SYSTEM_HELP... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
0102c0165b876956cabb440a8f0fb465e0ed0c06 | 9f4b3edaf1095ed58f5ff2d38d79d27b7e230e92 | /alg/teca_temporal_average.cxx | c6ad420e984762ef0c22a646bb5107fd81f02f87 | [
"BSD-3-Clause-LBNL"
] | permissive | zhishang72/TECA | dbd954ec48f5d9ad0643d26f5fbb6daf8dfd9842 | b8bed845e868133e4fbe01f4da40edd4c34cd775 | refs/heads/master | 2020-04-21T04:54:35.853007 | 2019-01-26T18:13:18 | 2019-01-26T18:13:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,547 | cxx | #include "teca_temporal_average.h"
#include "teca_mesh.h"
#include "teca_array_collection.h"
#include "teca_variant_array.h"
#include "teca_metadata.h"
#include <algorithm>
#include <iostream>
#include <string>
#if defined(TECA_HAS_BOOST)
#include <boost/program_options.hpp>
#endif
using std::string;
using std::vec... | [
"bloring@lbl.gov"
] | bloring@lbl.gov |
d843846e2cf871a4d73cf8ab63618d6a66d2b22d | a47c42435fc13360b76d5b74b5c212ba32836c87 | /D01/ex04/ex04.cpp | 5967ac7fdc32eb27f6ffe86c157e1308e18f54a0 | [] | no_license | tcarmet/Piscine_cpp | 5121779651698c835aa1a891ae337eba7f8cc74d | 170b784385678dab6c084c726cc84d5c4437bcbf | refs/heads/master | 2021-01-10T02:52:47.803870 | 2016-02-04T09:37:43 | 2016-02-04T09:37:43 | 51,065,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ex04.cpp :+: :+: :+: ... | [
"thomas.carmet@arkena.com"
] | thomas.carmet@arkena.com |
c761ebf9cf608338e73af43a60b169e4cb581290 | af886cff5033e866c2208f2d179b88ff74d33794 | /XDKSamples/Tools/SymbolProxyClient/pch.h | d94b21b2ad98f0a814670430c6e86f057bc1399d | [] | permissive | tunip3/Xbox-ATG-Samples | c1d1d6c0b9f93c453733a1dada074b357bd6577a | 27e30925a46ae5777703361409b8395fed0394d3 | refs/heads/master | 2020-04-14T08:37:00.614182 | 2018-12-14T02:38:01 | 2018-12-14T02:38:01 | 163,739,353 | 3 | 0 | MIT | 2019-01-01T13:38:37 | 2019-01-01T13:38:37 | null | UTF-8 | C++ | false | false | 1,509 | h | //--------------------------------------------------------------------------------------
// pch.h
//
// Header for standard system include files.
//
// Advanced Technology Group (ATG)
// Copyright (C) Microsoft Corporation. All rights reserved.
//-------------------------------------------------------------------------... | [
"chuckw@windows.microsoft.com"
] | chuckw@windows.microsoft.com |
e45495bd9cf8e2725535b91e2efee16b47361c12 | 19d0bd7f204d9cc5f3aed174f317eee06c421342 | /src/numerics/spaces.cpp | 7943ecec538ae2172a4652e308e281e5ad79c917 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ORNL-QCI/exatn | cf8ecc2a690dfc2a60cb33f7bf648ccdbef4a1b9 | c528f7ec7323ab5f4485b85efcefa016c32e1a2d | refs/heads/devel | 2023-08-10T10:02:15.763160 | 2023-07-19T19:34:07 | 2023-07-19T19:34:07 | 151,473,483 | 55 | 23 | BSD-3-Clause | 2023-07-19T19:34:08 | 2018-10-03T20:05:56 | C++ | UTF-8 | C++ | false | false | 4,853 | cpp | /** ExaTN::Numerics: Spaces/Subspaces
REVISION: 2021/03/05
Copyright (C) 2018-2021 Dmitry I. Lyakh (Liakh)
Copyright (C) 2018-2021 Oak Ridge National Laboratory (UT-Battelle) **/
#include "spaces.hpp"
#include <iostream>
namespace exatn{
namespace numerics{
VectorSpace::VectorSpace(DimExtent space_dim):
basis_(s... | [
"quant4me@gmail.com"
] | quant4me@gmail.com |
d6976ee6f11f71104f091ff13a941bdc80a960ef | 54af00da50c3e516c4305d034fe2a43a12374aca | /Bi-directional_Counter.ino | 672a89e92181e7bd79ad84a73c5e3343ed2b6aa1 | [] | no_license | Sidd5900/Bi-Directional-Counter | 19765d3722d90b4b153d5e72bad5fa17c3e5d22b | 0e4c191d4386e2af2120a5266cd5da49a9951344 | refs/heads/master | 2023-04-10T06:46:15.570739 | 2021-04-14T12:50:12 | 2021-04-14T12:50:12 | 357,678,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,449 | ino |
int count =0;//current count of visitors
int lastcount=0;
float dist,distR,distF;
float time_taken;
// declare variables for the Arduino pins to which the sensor, led and buzzer is connected
int echo1 = 9, trigger1 = 10; //for front ultrasonic sensor
int echo2= 7, trigger2=6;//for rear ultrasonic sensor
int led=2;
in... | [
"siddharth_1901me60@iitp.ac.in"
] | siddharth_1901me60@iitp.ac.in |
eba17370a2500c0f23bf598ea1b0d9d3f7a7d71a | 2ded02bed0db431b80e918b41c644e66478f1c0a | /array/Inversion_of_array.cpp | 45cae6f6f237ebb27c24950eaaf3b3910f165603 | [] | no_license | itsmegr/next-dsa | e73bbd373c8bfc0e93d84d2870849b764c11abdb | fa50875f3b7a77bf9bfb215c311c5d8a280c3f4e | refs/heads/master | 2023-05-15T00:32:12.443113 | 2021-06-09T17:02:55 | 2021-06-09T17:02:55 | 325,457,327 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,149 | cpp | #include <bits/stdc++.h>
using namespace std;
#define fo(i, n) for (i = 0; i < n; i++)
#define Fo(i, k, n) for (i = k; k < n ? i < n : i > n; k < n ? i += 1 : i -= 1)
#define ll long long
#define ull unsigned long long
#define deb(x) cout << #x << "=" << x << endl
#define deb2(x, y) cout << #x << "=" << x << "," << #y ... | [
"unigovind@gmail.com"
] | unigovind@gmail.com |
46f3dfab6653e270231651806deca8371b61393e | c9cf0586ace11aa32fa67606d237a130a06364ee | /circular-cylinder-10-1/19.5/p | 51d0c1b1e651eb051dc80a9c46910ccbab7bb730 | [] | 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 | 26,265 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"jezvonek@gmail.com"
] | jezvonek@gmail.com | |
39d8f4989852c44ff8c5f718c301a5c3c6063fed | ab14bcc581a0762ca900e1cf725ec4ed744e5cd8 | /slam6d-code/.svn/pristine/39/39d8f4989852c44ff8c5f718c301a5c3c6063fed.svn-base | 560a03fa0fde18b007f9c0a1aeb8f65f26908f4b | [] | no_license | Shitong91/HNSW | 1d1549b3bfaf504a86005a4c7875321aba6cf15f | fe271bb471214149a557fdc47531bc581647a4f6 | refs/heads/master | 2020-07-01T03:37:02.071330 | 2019-08-07T11:25:33 | 2019-08-07T11:25:33 | 201,035,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,652 | /**
* @file
* @brief
*
* @author Thomas Escher
*/
#ifndef CACHE_MANAGER_H
#define CACHE_MANAGER_H
#include <vector>
#include <string>
#if defined(_WINDEF_) && defined(__CYGWIN__)
#error boost-interprocess is incompatible with windef.h on cygwin
#endif
// segment manager, allocators, pointers, ...
#include <boo... | [
"dust_1028@163.com"
] | dust_1028@163.com | |
1459e3c786fe88152ce94089b37555da49aec6e1 | 02f60304adef1ae14e4517dc264b731e25fa8132 | /findMedianSortedArrays.cpp | 2464be279dd5f501da5feea601ad7b32238eaa63 | [] | no_license | raytroop/leetcode365 | 896043f66567e2cddb01c0fee27114306ddf97c3 | ad1457c010c1e6393ba423372be3cdec1ee7735a | refs/heads/master | 2022-03-23T23:35:30.215849 | 2020-01-03T04:42:18 | 2020-01-03T04:42:18 | 175,425,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,002 | cpp | // https://leetcode.com/problems/median-of-two-sorted-arrays/
/* There are two sorted arrays nums1 and nums2 of size m and n respectively.
Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). */
/*
Binary Search Template
[l, r]
def binary_search(l, r):
while l < r:
... | [
"raytroop@gmail.com"
] | raytroop@gmail.com |
bf937be3f71c7bf1aeaf3b2fea99c74e0cb8bd6b | 3841f7991232e02c850b7e2ff6e02712e9128b17 | /小浪底泥沙三维/EV_Xld/jni/src/EV_Graphic_CSharp/wrapper/edgelistbuilder_wrapper.cpp | fd0e516a674797c555ca48caffcf32f4dc10a72d | [] | no_license | 15831944/BeijingEVProjects | 62bf734f1cb0a8be6fed42cf6b207f9dbdf99e71 | 3b5fa4c4889557008529958fc7cb51927259f66e | refs/heads/master | 2021-07-22T14:12:15.106616 | 2017-10-15T11:33:06 | 2017-10-15T11:33:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,608 | cpp | /* This file is produced by the P/Invoke AutoWrapper Utility
Copyright (c) 2012 by EarthView Image Inc */
#include "stableheaders.h"
#include "graphic/edgelistbuilder.h"
namespace EarthView
{
namespace World
{
namespace Core
{
}
}
}
namespace EarthView
{
namespace World
{
namespace Graphic
{
extern ... | [
"yanguanqi@aliyun.com"
] | yanguanqi@aliyun.com |
7f4e89b27df33e9145ad1ad09ada1c802641e372 | a63e739155d5b07bb9252501b64bf0d5de275087 | /Ejercicio 3/src/TesteadorRespuesta.cpp | 3f193251d87286ca8324ce3f1f75ec23409862c3 | [] | no_license | dario-ramos/testers-distribuidos7574 | 677b79588aadeb547d85f5f31f6c3912828cc8e4 | 5a8e992960f069a80491d49d270e52c4a8b95db6 | refs/heads/master | 2016-09-05T21:52:37.730168 | 2015-03-09T16:59:22 | 2015-03-09T16:59:22 | 33,097,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,733 | cpp | #include <cstdlib>
#include "common/AtendedorTesters.h"
#include "common/Programa.h"
#include "common/common.h"
#include "common/Resultado.h"
#include "common/iPlanillaTesterRespuesta.h"
#include "common/Configuracion.h"
#include "common/DespachadorTesters.h"
#include "logger/Logger.h"
using namespace std;
int main... | [
"Lucho0s@gmail.com@18dcfaaf-94c9-9b71-9433-3f00c941b258"
] | Lucho0s@gmail.com@18dcfaaf-94c9-9b71-9433-3f00c941b258 |
3df6050ebcec47ffc8508cfd204af611e0ac4005 | 7bce219fbeb5ca4894e84eac7cc36eff90479dc3 | /TCommand.cc | 3133ecce623c4ce4a5a8f2f8a3e3a4974d1b72ff | [] | no_license | GodblessPatrick/Quadris | dfccc85bb4046cffd5656860e5f8b53a30f2b2f1 | 5a3f26c670d1782262b9ab943be734fd8b184b0d | refs/heads/master | 2020-09-04T22:26:35.570142 | 2019-11-06T04:44:35 | 2019-11-06T04:44:35 | 219,908,754 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cc | #include "TCommand.h"
#include "Model.h"
#include "BlockFactory.h"
#include "Cell.h"
#include <string>
using namespace std;
void TCommand::execute(Model &model, const string &args) const
{
Cell upperLeftCell = ReplaceCommand::findOffset(model.getUndroppedBlock());
int tx = upperLeftCell.getX(), ty = upperLeftCell.ge... | [
"boyan@DESKTOP-PDFQR19.localdomain"
] | boyan@DESKTOP-PDFQR19.localdomain |
6039d1bb11eeef8c84da7cd587c7144a39d6a535 | 0d94846c0117fbec5b9053ee367871bfa8bb9bb1 | /src/libtsduck/tsDescriptorList.h | e6e1bab218362d320d7c7d45f5ba756207e69c35 | [
"WTFPL",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | rtk4616/tsduck | 83b118d2058d878c6595833f0a82fee598ceec66 | 791507d329781e03bcec16dadfb78e0c5cec009f | refs/heads/master | 2020-04-14T23:05:40.102166 | 2019-01-04T16:56:51 | 2019-01-04T16:56:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,929 | h | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2019, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
f4abdc123fdcec98c85b0789d6adddf7d7327b8d | 9fa0b7e6ceda7aec7019a8f8bd0e43417e69f5f0 | /src/qt/optionsmodel.cpp | f3160cdbe765c5ca20cef9566dae21f0fe9b1c24 | [
"MIT"
] | permissive | Vladyazh/binarium | a94d455c7e20d259a609112f1fed0c42c45c9c2e | a412348dbc3d56df9f1d39fe04630e37d63ff3de | refs/heads/master | 2020-03-17T17:31:25.688249 | 2018-05-16T12:59:13 | 2018-05-16T12:59:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,415 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/binarium-config.h"
#endif
#i... | [
"RodionKarimov@yandex.ru"
] | RodionKarimov@yandex.ru |
c72f57058d49e042efe14e1770221af8a1d9d686 | 53853c2b5f52129498020c1b945bac0c2161ece6 | /MK_Protocol.h | 806268746aeae0399906b844fa8ae271331d7dcb | [] | no_license | ctraabe/MKDataLogger | b439c8ab6541dfb7a1b953f821f7f01d851eecd8 | f8055c0d8da5ed38f1c451c13b5f60e85f982ffe | refs/heads/master | 2021-01-25T05:35:08.029845 | 2013-01-05T08:13:53 | 2013-01-05T08:13:53 | 7,380,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | h | /*
* MikroKopter Protocol
* This code is based on the MikroKopter NaviCtrl firmware, Copyright MikroKopter.
*/
#ifndef __MKPROTOCOL_H
#define __MKPROTOCOL_H
#include <cstdint>
// slave addresses
#define ANY_ADDRESS 0
#define FC_ADDRESS 1
#define NC_ADDRESS 2
#define MK3MAG_ADDRESS 3
#define MKOSD_A... | [
"chris@raabe.nospam"
] | chris@raabe.nospam |
92b21961d9bc697bbadd11f1c0b3ebbc5a11ccce | 9bde0e9e7e611e38eacfc7000b40e2694c2832bb | /ProjetPAC/ProjetPAC/CMagnetField.cpp | ec669c6c3103d0a52848c1f80f4c20b737095a4f | [] | no_license | Cyossnarf/hapticLaplace | 1b75e82821beefb725a1526f91fa726b8834ce74 | 080b4f4154554af7d43e0828b394b080a92f78c4 | refs/heads/master | 2020-06-13T11:49:36.365755 | 2018-02-02T17:34:47 | 2018-02-02T17:34:47 | 75,384,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,713 | cpp | #include "CMagnetField.h"
#include "graphics\CPrimitives.h"
#include <iostream>
#include <cmath>
#define MU_0 (4 * C_PI * 1e-7)
chai3d::cMagnetField::cMagnetField(const cVector3d &pos, double in_radius, double out_radius, double intensity, double len) : cMesh()
{
// set properties of the field
this->fieldEnabled =... | [
"francois.buet@depinfonancy.net"
] | francois.buet@depinfonancy.net |
e761115655f1933f78c9a4f0cc10ca963c550c45 | 0353daa3b9ad5cc18d10f20c0795d735cc58dda0 | /CapacitiveSensorSketch/CapacitiveSensorSketch.ino | d773ecb6a4bb6c864870544b19f0fbff7320d360 | [] | no_license | awwdang/Capacitive_touch | 3e9366b3435746087eb208268b2961626aef6adf | c0af1383c725f5782da1669b85f7a6da01c886e4 | refs/heads/master | 2016-08-12T02:31:03.549227 | 2015-10-27T05:28:26 | 2015-10-27T05:28:26 | 45,018,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | ino | #include "CapacitiveSensor.h"
CapacitiveSensor cs_4_2 = CapacitiveSensor(4,2); //2.0 MQ resistor between pin 4 and 2, pin 2 is the sensor pin
CapacitiveSensor cs_4_6 = CapacitiveSensor(4,6); //2.0 MQ resistor between pin 4 and 6, pin 6 is the sensor pin
CapacitiveSensor cs_4_8 = CapacitiveSensor(4,8); ... | [
"alvisblu@csu.fullerton.edu"
] | alvisblu@csu.fullerton.edu |
152b6d41dc9fe9061c15f5b90e28a45ea9dfbe1f | 8612e10b38ac783fc36cd0d3e6daf787378440bf | /affineklt.cpp | 0bd73be8f81fc8520775453be646385b8675baf2 | [
"MIT"
] | permissive | jonathanventura/affineklt | 592d6da86fbf1ac10c5657cebb3805183c6329d1 | 2dd05753fe679f5938cb084c068e167a7bcd1834 | refs/heads/main | 2023-03-16T17:47:49.869036 | 2021-03-01T04:51:50 | 2021-03-01T04:51:50 | 342,773,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,952 | cpp |
#include "affineklt.h"
#include <opencv2/imgproc.hpp>
#include <opencv2/highgui.hpp>
#include <iostream>
namespace affineklt {
AffineKLT::AffineKLT( const AffineKLTParameters &_params ) : params(_params)
{
// pre-compute window weights
windowSize = cv::Size(params.windowSize,params.wind... | [
"jventu09@calpoly.edu"
] | jventu09@calpoly.edu |
8bc8c9bf1e5193da8b92691b54ea3d5ac02400c4 | 13ec9f32b46154115a15327b9add3f85bad4fd88 | /k-diff.cpp | 8d13601839739d77076c8ade64968c1526484fb0 | [] | no_license | fenghuo/cs160homework1 | a1baa5fbbe29ca3067fe401b34456e66fc7449ca | f4e256dffafe85f6a2c4b324b1c3bbfb69c4b88f | refs/heads/master | 2016-09-06T04:55:46.964732 | 2014-10-03T21:09:51 | 2014-10-03T21:09:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | cpp | #include<iostream>
using namespace std;
void f(int* arr,int n,int k)
{
int*brr=new int[n];
for(int i=0;i<n;i++)
brr[n-i-1]=-arr[i];
int i=0;
int j=n-1;
while(i<n && j>=0)
{
int sum=(brr[i]+arr[j]);
if(sum==k)
{
cout<<(-brr[i])<<" "<<arr[j]<<endl;
i++;j--;
}
else if(sum<k)
i++;
else
j--... | [
"372615958@qq.com"
] | 372615958@qq.com |
4468d849eeec5ff22fe7718bcfea558f7694df75 | e55386e18276db602b3cbb84c30bd790657a0eaa | /ExitCommand.h | 5b589d4050e3a7eff974b4daaccd59e847cd32c1 | [] | no_license | yaaraF/flightSimulatorWorking | aa4a7b704525edaea3d514fc01199fcdc1603ce6 | 81da832f3c5994d5a3cfa600946df01f60acf7fd | refs/heads/master | 2020-04-13T15:52:15.308177 | 2018-12-27T15:31:38 | 2018-12-27T15:31:38 | 163,304,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | h |
#ifndef HOPEGOOD_EXITCOMMAND_H
#define HOPEGOOD_EXITCOMMAND_H
#include "Command.h"
class ExitCommand : public Command {
public:
ExitCommand(MySocket *mySocket);
void doCommand();
};
#endif //HOPEGOOD_EXITCOMMAND_H
| [
"yaaraf245@gmail.com"
] | yaaraf245@gmail.com |
4e0897d6f3916bef946bff8444e754cc98786240 | 7cc4bd5ce79fcbaa5fa2a58558aa05f89df0f7a4 | /attic/library - Copy/chips/gf-hd44780-fast.hpp | b4d6e68a24ca80ac6abf857a4a61525b23d11785 | [] | no_license | wovo/godafoss-c- | 5bde98b077bfd3a2bb0cbe9057abf5b7b0c3ebf4 | 77be6d2661be47af6b6591a944c169021ee71020 | refs/heads/master | 2023-03-17T07:17:15.014692 | 2021-03-27T10:16:18 | 2021-03-27T10:16:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,485 | hpp | // ==========================================================================
//
// file : hwcpp-hd44780.hpp
//
// ==========================================================================
//
// This file is part of HwCpp,
// a C++ library for close-to-the-hardware programming.
//
// Copyright Wouter van Ooijen 2017
... | [
"wouter@voti.nl"
] | wouter@voti.nl |
0fda1b6958b728bdf3221b00683eefb536c6203f | 1fddc0f5ebe01106ebe718ad1dc2475dbdcfc47e | /SPOJ/P185SUMJ - ROUND 5J-nha-hang.cpp | 9896bc902a4419a39e076292286fc341de9f60da | [] | no_license | not-a-wjbu-war/Source-Code | 15e253334c0a7a81a8218ef14f0a4d6d14005984 | 3eec0a26e665ebda5c6cbf0dc178100076d00a64 | refs/heads/master | 2023-06-01T11:12:29.844593 | 2021-06-14T17:44:51 | 2021-06-14T17:44:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | //https://www.spoj.com/PTIT/problems/P185SUMJ/
// Code By CodeWar :3
#include <bits/stdc++.h>
#define pb push_back;
typedef long long i64;
typedef long i32;
const int mod = 1e9+7;
const int nMax = 1e6+5;
using namespace std;
string s;
void input(){
cin >> s;
}
void solve(){
cout << 26 + 25*s.length();
}
int m... | [
"bbaotrung372k@gmail.com"
] | bbaotrung372k@gmail.com |
6687e936e7052dbbb1bf0197e4ed4b9b54730efc | 13500b849db6d62ac7ee94e32ddd76681af79d6b | /100003/递推解法.cpp | e8a932814ebe327a993a8682dfe7929df6726a7f | [] | no_license | syjsu/noip-with-vue.js | 055a90d13dedd2c00b2d449a39fa4f3128270480 | 6076cd41b5343dd3ff18b4c4afec207021f8c78b | refs/heads/master | 2020-03-17T20:15:42.362689 | 2018-05-24T05:10:27 | 2018-05-24T05:10:27 | 133,900,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | cpp | #include<iostream>
using namespace std;
int main(){
int n,i;
int a[35];
cin>>n;
a[1]=1;
a[2]=2;
for(i=3;i<=n;i++){
a[i]=a[i-1]+a[i-2];
}
cout<<a[n]<<endl;
} | [
"syjsu@qq.com"
] | syjsu@qq.com |
68e20d49bd52b58f49cf50dfe158e77269b7f949 | 8fc5c21d3bdb2e22530f9cac0af8a700b64c306e | /Proyecto 1/Framework/Win32Framework.h | 151f2b7a56a6c92835132055265fb1ac65a4f5b1 | [] | no_license | Danelo13/CamusWork | 520f004ab7e3b2a2a8b381d899e180d5fa670ae6 | 5f55ea4c2c5b233516e3b68b01acbf76e548f97f | refs/heads/master | 2021-01-15T21:30:29.662936 | 2018-01-06T20:11:17 | 2018-01-06T20:11:17 | 99,868,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | h | #ifndef UAD_WIN32FRAMEWORK_H
#define UAD_WIN32FRAMEWORK_H
#include "Core.h"
#include "BaseDriver.h"
#include <memory>
class Win32Framework : public RootFramework {
public:
Win32Framework(AppBase *pBaseApp) : RootFramework(pBaseApp), m_alive(true) {
pBaseApp->SetParentFramework(this);
}
void InitGlobalVars();
vo... | [
"danelo130@gmail.com"
] | danelo130@gmail.com |
72ee64f4953f8b75a93214c31aa95554a314940f | 7487baa200db22dea823989ac539a31f4d5d784f | /src/Communication/HttpClient.cpp | f2f4e1e0458605cc1fcedaef6930f882c98a74f4 | [] | no_license | korbdev/Krybot | ef2bc0c1cb0c076e02f00cf1072d38b88e8b4516 | 4da696435ba87896802a4e91452ed5c6df965bbd | refs/heads/master | 2016-08-10T09:00:56.004546 | 2015-07-07T01:06:21 | 2015-07-07T01:06:21 | 36,465,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,296 | cpp | /*
* HttpClient.cpp
*
* Created on: 06.07.2015
* Author: rkorb
*/
#include <Communication/HttpClient.h>
#include <curl/curl.h>
#include <Communication/Message.h>
#include <stdlib.h>
#include <stdio.h>
#include <string>
#include <cstring>
#include <iostream>
bool HttpClient::initializeConnection(){
handle ... | [
"mail@rudolfkorb.de"
] | mail@rudolfkorb.de |
3030c48e8b6acca8c3ae50806ea0d11aad56b683 | 550f5785302177eb785896ed1e3bac47a8595c60 | /LaLiPC/Regression.cpp | b4adf0f5ff253aec364a1dbeff1011245347ae87 | [] | no_license | niuqun/LaLiPC | 85c8adb8b1de4f7e02b4c213acdd6fcad477c6fe | b7a3cfd2ae46f1062a9dccfe5385420d85dc62df | refs/heads/master | 2020-05-18T05:45:42.758805 | 2014-12-31T07:22:14 | 2014-12-31T07:22:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | cpp | #include "Regression.h"
int Regression::CountPeopleNumber(double variables[], int length)
{
/*double theta[] = {0.7234, -0.0044, -0.0001, -0.0244, 0.0012, 0.0126,
-0.7263, 0.5693, -0.0046};*/
/*double theta[] = { -1.1395, -0.0021, 0.0007, -0.2361, 0.0211, 0.0221,
5.2605, 0.9037, 0.0188};*/
double theta[] = ... | [
"1328983175@qq.com"
] | 1328983175@qq.com |
af6e5f7b32d297c0d01df7890e20431833a0bdb9 | cac78ef398d26d558abc04ea957c1f8ff7194864 | /components/printing/common/printer_capabilities.h | d02e65f638315120cba669309bec6e52f2c51fbd | [
"BSD-3-Clause"
] | permissive | Honor6/chromium | ba8ce9c370a0635803c3efe5845a91c0512b2af6 | db3bb0cb2a5adb5cf63cb70c785f182c1562d0b5 | refs/heads/master | 2023-02-26T12:50:06.015506 | 2019-01-08T13:29:48 | 2019-01-08T13:29:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,516 | h | // 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.
#ifndef COMPONENTS_PRINTING_COMMON_PRINTER_CAPABILITIES_H_
#define COMPONENTS_PRINTING_COMMON_PRINTER_CAPABILITIES_H_
#include <memory>
#include <string>... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ca5111c43f6ed02d71c05da0a8f29e8c414a6408 | 48e41323e4c15025c505d8300f970a6159085f67 | /kv.cpp | 87d085e227517fdcaf9ae728c875dbc04d8d54e5 | [] | no_license | Cool-Stone/KV-Based-Server | 0d3d2e0133160a37f613e1690388d549697a4d6b | f2d6fe477fc88f4e8c3a10b92f123d6e8b63841c | refs/heads/master | 2020-03-22T16:58:50.753940 | 2018-07-10T02:16:24 | 2018-07-10T02:16:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,531 | cpp | /**
* KV.cpp
*
* Referred to Bitcask technique
*/
#include "kv.h"
/** Map **/
Map::Map() {
maps.resize(BucketSize);
lockset.resize(BucketSize);
for (auto& lock : lockset) {
lock = PTHREAD_RWLOCK_INITIALIZER;
}
}
uint32_t Map::hash(const string& key) {
uint32_t bucketno = 0;
for (auto& ch : key) {
bu... | [
"458880375@qq.com"
] | 458880375@qq.com |
687e33a3b719286ff1c7e3a7abd26ae71cf4ceac | 245afd9f4adb8d868fa1228ac5898083e4140d4a | /Figures/Rectangle.h | 0227defcfa318efa25b210643a7e08cc3d55ff29 | [] | no_license | Ars-eniy-Cheis/ProgramLanguages | 3e50c5eaa7d0f2c2bcdda7651d873484c912c78e | 3b79cef726a347188bb25d468b092e0c59ef6ecf | refs/heads/master | 2021-01-01T11:29:51.555886 | 2020-12-21T16:58:16 | 2020-12-21T16:58:16 | 239,254,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | h | #pragma once
#include "Figure.h"
class Rectangle : public Figure
{
private:
float a, b;
public:
Rectangle();
Rectangle(float new_a, float new_b);
Rectangle(float new_a);
virtual float Area();
virtual Figure* Clone();
};
| [
"mr.4eis@yandex.ru"
] | mr.4eis@yandex.ru |
91f1fcd0c126927bbd4654733c4bb632c59174da | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/WebKit/Source/bindings/core/v8/custom/V8IntersectionObserverCustom.cpp | f494eb2f6a04487207752cef846d537bb623b212 | [
"BSD-3-Clause",
"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"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 2,770 | cpp | // 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 "bindings/core/v8/V8IntersectionObserver.h"
#include "bindings/core/v8/ExceptionMessages.h"
#include "bindings/core/v8/ExceptionState.h"
#includ... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
04ae0709faaccdf422019005c8121affb7647ba3 | d2190cbb5ea5463410eb84ec8b4c6a660e4b3d0e | /old_hydra/hydra/tags/v8_21/online/hlocalcont.cc | ce05dbff1a5edabb6bb0a51efd99866646403b72 | [] | no_license | wesmail/hydra | 6c681572ff6db2c60c9e36ec864a3c0e83e6aa6a | ab934d4c7eff335cc2d25f212034121f050aadf1 | refs/heads/master | 2021-07-05T17:04:53.402387 | 2020-08-12T08:54:11 | 2020-08-12T08:54:11 | 149,625,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,164 | cc | //*-- Author : Dmitry Vasiliev (vassili@lns.infn.it)
/*
* Copyright P.Finocchiaro and D.Vasiliev (INFN-LNS, Catania) HADES collaboration
*/
//-------------------------------------------------------------------------
//
// File name: hlocalcont.cc
// Subject: Container of local conditions.
// Author: ... | [
"waleed.physics@gmail.com"
] | waleed.physics@gmail.com |
6265d7ebefc348cd2014b0db2bd59818a7459329 | e5b4f917bcc70d60607adb5863d9b93b5a522f00 | /channel_shuffle_gui/droparea.h | d4d144f3f95170ba9455b0890c66584f24976b4e | [
"Unlicense"
] | permissive | S-ed/channel_shuffle | 68cba9c6a29ba1b84de90f569a8923d11292f784 | 0901374bd173c48c2c2dd2b45bbadc53a07186ec | refs/heads/master | 2023-04-22T18:03:11.348233 | 2021-05-05T15:49:58 | 2021-05-05T15:49:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | h | #ifndef DROPAREA_H
#define DROPAREA_H
#include <QLabel>
#include <QFile>
#include "qmessagebox.h"
QT_BEGIN_NAMESPACE
class QMimeData;
QT_END_NAMESPACE
class DropArea : public QLabel
{
Q_OBJECT
public:
DropArea(QWidget *parent = 0);
QString *outPath;
QString *originalFile;
QString *inputPath;
... | [
"lukas@orsvarn.com"
] | lukas@orsvarn.com |
a28bc58badc87e8b5b5b55bffa65cd7e92913077 | 67c06d47a9f5d7146db73d39b372ecaae54bb79b | /src/Led.hpp | 9427bef2ae2a75b95430df1603afe7f1c46bc976 | [] | no_license | MatthijsMud/Themaopdracht-Devices | 63c57e6e6a84448f3f0bab4e7ae16e04fb420ed7 | 698dc395eb6c0f9dd201c26b99d405028e20602c | refs/heads/master | 2018-09-19T16:20:45.498560 | 2018-08-22T10:04:32 | 2018-08-22T10:04:32 | 120,743,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 353 | hpp | #ifndef DEVICES_LED_HPP
#define DEVICES_LED_HPP
#include <stdint.h>
#include "hwlib.hpp"
//! class to set the d2 pin to the right configuration and set it on and off
class Led{
public:
//! turn the led on pin d2 on
void on();
//! turn the led on pin d off
void off();
private:
hwlib::target::d2_36kHz led{... | [
"r.zegers@xs4all.nl"
] | r.zegers@xs4all.nl |
6db149e33907403c4a98e5c6545aefdfcc507839 | a57184efee5b6ffd902d347042bcf1ad0f11f399 | /src/Stone.cpp | 4dc7741d38083b36899e9e32c27768d7e414f0f3 | [] | no_license | mcabioch/CppLib | a4cf0e39114eb6ec031ef93f52fa6bdb08e4c138 | 0d38d006c7e1a3854195ff10347543e544d4b681 | refs/heads/master | 2021-07-08T03:46:24.345657 | 2020-11-18T13:48:10 | 2020-11-18T13:48:10 | 206,850,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | cpp | #include "C++/Stone.hpp"
namespace mcd::entities
{
Stone::Stone(Map* map, Point pt, ContraptionAttr attr) : Object(map, pt, attr) {}
Stone::~Stone() {}
void Stone::printInfos(std::ostream& stream) const { Object::printInfos(stream); }
} // namespace mcd::entities
| [
"mathias.cabiochdelalande@gmail.com"
] | mathias.cabiochdelalande@gmail.com |
4fe00562d11846500cef3d3b790388d35ce229d2 | a0967fb856ef54124187716b39523d1206a1c007 | /19-5-16-3(百钱问题,1元可以换成1,2,5分有多少中换法)/19-5-16-3(百钱问题,1元可以换成1,2,5分有多少中换法)/源.cpp | e5a572899933bbb128115f5a2529338ffdb8a6c4 | [] | no_license | yyaihh/Cpp | 21b4d0da4ef351b9d97f1fb47c11f055b6690622 | dbfa2361ae8e1a31ce6c29bb286507d36da5099d | refs/heads/master | 2020-09-21T23:22:23.464218 | 2020-04-20T15:31:30 | 2020-04-20T15:31:30 | 224,968,447 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 917 | cpp | #include<iostream>
#include<stdlib.h>
using namespace std;
#if 0
int main() {
//为简化计算,将其都扩大100倍
int count = 0;//换法
for (int i = 0; i <= 50; ++i) {
for (int j = 0; j <= 20; ++j) {
if (2 * i + 5 * j <= 100) {//只要2元和5元的总和加起来不大于100,剩下的都换1元
++count;
}
}
}
cout << "换法有" << count << "种\n";
system("pause");... | [
"1903870154@qq.com"
] | 1903870154@qq.com |
d5525f5e6713dc8f07ed2acaf8d921be4a4e4421 | 428d67ecc116dc26021662d177c971c062b095fe | /src/neo/optional.test.cpp | 53a0aa7cc81a2ced84bb93ea5a6a88504bfeaaa8 | [
"BSL-1.0"
] | permissive | ExternalRepositories/neo-fun | a4b7a2b0b6e922f6e59367027c79b7553c610959 | 95fecb48df3d0706909eb321cfe85732934bd654 | refs/heads/master | 2023-02-19T08:30:38.270728 | 2021-01-19T04:46:40 | 2021-01-19T04:46:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,776 | cpp | #include "./optional.hpp"
#include "./test_concept.hpp"
#include <catch2/catch.hpp>
struct trivial {
int i;
};
struct trivial_default_constructible {
int i;
~trivial_default_constructible() {}
};
struct trivial_destructible {
int i = 0;
};
struct nontrivial {
int i = 0;
~nontrivial() {}
};... | [
"vectorofbool@gmail.com"
] | vectorofbool@gmail.com |
96a32d5a2ee997b0f927d7843539af951806ec9d | f68ff080c187bcc1b199b6d1a4e3080f36cbe15b | /TransmitQCM.ino | f60f0d3914f3266f0adc375b4825e236477f6c70 | [] | no_license | harriwijaya/sensor-to-plotly | dc89a38856e9b5e8ddec576ff8a880853a376973 | fb09de523741c85ae07b0b1d9a9d8e5a0004f1a9 | refs/heads/master | 2020-04-16T04:14:17.035139 | 2019-01-11T14:52:34 | 2019-01-11T14:52:34 | 165,259,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,568 | ino | /* Receiver: Arduino Uno */
// I2C for receive data from QCM
#include <Wire.h>
// for RF24 module
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#define DBG_LOG // for debuging purpose
// radio object
RF24 radio(7, 8);
//const byte rxAddr[6] = "00002";
const uint64_t rxAddr = 0xB3B4B5B6F1LL;
void setup() ... | [
"noreply@github.com"
] | noreply@github.com |
809dc3ef619d53a0bab5c4318697b6ee2f195c34 | 15e4869938d8f3659c047d7ae21b8072b80271bb | /Unit Test Time - ООП/Unit Test Time - ООП/main.cpp | 8ac86083d02e45a4c46a969bda4d26771699991e | [] | no_license | balabaev00/OOP | 1841f7d1abc5aecf555f179ef41fead64a3fc5ab | 662711fa23b1045fb3fb1501b9563f0b5796eec2 | refs/heads/master | 2021-01-01T10:45:35.581409 | 2020-04-09T03:05:09 | 2020-04-09T03:05:09 | 239,242,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp |
#include "pch.h"
#include "TimeTests.h"
#include <iostream>
int main()
{
test_Time_Consturctor();
test_Time_setTime();
test_Time_AddTime();
test_Time_TransferTime();
test_Time_opr();
}
| [
"balabaev00@yandex.ru"
] | balabaev00@yandex.ru |
f43ef399d413093a4859253e324bf6425dcd1f5a | 491c18a853fa8c0960077df6bac047cb4420fc42 | /src/gui/vtkwidgetoverlaycallback.cpp | a26cc35297fc90d1f23561ae2683984d5e5a1442 | [
"MIT"
] | permissive | lxgwd1983/Asclepios-DICOM-Viewer | 5c4e3030fc4a6bb0a32368bd170d11385d00fe26 | 2aeb90ae4fcbdfcf0fe1b714f31e2b1c8fd6a8ed | refs/heads/master | 2023-03-14T10:05:34.528082 | 2020-09-01T08:29:49 | 2020-09-01T08:29:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | cpp | #include "vtkwidgetoverlaycallback.h"
#include "vtkwidgetoverlay.h"
vtkStandardNewMacro(asclepios::gui::vtkWidgetOverlayCallback);
void asclepios::gui::vtkWidgetOverlayCallback::Execute([[maybe_unused]] vtkObject* caller, const unsigned long eventId,
[[maybe_unus... | [
"eddiegavrilovici@gmail.com"
] | eddiegavrilovici@gmail.com |
6c64fe69faaefc4796b1168edddc3cea86ff0919 | 9147045752826ba2f071d3be815097885031149b | /CMinus/CMinus/type/pointer_type.cpp | 2350147eb030e89c7515148b9f491531a5faa28d | [
"MIT"
] | permissive | benbraide/CMinus | 2ef2c8a7568c61e6dacc3f4b89538afc7edeb777 | 3b845e0bc22840b549f108bf6600f1f34d865e7b | refs/heads/master | 2020-07-02T18:14:58.810073 | 2019-09-06T23:03:44 | 2019-09-06T23:03:44 | 201,617,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,441 | cpp | #include "pointer_type.h"
#include "primitive_type.h"
#include "class_type.h"
cminus::type::raw_pointer::raw_pointer(object *raw_base_type)
: raw_base_type_(raw_base_type){}
cminus::type::raw_pointer::~raw_pointer() = default;
bool cminus::type::raw_pointer::converts_auto(const object &target) const{
if (object::c... | [
"benbraide@yahoo.com"
] | benbraide@yahoo.com |
b858e8160859c4aa3edeb09cc438cfc5e2646ed9 | c497942b041a006719d2dc57d37e5bcb5048b44e | /past_question_C/ABC166C2.cpp | 51349dbdb62fb479a64fc09c920c4a7f9cae3de0 | [] | no_license | esakiryota/atcoder | 174743a27abe2918223930743a34fc01a9ee6f01 | d2ddd653ab4aac6091074cf183ecb5a16052a267 | refs/heads/master | 2023-04-25T12:28:57.154176 | 2021-05-18T02:27:46 | 2021-05-18T02:27:46 | 345,285,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | #include <stdio.h>
#include<iostream>
#include <vector>
#define rep(i,n) for (int i = 0; i < (n); i++)
using namespace std;
const int INF = 1001001001;
int main() {
int n, m;
cin >> n >> m;
vector<int> h(n);
vector<bool> ok(n, true);
rep(i,n) cin >> h[i];
rep(i,m) {
int a, b;
cin >> a >> b;
--... | [
"esaki1217@gmail.com"
] | esaki1217@gmail.com |
5ca8c91053b04318b4baace7f8fadefc9f43cbaf | f6591e71706f8a730867515b7cce2c258aed8c42 | /src/test/pmt_tests.cpp | 46372295c155e583525798c9b8b4a2455ef8e5df | [
"MIT"
] | permissive | weirdboy79/dfs | 5a76f334e6c609ca07c371242770c3c7964e434c | 98b28991fca53fe99378b2972864694f188e92db | refs/heads/master | 2020-03-26T16:07:32.764838 | 2018-08-09T21:21:56 | 2018-08-09T21:21:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,646 | cpp | // Copyright (c) 2012-2013 The Bitcoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "merkleblock.h"
#include "serialize.h"
#include "streams.h"
#include "uint256.h"
#include "version.h"
#include ... | [
"email@example.com"
] | email@example.com |
0159b12e8ef0eee89ead87063c8875d515ec06d0 | 7abac4eff68f53c1bfadfe235e39a2bb1dd24d18 | /PerseusLib/Primitives/Vector4D.h | d950d548143141c1893f8d4707e0b7b7f0644977 | [] | no_license | GuoChris/PWP3D-paper-code | 5956ab6af1a35bfa863b2e8a00f64ad4d042c977 | 87bc1af4f3171145ddd0490916bc59dff5464f1d | refs/heads/master | 2021-05-20T18:48:51.136547 | 2015-05-26T02:51:54 | 2015-05-26T02:51:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,555 | h | #pragma once
namespace PerseusLib
{
namespace Primitives
{
template <typename T>
class Vector4D
{
public:
T x, y, z, w;
const Vector4D& Vector4D::operator+= (Vector4D &p){
x += p.x; y += p.y; z += p.z; z += p.w;
return *this;
}
const Vector4D& Vector4D::operator-= (Vector4D &p){
x -... | [
"qiannihuang@gmail.com"
] | qiannihuang@gmail.com |
0a9a70504e8d3ca64ded488ba08af0452b330370 | a2206795a05877f83ac561e482e7b41772b22da8 | /Source/PV/build/VTK/Wrapping/Python/vtkLODActorPython.cxx | c54f4f53be375e8610ea77da0e56deef13c76d15 | [] | no_license | supreethms1809/mpas-insitu | 5578d465602feb4d6b239a22912c33918c7bb1c3 | 701644bcdae771e6878736cb6f49ccd2eb38b36e | refs/heads/master | 2020-03-25T16:47:29.316814 | 2018-08-08T02:00:13 | 2018-08-08T02:00:13 | 143,947,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,833 | cxx | // python wrapper for vtkLODActor
//
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include "vtkPythonArgs.h"
#include "vtkPythonOverload.h"
#include "vtkConfigure.h"
#include <vtksys/ios/sstream>
#include "vtkIndent.h"
#include "vtkLODActor.h"
#if defined(VTK_BUILD_SHARED_LIBS)
# define VTK_PYTHON_EXPORT VTK_... | [
"mpasVM@localhost.org"
] | mpasVM@localhost.org |
532f59e6f3b54ee720a391134a4f22a2b878c310 | a5aacf14e66d02d0116ab2584b5725106b25884e | /329.cpp | a8ac9c0032dd3fc3f79ef042dd9bf2e56ced8781 | [] | no_license | Rash-598/leetcodesolutions | a27aab75af39508bdcc47d7e3343f095d0972fa5 | e8aaa4e841487a8e51196088582db9809d6ef18d | refs/heads/master | 2021-11-28T09:22:38.545059 | 2019-01-16T10:35:39 | 2019-01-16T10:35:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,169 | cpp | class Solution {
public:
int dp[1000][1000];
int cal(int i,int j,int n,int m,vector<vector<int> >& arr)
{
if(i<0||j<0||i>=n||j>=m)
return 0;
if(dp[i][j]!=0)
return dp[i][j];
int maxer=0;
dp[i][j]=1;
int a1=0,a2=0,a3=0,a4=0;
if(i-1>=0&&a... | [
"rahul5982439@gmail.com"
] | rahul5982439@gmail.com |
3fc6997a6d9f9a318b37d65688641455206a9519 | 494fc35b2dbe5705bdf81e6b5d2615d1198c8559 | /DbTables/inc/ValGroups.hh | 94b5388d9988236645f079840be1c34c836eb335 | [
"Apache-2.0"
] | permissive | shadowbehindthebread/Offline | 36f71913ac789b9381db5143b0fc0bd7349c155e | 57b5055641a4c626a695f3d83237c79758956b6a | refs/heads/master | 2022-11-05T17:44:25.761755 | 2020-06-15T18:07:16 | 2020-06-15T18:07:16 | 273,599,835 | 1 | 0 | Apache-2.0 | 2020-06-19T22:48:25 | 2020-06-19T22:48:24 | null | UTF-8 | C++ | false | false | 1,687 | hh | #ifndef DbTables_ValGroups_hh
#define DbTables_ValGroups_hh
#include <string>
#include <iomanip>
#include <sstream>
#include <map>
#include "DbTables/inc/DbTable.hh"
namespace mu2e {
class ValGroups : public DbTable {
public:
class Row {
public:
Row(int gid, std::string create_time, std::string c... | [
"rlc@fnal.gov"
] | rlc@fnal.gov |
ab80cd536771fbeb7e326550c121fa39cebcaade | 1b61800c1c1da2aae190e7a460415da7d0536a39 | /msvc_robot/debug/qrc_image.cpp | 84d86dad97bc2cc7af4ac46cf619552652115cb9 | [] | no_license | betamake/robot | bcd47f3968a27cb8b6f49cc3cd26c5ec40f047ae | 8f874fc8fcc88ed3d26eeab3774929903e2eb608 | refs/heads/master | 2020-08-15T08:59:35.901898 | 2020-07-23T10:33:44 | 2020-07-23T10:33:44 | 215,312,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951,258 | cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.13.2
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static co... | [
"hukunlun@buaa.edu.cn"
] | hukunlun@buaa.edu.cn |
cd33e1a7c03dc313e438b05134764735bc92d22e | 84004dea4f3f618a3429cc24e82928dc7f35de79 | /include/eosiock/utils.hpp | 909d0f54ad2c982ec84c4bd8e53e7afba1d14f28 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | Shinkay3/eosio.ck | aaff1ef2692647b2d8d624d1a0e9a7eef6961f1a | 8264037b35b1e8de1aebb8fa4dc1089b2063bcc2 | refs/heads/master | 2023-08-14T21:21:02.894417 | 2021-10-06T12:13:23 | 2021-10-06T12:13:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,808 | hpp | // Copyright © 2021 ZeroPass <zeropass@pm.me>
// Author: Crt Vavros
#pragma once
#include <cstdint>
#include <string_view>
#include <eosio/eosio.hpp>
#include <eosio/rope.hpp>
#include <eosio/string.hpp>
#include "types.hpp"
namespace eosiock {
inline byte_t from_hex( char c ) {
if( c >= '0' && c <= '9... | [
"smlu@s5.net"
] | smlu@s5.net |
984cea32194150bd4a5bbb101078b5f7c4a97de3 | 26171021868d77253f7ef94613418f235b524d2f | /Practica1/Practica1/main_prac5.cpp | 7667f09bad3c1de4b1b9315a1a9bfe8b395b6411 | [] | no_license | hector19D/Practica-1 | 6dc7632487c5603c1cde8abd16263bad5be96cb9 | f2a0ec403e0f760c12ba13cefd1f1879d2924075 | refs/heads/master | 2021-01-22T18:24:42.048378 | 2017-11-03T04:40:07 | 2017-11-03T04:40:07 | 100,757,969 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 14,272 | cpp | //Semestre 2018 - 1
//************************************************************//
//************************************************************//
//************ Alumno (s): Lorenzo Cruz Hector Eduardo *******//
//************* ******//
//************* ******//
//*********************************... | [
"loch.21d@gmail.com"
] | loch.21d@gmail.com |
5374c5b5b90dcd34a65a3534fb81c04d3b3f1fe3 | 6cee5dc9e23d8ac46744c613a08f430d7ed824d5 | /factorial-trailing-zeroes.cpp | 19c453bb1b54fcb3676f20537fa7f9b2a073620f | [] | no_license | johnjohnlin/leetcode | 2c3f43fccdf76617ef0f5f1f5efc3e821c5ee48c | b69a9b9c644bb34fdf0e2831e51da273688aee50 | refs/heads/master | 2021-01-18T22:03:38.387085 | 2016-04-27T08:52:32 | 2016-04-27T08:52:32 | 30,757,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include <cstdio>
class Solution {
public:
int trailingZeroes(int n)
{
int num_five = 0;
do {
n /= 5;
num_five += n;
} while (n);
return num_five;
}
};
int main(int argc, char const* argv[])
{
Solution s;
for (int i = 0; i < 10; i++) {
printf("%d", s.trailingZeroes(i));
}
return 0;
}
| [
"johnjohnlys@gmail.com"
] | johnjohnlys@gmail.com |
76d2ff157aa2943b4bd5f67fc4ab49833762d8ea | 1fd30b1df13d20666edddc0f83f7ae517c00ee4f | /backtracking/classAssignment.cpp | 5402c32b0b73871e6f0df00096c0d9625b5b6bf2 | [] | no_license | manalarora/coding-blocks-online-questions | 0d93b0a1d458fe2c7143788363ba76b07524aa27 | 0b60bb28ed11ab844eccd3fda0024d7fb37d196a | refs/heads/master | 2020-04-21T07:09:19.293649 | 2019-02-11T19:07:42 | 2019-02-11T19:07:42 | 169,385,383 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | #include<iostream>
using namespace std;
int fun(int n){
if(n==1)return 2;
if(n==0)return 1;
return fun(n-1)+fun(n-2);
}
int main() {
int t;
cin>>t;
while(t--){
int n;
cin>>n;
cout<<"#"<<n<<" : "<<fun(n)<<endl;
}
return 0;
} | [
"manalarora21@gmail.com"
] | manalarora21@gmail.com |
a0d920588583f8ed7dabd4c2848216ba96b650e8 | 46f53e9a564192eed2f40dc927af6448f8608d13 | /cc/quads/checkerboard_draw_quad.cc | db6ad1ea3569cf2a8370af7541093e3217d16146 | [
"BSD-3-Clause"
] | permissive | sgraham/nope | deb2d106a090d71ae882ac1e32e7c371f42eaca9 | f974e0c234388a330aab71a3e5bbf33c4dcfc33c | refs/heads/master | 2022-12-21T01:44:15.776329 | 2015-03-23T17:25:47 | 2015-03-23T17:25:47 | 32,344,868 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,065 | cc | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/quads/checkerboard_draw_quad.h"
#include "base/logging.h"
#include "base/trace_event/trace_event_argument.h"
#include "base/values.h"
names... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
cc3702c1e71bc38a2e91a86d46f6b943bc0a4e0e | e9acf56f8545281397b5da70954c01f216080a1a | /Integration1/Integration1.ino | b67db759649896694dc393bd5cc236d3b826832a | [] | no_license | melimathlete/Artduino | 3ad4f1805ad03d8f9c6d9f9a57893ae9bbc9bf5f | 1cf65c96fd1a0f8e9927b4debf75ecc7b84e77de | refs/heads/master | 2020-04-11T09:59:42.481954 | 2018-12-14T00:20:43 | 2018-12-14T00:20:43 | 161,698,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,128 | ino |
#include <Servo.h>
Servo servo1; // create servo object to control a servo
Servo servo2;
int half = 800;
int quarter = 400;
int eighth = 200;
int travel = 100;
int notedistance = 20;
int pitchA = 30;
int pitchB = 50;
int pitchC = 70;
int pitchD = 90;
int pitchE = 110;
int pitchF = 130;
int pitchG = 150;
// twelve... | [
"23112766+melimathlete@users.noreply.github.com"
] | 23112766+melimathlete@users.noreply.github.com |
8c31a8d09759c433d8d5591ffacef9abb01b42f0 | ef29cc4958d08095860e9ee24413aa7977fdbfe1 | /FuncionesComunes.h | 85a254d2cf97ec7dc3239db6aeea72c371ef6e9f | [] | no_license | sjm00010/meta-practica3 | 6ff18a19594ac042c6f8673151a4d87b1d521e70 | decf99a94e47039a64b5838c74dadf6c1fcd82a0 | refs/heads/master | 2022-04-19T12:50:29.535632 | 2020-04-20T18:30:45 | 2020-04-20T18:30:45 | 257,369,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | h | /*
* File: FuncionesComunes.h
* Author: PORTATIL
*
* Created on 1 de noviembre de 2019, 21:39
*/
#ifndef FUNCIONESCOMUNES_H
#define FUNCIONESCOMUNES_H
#include "Individuo.h"
using namespace std;
// Carga Datos
void cargaParametros();
void cargaDatos(string &archivo, vector<vector<int>> &flu,
... | [
"sjm00010@red.ujaen.es"
] | sjm00010@red.ujaen.es |
2fa87c34e4eeb6d39cdda38d2496130c04499570 | 844540e5103e2d88b3fbb26b00ccdd29bed13058 | /format_check.h | 1b69c4101ba29823be8bc76c2c32195aa543d223 | [] | no_license | ij96/ingress-passcode-analyser | 9b090000ff11e42bdcaff4533078ce9344d23c47 | 1a0aeb764ff224d79287b6f0396bcc85fb15abec | refs/heads/master | 2021-01-23T06:40:16.196198 | 2017-07-11T03:06:11 | 2017-07-11T03:06:11 | 86,390,701 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 214 | h | #ifndef FORMAT_CHECK_H
#define FORMAT_CHECK_H
#include <string>
using namespace std;
int format_check(string passcode);
bool is_digit_2_9(char c);
bool pattern_match(string str, string pattern);
#endif | [
"noreply@github.com"
] | noreply@github.com |
ab5bf55d8dd92eac6bc24a628a098feebc026996 | da426fa63ca1009eeac2bd465cc6c413d8a02263 | /ap_IUT-master/Debug/build-ap-Desktop_Qt_5_11_2_MinGW_32bit-Debug/debug/moc_organizer_wrestling.cpp | bf9effa9246988077a2c23b9668ef1758de5ba37 | [] | no_license | mahdi-hejazi/ap_IUT | 5a9690030c97b30dbd6d684194045f20fd2aac78 | 9fe80c722e7c7bbf03073954d4cb67fd9b31b8ba | refs/heads/master | 2020-05-30T07:56:49.326533 | 2019-06-20T11:09:27 | 2019-06-20T11:09:27 | 189,610,532 | 0 | 0 | null | 2019-05-31T14:47:07 | 2019-05-31T14:47:06 | null | UTF-8 | C++ | false | false | 2,812 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'organizer_wrestling.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.2)
**
** WARNING! All changes made in this file will be lost!
************************************************... | [
"user.email"
] | user.email |
5494df04d5b7856e891ce915195a56c6d904dfde | 3b663565b572e0c761b705821ed2e1d3d5c954d3 | /land.cpp | 643588565d817f86d1f14eb9377f3d97ed7ce812 | [] | no_license | tj-dsk-tpp-zz/CPtrials | 3600054ba4c52307efe19bf73d223e580fd72f07 | abdd70d208316a291aa4af667847830bfdda94f4 | refs/heads/master | 2022-04-02T20:01:41.826964 | 2020-01-26T18:18:05 | 2020-01-26T18:18:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t=0;
cin>>t;
while(t--)
{
int n=0,m=0;
cin>>n>>m;
int x=0,y=0,s=0;
cin>>x>>y>>s;
int a=1,b;
int hsum=0,vsum=0;
for(int i=0;i<x;i++)
{
cin>>b;
... | [
"noreply@github.com"
] | noreply@github.com |
897c8cc2da49a4930df906fe78b987f14a6892df | f6ba7d7d255d4f3d2ff65f5d1381f706e5477d6f | /Graphics/GraphicsEngineD3D11/include/EngineD3D11ImplTraits.hpp | 907755fcee930c0362bc61f4dd9deb6be9283978 | [
"Apache-2.0",
"LicenseRef-scancode-nvidia-2002",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause"
] | permissive | jcpulido97/DiligentCore | c02528142e7b46d1dd67510cc7d27ff83209f742 | 589986c083c631624507811cc802f0973f41452b | refs/heads/master | 2023-04-07T18:30:04.222310 | 2021-03-29T11:53:20 | 2021-03-29T11:53:20 | 352,618,756 | 0 | 0 | Apache-2.0 | 2021-03-29T11:52:47 | 2021-03-29T11:27:51 | null | UTF-8 | C++ | false | false | 5,247 | hpp | /*
* Copyright 2019-2021 Diligent Graphics LLC
* Copyright 2015-2019 Egor Yusov
*
* 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/LICENS... | [
"assiduous@diligentgraphics.com"
] | assiduous@diligentgraphics.com |
0728cd7ef35f6a00be2d4fdbe3ffffe74a7a9ab7 | 76aab74b58991e2cf8076d6b4ed6f4deba1c57bd | /Codeforces/1091B.cpp | 56478f6c865af1ac891bb6420b07f8938f89895e | [] | no_license | StudyingFather/my-code | 9c109660c16b18f9974d37a2a1d809db4d6ce50a | 8d02be445ac7affad58c2d71f3ef602f3d2801f6 | refs/heads/master | 2023-08-16T23:17:10.817659 | 2023-08-04T11:31:40 | 2023-08-04T11:31:40 | 149,898,152 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 452 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
struct point
{
int x,y;
}p1[1005],p2[1005];
bool cmp(const point&a,const point&b)
{
return a.x<b.x||(a.x==b.x&&a.y<b.y);
}
int main()
{
int n;
scanf("%d",&n);
for(int i=1;i<=n;i++)
scanf("%d%d",&p1[i].x,&p1[i].y);
for(int i=1;i<=n;i++)
scanf("%d%d",&... | [
"594422141@qq.com"
] | 594422141@qq.com |
8ef6954ba92dfe16bc564a8c5c558e88427de5b6 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/13_1492_100.cpp | 5852a38f514ad9160925b941a21f74aa359a3ad8 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,051 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <map>
using namespace std;
char get_winner(map< char, int > mp) {
if ((mp['O'] + mp['T']) == 4) {
return 'O';
}
if ((mp['X'] + mp['T']) == 4) {
return 'X';
}
return '-';
}
int main() {
int n;
cin>>n;
for ... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
3e40156f6cdbbc3fdc27ccc461b027b60ce820ee | 7c0b229dc12b60507502f1197a2225f1d1bc88cc | /SuperPass/Dictionary.h | 668d02f1b849f65b503bb26741cbe497a4495ff9 | [] | no_license | WilliamPlusPlus/SuperPass | be20261f36bfadf6f328cd660ac4ad5e3155a177 | 2e1de06c645e11f482552f12da37c2345523374a | refs/heads/master | 2022-04-17T11:51:36.349030 | 2020-04-15T17:03:46 | 2020-04-15T17:03:46 | 255,981,690 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | h | //
// Dictionary.h
// SuperPass
//
// Created by William Phenicie on 4/14/20.
// Copyright © 2020 Peer Group Softwrae. All rights reserved.
//
#ifndef Dictionary_h
#define Dictionary_h
using namespace std;
struct Key {
char letter;
string key;
};
#endif /* Dictionary_h */
| [
"williamphenicie@outlook.com"
] | williamphenicie@outlook.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.