blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4776186098069ae14bb7985b4f175c399d5a30c2 | f383545b6995dd0e33429410241268f20c3b1104 | /tools/profiler/ui/window_impl.cc | a62743f3d11567eb768b6d0f0ccad0ac6bf2c7e5 | [] | no_license | hefen1/kalpa | bc3b2d28be88c2a09e98b30644be55fd8bef46b7 | 3f11f137e87368773fd6ac30da068f85533704e5 | refs/heads/master | 2020-04-11T17:35:39.889424 | 2014-07-25T06:28:19 | 2014-07-25T06:29:51 | 22,252,916 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,506 | cc | // Copyright (c) 2011 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 "window_impl.h"
#include <list>
#include "base/memory/singleton.h"
#include "base/strings/string_number_conversions.h"
#include "base/win/w... | [
"sunwangme@gmail.com"
] | sunwangme@gmail.com |
d0b2e64c12d80fdf42aaf4b121c70b655a851b3f | 16e130599e881b7c1782ae822f3c52d88eac5892 | /leetcode/twoSumIV/main.cpp | 4137b6e25ca1e175153c9de5a2a607bc05edb397 | [] | no_license | knightzf/review | 9b40221a908d8197a3288ba3774651aa31aef338 | 8c716b13b5bfba7eafc218f29e4f240700ae3707 | refs/heads/master | 2023-04-27T04:43:36.840289 | 2023-04-22T22:15:26 | 2023-04-22T22:15:26 | 10,069,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | cpp | #include "header.h"
class Solution {
public:
bool findTarget(TreeNode* root, int k) {
return impl(root, root, k);
}
bool impl(TreeNode* node, TreeNode* root, int k)
{
if(node == nullptr) return false;
if(impl(node->left, root, k)) return true;
if(node->val *... | [
"knightzf@gmail.com"
] | knightzf@gmail.com |
078939f3383a2942bae7ee8c13a6d7aa4789f654 | 47eb05f6081abc9cb865020218011c5e643f51ed | /EEPROM/polywog_eeprom_net_setup.ino | 3c0e822b4b0c6bb08eacead9a0bd8202acac436e | [] | no_license | comwareinternational/Polywog_Examples | be59b55fb178b6c72e4133461e266f49e316638b | a5230c7484f2e07a641934316184428dee2e0d7d | refs/heads/master | 2021-07-06T18:55:36.938350 | 2017-10-03T02:35:47 | 2017-10-03T02:35:47 | 105,604,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,637 | ino | // Arduino Network EEPROM Setup utility - eeprom_net_setup
// D. Retz, March 2017
#include "Arduino.h"
#include "EEPROM.h"
#include "string.h"
#include "polywog_eeprom.h" // contains EEPROM structure
// eeprom_crc returns a 32-bit unsigned value
unsigned long eeprom_crc(unsigned char *p, int length) {
const ... | [
"noreply@github.com"
] | noreply@github.com |
b15b264551de3396fe368ea9bb89bd2c424c96fd | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/NiagaraCore/NiagaraDataInterfaceBase.gen.cpp | 5a9985d537d2d5c60bc1d3ff70581b1b1229fc41 | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 3,674 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
53715d69aa7cda18da622bfc7d6c793b0f849cc4 | 1d9df1156e49f768ed2633641075f4c307d24ad2 | /tizen_src/chromium_impl/ui/native_theme/native_theme_tizen_tv.cc | 855b09d690ed661ec453219a1e141adcc825ead0 | [
"BSD-3-Clause",
"LGPL-2.1-or-later",
"BSD-2-Clause"
] | permissive | GSIL-Monitor/platform.framework.web.chromium-efl | 8056d94301c67a8524f6106482087fd683c889ce | e156100b0c5cfc84c19de612dbdb0987cddf8867 | refs/heads/master | 2022-10-26T00:23:44.061873 | 2018-10-30T03:41:51 | 2018-10-30T03:41:51 | 161,171,104 | 0 | 1 | BSD-3-Clause | 2022-10-20T23:50:20 | 2018-12-10T12:24:06 | C++ | UTF-8 | C++ | false | false | 20,933 | cc | // Copyright 2018 Samsung Electronics. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/native_theme/native_theme_tizen_tv.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "cc/paint/paint_canvas.h"
#include... | [
"RetZero@desktop"
] | RetZero@desktop |
495ff0f7e95bb83bd31e86783adeea489f9618a5 | 5298470d94d0f99761e3a6fc5888ca1ae055d5d9 | /AirSurfer/Library/Il2cppBuildCache/Android/armeabi-v7a/il2cppOutput/System1.cpp | 042df84e51423dfe64ad9252f9a07b5739e5339d | [] | no_license | MosesAdamu/AlheriGames_DodgeSphere_08-07-2021_Crazylabs | d33a4157fb20115d714ee947bb389055d369c7ae | 5543696277566e991db24236d84c5718db4ba655 | refs/heads/main | 2023-06-01T00:50:17.558322 | 2021-07-09T03:27:21 | 2021-07-09T03:27:21 | 384,291,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,728,457 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
#include "icalls/System/System.Net.Sockets/SocketException.h"
#include "icalls/System/System.Diagnostics/Stopwatch.h"
template <typename R, typename T1>
struct VirtFuncInvoker1
{
t... | [
"zegnovini@yahoo.com"
] | zegnovini@yahoo.com |
5f7423496585937a763a02a68960f76d4d7af44f | 9f496de2bcaba3d287fd8532263a12df4f7ff508 | /src/main.cpp | 719da5ff6c87279bc154e44464ada7ddfba604fd | [] | no_license | oshiro3/qrune | 79b1ee9dcb93e85a061b2d001224352755c5b267 | 839c958c061a83bbfb5ea198af2c31785e08a4e3 | refs/heads/master | 2023-01-04T00:31:54.553843 | 2020-10-19T13:17:48 | 2020-10-19T13:17:48 | 297,600,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,735 | cpp | #include <bitset>
#include <byteswap.h>
#include <cstdlib>
#include <cstring>
#include <experimental/filesystem>
#include <fstream>
#include <iostream>
#include <string>
#include <sys/stat.h>
#include "blob.hpp"
#include "commit.hpp"
#include "file_io.hpp"
#include "index.hpp"
#include "qrune.hpp"
#include "tree.hpp"
... | [
"hojo.yosuke@gmail.com"
] | hojo.yosuke@gmail.com |
c49a91607ab07c8da0d9a89444ebd6aeb0aaa288 | c2915484a4fe848b9bfee6bfb65f824993dde59b | /Case_super_save/Case0/Case/case8/1000/nut | 618cb17e43942a4861af040bfd4fc9941b433a5e | [] | no_license | mamitsu2/aircond5_play3 | 835b937da2d60771b8a7b81e13631a8a1271e8f4 | 8eee217855014d562013e0dbe0024208a4633db3 | refs/heads/master | 2020-05-24T21:54:50.022678 | 2019-05-19T13:31:37 | 2019-05-19T13:31:37 | 187,480,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,987 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
3412fb95cc75ce291a189da57ff1569523efbb2a | 0a5645154953b0a09d3f78753a1711aaa76928ff | /common/c/nbgm/nbre/include/private/nbreprimitivecollisionobject2d.h | 5298c5d34a4e9cf018a9cf74938ed9f42f05a3fc | [] | no_license | GENIVI/navigation-next | 3a6f26063350ac8862b4d0e2e9d3522f6f249328 | cb8f7ec5ec4c78ef57aa573315b75960b2a5dd36 | refs/heads/master | 2023-08-04T17:44:45.239062 | 2023-07-25T19:22:19 | 2023-07-25T19:22:19 | 116,230,587 | 17 | 11 | null | 2018-05-18T20:00:38 | 2018-01-04T07:43:22 | C++ | UTF-8 | C++ | false | false | 3,410 | h | /*
Copyright (c) 2018, TeleCommunication Systems, 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:
* Redistributions of source code must retain the above copyright
notice, this list of condi... | [
"caavula@telecomsys.com"
] | caavula@telecomsys.com |
dbec746b194bf3376c696c85e6421a5f7bed8408 | d7b233d36129b8c5e9af97b4416592336193396a | /solution--suchartee/shapes.h | 326125a6bb09497b8fc89961675f0656437d8d2c | [
"CC-BY-4.0",
"MIT"
] | permissive | suchartee/assignment-05 | 1587c5fd91b69f4a9fa6a32b206906edad227044 | cfcf57388ef3f06afee955f76a73ee17db399bf4 | refs/heads/master | 2021-01-22T03:57:38.105354 | 2016-04-27T22:30:37 | 2016-04-27T22:30:37 | 57,252,936 | 0 | 0 | null | 2016-04-27T22:26:20 | 2016-04-27T22:26:20 | null | UTF-8 | C++ | false | false | 1,799 | h | /* ----------------------------------------------------------------------------
* Copyright © 2016 Suchartee Kitisopakul <suchartee@csu.fullerton.edu>
* Released under the [MIT License] (http://opensource.org/licenses/MIT)
* ------------------------------------------------------------------------- */
#ifndef SHAP... | [
"suchartee.k@gmail.com"
] | suchartee.k@gmail.com |
bacef319444e19e01d09e3802635789d3860d16d | 6b6a61c289f4a45c67d120d6e527617dcbd6801f | /5. Proyecto Final/2. Desarrollo/Gravity_Bike/obstacle.cpp | 29d656069d72f416fb5a4843f6a7f1fa982e3af6 | [] | no_license | jmparradov/Informatica2 | 2282270bcbd1db327fbe79f2e3bba556ac515e12 | 1fc5b86f86fad4ccff2898b903497e890dedbf2b | refs/heads/master | 2021-04-05T13:42:23.474226 | 2020-08-05T12:53:45 | 2020-08-05T12:53:45 | 248,562,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | cpp | #include "obstacle.h"
#include "road.h"
#define worldx 15024
#define worldy 6736
#define rel 0.5
obstacle::obstacle(std::map<double, std::vector<double>> line, double Xo, std::string type)
{
lines = line;
double height = 0;
std::map<double, std::vector<double>>::iterator it;
it = lines.lower_bound (X... | [
"jmparradov@gmail.com"
] | jmparradov@gmail.com |
278bdb045d25399341010683c855632edd198e5f | 7476d2c710c9a48373ce77f8e0113cb6fcc4c93b | /RakNet/LogCommandParser.cpp | 2ef8bca0caec920060f1e58e1b893ecf6c6bcf0b | [] | no_license | CmaThomas/Vault-Tec-Multiplayer-Mod | af23777ef39237df28545ee82aa852d687c75bc9 | 5c1294dad16edd00f796635edaf5348227c33933 | refs/heads/master | 2021-01-16T21:13:29.029937 | 2011-10-30T21:58:41 | 2011-10-30T22:00:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,501 | cpp | #include "NativeFeatureIncludes.h"
#if _RAKNET_SUPPORT_LogCommandParser==1
#include "LogCommandParser.h"
#include "TransportInterface.h"
#include <memory.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include "LinuxStrings.h"
#ifdef _MSC_VER
#pragma warning( push )
#endif
using n... | [
"csemmler.goe@googlemail.com"
] | csemmler.goe@googlemail.com |
614cfbdb76a7a4aef6e1a060cd5b712b580e3b6e | 70038454e426e7719a4fb382ff55733824da3618 | /debug_samples/ebcgoptest/Asm/MacroEbc/movdd.inc | 904dda37e1f0deb7e6563a0469db482c061a59dd | [] | no_license | fengjixuchui/UEFImarkEbcEdition | fb554e566429f64dde2bbd44c060d42b609d8310 | 5ee6e815b73a0db8e9e67d954aad2b8d32365f74 | refs/heads/master | 2020-06-24T11:41:54.769057 | 2019-07-19T07:59:52 | 2019-07-19T07:59:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,608 | inc | ;--- EBC Instruction: MOVDD {@}R1 , {Index32} , {@}R2 , {Index32} ----------;
; ;
; This instruction moves data from Operand 2 to Operand 1. Both operands ;
; can be indexed, though both indexes are the same size. In the instruction ;
; syntax... | [
"Manusov1969@gmail.com"
] | Manusov1969@gmail.com |
720ca19b87046084629fd6ba8eb6b87f54234711 | fc8a86a185d25060cc57f2c3e2d2d4e88676e9d8 | /12.cpp | 28a0ff1889c003e8a2e247e219e7e6601aa91010 | [] | no_license | Sarthak104/Jaynam-Sir-100-Programs | ef781bab23cc1124a59aad92d6e9ba21f6c99212 | 8dcbe531550d90401f9c7839a525998360bd3067 | refs/heads/master | 2020-06-20T00:11:54.839012 | 2019-07-22T16:38:49 | 2019-07-22T16:38:49 | 196,923,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | #include<iostream>
#include<math.h>
using namespace std;
void power(int c,int d)
{
int P;
P=pow(c,d);
cout<<P;
}
int main()
{
int a,b;
cin>>a>>b;
power(a,b);
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
037b00a812d64ef836d5d4e2f25a36be97de06cc | ad822f849322c5dcad78d609f28259031a96c98e | /SDK/Hazard_Spiker_Collection_01_Group_Ceiling_parameters.h | c0e33485c71f3b178acef993572f069668151ae8 | [] | no_license | zH4x-SDK/zAstroneer-SDK | 1cdc9c51b60be619202c0258a0dd66bf96898ac4 | 35047f506eaef251a161792fcd2ddd24fe446050 | refs/heads/main | 2023-07-24T08:20:55.346698 | 2021-08-27T13:33:33 | 2021-08-27T13:33:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | h | #pragma once
#include "../SDK.h"
// Name: Astroneer-SDK, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Functi... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
2d2a4eaa29c994caaf46c021591dbc12448405b5 | 26524fec2231290c65a0bf126943101bb8b8300c | /2023Game2_2D/GameProgramming/src/CMiss.h | dd7175a7183af6ec356b036fb5dc56086d18d93a | [] | no_license | programminggp/2DLV1 | d424a946fe9f92c15c20a76f5986f19a3bf628f5 | fbe8394189431897312e74caf32e500ea2c8cd13 | refs/heads/master | 2023-09-01T13:38:35.309123 | 2023-09-01T11:45:01 | 2023-09-01T11:45:01 | 176,943,495 | 2 | 1 | null | 2022-05-26T09:56:53 | 2019-03-21T12:49:43 | C | UTF-8 | C++ | false | false | 121 | h | #pragma once
#include "CCharacter.h"
class CMiss : public CCharacter
{
public:
void Update() {};
void Render() {};
};
| [
"shinobu-takahashi@anabuki.ac.jp"
] | shinobu-takahashi@anabuki.ac.jp |
70638ed4e9da94bedb30c79df00c30979cba4546 | 44336a7c8279716ba64055cb2c443b3758b238fd | /SampleMathematics/GpuRootFinder/GpuRootFinder.h | 94bf9d5262e5ad02ba3a91c7423f3eddb7f6a27d | [] | no_license | erhuo522/WildMagic_Code | 6e6ff01eca74915ba7a55fce800ed4c6ed265a93 | 23d0e40e50abec51e174959c503a8282810d0a02 | refs/heads/master | 2020-03-15T15:12:29.235602 | 2018-05-05T02:31:14 | 2018-05-05T02:31:14 | 132,207,046 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | h | // Geometric Tools, LLC
// Copyright (c) 1998-2014
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.2.0 (2010/07/31)
#ifndef GPUROOTFINDER_H
#define GPUROOTFINDER_H
#include "Wm5Wi... | [
"mni2005@163.com"
] | mni2005@163.com |
17a2cb58e8b061b3cba0f5347103123f2dd3109c | 90a4887562940314eecdc9f043fdad482c2df87d | /test/sign.cc | 87503ddadf826da32ab997c3d595b0b134b7c7cc | [
"MIT"
] | permissive | TeXitoi/valhalla | 515f232bc8b8742cc794fb8549d234eb83fb5cd0 | 39e65bf918939f1b5513c96a724d469430d2be92 | refs/heads/master | 2023-06-17T17:44:07.616834 | 2017-02-06T15:03:17 | 2017-02-06T15:03:17 | 81,196,924 | 1 | 0 | null | 2017-02-07T10:38:31 | 2017-02-07T10:38:30 | null | UTF-8 | C++ | false | false | 4,803 | cc | #include <vector>
#include <algorithm>
#include <valhalla/baldr/sign.h>
#include <valhalla/baldr/signinfo.h>
#include "odin/sign.h"
#include "test.h"
using namespace std;
using namespace valhalla::odin;
using namespace valhalla::baldr;
namespace {
void TryCtor(const std::string& text) {
valhalla::odin::Sign sig... | [
"duane@mapzen.com"
] | duane@mapzen.com |
623f1ae42c3b6b4f688c94fdeddb0dc2af5ca86f | 87bc602ccc46052cec972731f29d2f6d7cf75264 | /Periodo 3/Tarea pilas y colas con herencia a partir de lista generica/papaCaliente.cpp | 6db11504acedcdd186639fa4f974bc1798ac458b | [] | no_license | adonaylopez895/Portafolio-Estructuradedatos-ciclo02-2021 | 2b8dc1439bc8999fa77598aa66d0d42ed715cc58 | ee4ca57c6fec2d408f461af44d84b0ea76a2a198 | refs/heads/main | 2023-09-03T12:23:59.483313 | 2021-11-07T19:36:33 | 2021-11-07T19:36:33 | 401,156,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,523 | cpp | #include <chrono>
#include <thread>
#include <iostream>
#include <vector>
#include <cstdlib>
#include <ctime>
#include "cola.hpp"
using namespace std;
int numeroAleatorio(int max);
void papaCaliente(const vector<string> &listaNombres);
int main(){
vector<string> jugadores = {"1.Erick", "2.Emmanuel", "3.Briam", "4.G... | [
"adonaylopez895@gmail.com"
] | adonaylopez895@gmail.com |
cec3f99781e91c493160b8d957b77208948ba8b0 | d6722d20d152092c850681a8d8dc73753f922ca7 | /dev/sdk/include/kf/kf_math.h | 09a791449c7678ed2914c2102f29e2139a37a89c | [] | no_license | RalphRoukoz/GAD173-Project | 51d4d3f15ba1b3127b075be2321cb7132fc04dc6 | dbaae6bc5edcdc16310b45f79d2064958b6e5841 | refs/heads/main | 2023-02-07T16:16:15.787986 | 2020-12-19T18:02:24 | 2020-12-19T18:02:24 | 310,320,002 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,204 | h | ////////////////////////////////////////////////////////////
// KF - Kojack Framework
// Copyright (C) 2019 Kojack (rajetic@gmail.com)
//
// KF is released under the MIT License
// https://opensource.org/licenses/MIT
////////////////////////////////////////////////////////////
#ifndef KF_MATH_H
#define KF_MATH_H
#in... | [
"ralphroukoz@gmail.com"
] | ralphroukoz@gmail.com |
daf2f89afcbdb4e67e8ab66035167c42ffce202d | 096bf506f5cc028848c7598ac74f11182c8ee118 | /ChildFrm.cpp | a1af46663c4da5387485d65d8f3c5eb0b1bf8e0f | [] | no_license | maelstrom256/skyedit | a6df5f8cad602cbfd20341ffe54550b6f63f0930 | a889950b6cdd5b0894defd89f2f80200b24ea97c | refs/heads/master | 2020-12-25T00:05:19.193829 | 2012-02-13T02:19:43 | 2012-02-13T02:19:43 | 21,885,939 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,901 | cpp | /*===========================================================================
*
* File: ChildFrm.CPP
* Author: Dave Humphrey (dave@uesp.net)
* Created On: 26 November 2011
*
* Implementation of the CChildFrame class
*
*=========================================================================*/
/* Include Fi... | [
"dave@uesp.net"
] | dave@uesp.net |
4d1f6d4a5bcf70b551939c7d45333aa6fb8496b9 | e0cce22d718d8a9bdb7ffbbb1160b90d9fae2dda | /userinformation.cpp | 9603634ca5ff508ed3b26e22c5b772742a8c26ac | [] | no_license | smartxiaohan/tux-im-client | 9e11e78785dc048d1e2527036d988c509929bf54 | 0f9bacfd913123b5c74b65ba438756f20a2d2865 | refs/heads/master | 2021-01-16T20:53:29.083517 | 2013-09-09T06:04:04 | 2013-09-09T06:04:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,834 | cpp | #include "userinformation.h"
#include "ui_userinformation.h"
#include "imapi.h"
#include "utils.h"
#include <QInputDialog>
#include <QMessageBox>
UserInformation::UserInformation(FriendProfile profile, bool isFriend, QWidget *parent) :
QWidget(parent),
ui(new Ui::UserInformation),
friendProfile(p... | [
"posixfung@163.com"
] | posixfung@163.com |
52d22e374012abae0ba3c616e4a9edfba9c258db | 3790aefc92f31c1abbe5594d4ea020e15cb12aae | /tizen-sdk/platforms/tizen2.1/rootstraps/tizen-emulator-2.1.native/usr/include/osp/FNetHttpHttpSession.h | f5d0149106f4268302a9b84cdc29ff28f1214abf | [] | no_license | abhijitrd/CppSharpTizen | e9871793c27acbb8ae0f599f2013ea56c7b2fca4 | 92e42a36cc3c5f2b1636061e82025feec4edda0d | refs/heads/master | 2021-01-16T22:04:57.789905 | 2014-07-05T11:39:32 | 2014-07-05T11:39:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,885 | h | //
// Open Service Platform
// Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
//
// 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
//
... | [
"brighttwinsoftware@gmail.com"
] | brighttwinsoftware@gmail.com |
315c9aaf586d25f10ca0607a3622cb9a56e834c7 | b0f9b99046b25f1caa494edd8912cb0cd93ccaae | /Kattis/Pot.cpp | 1c29423f924e1b7e4ff1176fefef54cf65ecd6ab | [] | no_license | moadmmh/Competitive-Programming | ebb0cd8f9251fd0b5e388cbc90aa23d53f2fa8d7 | f331674686a9510f2f7d49fcdd6b56220822eea4 | refs/heads/master | 2021-08-11T18:40:49.580541 | 2021-08-10T07:54:34 | 2021-08-10T07:54:34 | 139,492,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | cpp | #include <bits/stdc++.h>
//#include<iostream>
using namespace std;
#define sf(n) scanf("%d", &n)
#define pd(n) printf("%.12lf", n)
#define pf(n) printf("%d\n", n)
#define p() printf("\n")
#define ps() printf(" ")
#define ll long long
#define ull unsigned long long
#define MAX 1e9
#define mod 1000000000
#define pi 3.14... | [
"noreply@github.com"
] | noreply@github.com |
f1d7063ea70da1d83fbfc8c78a7da1d15420a91d | d0d2ee6dadfb979107b07de50ee88263af2f8ac4 | /Dynamic Programming/count number of Subset Sum.cpp | 5ac578d4c3e940c8c171659dcb5acb76e18c6f55 | [] | no_license | Dhruv1573/ALGORITHMS | 176ed140f123dad78e2e015627b003632d8f740a | a5257a31b5bd007a47759d50071bb52cdde3044b | refs/heads/master | 2022-09-10T22:21:32.786655 | 2020-05-28T06:59:29 | 2020-05-28T06:59:29 | 263,661,717 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,133 | cpp | /*
Author :- Dhruv Kumar
Amity University jaipur
*/
#include<bits/stdc++.h>
using namespace std;
#define lint long long int
#define f first
#define s second
#define pb push_back
#define mp make_pair
#define lb lower_bound
#define ub upper_bound
#define mod 1000000007
#define MAXN 100001
#define len length()
#def... | [
"36184412+Dhruv1573@users.noreply.github.com"
] | 36184412+Dhruv1573@users.noreply.github.com |
9d648be97ba2c8107891cd7a23bffdd48442b027 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /apds/include/alibabacloud/apds/model/CreateFileJobResult.h | 87594e72fd440ec05bc24353527908d71c2eb701 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,518 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
51d8483eb9ae68eaabe0b795cd18c3232c6d5efa | ac227cc22d5f5364e5d029a2cef83816a6954590 | /applications/physbam/physbam-lib/Public_Library/PhysBAM_Tools/Optimization/LINEAR_PROGRAMMING.cpp | 965c48c04eef907738cda4d76a643ac0154a3665 | [
"BSD-3-Clause"
] | permissive | schinmayee/nimbus | 597185bc8bac91a2480466cebc8b337f5d96bd2e | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | refs/heads/master | 2020-03-11T11:42:39.262834 | 2018-04-18T01:28:23 | 2018-04-18T01:28:23 | 129,976,755 | 0 | 0 | BSD-3-Clause | 2018-04-17T23:33:23 | 2018-04-17T23:33:23 | null | UTF-8 | C++ | false | false | 13,691 | cpp | //#####################################################################
// Copyright 2005-2006, Eran Guendelman, Eftychios Sifakis.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//##################################################... | [
"quhang@stanford.edu"
] | quhang@stanford.edu |
9617c113fe0219a91622648eda22982187c6c668 | 52dc9080af88c00222cc9b37aa08c35ff3cafe86 | /0000/10/12b.cpp | 52c7a49af9ed9f836a0fa5458e6ab90bc9608bc1 | [
"Unlicense"
] | permissive | shivral/cf | 1c1acde25fc6af775acaeeb6b5fe5aa9bbcfd4d2 | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | refs/heads/master | 2023-03-20T01:29:25.559828 | 2021-03-05T08:30:30 | 2021-03-05T08:30:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | #include <algorithm>
#include <iostream>
#include <string>
void answer(bool v)
{
constexpr const char* s[2] = { "WRONG_ANSWER", "OK" };
std::cout << s[v] << '\n';
}
void solve(const std::string& n, const std::string& m)
{
const size_t k = n.length();
std::string t = n;
std::sort(t.begin(), t.end(... | [
"5691735+actium@users.noreply.github.com"
] | 5691735+actium@users.noreply.github.com |
8f33e15f4b4bb33c9d00fba179b902e61afebeba | 9f8a069f7d337a022cae89e3e5b75d161c832e2d | /TurbulanceModels-flat-plate/k-epsilon/600/nut | 7a8e83273f55fcc4142e2dba34f26ec0cfa89d28 | [] | no_license | Logan-Price/CFD | 453f6df21f90fd91a834ce98bc0b3970406f148d | 16e510ec882e65d5f7101e0aac91dbe8a035f65d | refs/heads/master | 2023-04-06T04:17:49.899812 | 2021-04-19T01:22:14 | 2021-04-19T01:22:14 | 359,291,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123,981 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"loganprice2369@gmail.com"
] | loganprice2369@gmail.com | |
9ee84efe59f489bd01d036079236670d639d96c4 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir13029/dir15097/dir18970/file19087.cpp | 2448ea97cb8a2b80f776858dfb5893c6ccbb9ecc | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file19087
#error "macro file19087 must be defined"
#endif
static const char* file19087String = "file19087"; | [
"tgeng@google.com"
] | tgeng@google.com |
1df0072a17e6ff87683027d68569a864524f2660 | 60bd79d18cf69c133abcb6b0d8b0a959f61b4d10 | /libraries/ADG725/test/unit_test_001.cpp | 8b9689532061ca663d5d595f1d9bcc480807954e | [
"MIT"
] | permissive | RobTillaart/Arduino | e75ae38fa6f043f1213c4c7adb310e91da59e4ba | 48a7d9ec884e54fcc7323e340407e82fcc08ea3d | refs/heads/master | 2023-09-01T03:32:38.474045 | 2023-08-31T20:07:39 | 2023-08-31T20:07:39 | 2,544,179 | 1,406 | 3,798 | MIT | 2022-10-27T08:28:51 | 2011-10-09T19:53:59 | C++ | UTF-8 | C++ | false | false | 2,074 | cpp | //
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-07-24
// PURPOSE: unit tests for the ADG725 library
// https://github.com/RobTillaart/ADG725
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... | [
"rob.tillaart@gmail.com"
] | rob.tillaart@gmail.com |
4520b60f95bd41db2aed57519be6ed9174e437e2 | dc3b69a34eb9ec7eb0b985d02c7d11b2710c1144 | /Emergency_Services/Vehicle.hpp | fd205ba6c67154627195fcabfa05bf8b4a4c49ae | [] | no_license | skmu104/Emergency-Service-Systems | 81d4e319fcf7dcd497796d46da1fcc6a6b6820ad | ef093e94173ebb5c1d8c9c4cbd6b90063644de61 | refs/heads/main | 2023-03-19T03:32:19.661073 | 2021-03-09T23:23:35 | 2021-03-09T23:23:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | hpp |
#ifndef VEHICLE_HPP_
#define VEHICLE_HPP_
#include <string>
class Vehicle {
private:
Vehicle& operator=(const Vehicle& other);
Vehicle(const Vehicle& other);
std::string vehicleName;
int vehicleCapacity;
public:
Vehicle(const std::string &name, int capacity);
int getCapacity();
std::string getN... | [
"skmu104@aucklanduni.ac.nz"
] | skmu104@aucklanduni.ac.nz |
a43bcfc86fa82fc586636c1299e571fdfc0238b2 | 8c0865237161d42bd1d6c3668da6f4cfa644048f | /Boggle.cpp | 450eedcc842f0cd052768656d737dd32dfce58b7 | [] | no_license | sjmodi1997/codes | e8ab28b529d19dbb5ada070eb3ba67d31b16f4d4 | 528eec76a7c64bd5fdf6f68f063886260a3a44fd | refs/heads/master | 2021-05-18T20:00:18.654352 | 2020-06-23T17:05:19 | 2020-06-23T17:05:19 | 251,392,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,558 | cpp | #define MAX 26
#define M 1001
#define pb push_back
vector<string> ans;
set<string> st;
bool vis[M][M];
struct TrieNode
{
bool isEnd;
struct TrieNode* children[MAX];
};
TrieNode* getNode()
{
TrieNode* node = new TrieNode;
node->isEnd = false;
for(int i=0;i<MAX;i++)
{
node->children[i] =... | [
"noreply@github.com"
] | noreply@github.com |
5465a33c9f61b20aeabd6ddffae6ac9620ea68f4 | 19672b98c0eb05f9b024332330028b93064947ca | /GUMBALLWORKING/src/rrPID.h | b347e00c6bb10cf4ac1aa662951e3fca73f92bde | [] | no_license | Rogue-2987/GumballCodeTest | 0fb1b44a428c4f7378863824838c5af3a3527bb9 | 96ea9ba9e8f7f57af477131b66cf7b5a37051a8c | refs/heads/master | 2021-05-15T09:22:18.880815 | 2017-12-09T15:49:38 | 2017-12-09T15:49:38 | 108,126,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | h | /*
* rrPID.h
*
* Created on: Feb 7, 2017
* Author: Corey
*/
#ifndef RRPID_H_
#define RRPID_H_
#include "WPILib.h"
#include <string.h>
class rrPID {
public:
float kp = 0.03;
float ki = 0.001;
float target = 0;
float actual = 0;
float errorSignal = 0;
float integrationTotal = 0;
... | [
"ericolaf@hotmail.com"
] | ericolaf@hotmail.com |
d2b8c4e1af87bd9bd990eda84419822fedfb0e95 | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /released_plugins/v3d_plugins/bigneuron_AmosSironi_PrzemyslawGlowacki_SQBTree_plugin/libs/boost_1_58_0/boost/iostreams/skip.hpp | 4c62d4528b59c718f7c9fb63d2b746b4f376d698 | [
"MIT"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 3,894 | hpp | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
// (C) Copyright 2003-2007 Jonathan Turkanis
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
// See http://www.boost.org/libs/iostreams for docume... | [
"amos.sironi@gmail.com"
] | amos.sironi@gmail.com |
85942b50c4d63b1cff64f7f9f81362fe8d3c1db2 | 13177b61c2ba0cc4f6a7ccac79479f886eb0cb81 | /atomic/main.cpp | 66c0d9504826c85b701ea7de1d95a9ea6b9e8510 | [] | no_license | tinggengyan/CppStudy | 6af58187aeb32b27f8d61199e5f6b50f97a5ebb9 | 6b7979209657ae19f700a27fd938341f8eaf8027 | refs/heads/master | 2023-03-16T07:49:55.447060 | 2023-03-08T09:41:37 | 2023-03-08T09:41:37 | 49,653,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | cpp | #include <atomic>
#include <iostream>
#include <thread>
std::atomic<int> count = {0};
struct A {
float x;
int y;
long long z;
};
int main() {
std::atomic<A> atomicA;
std::cout << std::boolalpha << atomicA.is_lock_free() << std::endl;
std::thread t1([]() {
count.fetch_add(1);
});
... | [
"tinggengyan@gmail.com"
] | tinggengyan@gmail.com |
d8c363ac88b6c9188239fffb48a648e333c61460 | ce04ae08a1fb2a9e890b40a0cd89bd1ba18d1c7c | /main/main.ino | 4f4bb0d610c060730d78a144ee52225460de9a19 | [] | no_license | RomanGrekov/esp8266_weather_station | 71f0635c1a63d6d7c46fc4dbd16c452230d0027c | cc1cd746e9754c9d574bbc7b2569ff2439cb59e2 | refs/heads/master | 2021-01-19T00:20:55.630279 | 2017-04-04T08:03:02 | 2017-04-04T08:03:02 | 87,158,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,804 | ino | /**
* The MIT License (MIT)
*
* Copyright (c) 2016 by Daniel Eichhorn
* Copyright (c) 2016 by Fabrice Weinberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, i... | [
"romang@tycoint.com"
] | romang@tycoint.com |
8420269b51689578be610cb4f80553073c26504a | 16ecae6b4d2cfc4605b68874faaea7c91e412f1b | /unit_tests/os_interface/linux/allocator_helper.cpp | 73f15b3659960e8c59651bf56754b959446fd37c | [
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | maxwell-zhengxu/compute-runtime | 70ffa07ed6e1fc30626aa77e6434642f7f73e723 | 74bc0afb035420aee4669611f34e18e56a6a29ca | refs/heads/master | 2020-03-22T04:59:29.844367 | 2018-07-02T09:28:20 | 2018-07-02T14:11:12 | 139,534,594 | 1 | 0 | MIT | 2018-07-03T05:50:47 | 2018-07-03T05:50:47 | null | UTF-8 | C++ | false | false | 1,277 | cpp | /*
* Copyright (c) 2018, Intel Corporation
*
* 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 rights to use, copy, modify, merge, publis... | [
"ocldev@intel.com"
] | ocldev@intel.com |
17e987568b6e0676983affba13845d8b6f646c48 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/msmq/src/admin/mqsnap/msgq.cpp | 843179b3d53b5a8837b9ebfa883e4c7d938fd443 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,128 | cpp | // msgq.cpp : implementation file
//
#include "stdafx.h"
#include "mqsnap.h"
#include "resource.h"
#include "mqPPage.h"
#include "msgq.h"
#include "msgq.tmh"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//////////////////////////////////////////////////////////////... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
a2d8ef3186897cc82895bc59b30ff9af7947697d | c9fde4576216a22e8d5711bbe97adda1aafa2f08 | /inference-engine/thirdparty/clDNN/src/gpu/softmax_loss_grad_gpu.cpp | 7bcb2f80de472f39548f242f8dfbc5d50045060b | [
"Apache-2.0",
"BSL-1.0"
] | permissive | dliang0406/dldt | c703d6a837de3f996528fc8a9543f9530b23342c | d9b10abcebafe8b10ba81e09e433de7a366c072c | refs/heads/2018 | 2020-04-03T08:24:47.723353 | 2018-10-29T07:58:05 | 2018-10-29T07:58:05 | 155,132,108 | 3 | 1 | Apache-2.0 | 2019-10-10T08:39:46 | 2018-10-29T01:03:54 | C++ | UTF-8 | C++ | false | false | 2,967 | cpp | /*
// Copyright (c) 2018 Intel Corporation
//
// 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... | [
"openvino_pushbot@intel.com"
] | openvino_pushbot@intel.com |
165449107db83048a4663d383c2b814c2621b980 | b34437cd82a1ae972093ffab3b0c79a2b944c5b6 | /src/UI/UIHelper.cpp | 4d272f976aaa381fc900b470b4b717fde3426e8f | [] | no_license | huming2207/Hindle | e5adb485965255e6fc2b8ab065e28c8abbf736ee | f8d5fb6f577729980be21282d684948118f043d3 | refs/heads/master | 2021-04-29T20:29:37.388176 | 2018-03-01T10:12:56 | 2018-03-01T10:12:56 | 121,599,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,671 | cpp | //
// Created by Ming Hu on 14/2/18.
//
#include <ctime>
#include <Network/Ptv.h>
#include "UIHelper.h"
#include "Network/Weather.h"
#include "Icons/IconSelector.h"
void UIHelper::init(U8G2_IL3820_V2_296X128_F_4W_SW_SPI *main_u8g2)
{
u8g2 = main_u8g2;
// U8g2 init
u8g2->begin();
// Enable support for CJK fo... | [
"huming2207@gmail.com"
] | huming2207@gmail.com |
eaa008e43a36546a6204c1dd1ad0971c3e0b8ab2 | e1fe38f9207053ffa1c68c050ed6dc5e63975cd4 | /dynamic programming/pacific.cpp | a34d54b085740f7fe65f808d39925797109d0871 | [] | no_license | dhruv2600/leet | 3199c568d7296219336ede0da8238ecd094ac402 | 71e73e999fa689285e7a9bc2414e7536c72cdab7 | refs/heads/master | 2023-09-03T06:24:41.885912 | 2021-10-22T17:15:06 | 2021-10-22T17:15:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | cpp | class Solution {
public:
vector<vector<int>> pacificAtlantic(vector<vector<int>>& heights) {
vector<vector<int>>dp(heights.size(),vector<int>(heights[0].size()));
int row=heights.size();
int cols=heights[0].size();
for(int i=0;i<rows;i++)
{
dp[i][0]=1; //pacific
... | [
"dhruvsharma2600@gmail.com"
] | dhruvsharma2600@gmail.com |
414e4065ab21435c581eb5cf9fbfbfc55873ebde | f3b5c4a5ce869dee94c3dfa8d110bab1b4be698b | /controller/src/analytics/test/db_handler_mock.h | 6d344be80904efe583680439ac2056a4a882eff4 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | pan2za/ctrl | 8f808fb4da117fce346ff3d54f80b4e3d6b86b52 | 1d49df03ec4577b014b7d7ef2557d76e795f6a1c | refs/heads/master | 2021-01-22T23:16:48.002959 | 2015-06-17T06:13:36 | 2015-06-17T06:13:36 | 37,454,161 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | h | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#ifndef __DH_HANDLER_MOCK_H__
#define __DH_HANDLER_MOCK_H__
#include "sandesh/sandesh.h"
#include "db_handler.h"
#include <boost/bind.hpp>
class DbHandlerMock : public DbHandler {
public:
DbHandlerMock(EventManager *evm, const DbHandler::... | [
"pan2za@live.com"
] | pan2za@live.com |
371ac029f0f563d60db83f2704fc68ccd19318b9 | 45874c847c5a2fc4e89e05a7fc8ad9b63d8c4860 | /sycl/test-e2e/ESIMD/lsc/Inputs/lsc_surf.hpp | 5a953950b5666ec1f21127034abcf52713fffec0 | [
"NCSA",
"LLVM-exception",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | intel/llvm | 2f023cefec793a248d8a237267410f5e288116c5 | a3d10cf63ddbdcc23712c45afd1b6b0a2ff5b190 | refs/heads/sycl | 2023-08-24T18:53:49.800759 | 2023-08-24T17:38:35 | 2023-08-24T17:38:35 | 166,008,577 | 1,050 | 735 | NOASSERTION | 2023-09-14T20:35:07 | 2019-01-16T09:05:33 | null | UTF-8 | C++ | false | false | 4,341 | hpp | //==------------ lsc_surf.hpp - DPC++ ESIMD on-device test -----------------==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"noreply@github.com"
] | noreply@github.com |
0037400458305b3a805efdc4fb96faaac9665d34 | 3106397a9ede72b504719ee0088406dbcfff3e2f | /software/base/tractor/catkin_ws/devel/.private/piksi_rtk_msgs/include/piksi_rtk_msgs/TrackingState.h | e98d4b3b5c2b36ac2554964884b1b8783be88918 | [
"MIT"
] | permissive | rje1974/Proyecto-Pochito | a9f60f711bd2f5187ca6173ed0b34df67389158f | 3bb7cfd159a3c24e5cef3523d51e3ee2c54be7d0 | refs/heads/master | 2021-06-29T03:17:08.377252 | 2020-11-21T20:27:38 | 2020-11-21T20:27:38 | 192,087,298 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,995 | h | // Generated by gencpp from file piksi_rtk_msgs/TrackingState.msg
// DO NOT EDIT!
#ifndef PIKSI_RTK_MSGS_MESSAGE_TRACKINGSTATE_H
#define PIKSI_RTK_MSGS_MESSAGE_TRACKINGSTATE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_trai... | [
"juaneduardoriva@gmail.com"
] | juaneduardoriva@gmail.com |
23f47555f166d526350b3afd26ec2a6c2a7ca2d8 | b4660cc8fa3ce045508105fa52228a98fa19a87d | /src/unix/ibus/key_translator.h | 162ae079c2177bc7f160167bfe885ac16bcae4f8 | [
"BSD-3-Clause",
"LicenseRef-scancode-unicode",
"LicenseRef-scancode-public-domain"
] | permissive | hnakamur/mozc-deb | 81e9b561863e57da73aa9ba90d24ff5d0bca480b | a0d6db21786ae7fc54806714cbeca6c7c74cbd36 | refs/heads/master | 2021-04-15T09:32:03.635220 | 2018-05-04T10:09:23 | 2018-05-04T10:09:23 | 126,575,465 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,652 | h | // Copyright 2010-2016, Google 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | [
"hnakamur@gmail.com"
] | hnakamur@gmail.com |
e3d82593178c98fd363dafbe5cbccef1a05966e8 | e6b5d019e565ce55b2febfbe21b82c2a21723385 | /TheWaySoFar-Training/2015-03-21/G.cpp | af2100a00c4e89dba229bd8a1049e3e677925129 | [] | no_license | Sd-Invol/shoka | a628f7e8544d8eb110014316ab16ef3aed7b7433 | 1281cb43501d9ef127a2c67aebfba1905229502b | refs/heads/master | 2023-06-06T07:23:09.496837 | 2023-05-13T14:46:23 | 2023-05-13T14:46:23 | 13,319,608 | 37 | 17 | null | null | null | null | UTF-8 | C++ | false | false | 3,947 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int N = 20005;
int n , m , pre[N] , mcnt;
struct arc {
int x , f , next;
}e[N * 200];
int s , t;
inline void addarc(int x , int y , int z) {
//printf("%d %d\n" , x , y);
e[mcnt] = (arc) {y , z , pre[x]} , pre[x] = mcnt ++;
e[mcnt]... | [
"Sd.Invol@gmail.com"
] | Sd.Invol@gmail.com |
1fd4f8461c4f28b36106447254c654bc35043839 | e68b74af93599ec07fb81185b79740aa7f99ac54 | /elodonto/2_amoba/fiveinarowchecker.cpp | 530ac5cb8cd167c2d85f2fd7e026657bf955596c | [] | no_license | schaumb/p12_2016 | 5d7b40dcc1fe1e5e0a59fbd03806956366563bb0 | 59e749f692868da016d9b9c340bfbbab157e6b54 | refs/heads/master | 2021-05-01T00:41:59.100913 | 2016-12-12T13:16:51 | 2016-12-12T13:16:51 | 68,203,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,540 | cpp | #include "fiveinarowchecker.h"
#include <algorithm>
FiveInARowChecker::FiveInARowChecker(std::istream&& file)
: fields( readFieldsFromFile(std::move(file)) )
, countOfElements{ {FieldType::X, 0}, {FieldType::O, 0} }
, winner{ FieldType::UNKNOWN }
, forceEnd{ }
{}
std::vector<std::v... | [
"schaumb@gmail.com"
] | schaumb@gmail.com |
a5132dcc1aa1bc607b967024387e4dcf812e235e | d6599e6b17f12774df0d3df9cb6a1c647a1e9807 | /components/Servo/Servo.ino | caa4f6c8f31f6bbf881c59c2709b25202da6b23c | [] | no_license | simonguozirui/PopMidi | fe6a2c400cf703a9c18b518831fb001661a78bbd | 36b963ed4f365a4b8cdbad0e590bc23ae21516df | refs/heads/master | 2020-06-12T21:12:29.638762 | 2016-12-04T01:38:10 | 2016-12-04T01:38:10 | 75,508,589 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,415 | ino | #include <Servo.h>
Servo current_servo;
int pos = 0;
int speed = 3;
const int servo_c = 2;
const int servo_d = 4;
const int servo_e = 7;
const int servo_f = 8;
const int servo_g = 10;
const int servo_a = 11;
const int servo_b = 12;
const int servo_C = 13;
void setup()
{
p... | [
"simonguozirui@gmail.com"
] | simonguozirui@gmail.com |
c7f7759ec814c98f99d8fb528e808e52acdf4028 | 56ba5b3d485dcc5947eac1029027953043449487 | /Player.h | dd610747492a1348971dc59cd5c94bfc1a3bf804 | [] | no_license | amridris/RPSGame | 9377e5844000558d4c4a8a31d99e4d6aaeb80b7e | 2c0d3c9f2e1fe2faecfdc059f94d86ac0d297a97 | refs/heads/master | 2020-05-30T14:21:20.457143 | 2019-04-08T01:04:08 | 2019-04-08T01:04:08 | 189,788,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 766 | h | /*
* Subject: CMPE 135 Professor Ron Mak
* contributors: Aamer Idris, Jacob Balster-Gee, Dan Hoang, Andre Voloshin
*/
#ifndef RPSGAME_PLAYER_H
#define RPSGAME_PLAYER_H
#include "Weapons.h"
class Player {
private:
int wins, losses, ties;
public:
Weapons playerWeapon;
public:
Player(): wins(... | [
"amridris@gmail.com"
] | amridris@gmail.com |
a672256e615d5b3af51f45fec1f6aa29bb702da6 | e9b54906a0d1d0d9811c4560d259f430f564d11e | /1609_Team1/1609_Team1/Creature.h | 35139d81542202db9157163772a3c767d2756fad | [] | no_license | Bellumgod/BunkerDefense | ef27a43f6c6636e7a40b5327f124f4c35599bf6b | ef25ac5424e6b9254456c01efbfcb0fb0b992d58 | refs/heads/master | 2021-01-09T06:41:05.694909 | 2017-02-06T05:26:20 | 2017-02-06T05:26:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | h | #pragma once
#include "ObjectManager.h"
#include "CreatureDB.h"
class Creature :
public Object
{
int m_creatureID;
float m_attack;
float m_defense;
wstring m_name;
Sprite* m_pSprite;
CREATURE_STATE m_state;
DIRECTION_TAG m_dir;
public:
Creature();
Creature(int creatureID);
~Creature();
void Update(float... | [
"gnwmapf@naver.com"
] | gnwmapf@naver.com |
32852ac40df4b7d632571a1f70b056748f4202d0 | fa5386e5e9ce8413c58cb144ce5b478d2ec266a4 | /objectpacket.h | 0c029eac5cc2b2ae52557c4a7422181957d96198 | [] | no_license | AliGhezalAG/lidarAppClient | feba08fb9fa867e0249455425542a5a42abda6d2 | 729a21c9d732f33ffa4da61cad4eea2756cc1b1b | refs/heads/master | 2020-07-03T14:25:57.528723 | 2019-09-04T08:44:32 | 2019-09-04T08:44:32 | 201,934,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | h | #ifndef OBJECTPACKET_H
#define OBJECTPACKET_H
#include <QMetaType>
#include <QVariantMap>
#include "header.h"
#include "object.h"
class ObjectPacket
{
public:
ObjectPacket();
ObjectPacket(QVariantMap &packet_map);
private:
Header header;
QList<Object> objectList;
};
Q_DECLARE_METATYPE(Obj... | [
"ali.ghezal.ag@gmail.com"
] | ali.ghezal.ag@gmail.com |
760ca70215632cc9ceeec127f64023a75fef9c47 | 0ee0a6ddb26eb5ad32fcec78e74443eda1775c83 | /SimulationTest/Tools/convertutililty.cpp | 42641d35553304880beadf94b56e8a948ba7a86c | [] | no_license | williamkibira/Ndonda | 2f44fbf6509717ddec589f11065205e68622a182 | c0bdea424f6dce42a740f2ee17bb5823244bdf29 | refs/heads/master | 2016-09-06T05:26:01.580248 | 2015-03-21T09:53:08 | 2015-03-21T09:53:08 | 32,391,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,033 | cpp | /*
Copyright (c) 2013, <copyright holder> <email>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, ... | [
"williamkibira@gmail.com"
] | williamkibira@gmail.com |
7d0f2cef15ebb1da3599dd52084b2855d0209e6d | 441850e1110159e1350270caf7098867ad9d0d07 | /src/strings.cpp | e5ad205acbef7715a463d0483ad00dc5b3553241 | [
"Apache-2.0"
] | permissive | dualword/chatmachine | 582decca962d9b597f5edff164f0f4b5206e7e2a | 0b43617cf0f37ced900583ef4e401313cc2dd618 | refs/heads/master | 2022-04-14T12:16:26.499322 | 2020-04-03T14:05:18 | 2020-04-03T14:05:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,584 | cpp | #include "strings.h"
#include "locale"
#include <iostream>
#include <vector>
#include <sstream>
#include <string>
#include <regex>
using namespace std;
void subsitute(string &input, vector<subsitution_t> subs) {
for(int i=0, s=subs.size(); i<s; ++i) {
replace(input, subs[i].input, subs[i].sub);
}
}
void replace... | [
"simon.grandsire@gmail.com"
] | simon.grandsire@gmail.com |
0cb1d72dc104afd1c3a4fc0fab166e7fd4dc63c6 | 5bfa7467ff0df1afc11b2eac874d78c93a01a71d | /Lab 9/8.cpp | e149d1550e7e4c45c61e1801873368d5b7f3cae2 | [] | no_license | WhiteLilith/II-sem | 2a8880520cdaa1dec334bb6e60bcd683017ae157 | 99f90204b0e0813cc65fd26887f763b87346a9c0 | refs/heads/master | 2021-01-03T01:37:18.031433 | 2020-06-15T21:00:06 | 2020-06-15T21:00:06 | 239,861,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | #include "stdafx.h"
#include <iostream>
#include <cstdlib>
#include <iomanip>
#include <string>
#include <cmath>
using namespace std;
struct link
{
int data;
link* next;
};
class linklist
{
private:
link* first;
public:
linklist()
{
first = NULL;
}
void additem(int d);
void display();
};
void linklist... | [
"noreply@github.com"
] | noreply@github.com |
26ee54d0f29e77c8da31f4c14074409ad2bbc5d2 | 0efb71923c02367a1194a9b47779e8def49a7b9f | /Oblig1/les/1.66/nuSgs | 4a00b76d45c4d1cf7668c446baf0fb3727f3bce6 | [] | no_license | andergsv/blandet | bbff505e8663c7547b5412700f51e3f42f088d78 | f648b164ea066c918e297001a8049dd5e6f786f9 | refs/heads/master | 2021-01-17T13:23:44.372215 | 2016-06-14T21:32:00 | 2016-06-14T21:32:00 | 41,495,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105,782 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"g.svenn@online.no"
] | g.svenn@online.no | |
6a31ab577de98c140c44f823448d26c7c3b14558 | 601342779ab2a02ede670a267c2f4b4dd50a3f9f | /exercise/557.反转字符串中的单词-iii.cpp | b5566be095c47f2d3fa430e6f66a2a0e0ee7297e | [] | no_license | kleinZhf/AlgorithmQIUZHAO | c0e67cd9538b5ded36b45b33cfb196d178d345a2 | 5775577bc6421abc73044590628647dd780233fc | refs/heads/master | 2022-12-07T13:47:52.010873 | 2020-08-22T03:37:49 | 2020-08-22T03:37:49 | 279,090,428 | 0 | 0 | null | 2020-07-12T15:15:21 | 2020-07-12T15:15:20 | null | UTF-8 | C++ | false | false | 695 | cpp | /*
* @lc app=leetcode.cn id=557 lang=cpp
*
* [557] 反转字符串中的单词 III
*/
// @lc code=start
class Solution {
public:
string reverseWords(string s) {
int i = 0, j = 0;
while (true) {
while (j < s.size() && s[j] == ' ') ++j;
if (j == s.size()) break;
i = j;
... | [
"zhf@win"
] | zhf@win |
1549dd616d0e9212acee8e02350c9cf13f98f663 | f6c2d9963022b2fe9796b5164e91184af228d224 | /flappy_bird/project/src/Player.cpp | 8c2467a39f621ecaae991238252454bb016fe45b | [
"MIT"
] | permissive | DronCode/FlappyBirdDemo | 85bbc628099e91be6f26c1a6de3dee736abc6547 | 3c216a145ee031d00229119cfbfccd742d5ae9fc | refs/heads/main | 2023-02-05T04:40:09.420179 | 2020-12-20T19:30:46 | 2020-12-20T19:30:46 | 323,085,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,654 | cpp | #include "Player.h"
#include "GlobalSettings.h"
#include "box2d/box2d.h"
#include "res.h"
Player::Player(b2World* world)
: PhysicsBasedActor(world, oxygine::Vector2(0.f, 0.f), 1.f, b2_dynamicBody)
{}
void Player::init()
{
// Visual
_view = new oxygine::Sprite;
_view->setResAnim(res::ui.getResAnim("pla... | [
"alexandrleutin@gmail.com"
] | alexandrleutin@gmail.com |
99ee6e21111f5da5e326b124b3b9cce0f062448c | 21bd01329ee97c587b3723eb83a7fc9275a3864f | /CarreraC++/threads_workers.hpp | e694cf68ab0201bb88d56e4afcd150529bc2068c | [] | no_license | MartaFonde/Cursos_Cpp | 012e7d7dbfa1cb7a2b40a4e8a7b8276bfafd21aa | 7353cb96071ca6934509720902d7052a0725e7af | refs/heads/master | 2023-04-19T08:51:32.663845 | 2021-05-10T22:33:01 | 2021-05-10T22:33:01 | null | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 2,669 | hpp | #include <thread>
#include <atomic>
#include <vector>
#include <queue>
#include <mutex>
#ifndef __THREADS_WORKERS_H__
#define __THREADS_WORKERS_H__
class ThreadPool
{
private:
std::mutex m_queue_mutex; //controla la cola de threads
std::mutex m_results_mutex; // controla resultados
... | [
"marta4510@hotmail.com"
] | marta4510@hotmail.com |
90ce402fe965a30b500a1507790023ffe45921ae | 704a8690af3f97bc43ac8a49db56ed62cd6c08de | /SDK/DW_ClothingSystemRuntimeInterface_structs.hpp | 34c20c975ec1bd90c754b44937e5270c1cec11e8 | [] | no_license | AeonLucid/SDK-DarwinProject | 4d801f0a7ea6c82a7aa466a77fcc1471f5e71942 | dd1c97d55e92c2d745bdf1aa36bab0569f2cf76a | refs/heads/master | 2021-09-07T14:08:44.996793 | 2018-02-24T02:25:28 | 2018-02-24T02:25:28 | 118,212,468 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,434 | hpp | #pragma once
// Darwin Project (open_beta_2) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "DW_Basic.hpp"
#include "DW_CoreUObject_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Script Structs
//--------------------------------------------... | [
"aeonlucid@outlook.com"
] | aeonlucid@outlook.com |
7ed2e1105d0c560a3263c54bbb7cb07d76608e39 | dc0c44f3c4729a75570d8c0fa2ae998bdf9e4976 | /Programmieren_2/Praktikum/Blatt 8/Ball.hpp | 3ccf29ff47cb68ae1be127b63db2cc81f451a103 | [] | no_license | WyNotRepax/Studi | 4247a2857001e0a9261c381164852f33337e59e8 | b5b16ee860b029e38ea96dc629611fc7ec5bddd7 | refs/heads/master | 2021-12-03T13:55:50.178819 | 2021-10-20T23:55:19 | 2021-10-20T23:55:19 | 251,079,763 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 452 | hpp | #ifndef BALL_HPP
#define BALL_HPP
#include "GeoObjekt.hpp"
#include "Punkt3D.hpp"
#include <string>
class Ball : public GeoObjekt
{
public:
Ball(const Punkt3D &p, double r);
Ball(const Ball &other);
void setzeZentrum(const Punkt3D &p);
void setzeRadius(double r);
std::string toString();
double... | [
"benno.steinkamp@hs-osnabrueck.de"
] | benno.steinkamp@hs-osnabrueck.de |
792ecd84074728dee562cf4eab9a4adadaf57e0b | d5a2f4a2857568dbc46a2c121fd8a244bd05cc3f | /ToyRayTracer/Core/Ray.cpp | 650d2d396a2bb78f106cab32015e4d758d6375f1 | [] | no_license | FluffyDou/HangDou | 0f8426135790c13958dc36c30218c49dac6c915d | bf04fb14c38e680e8c3926bc86663c0c985d1cb2 | refs/heads/master | 2021-01-16T23:08:59.092082 | 2016-10-29T03:56:10 | 2016-10-29T03:56:10 | 72,019,158 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,511 | cpp | /******************************************************************/
/* Ray.cpp */
/* ----------------------- */
/* */
/* The file defines a couple methods for the... | [
"hangdou@gmail.com"
] | hangdou@gmail.com |
b57337b41c83588bb486d1a16483d2d18ccf9fac | 73023c191f3afc1f13b39dffea22b7f65a664f7d | /MatrixEngine/Classes/MCocos2d/Native/ScriptBind_EffectNode.cpp | d6de3f1780b723539eecef16ad7c5079983d9d39 | [] | no_license | ugsgame/Matrix | 0a2c2abb3be9966c3cf7a4164799ed107c8f2920 | 1311b77bd9a917ec770e428efb9530ee6038617a | refs/heads/master | 2020-09-05T15:45:45.973221 | 2019-11-07T07:20:38 | 2019-11-07T07:20:38 | 220,145,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | cpp |
//#include "stdneb.h"
#include "cocos2d.h"
#include "MCocos2d/EffectNode/ShaderNode.h"
#include "MCocos2d/EffectNode/GrayNode.h"
#include "ScriptBind_EffectNode.h"
ScriptBind_EffectNode::ScriptBind_EffectNode()
{
REGISTER_METHOD(SetRealTimeReset);
REGISTER_METHOD(ResetShader);
REGISTER_METHOD(SetIsEnable);
REGIS... | [
"670563380@qq.com"
] | 670563380@qq.com |
2822bdc80fcb8275234049016da9fd515b91c002 | 45284af485d0b25a34ba9f6af780bc79a94644ba | /fuchsia/net_http/http_service_impl.h | 1b04bb2283076d875601258b1038454bad33c0af | [
"BSD-3-Clause"
] | permissive | stoneskill/chromium | 873f36a2211c5e6055f468498d705ef6f7b400af | ceb3dc733ceb7c73cabca049e81ebd355ced58c4 | refs/heads/master | 2023-03-13T02:42:45.789430 | 2019-01-18T03:24:10 | 2019-01-18T03:24:10 | 166,337,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 893 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FUCHSIA_NET_HTTP_HTTP_SERVICE_IMPL_H_
#define FUCHSIA_NET_HTTP_HTTP_SERVICE_IMPL_H_
#include <fuchsia/net/oldhttp/cpp/fidl.h>
#include <lib/fidl/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
82ba012245e04206b91d015acee8cc1c3ced8db8 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/rsync/gumtree/rsync_new_log_298.cpp | 9542e9e65ae07c340a6c508e66c66d3e8ede1ee1 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 89 | cpp | fprintf(FERROR, "send_files failed on long-named directory %s\n",
fname); | [
"993273596@qq.com"
] | 993273596@qq.com |
1c3dec40aadaa7185095d7f635df7f995d606d6e | 8459688edab265c420899fe72089f6377a98b250 | /Arduino/Scalextric/Scalextric.ino | e398b2e503ba42784303baf352c2915d97a2f02f | [] | no_license | BorjaIP/InsightScalextric | 35e17b053c1880099ec6ddb810d01f7c1441646d | 54bd378a819d8e1afd47edbb75abb5afa0679aa4 | refs/heads/master | 2021-03-27T19:49:08.576745 | 2016-06-10T11:19:28 | 2016-06-10T11:19:28 | 60,841,598 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 717 | ino | void setup() {
// SETUP: Open serial at 9600bps
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
}
void loop() {
/*LOOP:
/ 1 - Read from Serial
/ 2 - Tune PWM
*/
if(Serial.available() > 0) {
String inString = Serial.read... | [
"borja.irpe@gmail.com"
] | borja.irpe@gmail.com |
548d2fd18183b7fd3e24c8831c0baaf0abf0bff3 | 8132bc1e0ea93e99b857c96dc93c2fa805fd90b2 | /src/tunnel-client.hpp | cf989a98fe318abfe158811854b0e8474773dc03 | [] | no_license | kelvich/tongate | 09d7e430d101e7678606a4abc83b208c8fb21234 | 5b0e625e0677352495b611dfd0ad3341344d8900 | refs/heads/master | 2020-11-24T21:36:04.446697 | 2019-12-22T21:43:31 | 2019-12-22T21:43:31 | 228,349,659 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,271 | hpp | #pragma once
#include "adnl/adnl-ext-client.h"
#include "adnl/adnl-ext-connection.hpp"
#include "adnl/adnl-ext-client.hpp"
#include "ton/ton-types.h"
#include "ton/ton-tl.hpp"
#include "ton/ton-io.hpp"
#include "common/errorlog.h"
#include "crypto/vm/cp0.h"
#include "td/utils/filesystem.h"
#include "td/utils/overloade... | [
"stanconn@gmail.com"
] | stanconn@gmail.com |
4492ec7e68ccd074ccdae099cd94c7649c995512 | 177f7cb7530fb4b31bc7a49d6e833b514fab030e | /Cell.h | 5b74c6b9d6e2499e93210dd2f5aa29a49231fc6a | [] | no_license | Lei-Ray-Yan/CPSC-350_Assignment2 | cebbc6670ee7529f26a91a9e45c2b1931fba99c9 | 9489bb2c59dda5362815a9aabdffb5107b24c83a | refs/heads/main | 2022-12-25T20:19:48.484327 | 2020-10-10T06:55:22 | 2020-10-10T06:55:22 | 302,821,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,426 | h | /*
- Raymond Raymond
- 2297956
- lyan@chapman.edu
- CPSC-350-01
- Assignment 2
- this is the header file for the Cell object.
- Cell objects fills into the Map object, each of them take one grid on the map, they are simulating the "empty spot" or "alive cells" depending on the desinated
status. They are in ch... | [
"reymond350326424@gmail.com"
] | reymond350326424@gmail.com |
828033479f16cc620603820302c3768870aaf84d | 18eab8e89cb1f878e30da250ed3e612db2a92d6f | /05-Lista/lista01.cpp | dc9379a7b2aa8f3f7010bfe5f22111ab8872d83a | [] | no_license | uandersonmbc/ed-2019-s1 | 2505ac31de3b9e5a64abb9b3c4b94ad2d7a1ec57 | d6acec048e0357f91d45abf2b7a52a1db7b5e75f | refs/heads/master | 2020-04-28T13:23:50.392687 | 2019-06-25T14:16:31 | 2019-06-25T14:16:31 | 175,305,788 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,094 | cpp | #include <iostream>
#include <sstream>
using namespace std;
struct Node
{
int value;
Node * next;
Node * prev;
Node(int value = 0, Node * next = nullptr, Node * prev = nullptr){
this->value = value;
this->next = next;
this->prev = prev;
}
};
struct Lista
{
Node * head;... | [
"uandersonmbc@hotmail.com"
] | uandersonmbc@hotmail.com |
1a5656f99b2266e38dc683ee2472d58cc38a3de1 | 786efcb75ad6ed4536bd402e035499e749de484c | /Year-1-Term-2-Work-3/Algo_7_K.cpp | 0ab0f41e0d4564736e88ae90d8f1c4c7b84ef4db | [] | no_license | AlexeyShik/Algorithms-and-data-structures | 90d250ea970112ecc34aab5bdca79ae70e9d5c78 | dc11924c60a26ed7448da6dc540a8df157b63dbe | refs/heads/master | 2023-07-15T10:39:13.606500 | 2021-09-02T19:44:12 | 2021-09-02T19:44:12 | 223,653,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,536 | cpp | #include <iostream>
#include <vector>
#include <unordered_map>
#pragma GCC optimize("O3")
using namespace std;
unordered_map <int, int> dsu, rg, lca;
unordered_map <int, bool> used;
unordered_map <int, vector <int> > g;
unordered_map <int, vector <pair <int, int> > > qs;
vector <int> ans;
int get(int ... | [
"noreply@github.com"
] | noreply@github.com |
fa661ae99df93d3a7b074c9382c12466432487a6 | 6197740e6297da2f3d0c8ffd2a1d7ef5d8b3d2cb | /DotNet/ProVisualC++CLI/Chapter02/Boolean.cpp | f836609cd8fce85ff60f5fc5b126175bf4901501 | [] | no_license | ssh352/cppcode | 1159d4137b68ada253678718b3d416639d3849ba | 5b7c28963286295dfc9af087bed51ac35cd79ce6 | refs/heads/master | 2020-11-24T18:07:17.587795 | 2016-07-15T13:13:05 | 2016-07-15T13:13:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | using namespace System;
// Boolean Fundamental Type in Action
void main()
{
bool a = 18757; // will give a warning but set to true
bool b = 0; // false
bool c = true; // obviously true
bool d = false; // obviously false
Console::WriteLine( a );
Console::WriteLine( b );
... | [
"qq410029478@ff87cf93-6e24-4a51-a1f1-68835326ac4f"
] | qq410029478@ff87cf93-6e24-4a51-a1f1-68835326ac4f |
205b7007aa1a02f0b8a75dc9dbf7387f244cdab4 | 1fb827b1f8925ad3af50087db79921caa46f634e | /chrome/browser/ui/ash/launcher/crostini_app_window_shelf_controller.h | 9f91cc72638a5ba94a4f2a7cadd0145f9ac14ebd | [
"BSD-3-Clause"
] | permissive | zhanfang/chromium | 3ec94d5b277cdfa07bba2f27a2ec68f96759c3aa | a1aca6ba1633043bac831c28cdd6c7da4bbeed21 | refs/heads/master | 2022-12-01T12:09:09.834764 | 2018-06-13T05:16:33 | 2018-06-13T05:16:33 | 137,167,141 | 2 | 0 | null | 2018-06-13T05:36:37 | 2018-06-13T05:36:37 | null | UTF-8 | C++ | false | false | 3,342 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CROSTINI_APP_WINDOW_SHELF_CONTROLLER_H_
#define CHROME_BROWSER_UI_ASH_LAUNCHER_CROSTINI_APP_WINDOW_SHELF_CONTROLLER... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4d5d1b2c24c592b92f15abeea9c8a0d54f01516b | 520e1e02b3587d9ee9c5e76815b8433748394b0c | /code/encoder/encoder.ino | 8432c841b7180f50ad52707feb9f472cb20371f8 | [] | no_license | yanngan/PC_ball_pen | 01606d720d05dc628d0de686c73e82b2141aed0c | 072f77429912c321da50ef125871f6d6159c16b1 | refs/heads/main | 2023-07-07T01:52:50.086513 | 2021-08-14T16:58:25 | 2021-08-14T16:58:25 | 385,219,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,686 | ino |
// Rotary Encoder Inputs
#define inputCLK 3
#define inputDT 2
int counter = 0;
int currentStateCLK;
int previousStateCLK;
int timeToDelay = 10;
String encdir ="";
void setup() {
pinMode(13,OUTPUT);
// Set encoder pins as inputs
pinMode (inputCLK,INPUT_PULLUP);
attachInterrupt(digitalPinToInterrupt(inputCLK... | [
"55285071+yanngan@users.noreply.github.com"
] | 55285071+yanngan@users.noreply.github.com |
a0fe97b3de2eae6f76eed642f1f51ff92c7530b4 | 59722415a1185fcbdc73280617b016d28ebb9537 | /tests/main.cpp | f6a39d769fa124183967338d80930ca04713be0e | [] | no_license | Kernunn/containers | bde1d93a5c70f153c3e8641061e0685f36fe0447 | c346fca6ecebcda3eb731f527ef1a660e6ab19a1 | refs/heads/main | 2023-06-19T12:29:49.956624 | 2021-07-18T08:35:21 | 2021-07-18T08:35:21 | 386,974,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | void test_list();
void test_vector();
void test_deque();
void test_queue();
void test_stack();
void test_map();
void test_tree();
void test_set();
void test_multimap();
void test_multiset();
int main() {
#ifdef LIST
test_list();
#endif
#ifdef VECTOR
test_vector();
#endif
#ifdef DEQUE
test_deque();
#endif
#ifd... | [
"gmorros@student.21-school.ru"
] | gmorros@student.21-school.ru |
a0f00ecf31db386903b651aecd27c9b005ebac31 | 3a7936944cddeb972216bbc48925f170289611ef | /OOPEx2/OOPEx2/Exception.hpp | d0198486e1eb90c0039f52e5628f33a3eaaa701b | [] | no_license | Highoc/2017-OOP | f26b29a03d168c2519d341f6993e4a23016d6097 | a151f6191d80a05ecedaa0509e2d8320d1a1d6d6 | refs/heads/master | 2021-09-01T06:08:27.872377 | 2017-12-25T08:38:44 | 2017-12-25T08:38:44 | 107,301,319 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 158 | hpp | #pragma once
#include <exception>
struct Exception : public std::exception {
virtual const char* what() const noexcept override {
return "Mimo!\n";
}
}; | [
"door0172@gmail.com"
] | door0172@gmail.com |
b15546c0274e1778faaea5233a91e7178b571bf9 | 9dbfef9976a48f54af02cfda4efd813d0f320712 | /WIFI_MANAGER.ino | fe75f31df92b0fb41e9c290ae23a83f21f6623fa | [] | no_license | binkssake2/regadorESP8266 | b15732a8cd652b4531ba0a1bcab14551502a01fa | d5357e67fcf29f513ab3bc7e4c3b3c9ede978243 | refs/heads/master | 2021-01-08T03:03:28.983013 | 2020-05-06T20:39:37 | 2020-05-06T20:39:37 | 241,893,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,119 | ino | #include <ESP8266WiFi.h>
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h>
WiFiServer server(80);
// Current time
unsigned long currentTime = millis();
// Previous time
unsigned long previousTime = 0;
// Define timeout time in milliseconds (example: 2000ms = ... | [
"noreply@github.com"
] | noreply@github.com |
876667322b9500962728a2abf15a13383c5a7e35 | 726d9210c953fcfb46583ca89051244c086d234d | /stdafx.cpp | c7e2ccef0485e9e4e7636bc3288b3654b62c6ba0 | [] | no_license | zupet/Bicubic-CS-Test | cac2abe2706348be18883c7b9d1535a5cd606679 | 05d227a92db02b6b21071159c43c94a63874bee0 | refs/heads/master | 2021-01-13T08:02:33.659040 | 2014-06-02T13:28:17 | 2014-06-02T13:28:17 | 20,404,746 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Bicubic CS Test.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"kwonil.lee@gmail.com"
] | kwonil.lee@gmail.com |
ce5d706e14507e09056a9adf68a281b7ba36f2cf | a2907400571da5e1d0457b44d03e75c5c17647bb | /RGZ/Member.h | 43ffc67cfca8870c48276635dd638615904cf3fe | [] | no_license | alecsmirnov/nstu-software-development-technologies | 4bf82cf20cc31ea95fe65cf573913465e1700ea4 | 05af89914e970763ed97e7e5bf0cc675b71a84ec | refs/heads/master | 2022-02-23T09:40:50.929321 | 2019-10-08T16:29:25 | 2019-10-08T16:29:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,535 | h | #ifndef MEMBER_H
#define MEMBER_H
#include <string>
#include <cstdint>
// Одночлен полинома
class Member {
public:
Member(double coeff = 0, std::uint8_t degree = 0);
Member(std::string str_mem);
// Установить коэффициент
void setCoefficient(double coeff);
// Установить степень
void setDegree(std::uint8_t degr... | [
"alecsmirnov93@gmail.com"
] | alecsmirnov93@gmail.com |
5da79d30c529ff321aedf61be1c776c4feae9441 | f02984173d9ea24ec3b826a783495754bd60677c | /array/array/861- ScoreAfterFlippingMatrix.cpp | c20814cf9f6eff5fa1442720952b5520683d480f | [] | no_license | chuckll/leetcode | 4279efaf2de7c62a534c46a53cc40148924965cb | 2f30ca4651dad66651caad7b8d3fe73d0d0517fa | refs/heads/master | 2021-06-19T22:06:02.875855 | 2019-08-27T06:51:26 | 2019-08-27T06:51:26 | 144,985,238 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 859 | cpp | #include<stdio.h>
#include<vector>
using namespace std;
class Solution {
public:
int matrixScore(vector<vector<int>>& A) {
int row = A.size();
int column = A[0].size();
int res = 0;
//第一列全变为1
for(int i = 0; i < row; i++)
{
if(A[i][0] == 0)
{
A[i][0] = 1;
for(int j = 1; j < column; ... | [
"361818710@qq.com"
] | 361818710@qq.com |
cca24343a0c9e48470fea77f4c90b5e7dc73a11e | 5958027ae820ba700796d03cd3c0104b79d62ebb | /tests/gtest_demo/floating_points.cc | bc15269681e4f6f783a3b0c133f76ddd311957cb | [] | no_license | ourarash/cpp-template | de8ad41bc2927d534d85405ac6f3eade60b72ccb | b3d739c972523e515387d0bd466620ae5594c7a8 | refs/heads/master | 2023-06-23T02:37:08.099130 | 2023-06-07T22:06:36 | 2023-06-07T22:06:36 | 233,089,521 | 126 | 86 | null | 2023-06-22T19:31:09 | 2020-01-10T16:43:50 | C++ | UTF-8 | C++ | false | false | 507 | cc |
#include <iostream>
#include <string>
#include "gtest/gtest.h"
const float a = 67329.234;
const float b = 67329.242; // Exactly 1 ULP away from a
//-----------------------------------------------------------------------------
TEST(FloatingPointTest, SimpleAssertion) {
EXPECT_NE(a, b); // Exactly 1 ULP away.
}
T... | [
"ourarash@gmail.com"
] | ourarash@gmail.com |
ea7522237eede0f0c01b7c1e0031110b026c7e77 | 62b62f4c8baa51fb3800b6ca397d9a4a4784e3fd | /TycheCash/src/NodeRpcProxy/NodeErrors.cpp | 596146fe22a5b6f23d441f7f71b215392e96f72a | [] | no_license | blockchain-next/QtGUI-Wallet-TycheCash | ce344038c3b3a6c845b6353aa6e73cbe48a70da4 | 4fd2ccb9729c1e7377c8b1331a7d86d1144d1534 | refs/heads/master | 2020-03-29T21:49:56.631543 | 2018-09-26T07:58:25 | 2018-09-26T07:58:25 | 150,389,992 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | // Copyright (c) 2017-2018 The TycheCash developers ; Originally forked from Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "NodeErrors.... | [
"tychecoin@gmail.com"
] | tychecoin@gmail.com |
947a20bff236f7f4b822d6d964415e6f02457c82 | 6fbaab0f3b06afc982ca9e2a07e97c1f50167483 | /lib/VecCompr/increase_size_by.cpp | 1bce4ae396cbd9b55216ba0ae9a6170dd196d00e | [] | no_license | btroycraft/tda-compute | 0a2b02e45bb98411e4ae37a01ccd0d15b58fe68c | a4fa183f0233f9c08d8e07d0682afd0ed56a292d | refs/heads/master | 2021-05-09T20:25:15.295995 | 2021-02-16T21:01:43 | 2021-02-16T21:01:43 | 118,689,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | #include <cstlib>
#include <cstdint>
#include "VecCompr.hpp"
// Expand VecCompr capacity to occomodate a number of new entries
void VecCompr::increase_size_by(std::size_t num){
if(num == 0){
return;
}
// Get required allocation size
try{
std::size_t q = num / UINT_VEC_COMPR_BIT;
std::size_t r... | [
"roycraft.benjamin@gmail.com"
] | roycraft.benjamin@gmail.com |
ee1e8163320b989e24d7ea0266573412ee338b4d | 957c565aa1f9cd3a7400dd4c785541197a1d66c1 | /mainwindow.cpp | 3dab02d4e9655aee3775724ff4968832b2ea2840 | [] | no_license | calculator22105/calculator | 19fd819e96daab430c9fde541a3d0e07a39814ec | d85dd5754c907a9c03e8afa3a668c94bdcd95f44 | refs/heads/master | 2022-11-08T22:09:20.259771 | 2020-06-26T16:54:15 | 2020-06-26T16:54:15 | 268,079,880 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,342 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <cmath>
#define PI 3.14159265
double firstNum; // переменная дли бинарных операций
bool userIsTypingSecondNumber = false; // показывает, вводит ли пользователь второе число
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(... | [
"noreply@github.com"
] | noreply@github.com |
cf79cbbd73fcc1551a53b81bd99d0d1071ef0878 | 492404b9e714b710289bbb44e6b5f96fdebcf19f | /src/RISCClassifierSet/Tree.cpp | 8c90aca5c7fa06d064c6c73d58a8f379e2c16fa9 | [] | no_license | Diyanan/semanticraster | 06a7e2874f926fef1e27c3faa5632accadad8b07 | 2a8a9c47f0eacabbdb748eb8bee5fcf47d4e6202 | refs/heads/master | 2021-01-19T14:15:49.172922 | 2017-04-13T07:23:26 | 2017-04-13T07:23:26 | 88,137,649 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 86,919 | cpp | #include "StdAfx.h"
#include "Tree.h"
#include <cmath>
#include <set>
#include <iostream>
using namespace std;
Tree::Tree(void)
: m_treeRoot(NULL)
, tagT(false)
//,m_progressBar(NULL)
{
m_Dimension0=0;
m_Dimension1=0;
m_Dimension2=0;
m_splitPointValue=0;
m_treeHeight=0;
m_Dimension=0;
m_NodeSize=0;
m_k=0;... | [
"diyanan0707@126.com"
] | diyanan0707@126.com |
c2738cef32cb13638353c36c89601d7cbb86a96f | 6c87d5abd6154d3561164f37ab2901a8cd083cbf | /include/OpenFrames/FocalPointShadowMap.hpp | cd0be1a577669df6705ccd78fed22648684b61f3 | [
"Apache-2.0"
] | permissive | ravidavi/OpenFrames | dbe42ffa423f0de6b61727cb5a70bdebbc7e7faf | ca4a25cded38e3172f64b2143d54add03dd3ec22 | refs/heads/develop | 2023-07-23T02:02:19.870341 | 2023-07-13T17:32:37 | 2023-07-13T17:32:37 | 100,513,753 | 33 | 14 | Apache-2.0 | 2023-07-13T16:33:35 | 2017-08-16T17:10:42 | C++ | UTF-8 | C++ | false | false | 5,783 | hpp | /***********************************
Copyright 2023 Ravishankar Mathur
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 applic... | [
"ravi.mathur@emergentspace.com"
] | ravi.mathur@emergentspace.com |
6967d73053014949a5ff06a444a221fd0f193c9b | 381d605da20ca3342687e26c5bd00936fe7a46e7 | /UVA/12015-GoogleisFeelingLucky.cpp | 66f0f41423b50f4da01bb551bdb50ed7b356a458 | [] | no_license | z0CoolCS/CompetitiveProgramming | 4a4c278533001a0a4e8440ecfba9c7a4bb8132db | 0894645c918f316c2ce6ddc5fd5fb20af6c8b071 | refs/heads/master | 2023-04-28T08:15:29.245592 | 2021-04-20T01:02:28 | 2021-04-20T01:02:28 | 228,505,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
struct url{
string urlcad;
int relevance;
int pos;
bool operator<(const url &other){
if(relevance==other.relevance)
return other.pos>pos;
return other.relevance<relevance;
}
};
int main(){
int t,j=1;
cin>>t;
string urlcad;
in... | [
"giordano.alvitez@utec.edu.pe"
] | giordano.alvitez@utec.edu.pe |
e2e86fff6013738fb5f62f160d1a4dc8458ca3e5 | b070047ea6d1168eb8f9e3fd892f389c3f674ff9 | /tools/Encriptador.h | 2a5cb0327bba17de64450d4947898665764c2296 | [] | no_license | CE-02FED/HARFS | 834771763db773003e86bd4c8c0f319b280390bb | 6b685ef7f6cbcffa5feb162136ad8f29177eceab | refs/heads/master | 2020-04-06T04:22:24.392931 | 2015-06-21T14:36:40 | 2015-06-21T14:36:40 | 37,702,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | h | /*
* encriptar.h
*
* Created on: 05/06/2015
* Author: javier
*/
#include <cstdio>
#include "string.h"
#ifndef ENCRIPTAR_H_
#define ENCRIPTAR_H_
#define cadenaDeEncriptamiento "ae AEbc\"dfghijklmnopqrstuvwxyz{0}12345,6789BCDFGHIJKLMNOPQRSTUVWXYZ:"
#define cadenaDeDesencriptamiento "potre42ASD7531sdfghj\"klF}... | [
"netou18@gmail.com"
] | netou18@gmail.com |
64011086bc12e463d853d369efd78db61cd6c22b | 095b03203cfb1da17a106516d75da16ed1e77a15 | /210313/19528_김동근.cpp | 939d0280dbc2869ce7fabb37d55a834f5bc04585 | [] | no_license | AlgoMorgo/2021PS | fcff6ca1dadc3672b88aceca179b162e2d4aea68 | c3d4419e2365ca0a1d18406bedba656de001ce15 | refs/heads/main | 2023-03-20T00:21:20.132170 | 2021-03-21T04:09:09 | 2021-03-21T04:09:09 | 325,826,116 | 0 | 0 | null | 2021-01-01T11:06:47 | 2020-12-31T15:26:54 | C++ | UTF-8 | C++ | false | false | 1,317 | cpp | #include <bits/stdc++.h>
const int dx[4] = { 1,0,-1,0 };
const int dy[4] = { 0,-1,0,1 };
using namespace std;
int n, m, visited[200001], c= 1;
vector<int> adj[200001];
queue<pair<int, int>> q;
int main() {
cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(false);
cin >> n;
for (int i = 1; i <= n; i++) {
int ... | [
"gther2486@naver.com"
] | gther2486@naver.com |
8f8fc1efee64c9bb528586951ef6fe4daa133978 | 2fb599b0be68d51f0cc0dfeee7dfe67b443154da | /Euler 9.cpp | 43e3f0e0afb677fba3e2000b89f6135c63eff13e | [] | no_license | jeremyns/Project-Euler | 4cc2b3a59248f92b5ea5cf0174854a3551351b03 | 20c612abe693371d7fc432bfabcdddaac5ca4e6d | refs/heads/master | 2021-04-12T09:12:48.108111 | 2018-03-23T22:24:15 | 2018-03-23T22:24:15 | 126,402,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | cpp | #include <iostream>
using namespace::std;
int root(int b, int x);
int bSearch(int arr[], int l, int h, int n);
int main()
{
int root[1000]; //create an array or square roots so new roots will not need to be calculated every time
for(int i=0;i<500;i++) root[i]=i*i; //initialize the ar... | [
"37675030+jeremyns@users.noreply.github.com"
] | 37675030+jeremyns@users.noreply.github.com |
2e027dff6889691a41e7013df41152dc0f5e7fa7 | 1dff02275f30fe1b0c5b4f15ddd8954cae917c1b | /ugene/src/corelibs/U2Formats/src/sqlite_dbi/SQLiteFeatureDbi.h | 1c5ca6dfc541b720005350479d11b89599839a2b | [
"MIT"
] | permissive | iganna/lspec | eaba0a5de9cf467370934c6235314bb2165a0cdb | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | refs/heads/master | 2021-05-05T09:03:18.420097 | 2018-06-13T22:59:08 | 2018-06-13T22:59:08 | 118,641,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,096 | h | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2012 UniPro <ugene@unipro.ru>
* http://ugene.unipro.ru
*
* 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... | [
"igolkinaanna11@gmail.com"
] | igolkinaanna11@gmail.com |
ab64aa296b39923199843f7afbae1dd3ab805516 | 830f2fb3a85ef09eabdaff75180bc0ae12fca050 | /vEngine/vShadowMappingMaterial.cpp | ece348edd763c80e31fe930298acb597cc1c8941 | [] | no_license | WeyrSDev/vEngine-b | abe8d34cbb75e9f50fa5d678e95e44dcc5bbd88c | f41ca718fbed00f5c143a7b2158f821274b2c020 | refs/heads/master | 2021-05-14T12:24:10.422201 | 2018-02-03T23:34:00 | 2018-02-03T23:34:00 | 116,407,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,031 | cpp | #include "vShadowMappingMaterial.h"
#include "vException.h"
#include "vMesh.h"
namespace vEngine
{
RTTI_DEFINITIONS(ShadowMappingMaterial)
ShadowMappingMaterial::ShadowMappingMaterial()
: Material("shadow_mapping"),
MATERIAL_VARIABLE_INITIALIZATION(WorldViewProjection), MATERIAL_VARIABLE_INITIALIZATION(World),
... | [
"damian_yarker@hotmail.com"
] | damian_yarker@hotmail.com |
c86ac5be2424a798749514c951a1a011b5e3a9bd | b5e8a7b5798d6cb124aaf7172d78478eb72bd733 | /peg/ioi0011.cpp | 12b04001b982b3cbc2091b6a724d9dc82e1904cc | [] | no_license | manolismih/OJsolutions | 8e62b29ac604077473926dd63d8a636181db11be | 809999d34036033e3a8757518588bf5847ca7f5f | refs/heads/master | 2022-05-01T01:19:52.014312 | 2022-03-10T13:37:13 | 2022-03-10T13:37:13 | 244,162,474 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
int n, dp[5005][2];
char s[5005];
int main()
{
scanf("%d%s",&n,s);
for (int j=1; j<n; j++)
{
for (int i=n-2; i>=j; i--) dp[i][j%2]=0;
for (int i=j-1; i>=0; i--)
if (s[i]==s[j]) dp[i][j%2] = dp[i+1][(j-1)%2];
else dp[i][j%2] = 1 + min(dp[i+1][j... | [
"manolismih@windowslive.com"
] | manolismih@windowslive.com |
e13ddde681a5096424ff5678b78264dfa253b8d5 | d2d6aae454fd2042c39127e65fce4362aba67d97 | /build/iOS/Debug/include/Uno.Time.CalendarSystem.h | ded9b8c728fa3d4f2b3c01b331de71a0e80ee905 | [] | no_license | Medbeji/Eventy | de88386ff9826b411b243d7719b22ff5493f18f5 | 521261bca5b00ba879e14a2992e6980b225c50d4 | refs/heads/master | 2021-01-23T00:34:16.273411 | 2017-09-24T21:16:34 | 2017-09-24T21:16:34 | 92,812,809 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,473 | h | // This file was generated based on '/Users/medbeji/Library/Application Support/Fusetools/Packages/UnoCore/1.0.11/source/uno/time/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{namespace Uno{namespace Time{namespace Calendars{struct Era;}}}}
n... | [
"medbeji@MacBook-Pro-de-MedBeji.local"
] | medbeji@MacBook-Pro-de-MedBeji.local |
9d36761d14df3aa0228cd01043fe6005df4a49b7 | cddccb79d4dc2a8269b27160d3f01c053b583809 | /UISourseCode/I4.h | df631207cf2c6cd025a8271dd321f3f94e8031f9 | [] | no_license | ZiJiaW/SudokuGame | 175ae404367cacd17435e2a1a4296b9b838ac4b6 | 863998e9eb0a4a736325075c013cd3890b7ee641 | refs/heads/master | 2021-09-13T14:20:58.951504 | 2018-05-01T08:51:30 | 2018-05-01T08:51:30 | 105,896,858 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | h | #pragma once
#include "IntroductionScene.h"
#include "HelloWorldScene.h"
#include "CocosGui.h"
#include "cocos-ext.h"
#include "GUI\CCControlExtension\CCControl.h"
#include "GUI\CCControlExtension\CCControlButton.h"
USING_NS_CC;
USING_NS_CC_EXT;
using namespace cocos2d::ui;
class Intro4 :public cocos2d::Layer
{
public:... | [
"964513305@qq.com"
] | 964513305@qq.com |
b7c90487fcc83a806b7032cedf0e96b3404e04ac | 6668c8a2af359498dccf3da4c0cb0ffb8b6081f0 | /antimodule/antimodule.cpp | de3ce9a0c4caaf880e828740c7c227d72a11a740 | [
"Apache-2.0"
] | permissive | tsarenkotxt/jvmti-tools | 6d3f865ab2505a2ce3da09ed097fb4528e3f287d | 1a53bec944cfcb5193f7ce7a8a27bb460fe12d0c | refs/heads/master | 2020-08-29T03:43:27.437033 | 2019-10-27T22:35:24 | 2019-10-27T22:35:24 | 217,913,987 | 0 | 0 | Apache-2.0 | 2019-10-27T20:41:44 | 2019-10-27T20:41:44 | null | UTF-8 | C++ | false | false | 2,920 | cpp | /*
* Copyright 2019 Odnoklassniki Ltd, Mail.Ru Group
*
* 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 applica... | [
"andrey.pangin@corp.mail.ru"
] | andrey.pangin@corp.mail.ru |
56da907c06ac937eb6ecf00597fa6bfae0d3fd2b | 93e579c9737b8db6b84edf97651a8472f97daf9e | /library/trunk/src/geometry/Point.h | fe2b10394091b8616bc5239bfd4f1a128927819b | [] | no_license | iwasz/bajka | fdc3575a4787090b2f31a1cfb42a6bf45b6c0edb | 730d108ba793e8a5e7fc3ff99470803da2def0bd | refs/heads/master | 2021-01-10T20:40:07.413795 | 2013-03-17T23:37:59 | 2013-03-17T23:37:59 | 29,887,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,020 | h | /****************************************************************************
* *
* Author : lukasz.iwaszkiewicz@gmail.com *
* ~~~~~~~~ *
* Lice... | [
"lukasz.iwaszkiewicz@gmail.com"
] | lukasz.iwaszkiewicz@gmail.com |
dea0d26da4405b7d7f85c9074af7e30f8bba1ac4 | 4ee17b9f6704719202dfc7055c879f689a9b8645 | /AlgorithmClass/week04/Prob12/Prob12/Prob12.cpp | 8feb6f05bb175d4ba009ba83362000177808328f | [] | no_license | duddn14758/Algorithm-Solving-Strategy | e185d273a77e9723c08b36def8df8cf34eeb6a54 | 3d7408ec4d2d5842345c44057b2c1fe59f8dc52f | refs/heads/master | 2023-04-18T12:15:53.115217 | 2021-05-02T09:41:24 | 2021-05-02T09:41:24 | 151,530,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | cpp | #include <stdio.h>
#include <stdlib.h>
#define R 2
#define B 3
#define L 4
#define T 5
int **map;
int K;
bool findPath(int i, int j, int direction);
int main() {
int N;
scanf("%d", &N);
while (N--) {
scanf("%d", &K);
map = (int**)malloc(sizeof(int*)*K);
for (int i = 0; i < K; i++) {
map[i] = (int*)mall... | [
"duddn14758@naver.com"
] | duddn14758@naver.com |
c910fdb328ea807d3bb5bf2c6efe4fc2fadecd83 | c48b178ea9675d68fa1b9e5b54082786441cef9d | /src/test/rpc_wallet_tests.cpp | d70fb03f90ddbee3962d92dd9cd80dc4bb3594cd | [
"MIT"
] | permissive | devo2018/bony | 51bc4d49f84e952eaed455a91bfd027fc1db953a | 628710c3535c484ea06298ecfe63b935572f7636 | refs/heads/master | 2020-04-08T09:10:53.027936 | 2018-12-12T18:27:07 | 2018-12-12T18:27:07 | 159,211,872 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,606 | cpp | // Copyright (c) 2013-2014 The Bitcoin Core developers
// Copyright (c) 2017 The BONY developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpc/server.h"
#include "rpc/client.h"
#include "base58.h"
#include "... | [
"45319613+devo2018@users.noreply.github.com"
] | 45319613+devo2018@users.noreply.github.com |
8e212738ad7c38f40e7cadcf008f4f42e0e93202 | eb799d8f94a9236c28cb834916de35bfd062dae2 | /kvdb/third-party/kvdbapi/kvdb_get.cc | 103483e29585123966b09c260d53af5469eef803 | [
"Apache-2.0"
] | permissive | OpenMPDK/KVRocks | 67784cda7f84b4dfa4bf4caad2df915b3831310e | 8c76cb1cf756470ee9acf34d07e4f6f77cb18e3c | refs/heads/master | 2022-06-23T16:19:47.183760 | 2021-01-21T09:16:15 | 2021-01-21T09:16:15 | 209,856,973 | 44 | 10 | null | 2022-06-21T01:55:27 | 2019-09-20T18:32:10 | C++ | UTF-8 | C++ | false | false | 16,894 | cc | /**
* @ Dandan Wang (dandan.wang@samsung.com)
*/
/**
* \addtogroup Doxygen Group
*
*/
/*! \file kvdb_get.cc
* \brief Test cases code of the KBDB get().
*/
///////////////////////////////////////////////////////////////////////////////////////
// Include files
///////////////////////////////... | [
"hobin.lee@samsung.com"
] | hobin.lee@samsung.com |
9bf2947995b0962d37a2f228fc1d8e1b5890d484 | 169e75df163bb311198562d286d37aad14677101 | /tensorflow/tensorflow/compiler/jit/legacy_flags/mark_for_compilation_pass_flags.cc | 7277a1d1f8ad5fa045645ead839ab9efa01e89c7 | [
"Apache-2.0"
] | permissive | zylo117/tensorflow-gpu-macosx | e553d17b769c67dfda0440df8ac1314405e4a10a | 181bc2b37aa8a3eeb11a942d8f330b04abc804b3 | refs/heads/master | 2022-10-19T21:35:18.148271 | 2020-10-15T02:33:20 | 2020-10-15T02:33:20 | 134,240,831 | 116 | 26 | Apache-2.0 | 2022-10-04T23:36:22 | 2018-05-21T08:29:12 | C++ | UTF-8 | C++ | false | false | 3,860 | cc | /* Copyright 2017 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... | [
"thomas.warfel@pnnl.gov"
] | thomas.warfel@pnnl.gov |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.