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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5ebe70a76592a6d67dc25b9584c9e79f26ec82bd | 888ff1ff4f76c61e0a2cff281f3fae2c9a4dcb7b | /jianzhioffer/52.cpp | cf4e321d66bff39ad26a6da20895e4a0cbb78500 | [] | no_license | sanjusss/leetcode-cpp | 59e243fa41cd5a1e59fc1f0c6ec13161fae9a85b | 8bdf45a26f343b221caaf5be9d052c9819f29258 | refs/heads/master | 2023-08-18T01:02:47.798498 | 2023-08-15T00:30:51 | 2023-08-15T00:30:51 | 179,413,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | cpp | /*
* @Author: sanjusss
* @Date: 2021-07-21 08:19:55
* @LastEditors: sanjusss
* @LastEditTime: 2021-07-21 08:23:40
* @FilePath: \jianzhioffer\52.cpp
*/
#include "leetcode.h"
class Solution {
public:
ListNode *getIntersectionNode(ListNode *headA, ListNode *headB) {
ListNode* pA = headA;
ListNod... | [
"sanjusss@qq.com"
] | sanjusss@qq.com |
a78dc583c752aa2cbe56ceeccc91496506cfce42 | aabf2d9eacfc7bdafce823920507c073b94d24f5 | /RaccoonBranch/SharedFiles/QLib/ParamsDialog/ParamsLevelExposure.cpp | 2965eaaaa0eafff512699fcc0db7a34699203cab | [] | no_license | SlavaC1/ControlSW | 90a5cf3709ea3d49db5126f0091c89428f5e1f49 | 6c8af513233a5d3d7c7f0d8b4d89c0ee69a661cb | refs/heads/master | 2021-01-10T15:47:23.183784 | 2016-03-04T13:33:26 | 2016-03-04T13:33:26 | 53,054,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,050 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "MainUnit.h"
#include "ParamsLevelExposure.h"
#include "AppParams.h"
#include "QThreadUtils.h"
//---------------------------------------------------------------------------
#pragma package(smart_ini... | [
"wastelanders@gmail.com"
] | wastelanders@gmail.com |
b31be5a92613a0e8d0a4221d580590c0162ae5e6 | 3c09d1c279c8578791dae535852c06e09efad4a1 | /EclipseCpp/11.Calendar/src/11.Calendar.cpp | 77bea8ca43b837c6a471bc8990e0f382357689f2 | [] | no_license | rosen90/GitHub | f00653f8a65cdffc479b70d2d7ca8f9e103d3eeb | 851d210f2f6073d818e0984fa9daab96e833b066 | refs/heads/master | 2016-09-12T23:57:19.530896 | 2016-05-04T22:09:03 | 2016-05-04T22:09:03 | 58,085,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | cpp | #include <iostream>
using namespace std;
int main()
{
int day, mounth, year;
int period;
cout << "Enter a year (XXXX): ";
cin >> year;
cout << "Enter Month (0-12):";
cin >> mounth;
cout << "Enter day: (0-30): ";
cin >> day;
cout << "Enter the period in days: ";
cin >> period;
int temp;
int temp2 = peri... | [
"karadinev@gmail.com"
] | karadinev@gmail.com |
3680a6bedf2d234e89d41975a06704c0e619736c | 13be382f6162250767c976bb0336b7d334e61956 | /c20200625/Paly844/Paly844.h | 452fe24a695e0610eab3c7999b2d1eb01c0a85ea | [] | no_license | liupengzhouyi/LeetCode | 8cfa79041b31fd7b1742892656f2918e006ea31f | 19cffe0aad21c099abdfd80e03d961035be4e332 | refs/heads/master | 2021-07-10T01:06:31.490053 | 2021-03-24T07:56:43 | 2021-03-24T07:56:43 | 229,280,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | h | //
// Created by 刘鹏 on 2020/6/25.
//
#ifndef LEETCODE_PALY844_H
#define LEETCODE_PALY844_H
#include <iostream>
#include <vector>
#include <stack>
class Paly844 {
public:
bool backspaceCompare(::std::string S, ::std::string T);
};
#endif //LEETCODE_PALY844_H
| [
"liupeng.0@outlook.com"
] | liupeng.0@outlook.com |
737e3fd0c1ec0ed5b3e0493fca31e32ec852cf6a | 387abaa47af408b66e071802468e49663668a891 | /Graphs/10. Cycle Detection in Undirected graph using BFS.cpp | 1aa7c8da6c820150849e09fffad5ba457e42f644 | [] | no_license | gargVader/CPP-Data-Structures-Algorithms-Launchpad | 22eac05476f6d2d3a9ecdff90c5e6235b3895d7b | af2647a343d6d7b27c0313a745dfcf470639cad8 | refs/heads/master | 2023-07-27T09:26:21.125449 | 2021-09-09T04:42:19 | 2021-09-09T04:42:19 | 289,625,432 | 61 | 36 | null | 2020-12-10T06:25:20 | 2020-08-23T05:54:40 | C++ | UTF-8 | C++ | false | false | 1,644 | cpp | /*
Cycle detection in undirected graph using BFS
==============================================
Run BFS. If we come across a node that has not been visited yet,
push it into queue. Otherwise, the node is contributing to a potential
cycle. Catch here is that the node (nbr) should not be parent of the
current node.
... | [
"girishgargcool@gmail.com"
] | girishgargcool@gmail.com |
2eda796082f27dbb1781d0d82fa6926e12b8e3d0 | 9fdf3aa251c041fbdf35cb43f99ccd3d7b909fbd | /src/lda.cc | bf99b3d4bd03ed186835a1141d807ccb9fbe8d0b | [] | no_license | BurnedRobot/ldacc | 5588b06f6e9dd8ad9c31fad5c99e1cf07078d26a | 44fb1c464d5891ecb10864c583f43a7a8bf3049b | refs/heads/master | 2021-01-19T14:57:18.905782 | 2015-01-01T07:54:25 | 2015-01-01T07:54:25 | 12,204,472 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,866 | cc | #include "../include/lda.h"
#include "../include/preprocess.h"
#include "../include/multi_sampler.h"
#include "../include/utils.h"
#include <cstdlib>
#include <algorithm>
#include <ctime>
#include <numeric>
void LDA::Init(const char* inputfile)
{
docs_num = ReadData("../data/document.dat", words_matrix, words_ba... | [
"robotflying777@gmail.com"
] | robotflying777@gmail.com |
eb8a504a1f043b0290af4e29a8d60e1e2628f5c3 | 58457842abd6ac0073ce969eccb1ed22caef9ea2 | /lulib/network/protocol/http/authorize/_policy.hpp | 109e70b2333e7632ff0317446163773a05693b92 | [] | no_license | luluci/lulib | abbf7cf09765bd1a76ed1acf30b289b111b8f431 | 235378b85cb07169ffc627021cd01094affd5c99 | refs/heads/master | 2021-03-12T23:01:26.865103 | 2012-01-02T15:19:33 | 2012-01-02T15:19:33 | 1,025,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | hpp | #pragma once
namespace lulib { namespace network { namespace http {
namespace authorize_detail {
template<typename Policy>
class basic_autorizer {
};
}// namespace lulib::network::http::autorize_detail
}}}// namespace lulib::network::http
| [
"lucis.cis@gmail.com"
] | lucis.cis@gmail.com |
c0d973a38b69df4e8a39ffaa0030ab472373bc7b | 45e0fbd9a9dbcdd4fbe6aaa2fdb2aed296f81e33 | /FindSecret/Classes/Native/UnityEngine_UI_UnityEngine_EventSystems_MoveDirect1216237838.h | c55f693a3eac183a3829d342cdc950d92ee4c5a1 | [
"MIT"
] | permissive | GodIsWord/NewFindSecret | d4a5d2d810ee1f9d6b3bc91168895cc808bac817 | 4f98f316d29936380f9665d6a6d89962d9ee5478 | refs/heads/master | 2020-03-24T09:54:50.239014 | 2018-10-27T05:22:11 | 2018-10-27T05:22:11 | 142,641,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Enum4135868527.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_MoveDirect1216237838.h"
#ifdef __clang__
#pragma clang diagnostic p... | [
"zhangyide@9fbank.cc"
] | zhangyide@9fbank.cc |
f672acb9291ab512f4d33ca061786611eb364c6a | 778968fa32b556d865e977f635d5ff815ebe4dc6 | /Object Oriented Programming/Lab9/Agentie de turism/Agentie de turism/Repository.h | 6974a468e27dc6ee440422f98205f2e55ca3a67d | [] | no_license | katybucsa/faculty | cf29148329e8630c096de4aa53ef2b7cc271a53e | a7172e4e8433caca86021c74ce4961df477a535f | refs/heads/master | 2023-02-12T01:58:17.841213 | 2021-01-07T15:27:08 | 2021-01-07T15:47:28 | 327,284,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,167 | h | #pragma once
#include <vector>
#include <fstream>
#include <algorithm>
#include "Domain.h"
class Repository {
protected:
std::vector<Oferta> offers;
public:
/*
default constructor for Repository class
*/
Repository() = default;
/*
do not allow to make copy for an object of type Repository
*/
Repository(const... | [
"katybucsa@github.com"
] | katybucsa@github.com |
34dd4e3af6f734950b24ecc5dda9c2106c609c5d | 9ada6ca9bd5e669eb3e903f900bae306bf7fd75e | /case3/ddtFoam_Tutorial/0.001500000/uniform/time | 655a63dd24956b0ddafc58bb704b9da0fa70ef4d | [] | no_license | ptroyen/DDT | a6c8747f3a924a7039b71c96ee7d4a1618ad4197 | 6e6ddc7937324b04b22fbfcf974f9c9ea24e48bf | refs/heads/master | 2020-05-24T15:04:39.786689 | 2018-01-28T21:36:40 | 2018-01-28T21:36:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
... | [
"ubuntu@ip-172-31-45-175.eu-west-1.compute.internal"
] | ubuntu@ip-172-31-45-175.eu-west-1.compute.internal | |
575fc939565455f1ee600df078e5798ef705d7a1 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/70/166.c | bcac12b9392a4dbfd225409137c0f9ecdfffd191 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | c |
int main(int argc, char* argv[])
{
int num,i,a,b,na=1;
double x[50],y[50],z[400];
double dis=0;
scanf("%d",&num);
for (i=1;i<=num;i++) {
scanf("%lf",&x[i]);
scanf("%lf",&y[i]);
}
for (a=1;a<=num;a++){
for(b=a+1;b<=num;b++){
z[na]=(x[a]-x[b])*(x[a]-x[b])+(y[a]-y[b])*(... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
29c8786fe4a68c0936c542669e20a679ee97e9ad | 342d01d22f453ef7cb6fea382da0071d71c418e4 | /moped-modeling-py/src/imundistort.cpp | 6a2207fc9a075d6115bfd4327bfc414acb1cbcd0 | [] | no_license | kanster/moped | 1ddf78cb2aa939e788fe0c0b5974797f58f46b87 | f8d74b6680915eca73265be656d72e7d346e1aa0 | refs/heads/master | 2021-01-19T04:25:16.861856 | 2016-08-01T02:08:29 | 2016-08-01T02:08:29 | 64,627,677 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,797 | cpp | /*********************************************************************
* imundistort
* Non-linear image undistortion, code taken from old version of OpenCV
*
* Written by Alvaro Collet acollet@cs.cmu.edu
* Copyright: Carnegie Mellon University
*
* DEPENDENCIES: This library requires boost.python and pyUblas.
*
******... | [
"vandeweg@users.noreply.github.com"
] | vandeweg@users.noreply.github.com |
8a3f19982f5084d19ca49a10930848a76f148de1 | 2780081bb046866b1449519cbe4dd78fbbf0719e | /XUL.framework/Versions/2.0/include/nsIDOMSVGAnimateTransformElement.h | 4d6df978eed9a2315bcffd9eef42d4e4e43a1399 | [] | no_license | edisonlee55/gluezilla-mac | d8b6535d2b36fc900eff837009372f033484a63f | 45d559edad7b5191430e139629d2aee918aa6654 | refs/heads/master | 2022-09-23T19:57:18.853517 | 2020-06-03T03:57:37 | 2020-06-03T03:57:37 | 267,499,676 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,416 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-2.0-xr-osx64-bld/build/dom/interfaces/svg/nsIDOMSVGAnimateTransformElement.idl
*/
#ifndef __gen_nsIDOMSVGAnimateTransformElement_h__
#define __gen_nsIDOMSVGAnimateTransformElement_h__
#ifndef __gen_nsIDOMSVGAnimationElement_h__
#include "nsIDOMSVGAni... | [
"edisonlee@edisonlee55.com"
] | edisonlee@edisonlee55.com |
0302f5bc028370bb3cc03cd253be8e87c0ec5bf7 | 63ffcd2798915ea9b9199cfd1d6ee6de319cff84 | /LeedCodeChallenge/2020/August2020/Week 1/Design HashSet.cpp | 8230ab9c60addf080ecdf4f7470e39ee6bb28c67 | [] | no_license | numenoreon/LeetCode | b8069990d30bda73809e21d304703eec0c979ed6 | 912fcc4c5f6a2eb8e95db48096d3d8f5e3eb8cf0 | refs/heads/master | 2021-09-01T16:26:26.190661 | 2021-08-24T19:49:29 | 2021-08-24T19:49:29 | 231,564,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,135 | cpp | class MyHashSet {
public:
vector<list<int>> vec;
MyHashSet() {
vec = vector<list<int>> (128);
}
inline int GetHash(int key) {
int h = hash<int>{}(key);
int hash_mod = h % vec.size();
return hash_mod;
}
void add(int key) {
int hash = GetHash(key)... | [
"numenoreon@gmail.com"
] | numenoreon@gmail.com |
13c8ae8a08f2ac1b4aa9fbaa5f2ac0dedc47dab1 | 2f6d39c2daf70ebaae90e72ca503f8b275d3572a | /test/instr/BundleReachVerify.cpp | 1cea068949838371374b8a1d4271ea2d15d1fbf8 | [
"MIT"
] | permissive | facebook/redex | 5a39c5b733e729ecb52101dd3f941a63f9fa32f0 | 36c6607be749ba2009210aae404d68cd57e747eb | refs/heads/main | 2023-09-01T18:21:21.839608 | 2023-09-01T02:01:59 | 2023-09-01T02:01:59 | 54,664,770 | 6,459 | 775 | MIT | 2023-08-25T00:06:04 | 2016-03-24T18:26:35 | C++ | UTF-8 | C++ | false | false | 852 | cpp | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "VerifyUtil.h"
TEST_F(PreVerify, BundleReachTest) {
EXPECT_NE(nullptr,
find_cla... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
902403dc3026d99d23e7385e62dc96b1aac0a562 | 49a0586dcba95aa09833b76bcd0800af628c80ee | /BMWCars/tests/test_model.cpp | af025fbc2abed55035a899a5cb9c81fb145a6ce2 | [] | no_license | kvpz/Dealer | 4de29c392575671d34a24442881683c6732a1ff8 | 7e25da5dfa46af77a4ac157d8c7e4c21518f8d7f | refs/heads/master | 2021-06-24T12:01:20.828719 | 2017-07-30T19:15:13 | 2017-07-30T19:15:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 117 | cpp | /*
Test class Model
*/
#include <iostream>
#include <model.hpp>
int main()
{
Model model;
return 0;
}
| [
"unknotted26@gmail.com"
] | unknotted26@gmail.com |
534cf464c9107b394243d6d6315a879b5a608a94 | 698a11c977d074f3ab3f7d59883ba5e2e6f41002 | /src/language/stringdata.cpp | dcda38ce066a669fa6311d6842652fbeb910bf1e | [] | no_license | jeffmeese/tiberius | d0d92ebb69cd761baf2d79b75290e55cf21c70ec | 5a058cea86126d0b04b324830d757e7ece0fb497 | refs/heads/master | 2023-02-25T19:01:27.095207 | 2021-01-29T20:08:17 | 2021-01-29T20:08:17 | 306,618,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,380 | cpp | #include "stringdata.h"
#include "stringdatagroup.h"
#include <QDebug>
#include <QDir>
#include <QFile>
#include <sstream>
#include <stdexcept>
StringData::StringData()
{
}
StringData::~StringData()
{
}
void StringData::addGroup(std::unique_ptr<StringDataGroup> textGroup)
{
mGroups.push_b... | [
"jmeese@DESKTOP-8IUC6VI.attlocal.net"
] | jmeese@DESKTOP-8IUC6VI.attlocal.net |
6f6231bcef9d9a8625b6cfa08c6c93839612281b | 8101a9dcde73f28dc59ab58244c3722e5c30d593 | /v3/SingleRelay.cpp | 39c44d20bb7aecb741b6ce4b9c767ea278efd289 | [] | no_license | winkste/esp8266_template | 8c8583c2321781ddc55a9b0ea38356aeb5b4370b | d324ed60753a4b2fcfc2fca38b2f842eec791df8 | refs/heads/master | 2021-08-26T05:34:56.133840 | 2017-11-21T20:05:13 | 2017-11-21T20:05:13 | 109,651,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,871 | cpp | /*****************************************************************************************
* FILENAME : SingleRelay.cpp
*
* DESCRIPTION :
* Implementation of the single relay shield.
*
* PUBLIC FUNCTIONS :
*
*
* NOTES :
*
*
* Copyright (c) [2017] [Stephan Wink]
*
* Permission is hereby granted, free of cha... | [
"stephan_wink@winkste-MBP.fritz.box"
] | stephan_wink@winkste-MBP.fritz.box |
b82a422506998aa858411bb7c6ef4de642ae32f6 | 282fa8dd9fd2e26b5ebf448c85121ed1bf873148 | /src/Common.h | fc2ccae7db358b3dd540ac093bb6215433e4d1ef | [] | no_license | fjgarciao/hustle_castle_bot_pack | ec8e71a1ea175a6790b187c64b0116f24b61d587 | 0ae16429e5da7d5bd69afdf1d28e15eaaa70e4d3 | refs/heads/master | 2020-04-20T17:15:36.817536 | 2019-02-03T21:32:10 | 2019-02-03T21:32:10 | 168,983,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | h | #pragma once
#include "pch.h"
cv::Point MatchingMethod(const cv::Mat &src, const cv::Mat &templ);
void GenerateDataForTrain();
int TestWinApi();
double Compare(const cv::Mat &a, const cv::Mat &b);
bool CompareFromTemplate(const cv::Mat &src, const cv::Mat &sample, const cv::Mat &tmpl);
bool MaskToRect(const cv::... | [
"denesic@gmail.com"
] | denesic@gmail.com |
5cc36906183916dab3372702e0245fa1d6caef42 | 4966b2e0985f0fc99214e4fb5442402efe8d1731 | /main.cpp | 5253067e89e9d7fa6bd8d89ea74c6fa3805615e6 | [] | no_license | tschmit/mbtpdfasm | 8bee6aada6bb12351639f38755c12abf4a702465 | d192725b91f042a89a664ffb8fada0d40965b756 | refs/heads/master | 2021-01-20T09:46:35.142361 | 2015-02-25T14:57:07 | 2015-02-25T14:57:07 | 90,286,479 | 2 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 35,443 | cpp | #ifdef WIN32
#pragma warning(disable : 4201)
#include <crtdbg.h>
// #include <windows.h>
#pragma warning(default: 4201)
#define snprintf _snprintf
#else
#include <string.h>
#include <unistd.h>
#define _snprintf snprintf
#define stricmp strcasecmp
#endif
#define DLL_EXPORTS
#define RES_BUF_GRO... | [
"thierry.schmit@gmail.com"
] | thierry.schmit@gmail.com |
7b9a21a80339d2a270bd8a7bf52cd8b8990e4887 | 3ea863d76752b3aa8a28a9a4c2eb25b664329536 | /bluetooth/bt.cpp | b6f8bf5ea79090037cdcce161029c91178600751 | [
"ICU"
] | permissive | yuht/CSR8811-Keil | e0289ffafbaa0be1cbd07a79bb53095ce3d6a91e | 7637fe443f8ede65082b249b9b61eb3e703d2a8f | refs/heads/master | 2021-01-18T18:41:52.419670 | 2019-04-04T02:12:11 | 2019-04-04T02:12:11 | 62,788,271 | 0 | 3 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 5,262 | cpp | #include "bt.h"
//#include "../../fc/conf.h"
//#include "pan1322.h"
#include "CSR8811.h"
//#define DEBUG_BT_ENABLED //¿ªÆôµ÷ÊÔ
#ifdef DEBUG_BT_ENABLED
#define DEBUG_BT(...) DEBUG(__VA_ARGS__)
#else
#define DEBUG_BT(...)
#endif
bool bt_autodetect = false;
uint8_t bt_module_type = BT_PAN1322;
pan1026 bt_pan1026... | [
"yuht@qq.com"
] | yuht@qq.com |
273e75b669669937d9d3796ba75c6ce892c19874 | 94dcc118f9492896d6781e5a3f59867eddfbc78a | /llvm/include/llvm/DebugInfo/PDB/Raw/StreamReader.h | 1897dfe147452edf0c3e147cf920cb8e752b67d5 | [
"NCSA",
"Apache-2.0"
] | permissive | vusec/safeinit | 43fd500b5a832cce2bd87696988b64a718a5d764 | 8425bc49497684fe16e0063190dec8c3c58dc81a | refs/heads/master | 2021-07-07T11:46:25.138899 | 2021-05-05T10:40:52 | 2021-05-05T10:40:52 | 76,794,423 | 22 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,649 | h | //===- StreamReader.h - Reads bytes and objects from a stream ---*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"fuzzie@fuzzie.org"
] | fuzzie@fuzzie.org |
7ee4cab57405bc4449d9bc11632eebef531e2125 | 52174bb20c8bb0edd671a780df84e989d5427fb2 | /src/irc.cpp | 4e6c19c5c042576a3f1b8631de18521fe2a6944a | [
"MIT"
] | permissive | sevenminer7/7coin | 44914548a63afa7ba28035ba97a376b33fa504ad | c8132d9980da7765348bfdf73c01c35fe9b4b3ce | refs/heads/master | 2020-06-03T06:40:55.397014 | 2014-01-23T22:35:12 | 2014-01-23T22:35:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,584 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Copyright (c) 2013 42 Developers
// Copyright (c) 2014 The 7 Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.op... | [
"sevenminer7@gmail.com"
] | sevenminer7@gmail.com |
38c633311279d17d9570a58320027f2ba58c23eb | b71a7dde138885229d78b958c085872f35cdd218 | /Applications/SpaceInvaders/BlocAliens.h | 3d7c1513274708d3654e178039804d3a29c66af2 | [] | no_license | Kporal/SuperCasseBriques | c2df7513f2f88c6d5bf500e01b05ff4a1388ca66 | bc48b15719f7e7d106681b525c323e4f6e1dec29 | refs/heads/master | 2016-09-06T01:29:04.629721 | 2013-10-31T22:43:49 | 2013-10-31T22:43:49 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,442 | h | /*
* BlocAliens.h
*
* Created on: 27 oct. 2008
* Author: Aurélien
*/
#ifndef BLOCALIENS_H_
#define BLOCALIENS_H_
#include "TimerSpaceInvaders.h"
#include <sextant/Activite/Threads.h>
#include "ConfigSpaceInvader.h"
#include "Entites/EntiteFactory.h"
#include "Random.h"
class Espace;
/*
* Bloc d'aliens.
... | [
"Guillaume@Samsung-Leloup"
] | Guillaume@Samsung-Leloup |
82e03e9a6b39875f4c811c3a64be83218993d023 | bb4d0899650ec41875a93ce053b9854221283bba | /contests/paiza_s/002.cpp | 2b8f43b64fa141e5441ac49376abc5ccfd6390e3 | [] | no_license | moosan63/my_competitive_programmings | 9c41a9ac9a95c5f404b1e697c75650b4a0076a0f | e507b15659e9c629839165f0f265eb624df8bda2 | refs/heads/master | 2020-05-19T17:04:27.378309 | 2020-01-27T10:15:32 | 2020-01-27T10:15:32 | 185,125,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,241 | cpp | #include <algorithm>
#include <bitset>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#define REP(i, b,... | [
"moosan63@gmail.com"
] | moosan63@gmail.com |
38ab5016f5a605ea7d7245f14ae0eeebd65862c6 | b38ab36ce6710bda9c495301d1d7b8769cfd454b | /projects/GoldMiner/Classes/SelectRoleAndPropMenu.cpp | 835bc0496f2f8f5738f24c7e297b4ebd29abfeaf | [] | no_license | wjf1616/TheMiners | 604fa141dbbe614a87ea88a1d9d9a4bc60678070 | afdb2eab217ad90434736d9580e942d5622bf929 | refs/heads/master | 2021-01-10T02:21:26.861908 | 2016-01-06T10:18:58 | 2016-01-06T10:18:58 | 48,987,660 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 83,442 | cpp | #include "SelectRoleAndPropMenu.h"
#include "Global.h"
#include "GoldenMinerScene.h"
#include "RoleInformation.h"
#include "Player.h"
#include "CartoonLayer.h"
#include "GameControl.h"
#include "LoadingLayer.h"
#include "PromptLayer.h"
USING_NS_CC;
USING_NS_CC_EXT;
#define SELECTROLEANDPROPMENU_YUN_ASI... | [
"wjf1616@163.com"
] | wjf1616@163.com |
8c01e1827671e8f5b39071e4785552c7bfa695e0 | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/core/scoring/methods/PoissonBoltzmannEnergy.cc | 15662387c08a9b217a5d3ed6d2f661418a2dbc8c | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 14,744 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
e846e6d07b6a7d776186246dccaac4c9bca34dba | cce1863b204ae1ed76f0e2b54ec8a121ee83e4dc | /VimbaCPP/Examples/AsynchronousGrab/Qt/Source/CameraObserver.h | 25a9683cdf2e9535e742e52e2270af73d9830a62 | [] | no_license | quminhdo/vimba | 0c54366f00cd8df3139bcd7887dd6771bbdc25b4 | 1203f1809e00d9deab8705c5867b8425a22f6355 | refs/heads/master | 2023-05-08T04:46:46.626769 | 2021-06-01T15:54:52 | 2021-06-01T15:54:52 | 367,311,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,441 | h | /*=============================================================================
Copyright (C) 2012 - 2016 Allied Vision Technologies. All Rights Reserved.
Redistribution of this file, in original or modified form, without
prior written consent of Allied Vision Technologies is prohibited.
----------------------... | [
"quminh.do@gmail.com"
] | quminh.do@gmail.com |
a296999c64bf652921262eb489da31bc1af5b18d | ce98a778117849e0c177c5c4e1dba55d83c01d43 | /src/OpenGL.h | 0c644175ce17cba7488b1212157f8fcbe42bfac7 | [] | no_license | swarzzy/sokoban | a965027a5362eed27fcdeabf9c55664a9d1c0dca | f61ef59d364e7565db0749e04aed1ff3cbd33d00 | refs/heads/master | 2020-07-01T03:35:16.188329 | 2020-02-15T15:33:38 | 2020-02-15T15:33:38 | 201,034,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67,597 | h | #pragma once
#if defined(__gl_h_)
#error gl/gl.h included somewhere
#endif
#include "soko_glcorearb.h"
#include "Platform.h"
// NOTE: Extensions
// ARB_texture_filter_anisotropic
#define GL_TEXTURE_MAX_ANISOTROPY_ARB 0x84FE
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_ARB 0x84FF
// ARB_gl_spirv
#define GL_SHADER_BINARY_FO... | [
"hbr.tzuf@yandex.ru"
] | hbr.tzuf@yandex.ru |
289ff4bd56770331322c3c04f4a1277d50d88e46 | c8958958e5802f3e04ce88bd4064eacb98ce2f97 | /森林中的兔子.cpp | f2ee5e95986e8944691d1c9096b268d5d495463c | [] | no_license | Kiids/OJ_Practice | 08e5ea99066421bfaf5b71e59eea24e282e39a24 | e7d36ddb1664635d27db3c37bec952970b77dcb0 | refs/heads/master | 2023-09-01T11:38:28.834187 | 2023-06-30T17:12:18 | 2023-06-30T17:12:18 | 217,068,695 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,641 | cpp | /*
森林中,每个兔子都有颜色。其中一些兔子(可能是全部)告诉你还有多少其他的兔子和自己有相同的颜色。我们将这些回答放在 answers 数组里。
返回森林中兔子的最少数量。
示例:
输入: answers = [1, 1, 2]
输出: 5
解释:
两只回答了 "1" 的兔子可能有相同的颜色,设为红色。
之后回答了 "2" 的兔子不会是红色,否则他们的回答会相互矛盾。
设回答了 "2" 的兔子为蓝色。
此外,森林中还应有另外 2 只蓝色兔子的回答没有包含在数组中。
因此森林中兔子的最少数量是 5: 3 只回答的和 2 只没有回答的。
输入: answers = [10, 10, 10]
输出: 11
输入: answers = [... | [
"1980774293@qq.com"
] | 1980774293@qq.com |
364cca4f7c1a1bf798424fb91eddfee3d9d81739 | d7db098f4b1d1cd7d32952ebde8106e1f297252e | /CodeChef/d.cpp | d8ed0927c34b9bc5693171121c0ab3eecdc372e8 | [] | no_license | monman53/online_judge | d1d3ce50f5a8a3364a259a78bb89980ce05b9419 | dec972d2b2b3922227d9eecaad607f1d9cc94434 | refs/heads/master | 2021-01-16T18:36:27.455888 | 2019-05-26T14:03:14 | 2019-05-26T14:03:14 | 25,679,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,607 | cpp | // header {{{
#include <bits/stdc++.h>
using namespace std;
// {U}{INT,LONG,LLONG}_{MAX,MIN}
#define INF INT_MAX/3
#define LLINF LLONG_MAX/3
#define MOD (1000000007LL)
#define MODA(a, b) a=((a)+(b))%MOD
#define MODP(a, b) a=((a)*(b))%MOD
#define inc(i, l, r) for(int i=(l);i<(r);i++)
#define d... | [
"monman.cs@gmail.com"
] | monman.cs@gmail.com |
037beb0fa5e70e5074fd6e92826630500efff0be | c766bece263e5149d0dbab04ea20308bf1191ab8 | /AdobeInDesignCCProductsSDK.2020/source/public/interfaces/architecture/IRecoveryList.h | 04aff3c384e8c02c0d6e757cd306adb8b8f673e5 | [] | no_license | stevenstong/adobe-tools | 37a36868619db90984d5303187305c9da1e024f7 | c74d61d882363a91da4938fd525b97f83084cb2e | refs/heads/master | 2022-04-08T17:31:35.516938 | 2020-03-18T20:57:40 | 2020-03-18T20:57:40 | 248,061,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,972 | h | //========================================================================================
//
// $File: //depot/devtech/15.0/plugin/source/public/interfaces/architecture/IRecoveryList.h $
//
// Owner: Roey Horns
//
// $Author: pmbuilder $
//
// $DateTime: 2019/10/11 10:48:01 $
//
// $Revision: #2 $
//
... | [
"steven.tong@hcl.com"
] | steven.tong@hcl.com |
a8efe39ed49af6aa38ecee392c58bb3865fc8421 | 44bf3ced806bcd72fc2476cd15c7143b6fc81dcc | /src/blend2d/bitarray.h | 28fe9f966ec98e58f63176514f14eb536fe8c6d2 | [
"Zlib"
] | permissive | blend2d/blend2d | 9bc48e614a0f1cda65cb0ceaafda709d4453ad85 | 99fc3aa9a1d113e913df67166d40d2a81bef1dcb | refs/heads/master | 2023-08-30T03:10:19.645400 | 2023-08-28T11:40:00 | 2023-08-28T11:40:00 | 16,447,163 | 1,305 | 112 | Zlib | 2023-05-01T08:16:41 | 2014-02-02T02:01:04 | C++ | UTF-8 | C++ | false | false | 18,771 | h | // This file is part of Blend2D project <https://blend2d.com>
//
// See blend2d.h or LICENSE.md for license and copyright information
// SPDX-License-Identifier: Zlib
#ifndef BLEND2D_BITARRAY_H
#define BLEND2D_BITARRAY_H
#include "object.h"
//! \addtogroup blend2d_api_globals
//! \{
//! \name BLBitArray - C API
//!... | [
"kobalicek.petr@gmail.com"
] | kobalicek.petr@gmail.com |
55ecc547b8fc58ad1b17429874cda8c64de397e6 | 3052e22574a9a8f36d3aa9ef8d7fcfd67808df31 | /test/view/ints.cpp | cb4511ad75a14813ad7b7eec085218aa8f51241c | [
"NCSA",
"MIT",
"BSL-1.0",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-other-permissive"
] | permissive | krzysztof-jusiak/range-v3 | 35bc90f6ede2cd03cf1896e121237a46a71cdd4e | 565394cc0c067b8b0bdfe00e1bbe94edc8378314 | refs/heads/master | 2021-01-18T20:06:21.519869 | 2016-04-21T15:36:54 | 2016-04-21T15:36:54 | 56,779,437 | 0 | 0 | null | 2016-04-21T14:15:27 | 2016-04-21T14:15:27 | null | UTF-8 | C++ | false | false | 2,398 | cpp | // Range v3 library
//
// Copyright Eric Niebler 2014
//
// Use, modification and distribution is subject to 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)
//
// Project home: https://github.com/ericniebler/range-v3
//
#inc... | [
"krzysztof@jusiak.net"
] | krzysztof@jusiak.net |
0f16cc5ea0c3a0319907371b6fe622320371203f | 529a4f10d008553636fb36a087684297cebee88e | /algorithm/cgal/DilateXY.h | 3f064033d0ff0393c2ac6d21387bbcdd705fbe3b | [
"MIT"
] | permissive | jsxcad/JSxCAD | fba3f55a5b442d078814fc727f01c5b18e03545e | 962689c323d29b4ef97ec9fcc95218e6ec011a51 | refs/heads/master | 2023-08-09T17:58:35.062711 | 2023-08-03T14:41:52 | 2023-08-03T14:41:52 | 173,755,199 | 36 | 13 | MIT | 2023-09-11T15:07:13 | 2019-03-04T13:59:33 | JavaScript | UTF-8 | C++ | false | false | 1,441 | h | #include <CGAL/Nef_polyhedron_3.h>
#include <CGAL/minkowski_sum_3.h>
int DilateXY(Geometry* geometry, double amount) {
typedef CGAL::Nef_polyhedron_3<Kernel> Nef_polyhedron;
size_t size = geometry->getSize();
geometry->copyInputMeshesToOutputMeshes();
geometry->transformToAbsoluteFrame();
Nef_polyhedron t... | [
"brian.spilsbury@gmail.com"
] | brian.spilsbury@gmail.com |
e550cc89d58fd577b9fef7ff1efb178850126569 | f0ae9b02d6b471e2631e66c84e880be583c9ef97 | /plugin/hook.h | caf59269d3e8961526b00b81d58fdcf1df9f5dd6 | [
"BSD-2-Clause"
] | permissive | Bloodhacker/samp-plugin-crashdetect | a995386735d38ce29d42cce8699d549543f175aa | 96a001f754ed90604e536af8b64cb36e20755667 | refs/heads/master | 2021-01-16T17:10:17.084452 | 2013-08-31T17:19:46 | 2013-08-31T17:19:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,801 | h | // Copyright (c) 2011-2013 Zeex
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions an... | [
"zeex@rocketmail.com"
] | zeex@rocketmail.com |
1187934589becdabe6e8787cef140290c7e1a622 | 563def4f397c5e130fb9282d72cbe9a942522f99 | /outdir/nv_small/spec/manual/NVDLA_GEC_reg_c/ordt_pio_common.cpp | 775d53d32f0ba515a915bc16636b5b7a7754e730 | [] | no_license | Allahfan/nvdla_change | 8311f581b6776cb531e504d6998ab8da583e36e2 | cadd45ead29ff7a11970dc3f3b19b22e84d43fcb | refs/heads/master | 2020-08-16T00:42:34.123345 | 2019-10-16T01:50:52 | 2019-10-16T01:50:52 | 215,432,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,107 | cpp | // Ordt 171103.01 autogenerated file
// Input: NVDLA_GEC.rdl
// Parms: opendla.parms
// Date: Tue Jun 25 16:49:26 CST 2019
//
#include "ordt_pio_common.hpp"
// ------------------ ordt_data methods ------------------
ordt_data::ordt_data()
: std::vector<uint32_t>() {
}
ordt_data::ordt_data(int _size, uint... | [
"1978573841@qq.com"
] | 1978573841@qq.com |
d8d0cb1d0a4ac59feed63366c58a1270f7874b19 | 99f10345da76d84c1d4400e3798bde8ca72d6875 | /src/methods.cpp | ade1ebcae7bab117d79246fc29f7bea6c8bd3694 | [] | no_license | Drvanon/tinyweb | caee17ab6f09cdd94e6e7e7ef6dc8dc98e86186e | ec522028f9843ca7f93eef2537f0191dbbe1e95b | refs/heads/master | 2020-08-04T16:18:19.874413 | 2020-06-15T14:38:20 | 2020-06-15T14:38:20 | 212,199,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | cpp | #include "methods.h"
namespace tinyweb
{
METHODS string_to_method (std::string str) {
METHODS method;
if (str == "GET") {
method = METHODS::GET;
} else if (str == "HEAD") {
method = METHODS::HEAD;
} else if (str == "POST") {
method = METHODS::POST... | [
"robin@gridt.org"
] | robin@gridt.org |
582bb799285e8290274d2bfa819fc5cbbf134697 | 19048fa3c92b3a01209de30023afd9e82f19284d | /2018组队/2013-2014 ACM-ICPC Northeastern European Regional Contest (NEERC 13)/e.cpp | 07dbe7f78f8785ad53515c9cce5b007dd6ede895 | [] | no_license | fblogy/code | b73d1172f4e58f9ecbe1ffbcac925070cbd10881 | ae8bded0caced69d0248bfcbd2396d6aa745820a | refs/heads/master | 2020-03-25T16:53:03.864473 | 2019-07-01T07:57:31 | 2019-07-01T07:57:31 | 134,960,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,920 | cpp | #include<bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define rep(i, a, b) for(int i=(a); i<(b); i++)
#define per(i, a, b) for(int i=(b)-1; i>=(a); i--)
#define sz(a) (int)a.size()
#define de(a) cout << #a << " = " << a << endl
#define dd(a) cout << #a... | [
"39649744+fblogy@users.noreply.github.com"
] | 39649744+fblogy@users.noreply.github.com |
adae3f407367db6fc5eb491c20ea994749db384c | a0b5820634469419965dd6b2439f29f3603c4c8e | /Hobot_conf/driver/c++/src/driver_common.cc | 7dec67ee45bdc27b45612572c4a524932a65c5dc | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | zhuzy-xys/conf_schedule | 84ad343e36f2cadf030247962409ee3ac5f5206c | 1d5ca0e7f8e6131141b075d370f0e186401bb377 | refs/heads/master | 2020-03-16T21:23:46.170662 | 2018-06-04T14:59:13 | 2018-06-04T14:59:13 | 132,997,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | cc | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "hconf_errno.h"
#include "driver_common.h"
int init_hconf_batch_nodes(hconf_batch_nodes *bnodes)
{
if (NULL == bnodes) return HCONF_ERR_PARAM;
memset((void*)bnodes, 0, sizeof(hconf_batch_nodes));
return HCONF_OK;
}
int destroy_hconf_ba... | [
"17702514160@163.com"
] | 17702514160@163.com |
2a27df84d68a1be1402d24d1f6ef7bf22d147f5b | b677894966f2ae2d0585a31f163a362e41a3eae0 | /ns3/ns-3.26/src/lte/model/epc-enb-s1-sap.h | 2d3224eb9bf808e04da6c80f787f2b7518c40345 | [
"LicenseRef-scancode-free-unknown",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | cyliustack/clusim | 667a9eef2e1ea8dad1511fd405f3191d150a04a8 | cbedcf671ba19fded26e4776c0e068f81f068dfd | refs/heads/master | 2022-10-06T20:14:43.052930 | 2022-10-01T19:42:19 | 2022-10-01T19:42:19 | 99,692,344 | 7 | 3 | Apache-2.0 | 2018-07-04T10:09:24 | 2017-08-08T12:51:33 | Python | UTF-8 | C++ | false | false | 6,292 | h | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Fre... | [
"you@example.com"
] | you@example.com |
2ca00c247f1b73dd8f8cdb6ad83ca7a4814de196 | 60d718b01b6c1adbab2ec072836e5826c3985f3a | /QxOrm/src/QxDao/QxSqlRelationParams.cpp | d3628a4371ec1027945ee1edb0f7154c3c9227cb | [] | no_license | jpush/jchat-windows | 1084127d0ce39ad00a344661f265e5d65389c186 | e782268c8d04ffad5d6e9a69308fad30b583603e | refs/heads/master | 2022-01-14T06:35:47.571133 | 2019-05-14T05:32:42 | 2019-05-14T05:42:19 | 106,393,361 | 19 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,955 | cpp | /****************************************************************************
**
** http://www.qxorm.com/
** Copyright (C) 2013 Lionel Marty (contact@qxorm.com)
**
** This file is part of the QxOrm library
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors ... | [
"wangshun@jiguang.cn"
] | wangshun@jiguang.cn |
ff5aea193b1ace4cf434caa5988825afce526de3 | 3a3b2ff8f104bc68a47408fb1fe43a14371222a1 | /include/GLUtils.h | f440da9b44f793628b691c7860defd880f16f877 | [] | no_license | easterbunny273/BambooEngine | 33ef13ebd3be60ff3fffbf314a8a723ca448cee7 | f2cef8a95f56091a872a03faa41be4e79a1c8b0a | refs/heads/master | 2020-04-10T15:18:05.783569 | 2012-10-28T22:34:09 | 2012-10-28T22:34:09 | 2,694,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,555 | h | /*
* header file for Logger class
* written by: christian moellinger <ch.moellinger@gmail.com>
* written by: florian spechtenhauser <florian.spechtenhauser@gmail.com>
* 07/2011, Project Cube
*/
#ifndef __COMMON_OPENGL_HEADER
#define __COMMON_OPENGL_HEADER
//include extension wrapper - important: necessary to inc... | [
"ch.moellinger@gmail.com"
] | ch.moellinger@gmail.com |
46f5fa8b6b7a6ca4293269043aca818aa3fa2ba0 | 9bf063f6c46777d15e82a1ab45d5a03449412fe4 | /rewards/RewardRuleResolver.cpp | 3aaa91fb9fd62c2f04783ef47cdf9bcc3fce120b | [] | no_license | arctgarg/rewards_calculator | 7b68e4a9497ab3e4846f80eb7da64bb1c322cdd8 | ebbb5e3292652f6385a7afacad54c6ca84e175cf | refs/heads/master | 2021-01-07T21:59:48.187876 | 2020-02-24T18:00:29 | 2020-02-24T18:00:29 | 241,831,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,828 | cpp | //
// Created by agarg145 on 2/16/20.
//
#include "RewardRuleResolver.h"
#include "CSVReader.h"
#include <math.h>
#include <iostream>
using std::vector;
RewardRule RewardRuleResolver::findApplicableRule(const Transaction &transaction) {
int matchingParamterCount = 0;
RewardRule matchingRule;
for(auto rul... | [
"agarg145@bloomberg.net"
] | agarg145@bloomberg.net |
35940afb25ad9c8bbbc75fe1ca9ecf895a17506d | ec68c973b7cd3821dd70ed6787497a0f808e18e1 | /Cpp/SDK/Trait_ArmorPiercer_classes.h | fae08e15c3097cbc3204baef5d9c9c7ea025c330 | [] | no_license | Hengle/zRemnant-SDK | 05be5801567a8cf67e8b03c50010f590d4e2599d | be2d99fb54f44a09ca52abc5f898e665964a24cb | refs/heads/main | 2023-07-16T04:44:43.113226 | 2021-08-27T14:26:40 | 2021-08-27T14:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | h | #pragma once
// Name: Remnant, Version: 1.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
2336d798a900927071cf8fc5764e3132b2fa311f | 6afa2c437044c1f6015ccbb8bada7bb84d0bea53 | /Catch Mind/Client Catch Mind/Client Catch Mind/Object.h | f2cd32d5783dbb93c710aa62e56c1f061dc44322 | [] | no_license | nskogkatt/CatchMind | 3642fd443a02d565051cbc801d4f1d3e3bd5644c | 20cd6ea0c47b546fd51434b3a5cfd9d0179ba1dc | refs/heads/master | 2020-04-15T18:44:37.852790 | 2019-01-27T06:21:55 | 2019-01-27T06:21:55 | 164,908,459 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | h | #pragma once
#include "ResManager.h"
#include "../../Common/defineSize.h"
class Bitmap;
class Object
{
protected:
RECT m_rcRect;
bool m_bLive;
public:
virtual void Init(int iIndex, Bitmap** pBitmap, RECT rcRect);
virtual void Draw() = 0;
virtual bool InputMouseLButtonDown(POINT& ptMouse);
virtual void SetLi... | [
"43883216+nskogkatt@users.noreply.github.com"
] | 43883216+nskogkatt@users.noreply.github.com |
bc5facd964781422812694115e3a0b0b10b737e2 | 93edd9b5a7ae05fa6a16ffc86418b5de465490f6 | /programmers/깊이너비우선탐색/단어변환/word_jiwon.cpp | 5ee3bd4f9db8ac714e75f8152cc88e6eac3536b5 | [] | no_license | Yellin36/LOGO-algorithm | dbc0590d5fdc22d74652aa009d988272ad98e281 | 2da7f99aeca36ec982c324e132e030e0dfe8e724 | refs/heads/master | 2023-05-07T01:34:21.883476 | 2021-05-25T17:04:57 | 2021-05-25T17:04:57 | 329,848,372 | 3 | 0 | null | 2021-05-25T17:04:57 | 2021-01-15T08:08:28 | C++ | UTF-8 | C++ | false | false | 930 | cpp | #include <string>
#include <vector>
using namespace std;
bool visit[51];
int answer = 51;
void DFS(string begin, string target, int cnt, vector<string> words){
if(begin == target){
if(answer>cnt)
answer = cnt;
return;
}
for(int i=0;i<words.size();i++){
if(!visit[i... | [
"tjfdnjs0829@naver.com"
] | tjfdnjs0829@naver.com |
3add123ba8aec226ee8ea688157cb92ba4755ff9 | 66684ef8257e424ae24af6a25379bbb64eec7436 | /union/models/VertexBuffer.cpp | 06a34b99b4af166abc7009f07d4e043c689fb6ea | [] | no_license | sergey-shambir/toAlexeyMalov | d39aa416649583f1a2c056fdb268ff0278908b83 | f0bc5c9119e3954e97df9adeb4b05614d874773c | refs/heads/master | 2020-05-29T12:03:33.817310 | 2015-10-15T22:59:34 | 2015-10-15T22:59:34 | 8,674,751 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,730 | cpp | #include "VertexBuffer.h"
#include "../helpers/ResourceHeap.h"
#include <GL/glew.h>
#include <stdexcept>
namespace GL {
static unsigned bufferConstructor()
{
if (!GLEW_VERSION_1_5)
{
throw std::runtime_error("ERROR: hardware requirement missed - OpenGL >= 1.5,"
" upda... | [
"sergey.shambir.auto@gmail.com"
] | sergey.shambir.auto@gmail.com |
a86dba580cfd434305edc5db4fce93f479c4d022 | dfb7297f114bbff7a89fea86cb9b8e0e16243d01 | /CCF-CSP/CCF-CSP/17-09-2.cpp | 9a0a399969e39b888cfa22d8a46c7868b0e77282 | [] | no_license | rainingapple/algorithm-competition-code | c06bd549d44e14c64e808d7026a0204d285f1fb3 | 809bff5cdf092568de47def7d24d36edef8d0c1e | refs/heads/main | 2023-03-30T13:11:23.359366 | 2021-04-09T01:29:18 | 2021-04-09T01:29:18 | 343,407,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,357 | cpp | //#include<iostream>
//#include<vector>
//#include<queue>
//#include<map>
//#include<algorithm>
//using namespace std;
//struct node {
// int no;
// int flag;
// int time;
// node(int a, int b, int c) :no(a), flag(b), time(c) {}
//};
//int n, k;
//int key[1005];
//vector<node> action;
//priority_queue<in... | [
"825140645@qq.com"
] | 825140645@qq.com |
71e35f1a22ee8a004b8d5fb436e57ffa7b3c5373 | e199dc22cf988d78b9290ce2757cdd5ad849f9c6 | /PeisikInterpreter/Program.cpp | 1a08e0a6c894db391dbfdf19430267f46ee01ef5 | [
"MIT"
] | permissive | polsys/Peisik | 9c42545339dc2e5d3d48045b06f72c2733e21f3a | 5c55a41c4f4154b0ee2f23f9cbde576401c20832 | refs/heads/master | 2021-01-20T14:23:40.681288 | 2018-05-01T13:34:36 | 2018-05-01T13:34:36 | 90,603,083 | 0 | 0 | null | 2018-02-03T13:24:57 | 2017-05-08T08:15:27 | C# | UTF-8 | C++ | false | false | 5,416 | cpp | #include "pch.h"
#include "Bytecode.h"
#include "PeisikException.h"
#include "Program.h"
using namespace Peisik;
/*
* Function
*/
const std::vector<BytecodeOp>& Function::GetBytecode() const
{
return m_bytecode;
}
short Peisik::Function::GetFunctionIndex() const
{
return m_functionIndex;
}
const std::vec... | [
"polsys@users.noreply.github.com"
] | polsys@users.noreply.github.com |
2ccf0594afd4a3ea05ab188343450a75a6aebecf | 3e5ae9b260b16fcc86bb0669c1bd4e56912b5433 | /VCB600ENU1/MSDN_VCB/SAMPLES/VC98/MFC/GENERAL/CTRLTEST/PAREDIT.H | de5d922bbc77169d7ddba37f0e5be63a44adabd2 | [] | no_license | briancpark/deitel-cpp | e8612c7011c9d9d748290419ae2708d2f3f11543 | 90cdae5661718e65ab945bcf45fe6adff30c1e10 | refs/heads/main | 2023-06-14T14:07:05.497253 | 2021-07-05T01:46:04 | 2021-07-05T01:46:04 | 382,984,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,094 | h | // paredit.h: C++ derived edit control for numbers/letters etc
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference an... | [
"briancpark@berkeley.edu"
] | briancpark@berkeley.edu |
7302ba3093297dcbc882a8a0177dee1b164535a1 | f2f43c78369b0cf0ab522f0b0078098810b83504 | /Project/Encrypted Storage/WebServerESP8266/TimeNtp.h | 7ebaccad843cdc91fd2c0b0f203e9387de0ef70e | [
"MIT"
] | permissive | sebsalva/OpenThermostat-1 | 41bf8c0fac2a6e0b82e402461e22ef2ab2dd4318 | 8b3a85f92342c05687564ccd85e9777c446fa97c | refs/heads/master | 2021-11-29T08:42:30.050250 | 2018-03-23T00:24:49 | 2018-03-23T00:24:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | h | #ifndef TimeNtp_h
#define TimeNtp_h
#include <TimeLib.h>
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#include "Application.h"
class TimeNtp
{
private:
static TimeNtp* getTimeObject;
WiFiUDP Udp;
// default NTP Servers:
String ntpServerName = "fr.pool.ntp.org";
uint8_t timeZone = 2; // paris france
uns... | [
"gryfenflash@gmail.com"
] | gryfenflash@gmail.com |
f40b485776ab82587c3247d710f906465efc0e79 | 7c34490a04ec37a171398e098c68911ec93e57ae | /winvnc/winvnc/vncbuffer.h | aa6ad0c74e6863e0eca860fc77441763b77ad3e3 | [] | no_license | larytet/UltraVNC-SC | 20344b1e9ae0a7eb19138ec96a1bbc63aee62d8a | 882b3c2be385ad536d24550f69cb129f094e3fbf | refs/heads/master | 2020-07-04T06:32:33.131632 | 2016-09-12T09:51:59 | 2016-09-12T09:51:59 | 67,602,481 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,237 | h | // Copyright (C) 2002 Ultr@VNC Team Members. All Rights Reserved.
// Copyright (C) 2002 RealVNC Ltd. All Rights Reserved.
// Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.
//
// This file is part of the VNC system.
//
// The VNC system is free software; you can redistribute it and/or mo... | [
"larytet@yahoo.com"
] | larytet@yahoo.com |
fe44916d20c011139bee3e70175a6244a1318938 | 7ce390d147542a2cfaf198c66fb40494bb75e5ed | /project-files/dms/neurolib/KohonenNet.cpp | 1da7b484a09f5a29f7a65a3ef18eac91e11995f5 | [] | no_license | Nikita94/Data-Mining-Tool-System | 2b51f6f7ff452264a9adc438a4560341477bb242 | faf4f9d3d9abd5b2630267c6cb0d29e6ed8f0086 | refs/heads/master | 2020-01-23T21:40:35.842420 | 2018-03-11T11:58:11 | 2018-03-11T11:58:11 | 74,689,923 | 0 | 0 | null | 2016-11-24T16:36:29 | 2016-11-24T16:36:29 | null | UTF-8 | C++ | false | false | 10,856 | cpp | #include "KohonenNet.h"
#include "KohonenPretrain.h"
#include <algorithm>
#include "mkl_cblas.h"
using namespace nnets_kohonen;
int nnets_kohonen::getDistance(int neuron1, int neuron2, void* obj)
{
KohonenNet* kn = static_cast<KohonenNet*>(obj);
NeuronIndex n1 = kn->neuron_index_map[neuron1];
NeuronIndex n2 = kn-... | [
"michael_smirnov@me.com"
] | michael_smirnov@me.com |
d378b8c6adef327b5745512eb5ce60410c5df4c5 | 59fbad8202b6e67777305bf9eef5fd9635735d7d | /Engine/Code/Engine/Math/MathUtil.cpp | 90b8babdf2634f254058d8293ba533b881a2839a | [] | no_license | neesarg-yb/N-gene | da22a533112f8824ed3b3179adbd2acf08512f10 | 3f7f16683e0c543f566636e1576c9d663d6d5282 | refs/heads/master | 2020-03-19T08:58:57.927495 | 2019-05-07T07:33:04 | 2019-05-07T07:34:50 | 136,250,286 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,717 | cpp | #pragma once
#include "MathUtil.hpp"
#include "Engine/Math/Vector2.hpp"
using namespace std;
bool AreEqualFloats( float a, float b, uint ulp )
{
float absDiff = std::fabsf( a - b );
float absSum = std::fabsf( a + b );
// the machine epsilon has to be scaled to the magnitude of the values used
// and multiplied b... | [
"neesarg.banglawala@gmail.com"
] | neesarg.banglawala@gmail.com |
68d1a3aa3b6dda18a976ea83b9f827a1c55f3bf9 | 5d021944aea1c741592c00d274af013af51eda6d | /Code/libraries/utilities/include/datxio/utilities/key_conversion.hpp | f1dfdea20f829a55f764515cc1932de491b72526 | [
"MIT"
] | permissive | railliu/DATx | 4596865f0c9e5c0e56f787218b973f884c4ee7f0 | f5f782c0101f8c4af65bcb892668e524bd37f836 | refs/heads/master | 2020-04-01T23:01:59.059667 | 2018-10-18T03:25:40 | 2018-10-18T03:25:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | hpp | /**
* @file
* @copyright defined in datx/LICENSE.txt
*/
#pragma once
#include <string>
#include <fc/crypto/elliptic.hpp>
#include <fc/optional.hpp>
namespace datxio { namespace utilities {
std::string key_to_wif(const fc::sha256& private_secret );
std::string key_to... | [
"tsfdsong@163.com"
] | tsfdsong@163.com |
adb2df9bf51608c419518c7331626e579a7b2fc4 | 16804ada1f93742f075f9a3c79201f514d1cd950 | /Graph/1557. Minimum Number of Vertices to Reach All Nodes /MinimumNumberOfVerticesToReachAllNodes.cpp | 68e4a29cca2b126c7327071ca707988bfb2e8ca1 | [] | no_license | Jack--Ma/LeetCode | feff40b3aa880c62ff98e5812fb1a961f44caee9 | 86a10dc3adc6dc95e0bbd92be1ad7ac23e76f3b5 | refs/heads/master | 2023-06-13T01:14:37.706610 | 2023-06-05T15:09:43 | 2023-06-05T15:09:43 | 63,851,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,996 | cpp | //
// MinimumNumberOfVerticesToReachAllNodes.cpp
// LeetCode-main
//
// Created by jackma on 2022/3/28.
// Copyright © 2022 JackMa. All rights reserved.
//
#include "MinimumNumberOfVerticesToReachAllNodes.hpp"
/**
Given a directed acyclic graph, with n vertices numbered from 0 to n-1, and an array edges where ed... | [
"100858433@qq.com"
] | 100858433@qq.com |
09138c47f29e7679be97843d2c9a8a779e856be5 | 1d3496037ed70eab651a69ad607ce0a331b34f60 | /algo/endterm/d.cpp | 9e7b5b3d11bc01ffaf2c6cab12fd792a8dda92c6 | [] | no_license | olzhas-b/algorithm-data-structure | 90f00961585aef6796df9859d5554445bc8212c0 | 72803bbe9fbd772fd9233307051df21bfac16e95 | refs/heads/master | 2023-05-05T08:30:29.978262 | 2021-06-03T18:10:30 | 2021-06-03T18:10:30 | 373,599,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int n; cin >> n;
vector<int> v(n);
vector<long long> mx(3);
for(int i = 0; i < n; i++) {
cin >> v[i];
}
for(int i = 0; i < min(3, n); i++) {
mx[i] = v[i];
}
for (int j = 0; j < 2; j++)
for (int k = 0;... | [
"oljas.bazarbekov15@gmail.com"
] | oljas.bazarbekov15@gmail.com |
237972b191730d218b4f91b296c6cfb027f81bcc | 1482f91b80a80fac5a890d946f2256603adeba05 | /FitTemplateWf.hxx | 04fa07901207e4d649065679ea407acee9cf8fba | [] | no_license | kirbybri/FitTemplate | b4765c3c7c6142434cb0cf4c2da4aa2eae83a215 | 91d425261c9354641a63ab0bcf18aae80c2e2452 | refs/heads/master | 2020-09-01T17:51:18.207480 | 2019-11-24T01:30:34 | 2019-11-24T01:30:34 | 219,020,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,539 | hxx | #include <iostream>
#include <stdlib.h>
#include <math.h>
#include "TMinuit.h"
///////////TEMPLATE DATA CLASS/////////////////
class TemplateData {
private:
public:
TemplateData();
~TemplateData();
void addTemplate(const std::vector<double>& val, double period);
void getSignalValue(double time, double offset,... | [
"kirbybri@gmail.com"
] | kirbybri@gmail.com |
e6d4d7c71b2db0956ec6785eabe82e2372f7fbda | b451767f16cd2b9501285ba3dc57cbd163944828 | /ocminutes.h | 44485fb6890f50adef619c89d300e761d02bd8e2 | [] | no_license | othelarian/othy_clock3 | 42b06d77775e0afc61053f46382e6823a21a501c | f006393c4a77b50c8294c44f3023e128cb141711 | refs/heads/master | 2021-01-22T23:00:45.997609 | 2017-04-21T15:28:14 | 2017-04-21T15:28:14 | 85,596,919 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | h | #ifndef OCMINUTES_H
#define OCMINUTES_H
#include <QQuickItem>
#include <QQuickPaintedItem>
#include "ocsettings.h"
// OCminutesTicks class #################
class OCminutesTicks : public QQuickPaintedItem
{
Q_OBJECT
public:
OCminutesTicks(QQuickItem *parent = 0);
void paint(QPainter *painter);
//
};... | [
"le.maitre.killian@gmail.com"
] | le.maitre.killian@gmail.com |
778aef1fa47dba76184954eff0a2a748af79690f | 2d568794c70ab5b8f5bae284c757be4fbf230bcd | /0018-4sum.cpp | d450b3b3c1b78adaa4ee7f6255b77f4a5d54ed6d | [
"MIT"
] | permissive | lwcM/leetcode_solution | 5fc3d3a943db97a415a1f987954caf4aa9de7566 | a5e714a9785fd94e530396d93c81f71fd8b9c1b6 | refs/heads/master | 2020-03-28T12:54:01.669006 | 2018-09-20T06:39:10 | 2018-09-20T06:39:10 | 148,344,855 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | static const auto __=[]{
ios::sync_with_stdio(false);
cin.tie(nullptr);
return nullptr;
}();
class Solution {
public:
vector<vector<int>> fourSum(vector<int>& nums, int target) {
sort(nums.begin(), nums.end());
vector<vector<int>> v;
for(int i=0; i<nums.size(); i++) {
... | [
"lwc@lwcs-MacBook-Pro.local"
] | lwc@lwcs-MacBook-Pro.local |
feb0663c6a363b147cb749411c51b29f741190ca | be31580024b7fb89884cfc9f7e8b8c4f5af67cfa | /CTDL1/New folder/VC/VCWizards/CodeWiz/MFC/Simple/Templates/3082/dhtmldlg.cpp | a056084dd68e91ef4a54dc8fddd6e6eb9c099acd | [] | no_license | Dat0309/CTDL-GT1 | eebb73a24bd4fecf0ddb8428805017e88e4ad9da | 8b5a7ed4f98e5d553bf3c284cd165ae2bd7c5dcc | refs/heads/main | 2023-06-09T23:04:49.994095 | 2021-06-23T03:34:47 | 2021-06-23T03:34:47 | 379,462,390 | 1 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 3,016 | cpp | // [!output IMPL_FILE]: archivo de implementación
//
#include "stdafx.h"
[!if PROJECT_NAME_HEADER]
#include "[!output PROJECT_NAME].h"
[!endif]
#include "[!output HEADER_FILE]"
[!if !MERGE_FILE]
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
[!endif]
// Cuadro de diálogo de [!output CLASS_NAME]
IMPLEMENT_DYNCREATE([!o... | [
"71766267+Dat0309@users.noreply.github.com"
] | 71766267+Dat0309@users.noreply.github.com |
28fd3ad1b270540d5b40f132774f9490893279be | 694df92026911544a83df9a1f3c2c6b321e86916 | /c++/Inherit/VirtualFunctionWithException.cpp | f3529fca71cc3d3b3bcffa7c620b56ce584c4fd2 | [
"MIT"
] | permissive | taku-xhift/labo | f485ae87f01c2f45e4ef1a2a919cda7e571e3f13 | 89dc28fdb602c7992c6f31920714225f83a11218 | refs/heads/main | 2021-12-10T21:19:29.152175 | 2021-08-14T21:08:51 | 2021-08-14T21:08:51 | 81,219,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp |
#include <iostream>
#include <typeinfo>
class Base {
virtual void print() = 0;
};
class Derived
: public Base
{
public:
void print() throw() {
std::cout << typeid(this).name() << std::endl;
}
};
int main() {
Derived derived;
derived.print();
}
| [
"shishido_takuya@xhift.com"
] | shishido_takuya@xhift.com |
d4c5984a537ef245ce7531679fa84ef42021bef5 | 96ee331287ddffd513ed3a0a1ba9f6ffb64119a7 | /算法与数据结构/合并K个有序链表.cpp | 1fe404f117dc387bae15894ca5de53d5a60a6613 | [] | no_license | noahyzhang/IT- | be2c1f19cd27266563d273407ede1b1c7055b9d5 | 6e5657e52a56f9387318b4aa5357ea3b72d24c1d | refs/heads/master | 2022-01-19T20:17:46.594942 | 2019-06-24T03:53:17 | 2019-06-24T03:53:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,339 | cpp | #include<iostream>
#include<vector>
#include<string>
#include<queue>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
ListNode* List(vector<int>& vec)
{
ListNode* head = new ListNode(vec[0]);
ListNode* tmp = head;
for (int i = 1; i < vec.size(); ++i)
... | [
"13572252156@163.com"
] | 13572252156@163.com |
abdfc8de00cc3aa13d2c44d5d40b28cd2b107e60 | cad35287bc893aaef3761af2079a4ad08db2299c | /client/cpp/src/tarscli/util/include/util/tc_enable_shared_from_this.h | 187f0f1ba37526f89cfc5aaae4decd9908564330 | [
"Apache-2.0"
] | permissive | foolishantcat/CxxDBC | 3eafb94b6c1532a2ac236392be8544182206a9e9 | f0f9e95baad72318e7fe53231aeca2ffa4a8b574 | refs/heads/master | 2021-09-25T21:23:11.977712 | 2018-10-25T17:19:46 | 2018-10-25T17:19:46 | 272,710,881 | 1 | 0 | Apache-2.0 | 2020-06-16T13:08:34 | 2020-06-16T13:08:33 | null | UTF-8 | C++ | false | false | 2,167 | h | /**
* Tencent is pleased to support the open source community by making Tars available.
*
* Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
* in compliance with the License. You may obtain a c... | [
"cxxjava@163.com"
] | cxxjava@163.com |
8fc0ec893dff64d8bfd3e2eb740e5433193f81b2 | e5474f6051792fd2aaeb970bb9ce0fe6d4ea656c | /include/sigma/graphics/opengl/static_mesh_manager.hpp | 20834adcc969313907a27b7387fff43dc30ca6d2 | [] | no_license | sigma-engine/sigma-opengl | 2906c65e8b1591ce204b6725c494df916f523d95 | f38c8fb891f4324690b95ad73906cba077363b79 | refs/heads/master | 2020-03-28T09:38:47.614165 | 2019-03-31T16:32:25 | 2019-03-31T16:32:25 | 148,048,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,934 | hpp | #ifndef SIGMA_ENGINE_STATIC_MESH_MANAGER_HPP
#define SIGMA_ENGINE_STATIC_MESH_MANAGER_HPP
#include <sigma/graphics/static_mesh.hpp>
#include <sigma/buddy_array_allocator.hpp>
#include <sigma/config.hpp>
#include <sigma/resource/cache.hpp>
#include <glad/glad.h>
#include <cstddef>
#define VERTEX_BLOCK_SIZE 64
#defi... | [
"siegelaaron94@gmail.com"
] | siegelaaron94@gmail.com |
15f494bd7f799352f6018d9f93f3a4861bec5e4b | 43119a707e0ab4790a4bda74bb40f1715f906b56 | /Regular_Batch/1b_HelloWorld_EXPLAINED.cpp | f2f22b1517f79b68e51afb376235961d0c544317 | [] | no_license | gouthamkrishnakv/csea-secondyr-workshop | 6098a56f9d7bc1a8c2a1007fa2bcc0fe6179d2b9 | 296005a5f1c30e702d3bdce032964bc95d92654c | refs/heads/master | 2023-01-29T03:52:18.993832 | 2019-01-08T18:32:37 | 2019-01-08T18:32:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 997 | cpp | // YOUR FIRST PROGRAM
// ANYTHING STARTING WITH A '#'IS CALLED A PREPROCESSOR DIRECTIVE.
// THIS TELLS THE COMPILER WHAT TO DO BEFORE COMPILATION,
// LIKE ADDING OTHER LIBRARIES, DEFINING MACROS (WE'LL GO THROUGH THAT LATER).
// 'include' DIRECTIVE TELLS THE COMPILER WHICH ALL LIBRARIES TO INCLUDE BEFORE EXECUTION
// ... | [
"gauthamkrishna9991@live.com"
] | gauthamkrishna9991@live.com |
4e33ca5c39bf307186c60a7d5203e063d72f154a | 864431c315f13c034b11c1475bb5baf2a81cbd9f | /Kernel/ThreadBlockers.cpp | d1e8b2cbb567bf6eefcf28911debf029c95a68e9 | [
"BSD-2-Clause"
] | permissive | zbennett10/serenity | de653b4db637b9e62f817813192105c515359bc4 | 47a4a5ac1d3631a3df0a2b9f8c242b2decec826a | refs/heads/master | 2023-02-19T03:35:48.662438 | 2021-01-21T10:34:46 | 2021-01-21T10:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,936 | cpp | /*
* Copyright (c) 2020, The SerenityOS developers.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* ... | [
"kling@serenityos.org"
] | kling@serenityos.org |
56aa4a9b3c5b73f7db659a71b55d7b97b06292fc | 48e7dfc263778cc53d56e055f5c4c48fa1d29efc | /Source/Aren/Pawns/CampPawn.cpp | da0b6e989db45ea7ced068f818c488845624b4d9 | [] | no_license | JBeluche/aren | 11955c84e6c26148c67bfbd2de21716fb4012061 | 32f76a073b4193f080c840d640e6541673242dfb | refs/heads/master | 2023-06-06T18:00:25.485477 | 2021-07-08T13:50:47 | 2021-07-08T13:50:47 | 339,785,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Aren/Pawns/CampPawn.h"
#include "GameFramework/SpringArmComponent.h"
#include "Camera/CameraComponent.h"
// Sets default values
ACampPawn::ACampPawn()
{
// Set this pawn to call Tick() every frame. You can turn this off to im... | [
"j.beluche@outlook.com"
] | j.beluche@outlook.com |
9fb62648e7f50d9df404100717c76480710acc92 | 0b63fa8325233e25478b76d0b4a9a6ee3070056d | /src/appleseed/foundation/utility/xmlelement.h | 9f827ae98500567f674b88dbbd2763b9b0655cc4 | [
"MIT"
] | permissive | hipopotamo-hipotalamo/appleseed | e8c61ccec64baf01b6aeb3cde4dd3031d37ece17 | eaf07e3e602218a35711e7495ac633ce210c6078 | refs/heads/master | 2020-12-07T02:39:27.454003 | 2013-10-29T13:10:59 | 2013-10-29T13:10:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,307 | h |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
//
// Permission is hereby granted, free of charge, to any person obtaining ... | [
"beaune@aist.enst.fr"
] | beaune@aist.enst.fr |
a0297eb043e3e7166b311fe4ffb9e638e304d3b0 | 51ea7d94c07acce8afd538a2b1b011a8c2082362 | /programs/dataSource/cdatatransfer.cpp | bd59d1295272b307d223296e1ae19207025736b9 | [] | no_license | noachain/dapp | 29ecb9c5606c804289bdfbe3a3bdea9c46f8a62f | 27dfcb63b988d771e792dd7282feb22a27809028 | refs/heads/master | 2020-03-21T22:27:42.632232 | 2018-06-29T09:19:33 | 2018-06-29T09:19:33 | 139,127,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | cpp | #include "cdatatransfer.h"
using namespace std;
CDataTransfer::CDataTransfer()
{
}
void CDataTransfer::initIpfs()
{
}
void CDataTransfer::uploadMetadata(const std::string &strUrl, int eLoadType)
{
}
void CDataTransfer::downloadMetadata(const std::string &strIpfsHash, int eDownloadSaveType)
{
}
void CDataTransf... | [
"paizzj@126.com"
] | paizzj@126.com |
ff77aa8f6b1e8b328486db160b5d90fc4c76cbee | aa887833c7c5fc6557dae37eef325e14743bbbd3 | /3.cpp | a4a0d6f8a24fdb56c568ba5a35a5d247faeac153 | [] | no_license | qpwo2468/github-upload | f28dba6949e2d7d4f5d674282ed4f389fa45b0e3 | e7e1e921aa10ee8b5e37d3afa2c75c52154c814d | refs/heads/master | 2022-10-23T04:43:53.000605 | 2020-06-05T02:18:59 | 2020-06-05T02:18:59 | 269,505,187 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,987 | cpp | /*
题目:
输入一个链表,按链表从尾到头的顺序返回一个ArrayList。
思路:
1. 使用栈保存链表,然后存入vector
2. 使用递归操作(写法简单,但不推荐,容易爆)
3. 直接存入vector, 然后反转
4. 反转链表存入vector
*/
#include <iostream>
#include <vector>
#include <stack>
#include <algorithm>
using namespace std;
struct ListNode
{
int val;
struct ListNode* next;
ListNode(i... | [
"songyj@7invensun.com"
] | songyj@7invensun.com |
24a8ec802831ae3a87b95a5f69c8013751f4b74e | d9fa902ccf801f9ab78b316e35573e21328754e8 | /src/Werk/Utility/Action.cpp | a315f24b5bbafdd634a1bd7fd8cb947485fabd88 | [
"MIT"
] | permissive | kelvinxue/Werk | 9f3d3925067c7303a2a73cc02aed98a17e7229b5 | d972df393d0e2945ea3d2a388c11e4421b9db5d9 | refs/heads/master | 2020-03-27T14:54:05.134853 | 2018-01-05T02:04:55 | 2018-01-05T02:04:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | cpp |
/*
* Copyright (c) 2015-2018 Agalmic Ventures LLC (www.agalmicventures.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* ri... | [
"ihutchinson@agalmicventures.com"
] | ihutchinson@agalmicventures.com |
06f44310aedad1cb8e3ce34061e376fea99bd70d | 6446c6e0649895e8b8fc6442e334f92641df4d15 | /branches/0.5.2.Stoepsel/EScript/Statements/SetAttribute.cpp | 46d9f2062d3605043c9f2125eb0ed48d1a67c366 | [] | no_license | BackupTheBerlios/escript-svn | e33b5dc2192de09b62078cfcec38ad8eec61747a | 36b2e5f69adb768214cd05204a47cf03c09eba9e | refs/heads/master | 2016-08-04T17:36:45.234689 | 2014-01-06T20:08:03 | 2014-01-06T20:08:03 | 40,668,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,431 | cpp | // SetAttribute.cpp
// This file is part of the EScript programming language.
// See copyright notice in EScript.h
// ------------------------------------------------------
#include "SetAttribute.h"
#include "../Runtime/Runtime.h"
#include "../Objects/Void.h"
#include <iostream>
using namespace EScript;
//... | [
"claudiusj@5693b1fc-3b75-4070-9b6b-3ce3692a40d5"
] | claudiusj@5693b1fc-3b75-4070-9b6b-3ce3692a40d5 |
2bc968f11026d8035bf2914bd44da2bfd5d37a7b | 04248e705f7ccd9b7900a880b445261b98286cc6 | /project/src/skinning/skeleton_joint.hpp | 9b079fe04683bcd241f78d72f132419d53988651 | [] | no_license | jeanyves-yang/skinning | 68360bb5727c59fc9725ea2b6460504a7b284d61 | 3a37b79e24bf19c48461e7039c1fb62126f2d1fb | refs/heads/master | 2021-01-10T08:59:11.976023 | 2015-11-18T16:48:06 | 2015-11-18T16:48:06 | 46,427,539 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | hpp | /*
** TP CPE Lyon
** Copyright (C) 2015 Damien Rohmer
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later ve... | [
"jean-yves.yang@mastertp"
] | jean-yves.yang@mastertp |
73bdbfd715f3ccc7607bcd04c76a594ad1c15ad5 | 6df0e4923493e9b8576df58c4615fe7d9041895a | /DWT.cpp | 3c7d87f3ad4e734745a7ed36e1b2532b72f31199 | [] | no_license | liyuglikz/CoSaMP | 3dc80e2a301d762fd58df1c48578e6d4a2425b4c | 1a4d3c55017a96af21edcf31784d324567dd5f81 | refs/heads/master | 2020-03-28T22:10:32.040859 | 2015-07-28T16:41:38 | 2015-07-28T16:41:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,197 | cpp |
#include <math.h>
#include <iostream>
#include "head.h"
//using namespace std;
int shift=4;
double *h, *h1;
double p_alfa, p_beta, p_gama, p_delta, p_kesa,p_t=0.730174 ;
void filterset(double t)
{
h = new double [9];
h1 = new double [7];
*h = (8*t*t*t-6*t*t+3*t)/(1+2*t)*(1/32.)*sqrt(2.0);
*(h+1) = (-16*t*t*t+20... | [
"jtao@cct.lsu.edu"
] | jtao@cct.lsu.edu |
1e8ddc2f2fca3bf8b4f5b56b50f707a29d7c36d3 | 28f0faf491453700d8a0e0dfa1fbcb7e0d088544 | /OpenGL/PointLight.cpp | d0c743cb6ab545d2160dea9dfe60d2547934644e | [] | no_license | Zoreno/OpenGLTest | 492755d9e91b03baf2d640a20e9af1e1cd27df66 | 8cab00671e9ece224f5554489527d15aba70997c | refs/heads/master | 2021-01-11T15:42:37.196670 | 2017-03-03T00:31:25 | 2017-03-03T00:31:25 | 79,905,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | #include "PointLight.h"
PointLight::PointLight(
const glm::vec3& position,
const glm::vec3& ambient,
const glm::vec3& diffuse,
const glm::vec3& specular,
float constant,
float linear,
float quadratic)
: position(position),
ambient(ambient),
diffuse(diffuse),
specular(specular),
constant(constant),
linear(... | [
"metallica317@spray.se"
] | metallica317@spray.se |
7897d4f4f641cbf4f1b95b5b42715112a1727630 | fe91ffa11707887e4cdddde8f386a8c8e724aa58 | /net/reporting/reporting_delivery_agent_unittest.cc | 893cdd61eb28ee88d3b2d31eceb564afdc674162 | [
"BSD-3-Clause"
] | permissive | akshaymarch7/chromium | 78baac2b45526031846ccbaeca96c639d1d60ace | d273c844a313b1e527dec0d59ce70c95fd2bd458 | refs/heads/master | 2023-02-26T23:48:03.686055 | 2020-04-15T01:20:07 | 2020-04-15T01:20:07 | 255,778,651 | 2 | 1 | BSD-3-Clause | 2020-04-15T02:04:56 | 2020-04-15T02:04:55 | null | UTF-8 | C++ | false | false | 21,755 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/reporting/reporting_delivery_agent.h"
#include <vector>
#include "base/json/json_reader.h"
#include "base/test/simple_test_tick_clock.h"
#... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
bc0679f28b5ee780523ba98919ca70e73b655901 | 8726add10e5cfcb399b68456e1068c0e09fd8111 | /HelloWorld.cxx | 3a7e0a3bfa2ddc3c807504a2b55d499622f3f726 | [] | no_license | El-Sadeh/DDS-Hello-world | f537b6737af0e13d03c85eab2f918a8cee288731 | 64e1a4aeae59200c9f1b1a6aec34d4c24f795f59 | refs/heads/master | 2020-08-21T21:10:27.894170 | 2019-10-24T05:11:44 | 2019-10-24T05:11:44 | 216,246,407 | 0 | 0 | null | 2019-10-22T11:27:50 | 2019-10-19T17:41:30 | C++ | UTF-8 | C++ | false | false | 6,819 | cxx |
/*
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
This file was generated from HelloWorld.idl using "rtiddsgen".
The rtiddsgen tool is part of the RTI Connext distribution.
For more information, type 'rtiddsgen -help' at a command shell
or consult the RTI Connext manual.
*/
#include <iosfwd>
#include <iomanip... | [
"elelbaz10@hotmail.com"
] | elelbaz10@hotmail.com |
add2850a9928772499918a9ae1ff604212d0ea80 | cf1e0056e6ae530ff8ef1d25df3d973dea16bb0c | /Source/GA/GAAudioManager.cpp | 6267f4b0a03001f5427c2da40507a5dee980826c | [
"Apache-2.0"
] | permissive | JackHarb89/ga2014 | aa8c2a6ed4cb7031e8688dcfab6b66d013746c53 | 2d63e0f423ede52071605039a64eed4db792cb43 | refs/heads/master | 2016-09-06T08:49:36.178535 | 2014-08-08T05:28:59 | 2014-08-08T05:28:59 | 32,894,085 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180 | cpp | #include "GA.h"
#include "GAEnemy.h"
#include "GAAudioManager.h"
AGAAudioManager::AGAAudioManager(const class FPostConstructInitializeProperties& PCIP)
: Super(PCIP)
{
} | [
"Jack_Harb@gmx.de@435454b9-d0bb-46eb-8854-52d2cd3ebfb7"
] | Jack_Harb@gmx.de@435454b9-d0bb-46eb-8854-52d2cd3ebfb7 |
09484d18a46e402660bdad767decead2a5a7551b | dba51dd933ab25e691adba397c064b48804196a9 | /tdef-list/main.cpp | 6964ac560ef6a1a393abffde226d1a969745465a | [
"MIT"
] | permissive | Alirezaies/DataStructures | 342fd04688beecee2f2dcea5cc77d1f0fd583f84 | 2a4558edede6e412e06d918ec8c8c89d1cb28c64 | refs/heads/master | 2021-01-23T16:50:23.870217 | 2017-07-01T07:17:42 | 2017-07-01T07:17:42 | 93,306,127 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include "include/TArray.h"
#include <iostream>
using namespace std;
int main(){
TArray s(10);
s.append('C');
s.append('F');
s.append('H');
s.Traverse();
cout<<"==========="<<endl;
cout<<"Item 0: "<<s.getItem(0)<<endl;
cout<<"==========="<<endl;
s.add('K', 0);
s.add('K', 2);... | [
"sadegh@webgo.ir"
] | sadegh@webgo.ir |
e068ef174f7e2324f4cd6bed5f74587bea5693cc | f7eab131cd86ba217db9d8246024150931a68011 | /034.Search.for.a.Range.cpp | a7929db79ae0c3d2cd3df16cefb42b854f8d056c | [
"Unlicense"
] | permissive | limingjie/LeetCode | 068cee66139a176c798db3caa84541221211fe2d | 0a303ed71276fb1f94988a4b360f49a6a94a325a | refs/heads/master | 2016-08-03T15:18:02.697782 | 2015-09-16T10:44:13 | 2015-09-16T10:44:13 | 42,525,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | cpp | class Solution {
public:
vector<int> searchRange(vector<int>& nums, int target) {
int l = 0;
int h = nums.size() - 1;
int m;
vector<int> result;
// find first
while (l <= h)
{
m = l + (h - l) / 2;
if (nums[m] >= target)
{
... | [
"limingjie@outlook.com"
] | limingjie@outlook.com |
43f455b59616b809d377b57037d6f12e48ae83e1 | d69d609c0c80aade62c98f583c671dc0b27d0b27 | /Public_const_and_structs.h | b59f2a22882951cf9eab0f4547b1fb63f101be95 | [] | no_license | shakedguy/Tetris_Project | a525d6332153df3d75e4ce59dd452fbe106024a7 | 235827d5308e6bb35d41ba4e69557dabcea04cea | refs/heads/master | 2023-05-08T15:56:13.000791 | 2021-05-31T20:10:08 | 2021-05-31T20:10:08 | 350,011,730 | 0 | 0 | null | 2021-04-28T16:14:13 | 2021-03-21T13:47:41 | C++ | UTF-8 | C++ | false | false | 1,191 | h | /***************************************
Header file for the consts and structs of all the project.
***************************************/
#ifndef _CONSTS_STRUCTS_H_
#define _CONSTS_STRUCTS_H_
/* In this file all the const parameters of the project will be written,
* so if we will want to change sizes, locations ... | [
"shakedguy94@gmail.com"
] | shakedguy94@gmail.com |
9ce16692f7e6562d181eb15eee5e75d15b3ffec8 | 09c8013df6d4ca010706b5de1ec48b259f395e76 | /MiniJVM/include/buffer.h | e8b2b7682316b4eb60a964a3cc4cf94e780fa5b8 | [
"MIT"
] | permissive | lanrobin/minijvm | e048270c571327d4972678e1f0215b90684c477e | d6056012494656669a6665c981e6b23d8d121df8 | refs/heads/master | 2022-09-09T08:13:00.287176 | 2020-05-31T14:25:33 | 2020-05-31T14:25:33 | 258,674,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | h | #ifndef __JVM_BUFFER_READER__
#define __JVM_BUFFER_READER__
#include "base_type.h"
#include "platform.h"
#include <iostream>
using std::istream;
struct Buffer {
private:
u1* buffer;
size_t read_pos;
size_t buffer_size;
// 这个有可能没有。
wstring mappingFromFile;
public:
Buffer(istream& is, const wstring & fromFile = s... | [
"rorbbin@gmail.com"
] | rorbbin@gmail.com |
3703b6060c6d655d7e1c7042266c4650f760b1b6 | 0c2b97c6ded5fdec68cb1496d8e26d19d74c856a | /12_13/12_13main.cpp | a328ed06220010e0fd9ad05cacee9832db29e62c | [] | no_license | 17mappingchengguo/cheng_guo | bcce55d9fe0fb89712d6345bdd705d92b8c4b6e4 | 470ec8357ab81df941eb1c461373ebf280044799 | refs/heads/master | 2020-04-02T06:25:36.368439 | 2019-04-21T11:57:20 | 2019-04-21T11:57:20 | 154,147,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | cpp | #include <iostream>
#include <vector>
#include "Shape.h"
#include "TwoDimensionalShape.h"
#include "ThreeDimensionalShape.h"
#include "Circle.h"
#include "Square.h"
#include "Sphere.h"
#include "Cube.h"
using namespace std;
int main()
{
vector < Shape * > shapes( 4 );
shapes[ 0 ] = new Circle( 3.5, 6, 9 );
s... | [
"2186479577@qq.com"
] | 2186479577@qq.com |
d083605808c6abdb36dc6b1e45c6ed168b9da357 | 0308ca5b152a082c1a206a1a136fd45e79b48143 | /usvao/prototype/ipac/stk/include/ipac/stk/json/JSONOutput.inl | f4ab03c33a14c768e89e0a8e989a038a856410c4 | [] | no_license | Schwarzam/usvirtualobservatory | b609bf21a09c187b70e311a4c857516284049c31 | 53fe6c14cc9312d048326acfa25377e3eac59858 | refs/heads/master | 2022-03-28T23:38:58.847018 | 2019-11-27T16:05:47 | 2019-11-27T16:05:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,685 | inl | /*************************************************************************
Copyright (c) 2014, California Institute of Technology, Pasadena,
California, under cooperative agreement 0834235 between the California
Institute of Technology and the National Science Foundation/National
Aeronautics and Space Adm... | [
"usvirtualobservatory@5a1e9bf7-f4d4-f7d4-5b89-e7d39643c4b5"
] | usvirtualobservatory@5a1e9bf7-f4d4-f7d4-5b89-e7d39643c4b5 |
4b0321d406120bee0ba9ff0f82c28212b0d64088 | 4f371e57ae035bd57c3de5c6190274d271c26d33 | /cpp/binary.cpp | ecd95a483e945e646c5fde247f184f3d96d2a9e0 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jailuthra/misc | 3df82fde3d28156099153a8f658da349d1cf4a85 | 782d6a8e6154f1a52a3b818bde26ac07e00912c2 | refs/heads/master | 2021-05-16T02:34:19.860380 | 2019-10-07T08:22:21 | 2020-04-22T01:37:04 | 6,692,678 | 0 | 1 | MIT | 2020-04-22T01:37:06 | 2012-11-14T18:34:08 | C | UTF-8 | C++ | false | false | 881 | cpp | #include<iostream>
using namespace std;
int main() {
int i, n, num, beg, end, mid, a[100], pos, flag=0;
cout << "Enter the size of the array: ";
cin >> n;
cout << "Enter the elements in ascending order of magnitude, one by one:\n";
for (i=0; i<n; i++)
cin >> a[i];
beg = 0;
end = n-... | [
"me@jailuthra.in"
] | me@jailuthra.in |
6ea9b7e7db52f6f90ef820f1dda19e797104e93a | 8e389f896a61cb2abab75616f0f2223aef6eeae7 | /count-occurences-of-anagrams.cpp | 7eae3f802d3908fadf4e8e29dc22af72edf4f035 | [] | no_license | PrateekRanjanSingh/Algorithms | 92304ebef9eb9835e7af1906adf9fb7cc3d5332b | 0cf2a326da21207e0083fd73e407f412b3910c09 | refs/heads/master | 2020-04-09T03:02:23.247855 | 2019-07-31T07:05:26 | 2019-07-31T07:05:26 | 159,966,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | #include <bits/stdc++.h>
#define MAX 256
using namespace std;
bool compare(int ar1[],int ar2[])
{
for(int i = 0;i<256;i++)
{
if(ar1[i]!=ar2[i]) return false;
}
return true;
}
int main() {
//code
int t;
cin >> t;
while(t--)
{
string s,c;
cin >> s >> c;
int ar1[256] = {0};
... | [
"prateekranjansingh@gmail.com"
] | prateekranjansingh@gmail.com |
d415f2987b6e9639fec55ee23c1a7ab5dd2f6a9b | 2fa764b33e15edd3b53175456f7df61a594f0bb5 | /appseed/aura/primitive/collection/collection_key_sort_array.cpp | f721b925a3dd0ee6d24ede3e4e4f74bb2740a6c7 | [] | no_license | PeterAlfonsLoch/app | 5f6ac8f92d7f468bc99e0811537380fcbd828f65 | 268d0c7083d9be366529e4049adedc71d90e516e | refs/heads/master | 2021-01-01T17:44:15.914503 | 2017-07-23T16:58:08 | 2017-07-23T16:58:08 | 98,142,329 | 1 | 0 | null | 2017-07-24T02:44:10 | 2017-07-24T02:44:10 | null | UTF-8 | C++ | false | false | 25 | cpp | //#include "framework.h"
| [
"camilox_porting_to_android@ca2.cc"
] | camilox_porting_to_android@ca2.cc |
a764755d2c576c94078e700ec70790a0ed24c099 | 33c4e40cb9a97b289229140d258dc934e70582a8 | /mcg/src/external/BSR/include/concurrent/threads/synchronization/synchronizables/synchronizable.hh | c9499d83db9e2f25649d3f67e8c93e2ea4864695 | [
"AGPL-3.0-or-later",
"AGPL-3.0-only",
"BSD-2-Clause-Views",
"BSD-2-Clause"
] | permissive | jinlinyi/rcnn-depth | f6930ceee71593b1fd6cc9ab21cc6b9143f61962 | c00da4a8b3df43a5df5e44d1820feb30bd6b2d7d | refs/heads/master | 2020-03-27T02:06:14.194595 | 2018-09-01T05:16:09 | 2018-09-01T05:16:09 | 145,766,652 | 0 | 0 | BSD-2-Clause | 2018-08-22T21:49:47 | 2018-08-22T21:49:47 | null | UTF-8 | C++ | false | false | 2,906 | hh | /*
* Synchronizable interface.
*
* This abstract base class provides an interface for controlling read and
* write access to objects by different threads. A thread requesting a
* particular type of access is suspended until that request is granted.
*/
#ifndef CONCURRENT__THREADS__SYNCHRONIZATION__SYNCHRONIZAB... | [
"saurabhgupta.iitd@gmail.com"
] | saurabhgupta.iitd@gmail.com |
8c872a2c984629f3c7a84c4d2b438c5fdd743f0c | 354fa96a6a33fb5f590b61b946490393fae832e9 | /test/thread_pool_test.cpp | c1f1d22c40776eb4fd0fb0d9f26eedeb04b0e7ba | [] | no_license | hpplinux/Mushroom | d0b23937496b01f09749638ee4e0a8e261b2c0d7 | 10f373f2266894a4d9dc6f505a05a3510bfde733 | refs/heads/master | 2021-01-13T03:18:33.789001 | 2016-11-30T08:20:23 | 2016-11-30T08:20:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,261 | cpp | /**
* > Author: UncP
* > Mail: 770778010@qq.com
* > Github: https://www.github.com/UncP/Mushroom
* > Description:
*
* > Created Time: 2016-10-17 13:50:46
**/
#include <iostream>
#include <fstream>
#include "../src/db.hpp"
#include "../src/iterator.hpp"
#include "../src/thread_pool.hpp"
i... | [
"770778010@qq.com"
] | 770778010@qq.com |
399e8343414249682be50d7d0d63ba261f42847e | ca3449d1291ae8e93f88a56c5c9032103f730106 | /LilEngie/Core/src/Entity/Components/Text.h | df0fd9d91cfcaffcb24d3f3e27d1aab6483c6f3a | [
"MIT"
] | permissive | Nordaj/LilEngie | f1d38304ffabb55f2d21272179db0d3b2697e6c4 | 453cee13c45ae33abe2665e1446fc90e67b1117a | refs/heads/master | 2020-03-18T17:28:15.097151 | 2018-09-02T04:10:48 | 2018-09-02T04:10:48 | 135,031,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | h | #pragma once
#include <string>
#include <glm/glm.hpp>
#include <Entity/Component.h>
#include <Graphics/Text/TextRenderer.h>
class Text : public Component
{
public:
TextRenderer renderer;
Text(GameObject *obj);
COMPONENT_ID("Text")
};
| [
"Nordajnapmach@gmail.com"
] | Nordajnapmach@gmail.com |
c3a5f92df2a2d2bc7a423324c71eea4f6ea27e9f | b1fa90f76f916d29b5d68b7048268f4d8b71c111 | /src/lightspeed/base/serialize/pointers.h | c6d9b38d7a217b03af7f28c9f18396efd49cabaf | [
"MIT"
] | permissive | ondra-novak/lightspeed | 742092dbf5925027a7c4281f61b008fcd18a40e5 | 21028adb7e47bebd264e02978da5edd7463ef621 | refs/heads/master | 2021-01-24T06:35:55.151750 | 2019-12-13T12:56:21 | 2019-12-13T12:56:21 | 27,496,470 | 2 | 2 | null | 2015-08-19T14:50:36 | 2014-12-03T16:32:35 | C++ | UTF-8 | C++ | false | false | 3,393 | h | #pragma once
#include "basicTypes.h"
#include "serializer.h"
#include "../containers/optional.h"
namespace LightSpeed {
///Interface to serialize pointer
/**
Interface need define type of used serializer and type of base,
which is common to all objects that will be serialized by this interface.
... | [
"ondra-novak@email.cz"
] | ondra-novak@email.cz |
0b6c87acc4c06776cf09ff9f17e424c76b60008e | e97481996e8d4b58e1c390fb41ffa5166acff0ff | /nall/mosaic/parser.hpp | 5d68cd83f0503db28a83fb1d0759137a7665716c | [
"ISC"
] | permissive | kode54/resampler_iir | 9dafd38fbe5f3a903933a826b73f37fd0228dc0a | 95671c6735e964c8dd93dd0fc96cdbdc137aa4db | refs/heads/master | 2021-01-20T18:20:34.052590 | 2016-06-04T01:04:07 | 2016-06-04T01:04:07 | 60,292,227 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,613 | hpp | #pragma once
namespace nall { namespace mosaic {
struct parser {
//export from bitstream to canvas
auto load(bitstream& stream, uint64_t offset, context& ctx, uint width, uint height) -> void {
canvas.allocate(width, height);
canvas.fill(ctx.paddingColor);
parse(1, stream, offset, ctx, width, height);... | [
"kode54@gmail.com"
] | kode54@gmail.com |
6180943f293eae98e8e8b668b157f908c98a6829 | 240c51a603afb9d587c0bb24fc05fb15c9c5138f | /sketchbook/libraries/Motor/Motor.h | 3e5107e34610e01238b3af5bbe4f1b32d2d262a4 | [] | no_license | RingOfFireOrg/FT2014 | b8a294ccb4cb860dfb7fb8204bf28a383dfc27d8 | dec11c8572db0cf48a8fa7652e6cf78c6749c4dc | refs/heads/master | 2021-01-19T14:07:35.183855 | 2014-12-18T02:58:15 | 2014-12-18T02:58:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | h | /*
* This is the implementation file that goes with Motor.h
* It gives control of a motor attached to DFRobotics Motor Shield for the
* Arduino. The constructor needs the pin numbers for the enable pin
* that controls direction (HIGH/LOW) and for the pwm pin that controls
* speed. It should work for pretty much ... | [
"slaveofschool@gmail.com"
] | slaveofschool@gmail.com |
247af74cbb0d64d50a0ca0aee0c463afa9762cef | bc1c43d7ebb8fbb23d022f1554e1639285f276b2 | /osl/core/osl/progress.cc | 7a6d672794eaa5141fb5f78503c67e51a15fbe9e | [] | no_license | ai5/gpsfish | d1eafdece0c7c203c32603892ff9263a8fbcba59 | b6ed91f77478fdb51b8747e2fcd78042d79271d5 | refs/heads/master | 2020-12-24T06:54:11.062234 | 2016-07-02T20:42:10 | 2016-07-02T20:42:10 | 62,468,733 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,869 | cc | #include "osl/progress.h"
#include "osl/eval/weights.h"
#include "osl/eval/midgame.h"
#include "osl/eval/minorPiece.h"
#include "osl/additionalEffect.h"
#include "osl/bits/centering5x3.h"
#include "osl/oslConfig.h"
#include <iostream>
#include <fstream>
bool osl::progress::ml::
operator==(const NewProgressData& l, con... | [
"taibarax@gmail.com"
] | taibarax@gmail.com |
022392c4c105dc5e097c76117bc9271712296625 | 081153422168d9feb8795a8ebeeb6b4414b74ae2 | /Source/PluginEditor.cpp | 1f6e2793c2cb2b4ce9c04837cf8be5e29aa2d623 | [] | no_license | sam-trolland/AudioMidiRecorderPlugin | c17cc5ec6d6178ce1d6ec7215143f903d9f85718 | 64ee869a936dd7c08007eb0f89efd7e363b91a52 | refs/heads/master | 2023-06-29T04:15:41.819901 | 2021-02-24T07:23:35 | 2021-02-24T07:23:35 | 341,801,566 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,908 | cpp | /*
==============================================================================
This file contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#include "PluginProcessor.h"
#include "PluginEditor.h"
//=================... | [
"sam.trolland@gmail.com"
] | sam.trolland@gmail.com |
0152fabf06fffcd99982919d88c4184a4955b8f8 | e6559df51c2a14256962c3757073a491ea66de7c | /URI/1884 - Lutando Contra os Rajasi.cpp | 4831a3903716bcb8ba5aa31b7ddf0cbe49bf9c87 | [] | no_license | Maycon708/Maratona | c30eaedc3ee39d69582b0ed1a60f31ad8d666d43 | b6d07582544c230e67c23a20e1a1be99d4b47576 | refs/heads/master | 2020-04-25T23:37:53.992330 | 2019-02-28T17:10:25 | 2019-02-28T17:10:25 | 143,191,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,530 | cpp | #include <bits/stdc++.h>
#define INF 0x3F3F3F3F
#define rep(i, a, b) for(int i = int(a); i < int(b); i++)
#define it(i, a) for( typeof( a.begin() ) i = a.begin(); i != a.end(); i++ )
#define pb push_back
#define pi 3.1415926535897932384626433832795028841971
#define debug(x) cout << #x << " = " << x << endl;
#define d... | [
"mayconalves@gea.inatel.br"
] | mayconalves@gea.inatel.br |
2e970856caac6a2998f677547a6f6b4688adfa2d | 64f0586e989f1b02b4543d696b4d2b308aa8046f | /DemoGame2D/DemoGame2D/Common_Fuc.h | a93871ad4f56d1921d3e0961b4d2efa32cc820d5 | [] | no_license | hado-569/GameFirePlane | 7b1ec457bd16bcb92bb67cb3e4724e9a1e3bce93 | bf4f225568696dac89f639a911056ffd22488dcd | refs/heads/main | 2023-01-22T11:43:55.513239 | 2020-11-22T12:18:19 | 2020-11-22T12:18:19 | 315,029,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,094 | h | #ifndef _COMMON_FUNC_H_
#define _COMMON_FUNC_H_
#include <iostream>
#include <Windows.h>
#include <SDL.h>
#include <string>
#include <SDL_image.h>
#include <SDL_ttf.h>
const int BKG_WIDTH(4000);
const int BKG_HEIGHT(702);
const int SCREEN_WIDTH(1000);
const int SCREEN_HEIGHT(702);
const int SCREEN_BPP(32);
const i... | [
"tonglao686@gmail.com"
] | tonglao686@gmail.com |
ccc94a2b3da68d09a83b0aeed6a8c9d01c9ec120 | 092dd56a1bf9357466c05d0f5aedf240cec1a27b | /tests/mmstests/linearelasticity/nofaults-3d/GravityRefState3D.hh | 8ffafb49979afe54de969d5806487c507b2e0d3c | [
"MIT"
] | permissive | rwalkerlewis/pylith | cef02d5543e99a3e778a1c530967e6b5f1d5dcba | c5f872c6afff004a06311d36ac078133a30abd99 | refs/heads/main | 2023-08-24T18:27:30.877550 | 2023-06-21T22:03:01 | 2023-06-21T22:03:01 | 154,047,591 | 0 | 0 | MIT | 2018-10-21T20:05:59 | 2018-10-21T20:05:59 | null | UTF-8 | C++ | false | false | 1,153 | hh | // -*- C++ -*-
//
// ----------------------------------------------------------------------
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University at Buffalo
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... | [
"baagaard@usgs.gov"
] | baagaard@usgs.gov |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.