blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cbe0f9bd239e4a87358e8da6f9eb7308744f4d58 | 23ddb434cce3feda32b34f6903d884f42718c084 | /minicurso_arduino/codigosFuente/reto_06_c/reto_06_c.ino | 77e7e45b8ff20ade20efc91c211c23d474b1e2e0 | [] | no_license | pedroruizf/arduino | 54b621fa482ed011b1daef16c97171f036f6e4f3 | dfa087387a3e7bf47ea9299679792f3bf4e95255 | refs/heads/master | 2021-11-09T11:36:50.505432 | 2021-10-28T14:58:12 | 2021-10-28T14:58:12 | 36,158,240 | 5 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 906 | ino | int leds[] = {3, 4, 5};
int n = 0;
int tiempo = 200;
int zumbador = 7;
int pulsador = 2;
void setup () {
for (n = 0; n < 3; n++) {
pinMode(leds[n], OUTPUT);
}
pinMode(zumbador, OUTPUT);
pinMode(pulsador, INPUT);
}
void compruebaacierto() {
if (digitalRead(pulsador) == HIGH && n == 1) {
digitalWrite(z... | [
"pedroruizf@gmail.com"
] | pedroruizf@gmail.com |
53e57ce5e1fc664363128cbe34299b4b0a283f39 | a3ebb7445087e39b2c9868d1a63e7298fb2c78cc | /src/qt/bitcoingui.cpp | ec18a80069bb41883f42deacf3aa30b22fba47b0 | [
"MIT"
] | permissive | CCPorg/REX-RecyclingCoin-Ver-631-Original | 17e46616f5e5abe440a11b9fe1a5383630e76f3e | 4b4620282685ef82b22c5718eda3454e6c520ea2 | refs/heads/master | 2021-01-02T09:37:17.217339 | 2014-05-19T13:59:28 | 2014-05-19T13:59:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,805 | cpp | /*
* Qt4 bitcoin GUI.
*
* W.J. van der Laan 2011-2012
* The Bitcoin Developers 2011-2012
* The Litecoin Developers 2011-2013
* The RecyclingCoin Developers 2013
*/
#include "bitcoingui.h"
#include "transactiontablemodel.h"
#include "addressbookpage.h"
#include "sendcoinsdialog.h"
#include "signverifymessagedialo... | [
"root@ns236334.ip-192-99-44.net"
] | root@ns236334.ip-192-99-44.net |
db935ca26dd3ea6e0e4a0a49b8ea1ce224505913 | 6a2b4d2299949863c8c7470900353869974ad1b0 | /QLauncher/socket.cpp | 1ec196005691c158450334f5e144c4641e7bca9f | [] | no_license | whwpdn/QLauncher | 94aebb889ed75d764fea63b659d1169552f26378 | fec53d0193edbbeab554268f3cdccc34e64b800b | refs/heads/master | 2020-04-08T06:54:05.314368 | 2014-05-07T09:09:46 | 2014-05-07T09:09:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,667 | cpp | ////////////////////////////////////////////////////////////////////////////////////////
//
// Socket
// Copyright (C) 2000 Thierry Tremblay
//
// http://frogengine.net-connect.net/
//
////////////////////////////////////////////////////////////////////////////////////////
//#include "stdafx.h"
#include "socket.h"
#i... | [
"whwpdn@gmail.com"
] | whwpdn@gmail.com |
4c8f5c2b55224dec0c7073d95152bb8c54cf9379 | 1f423ee086aa545d4cf039d4e48d8a4ea824e857 | /RenderSystems/Vulkan/include/OgreVulkanHardwareBufferCommon.h | c3939ea4c72da74b063e85d32983c964ae590245 | [
"MIT"
] | permissive | yiliu1203/ogre-next | df77dc6a1e03e967dc577830e86c81d3881258ee | d45fda9a65659d26211e0003eb46e06ac7d490d2 | refs/heads/master | 2021-07-13T08:36:33.580335 | 2021-04-01T15:41:41 | 2021-04-01T15:41:41 | 242,904,107 | 1 | 0 | NOASSERTION | 2020-02-25T03:50:46 | 2020-02-25T03:50:45 | null | UTF-8 | C++ | false | false | 3,643 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any p... | [
"dark_sylinc@yahoo.com.ar"
] | dark_sylinc@yahoo.com.ar |
4aeadfa93aaad09b3d9e2317dd585e608736be25 | 8675ec9577e2e2b23d866bb85631989e619a3b55 | /modules/canbus/vehicle/ch/protocol/brake_status__511_test.cc | 86a9878f462267ff15ace5ceeec27cbf9573c340 | [
"Apache-2.0"
] | permissive | AuroAi/apollo | c1e31dca34a7f5a77d8db76a4bd138f0e23ef888 | 9d2b2c76ea2d6448c1e6fead5336b9c273663a84 | refs/heads/master | 2020-07-15T01:34:36.682593 | 2019-08-30T17:47:35 | 2019-08-30T19:24:29 | 205,447,888 | 10 | 4 | Apache-2.0 | 2020-02-13T01:17:01 | 2019-08-30T19:51:27 | C++ | UTF-8 | C++ | false | false | 1,993 | cc | /******************************************************************************
* Copyright 2019 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | [
"qi.stephen.luo@gmail.com"
] | qi.stephen.luo@gmail.com |
6d250c5c5d452005f6a59a10fdad74f56d91a3f9 | 7f098473a0dd401819b4b3d70c83e42433aa10ef | /MSVS/include/GameTextManager.h | 5c12e6135a1f54b0db10b7d1162e6662270b24d4 | [] | no_license | deathmock5/KHE2019 | 90308856ac0b5c7dde00dd05c470ca47769a812b | d437b38494f8915e8b6ceaef24fbcf12eb16c3fc | refs/heads/master | 2020-08-02T16:20:14.517774 | 2019-09-29T13:41:29 | 2019-09-29T13:41:29 | 211,426,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | h | #pragma once
#include <string>
//This class retrives and sets text stored in XML files via a key index system.
class GametextManager {
public:
static GametextManager* instance() {
if (!_instance) {
_instance = new GametextManager();
}
return _instance;
}
static std::string getText(const int& index) {
}
... | [
"deathmock@gmail.com"
] | deathmock@gmail.com |
0c12efb16cd62963baf7e24cfda3ad83ce634519 | 087dbdf976328941ea89f7c6830406dc8e539bb2 | /02 Yellow/Week 03/Lessons/02 Yellow_Week 03_Lesson 04_synonyms.h | 8c980b8ab2f2396648379850ef26a7687874ea2a | [] | no_license | aliaksei-ivanou-by/Coursera_Yandex_c-plus-plus-modern-development | 45ff4e6e02dfa6b9f439174b3a4abf7d55801f6a | f7724dd60fff4c93e12124cfbd5392d8f74006b4 | refs/heads/master | 2023-03-20T10:31:25.555805 | 2021-03-03T18:18:25 | 2021-03-03T18:18:25 | 281,137,199 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | h | // Основы разработки на C++: желтый пояс. Третья неделя
// Заголовочные файлы. Проблема двойного включения
#pragma once
#include <map>
#include <set>
#include <string>
using namespace std;
using Synonyms = map<string, set<string>>;
void AddSynonyms(Synonyms& synonyms, const string& first_word, const string& second_... | [
"aliaksei.ivanou.by@icloud.com"
] | aliaksei.ivanou.by@icloud.com |
4732591f0dc2f1a0324f51f084f0e2c24e19bd75 | 81b759c001522e4823d0e56dfdbc56b221673536 | /main_JSON.cpp | 8358516be64886a0e19d7d815b3995b021e5dfa4 | [] | no_license | elisimmonds/JSON-to-HTML-Parser | f0f27c12a0056d568b34f84aa25a495c1663e52f | b3861d1ad0bebf366adfc9e3ffec674b345bda1c | refs/heads/master | 2016-09-13T15:11:44.965380 | 2016-05-23T21:05:41 | 2016-05-23T21:05:41 | 59,517,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,944 | cpp | // Eli Simmonds
// Project 3
// main_JSON.cpp
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <vector>
#include <sstream>
#include <fstream>
#include <string>
#include <ostream>
#include "JSONDataObject.hpp"
#include "JSONDataItem.hpp"
#include "JSONArray.hpp"
#include "Tracks.hpp"
#include "Artis... | [
"eli.simmonds@gmail.com"
] | eli.simmonds@gmail.com |
419262ca9565d4f1cd9d6e1dbec014e1eee0fada | 679753a2818f33701789453f57240429c62df4ec | /deps/donet/include/bsd/net_bsd.h | be478464664f9f26ebfbe5d70fac303e92c967e7 | [] | no_license | zmyer/Katrina | 39495c38d30d3fe0ce0b926efd4ab97c389e9185 | 4fd5b55a52d2bf8065e1200d97dd3e42f4a824c6 | refs/heads/master | 2021-01-12T03:31:24.392757 | 2017-01-15T14:28:43 | 2017-01-15T14:28:43 | 78,224,205 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | h | //
// Created by StevensChew on 17/1/11.
//
#ifndef KATRINA_NET_BSD_H
#define KATRINA_NET_BSD_H
#include <sys/_types/_int32_t.h>
namespace donet {
typedef int32_t NativeSocket;
typedef struct sockaddr_in NativeSocketAddress;
}
#endif //KATRINA_NET_BSD_H
| [
"zhouwei198732@126.com"
] | zhouwei198732@126.com |
05b5e90dad84c9e14cd1a0f1cc346bccbe84dc34 | e91b16ab1799a614282fb0260ca696ddb6143b16 | /LeetCode/q0032_LongestValidParentheses.cpp | cb88897edd2ffd45906632408fff8470a19b25a4 | [] | no_license | bluesquanium/Algorithm | cde3b561aa05413fcd61fe5ce013fe3e8c122a9c | 9d87cbc4efc5a3382376fc74b82915832659e97b | refs/heads/master | 2022-06-24T10:55:58.011128 | 2022-05-29T09:50:58 | 2022-05-29T09:50:58 | 174,677,803 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | cpp | // '(': 100001, ')': 100002
#define ll int
#define L 100001
#define R 100002
class Solution {
public:
int longestValidParentheses(string s) {
ll ans = 0;
vector<ll> st;
for(ll i =0; i < s.size(); i++) {
if(s[i] == '(') {
st.push_back(L);
}
... | [
"culater.kwak@samsung.com"
] | culater.kwak@samsung.com |
184baf3ebdc57b4cde5f9249f46ca4c9f0fe3d73 | 4c214a64016cc838700025aebb9fddab1fbacf55 | /Il2Native.Logic/NativeImplementations/System.Private.CoreLib/System/String.cpp | 3405af242b8350e85b7529607c9cff8adb2647be | [
"MIT"
] | permissive | Moxicution/cs2cpp | 73b5fe4a4cdbf1dcec0efcd8cae28ff2d0527664 | d07d3206fb57edb959df8536562909a4d516e359 | refs/heads/master | 2023-07-03T00:57:59.383603 | 2017-08-03T09:05:03 | 2017-08-03T09:05:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,058 | cpp | #include "System.Private.CoreLib.h"
namespace CoreLib { namespace System {
namespace _ = ::CoreLib::System;
// Method : string.String(char*)
void String::_ctor(char16_t* value)
{
throw 3221274624U;
}
// Method : string.String(char*, int, int)
void String::_ctor(char16_t* value... | [
"oleksandr.duzhar@netplaytv.com"
] | oleksandr.duzhar@netplaytv.com |
3336619abb0f5d480f48faea03423e37dfbb1d9e | ee03828b086648064e6ec1f50c3233045b3ea422 | /Win32Project3/fade.cpp | 2f80f1b7981599f7fed8867499cab6e29c881f53 | [] | no_license | MandaiRyuta/StrayForest | d2779881e586b57174e3ff3b618fc9f47d768a40 | b63a71b5d1a882e72e6afaeb05d96e8eeb731d1a | refs/heads/master | 2020-04-19T09:36:39.370475 | 2019-01-29T08:23:54 | 2019-01-29T08:23:54 | 168,116,119 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,526 | cpp | #include "fade.h"
void Fade::Init()
{
FadeSet_ = 0;
FadeIn = 255;
FadeOut = 0;
}
void Fade::Uninit()
{
}
void Fade::Draw()
{
switch (FadeSet_)
{
case 0:
BlackFadeIn();
break;
case 1:
BlackFadeOut();
break;
case 2:
WhiteFadeIn();
break;
case 3:
WhiteFadeOut();
break;
case 4:
break;
defaul... | [
"Mandai1990@outlook.jp"
] | Mandai1990@outlook.jp |
249e6eaee0d0ad6264bd92bc5078ec7aa38162d3 | e79cc11c4fa65ae83f9a0a83a88b42307ec0e276 | /Ancien ubuntu/tp7C++/main.cpp | ae769c090d1061eb29443992d046e432cb75815b | [] | no_license | Rob-Mat94/Compilateur-C | 89a1bb482a736a6ddb603ae30839be3d30023c29 | 645512072783ea403f1e37dc00ea6fca982e07ee | refs/heads/master | 2023-05-31T14:51:05.520352 | 2021-07-04T10:24:53 | 2021-07-04T10:24:53 | 382,822,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,703 | cpp | #include <stdio.h>
#include <iostream>
#include "Image.hpp"
#include "Ligne.hpp"
#include "Cercle.hpp"
#include "Filtrage.hpp"
void testPoint(void);
void testCercle(void);
void testLigne(void);
void testImage(void);
int main(void)
{
/* testPoint();
testLigne();
testCercle();
testImage();
*/
Filtrage::es... | [
"robin.matheus@etu.u-pec.fr"
] | robin.matheus@etu.u-pec.fr |
7c684c9feecece7a14c74ab76f73d0c164f930b8 | 07a8c4f3e79df3cbf4d10a1338e27068bc3a7e2a | /include/MRDSubEventClass.hh | 14b488c2420d46b0dc78f8b27b1cd80a3324594c | [] | no_license | sjgardiner/MrdTrackLib | 6d75dfcb228fca03f1a4b9a281bc963cdc8341d1 | 97435e4f125550be85ced137175f82fc00509597 | refs/heads/master | 2020-03-12T02:40:06.181531 | 2018-04-20T19:58:53 | 2018-04-20T19:58:53 | 130,408,279 | 0 | 0 | null | 2018-04-20T19:59:28 | 2018-04-20T19:59:28 | null | UTF-8 | C++ | false | false | 5,913 | hh | /* vim:set noexpandtab tabstop=4 wrap */
#ifndef _MRDSubEvent_Class_
#define _MRDSubEvent_Class_
#include "TObject.h"
#include <vector>
class mrdcell;
class cMRDTrack;
class TCanvas;
class TBox;
class TVector3;
class TLorentzVector;
class TText;
class TLine;
class TArrow;
class TColor;
class cMRDSubEvent : public ... | [
"moflaher@fnal.gov"
] | moflaher@fnal.gov |
2e3cad2c444e161609e9576b7fed792999ed3fd7 | 8a9eee34d495195c6a8d57e1e51fbe06f84eb70e | /Include/dxgi.h | fafb161aa8e523f340fb743a1b5d5d31a5c13d32 | [] | no_license | wirlsawyer/SYWlan | 1558249e14d33c6c33743cc7036d0c094d96ffb9 | 8ba461b5ec19e0158c17ae1090abf6adb2287e08 | refs/heads/master | 2021-05-04T07:04:20.258767 | 2016-10-11T06:26:16 | 2016-10-11T06:26:16 | 70,550,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55,086 | h |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0499 */
/* Compiler settings for dxgi.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
V... | [
"wirlsawyer@gmail.com"
] | wirlsawyer@gmail.com |
f9716b2ec4c0a165c0137359c76b200b02ef6dd2 | 50de7f977f3d60fa3ea7df2b908be49d8ca44083 | /C++/C++/templates/template_fun.cpp | d62f2208b076e31dc7a216c7d11a2ef623c66095 | [
"Apache-2.0"
] | permissive | unmeshvrije/C-- | e559b2806af0a5e14ce233bc8ba1c55aadd2659a | 361616849313155b34afc68769f6bb121bafdac0 | refs/heads/master | 2022-12-24T05:54:39.053431 | 2022-12-12T16:20:34 | 2022-12-12T16:20:34 | 12,909,247 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 843 | cpp | #include <iostream>
#include <typeinfo>
#include <cstring>
using namespace std;
template <typename Generic>
Generic Min(Generic a, Generic b)
{
if (
typeid(Generic) == typeid(char*)
)
{
// cout << "typeid pass" << endl;
int iRet = strcmp(a,b);
if(iRet < 0)
return a;
return b;
... | [
"unmesh@unmesh-laptop.(none)"
] | unmesh@unmesh-laptop.(none) |
61a651b0bd7370e44ec3abfa709c16d359eb7e2b | 82e22dbe26c9c69ba2ef149d0d4554bd36b3aa00 | /test/tests/issue0012.cpp | 626f4cc111e4d50071fa93a16731ad72b9f08027 | [
"BSL-1.0",
"Apache-2.0"
] | permissive | hyeongyukim/outcome | 87f2272198c554cf498df793b9d0dc473dceda08 | 38b9d4f4ab62672221a1d77d51c8bbba8acf8471 | refs/heads/master | 2022-02-11T17:36:06.756960 | 2019-09-25T23:00:32 | 2019-09-25T23:00:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,983 | cpp | /* Unit testing for outcomes
(C) 2013-2019 Niall Douglas <http://www.nedproductions.biz/> (5 commits)
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 in the accompanying file
Licence.txt or at
ht... | [
"spamtrap@nedprod.com"
] | spamtrap@nedprod.com |
07f656832d722eb5862dfbec4c3a8d6d7b79eecc | a8c66e9cb1ab6669bb15cc623e1b54d3e967f035 | /Trabalho-04/teste/periodo.cpp | f892c49763826995870780b07725af78114997c8 | [] | no_license | igorpsantos/programacao-avancada | 1dbf192bafa2fe07f02a3ef12ab7c0aeb45b1e2a | c76d6c35e11a3ed638a527059323a8f8b0fb5838 | refs/heads/master | 2021-02-27T19:22:49.308989 | 2020-06-27T21:09:59 | 2020-06-27T21:09:59 | 245,629,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | #include <iostream>
#include <iterator>
#include "periodo.h"
using namespace std;
Periodo::Periodo(Data inicial, Data final) : _data_inicial(inicial), _data_final(final), _total(0) {
for (int i = 0; i < Registro::_AllRegistros.size(); i++) {
if (Registro::_AllRegistros[i].getData() >= inicial && Reg... | [
"noreply@github.com"
] | igorpsantos.noreply@github.com |
81144505bc65dc9def7a6c3429e0eabfa4a6fe77 | fb99c5ca73adb5857a462a98329d5c8753a9cb13 | /open/rts/config.h | c0052123493a7fe104c084837c58df8d4380db59 | [] | no_license | luqui/soylent | f82ff00cdf76b426c2c3580e9c432bcb48715358 | 94bbe25a1b93a30e94e2ab072f792bb273da3b06 | refs/heads/master | 2021-01-22T03:44:15.546888 | 2009-06-24T20:08:55 | 2009-06-24T20:08:55 | 113,045 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 368 | h | #ifndef __CONFIG_H__
#define __CONFIG_H__
#ifdef WIN32
#include <windows.h>
#endif
#include <list>
typedef double num;
const num DT = 1/30.0;
class Board;
extern Board BOARD;
class SoyInit;
extern SoyInit INIT;
class Dust;
extern Dust DUST;
class Scheduler;
extern Scheduler SCHEDULER;
class Unit;
extern std::l... | [
"luqui@94b1653a-ed48-0410-b77d-b6a479af8a11"
] | luqui@94b1653a-ed48-0410-b77d-b6a479af8a11 |
cbd3187247cff06ce235e93d98b563d8596a1465 | 6febd920ced70cbb19695801a163c437e7be44d4 | /cpp/concepts/counter_class.cpp | 43fb2c52b47b99baa07151b6fc87c1ecd55ba6af | [] | no_license | AngryBird3/gotta_code | b0ab47e846b424107dbd3b03e0c0f3afbd239c60 | b9975fef5fa4843bf95d067bea6d064723484289 | refs/heads/master | 2021-01-20T16:47:35.098125 | 2018-03-24T21:31:01 | 2018-03-24T21:31:01 | 53,180,336 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | cpp | #include <iostream>
using namespace std;
// see below for a discussion of why
// this isn't quite right
class Counter {
public:
Counter() { ++count; cout << "Counter constructor\n"; }
Counter(const Counter&) { ++count; cout << "Counter copy constructor\n"; }
~Counter() { --count; }
static... | [
"dhaaraa.darji@gmail.com"
] | dhaaraa.darji@gmail.com |
18ad09fa0fa33dfce33db2568520d7b6ec82398e | 75a574cc626abb6106d749cc55c7acd28e672594 | /Test2/MRIntegerTest.cpp | 58a3a3c37753d91d6785ad49275a362ce4ae6d9d | [] | no_license | PeterGH/temp | 6b247e0f95ac3984d61459e0648421253d11bdc3 | 0427b6614880e8c596cca0350a02fda08fb28176 | refs/heads/master | 2020-03-31T16:10:30.114748 | 2018-11-19T03:48:53 | 2018-11-19T03:48:53 | 152,365,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,022 | cpp | #include "MRIntegerTest.h"
#include "..\Algorithm\MRInteger.h"
#include "..\Algorithm\RadixSort.h"
#include <vector>
void MRIntegerTest::Init(void)
{
Add("Random", [&]() {
unsigned int b[] = {1, 2, 4, 8, 16, 32};
My::MRInteger mri(b, 6);
std::vector<My::MRInteger> numbers;
for (int i = 0; i < 30000... | [
"peteryzufl@gmail.com"
] | peteryzufl@gmail.com |
6ce279b7681c7267feeec66549547c043635ea61 | a910c0cc7a93da9725ac31b67b1ecaf95e21b781 | /hw5/src/StudentDemoProject.cpp | b0e995a2452b0efe5e546b8611b1d1a9e838b7ce | [] | no_license | T-Goon/2303-Systems-Programming-Concepts | e04fd214efa394760032b49244ff006f3b958f29 | c57c28ecc96a6bb921055d5f82b05b85ac7605c5 | refs/heads/master | 2023-05-12T04:39:03.595614 | 2021-06-03T21:20:32 | 2021-06-03T21:20:32 | 236,372,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,721 | cpp | //============================================================================
// Name : StudentDemoProject.cpp
// Author : Timothy Goon, Patrick Houlihan
// Version : 1
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//=============================================... | [
"t.kgoonx@gmail.com"
] | t.kgoonx@gmail.com |
93c6912bd6e14913d8252d4c7d142eb2e3ccd031 | 99acb9c056de6a1ae945a8145eaa451b209266d3 | /GráficasComputacionales/Employee.h | 2cb5f09be95739ebc76436339ac660068c2556aa | [] | no_license | CrzHctr/Graficas_Computacionales | ae374e69085bb4cf5fa604109afed555eeb74e06 | e08710cf9f401bccdb7dedde8f1060e02765d898 | refs/heads/master | 2021-01-21T12:01:00.293979 | 2017-11-27T18:05:22 | 2017-11-27T18:05:22 | 102,018,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | h | #pragma once
#include <string>
class Employee {
public:
Employee(int id, std::string firstName, std::string lastName, int salary);
int GetID();
std::string GetFirstName();
std::string GetLastName();
std::string GetName();
int GetSalary();
int GetAnnualSalary();
void SetSalary(int salary);
int RaiseSalary... | [
"h.cruz.dorantes@gmail.com"
] | h.cruz.dorantes@gmail.com |
cdf102536592fe41b259f2c01f303651c834b440 | 7b7554fc484b2c4aaab1a97c6b4b760ed942a00e | /iSAMApp/NavBase/Scan/src/Icp.cpp | c93fc54f944759198d1fcd7fc10d9841e1df8b6a | [] | no_license | sven-glory/GTSAM-NDT | 90bd50bb6404579dc8b5c7f2011be4b64501d572 | 8c5183de63ba54f3cafb67d193b8dffc3afb4b23 | refs/heads/master | 2023-02-25T18:03:14.497787 | 2021-01-31T05:09:56 | 2021-01-31T05:09:56 | 334,640,405 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 11,428 | cpp | #include "stdafx.h"
#include <math.h>
#include "polar_match.h"
/** @brief Calculate the distance of a point from a line section.
计算一个点P(x3, y3)到一条线段AB的距离(A(x1, y1), B(x2, y2))。如果交点落到线段之外,则返回-1。
同时,P点到AB的垂足点的坐标C(x, y)也被返回。
此函数在ICP中用到。
Calculates the distance of the point (x3,y3) from a line defined by (x1,y1)
and (x... | [
"sven_glory@163.com"
] | sven_glory@163.com |
2d8d2071e438ce5b997f57d84d256904f33dc095 | 57c1e16107ae27d7a63e0b853d1d0a54c802061c | /Option 1/6.4/6_4.hpp | d74dd2690cf00929f61621a02a340230adcf2b75 | [] | no_license | Avdeenko-Dasha/1-cours | 31384098e524d8fb4726f466ed5f282c156932e0 | cea2fe36d5033dcf77861b2c938dce37b997df61 | refs/heads/main | 2023-08-24T17:05:38.754163 | 2021-10-11T21:14:43 | 2021-10-11T21:14:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | hpp | #pragma once
#include <iostream>
#include <ctime>
#include <iomanip>
using namespace std;
enum WidthValues {
widthNum = 18,
widthSign = 8,
widthOrder = 10,
widthMant = 12,
widthLine = 44,
};
union DoubleUnion {
double num;struct InNumber {
unsigned long long mantissa : 52;
... | [
"avdeenko.dasha705@gmail.com"
] | avdeenko.dasha705@gmail.com |
48994f22d318a76fdd3a3d048b00faf6c7dfd754 | 1ca99f15544e768da94b3b41467b59ae6d7b4f58 | /sort_window.h | dee7fbb33c0181833b77280f18a6556777ac4ed1 | [] | no_license | napobiao/QT_Graduation | 5287224cfab751be3cd7a5344d5786b759ddc185 | c58d0b2754ec27a0009c8abe5743876672b6f1fe | refs/heads/master | 2021-09-10T01:01:57.208111 | 2018-03-20T12:29:42 | 2018-03-20T12:29:42 | 126,013,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | h | #ifndef SORT_WINDOW
#define SORT_WINDOW
#include <QMainWindow>
#include <QDialog>
#include <QPushButton>
class Sort_Window : public QMainWindow
{
Q_OBJECT
public :
Sort_Window(QWidget *parent = 0);
~Sort_Window();
void sleep(unsigned int msec);
void begin_bubble();
void sort_bubble();
void change_bubble();
... | [
"hbchen1995@126.com"
] | hbchen1995@126.com |
a65b9473d6b6737bb5838ac71f3db36f03fc407b | bc5840a9334d654d48291da482acba7acaf8d58e | /source/Skybox.h | f3c1b2870e4c867fb47876d317e31b69c29e61d6 | [] | no_license | sebrussell/Engine | 2d624621631998a3286ce4b7100b9e429584fc2f | f99d734d6caddff4c25482d5c57ea2986d0a9331 | refs/heads/master | 2021-08-27T21:32:21.074662 | 2017-12-10T12:00:50 | 2017-12-10T12:00:50 | 106,965,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | h | #ifndef SKYBOX_H
#define SKYBOX_H
class Model;
class Shader;
class MeshManager;
class Transform;
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "stb_image.h"
#include <memory>
#include <vector>
#include <iostream>
class Skybox
{
public:
Skybox() {};
~Skybox() {};
void Awake();
unsigned int loadCub... | [
"sebrussell42@gmail.com"
] | sebrussell42@gmail.com |
a59360fcf81c53b3316b720901fda7ee24465ddb | 6be1c51c980e8906406762fe3c7b59ca6c09faaf | /SimpleKBot/KBotDrive.cpp | a086b75458bb2ac738955e38cad84771b0f2bb35 | [] | no_license | woodk/SimpleKBot | 4aed0122fa8a8e4b49bff3a966c31af85a6cd87f | 4433bd1ca71c3b39460032279dea4c089aa1eb04 | refs/heads/master | 2021-01-01T18:07:55.574893 | 2011-01-07T19:37:40 | 2011-01-07T19:37:40 | 1,035,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,724 | cpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) KBotics 2010. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. */
/*----------------------------------------------------------------------------*/
#include... | [
"woodk@limestone.on.ca"
] | woodk@limestone.on.ca |
2dbcc32031116ff660d57f939ca214a7d29b8427 | 7a68a9c3473feceb613dbc0b390e4b02a276f460 | /leetcode/medium/1026_maximum_difference_between_node_and_ancestor.cpp | 64c5dd6c0c06ba12b32b9ea9d92ff4a600b002e1 | [] | no_license | pzins/Programming | 88cab57200921c1fd9a44568162463f4f0f5e3ab | 45e1466fcf28933aa8a3c85ee8590430ced90db4 | refs/heads/master | 2023-07-20T09:56:03.379507 | 2023-07-18T15:33:15 | 2023-07-18T15:33:15 | 199,602,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 909 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | [
"zins.pierre@gmail.com"
] | zins.pierre@gmail.com |
360920b90b0595bb9f9944769ec485134f49ca43 | 045c95bed63c0845d95101c3993926dcac4380a4 | /calculator.cpp | 7f902abc3431954924b01fec173666c45bf57bb3 | [] | no_license | ujikstark/SimpleCalculatorC | 642635ff3abbc2ef49007c567a5afe33661ed637 | 934de23f27dd04ffb6d84c693d894c3156df8710 | refs/heads/main | 2023-07-20T01:56:30.417823 | 2021-08-30T06:58:06 | 2021-08-30T06:58:06 | 401,242,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | #include <iostream>
#include <stack>
using namespace std;
int main() {
char op = '+';
int num;
int res = 0;
stack<int> s;
int t = 0;
while (op != '=') {
cin >> num;
if (op == '+') {
res += num;
if (t > 0)
s.push(res - num);
} else if (op == '-') {
res -= num;
if ... | [
"ujikbauk@gmail.com"
] | ujikbauk@gmail.com |
6de8c1a5c5a3572a6989281331c6c466a82105bd | 99fe750ffd06ae7b33d13d69bf625a9c36169df3 | /volume004/444 -Encoder and decoder.cpp | 81e43ba66ab5e0363844fc8c6f93950d86324a58 | [] | no_license | ahmrf/UVa | 5edb2edbc912f837a9884584ab42b73c573a3385 | 6b815d4df74f52e30b01d345b1e41cdd34b0f7da | refs/heads/master | 2021-01-21T01:49:33.721538 | 2016-04-06T16:20:51 | 2016-04-06T16:20:51 | 34,123,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,415 | cpp | #include<string>
#include<cstring>
#include<iostream>
#include<sstream>
#include<cstdio>
#include<algorithm>
using namespace std;
string to_string(int num)
{
stringstream ss;
string s;
ss << num;
ss >> s;
return s;
}
int main (void)
{
char asci[123], ch = '\0';
for(int ... | [
"bsse0621@iit.du.ac.bd"
] | bsse0621@iit.du.ac.bd |
e3024a4b29a0f1891c300e900e6d2d0b81c4ffcf | 0d2c96accaff0a8fa46b947142f1176a58d7c5df | /c++/3_red_belt/4_week/web_server/http_request.h | ddbe904ddd55cbd3d06868e6de5224c4701db264 | [] | no_license | GlebKirsan/coursera | ece415a8c08b60cfc26d0efce95554833ac782c2 | 3c3bc2beaa855e1418459c87046f683e7c419bf1 | refs/heads/master | 2021-09-01T11:11:17.984403 | 2021-08-24T13:15:41 | 2021-08-24T13:15:41 | 144,696,947 | 6 | 0 | null | 2020-01-31T00:01:46 | 2018-08-14T09:14:04 | MATLAB | UTF-8 | C++ | false | false | 130 | h | #pragma once
#include <string_view>
using namespace std;
struct HttpRequest {
string_view method, uri, protocol;
};
| [
"glkv@protonmail.ch"
] | glkv@protonmail.ch |
c8779149159e22946259274d0d309a323b5acc77 | 1b55fa9c97d777be0b84b088cf73fd3f3d8812ae | /7/8.cpp | 221292b8f0d1d59b731b8c6b1e5dfaf9e334a7aa | [] | no_license | arshrapov/abraman_answers | 0e432752ef8e2e924ea2c13f293e52aaf3b8831d | 9cbdf872f9c78f857f9fed9e4b6f955e25c4fada | refs/heads/master | 2022-05-23T14:47:35.601263 | 2020-04-29T16:46:12 | 2020-04-29T16:46:12 | 259,694,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71 | cpp | #include <iostream>
int main () {
using namespace std;
return 0;
}
| [
"ashrapov.rafa@yandex.com"
] | ashrapov.rafa@yandex.com |
cbfb41c9ebec8af5b0c94ff28a6f8877a20967f8 | 6b1e4e7ca1259dd290f149a6ae7e2836c621e1f8 | /EncryptionDecryption/Matrix (2).cpp | fd8858d5fbc8b95977209863e3ab0eba989a54a4 | [] | no_license | Mehraaj/Encryption | 68d4642a433645426688be584369bccfaaa343cf | bef9c885a5c23bd972b4fa055aab4acd997596c2 | refs/heads/master | 2021-01-20T16:04:20.870773 | 2017-06-29T02:56:53 | 2017-06-29T02:56:53 | 95,722,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | cpp | #include <iostream>
#include <string>
#include <Windows.h>
#include <ctime>
#include <cstdlib>
#include <iomanip>
using namespace std;
int main()
{
float mat[3][3];
float pt[3][1];
int p1;
int p2;
int p3;
float val;
} | [
"noreply@github.com"
] | Mehraaj.noreply@github.com |
4a4f68411c93039314ed69d21f62c41cca19afeb | 87afd2b9face99ac5553f6dd4cf9595f754c6650 | /definitivo/GetTheBall/GetTheBall/UserPositionUpdating.cpp | 44df68646c98a1a0c326cfa538bed0bc64fb7b86 | [] | no_license | LauraLaureus/PickTheCow | 5ca3f343d9d1ba03712e9d43763bd311cd9e5ba8 | 97f5f95daf24227f24310e60cdaa349ef17c1aed | refs/heads/master | 2021-01-17T19:51:57.935594 | 2016-06-06T17:00:02 | 2016-06-06T17:00:02 | 60,543,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,221 | cpp | #include "UserPositionUpdating.h"
#include "Conversion.h"
#include "Coordinates3DCalculation.h"
UserPositionUpdating::UserPositionUpdating(Game& game)
: game(game) {
}
UserPositionUpdating::UserPositionUpdating(const UserPositionUpdating& userPositionUpdating)
: game(userPositionUpdating.game) {
}
U... | [
"l4depende@gmail.com"
] | l4depende@gmail.com |
67f0a8d188eddff4251de57c207eaba16b02e9ab | 4503b4ec29e9a30d26c433bac376f2bddaefd9e5 | /RealDWG/2012/x64/Inc/dbDictUtil.h | cca94e63bb53640d5adc683e0bd46cac243d2e9a | [] | no_license | SwunZH/ecocommlibs | 0a872e0bbecbb843a0584fb787cf0c5e8a2a270b | 4cff09ff1e479f5f519f207262a61ee85f543b3a | refs/heads/master | 2021-01-25T12:02:39.067444 | 2018-02-23T07:04:43 | 2018-02-23T07:04:43 | 123,447,012 | 1 | 0 | null | 2018-03-01T14:37:53 | 2018-03-01T14:37:53 | null | UTF-8 | C++ | false | false | 7,749 | h | // $Header: //depot/release/ironman2012/develop/global/inc/dbxsdk/dbDictUtil.h#1 $ $Change: 237375 $ $DateTime: 2011/01/30 18:32:54 $ $Author: integrat $
// $NoKeywords: $
#ifndef AD_DBDICTUTIL_H
#define AD_DBDICTUTIL_H 1
//
// (C) Copyright 1998-2006, 2010 by Autodesk, Inc.
//
// Permission to use, copy, modif... | [
"jwMoon@3e9e098e-e079-49b3-9d2b-ee27db7392fb"
] | jwMoon@3e9e098e-e079-49b3-9d2b-ee27db7392fb |
c42e783a7c91f3d89a16303e3eb4f56989694de2 | 00a6118df8a147bddc983e370cbfa96b655b55e2 | /01-basics/binary_fixed_point/cnl/include/cnl/_impl/fixed_point/extras.h | 9486ba32f2a773a29dcade045a0488b938fd98ed | [
"MIT"
] | permissive | initdb/RA-Uebung | ac7ae4d75c7c769c6efc63795093791227efbbe4 | 05eeb315be4cdc56e554596b8204b5a4bd43d06b | refs/heads/master | 2020-05-03T04:49:35.740783 | 2019-03-29T15:48:04 | 2019-03-29T15:48:04 | 178,432,678 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,496 | h |
// Copyright John McFarlane 2015 - 2016.
// 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)
/// \file
/// \brief supplemental definitions related to the `cnl::fixed_point` type;
/// definit... | [
"benedict.schwind@live.de"
] | benedict.schwind@live.de |
3a3790db462b05b95d3d2db638c09c26a5508818 | 4b88fe8b782cbedf048ec406d99b50d8e21a9f2c | /src/Geometry/Frustum.cpp | 2d31eddc803b779c20e1ed15774be56db2d5ca74 | [] | no_license | Senryoku/SEngine | d41fa3400b62ee274c760d6c902c2f0734d42c3a | 8235d22d87b5f2967437b2d19b6bc02100f792fa | refs/heads/master | 2021-06-06T10:15:47.880495 | 2021-05-23T00:53:04 | 2021-05-23T00:53:04 | 38,825,325 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | cpp | #include <Frustum.hpp>
Frustum::Frustum(const glm::mat4& projmat)
{
// Fast Extraction of Viewing Frustum Planes from the World-View-Projection Matrix
// Gribb & Hartmann
// http://www8.cs.umu.se/kurser/5DV051/HT12/lab/plane_extraction.pdf
// https://stackoverflow.com/questions/12836967/extracting-view-frustum-... | [
"maretverdant@gmail.com"
] | maretverdant@gmail.com |
76eb86720131af1b386a69278c1aedbd004af16c | 8153511d8167c75f3439090f883ed67bfbd3d083 | /Palindrome.cpp | adbbff411a608825cddbfae46996edadd6d6fc0e | [] | no_license | PoorMonk/LeetCode | d0f6aedfc181bc39d928332f8c64225a189bb560 | 0fede9a202fef820fe5bc71d6ea1a56b802baed5 | refs/heads/master | 2021-05-15T05:23:48.513832 | 2018-02-08T05:59:41 | 2018-02-08T05:59:41 | 117,074,541 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 539 | cpp | /*
Determine whether an integer is a palindrome. Do this without extra space.
*/
#include <iostream>
#include <vector>
using namespace std;
class Solution
{
public:
bool isPalindrome(int x)
{
//负数不是回文数
return (0 <= x && x == reverse(x));
}
private:
int reverse(int x)
{
int y = 0;
while (x)
{
y = y... | [
"ji.he@3glasses.com"
] | ji.he@3glasses.com |
a8ee240497866b04b62dd536ba44440555ddfbad | 5885fd1418db54cc4b699c809cd44e625f7e23fc | /codeforces/1015/d.cpp | 9a8e21cf95d6b5e8466f0daf59ead83f937c3124 | [] | no_license | ehnryx/acm | c5f294a2e287a6d7003c61ee134696b2a11e9f3b | c706120236a3e55ba2aea10fb5c3daa5c1055118 | refs/heads/master | 2023-08-31T13:19:49.707328 | 2023-08-29T01:49:32 | 2023-08-29T01:49:32 | 131,941,068 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | cpp | #include <bits/stdc++.h>
using namespace std;
#define _USE_MATH_DEFINES
typedef long long ll;
typedef long double ld;
typedef pair<int,int> pii;
typedef complex<ld> pt;
typedef vector<pt> pol;
const char nl = '\n';
const int INF = 0x3f3f3f3f;
const ll INFLL = 0x3f3f3f3f3f3f3f3f;
const ll MOD = 1e9+7;
const ld EPS = 1... | [
"henryxia9999@gmail.com"
] | henryxia9999@gmail.com |
d052e5f73356e336a434c2d361ea469926cdd5ab | 38074edb46670f3c53771f63418fbcc9ad5ede68 | /lib/src/StringFrobs.cpp | c8a8f4bbaa9f4241997ff9183311c236d7b52dbd | [
"MIT"
] | permissive | genedelisa/GDMusicKit | e08a725372b3dfae041689b4d365c2ad3d80e04c | d3a3a79ffc6bf000602e5001679351bd5d4a02a6 | refs/heads/master | 2023-04-14T18:59:59.801433 | 2019-08-14T11:05:35 | 2019-08-14T11:05:35 | 193,133,924 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,885 | cpp | /*---------------------------------------------------------------------------------------------
* Copyright (c) Rockhopper Technologies, Inc. All rights reserved.
* Licensed under the MIT License.
* See LICENSE in the project for license information.
*------------------------------------------------------------... | [
"gene@rockhoppertech.com"
] | gene@rockhoppertech.com |
fdbb99cf33c6bc49c31d4f81fcedb6bb7e1d5ae7 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /components/offline_pages/core/prefetch/prefetch_download_flow_unittest.cc | a97a1216139f343032943eeaf61b51692ee7f490 | [
"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 | 8,090 | 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 "components/offline_pages/core/prefetch/prefetch_downloader_impl.h"
#include <utility>
#include <vector>
#include "base/test/scoped_feature_lis... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
9f035c623f8f4759f2edb6ba1231386098a26dc3 | d3a4d3c93346d572f5a72bcb4ffa930f8d62af6e | /Graphs/Dijkstra/Dijkstra-Implementation-2.cpp | 869f9701a6f035c8dce170d85b578d417fb74e7f | [] | no_license | MuhammadSherifW/Competitive-Programming | 97e1ec41bf5bc7313fe0b390112280ebb4890670 | a72cb7142b0712ef4742fa382daa64d8920c8c13 | refs/heads/main | 2022-12-26T13:58:46.037683 | 2020-10-13T21:28:12 | 2020-10-13T21:28:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,375 | cpp | #include <iostream>
#include <fstream>
#include <cassert>
#include <vector>
#include <string>
#include <queue>
#include <ctime>
#include <stack>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <cmath>
#include <algorithm>
#include <bitset>
#include <cstdint>
... | [
"noreply@github.com"
] | MuhammadSherifW.noreply@github.com |
bc34335bc7f15d5fcc1f5382cf823bfa2ff923c9 | 5d6794a2d3af0d84c59783e110f33538d0e9b830 | /contests/JudgeTest202004/b.cpp | 323b9f210623255491c380cbb0013f57d9676129 | [] | no_license | ryotgm0417/AtCoder | e641336365e1c3b4812471ebf86f55e69ee09e2f | a70a0be85beb925a3e488e9e0d8191f0bbf1bcc1 | refs/heads/master | 2020-11-28T21:21:35.171770 | 2020-08-29T13:50:15 | 2020-08-29T13:50:15 | 229,922,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,181 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for (int i=0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
using ll = long long;
using VL = vector<ll>;
using VVL = vector<vector<ll>>;
using P = pair<ll, ll>;
// chmin, chmax関数
template<typename T, typename U, typename Com... | [
"ryothailand98@gmail.com"
] | ryothailand98@gmail.com |
1d2247a5330e1f99a0973b78ed2017e2ad146f0f | 4e49f2b456882ba8643907a196f86b3062004243 | /MFCTeeChart/MFCTeeChart/TeeChar/teefunction.h | ed098bf79b0d1b8e52ee4f7e3407f7dc8c4be5f6 | [] | no_license | 772148702/Artificial-Intelligence | d4616acf13a38658fc38e71874091b4a0596f6ac | 3b2c48af7a88adc2d2fab01176db7c811deda1d1 | refs/heads/master | 2018-08-29T19:14:37.293494 | 2018-07-06T15:16:10 | 2018-07-06T15:16:10 | 108,261,921 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,429 | h | // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
// Dispatch interfaces referenced by this interface
class CCurveFittingFunction;
class ... | [
"772148702@qq.com"
] | 772148702@qq.com |
34d9accaec42ec6baddc52682e30aa08ec1da06c | 9627ea6c2d232c55a949064ff7c7c07c4dd7626a | /EASTL/deque.h | 7b239ef096c799d667fd982a1374eec6c1516806 | [] | no_license | picco911/Cheat_BF3 | e2d42785474348adfdfa44274999aa4d0ea68054 | 99888a880eed5410308f03258b35a11ce50d927e | refs/heads/master | 2020-03-27T21:05:14.875678 | 2018-09-02T19:13:16 | 2018-09-02T19:13:16 | 147,114,166 | 0 | 1 | null | 2018-09-02T19:11:31 | 2018-09-02T19:11:31 | null | UTF-8 | C++ | false | false | 3,480 | h | #pragma once
namespace eastl
{
template< typename T, unsigned int A > class DequeIterator
{
public:
T* mpCurrent; //0000
T* mpBegin; //0004
T* mpEnd; //00... | [
"39557080+BlackSickness@users.noreply.github.com"
] | 39557080+BlackSickness@users.noreply.github.com |
4a5dc060fa2c6c747f88f4829d1375f0ee903616 | 787bf540a58938da41c43a38e0f45d3cddfb7abb | /tests/facesim/Public_Library/Arrays/ARRAY.h | 6b27439aa2c17b0127ca9e2b348ed550b18beda0 | [] | no_license | GammaPi/Parsec-2.0 | dfba038d37151883167acee97e675ee2edfe538f | 713367e86d9cc2c28cd2b7f2c7db0ecea82d2905 | refs/heads/main | 2023-05-07T08:49:11.584191 | 2021-05-18T18:05:56 | 2021-05-18T18:05:56 | 368,624,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,859 | h | //#####################################################################
// Copyright 2004-2006, Ronald Fedkiw, Eftychios Sifakis.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//####################################################... | [
"mrsteventang@outlook.com"
] | mrsteventang@outlook.com |
eb2da70d8dda7c998925266860ffa9868b6e9384 | c8998aa405b5416f6db4d3cbbdb812098d1f7803 | /Core/MMKV_OSX.cpp | bafac4a36f73edc341398edeacb9ac4b7ec2b80d | [
"BSD-3-Clause",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"OpenSSL",
"Zlib",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | fengqieer1988/MMKV | c0010084b3adc1279dcec63c506e028c7eb26f6b | 025829b9a214b5bb53679e7d662095c1b35d817d | refs/heads/master | 2022-04-22T18:27:39.906333 | 2020-04-13T07:18:49 | 2020-04-13T07:18:49 | 255,243,833 | 0 | 0 | NOASSERTION | 2020-04-13T05:57:53 | 2020-04-13T05:57:52 | null | UTF-8 | C++ | false | false | 7,392 | cpp | /*
* Tencent is pleased to support the open source community by making
* MMKV available.
*
* Copyright (C) 2019 THL 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 obtai... | [
"guoling@tencent.com"
] | guoling@tencent.com |
6f6a49cfc5d63f9c7f292d5af0489e22a4cbcc6f | 9e6b5ba9259d0fd6a9ad82a1cd89de627477cc86 | /Sources/yocto_bluetoothlink.h | 5369314cd73f2669555d536c9107608020318c66 | [] | no_license | giapdangle/yoctolib_cpp | 82b9ade1e2b1e3d6fa8decb8065b535ba19e145f | fb24a749382b866ca31c32e6acdaccb68b585933 | refs/heads/master | 2021-01-22T12:12:28.361797 | 2015-05-20T16:32:53 | 2015-05-20T16:32:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,793 | h | /*********************************************************************
*
* $Id: yocto_bluetoothlink.h 20326 2015-05-12 15:35:18Z seb $
*
* Declares yFindBluetoothLink(), the high-level API for BluetoothLink functions
*
* - - - - - - - - - License information: - - - - - - - - -
*
* Copyright (C) 2011 and beyon... | [
"dev@yoctopuce.com"
] | dev@yoctopuce.com |
1e68aa7906325ac8f34d250b893df48366df12c3 | 0ef4f71c8ff2f233945ee4effdba893fed3b8fad | /misc_microsoft_gamedev_source_code/misc_microsoft_gamedev_source_code/extlib/Scaleform/GFx SDK 2.1.57/3rdParty/nvtt/src/nvimage/TgaFile.h | cf88f0714d3de62ded0cad8b1829d7561a4f5a8e | [] | no_license | sgzwiz/misc_microsoft_gamedev_source_code | 1f482b2259f413241392832effcbc64c4c3d79ca | 39c200a1642102b484736b51892033cc575b341a | refs/heads/master | 2022-12-22T11:03:53.930024 | 2020-09-28T20:39:56 | 2020-09-28T20:39:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | h | // This code is in the public domain -- castanyo@yahoo.es
#ifndef NV_IMAGE_TGAFILE_H
#define NV_IMAGE_TGAFILE_H
#include <nvcore/Stream.h>
namespace nv
{
// TGA types
enum TGAType {
TGA_TYPE_INDEXED = 1,
TGA_TYPE_RGB = 2,
TGA_TYPE_GREY = 3,
TGA_TYPE_RLE_INDEXED = 9,
TGA_TYP... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
77db59a3fda5cad58f1281a204efdda01143d7c5 | 32c3c90c4c8e3e47fb5252f97213556bba84f30b | /week13/boj14890/orihehe_14890.cpp | 8778f26360dce4b58f0a0c503d8c9b654c377f0a | [] | no_license | onww1/Soft-Algorithm-Study | 8b4398ca8afcce64ec3e01609b0661044636bd39 | 6b66759a3e542d22b06433ff46aa82a0f883b529 | refs/heads/master | 2020-04-16T17:07:39.029418 | 2019-12-23T23:05:57 | 2019-12-23T23:05:57 | 165,763,614 | 3 | 3 | null | 2019-03-10T07:13:26 | 2019-01-15T01:32:14 | C++ | UTF-8 | C++ | false | false | 1,814 | cpp | /*
BOJ 14890 - 경사로
시간복잡도 : O(N^2)
공간복잡도 : O(N^2)
가로 배열을 늘려 세로부분을 옮겨주어 가로부분만 봐주었습니다.
먼저 ru배열에 같은 값의 연속한 개수를 넣어줍니다.
그리고나서 가로로 한줄씩 보며 현재 위치의 수와 옆의 수가 다른 값일 때
작은 쪽에 L보다 많은 연속한 값이 있으면 그 위치에 경사로를 놓을 수 있다는 뜻이 됩니다.
그 과정에서 연속한 수의 차이가 1이하인지 체크, 경사로를 놓는다면 연속한 개수를 L만큼 줄여줍니다.
*/
#include <cstdio>
using namespace std;
/* 🐣🐥 *... | [
"38060133+orihehe@users.noreply.github.com"
] | 38060133+orihehe@users.noreply.github.com |
7544afc7458f72438548ac332e71fd3fc8807941 | 15227fb41af484950b7a89bb45b78489db58869a | /kryne-engine/include/kryne-engine/Core/LogicComponent.h | 596bfff8b4704f9cd01d239e35ed38ad743f5ddc | [] | no_license | Mcgode/kryne-engine | 83c4c1fb2ee9511b687c482afc14d0db07141e95 | 01332d2b17c41d0954c12995713186f86e710233 | refs/heads/main | 2021-12-01T08:48:28.071158 | 2021-05-01T16:51:15 | 2021-05-01T16:51:15 | 182,293,488 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,694 | h | /**
* @file
* @author Max Godefroy
* @date 06/02/2021.
*/
#ifndef KRYNE_ENGINE_LOGICCOMPONENT_H
#define KRYNE_ENGINE_LOGICCOMPONENT_H
#include "Component.h"
/**
* A component to use for game logic.
*/
class LogicComponent: public Component {
public:
/**
* Initializes the logic component
* @p... | [
"max@godefroy.net"
] | max@godefroy.net |
5852beef8a7b9e22d47f271f10b83524129d0971 | 05f55d57b12910b7e6e48e765a22e2e06930797c | /leetcode394.cpp | 0b3bf625c5301b972ea356e988cb5bba81758a3d | [] | no_license | bdsy/leetcode | 677a247e95227ed7bcc5dc5f63ce8964b82af691 | 513d03204f84a126102b3d882fadca95a207c1fc | refs/heads/master | 2020-03-19T07:39:25.948648 | 2018-06-24T14:39:25 | 2018-06-24T14:39:25 | 136,136,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,522 | cpp | /*
给定一个经过编码的字符串,返回它解码后的字符串。
编码规则为: k[encoded_string],表示其中方括号内部的 encoded_string 正好重复 k 次。注意 k 保证为正整数。
你可以认为输入字符串总是有效的;输入字符串中没有额外的空格,且输入的方括号总是符合格式要求的。
此外,你可以认为原始数据不包含数字,所有的数字只表示重复的次数 k ,例如不会出现像 3a 或 2[4] 的输入。
*/
class Solution {
public:
string decodeString(string s) {
stack<string> stk;
int n = s.si... | [
"2338651194@qq.com"
] | 2338651194@qq.com |
e775b9e8391351c94b1293fa950704270b0d3958 | d84967ba1e6adc72e120f84524c51ad57912df5a | /devel/electron10/files/patch-components_autofill_core_common_autofill__util.cc | d5a5caa19172993f7607fc01d76a74c6e50a2678 | [] | no_license | tagattie/FreeBSD-Electron | f191d03c067d03ad3007e7748de905da06ba67f9 | af26f766e772bb04db5eb95148ee071101301e4e | refs/heads/master | 2023-09-04T10:56:17.446818 | 2023-09-04T09:03:11 | 2023-09-04T09:03:11 | 176,520,396 | 73 | 9 | null | 2023-08-31T03:29:16 | 2019-03-19T13:41:20 | C++ | UTF-8 | C++ | false | false | 455 | cc | --- components/autofill/core/common/autofill_util.cc.orig 2020-09-21 18:39:13 UTC
+++ components/autofill/core/common/autofill_util.cc
@@ -213,7 +213,7 @@ bool SanitizedFieldIsEmpty(const base::string16& value
}
bool ShouldAutoselectFirstSuggestionOnArrowDown() {
-#if defined(OS_WIN) || defined(OS_MACOSX) || define... | [
"tagattie@gmail.com"
] | tagattie@gmail.com |
51cba9dfc1efa82f952b1cf03a3a7fda2a406bbd | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/phoenix/object/detail/new.hpp | e924de0236e4790f8a08186a0fb7b9ad18f5568d | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 71 | hpp | #include "thirdparty/boost_1_58_0/boost/phoenix/object/detail/new.hpp"
| [
"qinzuoyan@xiaomi.com"
] | qinzuoyan@xiaomi.com |
deec0cfd9eaef1817a1234067d6ab184a4753f50 | 1461aa6e644e2b4767992c51c0df0dc87b3ad1cc | /baekjoon/2752.cpp | ab6876b30801426cb98c37f8936ad0d175b615ff | [] | no_license | lee-jisung/Algorithm | 30304849d6f1fac9bcabd74bd7893e4eb6caa58f | b2007a5419ddd9304e01796acef3be3f4d165648 | refs/heads/master | 2021-05-15T07:20:36.493660 | 2019-10-08T16:28:24 | 2019-10-08T16:28:24 | 111,793,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | cpp | #include <cstdio>
using namespace std;
int N;
int main(void) {
int arr[3];
int index, min, temp;
for (int i = 0; i < 3; i++) {
scanf("%d", &arr[i]);
}
for (int i = 0; i < 3; i++) {
min = 10000001;
for (int j = i; j < 3; j++) {
if (min > arr[j]) {
min = arr[j];
index = j;
}
}
temp = ar... | [
"noreply@github.com"
] | lee-jisung.noreply@github.com |
2ffdb19b065c856e53071f7ba4b6984f747f347b | c551fd6f83712f91a1a1f36a511347ffa7bb2eb9 | /Sasha/lesson6/mirror.cpp | 6427336ef848a19cfaab484ad4fc8057f4b30829 | [] | no_license | SashaAvag/group-sudo | 3efc8575dbe33358edc15e9c20556c34f267845d | 54e45705d60aa8e85d6431be3a84575df5ecfcda | refs/heads/master | 2021-04-06T10:22:07.445956 | 2018-06-29T06:46:02 | 2018-06-29T06:46:02 | 124,559,340 | 0 | 0 | null | 2018-03-09T15:39:02 | 2018-03-09T15:39:02 | null | UTF-8 | C++ | false | false | 338 | cpp | #include <iostream>
int mirror (int n) {
if ((n / 10) == 0) {
std::cout<<n;
}else {
std::cout<<(n % 10);
return mirror (n/10);
}
}
int main () {
std::cout<<"Enter number: ";
int n;
std::cin>>n;
std::cout<<n<<" mirror image = ";
mirror(n);
std::cout<<std::endl... | [
"Sashakingdoms@gmail.com"
] | Sashakingdoms@gmail.com |
5bf668f9d67d691d73bd19ffb2cf41bc67c0a076 | f792fdb912570862fd04037288bf63d0121b3228 | /inheritance/Derived.hpp | 111b874d0c5fb983895be39ff45d42eec1cec815 | [] | no_license | jbloit/cppCookbook | fcff98cf5b77885c0532d86edf0bafb4beee88e7 | 52e51cdbc12a1cec2f77368ce6fc49421314a0ab | refs/heads/master | 2020-12-05T23:28:23.481974 | 2020-09-30T13:28:09 | 2020-09-30T13:28:09 | 232,276,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | hpp | #ifndef DERIVED_H
#define DERIVED_H
#include "Base.hpp"
class Derived : public Base
{
public:
int y;
// default constructor, using the parameterized Base constructor
Derived() : Base(777)
{
cout << "Derived default constructor\n";
}
// parameterized ... | [
"julien.bloit@gmail.com"
] | julien.bloit@gmail.com |
7658065b78fdfac24d7e7111694d72e78a514664 | a8d360d967f06c55f48bfafcc115ab81f8524e6b | /2018/src/Commands/DriveRotate.h | f9d74dfd8512555f288562261d44b87e0b3ab967 | [] | no_license | TeamKoalafied/public | c4670f8bfc7c549f5e0cf1271b014d2990f3228e | ab4994c6beabb40452c05870b94a34194678bcc9 | refs/heads/master | 2023-01-08T18:22:17.291505 | 2023-01-06T01:41:11 | 2023-01-06T01:41:11 | 231,504,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,637 | h | //==============================================================================
// DriveRotate.h
//==============================================================================
#ifndef DriveRotate_H
#define DriveRotate_H
#include <Timer.h>
#include <Commands/Command.h>
// Command for rotating given angle on the s... | [
"smithomaster@gmail.com"
] | smithomaster@gmail.com |
a8c979d5612f357a90c6f213b6c1e5171edfe0bc | c36e4f8d7ffc781b34b4413e5abb1e9a94cb90fe | /C_Study/EE Project/EE_Project_2W_1.cpp | 549cbc4f140b984e74cfc0064fc53035db23703e | [
"MIT"
] | permissive | AnJinHyeok/C_Study | bbd9f29cec5e207165643db5702fe6fd0ac659e9 | e5ad0543e7cdc2d25c8a5717fd9578d33cbca509 | refs/heads/main | 2023-06-05T15:11:52.922695 | 2021-06-30T16:36:43 | 2021-06-30T16:36:43 | 347,581,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | #include <stdio.h>
#include <string.h>
int count(char str[]) {
int num = 0, i = 0;
for (i = 0; i < strlen(str); i++) str[i] == ' ' ? num++ : NULL;
//while (str[i++] != '\0') str[i] == ' ' ? num++ : NULL;
return num;
}
int main() {
char str[1001];
gets_s(str);
printf("%d", count(str));
} | [
"noreply@github.com"
] | AnJinHyeok.noreply@github.com |
47ee0ed5f95421f9bfaab0495da63b5abcb95257 | 46dabcc32698c30a7fb1cc6bc5db3ad5fc5d8b03 | /src/system/context/appcontext.cpp | 026d7a8aa6ad2bc12165649f729fdb7a0646e987 | [] | no_license | bbsctor/NHNAPP | 44237c8e7d84d7581ddbf6f7b64fb1d5dc6a8123 | 32d65e67b7efd6e93ef8388d36af13c8a6655b94 | refs/heads/master | 2020-03-16T15:12:07.968505 | 2018-04-19T09:52:50 | 2018-04-19T09:52:50 | 132,732,638 | 4 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 3,827 | cpp | #include "appcontext.h"
#include "../controller/meansure/meansurecontroller.h"
#include "../controller/setting/systemsettingcontroller.h"
#include "../controller/setting/periodsettingcontroller.h"
#include "../controller/maintain/systemmaintaincontroller.h"
#include "../controller/maintain/functiontestcontroller.h"
#in... | [
"bbsctor@126.com"
] | bbsctor@126.com |
9ff17d686914075a6ab4de203389a19d15a1d29b | dd63f4e78f5c3e27a6172696140ec07b62f3fb0b | /src/xf/core/customevent.cpp | 1e944aaa7983524b3231e633471375d197c33694 | [] | no_license | MartinMeyer1/RealTimeOscilloscope | 20e3e241b73f7a2f1acc3d016b0a968cb6182a94 | 5e676c6bd7f20c206c043d00de81448876268d99 | refs/heads/master | 2022-06-11T14:53:40.973831 | 2020-04-27T15:28:45 | 2020-04-27T15:28:45 | 257,309,869 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | #include "xf/customevent.h"
XFCustomEvent::XFCustomEvent(int id, interface::XFReactive * pBehavior)
: XFEvent(XFEvent::Event, id, pBehavior),
_bDeleteAfterConsume(true)
{
}
| [
"meyer.mart@outlook.com"
] | meyer.mart@outlook.com |
407acc84fc1e334f2b446914e0e05d09752cd3ae | b00c54389a95d81a22e361fa9f8bdf5a2edc93e3 | /vendor/intel/hardware/PRIVATE/audiocomms/audio-hal/hardware_device/test/StreamMock.hpp | 3dc4eda4ba66b8b3dda672f45d16c6c74b4090b1 | [] | no_license | mirek190/x86-android-5.0 | 9d1756fa7ff2f423887aa22694bd737eb634ef23 | eb1029956682072bb7404192a80214189f0dc73b | refs/heads/master | 2020-05-27T01:09:51.830208 | 2015-10-07T22:47:36 | 2015-10-07T22:47:36 | 41,942,802 | 15 | 20 | null | 2020-03-09T00:21:03 | 2015-09-05T00:11:19 | null | UTF-8 | C++ | false | false | 5,038 | hpp | /*
* INTEL CONFIDENTIAL
* Copyright (c) 2014 Intel
* Corporation All Rights Reserved.
*
* The source code contained or described herein and all documents related to
* the source code ("Material") are owned by Intel Corporation or its suppliers
* or licensors. Title to the Material remains with Intel Corporation ... | [
"mirek190@gmail.com"
] | mirek190@gmail.com |
89947b262e0f36bc54e0e07887a7b517758d788f | 1c330e9395fbc8bb35dd4c837dea010d29e6e7ff | /dsl/intv_multimap.cpp | 68cb6da81c6e13c85e8b29c5014da4dc5e2d2a4c | [] | no_license | luk036/lineda | 4e613cb8e3d9f4b18cb073a10663c9bc0f27103e | 905cb898e5af4222f25299ea030136cc3d2be428 | refs/heads/master | 2021-01-17T05:19:32.255858 | 2019-10-04T05:02:42 | 2019-10-04T05:02:42 | 3,990,632 | 0 | 0 | null | 2019-10-04T05:02:43 | 2012-04-11T05:54:33 | C++ | UTF-8 | C++ | false | false | 138 | cpp | #include "intv_multimap.hpp"
#include <iostream>
using namespace std;
void dummy_multimap() { std::intv_multimap<int, std::string> S; }
| [
"luk036@gmail.com"
] | luk036@gmail.com |
940bfc0a893c7cf46ac2b77fc26b2b5090b66eaf | ad715f9713dc5c6c570a5ac51a18b11932edf548 | /tensorflow/core/profiler/rpc/profiler_service_impl.cc | 6dd69120f763afde920e4e4e1bbbfdb02e1c2594 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | rockzhuang/tensorflow | f1f31bc8edfa402b748c500efb97473c001bac95 | cb40c060b36c6a75edfefbc4e5fc7ee720273e13 | refs/heads/master | 2022-11-08T20:41:36.735747 | 2022-10-21T01:45:52 | 2022-10-21T01:45:52 | 161,580,587 | 27 | 11 | Apache-2.0 | 2019-01-23T11:00:44 | 2018-12-13T03:47:28 | C++ | UTF-8 | C++ | false | false | 4,798 | cc | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
fcde2c19a24cb1daada3f1467fa997eb2e80d962 | 5c2416618597a42f275bf46366fa76a6ffb773b3 | /src/share/imem.h | 6b72d69ab26c7ea0de4a43a47cfff1d4e5a1c4e9 | [] | no_license | cnfntrvlnss/24209 | 7ea7f277af2c912eccb09957251c81dcf4b632b6 | eec707cbfc4c340ecd8f3143323658d86e1c1be4 | refs/heads/master | 2021-01-20T08:02:50.813475 | 2017-08-11T11:20:16 | 2017-08-11T11:20:16 | 90,090,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,500 | h | /*****************************************************************************/
/*M*
// THINKIT INTERNATIONAL PROPRIETARY INFORMATION
// This software is supplied under the terms of the license agreement
// or nondisclosure agreement with Thinkit International and may not be copied
/... | [
"zhengshurui@live.com"
] | zhengshurui@live.com |
0a73264dca6d7541b38a5ab88e333ec8f87746e2 | 84f76ce90c2b4a60e8db1bd23c4abe5b33a167bb | /fw/include/test_queue.hpp | 239d00f47207d3f7276d5699c1e55fc82958adbb | [
"MIT"
] | permissive | cednik/one-wire_sniffer | 1b28a75842e855917e87e5dbf10ca3deb407c58d | bfa8e38e6310c8a20ac48eaa711be53b3454806b | refs/heads/master | 2022-12-15T22:11:58.968852 | 2020-09-15T15:05:29 | 2020-09-15T15:05:29 | 287,253,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | hpp | #pragma once
#include <cstdint>
#include <cstddef>
#include <esp_attr.h>
#include <FreeRTOS.h>
class testQueue {
public:
static void init(size_t capacity = 128);
template<typename... Args>
static void send(Args&&... args);
template<typename... Args>
static void INTR_ATTR sendFromISR(Args&&... ... | [
"kuba.streit@gmail.com"
] | kuba.streit@gmail.com |
53749e31a54ba593b6bb5ab5cd4e8bf196395242 | 8ca1e6e17919693b35ab0ba787da0e6c8834cbb3 | /Seminar/Seminar 4/OpenMP demo/OpenMP demo.cpp | 19c200489383d87c83bcb96b42a90fb81f84ff5d | [] | no_license | haja-fgabriel/ppd | 43d46c2a0cc3f0f36b08e4f0c9804e680dd2b64a | da4d473dfd0de6c0d062a7bcaa49699856861430 | refs/heads/master | 2023-03-19T15:02:29.255755 | 2021-03-01T19:44:50 | 2021-03-01T19:44:50 | 299,298,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | cpp | #include <iostream>
#include <omp.h>
using namespace std;
int main()
{
int i;
int a[10] = { 1,2,3,4,5,6,7,8,9,10 };
int b[10] = { 1,2,3,4,5,6,7,8,9,10 };
int result[10];
omp_set_num_threads(4);
for (int i = 0; i < 10; i++) {
result[i] = a[i] + b[i];
}
for (... | [
"haja.fgabriel@gmail.com"
] | haja.fgabriel@gmail.com |
c13d721ef6008a40a936075280e1122e47bfa0e1 | 066a82ed63425419c36cd8b56492a5125c961732 | /Arduino/getTime.ino | 1d2c5897a530a7ee71b0e0f4a3a1ddd994b9b180 | [] | no_license | phawit/temp-humid | 072402a175bc062400032f2c155bf5d89bb3b4e3 | 225dbebf1d7d8c04abfc030e6a1d8aa3e8542317 | refs/heads/master | 2020-03-17T21:16:21.932158 | 2018-08-13T01:43:08 | 2018-08-13T01:43:08 | 133,951,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | ino |
#include <ESP8266WiFi.h>
#include <time.h>
const char* ssid = "MyWifi";
const char* password = "abcd1234";
int timezone = 7;
int dst = 0;
void setup() {
Serial.begin(115200);
Serial.setDebugOutput(true);
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, password);
Serial.println("\nConnecting to WiFi");
while (WiF... | [
"noreply@github.com"
] | phawit.noreply@github.com |
cab86e66268ffb2cb154a899fbed92ea4ef7f4c7 | ae09f81e751fa75ba4cb8f1688ecf9ad00c2d82e | /Beginning Programming with C++/ConcateNString/main.cpp | ec31ede5e82bc059526e9fe0cb8d209ea393d4fb | [] | no_license | YChuan1115/cAndC- | c205cf325be73de3ff868c50240fbea1146b7fcc | 78d96b3063095406b5dcb200c922620ed67b5f2b | refs/heads/master | 2020-05-27T06:03:10.995160 | 2016-07-06T03:00:12 | 2016-07-06T03:00:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,100 | cpp | //
// ConcatenateNString - similar to ConcatenateString
// except this version makes sure to not
// write beyond the end of the target
// array.
//
#include <cstdio>
#include <cstdlib>
#include <iostream>
using namespace std;
// concatenateString - concaten... | [
"roberthsu@roberthsude-MacBook.local"
] | roberthsu@roberthsude-MacBook.local |
5c2f5340c76cc14a3c887d2e7dc3a411b0298d04 | fae6d83d66f83dc225784771fcb005272e346d72 | /src/main/cpp/http/HttpServer.h | f05e53336abe2cb33944ce7682f9ba561238d607 | [] | no_license | Axure/BoostServer | 5f4d8028dfbfb182830cd025685b7ce07cc5ecff | 1dd605d0b0092469ba65c0c6d3ec0810b51a7846 | refs/heads/master | 2021-01-22T12:03:05.452236 | 2015-09-15T00:21:00 | 2015-09-15T00:21:00 | 42,462,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | h | //
// Created by 郑虎 on 2015-09-15.
//
#ifndef BOOSTSERVER_HTTPSERVER_H
#define BOOSTSERVER_HTTPSERVER_H
namespace boost_server {
namespace http {
class HttpServer {
public:
HttpServer();
~HttpServer();
private:
};
}
}
#endif //BOOSTSERVER_HTTPSERVER_H
| [
"axurez@vip.qq.com"
] | axurez@vip.qq.com |
99b1460aae3715c9b446ddc67c0d51dcd6cd6ea6 | 38177e8ea1f87a877c16d2ca8bbf207ccf198dc1 | /YoloDetectionHoloLensUnity/app/Il2CppOutputProject/Source/il2cppOutput/Bulk_UnityEngine.TextRenderingModule_0.cpp | 88a43d18f6a7af97a898b6025a31f3a8542c5268 | [
"MIT"
] | permissive | atolegen/YoloDetect | eaeee5ac5626591205b90f7fef70da09c336e604 | 30f230508d28859225bc9c199d69f7e723d12c0f | refs/heads/master | 2022-12-22T00:19:23.551996 | 2020-08-28T17:13:41 | 2020-08-28T17:13:41 | 287,201,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222,848 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | [
"tolegen.akhmetov@nu.edu.kz"
] | tolegen.akhmetov@nu.edu.kz |
81ce946814b199cc0140cdb7bc6cff791d4275a4 | b1c317e8aeef0ce6ea5b49c590a0d640f0488bf9 | /Book/Chapter 7 /Points and Lines: CP 7.1, 7.2.1, 7.2.2/UVa 587 - There's treasure everywhere!.cpp | da0537ef5595f3b1daa68f31fe8deec03b97d4aa | [] | no_license | akramsameer/Problems | e94ee6b49f8333c98f0cc60282a88f475f8a04f6 | 8df3ca030c9c1381388902759b6f391e25463cdf | refs/heads/master | 2021-01-01T15:47:31.497082 | 2018-06-04T18:38:58 | 2018-06-04T18:38:58 | 97,703,981 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | cpp | #include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long int
#define EPS 1e-9
using namespace std;
#define clr(v , d) memset(v , d , sizeof v)
#define sz(v) ((int)(v).size())
const int VISITED = 1;
const int UNVISITED = -1;
const long long OO = 1e12;
const int OOI = 1e9;
const double PI = acos(-1.0... | [
"akram.sameer99@gmail.com"
] | akram.sameer99@gmail.com |
065c92d48c1aff9760b1210ef8f6e66f2e95674a | 80c18f56f65b60b72b723815654a251dbecd4125 | /app/src/main/cpp/MyPlayerStatus.h | ced5da2641a415bd7d13455203c63a8388357339 | [] | no_license | tck8888/MyPlayer | 4f1e00c63e027ba6919f2b0b59b52dbd65cb8e79 | d7f35ed4dce2d74b0ebb354754d65d6c6df4d1be | refs/heads/main | 2023-01-20T15:51:30.489560 | 2020-12-02T11:06:08 | 2020-12-02T11:06:08 | 315,661,823 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | h | //
// Created by tck on 2020/11/27.
//
#ifndef MYMUSICPLAYER_MYPLAYERSTATUS_H
#define MYMUSICPLAYER_MYPLAYERSTATUS_H
class MyPlayerStatus {
public:
bool exit= false;
bool load= true;
bool seek = false;
public:
MyPlayerStatus();
~MyPlayerStatus();
};
#endif //MYMUSICPLAYER_MYPLAYERSTATUS_H
| [
"tck@dra100.com"
] | tck@dra100.com |
ca1f4e4598ecc85cbaa6033eef5b50bfaad7525e | 63e3790fdea6838baf8451281baa21e47cd5c4e4 | /OpenGL4/OpenGL4/Source/System/Timer.cpp | ccd1e1029c340ce18c4b40324ea81ba53a11ca3a | [] | no_license | Velktri/ModernGLFun | eb2356111fab6bd4e1707db4e8267a95c2956dd1 | 0772b4f4d7a397c04f46862868b476b82e9b6500 | refs/heads/master | 2021-01-13T16:40:32.310784 | 2017-12-24T10:35:01 | 2017-12-24T10:35:01 | 78,192,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | #include "Timer.h"
Timer::Timer() {
bIsClockRunning = false;
DeltaTime = 0.0f;
LastFrame = 0.0f;
}
Timer::~Timer() {
}
void Timer::Start() {
if (!bIsClockRunning) {
TimeStart = std::chrono::high_resolution_clock::now();
bIsClockRunning = true;
}
}
void Timer::Stop() {
if (bIsClockRunning) {
bIsClockRunn... | [
"murrayg2@gmail.com"
] | murrayg2@gmail.com |
02e5bb2b4c498eac68e2cee60ab7aef9b7db0c43 | f9ceb2540a6899d401d72ca4db628bf39ada5401 | /aten/src/ATen/mps/MPSAllocator.h | 72c0024807255e4fa27c628495c882584d3ce7d3 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | zhuangh/pytorch | 4d03fdb822071d4e85f7d2008079aeb834143554 | f11cce309bf290151a21b2ac8e79bf2a24dcf2f3 | refs/heads/master | 2023-03-15T11:42:05.827978 | 2022-06-25T12:40:52 | 2022-06-25T12:40:52 | 507,397,273 | 0 | 0 | NOASSERTION | 2022-06-25T19:13:38 | 2022-06-25T19:13:37 | null | UTF-8 | C++ | false | false | 10,231 | h | // Copyright © 2022 Apple Inc.
#include <ATen/Tensor.h>
#include <ATen/ATen.h>
#include <ATen/Utils.h>
#include <torch/library.h>
#include <c10/util/flat_hash_map.h>
#include <ATen/mps/MPSDevice.h>
#include <cstdio>
#include <mutex>
#include <set>
#include <utility>
#include <mach/vm_page_size.h>
#ifdef __OBJC__
#i... | [
"pytorchmergebot@users.noreply.github.com"
] | pytorchmergebot@users.noreply.github.com |
912582a2fefcfa1dc34c28211254762f5181679c | cfcdc526fef660f71cdb84e12e20efbeee623584 | /src/simulator.cpp | 6eb4f12f233e711c7e5e52f8d493dd52702af438 | [] | no_license | dragon12/simulator | b770aec8a45d18df7b2488797309249ddca9b0fb | 601424ebe6281a6bca02529f3e6d5814b13fe86b | refs/heads/master | 2020-05-17T06:49:59.986247 | 2014-07-23T05:46:23 | 2014-07-23T05:46:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | cpp | //============================================================================
// Name : feedhandler.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#includ... | [
"gerard0sweeney@gmail.com"
] | gerard0sweeney@gmail.com |
560786e3b49988ce07ff94e8ebf7b4d4381d9f9f | 73602f288599dd105b544b3ea7b4af02cf161623 | /deps/lld/COFF/Writer.h | 21be1be6e92a5a0018318d5cb5e14909a75e8749 | [
"MIT",
"NCSA",
"LicenseRef-scancode-free-unknown"
] | permissive | mdsteele/zig | 530795a84d3495c8d8a5810672049c6379186b53 | 53b18b079189cce355767ce4fde4fc586f0d3248 | refs/heads/master | 2020-03-24T19:55:18.174466 | 2018-08-18T00:15:39 | 2018-08-18T00:15:39 | 142,950,461 | 0 | 0 | MIT | 2018-08-04T18:38:52 | 2018-07-31T02:13:53 | C++ | UTF-8 | C++ | false | false | 2,401 | h | //===- Writer.h -------------------------------------------------*- C++ -*-===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... | [
"superjoe30@gmail.com"
] | superjoe30@gmail.com |
fe676462f002bb7ab4176dfc45dcff9483cb0867 | 41e7251063f265b98df8d612473068bec2465997 | /include/framework/log/SMFILogAppender.h | 09977a1f583da20aaa3239589a91250085d1ece8 | [] | no_license | inbei/smf | fefd47a96559483aa396861fd23aca9e29e49d04 | 702f6a296d4db28bfeed88718d4da6d2f801023a | refs/heads/main | 2023-03-16T06:38:27.542161 | 2020-12-17T06:09:17 | 2020-12-17T06:09:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | h | #ifndef SMF_ILOG_APPENDER_H
#define SMF_ILOG_APPENDER_H
#include "SMFLogPrerequisites.h"
namespace surveon
{
namespace mf
{
namespace log
{
class IAppender
{
public:
virtual ~IAppender(void) {}
//virtual const String& getName(void) const = 0;
virtual AppenderContext* getContext(void) = 0;
};
class... | [
"younianhuang@gmail.com"
] | younianhuang@gmail.com |
6a84c073af18771f82e81c86e00116c7cd53faa3 | 6d54a7b26d0eb82152a549a6a9dfde656687752c | /src/lib/dnssd/tests/TestServiceNaming.cpp | 646a51e39f4806038aebbe402cb9e7685b2302a3 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | project-chip/connectedhomeip | 81a123d675cf527773f70047d1ed1c43be5ffe6d | ea3970a7f11cd227ac55917edaa835a2a9bc4fc8 | refs/heads/master | 2023-09-01T11:43:37.546040 | 2023-09-01T08:01:32 | 2023-09-01T08:01:32 | 244,694,174 | 6,409 | 1,789 | Apache-2.0 | 2023-09-14T20:56:31 | 2020-03-03T17:05:10 | C++ | UTF-8 | C++ | false | false | 13,755 | cpp | /*
*
* Copyright (c) 2021 Project CHIP Authors
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | [
"noreply@github.com"
] | project-chip.noreply@github.com |
f2062253dd1418f83c9f95962fdc3e95570ed582 | 187ce9d4df99208c3db0e44f3db6a3df4ce34717 | /C++/209.minimum-size-subarray-sum.cpp | e89bfdef6ac55d5062ead2115068f34cc184a1c7 | [] | no_license | zhoujf620/LeetCode-Practice | 5098359fbebe07ffa0d13fe40236cecf80c12507 | 8babc83cefc6722b9845f61ef5d15edc99648cb6 | refs/heads/master | 2022-09-26T21:49:59.248276 | 2022-09-21T14:33:03 | 2022-09-21T14:33:03 | 222,195,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,130 | cpp | /*
* @lc app=leetcode id=209 lang=cpp
*
* [209] Minimum Size Subarray Sum
*
* https://leetcode.com/problems/minimum-size-subarray-sum/description/
*
* algorithms
* Medium (36.50%)
* Likes: 1656
* Dislikes: 91
* Total Accepted: 222.6K
* Total Submissions: 609.5K
* Testcase Example: '7\n[2,3,1,2,4,3]'... | [
"zhoujf620@zju.edu.cn"
] | zhoujf620@zju.edu.cn |
2d58e519f37def3d866a61f6c910fdc407dec79b | 22da562485e22d0daf62a61610fe529535d4ef87 | /frameworks/js-bindings/bindings/auto/jsb_cocos2dx_3d_auto.hpp | 08d6b225d865ef8432272901cf81379bffd045dc | [] | no_license | Ginayxy/SmogHero1 | bcb2592453bb6275f6f78dd91bccfbda91cc4f1a | ef53751b7e9b2082dd6c1484961dc02958faa602 | refs/heads/master | 2021-01-10T19:14:03.402357 | 2015-05-17T00:36:11 | 2015-05-17T00:36:11 | 34,706,068 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,478 | hpp | #ifndef __cocos2dx_3d_h__
#define __cocos2dx_3d_h__
#include "jsapi.h"
#include "jsfriendapi.h"
extern JSClass *jsb_cocos2d_Skeleton3D_class;
extern JSObject *jsb_cocos2d_Skeleton3D_prototype;
bool js_cocos2dx_3d_Skeleton3D_constructor(JSContext *cx, uint32_t argc, jsval *vp);
void js_cocos2dx_3d_Skeleton3D_finali... | [
"ginayxy@163.com"
] | ginayxy@163.com |
2cb9f7bf3b9aa7686ed6e88ade3f08cc762398e2 | 575731c1155e321e7b22d8373ad5876b292b0b2f | /examples/native/ios/Pods/boost-for-react-native/boost/units/base_units/metric/fermi.hpp | b2e30a0cb4c18f9ebc49b01268f4161cbc0c4222 | [
"BSL-1.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Nozbe/zacs | 802a84ffd47413a1687a573edda519156ca317c7 | c3d455426bc7dfb83e09fdf20781c2632a205c04 | refs/heads/master | 2023-06-12T20:53:31.482746 | 2023-06-07T07:06:49 | 2023-06-07T07:06:49 | 201,777,469 | 432 | 10 | MIT | 2023-01-24T13:29:34 | 2019-08-11T14:47:50 | JavaScript | UTF-8 | C++ | false | false | 1,090 | hpp | // Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2007-2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LI... | [
"radexpl@gmail.com"
] | radexpl@gmail.com |
f239ee75e64150e23d3ac01362f2ceff0f795da6 | c11f910ea76b37cf1af8af9dccd70b70fc904896 | /Wifimanager.ino | 115c895a63a43d97d43c079003c365fb2dd11166 | [] | no_license | acuariojose2020/1_Temperatura_acuario | 84cc98b4fe8e02507d7e34fb6af8829a889c14bb | 881595901138a34d2a3b849103edff18d89246bb | refs/heads/master | 2022-11-10T18:04:08.344476 | 2020-06-21T12:53:03 | 2020-06-21T12:53:03 | 265,219,092 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,140 | ino | //###############################################################################################
// callback notifying us of the need to save config
//
//###############################################################################################
void saveConfigCallback () {
shouldSaveConfig = true;
}
... | [
"noreply@github.com"
] | acuariojose2020.noreply@github.com |
33cf6ba0f68deb1fea417d00320b49d0c2521a89 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/TileDB/2016/4/c_api.cc | b5bcd8d8cfc6937c36b7aa76117e29e07e5bc655 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 35,844 | cc | /**
* @file c_api.cc
*
* @section LICENSE
*
* The MIT License
*
* @copyright Copyright (c) 2016 MIT and Intel Corp.
*
* 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 rest... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
6b515bfd2ea0a072624a5f636de9735e30580483 | 79853ae21729ba9e4cfe11f9ab74b7947bf02c45 | /Tests.cpp | 4d32fa626a1b6139389e11a19288b6caa9d027b9 | [] | no_license | al3ks1002/AdoptAPet | 56fee9a6aa22f0c1805bff057e3b5005f275ca41 | 4ac0042dd332a640737832bf7e72b67e585fa246 | refs/heads/master | 2021-01-21T14:44:26.252156 | 2016-06-20T16:49:01 | 2016-06-20T16:49:01 | 58,822,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,609 | cpp | //
// Created by alex on 20.03.2016.
//
#include <cassert>
#include <iostream>
#include "Tests.h"
#include "Vector.h"
#include "RepositoryAdmin.h"
#include "ControllerAdmin.h"
#include "RepositoryUser.h"
#include "CustomException.h"
void Tests::run_tests() {
test_vector();
test_repository();
test_controll... | [
"al3ks1002@gmail.com"
] | al3ks1002@gmail.com |
c01874d56e76a69099e83620d581147877072e87 | d9cdadc24bbd62fa0ac36e2ccd07975254a71e5a | /39.Combination Sum.cpp | f30ff97dcd5224990d72669543d91fa3957b6a08 | [] | no_license | GaoLF/LeetCode_THD | d2097881bd0dc41c7f1fe0fc2aca5de9f6c27f2f | ba464bc507342c483031c5bc79486fd18b5f78a9 | refs/heads/master | 2016-09-11T06:57:35.030031 | 2015-09-13T03:13:40 | 2015-09-13T03:13:40 | 42,153,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,277 | cpp | #include<iostream>
#include<algorithm>
#include<string>
#include<unordered_set>
#include<unordered_map>
#include<math.h>
#include<stack>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
vector<vector<int> > combinat... | [
"gaolongfei@pku.edu.cn"
] | gaolongfei@pku.edu.cn |
f65e22a9a1c2b3165afa00eb3259903e16d55dff | 2bc835b044f306fca1affd1c61b8650b06751756 | /winhttp/v5/inc/makefile.inc | b362cbd85edac63959cba2eadb45324b2d5672e8 | [] | no_license | KernelPanic-OpenSource/Win2K3_NT_inetcore | bbb2354d95a51a75ce2dfd67b18cfb6b21c94939 | 75f614d008bfce1ea71e4a727205f46b0de8e1c3 | refs/heads/master | 2023-04-04T02:55:25.139618 | 2021-04-14T05:25:01 | 2021-04-14T05:25:01 | 357,780,123 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63 | inc | winhttp.h: winhttp.w
hsplit -o winhttp.h internal.h winhttp.w
| [
"polarisdp@gmail.com"
] | polarisdp@gmail.com |
41798191c23095938c016cd371066ffb7f023820 | 2452e0375b99a3226f01814c3138c8edf7b3dbd1 | /光线跟踪/engine/Object.cpp | 7358b98c3ea7c3cccf4e36468d7f2771c70623f8 | [] | no_license | hello-choulvlv/hello-world | ac00931ab6b2e7e921e68875b1b8a918476351a7 | 29cdc82c847a4ecf5d6051a6bb084260cded5cc7 | refs/heads/master | 2021-12-29T09:40:58.368942 | 2021-12-15T04:45:47 | 2021-12-15T04:45:47 | 209,924,279 | 2 | 3 | null | null | null | null | GB18030 | C++ | false | false | 510 | cpp | /*
*@aim:引用计数实现
*&2016-4-23
*/
#include "Object.h"
#include<assert.h>
Object::Object()
{
_referenceCount = 1;
}
Object::~Object()
{
assert(!_referenceCount);
}
//
void Object::retain()
{
++_referenceCount;
}
//ref count
int Object::getReferenceCount()const
{
... | [
"xiaoxiong@gmail.com"
] | xiaoxiong@gmail.com |
60b47f3ed13eed824f5308ab5353c9ec22936154 | a634f0d4796195e20f7c74d22fdb3ed3ee4e02eb | /labs/lab4-v.cpp | c257314c16e046c10ffceadff2e3bd496378c709 | [] | no_license | anelyausk/ADS | 40034fe29249ce6ae52a34a0da878307f488c046 | 2c6d5ce0631298155ad919f481519783d00c84f5 | refs/heads/main | 2023-02-01T22:49:35.372580 | 2020-12-20T16:13:57 | 2020-12-20T16:13:57 | 323,103,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | cpp | #include <iostream>
using namespace std;
struct N{
int x;
N *left, *right;
N (int k){
x = k;
left = NULL;
right = NULL;
}
};
bool exist(N* root, int val){
if (root == NULL) return false;
if (root->x == val) return true;
if (val < root->x){
return exist(roo... | [
"noreply@github.com"
] | anelyausk.noreply@github.com |
a5dccb060c53ef6b32d4d3ed6184278b015424d5 | cbd56acc174f049cc1e5278b4c33732dd02cc6d7 | /src/miner.cpp | 75d06d1163549196acce9dfddff2d4518cf7da08 | [
"MIT"
] | permissive | TeleBETteam/TeleBET | 859887a03ba3fb450f87e815d1a534e001732c71 | 208e086b3799fbcb0ccc2dbd9b446737cd51f87a | refs/heads/master | 2021-01-17T14:00:35.221880 | 2015-05-11T09:15:52 | 2015-05-11T09:15:52 | 35,366,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,773 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2013 The NovaCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "miner.h"... | [
"telebetteam@gmail.com"
] | telebetteam@gmail.com |
696530ecb61aec701a00bf6f1a5532a8f90835e4 | 1c8856bd66702198a6748e19f61671e43c3d5076 | /src/Models/SortedAddressBookModel.h | 8647f931380bd7e46e22b8220f1496b58f360db8 | [] | no_license | Camellia73/Xcoin-GUI-wallet-dev | bd68f571c945f782379eafb77a63ab11b8b60f70 | a13d57f0f89fab92cfc368162e07080a6d1cd7ab | refs/heads/master | 2022-02-10T03:06:55.463672 | 2022-01-31T15:59:39 | 2022-01-31T15:59:39 | 195,107,451 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | h | // Copyright (c) 2015-2017, The Bytecoin developers
//
// This file is part of Bytecoin.
//
// Xcoin is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your opt... | [
"blackrosecoin@tutanota.com"
] | blackrosecoin@tutanota.com |
36eff11ed6c7a53aac56fe33051da06fb3fc4c13 | 70edb4f46d89276f678a994bd009f3ce13de04eb | /thirdparty/JavaScriptCore/JSWeakObjectMapRefPrivate.cpp | d2c537a8a0141b22dd34bf8984a39c630e9ebf46 | [
"MIT"
] | permissive | erickzhao/neutralinojs | f31f2b0d931f2cb62c166571a736765871d4a31b | 654644f65ff865ef1c9ff41608c02410ac4e9ed2 | refs/heads/master | 2020-09-16T13:35:18.529180 | 2019-11-25T01:46:29 | 2019-11-25T01:46:29 | 223,785,447 | 1 | 0 | MIT | 2019-11-24T17:50:44 | 2019-11-24T17:48:33 | C++ | UTF-8 | C++ | false | false | 3,453 | cpp | /*
* Copyright (C) 2010 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | [
"erick@hotmail.ca"
] | erick@hotmail.ca |
affe5b2eca865f658da8ea6d9a0097648e054a19 | 73ebcf788041071a87add04bec5b08675573b78f | /final/phylobase/src/ncl/nxsdefs.h | 8117c7a0c2c59a0f7be99bd49aa31c292156b036 | [] | no_license | rachan5/ECS158HW2 | 3c721b23f0dcf6830531ca57b75d71ef32b56919 | 443e21edcb3a3622a2f6ed913ee86d7bf5fdcbe3 | refs/heads/master | 2020-04-10T00:08:04.302301 | 2015-03-21T06:51:37 | 2015-03-21T06:51:37 | 30,328,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,913 | h | // Copyright (C) 1999-2003 Paul O. Lewis
//
// This file is part of NCL (Nexus Class Library) version 2.0.
//
// NCL 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 2 of the License, or
// (at... | [
"raschan@ucdavis.edu"
] | raschan@ucdavis.edu |
94f32afff9c382c498cf8399dbcdd824655b60ab | b4b6c04c65cff97e42999f7cfd2305b5c3f51cdd | /tensorpipe/channel/cuda_gdr/channel_impl.h | d6319857fbf29b8fa01e0cb5002c5179c3737fd8 | [
"BSD-3-Clause"
] | permissive | Pandinosaurus/tensorpipe | 84409f890083393acda38eeb38eebc82c8187cf6 | 6042f1a4cbce8eef997f11ed0012de137b317361 | refs/heads/master | 2023-07-14T22:06:26.443000 | 2021-08-31T10:10:51 | 2021-08-31T10:11:56 | 350,055,306 | 0 | 0 | NOASSERTION | 2021-08-31T14:16:07 | 2021-03-21T16:31:43 | C++ | UTF-8 | C++ | false | false | 8,808 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <list>
#include <memory>
#include <string>
#include <utility>
#include <vector... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
4fe633a28011c0f85188728f4b83ed10085e1b2e | e3ec7d68f544e82c6016409ce2a59a5680f19b1e | /C++/kniha/kody/kap17/17.14 peeker.cpp | 197176b7172ba2a1c38fd536902e7fdef85d63a9 | [] | no_license | branislavblazek/notes | 429a9c3ceb142de9cfb460a0a8c1389f2313454e | e88072ff01ecba6e96d70decb5b5597755b8e925 | refs/heads/master | 2021-10-23T13:33:59.211385 | 2021-10-13T19:41:03 | 2021-10-13T19:41:03 | 239,040,112 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 787 | cpp | // peeker.cpp -- některé metody z istream
#include <iostream>
int main()
{
using std::cout;
using std::cin;
using std::endl;
// čte a zobrazuje vstup až do znaku #
char ch;
while(cin.get(ch)) // skončí při EOF
{
if (ch != '#')
cout << ch;
else
{
cin.putback(ch); // vloží znak zpět... | [
"branislav.blazek.bb@gmail.com"
] | branislav.blazek.bb@gmail.com |
2a49a823fb8072a49bed2c65c60b79d307e6f21b | 3c65a5f203f2d4b02ff9c1bdd999c9e3b18007e7 | /rpc/msgcli.cpp | a39de843cc571be7e6b0f7722ae2f7ed680db2b2 | [
"BSL-1.0"
] | permissive | cristivlas/zerobugs | 07c81ceec27fd1191716e52b29825087baad39e4 | 5f080c8645b123d7887fd8a64f60e8d226e3b1d5 | refs/heads/master | 2020-03-19T17:20:35.491229 | 2018-06-09T20:17:55 | 2018-06-09T20:17:55 | 136,754,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,815 | cpp | // -*- tab-width: 4; indent-tabs-mode: nil; -*-
// vim: tabstop=4:softtabstop=4:expandtab:shiftwidth=4
//
// $Id$
//
// -------------------------------------------------------------------------
// This file is part of ZeroBugs, Copyright (c) 2010 Cristian L. Vlasceanu
//
// Distributed under the Boost Software License... | [
"cvlasceanu@tableau.com"
] | cvlasceanu@tableau.com |
792b50054801c5519e0ead4a5347e4dae89c06ce | c1758d8320617d2358ef389412de09bc21ffd143 | /demo/cocos2dx/support/zip_support/ioapi.h | 98e0b2cfb33dd5aea98b178b888b78164db4b79f | [] | no_license | haxpor/ObjectAL-CppWrapper | 22b925bd62a205bd9037baaec0adb969286932f6 | 668db061f28897f78448105328bd9d4b3d5e78e6 | refs/heads/master | 2021-01-10T11:36:30.074583 | 2015-10-30T02:26:33 | 2015-10-30T02:26:33 | 45,214,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,877 | h | /* ioapi.h -- IO base function header for compress/uncompress .zip
part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
Modifications for Zip64 support
Copyright (C... | [
"haxpor@gmail.com"
] | haxpor@gmail.com |
69ece003cdaae23756a722bee4933555cfbe2a68 | a9e308c81c27a80c53c899ce806d6d7b4a9bbbf3 | /engine/xray/render/core/sources/xs_descriptor.cpp | 6453bac322410381d4c7bc2b1049a6e30bfcb0f8 | [] | no_license | NikitaNikson/xray-2_0 | 00d8e78112d7b3d5ec1cb790c90f614dc732f633 | 82b049d2d177aac15e1317cbe281e8c167b8f8d1 | refs/heads/master | 2023-06-25T16:51:26.243019 | 2020-09-29T15:49:23 | 2020-09-29T15:49:23 | 390,966,305 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,974 | cpp | ////////////////////////////////////////////////////////////////////////////
// Created : 13.04.2010
// Author : Armen Abroyan
// Copyright (C) GSC Game World - 2010
////////////////////////////////////////////////////////////////////////////
#include "pch.h"
#include <xray/render/core/xs_descriptor.h>
namespace xr... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
25b3e9f7598f58f99357750e522ed6a776f49949 | 87aba51b1f708b47d78b5c4180baf731d752e26d | /Replication/DataFileSystem/PRODUCT_SOURCE_CODE/itk/Modules/ThirdParty/VNL/src/vxl/vcl/emulation/vcl_list.h | 2001061c0e2666d29d52881926358f480d9dcca0 | [] | no_license | jstavr/Architecture-Relation-Evaluator | 12c225941e9a4942e83eb6d78f778c3cf5275363 | c63c056ee6737a3d90fac628f2bc50b85c6bd0dc | refs/heads/master | 2020-12-31T05:10:08.774893 | 2016-05-14T16:09:40 | 2016-05-14T16:09:40 | 58,766,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,911 | h | /*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this... | [
"jstavr2@gmail.com"
] | jstavr2@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.