blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d1d8cc3cc3e285ddb4e51385e1e92efde4eebe5b | 5e589788298de2adef7e0119b650885f0ee703c6 | /BridgePattern/BridgePattern/main.cpp | badf369d137d4cf306aeb588bc663385ce71a64a | [] | no_license | dy0314/designpattern_study | 8f2394dcf09cba442943e77975d7af4389e142e3 | cd7929b61dd01c339b162005b0c4de3d236a31e4 | refs/heads/master | 2020-12-14T17:18:53.016263 | 2020-01-19T01:41:10 | 2020-01-19T01:41:10 | 234,822,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,462 | cpp | //
// main.cpp
// BridgePattern
//
// Created by daeyong Lee on 13/10/2019.
// Copyright © 2019 daeyong Lee. All rights reserved.
//
#include <iostream>
using namespace std;
class DisplayImpl { //Implementor
public:
virtual void showDisplay() = 0;
virtual void setHeight() = 0;
virtual void setWidth() ... | [
"dy0314@gmail.com"
] | dy0314@gmail.com |
2c52d7c79d9d97014b996947b28f546eafd49f32 | da89726ee5d4b307c56027ce6546e5f6fc693209 | /control.cpp | 686533352d29a533144d99b3f6f4e9ff998f620b | [] | no_license | ImaginationZ/physics-simulation-engine | 0ab9dc216ca80e1168819101dad55d0cc704316c | 9cabf49081d7a1c7d9fa8701f10d781455b8c090 | refs/heads/master | 2020-06-12T21:24:30.633789 | 2013-06-27T10:19:05 | 2013-06-27T10:19:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,228 | cpp | #include "control.h"
coordinate control::get_position(point* p){
return p->ask_position();
}
coordinate control::get_velosity(point* p){
return p->ask_velosity();
}
coordinate control::get_accelerate(point* p){
return p->ask_acceleration();
}
void control::moveto(point* p, const coordinate& c) {
p->moveto(c);
}... | [
"frequencyhzs@gmail.com"
] | frequencyhzs@gmail.com |
5c40396bbc9c3cd4051c2328dc2a0a7572c9ebef | 6a11aa0bb2eaba51354149322172ee6cefb29ed6 | /lemoneditor/src/main.cpp | 7af1e4e14eba5b53c04e9292693b0e9d7b433556 | [
"Apache-2.0"
] | permissive | ra2u18/lemon | 59dd19e14702aea3b836492fbc6749523d292498 | f5ea85c3d30367f9d14df5c9385bc57870ed515a | refs/heads/main | 2023-07-17T20:48:20.969869 | 2021-08-25T10:00:31 | 2021-08-25T10:00:31 | 399,194,651 | 0 | 0 | Apache-2.0 | 2021-08-25T10:00:32 | 2021-08-23T17:38:12 | Lua | UTF-8 | C++ | false | false | 220 | cpp | #include "lemon/engine.h"
#include <iostream>
int main()
{
lemon::Engine& engine = lemon::Engine::Instance();
engine.Run();
std::cout << "Press ENTER to continue...";
std::cin.ignore();
return 0;
} | [
"riccardo.andronache14@gmail.com"
] | riccardo.andronache14@gmail.com |
5cc0ab00156a47b1c0540d424a096fb3afd6afb4 | 0e8d57f10639b0bdcab2c89b307029697c909863 | /aoj/ITP2/ITP2-10C/main.cpp | 075c0c05b15373ab253ade81ea19b11d9cf92fa7 | [
"Apache-2.0"
] | permissive | xirc/cp-algorithm | 07a6faf5228e07037920f5011326c16091a9157d | e83ea891e9f8994fdd6f704819c0c69f5edd699a | refs/heads/main | 2021-12-25T16:19:57.617683 | 2021-12-22T12:06:49 | 2021-12-22T12:06:49 | 226,591,291 | 15 | 1 | Apache-2.0 | 2021-12-22T12:06:50 | 2019-12-07T23:53:18 | C++ | UTF-8 | C++ | false | false | 1,340 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
bitset<64> bits;
int Q;
cin >> Q;
int t, i;
while (Q--, Q >= 0) {
cin >> t;
if (t == 0) {
// test i
cin >> i;
auto an... | [
"xirckey@gmail.com"
] | xirckey@gmail.com |
5e05c4e08ce61cec3fb1d73aeef8b39f492099bb | cd470ad61c4dbbd37ff004785fd6d75980987fe9 | /Luogu/3857 [TJOI2008]彩灯/线性基/std.cpp | 6417a6aa4496bf72070a7eeec537e9f16efd9447 | [] | no_license | AutumnKite/Codes | d67c3770687f3d68f17a06775c79285edc59a96d | 31b7fc457bf8858424172bc3580389badab62269 | refs/heads/master | 2023-02-17T21:33:04.604104 | 2023-02-17T05:38:57 | 2023-02-17T05:38:57 | 202,944,952 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | #include <cstdio>
#include <cctype>
#include <algorithm>
#include <cstring>
int read(){
register int x = 0;
register char f = 1, ch = getchar();
for (; !isdigit(ch); ch = getchar()) if (ch == '-') f = !f;
for (; isdigit(ch); ch = getchar()) x = (x << 3) + (x << 1) + (ch ^ '0');
return f ? x : -x;
}
int n, m;
char ... | [
"1790397194@qq.com"
] | 1790397194@qq.com |
3428b906afed20ebdd0434d5f688a5a7b44a12f8 | 88eb1d1e85698ec3c3d3c3198b3caff1a036e88e | /src/MBC.cpp | c4790100be61e0587a535f87471066911b9b8f82 | [] | no_license | Lordelbert/GBpp | 153aafc4c26869493c00fea398a8996ec94e7bee | 0defa1c8b0599f3944faac4c0f2ba6f95f8dbc2f | refs/heads/master | 2022-12-04T20:29:44.618409 | 2020-08-21T14:40:38 | 2020-08-21T14:40:38 | 275,627,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,499 | cpp | #include "MBC.hpp"
// TODO change nbr with enum to make code more explicit
auto MBC1::swap_bank_rom_high()
{
for(size_t i = 0; i < 2; ++i) {
MBC1_Partition::section mem_part{&m_memory[reg1_2() * 16_kB + i * 8_kB],
&m_memory[reg1_2() * 16_kB + i * 8_kB + 8_kB]};
m_memory_partition... | [
"lordelbert@gmail.com"
] | lordelbert@gmail.com |
64a23bce7022e9d1e6f16cd00723d3412807879e | 62d2961f1e1af919eaa0b83b559a8a4fec342287 | /LT228/LT228.cpp | 196bbe8cb88b6a324eb75cad7f77de3f30100141 | [] | no_license | z7059652/LT228 | 9b9109fcf7433e590257ee66905e40f3c720992e | 0c9fdd0df68fbd1597626577aff9fa2c84748e8c | refs/heads/master | 2021-01-21T14:08:51.845878 | 2016-03-31T02:02:35 | 2016-03-31T02:02:35 | 41,524,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,385 | cpp | // LT228.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <vector>
#include <string>
using namespace std;
void stringformat(string& str,int a,int b)
{
char buf[10];
memset(buf, 0, 10);
if (a==b)
{
sprintf(buf, "%d", a);
}
else
sprintf(buf, "%d->%d", a, b);
str = bu... | [
"7059652@163.com"
] | 7059652@163.com |
2ba54f2dc45228690e20a666fb2e1ce8267b94e7 | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /src/org/mpisws/p2p/transport/direct/DirectAppSocket_DirectAppSocketEndpoint.cpp | 911a12644e992155485c5e308a251e46e3da5421 | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,509 | cpp | // Generated from /pastry-2.1/src/org/mpisws/p2p/transport/direct/DirectAppSocket.java
#include <org/mpisws/p2p/transport/direct/DirectAppSocket_DirectAppSocketEndpoint.hpp>
#include <java/io/IOException.hpp>
#include <java/lang/ClassCastException.hpp>
#include <java/lang/Math.hpp>
#include <java/lang/NullPointerExcep... | [
"sgurjar@adobe.com"
] | sgurjar@adobe.com |
1974822aa8296803ec88670928d68208817a580e | b60776fe3c35b48485b3e9fd85c38e2954e0186b | /Recursion/histogramOfOutcomesOFNDiceRolls.cpp | 90d3c6ef08c0e8ac0d7ee1653f9bd7745d443903 | [] | no_license | aniket-gore/practice-codes | 88994ef1719f21f1b1ae4c21b6fd7ad80d581e6b | 4b3fbfb73da8cd1f2786717e4e8927bac69eefb2 | refs/heads/master | 2021-01-17T21:24:00.879741 | 2017-08-17T01:37:32 | 2017-08-17T01:37:32 | 36,997,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | cpp | #include<iostream>
#include<map>
using namespace std;
/*
Given N dice with m sides, print histogram of all outcomes of dice throws.
e.g. N=2, m = 3
(1, 1) -> 2
(1, 2) -> 3
(1, 3) -> 4
(2, 1) -> 3
(2, 2) -> 4
(2, 3) -> 5
(3, 1) -> 4
(3, 2) -> 5
(3, 3) -> 6
And the function should return:
... | [
"aniketgore05@gmail.com"
] | aniketgore05@gmail.com |
615f9861eba483a35585d9f1ce67d92c549576a0 | a5095c14cf28ffd97ccb478dd1781a476bef0413 | /Client/Game/States/PreGameState.cpp | 9d6a7c91251d1fb1a063c7368685d87a03b097f9 | [
"CC-BY-3.0",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-3-Clause"
] | permissive | Katipo007/diorama_roguelite | 4bf1bfc96a4a00192f58e599594cd44b27b2c994 | 81b2bd282507cbffb8c90a3793a7b97f395e8584 | refs/heads/master | 2023-06-04T02:59:26.469544 | 2021-06-28T11:04:19 | 2021-06-28T11:04:19 | 347,273,548 | 2 | 0 | null | 2021-06-06T03:44:41 | 2021-03-13T04:39:12 | C++ | UTF-8 | C++ | false | false | 269 | cpp | #include "PreGameState.hpp"
namespace Game::States
{
fsm::Might<fsm::TransitionTo<MainMenuState>> PreGameState::HandleEvent( const Events::FrameEvent& )
{
// TODO: only transition after we've loaded starting stuff
return fsm::TransitionTo<MainMenuState>();
}
}
| [
"ben@steadfast.co.nz"
] | ben@steadfast.co.nz |
4d6e30e0405a021843ec8250c70d80bdf92d5e72 | b2f31a8dd5675da82fc74ce613a6b78e59addc95 | /MotLB/src/graphics/VertexArray.cpp | 79b67c401ad0a311692f6d25d7c9e9c5aa39851d | [] | no_license | samuelxyz/motlb | d2d0d99680b57840a7a4b8c343f0cd753ea8e235 | f7b919d17bc01c86602651ddc9a16cbcbdc16ef7 | refs/heads/master | 2020-03-23T18:59:14.772758 | 2018-09-07T14:52:37 | 2018-09-07T14:52:37 | 141,946,608 | 0 | 0 | null | 2018-08-07T20:07:23 | 2018-07-23T01:35:36 | C | UTF-8 | C++ | false | false | 1,925 | cpp | /*
* VertexArray.cpp
*
* Created on: Jul 30, 2018
* Author: Samuel Tan
*/
#include "../graphics/VertexArray.h"
#include <cassert>
namespace graphics
{
GLuint VertexArray::currentlyBound = 0;
VertexArray::VertexArray()
: stride(0)
{
glGenVertexArrays(1, &ID);
}
Vert... | [
"xinyizhentan@gmail.com"
] | xinyizhentan@gmail.com |
3cc2f633ea81f21713c64577301cc281c0761b96 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1484496_0/C++/jasy/gcj2012R1BC.cpp | 1e942dd42a1586ea0127aa4fd46b8be4fbd0eb1a | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,932 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
typedef unsigned long long vtype;
static void solve ()
{
int N;
std::cin >> N;
std::vector<vtype> S(N);
vtype s = 0;
for (int i=0; i<N; ++i) {
std::cin >> S[i];
s+=S[i];
}
s/=2;
std::sort(S.begin(), S.end());
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
128ed46c64486585829cce0b0c2d3eb8e850b7a4 | 2e86b8c70e2d3b1b98b7acab5ffe86137e8fb363 | /vga_train/snd/step.cpp | 1ef7d06f80f154a9dfe01454d5f31ad87c856011 | [] | no_license | pavel-krivanek/PicoVGA | c5ecfe768395f48485a4626453a655fd97ead04a | c09c387abff827c0d59cc70db7fe5e9fde3c6e76 | refs/heads/main | 2023-05-29T09:22:21.481369 | 2021-06-10T17:07:49 | 2021-06-10T17:07:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,832 | cpp | #include "include.h"
// sound format: PCM mono 8-bit 22050Hz
const u8 StepSnd[2243] = {
0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D,
0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D,
0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D... | [
"Panda38@seznam.cz"
] | Panda38@seznam.cz |
67233f2d9b8c826b442bf1d8c6cae68cb4f18e05 | 88001ef8e6023558ea35870b431ee207b5c48f3e | /Source/ToonTanks/Actors/ProjectileBase.h | bbca002033ffa9ce3ced40784955244ef47e4222 | [] | no_license | ZhiyuanGu/ToonTanks | ca153cdceb2fac29feccfac0222673764cd86544 | aa68629ce200c01c42c8f7d27269547fccb7c75b | refs/heads/main | 2023-06-17T21:53:49.008085 | 2021-06-27T22:18:35 | 2021-06-27T22:18:35 | 380,847,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,901 | h | // Zhiyuan Gu 2020 All Rights Reserved
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "ProjectileBase.generated.h"
class UProjectileMovementComponent;
class UParticleSystemComponent;
UCLASS()
class TOONTANKS_API AProjectileBase : public AActor
{
GENERATED_BODY()
private:
// COMPO... | [
"42496605+ZhiyuanGu@users.noreply.github.com"
] | 42496605+ZhiyuanGu@users.noreply.github.com |
134c7a99d461dc1c252a5247d4247e4fefde1ba3 | b2dbadcfecc50c7328196fe3632b4cc87042c635 | /ext/avif/ext/aom/test/error_block_test.cc | 3664ccf29f95f653fb6860c6d51b06e8da43cc0e | [
"BSL-1.0",
"LicenseRef-scancode-alliance-open-media-patent-1.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | EwoutH/colorist | ce6af59a9ad6ee17a5d112da637e1626c6488b21 | 8e8b586aceac9f54fecb648e94f6e4ad19593c76 | refs/heads/master | 2023-04-15T15:37:50.943391 | 2019-04-23T23:39:44 | 2019-04-23T23:39:44 | 185,622,495 | 0 | 0 | BSL-1.0 | 2019-05-08T14:31:15 | 2019-05-08T14:29:00 | C | UTF-8 | C++ | false | false | 8,137 | cc | /*
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... | [
"jdrago@netflix.com"
] | jdrago@netflix.com |
fed5f5e7ecd746027411948d6c64d730253a4c9a | 0f3cd546c1f60b1a47d045c9cbc6ab005d039aa9 | /Intro/Langplay.cpp | 148db6da5e8c8d2933d69c9815341ea0d31e2f30 | [] | no_license | isliulin/legacy-vc6 | 62ea49025c519227af6cf73e5a4d1cc451568eb0 | 5d16f6e0bd71e3dff474cc2394263482c014ae56 | refs/heads/master | 2023-07-07T20:55:51.067797 | 2015-12-17T21:30:53 | 2015-12-17T21:30:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,050 | cpp | #define INC_OLE2
#include <windows.h>
#include <windowsx.h>
#include <mmsystem.h>
#include <commdlg.h>
#include <string.h>
#include <stdlib.h>
#include <direct.h>
#include <digitalv.h>
#include <vfw.h>
#include "langplay.h"
#include <profiles.h>
#include <int2str.h>
HWND hwndMovie; /* window handle of ... | [
"sebastian.kotulla@gmx.de"
] | sebastian.kotulla@gmx.de |
413539e5136e5d91176f0d572b159e5466723e56 | 845d3e85651ad3bf8c730b0a3add807894631119 | /Satisfiability/Solvers/OKsolver/SAT2002/plans/milestones.hpp | 22e3ff6ef041bc0ce53b95c968f26a003eabe808 | [] | no_license | PJames/oklibrary | 6516e1150fd1d040a91a2ba7e48d9b3eba976edf | 38983feadd7e54ab19a2c2a94b6b39887265de17 | refs/heads/master | 2020-12-24T13:20:36.195708 | 2008-10-29T21:09:01 | 2008-10-29T21:09:01 | 69,392 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,018 | hpp | // Oliver Kullmann, 18.8.2007 (Swansea)
/* Copyright 2007, 2008 Oliver Kullmann
This file is part of the OKlibrary. OKlibrary 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 and included in this library; either ver... | [
"O.Kullmann@Swansea.ac.uk"
] | O.Kullmann@Swansea.ac.uk |
d03a49d30c5c9323359bc7b5c8cf5d200d488d8b | c3ffa07567d3d29a7439e33a6885a5544e896644 | /CodeForce/100482-C.cpp | 4d060a3635c286f969057e4f8b9bef66a9ae6650 | [] | no_license | a00012025/Online_Judge_Code | 398c90c046f402218bd14867a06ae301c0c67687 | 7084865a7050fc09ffb0e734f77996172a93d3ce | refs/heads/master | 2018-01-08T11:33:26.352408 | 2015-10-10T23:20:35 | 2015-10-10T23:20:35 | 44,031,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | #include<stdio.h>
#include<algorithm>
#include<string.h>
using namespace std;
char s[200010] ;
main()
{
int T,cnt=0,a[30];
scanf("%d",&T) ;
while(++cnt && cnt<=T)
{
gets(s) ; int q ;
while(s[0]=='\0' || s[0]==49 || s[0]=='\n') gets(s) ;
printf("Case #%d:\n",cnt) ;
... | [
"a00012025@gmail.com"
] | a00012025@gmail.com |
494a99e22d762554335b6f084408077c6a5f00c1 | dff1748a78a317af81cc4e2a721bcda9915a538b | /Regelungscontroller-neu2/IO.ino | a0f5e59cfe16dd7ed8a00a1dcfc0e08cb69735e8 | [] | no_license | lumascet/supercharger | 1985cdd53e2ba4fd0fa4194c4efbab1d7b134018 | 2f936554cb3002a4903d4be40527fe933a493038 | refs/heads/master | 2020-07-30T01:10:25.450349 | 2020-05-15T14:58:50 | 2020-05-15T14:58:50 | 210,030,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,766 | ino | //---Input & Output operations---
void initPins(){
//PIN Setup
pinMode(PIN_PWOK, INPUT);
pinMode(PIN_PSON, OUTPUT);
digitalWrite(PIN_PSON, HIGH);
pinMode(PIN_RX, INPUT_PULLUP);
pinMode(PIN_TX, INPUT_PULLUP);
pinMode(PIN_VSENSE, INPUT);
pinMode(PIN_LEDCURR, OUTPUT);
digitalWrite(PIN_LEDCURR, LO... | [
"lukas.schroeer@gmx.at"
] | lukas.schroeer@gmx.at |
8e7f62fb16b3cf57f23d3eaaf66833a9fdd10fb9 | 70de48a6e65e468e2b30a0c0fd74e591b242a16c | /Basic Searching and Sorting Algorithms/Selection Sort/selection_sort(iterative).cpp | 318cddf2fbf3a01dc79a786924db71a5d3af201f | [] | no_license | ihjohny/Algorithms-Implementation | 130be91380f96af05fdaada813d57321b859d24b | c30aefdee716c4a45780299b10f24b5351c01ea2 | refs/heads/master | 2020-03-22T10:18:03.439914 | 2019-10-22T06:29:59 | 2019-10-22T06:29:59 | 139,894,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | //selection_sort(iterative)
/*
* Unstable
* In place
* Worst case complexity O(n^2)
* Space complexityO (1)
*
*/
#include<iostream>
#include<cstdio>
#define SZ 10
using namespace std;
int main()
{
int Arra[SZ]={777,55,45,2,14,878,4,145,14,99};
int i,j,k,temp;
int count=0; //for counting time complixty (how m... | [
"ihjony23@gmail.com"
] | ihjony23@gmail.com |
9e7aa2a14024f4050fae1cb37fa93bb6736fe185 | 79eb737b20cfd332c84d5a6926365868f94ebdad | /src/PortWriter.cpp | 81f43bf841943ea35b896da45e75ec6d74ee8f5a | [] | no_license | johnty/libYARP_OS_iOS | 70d6555d8e0bc05b7feaa8711fca6efe9277e16c | 65bc7bf382e3de1004acff408b110808da3ff9c0 | refs/heads/master | 2020-08-26T20:08:47.955399 | 2014-02-12T01:02:00 | 2014-02-12T01:02:00 | 16,746,103 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | // -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
/*
* Copyright (C) 2006 RobotCub Consortium
* Authors: Paul Fitzpatrick
* CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT
*/
#include <yarp/os/PortWriter.h>
yarp::os::PortWriter::~PortWriter() {
}
void yarp::os... | [
"johntywang@gmail.com"
] | johntywang@gmail.com |
46d49d79978ab4fdfa2308c874fb5934dd3f4ade | 153b3230aa3235a5003642d07e114fb6bdf36caa | /Assignment2/Program/build-HFractal-Desktop_Qt_5_11_3_MinGW_32bit-Debug/debug/moc_gtextarea.cpp | cd2bbc116e57a4637596f2d525f47c0a1ffd496b | [] | no_license | MeloYang05/CUHK-CSC3002-Assignment | dc6e4c4e73194a0de324ece850880d22c6f84373 | a5156f4edf13b59291647e566b7766ec42faccd3 | refs/heads/master | 2020-07-12T13:05:42.498424 | 2019-08-28T01:54:34 | 2019-08-28T01:54:34 | 204,825,810 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,935 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'gtextarea.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.3)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"lianyixiaofan@foxmail.com"
] | lianyixiaofan@foxmail.com |
cf9a69466e94f8f5753d83b7db8e5ac25b40b19b | 044f85c8f00da4ad6001ed53363d829e034849a8 | /32.cpp | 0919c8095f48afeda42a655770cd0eac914f7ebd | [] | no_license | anand9git/DSA-code | 877c30d779d9de492d29f58ab37650105b070395 | e90a64ee8469754eda8d734e203ea16d4c53f174 | refs/heads/master | 2023-02-27T17:08:40.928070 | 2021-02-03T18:12:46 | 2021-02-03T18:12:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | cpp | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main(){
//program to find first row with max no of 1s if all rows are sorted and contain only 0 and 1 in O(m+n) time.
int m, n;
cin>>m>>n;
int arr[m][n];
for(int i=0;i<m;i++){
for(int j=0;j<n;j++)cin>>arr[i][j];
}
... | [
"aggarwalanand9@gmail.com"
] | aggarwalanand9@gmail.com |
8b9fa02c363dd4f82ddd8cb1b2c25dd19d53b15e | 5880f1fa2a1d572050c2ccd63a3761dd1f75caa1 | /07.Strings/02.AnagramsUsingCountCharacters.cpp | 2a8f8732a159d5210fe91020481e9f454b626179 | [] | no_license | mayank8200/Data-Structure-and-Algo-for-Interview-Preparation | 3bd7856530da92182a4afde0a15cfc6a932fc7f6 | 9e830ec03c8dec5f4069168b290fcaff8d1167ea | refs/heads/master | 2022-10-11T23:20:22.105296 | 2020-06-09T09:20:02 | 2020-06-09T09:20:02 | 263,544,924 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | cpp | #include <bits/stdc++.h>
using namespace std;
bool anagrams(string s1,string s2)
{
int a = s1.length();
int b = s2.length();
if(a!=b)
{
return false;
}
int c1[256] = {0};
int c2[256] = {0};
for(int i=0;i<a;i++)
{
c1[s1[i]]++;
c2[s2[i]]++;
... | [
"41484766+mayank8200@users.noreply.github.com"
] | 41484766+mayank8200@users.noreply.github.com |
43cefc03da549c578619f90e9a87150ce85fc211 | 893f7883bc472570e1c407ccdee6da9f3df78580 | /src/assert/test/testAssertWithNDEBUG.h | 9d769f6f327d25421365deee04076c2ed300c03d | [
"MIT"
] | permissive | dpicken/utils | a7bde29d760daff4947a599a20db7d0a640b5c08 | 53d214cd81d45c29578e3165c1b188057e6ac9e1 | refs/heads/master | 2021-07-17T07:46:05.881675 | 2020-04-23T22:58:58 | 2020-04-30T04:52:58 | 133,750,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | h | #ifndef assert_test_testAssertWithNDEBUG_h
#define assert_test_testAssertWithNDEBUG_h
namespace assert { namespace test {
void testAssertWithNDEBUG();
} } // namespace assert::test
#endif // ifndef assert_test_testAssertWithNDEBUG_h
| [
"dpicken@users.noreply.github.com"
] | dpicken@users.noreply.github.com |
2032a759845d3a2b24b6361ef5b463f0727a655f | 9ded4c4fc135c2154ea85bc6a8fb4dcf2ce84863 | /wikioi/1701.cpp | ec4b5147c274d28b18cf32eea483d81965b8083e | [] | no_license | yanhuanwang/codekata | 5389a1e958c7c2d79582098b89a26648dcc188ba | 9369f7461ddcc731b318bc701b2f17ad2990f285 | refs/heads/master | 2016-09-06T01:17:37.255599 | 2014-06-19T12:31:06 | 2014-06-19T12:31:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,623 | cpp | ///*
// * A.cpp
// *
// * Created on: Apr 26, 2014
// * Author: ecaiyan
// */
//
//#include <cstdio>
//#include <cstdlib>
//#include <memory.h>
//#include <algorithm>
//#include <string>
//#include <map>
////#include <unordered_map>
////#include <unordered_set>
//#include <set>
//#include <vector>
//#include <cma... | [
"martin.yan.seu@gmail.com"
] | martin.yan.seu@gmail.com |
2cb5aab6457963a2bb65d0b02f65951196504d48 | 97d1bfba6adafc0fbdd68bdfbeb314d33aa364be | /astar/2012-2013/121211/b/b.cpp | f63f0ca4e44f72cbb340499d73623a084df04f9b | [] | no_license | github188/MyCode-1 | 26069f08222b154c08308a72a61f8e9f879a447e | 2227b9dd9a13114a1b2b294c3e70253b16f88538 | refs/heads/master | 2020-12-24T11:24:54.215740 | 2014-04-21T04:15:54 | 2014-04-21T04:15:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | cpp | #include<stdio.h>
#define p 2012
int a[251],c[2001][2001],f[251][2001][2],h[2012][2012],ans[251];
int main()
{
a[1]=1;
for (int i=2;i<=250;i++) a[i]=a[i-1]+2;
for (int i=0;i<p;i++)
for (int j=0;j<p;j++) h[i][j]=i*j%p;
c[0][0]=1;
for (int i=1;i<=2000;i++)
for (int j=0;j<=2000;j++)
... | [
"wcwswswws@gmail.com"
] | wcwswswws@gmail.com |
06a865379f6476139a32622c57b134feb32a8877 | 8854f8f28b44f16b136a8d728c397b22ccbd3599 | /chapter_3/3.11.cpp | 339bbcd64edea0494d638477d0cc781de42cc6d8 | [] | no_license | Hannahhiendo/C-programming | 33bc1a13b05421a0daca727c1931134ea1c89b79 | a106792dc68dd19ffd10674d29631c7b82538d4b | refs/heads/master | 2021-07-09T10:48:57.538146 | 2019-02-14T03:42:04 | 2019-02-14T03:42:04 | 144,395,449 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
int main ()
{
int income = 10500;
double tax;
if ( income <= 10000)
tax = income * 0.1;
else if (income > 10000 && income <= 20000)
tax = 1000 + (income - 10000) * 0.15;
cout << tax << '\n';
return 0;
} | [
"marinahiendo@gmail.com"
] | marinahiendo@gmail.com |
e366f7f42b16bd07146cda27c3a280f0d70d704a | d508027427b9a11a6bab0722479ee8d7b7eda72b | /src/dbghlp/chart.cpp | 9d1a5ac99f58dabbba39b0dd2a31be2f3b40ccbc | [] | no_license | gaoyakun/atom3d | 421bc029ee005f501e0adb6daed778662eb73bac | 129adf3ceca175faa8acf715c05e3c8f099399fe | refs/heads/master | 2021-01-10T18:28:50.562540 | 2019-12-06T13:17:00 | 2019-12-06T13:17:00 | 56,327,530 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,764 | cpp | #include "StdAfx.h"
#include <ATOM_thread.h>
#include "stl.h"
#include "chart.h"
#if defined(_MSC_VER)
# pragma warning(disable:4786)
#endif
#define WMU_CS_CREATE (WM_APP + 1)
#define WMU_CS_DESTROY (WM_APP + 2)
#define WMU_CS_SHOW (WM_APP + 3)
#define WMU_CS_UPDATE (WM_APP + 4)
struct ChartThreadParams
{
DWORD re... | [
"80844871@qq.com"
] | 80844871@qq.com |
8634c08b685081d89aaf09b80e9f1a5a1402cfb5 | 07eb399da1ce4374deedb339117299d321305b55 | /freespace2/include/multi_pause.h | ee3b46dd5e2df826afc04791ac1d1916e729e4b6 | [] | no_license | lubomyr/freespace2 | 222474acb364f4f2e5ad36ecad0450244196220d | a959fcf403400f5c5d933fba66a41d8e96b02811 | refs/heads/master | 2021-01-15T08:58:58.113252 | 2016-11-06T14:53:59 | 2016-11-06T14:53:59 | 52,396,527 | 11 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,556 | h | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on
* the source.
*/
/*
* $Logfile: /Freespace2/code/Network/multi_pause.h $
* $Revision: 110 $
... | [
"lubomyr31@gmail.com"
] | lubomyr31@gmail.com |
9ebdad0ecb0eb9aabdb8894534caf73b2b33f6d2 | b8c4c902e8ac17a59719efedb87efb79c56394db | /oop/VirtualFunctions/CoutOperator.cpp | 06e2235f5a6803b66230af9c04fdf0ed0da06360 | [] | no_license | dibolsoni/LearningCpp | ab61a87d9c45b190f65e7aff8616ca9bee6565b9 | d485a7d06183f0df9d188c4326105ff76c89ce76 | refs/heads/master | 2023-08-20T08:34:11.917654 | 2021-10-13T18:45:38 | 2021-10-13T18:45:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 969 | cpp | #include <iostream>
class Base
{
public:
Base() {}
// Here's our overloaded operator<<
friend std::ostream& operator<<(std::ostream &out, const Base &b)
{
// Delegate printing responsibility for printing to member function print()
return b.print(out);
}
// We'll rely on member function print() to do... | [
"dibolsoni@gmail.com"
] | dibolsoni@gmail.com |
e6b9db3b3e728d14803a2acfc24e0cb2b5aee303 | b227d23f889f5dc04b7eef4bc3eb514732ccef55 | /PTA/PAT_A/Cpp11/A1015_AC.cc | f75a5d2e720596508a2f1b8d46198c2cdde3a241 | [
"MIT"
] | permissive | StrayDragon/OJ-Solutions | e5dd953781237197b98fa83711a818cd705c3fdc | b31b11c01507544aded2302923da080b39cf2ba8 | refs/heads/master | 2020-04-26T17:17:04.605568 | 2019-12-24T08:03:18 | 2019-12-24T08:03:18 | 173,708,012 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | cc | // ---
// id : 1015
// title : Reversible Primes
// difficulty : Easy
// score : 20
// tag : TODO
// keyword : TODO
// status : AC
// from : PAT (Advanced Level) Practice
// ---
#include <cmath>
#include <iostream>
bool is_prime(int n) {
if (n <= 1)
return false;
int boun... | [
"straydragonl@foxmail.com"
] | straydragonl@foxmail.com |
5addeb853ffd246d1a5811a7cc41bc6fdb3a3722 | ab9b1af430728a52a8fd91279f9a9093a2701604 | /sword_to_offer_010_ex/sword_to_offer_010_ex/sword_to_offer_010_ex.cpp | 707e31ab6b829606b69176c96f770ba4d908cda6 | [] | no_license | wuyong66/sword_to_offer | 3a59677b9965a08db8aa516c0ccc48070347c264 | db436d2772cc4873ab696162b495113f1d1cec48 | refs/heads/master | 2020-03-19T10:47:30.232106 | 2018-07-25T14:47:56 | 2018-07-25T14:47:56 | 136,401,309 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 764 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
bool IsPowOf2(int num);
int MChangeToN(int m, int n);
int main()
{
cout << IsPowOf2(8) << endl;
cout << MChangeToN(8, 4) << endl;
system("pause");
return 0;
}
//判定某个数是否是2的指数得到的
bool IsPowOf2(int num)
{
unsigned int flag = 1;
unsigned... | [
"1062073083@qq.com"
] | 1062073083@qq.com |
5e02ee8bee47050190672a5ec52f15926e9d067b | 0f171cb8ebcae3acf824fae38608df156cd512a2 | /src/rpc/core_rpc_server.cpp | 80bc210f6e8dfb70600b0dcb52c62392e1db8713 | [
"BSD-3-Clause"
] | permissive | projekgallus/galluscoin | 55c136574a3a0aec6b0c2a9599ed602644fd8bef | 84c33ab8cf2d187d514957110060114bc66cb944 | refs/heads/master | 2020-03-07T05:06:22.648000 | 2018-07-09T22:10:40 | 2018-07-09T22:10:40 | 127,286,033 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 57,438 | cpp | // Copyright (c) 2014-2017, The Monero Project
//
// 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 o... | [
""
] | |
be26cb5e563ca8a301dec40afb3bff14e0714909 | d7b2eef3c363d735afc14abefe88a0d6426cd133 | /dynamic_programming/C.cpp | 8254f1fe9965c13919972f735b18c79111a1234b | [] | no_license | AndreyBocharnikov/Algorithms-and-Data-structures | ab5d6a4552f59bcae567ca76c14370230d75b0b5 | 0eb404fa8521c0550d4a23d563649c49d2cc56bc | refs/heads/master | 2023-06-04T16:51:01.401711 | 2021-06-15T09:57:28 | 2021-06-15T09:57:28 | 250,284,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,845 | cpp | #include <fstream>
#include <vector>
#include <algorithm>
#define ll long long
#define f first
#define s second
using namespace std;
ll dp[2001][2001], w[2001];
int R[2001][2001];
vector <string> ans;
void find_ans(int l, int r) {
if (l == r)
return;
int mid = R[l][r];
// cout <<... | [
"a-bocharnikov@bk.ru"
] | a-bocharnikov@bk.ru |
d6053c911037b737af040af6165b9a9817b98856 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/browser/sync/test/integration/themes_helper.h | 587f790635b6ce04c5478c43385507e55d28b89c | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 1,201 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_THEMES_HELPER_H_
#define CHROME_BROWSER_SYNC_TEST_INTEGRATION_THEMES_HELPER_H_
#include <string>
#inclu... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
5c08bf721268856c2037578406d82a5c85bb4708 | bcf138c82fcba9acc7d7ce4d3a92618b06ebe7c7 | /gta5/0xAA0A52D24FB98293.cpp | a5cb865f044fc64cb0cbee54deebd2d665db09e8 | [] | no_license | DeepWolf413/additional-native-data | aded47e042f0feb30057e753910e0884c44121a0 | e015b2500b52065252ffbe3c53865fe3cdd3e06c | refs/heads/main | 2023-07-10T00:19:54.416083 | 2021-08-12T16:00:12 | 2021-08-12T16:00:12 | 395,340,507 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821 | cpp | // am_imp_exp.ysc @ L8276
void func_189(int iParam0, int iParam1, int iParam2)
{
int iVar0;
int iVar1;
int iVar2;
var uVar3;
HUD::GET_HUD_COLOUR(iParam2, &iVar0, &iVar1, &iVar2, &uVar3);
if (iParam1 == 0)
{
}
VEHICLE::TRACK_VEHICLE_VISIBILITY(iParam0);
if (func_14(PLAYER::PLAYER_ID(), 1, 1))
{
... | [
"jesper15fuji@live.dk"
] | jesper15fuji@live.dk |
10c2c399ba3cac69feeb154d609d98e5f171e55b | e1383b70afaacf030012f04480f5e0b2608ebb42 | /ESP-Now/espnow-gateway/espnow-gateway.ino | 93c3cb62fd89177f8529458583c1e2c97a002098 | [
"CC0-1.0"
] | permissive | px4ugs/IoT | 025dfa291f5c6efbbe8854235d7d8882c96303c9 | 8b078b4a5663dd31603e70df603ae2457d442018 | refs/heads/master | 2020-06-20T13:03:10.874306 | 2017-05-06T12:03:22 | 2017-05-06T12:03:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,107 | ino | /*
Testing ESP-Now
See https://espressif.com/en/products/software/esp-now/overview
ESP-Now enables fast lightwieght connectionless communication between ESP8266's.
So for example a remote sensor node could send a reading using ESP-Now in just a few
hundred milliseconds and deepSleep the rest of the time and so... | [
"ant.elder@uk.ibm.com"
] | ant.elder@uk.ibm.com |
9a453052e9369e618a723a5a3baad7de3cdedb42 | 385cb76729b67994db6ce40b70e6f6806c5f4303 | /RomiRobot_MovementAndMapping_v1.5/button.h | 4331c6538c701bd0b2455217e40084fba326cbb3 | [
"MIT"
] | permissive | meisben/RomiRobot_MovementAndMapping | f638f8d26fd846558bbfa66ed4edadc4de60e690 | 993d3c5c2fc067f343343662a3a0dc31a8e133ce | refs/heads/master | 2020-05-17T14:10:02.422730 | 2019-05-08T19:46:51 | 2019-05-08T19:46:51 | 183,757,226 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,348 | h | // Arduino Button Library
// https://github.com/JChristensen/JC_Button
// Copyright (C) 2018 by Jack Christensen and licensed under
// GNU GPL v3.0, https://www.gnu.org/licenses/gpl.html
#ifndef JC_BUTTON_H_INCLUDED
#define JC_BUTTON_H_INCLUDED
//#include <Arduino.h>
class Button
{
public:
// Button(pin,... | [
"afunnyllama@gmail.com"
] | afunnyllama@gmail.com |
f946afd96f40ff7139a3862761ad0d6dc557c013 | 438cd59a4138cd87d79dcd62d699d563ed976eb9 | /mame/src/mame/includes/atarig42.h | d1aa27dbc638d6ec70b6f2d0c4e5bf6be06db9c5 | [] | no_license | clobber/UME | 031c677d49634b40b5db27fbc6e15d51c97de1c5 | 9d4231358d519eae294007133ab3eb45ae7e4f41 | refs/heads/master | 2021-01-20T05:31:28.376152 | 2013-05-01T18:42:59 | 2013-05-01T18:42:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,299 | h | /*************************************************************************
Atari G42 hardware
*************************************************************************/
#include "machine/atarigen.h"
class atarig42_state : public atarigen_state
{
public:
atarig42_state(const machine_config &mconfig, ... | [
"brymaster@gmail.com"
] | brymaster@gmail.com |
186465f9cd35fcf9ff7b50a436459d05d19d50ec | bc15567a31a80adf9027710cfc1c04e6c2735b3c | /src/test/checkblock_tests.cpp | 57a2fc2fd6a9ab72e7f6059dae4bf4b42d666844 | [
"MIT"
] | permissive | shadowOz/stargate-guru-test | a012770acf941111cce415af9e02406d879421a3 | 41716cd5142df5d598775139c4a3313bc3c917ac | refs/heads/master | 2020-03-15T13:57:18.983505 | 2018-05-06T13:32:11 | 2018-05-06T13:32:11 | 132,179,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,901 | cpp | // Copyright (c) 2013-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "clientversion.h"
#include "consensus/validation.h"
#include "validation.h" // For CheckBlock
#include "primitives/b... | [
"38054148+shadowOz@users.noreply.github.com"
] | 38054148+shadowOz@users.noreply.github.com |
0dcebbc472ea2ff9bee964db7b2760231d91ff56 | ed0fb471daca59daa6255d75d4c68508e58e3454 | /recognition/include/pcl/recognition/distance_map.h | ac68e5b4ed81036bfd823775d271c9227326713a | [
"BSD-3-Clause"
] | permissive | mujin/pcl | ec9de205e1ee5940fd0a55a012733984a0bb1ff2 | 9a13da19c792ce1f9dfcb752bc92300f40270bec | refs/heads/master | 2023-06-09T13:49:51.928549 | 2022-04-18T01:03:29 | 2022-04-18T01:03:29 | 32,294,758 | 4 | 2 | NOASSERTION | 2023-05-09T03:41:42 | 2015-03-16T01:43:16 | C++ | UTF-8 | C++ | false | false | 3,929 | h | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2011, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | [
"holzers@in.tum.de"
] | holzers@in.tum.de |
4576b56b3a9ff0da8fa0ba63f368ca8998155b62 | cde72953df2205c2322aac3debf058bb31d4f5b9 | /win10.19042/System32/msvproc.dll.cpp | fafb10df5a7b0312e3c195ae9b4d3eaa2fdb3841 | [] | no_license | v4nyl/dll-exports | 928355082725fbb6fcff47cd3ad83b7390c60c5a | 4ec04e0c8f713f6e9a61059d5d87abc5c7db16cf | refs/heads/main | 2023-03-30T13:49:47.617341 | 2021-04-10T20:01:34 | 2021-04-10T20:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp | #print comment(linker, "/export:DllCanUnloadNow=\"C:\\Windows\\System32\\msvproc.dll\"")
#print comment(linker, "/export:DllGetActivationFactory=\"C:\\Windows\\System32\\msvproc.dll\"")
#print comment(linker, "/export:DllGetClassObject=\"C:\\Windows\\System32\\msvproc.dll\"")
| [
"magnus@stubman.eu"
] | magnus@stubman.eu |
cae933c60c16dae64e96cc7a48e6b330ee534d91 | 069ea34f9980dd0d0445202dcaa16d1a553a3e23 | /HDACMer/Buildings/main.cpp | d17145f540bb395b31a5932654b4e1cb4121fdcd | [] | no_license | theJinFei/C-Test | fe9c3b1236f3c40b8f0d1c7b1f90b517723d1b14 | e2e26578e7df245f1c1f35a74fd8c02966690f94 | refs/heads/master | 2021-09-01T17:11:07.727227 | 2017-12-28T02:14:05 | 2017-12-28T02:14:05 | 114,580,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | #include <iostream>
#include <vector>
#include <stdio.h>
#include <algorithm>
#include <iomanip>
#include <string>
#include <cstdio>
#include <string.h>
#include <set>
#include <cmath>
using namespace std;
int main()
{
int N;
cin>>N;
while(N-->0){
int a,b;
cin>>a>>b;
int array[a][b]... | [
"luojinfei_study@163.com"
] | luojinfei_study@163.com |
6d15cafe514d886b84547382bd95847972d37c7f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_10710.cpp | 542a39d6f5a2e9db385a2fbd0a1ab113cbf60190 | [] | 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 | 103 | cpp | {
ci->folders[i].digest_defined = digest.defineds[i];
ci->folders[i].digest = digest.digests[i];
} | [
"993273596@qq.com"
] | 993273596@qq.com |
b07a35e1e7d1737a41dbd736258e12b374575f9e | 338a9f8e5f6d8b5b79b9c32b6319af16b02ff7b7 | /tests/src/utility/LambdaFunctionWithCapturesBadCase.hpp | 9cb71d085766876d48cf907c3eed16e97f63b78c | [
"MIT"
] | permissive | ddovod/jet-live | 26b60783cbd5ab76015c4386318731e49cbcdc00 | 59c38997f7c16f54ddf9e68a189384bd11878568 | refs/heads/master | 2022-08-26T18:52:46.584817 | 2022-01-28T09:00:25 | 2022-01-28T09:00:25 | 163,978,787 | 394 | 33 | MIT | 2020-01-18T10:28:27 | 2019-01-03T13:47:39 | C++ | UTF-8 | C++ | false | false | 110 | hpp |
#pragma once
#include <functional>
std::function<int(int, int)> createLambdaFunctionWithCapturesBadCase();
| [
"ddovod@gmail.com"
] | ddovod@gmail.com |
74415afe8b1b79b79598229727852d99f28d52db | c50d61136efbd74c97d939468542e40e0fbb79e1 | /core/vendor/pytorch-release/include/nvfuser_resources/grid_reduction.h | 4e7a1260996db3ff758c6bcc358336c3240333d4 | [] | no_license | Ajblast/GameEngine | e95836d631fa2e2057ab9a5219ceb57fcbf5b23f | db2473add049125f7e2c21965a3957e4f3d74ffc | refs/heads/main | 2023-09-01T17:31:20.655818 | 2021-10-17T13:03:45 | 2021-10-17T13:03:45 | 327,814,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,226 | h | // Generated from "C:/w/b/windows/pytorch/torch/csrc/jit/codegen/cuda/runtime/grid_reduction.cu"
// 2021-09-14 15:01:05
namespace nvfuser_resources {
constexpr const char* grid_reduction_cu = R"(
// Inter-block reduction.
//
// Function gridReduce performs point-wise reductions of scalars across thread
// blocks. Thr... | [
"46971018+Ajblast@users.noreply.github.com"
] | 46971018+Ajblast@users.noreply.github.com |
50ce1362bf441a420469de87853c389deb4baa06 | b0f2c26360815e94da1aad9b931174be6019f2f2 | /pasha/lect_17/reg_expression/main.cpp | 34c8724445ea02458e8d6d422b39fce96813a6b9 | [] | no_license | tarstars/prog_course_2013 | aa2c1f21a06db40cd6fa84622a9f5fb29578dda5 | 60caba18ef418fe97e8d69e831864732a24fdd71 | refs/heads/master | 2020-05-17T12:44:06.451902 | 2013-12-17T10:52:03 | 2013-12-17T10:52:03 | 8,088,769 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | #include <iostream>
#include <QRegExp>
#include <QImage>
using namespace std;
int main(int, char **) {
QRegExp reCircle("circle\\((\\-?[0-9]+),(\\-?[0-9]+)\\),([0-9]+)");
QRegExp reLine("line\\(([0-9]+),([0-9]+)\\)\\-\\(([0-9]+),([0-9]+)\\)");
QRegExp reCls("cls");
int n = 800;
QImage img(n, n, QImage::For... | [
"nikitin.pavel.a@gmail.com"
] | nikitin.pavel.a@gmail.com |
1317f73678771bc2df6a5a0e04b762c5a5f56f3a | 4dbfab72ec685805d94c95fb2fefc3525011caa2 | /compiler_optimizations/copy_elision__initialization_with_temporary_variable.cpp | de4d0a2b78fb0c433417afafa495dbeacce80e20 | [] | no_license | init931/yandex.praktikum | 53dc83d3e2a442c43e1e9f8f88abadc06c37aa55 | 454616cbc490990034157c65dfd585b9c62ef7bb | refs/heads/main | 2023-08-05T03:31:06.759141 | 2021-09-15T10:02:48 | 2021-09-15T10:02:48 | 357,801,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,666 | cpp | #include <iostream>
#include <string>
using namespace std;
// класс кота Шрёдингера
class SchrodingerCat {
private:
string color_;
public:
SchrodingerCat() : color_("black"s) {
cout << "Default Ctor cat"s << endl;
}
SchrodingerCat(const SchrodingerCat& other)
: color_(other.color_)
... | [
"friendskenny72@gmail.com"
] | friendskenny72@gmail.com |
58f49af56745f7fadd6dea66251948f3e08633f3 | 8e2e2996ca91988e4c2e65e1ded8ff08952ab4ad | /src/MoviePriceType.h | bf34138b3937bb84dfa5be96c6c4990153376b2d | [] | no_license | GEN-BGroupeD/Labo5 | 77604e2d71d096afd411fd739e3778b4dba502d5 | c45cf1befa83621568b4c8c0d97b6898b1ba9222 | refs/heads/master | 2022-11-08T10:50:15.171530 | 2020-06-21T10:00:01 | 2020-06-21T10:00:01 | 272,814,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | h | #ifndef MOVIEPRICETYPE_H
#define MOVIEPRICETYPE_H
class MoviePriceType {
public:
explicit MoviePriceType(double price) : price(price) {}
virtual double getPrice(double daysRented) = 0;
virtual int getBonus(){
return 0;
}
virtual ~MoviePriceType() = default;
protected:
const double ... | [
"helene.dubuis@heig-vd.ch"
] | helene.dubuis@heig-vd.ch |
4e0704eaeea9a7843426775a42f1b0ef399e2a4a | 97eb00d7b35076b1efce57b21ad51636ac2a920c | /ABC/162/d.cpp | 8f73a46f29c2d9ab5830ac7000a7cf39dc005205 | [] | no_license | jimjin73/compro | 43199716dc857f52c10d3237908e70c1801e7fb4 | b194b4414752fff3debc838f4ee70af8e2e43f34 | refs/heads/master | 2021-05-18T01:02:39.338377 | 2020-08-06T12:25:20 | 2020-08-06T12:25:20 | 251,037,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,078 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll N;
string s;
vector<ll> v[3];
int main(){
cin >> N;
cin >> s;
for(int i=0;i<N;i++){
if(s[i] == 'R') v[0].push_back(i);
if(s[i] == 'G') v[1].push_back(i);
if(s[i] == 'B') v[2].push_back(i);
}
ll sum = 0;... | [
"j.kam.j.kan.w.jmj@gmail.com"
] | j.kam.j.kan.w.jmj@gmail.com |
21b1a6a06a9745bf40c4feb2a30da1148d55f4e3 | 8903cb76cedac12995249e2e613af65365be7cf2 | /ares/n64/controller/gamepad/gamepad.cpp | 4b33563b8620b4c637287bb886f442f65437a0fe | [
"ISC"
] | permissive | kirwinia/ares-emu-v121 | 0c1e21e073f291741406cd1ed01acca43acd56d7 | 722aa227caf943a4a64f1678c1bdd07b38b15caa | refs/heads/main | 2023-06-09T15:28:23.665934 | 2021-06-28T06:10:46 | 2021-06-28T06:10:46 | 380,923,321 | 0 | 0 | ISC | 2021-06-28T06:05:04 | 2021-06-28T06:05:04 | null | UTF-8 | C++ | false | false | 6,300 | cpp | Gamepad::Gamepad(Node::Port parent) {
node = parent->append<Node::Peripheral>("Gamepad");
port = node->append<Node::Port>("Pak");
port->setFamily("Nintendo 64");
port->setType("Pak");
port->setHotSwappable(true);
port->setAllocate([&](auto name) { return allocate(name); });
port->setConnect([&] { return ... | [
"ecallaghan@protonmail.com"
] | ecallaghan@protonmail.com |
a1acf14ea89349a7685ab8ea39532fd9a0dc372e | 5b1b25a0c1fbb384064cbb0500e7b74926111fe0 | /ZeroNetServer/zeroserver.h | 6bfb24f945835d33692ba7b00f661a5201aa9a5a | [] | no_license | Yuanyiis/ZeroNet | 9f0c1e92b09dfe07e545dc4203014602e15e3c64 | 763c5f2774628e0bb74c5d74d4e08549c788731a | refs/heads/master | 2021-04-30T10:03:08.319246 | 2018-01-21T03:50:32 | 2018-01-21T03:50:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,220 | h | /*
* Author: 752049643@qq.com
* Date: 2017-12-24
* Brief: Zero远控主要服务端
*
*/
#ifndef ZEROSERVER_H
#define ZEROSERVER_H
#include <QObject>
#include "TcpServer.h"
#include "ZeroClient.h"
#include <QHash>
class ZeroServer : public QObject
{
Q_OBJECT
public:
explicit ZeroServer(QObject *parent = 0);
/... | [
"zhjf1996@163.com"
] | zhjf1996@163.com |
a7fd1c7d655189dd8e7b8892ea08b5853da16664 | 7844379f018944f9be77cc213a8985372eff0848 | /src/saiga/core/image/png_wrapper.cpp | 7d7acaeb1e2d3341c3e316dea327af241618ca90 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | muetimueti/saiga | 344306e2340f4668b9fece1e3d0d934cd189feb2 | 32b54a8fc7b1251368e07e7d31c15ac90cee3b32 | refs/heads/master | 2020-07-31T12:42:29.096235 | 2019-09-25T16:50:09 | 2019-09-25T16:50:09 | 210,607,609 | 0 | 0 | MIT | 2019-09-24T13:17:44 | 2019-09-24T13:17:38 | null | UTF-8 | C++ | false | false | 14,662 | cpp | /**
* Copyright (c) 2017 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#include "png_wrapper.h"
#include "saiga/core/util/assert.h"
#include <cstring> // for memcpy
#include <iostream>
#ifdef SAIGA_USE_PNG
# include "internal/noGraphicsAPI.h"
# include <png... | [
"darius.rueckert@fau.de"
] | darius.rueckert@fau.de |
68fd5121b0bec95d4c52f4c809fb5587905e0b82 | fca68c5fec6df6f999408571315c2b8e7c4b8ce9 | /service/supersialign_home/src/Suez/SuezMain.cc | b1a3b9837e382bdeb4293afdc5bd6bc40812a018 | [] | no_license | jpivarski-talks/1999-2006_gradschool-3 | 8b2ea0b6babef104b0281c069994fc9894a05b14 | 57e80d601c0519f9e01a07ecb53d367846e8306e | refs/heads/master | 2022-11-19T12:01:42.959599 | 2020-07-25T01:19:59 | 2020-07-25T01:19:59 | 282,235,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,471 | cc | // -*- C++ -*-
//
// Package: Suez
// Module: SuezMain
//
// Description: The main "Main" in the Suez World
//
// Implimentation:
// <Notes on implimentation>
//
// Author: Martin Lohner
// Created: Thu Mar 20 15:13:11 EST 1997
// $Id: SuezMain.cc,v 1.67 2002/01/03 21:07:26 cdj Exp $
//
// Revisi... | [
"jpivarski@gmail.com"
] | jpivarski@gmail.com |
917a1cfeb76a9146b509b34f3daa9298b195ceeb | f1103e383f37e9e2f3695cbe6475d8a4cc8416ea | /sketch_mar13a/build/sketch_mar13a.cpp | 668c214d6bdc51cfc45684cf01ec9e4093c4597a | [] | no_license | ajparedes10/arquisoft | 140cfaec7d6b7b22097fb73c11be1c6a8c118cae | 19a3a53163a41315c9103981960ace2b89e6b717 | refs/heads/master | 2021-01-22T10:07:22.657248 | 2017-05-01T20:16:19 | 2017-05-01T20:16:19 | 81,987,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | cpp | /*
Obtiene un numero aleatorio y lo muestra en monitor serie
*/
//Variable donde almacenaremos el numero aleatorio
#include "WProgram.h"
void setup();
void loop();
long randomNumber;
long randomNumber2;
long randomNumber3;
long randomNumber4;
//Funci\u00f3n de inicializaci\u00f3n
void setup() {
//Inicializamo... | [
"cc.novoa11@sis.virtual.uniandes.edu.co"
] | cc.novoa11@sis.virtual.uniandes.edu.co |
cc8f7e42234cd1e9a3997375ffef055952e239cf | c5a98c662bf46ca465d621810275a81c2372e9e9 | /Arduino/WifiModule/WifiModule.ino | f48e510e3087393bffcf899c084836ca42dac7e2 | [] | no_license | AllanFontaine/Pot-App | 241a01a44858e4af509d08546488aa58503eb02e | f28e64ff24c25076a0f71eb4a0c60bc4c4e875b2 | refs/heads/master | 2023-01-31T14:21:09.979306 | 2020-12-17T13:23:21 | 2020-12-17T13:23:21 | 296,675,344 | 2 | 0 | null | 2020-12-17T13:23:22 | 2020-09-18T16:33:54 | CSS | UTF-8 | C++ | false | false | 5,253 | ino | #include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClient.h>
const char* ssid = "PDC";
const char* password = "Scott44572Glenn";
//Your Domain name with URL path or IP address with path
String serverDonneesParcelle = "https://api.pot-app.be/api/donnees-parcelle/";
String serverDonneesUser = "https:... | [
"mr.glennichou@gmail.com"
] | mr.glennichou@gmail.com |
f733850e64d7344c9534c56b41f99252c311693b | bdd9f3cdabe0c768641cf61855a6f24174735410 | /src/engine/client/library/clientAudio/src/win32/Audio.h | 6b717613b0ff7ef5a57b53e74a527b03993e363a | [] | no_license | SWG-Source/client-tools | 4452209136b376ab369b979e5c4a3464be28257b | 30ec3031184243154c3ba99cedffb2603d005343 | refs/heads/master | 2023-08-31T07:44:22.692402 | 2023-08-28T04:34:07 | 2023-08-28T04:34:07 | 159,086,319 | 15 | 47 | null | 2022-04-15T16:20:34 | 2018-11-25T23:57:31 | C++ | UTF-8 | C++ | false | false | 13,614 | h | // ============================================================================
//
// Audio.h
// Copyright Sony Online Entertainment
//
// ============================================================================
#ifndef INCLUDED_Audio_H
#define INCLUDED_Audio_H
#include "clientAudio/SoundId.h"
class AudioSampleI... | [
"swgmaster@india.com"
] | swgmaster@india.com |
ab73ff22eecbfa21f8634bcaae44b447d8868912 | c51febc209233a9160f41913d895415704d2391f | /library/ATF/_trunk_pw_hint_index_request_clzo.hpp | 7d3675575cb35a175fa55dd52a612b19cc4dcbe7 | [
"MIT"
] | permissive | roussukke/Yorozuya | 81f81e5e759ecae02c793e65d6c3acc504091bc3 | d9a44592b0714da1aebf492b64fdcb3fa072afe5 | refs/heads/master | 2023-07-08T03:23:00.584855 | 2023-06-29T08:20:25 | 2023-06-29T08:20:25 | 463,330,454 | 0 | 0 | MIT | 2022-02-24T23:15:01 | 2022-02-24T23:15:00 | null | UTF-8 | C++ | false | false | 270 | hpp | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
struct _trunk_pw_hint_index_request_clzo
{
char byDummy;
};
END_ATF_NAMESPACE
| [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
e83f433c55b5407e67c655d0178c4be9d49500f9 | bd8dff663c463faa69e2bfa9ee177b50c617f701 | /B1026.cpp | 188dde3997113610d65191376e9b87ff441e3a5d | [] | no_license | Gabriel-18/PAT | 94b8b0b02955458f736f781246d91b9c6ee25794 | f66e5f6c6db22e1be28b738523cb589e9ce12b11 | refs/heads/master | 2022-12-07T08:15:11.181501 | 2020-09-05T01:27:38 | 2020-09-05T01:28:18 | 198,178,163 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 432 | cpp | #include<cstdio>
// 模拟
// 四舍五入
int main() {
int c1, c2;
scanf("%d%d",&c1, &c2);
int ans = c2 - c1;
//四舍五入
if(ans % 100 >= 50) {
// 傻逼写法 ans /= 100 + 1
ans = ans / 100 + 1;
} else {
ans /= 100;
}
//ans / 3600 直接得到小时数
//ans % 3600 除去小时数剩下的部分
//ans % 60 剩下的秒数
printf("%02d:%02d:%02d", ans / 3600, a... | [
"644050173@qq.com"
] | 644050173@qq.com |
7c2c588f30b18f3454647da23347af5f93b2b4c7 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /media/formats/mp4/mp4_stream_parser_unittest.cc | d7b23181681d90ae1a5df19abf1384aaa90865a3 | [
"BSD-3-Clause"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 22,185 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/formats/mp4/mp4_stream_parser.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <memory>
#include <string>
#incl... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
f1d1e139fcdd08bdafdf0cb4170f83db117f7a6f | 0254f2ee4fde7362762a32cf8e59612271c63c87 | /src/plugins/server/cache.h | ddda11011834bd9b466d4692415e4747611baddd | [] | no_license | alexey-zayats/athletic | 9a97f7f221bd3671df43ac65642df2916ba42a0b | 0c65552d32a7bf581b03f0311e6764aaa60e1690 | refs/heads/master | 2020-05-22T01:31:14.186306 | 2017-07-10T12:06:58 | 2017-07-10T12:06:58 | 64,463,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,466 | h | #ifndef SERVER_CACHE
#define SERVER_CACHE
#include "cacheentry.h"
#include "server_global.h"
class QReadWriteLock;
namespace Server
{
/** @brief A read-write-locked cache structure.
*
* Depending on the Server configuration, this will use one of
* several backends; for example, QCache-based, or me... | [
"alexey.zayats@gmail.com"
] | alexey.zayats@gmail.com |
72c8b6139f2f383cad00448c0b5beb49ddd8d5c4 | f4bc78d304fcebd766a7a7d161e6b72d61e10d9a | /code/compiler/include/allscale/compiler/frontend/allscale_frontend.h | 1f5f32405524045b25d1fd071791b8d99a30b13e | [] | no_license | allscale/allscale_compiler | 6a02d655e1a101a9a6afa0c79df7e772fc8abcd6 | 12e5dada431e574b025c572ae5f8819047be12aa | refs/heads/master | 2021-01-12T06:53:34.553070 | 2019-03-19T12:43:15 | 2019-03-19T12:43:15 | 76,847,596 | 5 | 1 | null | 2017-12-01T11:39:58 | 2016-12-19T09:26:03 | C++ | UTF-8 | C++ | false | false | 195 | h |
#pragma once
#include "insieme/frontend/frontend.h"
namespace allscale {
namespace compiler {
namespace frontend {
void configureConversionJob(insieme::frontend::ConversionJob& job);
}
}
}
| [
"peterz@dps.uibk.ac.at"
] | peterz@dps.uibk.ac.at |
d204cabbbdb0d57be2b53ac4a1251e24f1b58838 | b4c2ea1c4edc0b635ecde4f353a0ab390050f6fc | /src/trading-bot/server/if.h | a946ba9f14e0d4bf5e8db422e5d636d7eba6a6dd | [
"ISC",
"MIT",
"LicenseRef-scancode-generic-cla"
] | permissive | KenYuan1987/Krypto-trading-bot | ab5adf0a103d8ad669d90d45d27414defbd564cc | e88cd71a978f2c5db32cb6cabe49aa6af3736b93 | refs/heads/master | 2020-03-29T01:50:31.027125 | 2018-09-18T23:28:11 | 2018-09-18T23:28:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,808 | h | #ifndef K_IF_H_
#define K_IF_H_
namespace K {
class Screen {
public:
virtual void pressme(const mHotkey&, function<void()>) = 0;
virtual void printme(mToScreen *const) = 0;
virtual void waitForUser() = 0;
virtual const int error(const string&, const string&, const bool& = false) = 0;
... | [
"ctubio@users.noreply.github.com"
] | ctubio@users.noreply.github.com |
9eeac77a900e9bac8838f010d6d4fb70a015e4cb | bd3bcdce42c9e28364bfcc0615c4955a41fc7c1a | /vfd_demo/vfd_demo.ino | 782e8254a5f6d9417d60a33e8a5bfdfc3cdfbf1f | [] | no_license | DevSeq/hp-VFD | 8a91f34ded77dc3d56cf11b47ab0f12adbb55840 | 238c058adb41148dacef9c56b1bff8214108f65b | refs/heads/master | 2021-05-26T18:51:44.576644 | 2013-06-27T11:45:14 | 2013-06-27T11:45:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,010 | ino | /*
M66004Vfd and HpLaserJetControl libraries - Demo
Demonstrates the use a control/display panel from a
HP LaserJet 4 printer.
This sketch:
* Sets all pixels and flashes the LEDs for approximately 1 second.
* Prints "Hello, world!" to the display and flahses a heart beat.
* Sets LEDs on/off based on button... | [
"abzman2000@gmail.com"
] | abzman2000@gmail.com |
57a36d4fe0d245a5190e0ca3e8a498921939056b | fa4c26316e29e18e8b34f8ee22011d748985dae0 | /Native/animcontrol.h | 3531eb11cfec8c94f1288f3adaa4c70f74091520 | [] | no_license | shoff/ShadowbaneCacheViewer | 6024a412a57d5790bd89f893e03562027f00165e | cc42629430adff108015fca9d04a7b8b237f5aed | refs/heads/main | 2023-05-25T19:03:31.569467 | 2022-08-27T19:33:43 | 2022-08-27T19:33:43 | 37,615,646 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 401 | h |
#pragma once
#include "stdafx.h"
#include "skeleton.h"
#include "enums.h"
class AnimControl: public wxWindow
{
DECLARE_CLASS(AnimControl)
DECLARE_EVENT_TABLE()
wxComboBox *animList;
unsigned int selectedAnim;
Skeleton *skeleton;
public:
AnimControl(wxWindow* parent, wxWindowID id);
~AnimControl();
vo... | [
"smhoff256@gmail.com"
] | smhoff256@gmail.com |
f723322f6962769feb404d5d81ac24ec1216abdc | e572189d60a70df27b95fc84b63cc24048b90d09 | /bjoj/3143.cpp | 9eba49e8eee23c9e4979c1b79aad4a8db683c0eb | [] | no_license | namhong2001/Algo | 00f70a0f6132ddf7a024aa3fc98ec999fef6d825 | a58f0cb482b43c6221f0a2dd926dde36858ab37e | refs/heads/master | 2020-05-22T12:29:30.010321 | 2020-05-17T06:16:14 | 2020-05-17T06:16:14 | 186,338,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
int n;
cin >> n;
vector<int> aset(n);
vector<pair<int,int>> bset(n);
for (int i=0; i<n; ++i) {
cin >> aset[i];
}
for (int i=0; i<n; ++i) {
int a, b;
cin >> a >> b;
bs... | [
"namhong2001@gmail.com"
] | namhong2001@gmail.com |
1ed3c7a4038fd2644b65bbfe9c83598e55c993af | 677ee07ddf148ccb7de362ca6e4f55e56ba77171 | /FrogPlay/RealWndDlg_URL.h | 2f5324fdd67b8279d2c6cfbd79cef3daa32b2e10 | [
"MIT"
] | permissive | zhuyanbing/SouiDemo | 126d0c00af4ec13fb0d4e8ebc7c5399997ad7be2 | 09b0151a81e5d1552b05938b7aede0f7a9617cc4 | refs/heads/master | 2020-03-30T05:38:09.272310 | 2018-06-30T11:44:17 | 2018-06-30T11:44:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | h | #pragma once
#include "MainDlg.h"
class CRealWndDlg_URL : public SHostWnd
{
public:
CRealWndDlg_URL():SHostWnd(_T("LAYOUT:XML_Readwnd_url")) {}
~CRealWndDlg_URL(void){}
void On_Open_URLBtn()
{
SEdit *m_URL_text = FindChildByID2<SEdit>(8001);
if (m_URL_text)
{
if (m_URL_text->GetWindowTextW().IsEmpty())
... | [
"kklvzl@gmail.com"
] | kklvzl@gmail.com |
1c306778e44d9a6cfa9a9d27954a5b91a57ca770 | 8d0b9126c6a6002ef3d228e024f7b5bd4742aaad | /hammerblade/torch/kernel/kernel_conv.cpp | 59ed857fe518cfaa6ee0fb5d50c0d0c7b076fdf1 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | mchao409/hb-pytorch | f667b3857b3d7ed7c40ac7c985fd9700a61da3c1 | 3c28bb5b3d79e51a719e523fbe108fdd1915d3cd | refs/heads/master | 2021-05-23T11:07:24.432230 | 2020-05-26T01:45:20 | 2020-05-26T01:45:22 | 253,257,752 | 0 | 0 | NOASSERTION | 2020-04-05T14:45:09 | 2020-04-05T14:45:09 | null | UTF-8 | C++ | false | false | 8,884 | cpp | //====================================================================
// Convolution kernel
// 03/08/2020 Bandhav Veluri
//====================================================================
#include <kernel_common.hpp>
// We wrap all external-facing C++ kernels with `extern "C"` to
// prevent name mangling
extern... | [
"bandhav.veluri00@gmail.com"
] | bandhav.veluri00@gmail.com |
ba12f11349c9275c670c072561987c8dbc469656 | e53074d668e8eea241e2afa5aa42890bedb78cd9 | /Project1/Project1/Source/Engine/GraphicsSystem/Description/CommandQueueDesc.h | 5581c2dab347b8348fbe1bbcd4b1c8b53fe8b249 | [] | no_license | ReU1107/Project1 | 9f1e2ab128744c321f56219679cdb2a33072dd9f | dfae75c51981c29a5a578b1e754524476d1a6809 | refs/heads/master | 2020-12-26T19:13:20.864694 | 2020-10-29T11:51:13 | 2020-10-29T11:51:13 | 237,610,628 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 293 | h | #pragma once
#include <cstdint>
namespace Engine
{
namespace GraphicsSystem
{
enum class CommandQueuePriority : uint8_t;
enum class CommandListType : uint8_t;
struct CommandQueueDesc
{
CommandListType type; // タイプ
CommandQueuePriority priority; // 優先度
};
}
} | [
"reu1107@yahoo.co.jp"
] | reu1107@yahoo.co.jp |
94598c38fdbf5bc9e8eabec4987a841b45b0a945 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /src/library/kernel_serializer.cpp | 1f9880ac3fb5f38022fe8e4af51d400fd9066b73 | [
"Apache-2.0"
] | permissive | soonhokong/lean | cb8aa01055ffe2af0fb99a16b4cda8463b882cd1 | 38607e3eb57f57f77c0ac114ad169e9e4262e24f | refs/heads/master | 2021-01-21T00:01:24.081719 | 2015-12-22T06:45:37 | 2016-10-10T18:02:27 | 11,513,992 | 2 | 0 | null | 2014-06-03T02:38:22 | 2013-07-18T21:17:15 | C++ | UTF-8 | C++ | false | false | 15,292 | cpp | /*
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <string>
#include "util/object_serializer.h"
#include "kernel/expr.h"
#include "kernel/declaration.h"
#include "library/annotation.h"
#include "lib... | [
"leonardo@microsoft.com"
] | leonardo@microsoft.com |
e791f74651ee1ab7bb2912f310514e66e9526c04 | 942aea90ecc3cd50ec8e34de08a9b77876ae80ce | /Dynamic Programming/FloydWarshall.cpp | 07930625bc0128e1cba96a5972f336dcb7871bf1 | [] | no_license | somenathmaji/github-upload | 0f6546997325cab049e299c7b16987d2dafe364d | ab213a8a4118a7b716621253ff23e85fcb0682e6 | refs/heads/master | 2020-05-01T09:12:28.216905 | 2019-03-24T14:50:15 | 2019-03-24T14:50:15 | 177,394,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,830 | cpp | #include<iostream>
using namespace std;
#define MAX 9999
// graph implementation using adj matrix
class Graph
{
private:
int V;
int E;
bool isDirected;
int **adjMat;
public:
Graph(int v, int e=0, bool d=false)
{
V = v;
E = e;
i... | [
"live.somenath@gmail.com"
] | live.somenath@gmail.com |
ab729b4774b1911158b0aa98e06ab772de0a6519 | a6d934968dca366bde7e3d41c05acfcb3606afad | /misc/seaVote.cpp | 1aac7fc77ef39edd1132403a5cfe76ebaae1912a | [] | no_license | nishant-nimbare/cp | ec392e643973f57946601aca5b9bcb6ffe5e8c8e | 55107bede1d6f9bb958c7c0c7da6b9319c8f2dc3 | refs/heads/master | 2022-04-30T15:46:04.549480 | 2022-03-12T15:51:03 | 2022-03-12T15:51:03 | 229,908,243 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cpp | // https://www.codechef.com/problems/SEAVOTE
#include <iostream>
#include <bits/stdc++.h>
#include <vector>
#include <fstream>
using namespace std;
// inputs
// 3
// 3
// 30 30 30
// 4
// 25 25 25 25
// 2
// 50 51
int main(int argc, char const *argv[])
{
int t;
std::fstream myfile("./input.txt", std::ios_base::in)... | [
"nishantnimbare@gmail.com"
] | nishantnimbare@gmail.com |
94056f408497ba1fc66ed12ccdb3cd06aac5e9cf | f0d560c9bb443e24a707347ac498d386d9b274e3 | /scene.h | aabe6ba59bc393a7d54312ddbf903e7749f6774c | [] | no_license | seamanj/ARAP | e5d7d4166b517fde92965e3a972f12908cbe3e6a | 3a5b1b19a912ff9260ef1d88972bedf860566e0f | refs/heads/master | 2020-05-02T22:12:34.374982 | 2019-06-08T13:37:10 | 2019-06-08T13:37:10 | 178,244,972 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 810 | h | #ifndef SCENE_H
#define SCENE_H
#include "scenenode.h"
#include "scenenodeiterator.h"
#include <QObject>
class Scene : public QObject
{
Q_OBJECT
public:
Scene();
virtual ~Scene();
virtual void render();
SceneNode* root() { return m_root; }
SceneNodeIterator begin() const;
void loadMesh(... | [
"tjiang.work@gmail.com"
] | tjiang.work@gmail.com |
f51fbcf85eca2b4e787cb0112626e09730e08e8a | ba8b8f21c24009749dbf1145d0dd6169929e3173 | /src/libraries/xvnode/src/xvnode_manager.cpp | 11f335e814f51736f5f7b603e8417ba2d67cc35f | [] | no_license | Alipipe/TOP-chain | 8acbc370738af887ebf4a3d1ccee52b2813d3511 | d88c18893bfa88ead5752b74874693819cdf406f | refs/heads/main | 2023-07-02T22:37:07.787601 | 2021-02-11T06:50:46 | 2021-02-11T06:50:46 | 357,528,232 | 0 | 0 | null | 2021-04-13T11:29:16 | 2021-04-13T11:29:15 | null | UTF-8 | C++ | false | false | 11,146 | cpp | // Copyright (c) 2017-2018 Telos Foundation & contributors
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "xvnode/xvnode_manager.h"
#include "xcodec/xmsgpack_codec.hpp"
#include "xcrypto/xckey.h"
#include "xdata/xcode... | [
"zql0114@gmail.com"
] | zql0114@gmail.com |
b5cc33a1a4978fab006e31d404737d57aa3df27b | f7c673d103a0a7261246dbdde75490f8eed918ab | /source/Client/old/source/editor/subscene/GroupedTilePreview.cpp | 19e92d3295b86e9cde70642a62ed2b38b65a17ca | [] | no_license | phisn/PixelJumper2 | 2c69faf83c09136b81befd7a930c19ea0ab521f6 | 842878cb3e44113cc2753abe889de62921242266 | refs/heads/master | 2022-11-14T04:44:00.690120 | 2020-07-06T09:38:38 | 2020-07-06T09:38:38 | 277,490,158 | 0 | 0 | null | 2020-07-06T09:38:42 | 2020-07-06T08:48:52 | C++ | UTF-8 | C++ | false | false | 32 | cpp | #include "GroupedTilePreview.h"
| [
"phisn@outlook.de"
] | phisn@outlook.de |
bde8c42c31a8d046b7e260cb2d0f507fb1880669 | 239f22dcc4b79d7afb86796bee42128025ec5aae | /trainingthread.cpp | e8339823d2f772b7142548a8685eb4d545b27119 | [
"LicenseRef-scancode-public-domain"
] | permissive | 2php/ConvolutionalNeuralNetworkDemo | aef1dd4f616f3287fc3e0cad713b9b67fbabfe04 | 13331cfa8888dc28d5f5b55322eb1c21ee45c571 | refs/heads/master | 2021-01-21T03:38:37.649203 | 2016-07-19T14:40:06 | 2016-07-19T14:40:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,703 | cpp | #include "trainingthread.h"
TrainingThread::TrainingThread(MainWindow *_window, double _learningRate, double _momentum, double _weightDecay)
{
stopRequested=false;
window=_window;
mutex=new QMutex();
learningRate=_learningRate;
momentum=_momentum;
weightDecay=_weightDecay;
}
TrainingThread::~... | [
"a.niedental@outlook.com"
] | a.niedental@outlook.com |
ec71fe441e7d08320ce7af0dc763a52006dec537 | 12ac0673d43abcc55c9b7d7a81d0f47848386a6f | /src/Commands/moveServos.cpp | 6bf6dcb0adc1f9610f0aaa0138f8afbdd2cd245d | [] | no_license | plahera/RobotTestNew | c7e425584626a18aaf8240c429fef2fef06109d9 | d2ed375aca7ed8f57c08f9fce88137e9e17bfebb | refs/heads/master | 2021-01-10T06:21:28.745492 | 2016-03-04T01:48:27 | 2016-03-04T01:48:27 | 52,684,882 | 0 | 1 | null | 2016-03-04T01:48:28 | 2016-02-27T19:32:55 | C++ | UTF-8 | C++ | false | false | 2,662 | cpp | // RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the blocks ... | [
"plahera1@hwemail.com"
] | plahera1@hwemail.com |
782a87564857298b1016cf990ca9eaa60b487f43 | 8425574e87365bba72bc45ab9eab9f29b9f3568d | /src/basicMath/Math.h | 078ca914af6a1c403c455616df905677c7344905 | [] | no_license | melisaadin/modedock | 92dd3714928f18f70c621de4760facb43f05b376 | 28fc1398ea8022b85883979a2da6d6451a0a7472 | refs/heads/master | 2023-03-15T15:28:47.042591 | 2019-02-19T07:06:18 | 2019-02-19T07:06:18 | 522,142,100 | 1 | 0 | null | 2022-08-07T07:10:36 | 2022-08-07T07:10:36 | null | UTF-8 | C++ | false | false | 14,575 | h | #ifndef MATH_H_
#define MATH_H_
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <iostream>
#include <GL/gl.h>
using std::vector;
using std::string;
#ifndef MAXFLOAT
#define MAXFLOAT 1.0E+20
#endif
static const double
smallEPS = 1.01E-10,
mediumEPS = 1.01E-5,
largeEPS = 1.01E-3... | [
"xushutan@gmail.com"
] | xushutan@gmail.com |
2a973c3dee806fdeb7bbb4481e16a4ee86fd4e40 | 896d897a135f7ae7175ceed28ce4f439d7a74cc8 | /tstring.hpp | bbb9c3018add1d37c68321a207b94717cc4446f9 | [] | no_license | zby123/bookstore | b1489ad36172c0c0a2b895405503982e01cd0815 | 4b7210f12a386a6f2cc604fdf6f35ba574b3e0de | refs/heads/master | 2021-08-31T18:47:09.744446 | 2017-12-22T12:16:23 | 2017-12-22T12:16:23 | 115,112,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,617 | hpp | #ifndef tstring_hpp
#define tstring_hpp
#include <string>
#include <cstring>
#include <algorithm>
#include <iostream>
using namespace std;
template <int size>
class tstring {
private:
char m[size];
int len = 0;
public:
tstring() {
len = 0;
}
tstring(int t) {
if (t == 0) {
len = 0;
}
else{
le... | [
"ZengBiyang@sjtu.edu.cn"
] | ZengBiyang@sjtu.edu.cn |
88ebead79c333d626927b02b39e028ebff29007e | 621f90d90f4a046136411c75b3ebc4889b640f23 | /src/Samples/SpiLcd.h | be912cc43a8863b4f72893923a29c4b69563f1e3 | [] | no_license | suspect-devices/eXodusino | 2e6548cb47f3e94c9088c2bbcb2b25ea42a7a379 | 5c9eb1b24ed4cfa7eae59ffbc24bdbbce814ba35 | refs/heads/master | 2020-04-05T23:32:49.259284 | 2012-09-25T12:32:32 | 2012-09-25T12:32:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,811 | h | /*
* SpiLcd.h
*
* Created on: 2012/08/01
* Author: lynxeyed
*/
#ifndef SPILCD_H_
#define SPILCD_H_
/**************************************************************************//**
* @file SpiLcd.h
* @brief Arduino-like library for Cortex-M0 Series
* @version v.0.50
* @date 1. August 2011.
* @aut... | [
"lynxeyed@xj9.so-net.ne.jp"
] | lynxeyed@xj9.so-net.ne.jp |
394062aafb0dd7b620729fce9b89e4234ff0217c | bba488ad3c516f5545def334cab2eea90d5220e2 | /Game_windows.cpp | e7eef3bc453e3f128f1461fd7c8e4bc1f5949430 | [] | no_license | quoji/FlipFlaps | ccc0a38dd7b4561ee2270b9de801c999f91aa7ba | 16bd592edb457b5ca5ac51493116e2c9a41abf0e | refs/heads/master | 2023-02-18T15:37:41.598752 | 2023-02-10T00:02:57 | 2023-02-10T00:02:57 | 34,549,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,563 | cpp | /*
Ruben Cardenas, Stephen Brownlee, Pedro Alvarez
Game_windows.cpp
To be used with FlipFlaps
*/
#include "std_lib_facilities_4.h"
#include "Game_windows.h"
#include "Window.h"
#include "Graph.h"
#include "GUI.h"
#include "find_solution.h"
#include "High_scores.h"
//---------------------------------------------------... | [
"sbrownlee90@gmail.com"
] | sbrownlee90@gmail.com |
8329846914eb5a16bfa22aa78eccfb09b0683793 | 34d44a9ca7e6eb63495247ed2aed146b55f1c7db | /QuestionAns/rs_learner/1574.cc | 1190afe1fe9def33138a8c2ae3299e70a0f33afe | [] | no_license | sdustlug/OpenJudge | 2419c00824f29144864571e1d25c9de1a09350d2 | a6550441691470df505f6a971bc9661ced1b0773 | refs/heads/master | 2023-09-03T11:48:01.041727 | 2021-10-18T13:47:57 | 2021-10-18T13:47:57 | 418,521,703 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,246 | cc | #include<iostream>
#include<cstring>
#include<iomanip>
using namespace std;
class Date
{
private:
int year,month,day;
public:
Date(int _year,int _month,int _day):year(_year),month(_month),day(_day){}
~Date(){}
void showDate()
{
cout<<year<<"-"<<setw(2)<<setfill('0')<<setw(2)<<mo... | [
"if.nicer@gmail.com"
] | if.nicer@gmail.com |
b2a0eca102dc1f4f33334c695f9c37401a4c3fe2 | f001a867881a910f09b30b924d88897a4ba51799 | /STFT/stft_src/invSTFT.hpp | 8f9b86e3f3ff49f93b60eeb7e454c2c6a3eb3e31 | [] | no_license | tachi-hi/timefreq | 9cce9e1e7bf572900f33a3cab7e8d76e266ee8c2 | 98d6d3f1b9d3e1f9ce787a17cc4e31f6ce071fa0 | refs/heads/master | 2016-09-15T14:47:58.760843 | 2016-05-15T17:36:43 | 2016-05-15T17:36:43 | 4,710,764 | 5 | 0 | null | 2016-05-15T17:36:43 | 2012-06-19T07:35:57 | C++ | UTF-8 | C++ | false | false | 368 | hpp |
#pragma once
#include<vector>
#include<complex>
#include"twoDimArray.h"
//inv stft
void invSTFT(
const twoDimArray<double>& abs,
const twoDimArray<std::complex<double> >& phase,
std::vector<double>* output,
int frame, int shift,
double(*win)(int, int) );
// Normalize signal
void normalization(std::vector<d... | [
"tachi-hi@users.noreply.github.com"
] | tachi-hi@users.noreply.github.com |
db74c012ad9b27d2bbabf8e336ad5b4dac3d0dbc | c15f70c2e3f2a57debd14e4d8a9d40d9d9ad8c35 | /Embedded/libraries/dh_controlled_types/ControlledLED.h | 2093973cc32ff65cb990ca4d73b0b94e264a877c | [] | no_license | davehummel/tredbot | b26db2ad2151ea1030f8354bee7811cc6d191d77 | d4dd6690c5f8bc75ab5e63c7c17b8a2633f63841 | refs/heads/master | 2020-04-12T07:24:15.572006 | 2017-02-20T19:14:53 | 2017-02-20T19:14:53 | 28,069,188 | 0 | 0 | null | 2015-01-13T01:22:53 | 2014-12-16T03:46:02 | Java | UTF-8 | C++ | false | false | 3,203 | h | #ifndef DH_CONTROLLEDLED_H__
#define DH_CONTROLLEDLED_H__
#include "dh_controller.h"
class ControlledLED: public Controller::Controlled{
public:
ControlledLED(){
}
void begin(void){
}
void execute(uint32_t time,uint32_t id,char command[]){
bool isPWM = true;
uint16_t temp;
switch (command[0]){
case '... | [
"dmhummel@gmail.com"
] | dmhummel@gmail.com |
53977febe64a1c1f97a8c06ddcf3765c08580987 | 85221a64ad699e9f4d4d3bc508fa776c6b2e1d16 | /DummyClients/DummyClients/include/aws/gamelift/model/ListAliasesResult.h | 7c66479a2ddf34c6b924b2bf8d51ede4f2bde171 | [
"MIT"
] | permissive | joonhochoi/GameLift | bf6dbabcba868540bd9cf834623b189c65628b39 | 81bbad1e922d977bd885cdaa37f2e05d4fe2b966 | refs/heads/master | 2020-12-24T12:06:37.600884 | 2016-10-27T06:47:53 | 2016-10-27T06:47:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,093 | h | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"spacesun@naver.com"
] | spacesun@naver.com |
2d4b9e8a79b204aec4d1de65544a128d936073e5 | 0b61d90afd0c72155a9b28951995ed23eae70e16 | /Source/SmartSPS/SmartSPS/node_blfrs.h | 7f97b63d167ecfb6cfcdec4b7a0b12ab9887a469 | [
"MIT"
] | permissive | RBEGamer/HomePLC | 76aaf1b9386bf1faee63c2d5172f61d5e1a03eb5 | 65dbf7224563878d0550dea9a8df731437d4f83c | refs/heads/master | 2023-02-23T17:30:02.378516 | 2023-02-06T16:07:01 | 2023-02-06T16:07:01 | 47,475,515 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 999 | h | #pragma once
#include "single_node_include.h"
class node_blfrs : public base_node
{
public:
node_blfrs(int id, bool us, const int con_count, std::string params, bool is_static, bool ut);
~node_blfrs();
void update(float timestep = 0.0f);
void init();
void load_node_parameters(std::string params);
connector* p_con... | [
"marcel.ochsendorf@gmail.com"
] | marcel.ochsendorf@gmail.com |
f108a73935c7a1a8fcdbe75035e97d96b7f6f200 | 31738a884a8d66abef58459247cbbd8d8e4355ed | /src/pair.h | a369e027e5c8f5d1d1f00a8c2e64eee673b0b97f | [] | no_license | kyho4515/FinalProject | 9a563dd548a9679179cc1e9dee064045d73fa126 | 473473d10883846cd28b5829871ab10595e7a9b2 | refs/heads/master | 2020-06-08T16:33:49.160471 | 2015-09-06T07:38:44 | 2015-09-06T07:38:44 | 39,369,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | h | #ifndef POTENTIALPAIR
#define POTENTIALPAIR
#include "Gate.h"
#include "util.h"
#include <fstream>
#include <algorithm>
#include <math.h>
#include <stack>
class PotentialPair{
public:
PotentialPair(vector<vector<Wire*>*>);//input為_FECpair
~PotentialPair(){
for(int i=0;i<pair.size();i++){
delete pair[i];... | [
"willywsm1013@gmail.com"
] | willywsm1013@gmail.com |
50832aad5d2a4ee9254f1091652e2e939497efd0 | f267b24a6bcab15be3ff54e733e2e38acaf22576 | /C/12. login.cpp | 083a96384aafe354f8e5f3b9f32df1cfca442462 | [] | no_license | BusBang/Practice-PythonAndR | b5fb5f29fe2c6fa8afc6154c7da30689d9bdf518 | b79cbd31ab009c63562746f595f30ef103511255 | refs/heads/master | 2022-12-31T03:36:35.916456 | 2020-10-21T14:55:25 | 2020-10-21T14:55:25 | 284,936,368 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 279 | cpp | #include <stdio.h>
int main(void) {
int x = 50, y = 30;
printf("x가 y보다 크고, y는 40 미만입니까? %d\n", (x>y) && (y<40));
printf("x가 y보다 작거나, y는 30입니까? %d\n", (x<y) || (y<30));
printf("x가 50이 아닙니까? %d", x!= 50);
return 0;
}
| [
"58544672+BusBang@users.noreply.github.com"
] | 58544672+BusBang@users.noreply.github.com |
7bd0ab8a7b33cca727d918e63f2b72e341c42ade | caf55812511d43016cfe908a279ef60915f3428a | /Source/BWEB/Wall.cpp | 1d44f6995319300ff71dc407fd5ef59bfaaf85d5 | [
"MIT"
] | permissive | impie66/McRave | 8572655d65b1bbf1bceba79431b222e724c431cb | 51ff5a0768dc553f4adea109784035b5d6020fd1 | refs/heads/master | 2022-12-08T23:04:16.276859 | 2020-08-31T12:48:34 | 2020-08-31T12:48:34 | 291,378,719 | 2 | 0 | null | 2020-08-30T01:36:49 | 2020-08-30T01:36:48 | null | UTF-8 | C++ | false | false | 49,559 | cpp | #include "BWEB.h"
#include <chrono>
using namespace std;
using namespace BWAPI;
namespace BWEB {
namespace {
map<const BWEM::ChokePoint *, Wall> walls;
bool logInfo = true;
int failedPlacement = 0;
int failedAngle = 0;
int failedPath = 0;
int failedTight = 0;
... | [
"christianmccrave@gmail.com"
] | christianmccrave@gmail.com |
d3d715a9bfc478371559cb79b2ba909fd6628049 | 622a77a2fb79273fe9dec286e137503c63670402 | /SimpleDeformer.cpp | b3be4543d636b1858f394a0b9326e50d8b8588f5 | [] | no_license | tinytangent/TinyMoeFace_Qt | c976235661ec3016a1f523b9cfff6957cfddd551 | 339de99f1b1d4a31acb7c34208a8330a3ca5fb98 | refs/heads/master | 2021-06-13T03:33:26.350950 | 2017-03-05T03:02:21 | 2017-03-05T03:02:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,695 | cpp | #include <QDebug>
#include "SimpleDeformer.h"
SimpleDeformer::SimpleDeformer(CDT& triangleMesh)
:AbstractDeformer(triangleMesh)
{
}
void SimpleDeformer::updateVertices()
{
for(auto i = triangleMesh.vertices_begin(); i != triangleMesh.vertices_end(); i++)
{
Vertex_handle vertexHandle = i;
... | [
"tansinan_1995@163.com"
] | tansinan_1995@163.com |
1c851635e3444e751862272a271e9fc34aef7d59 | 04c45ab4591bd1129f5f6ffd104b36db32deaced | /catkin_ws/devel/include/beginner_tutorials/AddTwoIntsRequest.h | 713d70910df78cf1b6cc6c94b045b66f554cf2ea | [] | no_license | aladdinmck/ROS | 547b35ce27d00db0fb8521af8d11cc02cf4fa1e6 | 1caf2226e274fae8e5f1440366cd39a696e2a5fb | refs/heads/master | 2020-05-23T19:10:14.249098 | 2019-06-02T00:04:23 | 2019-06-02T00:04:23 | 186,905,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,420 | h | // Generated by gencpp from file beginner_tutorials/AddTwoIntsRequest.msg
// DO NOT EDIT!
#ifndef BEGINNER_TUTORIALS_MESSAGE_ADDTWOINTSREQUEST_H
#define BEGINNER_TUTORIALS_MESSAGE_ADDTWOINTSREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <... | [
"haa55387@uga.edu"
] | haa55387@uga.edu |
a301cd389c3dc1c17a5b34056eed86a2fbf8cd95 | d739bf4fdc0281286d0deb7c18738784bd43d4e2 | /day10/6.28homework/person.h | 11cdac9a9412feadf39a2cda9f6799342f5bb32c | [] | no_license | hewei-bit/cpp_learning | 4b50e0cb520ddb00c55eab58c7d5b9076579bdcf | 098ef4fbc7d487f94c802fc8703e85aedf75d1c5 | refs/heads/master | 2022-11-17T17:27:41.873882 | 2020-06-28T03:24:12 | 2020-06-28T03:24:12 | 271,423,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | h | #ifndef PERSON_H
#define PERSON_H
#include <iostream>
#include <string>
using namespace std;
class Person
{
public:
Person(){}
Person(string name,int age)
{
this->m_Name = name;
this->m_Age = age;
}
string m_Name;
int m_Age;
};
#endif // PERSON_H
| [
"1003826976@qq.com"
] | 1003826976@qq.com |
c0fcb440f925083ae5e85fecc2f2a05b9453ca8e | 5b617ac80e9f18b8243a867baaae82deae9b7e23 | /movement.hpp | d26b6b8009dccf260ec9077a5a5204c5aba3d1c2 | [] | no_license | adil-olin/Falcon-6T---Kinght | e7a7592d068f05877d1987320859f9d750faaa86 | b3bde9094f3d966a9c7e89c23a5e95f8ab452fc4 | refs/heads/main | 2023-05-31T11:11:05.866257 | 2021-06-26T15:16:14 | 2021-06-26T15:16:14 | 380,530,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,590 | hpp | #pragma once
#ifndef movement_hpp
#define movement_hpp
#include <SDL2/SDL.h>
#include<SDL2/SDL_image.h>
#include<SDL2/SDL_mixer.h>
#include<bits/stdc++.h>
using namespace std;
static void spawnenemy(void)
{
if(--enemyspawntimer<=0)
{
Entity temp_enemy;
memset(&temp_enemy,0,sizeof(Entity));
... | [
"olinafseradil@gmail.com"
] | olinafseradil@gmail.com |
873c6d031afe140768f5cdcee2a4c6b9b1319f60 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /chrome/browser/android/thumbnail/scoped_ptr_expiring_cache.h | 00a680178da2c4240377a56fde619376d4ba1221 | [
"BSD-3-Clause"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 1,942 | h | // Copyright 2014 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_ANDROID_THUMBNAIL_SCOPED_PTR_EXPIRING_CACHE_H_
#define CHROME_BROWSER_ANDROID_THUMBNAIL_SCOPED_PTR_EXPIRING_CACHE_H_
#include <std... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
12ebee85824bb93d8a22f2ab9276e183c87c4ec4 | d1c8b118241bfda690e99fbbc64de579f7cfed7d | /jbw/agents/reward_upper_bound.cpp | 0e44b98d70b5fda8345d8e223e7c56388a726c03 | [
"Apache-2.0"
] | permissive | framinmansour/jelly-bean-world | a3825e9729dcc3724385afb029d2fac9c43b4805 | 8afb48daf22a44c4ff19f7d0f6ed7a2c190df6b4 | refs/heads/master | 2022-08-22T01:06:05.612046 | 2020-05-24T00:27:15 | 2020-05-24T00:27:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,663 | cpp | #include <jbw/simulator.h>
#include <set>
#include <thread>
using namespace core;
using namespace jbw;
inline unsigned int get_distance(const unsigned int* distances,
unsigned int start_vertex, direction start_direction,
unsigned int end_vertex, direction end_direction,
unsigned int vertex_count)
{
return dist... | [
"abulhair.saparov@gmail.com"
] | abulhair.saparov@gmail.com |
39cd4b3e8680b9573a3ac51561fd0ff94dac387d | 4cb788cbd03e7cefccace693cebb86322f467f78 | /esp8266_sniffer/esp8266_sniffer.ino | 6ba7176156b99012d6b42437ce283147cfcfa16e | [] | no_license | michaelmalinowski/density-tracker | e9101a18c7fc10d089def60de0d0700a06cb05f9 | 7dfd6c62e4a19a2e8c6fcbe072a05c2ac18be262 | refs/heads/master | 2023-03-18T04:44:00.065745 | 2021-03-07T00:56:48 | 2021-03-07T00:56:48 | 275,963,670 | 5 | 0 | null | 2020-07-14T22:02:50 | 2020-06-30T01:16:09 | C++ | UTF-8 | C++ | false | false | 7,760 | ino | extern "C" {
#include <user_interface.h>
}
#include <Arduino.h>
#include <Wire.h>
#include <LiquidCrystal.h>
#define ON_WIFI 0 //scanning devices connected to a network or not
#define SCAN_CHANNEL 6
#define BLACKLIST_MODE_COUNTDOWN 10 //seconds to press button to enter blacklist mode
//ON_WIFI=1
#define DEVICE_T... | [
"mike.m7@hotmail.com"
] | mike.m7@hotmail.com |
d799212681fc4a6aeb5468e935686f8dcb8d05ae | 1df9106e475d7f1b4de615cb4f8122cc93305b7b | /Engine/LightComponent.cpp | ea441229c94af62e4965d0f78ae73ed2d4ec9283 | [] | no_license | mcferront/anttrap-engine | 54517007911389a347e25542c928a0dd4276b730 | c284f7800becaa973101a14bf0b7ffb0d6b732b4 | refs/heads/master | 2021-06-26T08:48:59.814404 | 2019-02-16T05:37:43 | 2019-02-16T05:37:43 | 148,593,261 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,902 | cpp | #include "EnginePch.h"
#include "LightComponent.h"
#include "Node.h"
#include "RenderWorld.h"
DefineComponentType( LightComponent, NULL );
DefineComponentType( DirectionalLightComponent, new DirectionalLightComponentSerializer );
DefineComponentType( AmbientLightComponent, new AmbientLightComponentSerializer );
Defin... | [
"trapper@trapzz.com"
] | trapper@trapzz.com |
4df51688e303a1074f08da42088d544a16909127 | 4e22253a4f2a834783e465d951f80e30c18d0a03 | /list.h | 58e47be5ef2fe71c80598f0a9f345416c07d7fc8 | [] | no_license | BraveY/Quadrangle | 953b570d3e9e3e7e850c4b57ebf82510017844c1 | f09a3c56c3a22c35128fc916eb6076b14f2a5e4b | refs/heads/master | 2021-01-11T21:34:03.725153 | 2017-01-13T02:21:50 | 2017-01-13T02:21:50 | 78,807,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | h | #pragma once
#ifndef __LIST__
#define __LIST__
#include "cont.h"
template<typename T>
class List :public Container<T>
{
protected:
struct Node
{
T data;
Node *next;
} *head, *tail;
public:
List()
{
head=NULL;
tail= NULL;
};
List(const List&l) :head(l.head), tail(l.tail) {};
~List() { clear(); }
size_... | [
"lsz_yky@163.com"
] | lsz_yky@163.com |
bc62e1fbc3ba4150fb90873e05ec09939f274ccc | a81c07a5663d967c432a61d0b4a09de5187be87b | /ash/system/message_center/arc/arc_notification_content_view.h | caaa5712feb4c122b76686610c758592491f984e | [
"BSD-3-Clause"
] | permissive | junxuezheng/chromium | c401dec07f19878501801c9e9205a703e8643031 | 381ce9d478b684e0df5d149f59350e3bc634dad3 | refs/heads/master | 2023-02-28T17:07:31.342118 | 2019-09-03T01:42:42 | 2019-09-03T01:42:42 | 205,967,014 | 2 | 0 | BSD-3-Clause | 2019-09-03T01:48:23 | 2019-09-03T01:48:23 | null | UTF-8 | C++ | false | false | 7,921 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_SYSTEM_MESSAGE_CENTER_ARC_ARC_NOTIFICATION_CONTENT_VIEW_H_
#define ASH_SYSTEM_MESSAGE_CENTER_ARC_ARC_NOTIFICATION_CONTENT_VIEW_H_
#include <m... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.