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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13d2f674c7ab634ab579a347e914f2f12be1f784 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/PhysicsAnalysis/D3PDMaker/CaloD3PDMaker/src/SGTileModuleBitsGetterTool.h | 09b82dca7748586d5ca831848f48c3d3e7a0fdf2 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,476 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
/*
* File: SGTileModuleBitsGetterTool.h
* Author: stephen
*
* Created on March 15, 2012, 2:52 PM
*/
#ifndef SGTILEMODULEBITSGETTERTOOL_H
#define SGTILEMODULEBITSGETTERTOOL_H
#include "D3PDMakerUtils/SGCollectionGetterTool.h"
#inc... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
9d5f9ebe2812cc89b4613750650985474d8e7611 | 643e3415a981b504a61985d1f370ca10c13fbf72 | /Tests/RuntimeInterruptTest.cpp | 88be5dcac482ef8158cd7b9c7030ce1c7ed2bed6 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | diskoverltd/omniscidb | 40bcb77da49e34a5a3dda66c2c05e6cfdd7b2054 | fed61748af465a55eb7965fceb0a0c7a8dec80f8 | refs/heads/master | 2021-01-14T19:39:56.700850 | 2020-05-15T20:31:22 | 2020-05-15T20:31:22 | 242,733,293 | 0 | 0 | Apache-2.0 | 2020-02-24T12:41:13 | 2020-02-24T12:41:12 | null | UTF-8 | C++ | false | false | 15,292 | cpp | /*
* Copyright 2020, OmniSci, Inc.
*
* 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 agreed ... | [
"dev@aas.io"
] | dev@aas.io |
a2245ec0babbdd5ebc3fd2cbd934cf31bb7b5963 | 592f58c86b27e03701a9cc6b2cae5b67ce56f94a | /allocator_tests/nedmalloc.h | 991e42e28fcbe83a4895e50b85fd180fbf32c3c1 | [] | no_license | neoxack/quick-server | e1c2bef97885fac1430d67b3931b043ef0c38aad | 6604ba413254cac8878f22cb6a4b13d65fe4801f | refs/heads/master | 2020-04-14T21:03:40.736453 | 2013-05-08T00:03:28 | 2013-05-08T00:03:28 | 7,924,288 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61,295 | h | /* nedalloc, an alternative malloc implementation for multiple threads without
lock contention based on dlmalloc v2.8.4. (C) 2005-2010 Niall Douglas
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and... | [
"neoxack@gmail.com"
] | neoxack@gmail.com |
697b70dbdd80998e7386e2c28bd510fb3c92e40a | b31be7b41f83100a39deeb33a26045d0e28abdff | /tryouts/peek.cpp | c76ed04668b4bd96ce1ec306e57689ffd4a0ce21 | [] | no_license | bintrue/sandbox | 31564a1fd322b3f032bbeae20bd45bf35dd40521 | 69e455d29803ea20c00ac74c15476638ff70296c | refs/heads/master | 2020-06-01T16:07:34.043273 | 2012-07-19T08:12:38 | 2012-07-19T08:12:38 | 1,194,060 | 0 | 0 | null | 2012-07-20T21:30:40 | 2010-12-23T19:45:32 | C++ | UTF-8 | C++ | false | false | 427 | cpp | #include <iostream>
int main()
{
char c;
std::cin >> std::ws;
c = std::cin.peek();
std::cout << "__" << c << "__" << std::endl;
if ( '0' <= c && c <= '9' )
{
int number;
std::cin >> number;
std::cout << "This is a number: " << number << std::endl;
}
else if ( 'q' == c )
{
std::cout ... | [
"marton.suranyi@gmail.com"
] | marton.suranyi@gmail.com |
44026d15e60983628485aebd305313097ff1dfef | 1403478a1350c1dac732bef2d3d86f5f33aff636 | /c-plus2/コンストラクタとデストラクタ/car.cpp | ba4c8f6c814af113fb4005d69d84f0947216edae | [] | no_license | esakik/c-plus2-grammar | 7957e19168577b4de87e254f331e25b78c0bcfb0 | 968efff080bc641af1c35fe08970c44f626bfa89 | refs/heads/master | 2021-05-23T08:15:44.076289 | 2020-04-10T10:05:07 | 2020-04-10T10:05:07 | 253,193,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | cpp | #include "car.h"
#include <iostream>
using namespace std;
// コンストラクタ(インスタンスが生成された時に一度だけ呼ばれる)
CCar::CCar() : m_fuel(0), m_migration(0)
{
cout << "CCarオブジェクト生成" << endl;
}
// デストラクタ(インスタンスが破棄された時に一度だけ呼ばれる)
CCar::~CCar()
{
cout << "CCarオブジェクト破棄" << endl;
}
void CCar::move()
{
// 燃料があるなら移動
if (m_... | [
"social0430@gmail.com"
] | social0430@gmail.com |
4af106c33356141814176ebf5c0dc62e377f551e | f1d6286566190160fca9e0601636b2e65820c6ee | /src/collider.cpp | a7ae13db6461cf23b5ec5ed1d5ff9a19784bc9aa | [] | no_license | Sisyphe/Bomber | b40538a315918b1f207acb32879971a6a9e85fde | e2f1206c7d1b64b2fa9610f222418aa9704ddbb7 | refs/heads/master | 2016-09-05T19:40:19.801979 | 2013-02-27T18:48:43 | 2013-02-27T18:48:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24 | cpp | #include "collider.h"
| [
"lelong.gerald@gmail.com"
] | lelong.gerald@gmail.com |
4ad44966938ee6ad289ee0fd785dfe1d147a755e | 56fcab9393f0ec379e2abb00d2d8eda36f64e823 | /uintah/kokkos_src_original/Core/Math/MiscMath.cc | 5bf8b87a50b6f07e80859480f185496358c2ba04 | [
"MIT",
"CC-BY-4.0"
] | permissive | damu1000/hypre_ep | 4a13a5545ac90b231ca9e0f29f23f041f344afb9 | a6701de3d455fa4ee95ac7d79608bffa3eb115ee | refs/heads/master | 2023-04-11T11:38:21.157249 | 2021-08-16T21:50:44 | 2021-08-16T21:50:44 | 41,874,948 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,020 | cc | /*
* The MIT License
*
* Copyright (c) 1997-2017 The University of Utah
*
* 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
* right... | [
"damodars@sci.utah.edu"
] | damodars@sci.utah.edu |
23757bfe65a030a9a23dfacc44dc7335108f2839 | 8d6e1eaa428044dfeb0a5b4e22e114b94d3c8053 | /HumanPlayer.cpp | a3f41a8e4813d64afb57638d9c6941651ea929ea | [
"MIT"
] | permissive | nirklinger/Tetris | 582217ae629232b5c7ab2a134cd99afcf0d34c96 | a4a51abda31f8dcab0e11ac9273497e8c994503f | refs/heads/main | 2023-05-03T18:56:52.132609 | 2021-05-16T09:37:27 | 2021-05-16T09:37:27 | 351,939,906 | 0 | 0 | MIT | 2021-05-16T09:37:28 | 2021-03-26T23:48:57 | C++ | UTF-8 | C++ | false | false | 1,042 | cpp | #include "HumanPlayer.h"
HumanPlayer::HumanPlayer(int offsetX, int offsetY, bool isLeftSide)
: Board(offsetX, offsetY), isLeftSide(isLeftSide) {}
void HumanPlayer::actOnNextKey(char key) {
if (isLeftSide)
checkLeftPlayerKeyHit(key);
else
checkRightPlayerKeyHit(key);
}
void HumanPlayer::checkLeftPl... | [
"nirkl@mta.ac.il"
] | nirkl@mta.ac.il |
df5e18c76f571bc46a554784ce31d0465e66092b | 1834c0796ee324243f550357c67d8bcd7c94de17 | /SDK/TCF_AL_VelticiteMineral_Wall_BP_classes.hpp | b469d445a9a9f31b8a1f9ec5e5313f5051800f21 | [] | no_license | DarkCodez/TCF-SDK | ce41cc7dab47c98b382ad0f87696780fab9898d2 | 134a694d3f0a42ea149a811750fcc945437a70cc | refs/heads/master | 2023-08-25T20:54:04.496383 | 2021-10-25T11:26:18 | 2021-10-25T11:26:18 | 423,337,506 | 1 | 0 | null | 2021-11-01T04:31:21 | 2021-11-01T04:31:20 | null | UTF-8 | C++ | false | false | 769 | hpp | #pragma once
// The Cycle Frontier (1.X) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "TCF_AL_VelticiteMineral_Wall_BP_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------------------... | [
"30532128+pubgsdk@users.noreply.github.com"
] | 30532128+pubgsdk@users.noreply.github.com |
7f1417afa33880ee1eefb5da53b25d9560ddd010 | 2c60bd602867302c2a1fc746e23a97d2fbed44d5 | /russia2.cpp | 3cb287921e84f028e26dc0de6c6727d623701006 | [] | no_license | tangkevkev/algolab | 40aff570c73dfe39e4ffc899213fb31d45b22d5b | 1b5c7130e1e4a16bc0dc05e2ac963141bd9b6443 | refs/heads/main | 2023-01-22T00:16:21.203439 | 2020-12-06T15:28:12 | 2020-12-06T15:28:12 | 318,654,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,554 | cpp | #include <iostream>
#include <vector>
typedef std::vector<int> VI;
typedef std::vector<VI> VVI;
void rec(int left_index, int right_index, int player_index, int m, int k, std::vector<int> &sovereigns, VVI &DP)
{
//If already visited, no need to recompute
if (DP[left_index][right_index] != -1)
return;
... | [
"tangk@ethz.ch"
] | tangk@ethz.ch |
efffaf6afc03171f3a432f9b887f54abdb9e05f9 | 15410816be3bead66bff0fd86865e99ab6924266 | /Fungsi/belajar fungsi2.cpp | 4b56de691cf93050f2a8c60fb928432f9afeec12 | [] | no_license | fadillaharsa/Algoritma-Pemrograman | a264be7b41a440be0ed0d668db4ee5ad9ceae7dd | fa11f08bff7a380b2fca0c7f34319a2520b94397 | refs/heads/master | 2022-04-14T21:15:28.001401 | 2020-04-14T14:36:09 | 2020-04-14T14:36:09 | 255,634,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | cpp | /*
BELAJAR FUNGSI
1 NOVEMBER 2017
PERTEMUAN 8
FUNGSI buat memodularkan perogram, per part gitu
1. Membalikan nilai
2. Tidak membalikan nilai
*/
#include <iostream>
using namespace std;
void pangkat (int angka, int& hasil)
{
hasil=angka*angka;
}
main()
{
int angka1,hasil1;
cin>>angka1;
pangkat(angka1,hasil1);
... | [
"arsabandung@gmail.com"
] | arsabandung@gmail.com |
09b5e065116b11c022c28589dd1b39d9821727ab | 584be23b7da050661dc953f6dcbf5af9624f41aa | /BullCowGame/FBullCowGame.cpp | 7239a71b9839a530bfa84b7144eeb0b7d6ffed70 | [] | no_license | izabellaszabo/BullCowGame | 877b4941251e6c5af1113d49b251eac4cf81fa89 | c80eddebf6790285860056257cc781eab6bf5382 | refs/heads/master | 2020-11-24T06:37:19.757036 | 2019-12-14T12:12:04 | 2019-12-14T12:12:04 | 228,011,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,018 | cpp | #pragma once
#include "FBullCowGame.h"
#include <map>
// To make syntax Unreal friendly
#define TMap std::map
using FString = std::string;
using int32 = int;
FBullCowGame::FBullCowGame() { Reset(); }
int32 FBullCowGame::GetCurrentTry() const { return MyCurrentTry; }
int32 FBullCowGame::GetHiddenWordLength() const ... | [
"izabella.g.szabo@gmail.com"
] | izabella.g.szabo@gmail.com |
2ac66532931c6534d7c02b6fe09203866c6c65be | 7360252cf1c347a096fa57fe430f4685d3d037a8 | /algorithm_cpp/Baek1966.cpp | 31fbe040941d8b9f87b4435d1d2b6d8506b0e37c | [] | no_license | suwonY/SURISURI_IT | 126f4caaf717bb24126d0dd0ac1687d74b304413 | 6c45106e4ffedb5c1e64456e17d76fc26a62de2d | refs/heads/master | 2021-12-30T12:07:02.700251 | 2021-12-02T01:59:49 | 2021-12-02T01:59:49 | 112,294,179 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,038 | cpp | #include<iostream>
#include<deque>
#include<algorithm>
#include<memory>
#include<vector>
using namespace std;
class Node {
public:
int num, val;
Node() {
num = val = -1;
}
Node(int num, int val) {
this->num = num;
this->val = val;
}
};
int n, m, t, ans;
int main() {
cin >> t;
for (int k = 0; k < t; k++) {
... | [
"dongpeeee@gmail.com"
] | dongpeeee@gmail.com |
074e3e816cf2c21f0dfd14e2ea5aa7d730ae0ec0 | cbbcfcb52e48025cb6c83fbdbfa28119b90efbd2 | /codechef/snackB/A.cpp | 0c4cf8f53699847f7ae19b8529f122614f5b4c3c | [] | no_license | dmehrab06/Time_wasters | c1198b9f2f24e06bfb2199253c74a874696947a8 | a158f87fb09d880dd19582dce55861512e951f8a | refs/heads/master | 2022-04-02T10:57:05.105651 | 2019-12-05T20:33:25 | 2019-12-05T20:33:25 | 104,850,524 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,539 | cpp | /*-------property of the half blood prince-----*/
#include <bits/stdc++.h>
#include <dirent.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/detail/standard_policies.hpp>
#define MIN(X,Y) X<Y?X:Y
#define MAX(X,Y) X>Y?X:Y
#define ISNUM(a) ('0'<=(a) && (a)<='9')
#defin... | [
"1205112.zm@ugrad.cse.buet.ac.bd"
] | 1205112.zm@ugrad.cse.buet.ac.bd |
a94abb468e013fb32f48b098b819ba90fe534e65 | 7f5524fff1f8a37446b3c0eb5e567d3de99bc369 | /Array/Search a 2-D Matrix/Optimal.cpp | 7fa1e66e14e26d6610b55a7de047aff885f2383f | [] | no_license | Ameyyy4/Problem-Solving | c6b436526192cd381010b9eaeb469a9464f05dc2 | 354d348d5d4b9314dcd46230276dabd36ea5406f | refs/heads/master | 2023-01-06T01:42:52.162773 | 2020-11-11T05:24:08 | 2020-11-11T05:24:08 | 280,630,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,242 | cpp | // GFG Question
// TC : O(row+col) soln
// SC : O(1)
#include <iostream>
#include <vector>
using namespace std;
int searchmatrix(vector< vector<int> >& matrix, int target)
{
int R_index = 0;
int C_index = matrix[0].size() - 1;
while(R_index<matrix.size() && C_index>-1)
{
if(target == matrix[R_... | [
"ameysharma247@gmail.com"
] | ameysharma247@gmail.com |
ec759cde60d3c1c01a40d1190af8ff37083c53f8 | 423aafe8a00a106778340bac1d745bfd9e8b97d3 | /src/drafted/governance-types.h | 04c5dc16a90c3e72db961c46bb8b00a8b1230f9a | [
"MIT"
] | permissive | tauruspay/taurus | be3362e65bd5706446d6229617d87a7921f3aed7 | 54961c940f27008304c7e8bb05b42975a85984f0 | refs/heads/master | 2021-05-02T12:12:41.338358 | 2018-07-19T14:05:41 | 2018-07-19T14:05:41 | 120,737,983 | 1 | 1 | MIT | 2018-02-11T15:12:31 | 2018-02-08T09:11:26 | C++ | UTF-8 | C++ | false | false | 1,321 | h |
/*
Main governance types are 1-to-1 matched with governance classes
- subtypes like a DAO is a categorical classification (extendable)
- see governance-classes.h for more information
*/
enum GovernanceObjectType {
// Programmatic Functionality Types
Root = -3,
AllTypes = -2,
... | [
"hoanglek13@gmail.com"
] | hoanglek13@gmail.com |
4db86304f4854bc987c2fa828eda65b56f94cab6 | 339640c627ca18d624c74f333938db4d8c72ce53 | /src/main.h | 28fcc838c082760e92561b30a0b981785e7d4dbf | [
"MIT"
] | permissive | bitcoini/bitcoini-source | 1d3a03877326a4446c6dbf6e266727de6a2f48a7 | f56f567ac124464953e8a39e5fa6397c012fc8d0 | refs/heads/master | 2021-07-06T07:21:58.591894 | 2017-09-26T07:34:11 | 2017-09-26T07:34:11 | 104,851,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,214 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_MAIN_H
#define BITCOIN_MAIN_H
#include "bignum.h"
#include "sync.h... | [
"yugandhargangu@Yugandhars-Mac-mini.local"
] | yugandhargangu@Yugandhars-Mac-mini.local |
c938efaaca1078e08eb951e4b9bee6440f5de669 | 23e2509351b7cdbdabde9090981cf113ec7f76df | /Source/EscapeGame/DoorOpen.h | 16fba3ef6b3b32efad32c9ab032af705e4bc96f5 | [] | no_license | GameDevelopmentCourses/EscapeGame-4.26 | b15962ee4d46620992f5f96b230691b76db6822d | 729d470b14484c38e39faefb82925b620fd166ce | refs/heads/main | 2023-06-30T18:49:38.980611 | 2021-08-01T14:07:20 | 2021-08-01T14:07:20 | 391,644,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Engine.h"
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "DoorOpen.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class ESCAPEGAME_API UDoorOpen : public UAc... | [
"jainshreyans251@gmail.com"
] | jainshreyans251@gmail.com |
93e3fa0e3c116ef663b63b9026061f9ac306404f | 80aa687b6ef57dfc6c4b1267a2455d387af9aee2 | /TEMA-2 VETOR/ex2.cpp | 3b0c2f1769216cbe9d2ec216a5423c41c6283976 | [] | no_license | daniel0ferraz/ProgramacaoEstruturada | 1bc65b82b291bae3614386fc39277488d5166b8e | f5ad6f0291423eb18e677186d76b0d7bb488111a | refs/heads/master | 2023-01-25T05:32:37.938098 | 2020-12-01T18:01:25 | 2020-12-01T18:01:25 | 290,472,150 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | cpp | #include<stdio.h>
#include<stdlib.h>
main() {
int i,vetor[3];
vetor[0] = 3;
vetor[1] = 12;
vetor[2] = 4;
i = 0;
while (i < 3) {
printf("%d\n",vetor[i]);
i = i + 1;
}
system("pause");
}
| [
"Daniel0ferraz@outlook.com"
] | Daniel0ferraz@outlook.com |
8af7ba840fb39e08adf660ce3485f5f9991e2cfd | 1d9e35b1194ee1c1184373c16bd7e5fbdeff06ff | /canGw_simple1/canGw_simple1.ino | 51db0ba45c6621c0273b1896918139fed20f1412 | [] | no_license | BOBILLEChristophe/canGw_simple1 | 9e6ff4f954ce5ffaf8d7d7bab0aabf04fc193f92 | dc2df6a9ff08b34262926a906aa6c0dd60c764fe | refs/heads/master | 2021-07-09T13:48:37.249642 | 2020-12-11T21:54:28 | 2020-12-11T21:54:28 | 219,967,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,031 | ino | /*
Passerelle Wifi/CAN avec un ESP32 et un module SN65HVD230 CAN Bus Transceiver https://www.ebay.fr/itm/1pcs-SN65HVD230-CAN-bus-transceiver
Ce projet est une passerelle simple entre un reseau ETHERNET/WiFi et un bus CAN en simplex. Pour les besoins en communication bi-directionnelle,
une seconde passere... | [
"noreply@github.com"
] | noreply@github.com |
0b1739ebcebbe3d110ec16414379e33da27cd908 | 903dac660b0db25b05ac375a5916f023ef199fc0 | /include/HE1NDecrypter.h | a6f8507c7d5c48b56862f61a8fb14bd174b4753d | [] | no_license | TANGO-Project/cryptsdc | d6af5dd9e4252462cabf383fd52b9814d0dc0a29 | 4428fc289c97818d58a8010593636c64bde56e82 | refs/heads/master | 2020-03-28T05:57:34.072152 | 2018-10-23T13:29:24 | 2018-10-23T13:29:24 | 147,806,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | h | /*
* Copyright 2018 James Dyer
*
* 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 agreed to in wr... | [
"jedyeruk@gmail.com"
] | jedyeruk@gmail.com |
b4e107a18df3cb0584709ce133c23b5064eecf1a | c99901dd9b75e1a280d3516f3c4396f1f869957b | /10591.cpp | e5572c055217ffb97c185ea53f772246d902070d | [] | no_license | BornaliSaha/UVa-Problems | 5433dd598998426062e97de974ab24ce0f9c6639 | 65a15c9db3017b122d01f64be85737242ee754ce | refs/heads/main | 2023-07-19T01:44:51.921884 | 2021-09-05T13:31:42 | 2021-09-05T13:31:42 | 389,076,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main()
{
int p,n,mod=0,cp,sum=0;
while((scanf("%d",&p))==1)
{
for(int i=1;i<=p;i++)
{
scanf("%d",&n);
cp=n,sum=0;
while(n<9 || n>9)
{
if(n<=9)
... | [
"noreply@github.com"
] | noreply@github.com |
858d8594b6eecf91484ed2b59c4a8f0ff1b255dc | c4e6eff8b84cf9d0f236d250bbe330ae913b876e | /position.cpp | 35bc2ed2e73692144b16fa0f7a60c873bd8a86c8 | [
"Unlicense"
] | permissive | jeremimucha/sages_asciichess | df609f6586c85a0a56914eb2134aca5f0633159f | 3005b345ced52992aadae60338dc1fe7b88b1d76 | refs/heads/master | 2023-05-10T22:44:15.268289 | 2019-09-11T13:35:29 | 2019-09-11T13:35:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 835 | cpp | #include "position.hpp"
#include "settings.hpp"
#include <string>
#include <stdexcept>
#include <iostream>
namespace
{
using namespace std::string_literals;
inline unsigned col_index(char ch)
{
const unsigned result{ch - 'a'};
if (result > ChessboardWidth) {
throw std::runtime_... | [
"jmucha@spyro-soft.com"
] | jmucha@spyro-soft.com |
51152feef6106fe78278594ef9b5da9d68e4d7a6 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /extensions/common/features/manifest_feature.cc | 4d36d5278d161f4eb8ff2ec9da5e99da50c73802 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,239 | 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 "extensions/common/features/manifest_feature.h"
#include "extensions/common/manifest.h"
namespace extensions {
ManifestFeature::ManifestFeatur... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
8464bdbae789cd3a830de21970044b6bacef3752 | ed5669151a0ebe6bcc8c4b08fc6cde6481803d15 | /magma-1.5.0/testing/testing_dtrmm.cpp | 64ccf3e189720050de0af7f446efa18a11c71407 | [] | no_license | JieyangChen7/DVFS-MAGMA | 1c36344bff29eeb0ce32736cadc921ff030225d4 | e7b83fe3a51ddf2cad0bed1d88a63f683b006f54 | refs/heads/master | 2021-09-26T09:11:28.772048 | 2018-05-27T01:45:43 | 2018-05-27T01:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,456 | cpp | /*
-- MAGMA (version 1.5.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date September 2014
@generated from testing_ztrmm.cpp normal z -> d, Wed Sep 17 15:08:40 2014
@author Chongxiao Cao
*/
// includes, system
#include <stdli... | [
"cjy7117@gmail.com"
] | cjy7117@gmail.com |
ac2faf44cd5f13ccb29355a347b7fbcd590995ed | 5947865dc56dc2906951f21b780db5dc901848c5 | /Practice/Maximum Tip Calculator.cpp | 790d296abe23492d54dbe58c9d2f55a9b2f5414a | [] | no_license | nishu112/Geek-Codes | 6d9cad76291d7c56900bd988c0c123db6d900c36 | f7eece428655c1f656e402b321260f234de62153 | refs/heads/master | 2021-10-07T09:31:13.379816 | 2018-12-04T16:36:54 | 2018-12-04T16:36:54 | 121,122,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,056 | cpp | #include <bits/stdc++.h>
using namespace std;
class priorityStructure{
public:
priorityStructure(int x,int y):index(x),diff(y){ }
int index;
int diff;
};
bool operator<(const priorityStructure &l, const priorityStructure & r)
{
return l.diff < r.diff;
}
void solve(){
int n,X,Y;
cin>>n>... | [
"nishant.sharma112@gmail.com"
] | nishant.sharma112@gmail.com |
7e7dd6d093eb21d8ee026ac42b940f1766a70550 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_DmgType_Phoenix_parameters.hpp | 9d7351c187d53fede540ecf60649238e0faf1b66 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DmgType_Phoenix_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
7118d203ce3359f20a924552088bf2cbc3c7996f | 842fc50b0afcb643eacbc757eb5983ed2b38d991 | /剑指 Offer 36. 二叉搜索树与双向链表/Offer_36.cpp | 7daf2169d74c2bf49b344110e231ef8303335861 | [] | no_license | Asutorufa/leetcode_practice | 449fc545c100bd3d430df59dec11cb039db7a13b | 481636ecd7a0b40224c388b81ce220daa7cdd24a | refs/heads/master | 2020-11-27T03:30:50.227840 | 2020-10-01T12:19:11 | 2020-10-01T12:19:11 | 229,287,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,729 | cpp | #include <iostream>
#include <vector>
#include <queue>
/**
输入一棵二叉搜索树,将该二叉搜索树转换成一个排序的循环双向链表。要求不能创建任何新的节点,只能调整树中节点指针的指向。
为了让您更好地理解问题,以下面的二叉搜索树为例:

我们希望将这个二叉搜索树转化为双向循环链表。
链表中的每个节点都有一个前驱和后继指针。
对于双向循环链表,第一个节点的前驱是最后一个节点,最后一个节点的后继是第一个节点。
下图展示了上面的二叉... | [
"16442314+Asutorufa@users.noreply.github.com"
] | 16442314+Asutorufa@users.noreply.github.com |
6cca8686992450a2cbbcc743cc0e38b67ab52fdb | 9a3fd403e16941232f9d48c837ebe494b5f34023 | /Source/cmPropertyDefinitionMap.cxx | 822f061cad3c6665ae0b49423f778a1e21d2f33f | [
"BSD-3-Clause"
] | permissive | AnomalousMedical/CMake-OldFork | 9f7735199073525ab5f6b9074829af4abffac65b | 1bf1d8d1c8de2f7156a47ecf883408574c031ac1 | refs/heads/master | 2021-06-11T11:15:48.950407 | 2017-03-11T17:07:10 | 2017-03-11T17:07:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,641 | cxx | /*============================================================================
CMake - Cross Platform Makefile Generator
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
Distributed under the OSI-approved BSD License (the "License");
see accompanying file Copyright.txt for details.
This... | [
"AndrewPiper@7b0d72ad-f3cb-b44e-b30e-0ca2391ac3a1"
] | AndrewPiper@7b0d72ad-f3cb-b44e-b30e-0ca2391ac3a1 |
7aabde2f3416cde930891a0a3846c2d1f05f6861 | 84dfcf83442e80a683d1731d51505b373dce742d | /program1/main.cpp | 832d72719a25200232a705f05fde811f181d3175 | [] | no_license | cliffordkallem/CSCI441 | e2d577cdd41bdb5efc5a01646e7ce1ae5fd54af0 | c35bf9428917e51673251365635fc808d5f529f0 | refs/heads/master | 2021-01-19T10:59:34.767292 | 2015-03-25T14:35:15 | 2015-03-25T14:35:15 | 32,869,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | cpp | #include <QApplication>
#include "glwidget.h"
int main(int argc, char** argv) {
QApplication a(argc, argv);
QSurfaceFormat format;
format.setVersion(3,3);
format.setProfile(QSurfaceFormat::CoreProfile);
QSurfaceFormat::setDefaultFormat(format);
GLWidget glWidget;
glWidget.resize(640,480)... | [
"clifford.kallem@gmail.com"
] | clifford.kallem@gmail.com |
fcf364b099f6158ef5ae07b226c0e5a13e71cc56 | 59e17bb252450b391d0de4e0732f6ebd5c31cf8a | /1080. Max Area of Island/1080. Max Area of Island.cpp | 48940a47aa40087ae833b7d0cddfe31c9759eb4f | [
"Apache-2.0"
] | permissive | YaoPengCN/MyLintCodeSolutions | b4960643cc8c4da4ef6c17157e3171d10c609fa1 | a04c60c2988efa4a55532192ee5126b1d35255f1 | refs/heads/master | 2021-06-14T10:04:33.829920 | 2021-03-05T01:36:51 | 2021-03-05T01:36:51 | 159,300,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,881 | cpp | /**
* 1080. Max Area of Island
* Difficulty
* Easy
*
* Description
* Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical).
* You may assume all four edges of the grid are surrounded by water.
* Find the maximum area ... | [
"12227516+YaoPengCN@users.noreply.github.com"
] | 12227516+YaoPengCN@users.noreply.github.com |
26780de793fd6840efbf92b43c7fe459217520e4 | 37596f223cf5115178a5a218fecf422bc545de78 | /lucky number.cpp | 24a44684541cb02e74273909c7f7c69063b15918 | [] | no_license | fahim-ahmed-7861/competitive-programming | 85cc4a61ce643d07446c36848b1f55789ee978f3 | 7c3e649756a426cceb588b5b119d40a5a94c80b4 | refs/heads/master | 2022-12-31T10:45:15.798645 | 2020-10-21T14:37:38 | 2020-10-21T14:37:38 | 306,051,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | cpp | /*
-ensure correct output format
-ensure printing required output
-reread the problem statement
*/
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<ll,ll>pll;
typedef pair<ll,pair<ll,ll>>plll;
#define fastread() (ios_base:: sync_with_stdio(fa... | [
"fahimahmedshojib109@gmail.com"
] | fahimahmedshojib109@gmail.com |
dc5d79c0d62a230295528813b63d3a0bb316b8c3 | c2b161ce52e127f7036882f0ffa523f520dc1c87 | /programs/tests/serial_setdtr.cpp | 43e4524577c96bc9789015d0085503538b2d05cf | [] | no_license | dmosher42/cosmos-core | 9991e7268044fa3b139716a48e3bf3c707ea3422 | 625d1de84eded5ff69b2870a9cbf57c1a6476f89 | refs/heads/master | 2023-03-21T17:26:05.288081 | 2021-01-28T00:12:33 | 2021-01-28T00:12:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | #include "support/configCosmos.h"
#include "device/serial/serialclass.h"
#include "support/elapsedtime.h"
int main(int argc, char *argv[])
{
// bool xonxoff = false;
// bool rtscts = false;
string name = "/dev/ttyUSB0";
int32_t baud = 115200;
size_t parity = 0;
size_t bits = 8;
size_t stop = ... | [
"ejpilger@gmail.com"
] | ejpilger@gmail.com |
f662158e5ccb7a8f22c1bb2964685abe05d8267c | 371decee2d9e210f1cb1f6e38136b5bd83ce120a | /array/026.cpp | 99b356983c7731f99783303b1fd2c80e64c386a1 | [
"MIT"
] | permissive | aayushgoyal/Programming-Puzzles | 0c8ec14b5e523dca9da4b71f6a1544732805aaed | d20899e9edc77bed0884921f0ce7ccb946e0bbad | refs/heads/master | 2020-12-03T00:10:02.209255 | 2016-10-01T13:20:02 | 2016-10-01T13:20:02 | 95,995,548 | 1 | 0 | null | 2017-07-02T01:16:49 | 2017-07-02T01:16:49 | null | UTF-8 | C++ | false | false | 754 | cpp | // Maximum element in the array which is first increasing and then decreasing
#include <iostream>
#include <vector>
using namespace std;
int _findMax(const vector<int> &a,int low,int high) {
if(low == high)
return low;
if(high == low+1) {
if(a[low] > a[high])
return low;
else
return high;
}
int mid ... | [
"sarsjits@gmail.com"
] | sarsjits@gmail.com |
64d65fc32e80f07671b0545e01f3c3c64f23b901 | 916ef1b31f0b683de4f043626d9df59f37edbbc4 | /atcoder/03_Educational-DP-Contest/D-Knapsack1/D_002.cpp | b8254e97a2cb57ea861d038283b490b8f1b16804 | [] | no_license | solareenlo/cpp | 56cc33673d30dd4a4031e4b81cec16b08b3490e0 | f78f8a098849938153e6e3a282737e067dbe2c58 | refs/heads/master | 2021-03-31T04:31:39.420394 | 2020-11-29T22:22:25 | 2020-11-29T22:22:25 | 248,076,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | cpp | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
template<class T> inline bool chmax(T &a, T b) {
if (a < b) a = b; return true;
return false;
}
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int N, W;
cin >> N >> W;
... | [
"solareenlo@gmail.com"
] | solareenlo@gmail.com |
39e36822d68e6fd4a554124385d7fd43d4631f04 | e682c542cb4a5f117293d82efb511ddfa42517fc | /codeforces/presents.cpp | cacac8ddd6cca46538c99106a76b9f8bf0a404a6 | [] | no_license | jssosa10/maratones | d7d6b45712444d256d9c9e68d5cccca741f54fa9 | 44b6aca9e727e557f0224ff314c9ba2369217721 | refs/heads/master | 2021-01-20T02:48:02.723147 | 2018-03-21T16:34:58 | 2018-03-21T16:34:58 | 101,334,745 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | /*
* I won't be broken
* I won't be tortured
* I won't be beaten down
* I have the answer
* I can take the pressure
* I will turn it all around
* Lift me up above this
* The flames and the ashes
* Lift me up and help me to fly away
*/
#include <bits/stdc++.h>
using namespace std;
int n,a[105],b[105];
int main(... | [
"js.sosa10@uniandes.edu.co"
] | js.sosa10@uniandes.edu.co |
6f7924c4e087eea538952a5bd256692e35f2fd3b | 434de139eabf2f592640c634c8380e08b78edff5 | /Game/include/Components/BombTicker.hpp | 521c77da7fffebfaec6c7562c895178f69ec8ecd | [] | no_license | victorneuret/OOP_indie_studio_2018 | daa6de594050400ff03463b54930633ab205fe84 | cba7a64d01b3a0a86df898f6b83619573aafd87a | refs/heads/master | 2020-05-21T07:17:48.294564 | 2019-06-16T21:11:53 | 2019-06-16T21:11:53 | 185,955,289 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 418 | hpp | /*
** EPITECH PROJECT, 2019
** bomberman
** File description:
** BombTicking.hpp
*/
#pragma once
#include "ECS/Abstracts/ASystem.hpp"
namespace Game::System {
class BombTicker;
}
class Game::System::BombTicker : public Engine::ECS::ASystem {
public:
BombTicker();
BombTicker(const BombTicker &) = delete... | [
"noreply@github.com"
] | noreply@github.com |
3e12b62540f813ccda8468f0764bf7fc1d16bee4 | 43888f81dac0d6dc55156c22e1235ffa34d37e8c | /Source/ShootThemUp/Private/Player/STUPlayerCharacter.cpp | fc2f84ddf2de94a399a95e3449c22b26451f5ad7 | [] | no_license | RuslanArk/Shooter-Studying | 4f879863d1605535e8e3dbdfe98af285923bc8f6 | 010d2123bc766f6b385b5a2b9e578608bf0aa679 | refs/heads/master | 2023-08-03T02:53:38.028744 | 2021-09-25T07:21:01 | 2021-09-25T07:21:01 | 369,518,577 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,842 | cpp | // Shoot Them Up, All right Reserved
#include "Player/STUPlayerCharacter.h"
#include "Camera/CameraComponent.h"
#include "Components/CapsuleComponent.h"
#include "Components/InputComponent.h"
#include "Components/SphereComponent.h"
#include "GameFramework/SpringArmComponent.h"
#include "Components/STUWeaponComponen... | [
"RKornis@users.noreply.github.com"
] | RKornis@users.noreply.github.com |
f937a0554e18e42f85196f711461432e5405f171 | bd6156f4844b860d47b6e50e7a4d7021cdc0ce02 | /TdP2/client/src/CaricaGiocoDialog.cpp | 802063c75508b5deb42f844ce3509708f3250162 | [] | no_license | matteosan1/workspace | e178c9843e62d78762420c217bc603819dc96b10 | f9a2dedfb821b889d037f7642fa5e2cb581b4779 | refs/heads/master | 2021-07-20T04:26:40.187162 | 2021-06-24T20:13:46 | 2021-06-24T20:13:46 | 149,867,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,649 | cpp | #include "CaricaGiocoDialog.h"
#include <QMessageBox>
CaricaGiocoDialog::CaricaGiocoDialog(QStringList nomi, QStringList date, QWidget* parent) : QDialog(parent), n(nomi), d(date) {
ui.setupUi(this);
ui.tableFile->setRowCount(n.size());
ui.tableFile->setColumnCount(2);
ui.tableFile->setEditTriggers... | [
"matteosan1@gmail.com"
] | matteosan1@gmail.com |
2b4a318054c712211900edd9bf734b787bb42f23 | e5bf87d662451ff0de4bcd7d4290501e4562f2d6 | /include/tape.hpp | 4bf6afdb869ec84c63f5fedbef5c983f799742fd | [] | no_license | alu0101133201/TuringMachine | 7d50292058080cf05392725b118b0660ad59a222 | f3e4400a8d2b238ba330bdea7f1e0226c88ec8b5 | refs/heads/master | 2023-01-08T22:51:12.529893 | 2020-11-13T22:45:09 | 2020-11-13T22:45:09 | 309,473,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 589 | hpp | /**
* Fichero que define la clase cinta
* ULL - Complejidad Computaciones
* Sergio Guerra Arencibia
* 02/11/2020
*/
#pragma once
#include <vector>
#include <iostream>
#include <string>
class Tape {
private:
std::vector<std::string> symbols;
int head;
public:
Tape();
~Tape();
void loadS... | [
"alu0101133201@ull.edu.es"
] | alu0101133201@ull.edu.es |
eea5e912a02b7c1fc4ef76be2da985c959e408a9 | 6075861fe269c3fa3967ed96be8ee32d98a797dd | /Source/FPSGame/Private/LaunchPadActor.cpp | 8108e161f9958c7620b625eb71c5513e451467f2 | [] | no_license | darioslave1/UE4Templates | 9f7b7203d40720a7c10d91eef57d5b52713f86eb | f9f1726d73f91e3df59635df6c20e5440b8a15c3 | refs/heads/master | 2021-09-07T15:11:02.476765 | 2018-02-24T18:06:23 | 2018-02-24T18:06:23 | 116,733,498 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,796 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "LaunchPadActor.h"
#include "Components/BoxComponent.h"
#include "Components/StaticMeshComponent.h"
#include "GameFramework/Character.h"
#include "Particles/ParticleSystem.h"
#include "Kismet/GameplayStatics.h"
// Sets default val... | [
"darioslave1@gmail.com"
] | darioslave1@gmail.com |
bb66c7985ffd9597e18e00b8beecdc54867b2d96 | bcaf817dbcf3510252b634b8c90f123e6b056121 | /src-qdbf/qdbffield.h | ae049edbb0084767ac786ddb9ae3e25531f4b351 | [] | no_license | tianyayouge/keme5 | 16ba5dbc8b33f2f8af3002f4760a329954b11fc0 | b0e4d39c359a925328d6da0df1b69fd889ed7d3d | refs/heads/master | 2023-05-07T13:02:59.544384 | 2018-09-16T16:53:11 | 2018-09-16T16:55:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | h | #ifndef QDBFFIELD_H
#define QDBFFIELD_H
#include "qdbf_global.h"
#include <QtCore/QVariant>
namespace QDbf {
namespace Internal {
class QDbfFieldPrivate;
class QDbfTablePrivate;
}
class QDBF_EXPORT QDbfField
{
public:
QDbfField(const QString &fieldName = QString::null, QVariant::Type t... | [
"626562203@qq.com"
] | 626562203@qq.com |
a72aa5eff6baaf390dbac98566d4b0920fa45f55 | e987e9ad77ed0c04546ecbe039e221a4c466c299 | /CSIDevDocs/code-snippets/example2.cpp | c4228a55a8e967716a13b246c151e906cc75aae2 | [
"CC-BY-4.0",
"MIT"
] | permissive | isabella232/DevRelAXEValidationsPPEv3 | 034d6c135227674c9de64c916a4b9093280658d3 | 3ffb3c3e0f8753588048218ff18ef8678cd17ab6 | refs/heads/master | 2022-12-18T15:58:29.795546 | 2020-09-25T18:26:10 | 2020-09-25T18:26:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,164 | cpp | //<Snippet1>
using namespace System;
using namespace System::Collections::Generic;
public ref class Example
{
public:
static void Main()
{
//<Snippet2>
// Create a new dictionary of strings, with string keys,
// and access it through the IDictionary generic interface.
IDictionar... | [
"noreply@github.com"
] | noreply@github.com |
3db922da612da7a9a4b1a3574ba823d0552a33ad | 7e23d9464639a2188e92cde1e7dc13e2e38d811e | /Examples/Chap05/5.4_SobelExample.cpp | 5dae4e42cb567c6159611943f478f413969ecded | [] | no_license | zzudianzi/VTK | 60911e617c498cdfea20fa693b08e24ff513d6b0 | 2730d2e8c144b3e09f64c4c9603dbe18b1535619 | refs/heads/master | 2021-01-01T17:44:54.172765 | 2017-07-24T10:20:16 | 2017-07-24T10:20:16 | 98,145,686 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 5,012 | cpp | /**********************************************************************
文件名: 5.4_SobelExample.cpp
Copyright (c) 张晓东, 罗火灵. All rights reserved.
更多信息请访问:
http://www.vtkchina.org (VTK中国)
http://blog.csdn.net/www_doling_net (东灵工作室)
*********************************************************************... | [
"409914684@qq.com"
] | 409914684@qq.com |
cb56c5b6a90d77343b06726c0fb9018cc78a42fb | 61c88c34e87e3be2cf3e3ba1e21407218e3a130f | /visionQT_test1/removeoutliers.h | 7b45434732a269767e3ddfd456578f81b8255b01 | [] | no_license | InkChan/3Dvision | af48285269251f39c068d5b8c72cf221a4f1e5bd | 14fd49294241c36ad77342b04741d75db434d5bc | refs/heads/master | 2020-06-02T11:42:50.428388 | 2019-08-05T10:45:49 | 2019-08-05T10:45:49 | 191,143,444 | 2 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 721 | h | #ifndef REMOVEOUTLIERS_H
#define REMOVEOUTLIERS_H
#include "moudleWidget.h"
#include "litcontrol.h"
#include "qlabel.h"
#include "HalconCpp.h"
#include "HDevThread.h"
class RemoveOutliers : public MoudleWidget
{
Q_OBJECT
public:
RemoveOutliers(HImage img, QWidget *parent = 0);
~RemoveOutliers();
void process(HI... | [
"1986140521@qq.com"
] | 1986140521@qq.com |
d4c5bef4f1a973d7f7f31ebdf6f086fb162cc775 | 6e882a3a0819b6257f602058b3913cf65376668a | /BSH/once_upon_a_time/15778/main.cpp | dd12fe964128fdc79e3e0ab8836d5cb78d04e518 | [] | no_license | hyperpace/study_algo_gangnam | 79e4ffda3306cdd2d7572bd722a5b5ece5469eb5 | 34b017bcd68c67fffcae85a14a17baa4f2e4eb74 | refs/heads/master | 2021-06-12T12:37:31.694167 | 2021-03-20T09:58:54 | 2021-03-20T09:58:54 | 164,384,323 | 0 | 5 | null | 2021-03-20T09:58:54 | 2019-01-07T05:50:18 | Jupyter Notebook | UTF-8 | C++ | false | false | 2,989 | cpp | #include <iostream>
#include <string>
#include <queue>
using namespace std;
struct node {
vector<bool> loc;
int team_num; // 0 없는거, 1 대문자 팀, 2 소문자 팀
int node_num;
int x;
int y;
int next_node;
int short_cut = -1;
};
int get_forward(string command) {
int ans = 0;
for (int i = 0... | [
"baek9652@naver.com"
] | baek9652@naver.com |
3e3b8e7f037d1fc751a7aceeac5ee975a60e6569 | f7c673d103a0a7261246dbdde75490f8eed918ab | /source/EditorCore/task/CreateTransitiveTask.cpp | 952b04e760ea929f70be30c7a883fa8bbf97991d | [] | 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 | 34 | cpp | #include "CreateTransitiveTask.h"
| [
"phisn@outlook.de"
] | phisn@outlook.de |
a158186ad6965903129a0c4207c16bdd552799f8 | 5f9f5f16d84dab6f2d27859ce6d8530312d96da6 | /Ishavsfiske/FishingMode.h | 7424a569283a25d493ad2a5f91d66d01a18acb54 | [] | no_license | thenohatcat/Ishavsfiske | 7f2f12796f83d9fc009db4c60bc480685a8adec7 | ed0dff7f66799e4ff2283ac36180aa99b8112331 | refs/heads/master | 2021-01-19T06:04:54.708772 | 2014-03-10T23:44:37 | 2014-03-10T23:44:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,325 | h | //Version: 0.1.4
//Author: Jakob Pipping
//Contributors:
#ifndef INC_FISHINGMODE_H
#define INC_FISHINGMODE_H
#ifdef ISHAV_0_1_4
#include <Angler\Game.h>
#include <Angler\Node.h>
#include <Angler\Translation.h>
#include "IceBreaker.h"
#include "FishingBoat.h"
#include "Map.h"
#include "School.h"
#include "MsgBox.h"... | [
"jakobia_2@hotmail.com"
] | jakobia_2@hotmail.com |
49d6d1655fbba7638949190b8f900b9c063a8bbd | 0c247b54c79ff4486b293d951f33c050385c236c | /src/Cxx/Visualization/Legend.cxx | d34095a3667ca7975104fe563d893f6d37f76cbf | [
"Apache-2.0"
] | permissive | adithyakoundinya/VTKExamples | 9a84c0c6ff446981d5bd10af49016573a965d367 | aa8509b376d159d19b6769180b27a34f5e37f5c3 | refs/heads/master | 2021-10-08T14:34:40.669466 | 2018-12-12T22:56:50 | 2018-12-12T22:56:50 | 161,281,949 | 1 | 0 | Apache-2.0 | 2018-12-13T01:13:33 | 2018-12-11T05:30:15 | HTML | UTF-8 | C++ | false | false | 2,739 | cxx | #include <vtkVersion.h>
#include <vtkPolyDataMapper.h>
#include <vtkActor.h>
#include <vtkRenderWindow.h>
#include <vtkRenderer.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkPolyData.h>
#include <vtkCubeSource.h>
#include <vtkSphereSource.h>
#include <vtkLegendBoxActor.h>
#include <vtkNamedColors.h>
#include ... | [
"bill.lorensen@gmail.com"
] | bill.lorensen@gmail.com |
5548cb01afe4e435a94e47826e33c98961017184 | 71b54fba80ee4dd7c44afed21c36849cbd150e2d | /Projects/IndividualProject/PokerGame/pokerclient.cpp | c0c413e2fe78453a3a368f0d951a9951b528d555 | [] | no_license | ZelaiWang/CSC-17B | 929dbde50037c9a6dc8c21b15fad6138e7e63d49 | 08871aea1139ad1658a41b51616cc18b8a1f0e56 | refs/heads/master | 2020-07-03T06:26:03.179213 | 2015-12-16T03:07:39 | 2015-12-16T03:07:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,217 | cpp | #include "pokerclient.h"
/**
* Reference to the function declaration
* @brief PokerClient::PokerClient
*/
PokerClient::PokerClient()
{
tcpSocket = new QTcpSocket();
//Handle connected event
connect(tcpSocket, SIGNAL(connected()), this, SLOT(sendData()));
//Handle connection errors
connect(tcpS... | [
"hah.ptit@gmail.com"
] | hah.ptit@gmail.com |
4fea29e8804e5cf30f90ef0df0229dee13513686 | 975d511f467bf378f0b017592ec01e5e0589f1ff | /LabTool/functions.h | ecde5fdfd81011f00a7fb16ab279ec0706a6020b | [
"MIT"
] | permissive | Alexey-Ul/Hisoutensoku-LabTool | 648b8a0e6d6747dae0c211f2b45090647b74f152 | 1f43b8a9547eed39c40af465ca45a843060089a5 | refs/heads/master | 2020-09-02T09:22:24.090036 | 2019-09-16T09:46:58 | 2019-09-16T09:46:58 | 219,189,270 | 0 | 0 | null | 2019-11-02T17:30:01 | 2019-11-02T17:30:01 | null | UTF-8 | C++ | false | false | 3,935 | h | #pragma once
#define LEFT_CORNER_P1 79.0f
#define LEFT_NEAR_P1 379.0f
#define MIDSCREEN_P1 601.0f
#define RIGHT_NEAR_P1 901.0f
#define RIGHT_CORNER_P1 1201.0f
#define LEFT_CORNER_P2 40.0f
#define LEFT_NEAR_P2 340.0f
#define MIDSCREEN_P2 640.0f
#define RIGHT_NEAR_P2 940.0f
#define RIGHT_CORNER_P2 1240.0f
// Very Light... | [
"31967641+PCvolt@users.noreply.github.com"
] | 31967641+PCvolt@users.noreply.github.com |
ec4f9ae315e27c61bb70c177ad6a944e7ce3f563 | 8420523466c9f6ab0edf6ff556c09c5a49edc1cb | /src/eedit/eediterrortoolbox.cpp | 5e6fd9cab162b60cc5cdaf1d7226d31f9c2971b7 | [] | no_license | huigou/planeshift | fb31a43ff1fad0e1b69d9683d0e1e8a0945d8fd3 | 78afce50bccf755ec4ded0c6bc91ae3c80bc5eba | refs/heads/master | 2020-05-25T15:47:26.462741 | 2016-06-15T20:34:37 | 2016-06-15T20:34:37 | 64,410,081 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,354 | cpp | /*
* Author: Andrew Robberts
*
* Copyright (C) 2003 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
*
*
* 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 (version 2 of the Licen... | [
"mgist@2752fbe2-5038-0410-9d0a-88578062bcef"
] | mgist@2752fbe2-5038-0410-9d0a-88578062bcef |
0d934d18507241fa4a94de39a373f32c2bf90ee0 | f5bd250b8bbd0977e262e8e2d79f0a9829cc0813 | /fakengine/dimension/Vector3D.hpp | 6bcb94ca31fe0111def962a67c3754cc59ab0707 | [] | no_license | itbestbear/fakengine | 0d56599ebbecb32c26fae63723582b220f05e9fa | 46490fee5ad6be9c956e9e1c7368936e11e0350a | refs/heads/master | 2022-01-18T17:08:11.045106 | 2019-05-09T08:27:06 | 2019-05-09T08:27:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,175 | hpp | #pragma once
template <typename T> class vector4d;
template <typename T> class point2d;
template <typename T> class size2d;
//! Axis direction types.
enum EAxisTypes
{
AXIS_X_POSITIVE = 0,
AXIS_X_NEGATIVE,
AXIS_Y_POSITIVE,
AXIS_Y_NEGATIVE,
AXIS_Z_POSITIVE,
AXIS_Z_NEGATIVE,
};
... | [
"esrrhs@localhost"
] | esrrhs@localhost |
885e8b85328900dc8171d47081d0ac4e7ac1cb56 | 8f1cb14ceb23006a3c9bdf9e5c63ede1de7f23b2 | /Unreal/UnMesh3.cpp | be98910e573d4155ba1fe0365c2ddabcfaa20c26 | [
"BSD-3-Clause"
] | permissive | Rikoshet-234/UModel | 51a06285be3b6c346b1dad12657faea5acda1810 | d1130ca345d643afef53662607bba7787b21eec9 | refs/heads/master | 2020-07-04T05:31:42.168229 | 2019-08-02T14:38:01 | 2019-08-02T14:38:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90,488 | cpp | #include "Core.h"
#if UNREAL3
#include "UnrealClasses.h"
#include "UnMesh3.h"
#include "UnMeshTypes.h"
#include "UnMathTools.h" // for FRotator to FCoords
#include "UnMaterial3.h"
#include "SkeletalMesh.h"
#include "StaticMesh.h"
#include "TypeConvert.h"
//#define DEBUG_SKELMESH 1
//#define DEBUG_STATICMESH 1
... | [
"git@gildor.org"
] | git@gildor.org |
710a336e1e217ce7e4c6eed7d91572295938e0a6 | fa1ee5240f9585fe12d75547d97629acf65b0632 | /engine/system/win/sys_console.cpp | ec640d194f6bb2335438fbf96367d8d1d41e7433 | [] | no_license | sthalik/PathOfBuilding-SimpleGraphic | cfdfa0e0ef1419fcab4cf9abcaf9c1d1abf87af7 | 9bed4798842d03f9970b3b50e55fe01fef2a6468 | refs/heads/master | 2022-11-22T10:34:28.722002 | 2020-07-11T18:35:04 | 2020-07-11T18:35:04 | 103,319,021 | 2 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 6,998 | cpp | // SimpleGraphic Engine
// (c) David Gowor, 2014
//
// Module: System Console
// Platform: Windows
//
#include "sys_local.h"
// =============
// Configuration
// =============
#define SCON_WIDTH 550
#define SCON_HEIGHT 500
#define SCON_STYLE WS_VISIBLE | WS_OVERLAPPED | WS_BORDER | WS_CAPTION | WS_S... | [
"sthalik@misaki.pl"
] | sthalik@misaki.pl |
1921d32dfdb8872b7377f46031408b450265aa20 | ee0290e802f8db4decd72089439c460da966d861 | /algo/contests/3/queries/queries.cpp | 76f931029bfb5a186020c0afd2192e11d497d2de | [] | no_license | nunberty/au-fall-2014 | d16cecf24a0e791f0c0c009df354a8e28a91f975 | 60853f9bab1d23c71f167f81ea3cf1323c458d92 | refs/heads/master | 2021-01-19T03:13:07.857311 | 2014-12-27T13:28:02 | 2014-12-27T13:28:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,028 | cpp | #include <fstream>
#include <algorithm>
#include <map>
#include <vector>
std::map<uint32_t, std::vector<uint32_t>> data;
bool contains(uint32_t l, uint32_t r, uint32_t value)
{
if (data[value].empty())
{
return false;
}
auto low = std::lower_bound(begin(data[value]), end(data[value]), l);
... | [
"kramar.alina@gmail.com"
] | kramar.alina@gmail.com |
8e8d83d70e59749b97abbd59184a290903a0e4ee | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/typeof/std/functional.hpp | b4c177d20bd1235611f84be811f3d3ebea87227c | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,505 | hpp | // Copyright (C) 2005 Arkadiy Vertleyb, Peder Holt.
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_TYPEOF_STD_functional_hpp_INCLUDED
#define BOOST_TYPEOF_STD_functional_hpp_INCLUDED
#include <functional>
#include <b... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
73b04cfb8e61d58d5e86f82612173c85c87a33ab | c6c2672f74d8b32d2f7164b6296a33a2a16a28e7 | /src/ActionRecognition/Example.cc | f6ef6bf4bd945330b036e48ba0e2d267ba2cd000 | [] | no_license | RaduAlexandru/Dense-Trajectories | 31b3e3b1a7e67b7b36a932d0f27d23d979fe3372 | b2a06f59e2b9fa46e572c0a39e50a98a407daf23 | refs/heads/master | 2021-01-21T07:13:53.795531 | 2017-05-24T19:13:37 | 2017-05-24T19:13:37 | 91,604,690 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,268 | cc | /*
* Example.cc
*
* Created on: Apr 25, 2017
* Author: richard
*/
#include "Example.hh"
using namespace ActionRecognition;
/* parameter definition */
const Core::ParameterString Example::paramSomeFile_(
"filename", // parameter name
"", // default value
"example"); // prefix (set pa... | [
"m.sabaa.kiwan@gmail.com"
] | m.sabaa.kiwan@gmail.com |
38cb2e99d196c94e8ec1a5b28637ab49de3abe35 | 1a4ce6b9fbec90830ed60796f7cd6fc901e91a05 | /算法练习/算法回顾-动态规划/钢条切割典例.cpp | 522f6d0e978efd5bec75a75731ce290367a60e3c | [] | no_license | wszhhx/Algorithm-Practice | 35271cd8cb564f3c19098bfe5e8e573cab4052d9 | 5fd3bb0d80bb82c8935ede2bed73670aa912e4c4 | refs/heads/master | 2020-04-30T01:40:53.214661 | 2019-03-31T10:14:28 | 2019-03-31T10:14:28 | 176,535,592 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,214 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
int price[101] = { -1,1,5,8,9,10,17,17,20,24,30 };
int result[101];
int part[101];
int count = 0;
int cut_rod_dg(int n) { //原始递归方法
if (n == 0)
return 0;
int q = -1;
int temp;
for (int i = 1; i <= n; ++i) {
temp = price[i] + cut_rod_dg(n - i);
q = q ... | [
"wszhhx@163.com"
] | wszhhx@163.com |
5b1b06385de2cb01eb8d01b9d163ad082f025459 | 1fb1e2a0932eb0257ca0f94474f483bc1d1433a1 | /mxp/sim/lib/vbxapi/convert_vinstr.hpp | 2148da4b1fed2e8f1908b50c8f980e841ff8ddf5 | [] | no_license | zenggzh/caffepresso | 8d4ad93da301f0846ab30c16e87446902ac7679e | 72eb027e6a7ae76d671b46a8569c7a6e5ff033ba | refs/heads/master | 2020-03-16T17:21:20.041730 | 2017-10-10T07:06:16 | 2017-10-10T07:06:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,515 | hpp | #ifndef __CONVERT_VINSTR_HPP__
#define __CONVERT_VINSTR_HPP__
#include <assert.h>
template<vinstr_t _instr>struct get_arith{ static const vinstr_t instr=_instr;};
template<> struct get_arith<VCMV_LTZ>{static const vinstr_t instr=VSUB;};
template<> struct get_arith<VCMV_GTZ>{static const vinstr_t instr=VSUB;};
template<... | [
"gplhegde@gmail.com"
] | gplhegde@gmail.com |
7f8d110ec8c5cc76bf0036481e718499706c2be7 | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/processor3/0.25/Uf | 0a8bde513cd92af0444001c09d8ddeb6a0b80196 | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,141 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
9dcdaa9047dc724cdad821bc2cec95eef577ed57 | c23fd2dff69156dfe255590662ab6101911decc5 | /LuminRuntime/UiKit/UiLoadingSpinnersExample/code/src/prefabs/LoadingSpinners.cpp | 8858234237f98569b91d4e5f9c7dce199046db4b | [] | no_license | snowymo/MagicLeapSamples | 4db6b6a78940c6d23e81b14d1e7d5e166e0672e1 | c86a635c29de0103cf0aa6a4aa9a02ebb75ad829 | refs/heads/master | 2023-01-08T15:30:39.176625 | 2020-11-04T05:35:18 | 2020-11-04T05:35:18 | 309,896,822 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | cpp | // %BANNER_BEGIN%
// ---------------------------------------------------------------------
// %COPYRIGHT_BEGIN%
//
// Copyright (c) 2018 Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Creator Agreement, located
// here: https://id.magicleap.com/creator-terms
//
// %COPYRIGHT_END%
// ------... | [
"snowymohehe@gmail.com"
] | snowymohehe@gmail.com |
6fae10e3f3a17082ec01b1e26e603aa60008dcd7 | 9f513f7fdd869c049f38b933da5d1f6fe90c276d | /Pixonia/splatter.cpp | 8f1b0cc3889036efe588ad22d0a61071722ab36a | [] | no_license | pokitto/Examples | 917f0f2992d49e11b830ffee030a8c7b690229e6 | e776d310ac633fda39673e180aba1e0246d0a906 | refs/heads/master | 2021-04-02T13:54:00.357007 | 2020-04-14T11:40:48 | 2020-04-14T11:40:48 | 248,282,517 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | cpp |
/*
* BMP image as 4bpp (16 colour index) data
*/
#include <stdint.h>
#include "Pixonia.h"
const uint8_t splatter[] = {
8,8,
255,255,255,255,255,239,255,255,
255,255,255,255,255,255,239,255,
255,255,255,255,255,255,255,254,
255,239,255,255,255,255,255,255,
};
| [
"fmanga@localhost.localdomain"
] | fmanga@localhost.localdomain |
b2f982cc7596a399e3aa04c72695e5e8f7294caf | 07e75d02db3121c191073f6d8220ff1a382708f6 | /SRC/Asteroids.cpp | a2a35f3bdb3cf84f93c1dbb590623f527029b158 | [] | no_license | AumPatel2208/Asteroids_OpenGL | 06e3f3cc46824224d2ac0627276579bbb6017102 | 3d7dab5fa64508b16ead5f7026e06b52b5a2450e | refs/heads/master | 2023-04-09T02:31:28.504558 | 2021-04-12T20:44:35 | 2021-04-12T20:44:35 | 249,833,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,858 | cpp | #include "Asteroid.h"
#include "Asteroids.h"
#include "Animation.h"
#include "AnimationManager.h"
#include "GameUtil.h"
#include "GameWindow.h"
#include "GameWorld.h"
#include "GameDisplay.h"
#include "Spaceship.h"
#include "AlienSpaceship.h"
#include "BoundingShape.h"
#include "BoundingSphere.h"
#include "GUILabel.h"
... | [
"imaum2208@gmail.com"
] | imaum2208@gmail.com |
d965bfcc0bbe2a9aa19c0ce626d8286540bced90 | c850e10c3a6bcd63d794e6e386d531ded8687a24 | /src/MediaSrv/Service/MediaNetObj.cpp | 5dcfa8266406f6c73caf2289a25f0ee44f728d1b | [] | no_license | jjzhang166/Media | c3a42d5ea403260d864efdf341b6497c9da0ca00 | 00de6b828a397d30f633fa652330425cc170fba4 | refs/heads/master | 2021-08-12T01:30:55.586365 | 2014-10-11T06:39:50 | 2014-10-11T06:39:50 | 110,660,883 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | #include "MediaNetObj.h"
#include "CharSetHelper.h"
#include "Config.h"
CMediaNetObj::CMediaNetObj(Socket_t sHandle, CCrowd* pCrowd, S32 SndBufSize, S32 RcvBufSize)
: CNetObj(sHandle, pCrowd, SndBufSize, RcvBufSize)
{
}
CMediaNetObj::CMediaNetObj(S32 SndBufSize, S32 RcvBufSize)
: CNetObj(SndBufSize, RcvBufSize)
{... | [
"yangjingtu@gmail.com"
] | yangjingtu@gmail.com |
82be5926545fd5b4d3c115da238a2fb6c5d530ad | bdef29fb02439ff36f40d0d4fe9d3169144db95a | /ZJ-B184 裝貨櫃問題/Demo/ZJ-B184 裝貨櫃問題_hansen033.cpp | 215a597ef1107c93c94e9291a2e1ef554b3ecd88 | [] | no_license | huangmayor0905/20210930-homework-pro | d138d4adef1ce0e99edc070f564e6d43f81e38ce | 539ef13154446bc4d0612904fe793ce41f69de99 | refs/heads/master | 2023-08-02T01:47:52.525326 | 2021-09-30T15:56:30 | 2021-09-30T15:56:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | cpp | #include <iostream>
using namespace std;
struct cargo{
int weight;
int value;
};//注意這個分號
int main(){
int amount;//儲存貨物數量
while(cin>>amount){
cargo data[amount];//儲存各貨物資訊
for(int t=0; t<amount; t++)
cin>>data[t].weight>>data[t].value;
//DP的部分
int space[101]={0};//儲存在各個容量下最大的價值 | 用101會比較方便因為會需要0的那格
for... | [
"32165157+hansen033@users.noreply.github.com"
] | 32165157+hansen033@users.noreply.github.com |
20f3e0d7087790301d444e29f427d1e7fa001abf | 64bd2dbc0d2c8f794905e3c0c613d78f0648eefc | /Cpp/SDK/ALK_WieldableObject_ScrubBrush_classes.h | baabd66ca0a736a52b2a1c0f5da9c9957eeca801 | [] | no_license | zanzo420/SoT-Insider-SDK | 37232fa74866031dd655413837813635e93f3692 | 874cd4f4f8af0c58667c4f7c871d2a60609983d3 | refs/heads/main | 2023-06-18T15:48:54.547869 | 2021-07-19T06:02:00 | 2021-07-19T06:02:00 | 387,354,587 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 821 | h | #pragma once
// Name: SoT Insider, Version: 1.103.4306.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
732a40a0b5ac725c342971919e5902cf32507f46 | 79d31b4ae847b40a9c27d9895a8de3b71d1a09b1 | /FoVProto/Source/FoVProto/Items/Item.cpp | 87374864f99f1806e5ec05a43ab8b3505fb3e19b | [] | no_license | Milowan/FoVProto | 3e215ff76e7a1a8ddc8be62479c41f111ad1724f | fd29b086b4dfe5848070b0bd15c56d22e1edbf8c | refs/heads/master | 2023-01-03T20:31:43.050217 | 2020-11-01T00:17:05 | 2020-11-01T00:17:05 | 276,907,986 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Item.h"
// Sets default values
AItem::AItem()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
}
// Called when the ga... | [
"44212243+Milowan@users.noreply.github.com"
] | 44212243+Milowan@users.noreply.github.com |
00e319519c274a7b7785aa465a8eb5ea49802629 | 3b39ecf003030018416074939de3ae3f5f3d0aab | /tests/ca_fifo/main.cpp | cbf5c065efdaede384e859d5a7459ce281180391 | [] | no_license | liang-aquarius/ca_model | 97d8724b0d2c03255a801f175b3eaf07c6d56a14 | d6510b9a993c236a096f065cd35bc70d318537d7 | refs/heads/master | 2020-07-17T09:45:01.576068 | 2019-09-05T03:39:10 | 2019-09-05T03:39:10 | 205,996,724 | 14 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,194 | cpp | #include <iostream>
#include "ca_fifo/ca_fifo_top.h"
#include "driver_monitor.h"
ca_fifo_top<0,1024,uint32_t> * u_ca_fifo_top;
driver_monitor<0,1024,uint32_t> * u_driver_monitor;
using namespace std;
void connect_modules() {
u_ca_fifo_top->ca_fifo_top_input_i.clk = u_driver_monitor->driver_monitor_output_o.clk;... | [
"cliang00@gmail.com"
] | cliang00@gmail.com |
083eb688b7ebc58f00047cb46e6a49543ddc8501 | 35ab160d4c1eb0d8651bb0230595d630d279fbfe | /src/nodal/data/LDAP2PTRTiedEgoCentricNetworkData.h | c37c6a8a1c428dd8fc66204d839b294bfbf0bbd1 | [] | no_license | duyvu/EgocentricCitationNetworks | 32307f09d69b0b2b692fa9f10da1bdb53a2494a3 | 0f223db37a122d3bedddfa463d5f31ec7b2005a0 | refs/heads/master | 2020-07-10T01:09:23.384858 | 2019-08-24T08:16:14 | 2019-08-24T08:16:14 | 204,128,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | h | /*
* LDAP2PTRTiedEgoCentricNetworkData.h
*
* Created on: Jan 13, 2011
* Author: duyvu
*/
#ifndef LDAP2PTRTIEDEGOCENTRICNETWORKDATA_H_
#define LDAP2PTRTIEDEGOCENTRICNETWORKDATA_H_
#include "TiedEgoCentricNetworkData.h"
namespace ndip {
class LDAP2PTRTiedEgoCentricNetworkData: public ndip::TiedEgoCentricNe... | [
"teo@teo-OptiPlex-990"
] | teo@teo-OptiPlex-990 |
18bf46a7c447c4cecdddce18b1435b11ee5c78a2 | be5f730d4793ada887bc4d26b0125f4865fd74c1 | /Basics/Getting _user_input.cpp | 4baf934e5309446affb057bc4831ca7813845780 | [] | no_license | DataCrusade1999/C--plus---plus | 783ecf44bfdc9639700b64f3947963c1c56d37f7 | a0202899a56fa6fe5ff0cf08bf251e94f237ab4c | refs/heads/master | 2023-03-01T02:55:57.345705 | 2021-02-09T13:31:01 | 2021-02-09T13:31:01 | 309,100,375 | 0 | 0 | null | 2021-02-09T13:16:01 | 2020-11-01T13:20:18 | C++ | UTF-8 | C++ | false | false | 173 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int main()
{
int age;
cout<<"Enter you age: ";
cin>>age;
cout<<"Your age is " << age;
return 0;
} | [
"ashutosh.pandeyhlr007@gmail.com"
] | ashutosh.pandeyhlr007@gmail.com |
91d861f730d53474d5efd446612fe970402a1c31 | 98cd2179bf865fd89d8c965f80bf9346eca2b037 | /system/vold/fs/F2fs.cpp | f196c75d9e946075b4bee63fb3a972d4bffffb84 | [] | no_license | luyuncsd123/anroidx86-5 | 471a12928a6b33648273994e45a6400d32f5d476 | 6276d90b11672fa4b4a2364847d4a63cf1d1c837 | refs/heads/master | 2022-12-14T11:16:50.261602 | 2020-08-09T03:10:52 | 2020-08-09T03:10:52 | 284,468,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,098 | cpp | /*
* Copyright (C) 2015 The Android Open Source Project
*
* 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 app... | [
"1260089872@qq.com"
] | 1260089872@qq.com |
d580a55b0946877b2c3a509223aaa4841b39f568 | d2d4dadbbb4f4c4df145ac8cdfed585a9bc5e701 | /src/main/cpp/disenum/der_iff_type_5_fop_param6.cpp | 4a0013fe23a143c6fb3e2ff4ab80f5e9e02d63ef | [
"BSD-2-Clause"
] | permissive | Updownquark/DISEnumerations | c5e0368d4780a7d1c0de24603f4ab2dbe8c312ae | 6b90dd4fb4323d3daf5e1d282078d9c0ffe0545c | refs/heads/master | 2021-03-04T22:33:52.529451 | 2020-03-09T15:26:36 | 2020-03-09T15:26:36 | 246,071,613 | 0 | 0 | NOASSERTION | 2020-03-09T15:25:08 | 2020-03-09T15:25:07 | null | UTF-8 | C++ | false | false | 710 | cpp | #include <sstream>
#include <cstddef>
#include <disenum/der_iff_type_5_fop_param6.h>
namespace DIS {
namespace der_iff_type_5_fop_param6 {
bitmask& bitmask::operator=(const unsigned short& i) {
(*this) = *( reinterpret_cast<bitmask *> (const_cast<unsigned short*>(&i))) ;
return (*this);
}
bitmask::bitm... | [
"mcgredo@Dons-MacBook-Pro.local"
] | mcgredo@Dons-MacBook-Pro.local |
2c87e95a29608e8e43afbe3a578ea0c0e2accb6c | f64c38a7b682b511d2f8a9a33a53ddf9d61916f0 | /include/D1UserEventInformation.hh | b769cfcd7a4cb1d33f37b31a840d5d82b8cf2a70 | [] | no_license | ebode/code | e8c1d479f5fe1dfe32bf0da8ac9f01ae130431ea | ae455db6fa574986b3f4e7971043701b96939e3d | refs/heads/master | 2020-03-15T05:21:41.628293 | 2018-05-03T11:53:04 | 2018-05-03T11:53:04 | 131,987,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,443 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
a1dc60121cc94315f4a3dc4485cd38a18ad197f8 | a07b19f97463c4105150726a2814b50ee9ac1ad7 | /include/point2.h | fcc117ee469db7a344dae0e5b1a1febb2811ac73 | [] | no_license | GustavoAC/Raytracer | facb1efbfaf88229f16355fa06cad2e8dfc26ede | 8cf3775ee2d7bef05fcdd00f33456222d2e8d5d3 | refs/heads/master | 2020-05-04T14:01:05.812015 | 2019-06-24T04:14:46 | 2019-06-24T04:14:46 | 179,181,562 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,075 | h | #pragma once
#include <math.h>
#include <stdlib.h>
#include <iostream>
using fltType = float;
class Point2 {
public:
Point2() {
e[0] = 0;
e[1] = 0;
}
Point2(fltType e0, fltType e1) {
e[0] = e0;
e[1] = e1;
}
inline fltType x() const { return e[0]; }
inline ... | [
"guga.a.carvalho@gmail.com"
] | guga.a.carvalho@gmail.com |
abda535d355da5f01824c4e9b80e2ed7e0431fc7 | 6dcb86ae9656831f061df127ed43e5a85fe02593 | /src/logging.h | 02f35b03935c64a58b1153b89299b39c28d4af21 | [
"MIT"
] | permissive | vslotman/SeriousProton | e011fbe748b260b4ac30d49196316ad7c0a588f6 | 5f298e9e389e2d2a5f0f8a708c3a76354c796e5f | refs/heads/master | 2020-04-18T11:41:25.427243 | 2015-03-08T21:38:00 | 2015-03-08T21:38:00 | 31,810,276 | 0 | 0 | null | 2015-03-07T11:42:06 | 2015-03-07T11:42:06 | null | UTF-8 | C++ | false | false | 1,478 | h | #ifndef LOGGING_H
#define LOGGING_H
#include <SFML/System.hpp>
#include "stringImproved.h"
#define LOG(LEVEL) Logging(LOGLEVEL_ ## LEVEL, __FILE__, __LINE__, __PRETTY_FUNCTION__)
enum ELogLevel
{
LOGLEVEL_DEBUG,
LOGLEVEL_INFO,
LOGLEVEL_WARNING,
LOGLEVEL_ERROR
};
class Logging : sf::NonCopyable
{
... | [
"daid303@gmail.com"
] | daid303@gmail.com |
fcd31ac80f32ed68007cb0f1364536933d4d54a9 | 8c01eacec149d7b12ed7c084e58c4a266f061f60 | /AFPiCS/particles/particle_simple.h | a605ffe6c7652cebdef7cf90bffd5dcae738b01c | [
"Unlicense"
] | permissive | UnknowableCoder/AFFPiCS | 937ef4e69e6656a581a46876034a364322554325 | 553bb1c184262f51eda49fe70502954fea69ef0c | refs/heads/main | 2023-03-22T10:53:16.198804 | 2021-03-18T23:39:59 | 2021-03-18T23:39:59 | 347,186,431 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,136 | h | #ifndef AFFPICS_PARTICLES_PARTICLE_SIMPLE
#define AFFPICS_PARTICLES_PARTICLE_SIMPLE
/*!
\file particle_simple.h
\brief A class that specifies an instance of a particle with fixed charge and rest mass.
\author Nuno Fernandes
*/
#include "../header.h"
#include "particle_base.h"
namespace AFFP... | [
"noreply@github.com"
] | noreply@github.com |
61e32a17dc8eaa3f31a91b397e9fd621da505d06 | e4f85676da4b6a7d8eaa56e7ae8910e24b28b509 | /cc/layers/painted_overlay_scrollbar_layer_impl.h | b890e497decb68806a977f5735fde7c4885e1bfd | [
"BSD-3-Clause"
] | permissive | RyoKodama/chromium | ba2b97b20d570b56d5db13fbbfb2003a6490af1f | c421c04308c0c642d3d1568b87e9b4cd38d3ca5d | refs/heads/ozone-wayland-dev | 2023-01-16T10:47:58.071549 | 2017-09-27T07:41:58 | 2017-09-27T07:41:58 | 105,863,448 | 0 | 0 | null | 2017-10-05T07:55:32 | 2017-10-05T07:55:32 | null | UTF-8 | C++ | false | false | 2,538 | 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 CC_LAYERS_PAINTED_OVERLAY_SCROLLBAR_LAYER_IMPL_H_
#define CC_LAYERS_PAINTED_OVERLAY_SCROLLBAR_LAYER_IMPL_H_
#include "base/macros.h"
#include "cc... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
93a5e2af419a42a9fb10d0439e8763ad7e533e5c | c9da8015df6b844e20f787f799f06e6a3fbce3ac | /src/engine/renderers/DebugLightRenderer.hpp | 130df35489e62d1e7f46b0d9936d0322f95c7711 | [
"MIT"
] | permissive | Michael-Lfx/Rendu | 6766ad2779558d72581ee99cd2409ad5f77849a8 | cb694b67a1fab3e00fda4053bb48a39f7f7e6beb | refs/heads/master | 2023-06-23T09:35:17.153547 | 2021-05-22T10:39:30 | 2021-05-22T10:39:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,696 | hpp | #pragma once
#include "scene/Scene.hpp"
#include "renderers/LightRenderer.hpp"
#include "scene/lights/Light.hpp"
#include "scene/lights/PointLight.hpp"
#include "scene/lights/DirectionalLight.hpp"
#include "scene/lights/SpotLight.hpp"
#include "Common.hpp"
/**
\brief Visualize lights as colored wireframe objects.
... | [
"kosua20@gmail.com"
] | kosua20@gmail.com |
fbbeaac43598df9ca213905a2ee3afcbcc58772f | 5dcd66a23a1a62681ef50b71e3186dd53cb3e844 | /lib/dbgraph.hh | b030e16e2cef360355f071209d19ee61ceaab013 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jasonpell/dbg | ddfb7627dabba927b01bf1cd837aed0e8949c4a1 | d50fee4c32d8f1a85b666791ec334ff77e2ba237 | refs/heads/master | 2021-01-22T02:52:40.466018 | 2011-07-27T18:13:00 | 2011-07-27T18:13:00 | 1,832,562 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,386 | hh | #ifndef DBGRAPH_HH
#define DBGRAPH_HH
#include "dbg.hh"
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <vector>
namespace dbg {
class DBGraph {
protected:
unsigned int _s;
unsigned int _k;
HashIntoType _n_bytes;
Byte * _counts;
public:
DB... | [
"jason.pell@gmail.com"
] | jason.pell@gmail.com |
dfa04b0532371a5237d634bc00da0e18aafd2405 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/sfntly/src/cpp/src/test/endian_test.cc | 0d9da09018bb54e3f3d4106ec499633d19488ae6 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 2,383 | cc | /*
* Copyright 2011 Google Inc. 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 applic... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
14cf921436e60bcb661e16b54f65f61c6b0b3962 | b3755933b72453849cae7f8b18c9313aa79ae819 | /src/libs/comguiutils/colorcombobox.h | ee56aeb41572aed43fc592d2657039f15e0f4794 | [] | no_license | lpxxn/code | d420b48b4b96d752a5bc1af4b90c700f543def17 | ccf172047ae65a4d91545c3ffb3b6fa41819433f | refs/heads/master | 2016-09-06T09:50:50.066030 | 2015-07-21T05:46:10 | 2015-07-21T05:46:10 | 32,777,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,314 | h | /*! \file
* \brief Picture基本界面
* \author 杨永盛 谭立方
* \date 2013
* \version 1.0
* \copyright 2013 PERAGlobal Ltd. All rights reserved.
*
* 供应用程序中所有其它模块使用的基本通用界面ColorBox
*/
/****************************************************************************
**
** Copyright (c) 2013 PERAGlobal Ltd. All rights reserved.
** Al... | [
"mi_duo@live.com"
] | mi_duo@live.com |
8dae1243ff16d65139875e315c8a73f39066a361 | c2fc4673b511b347b47158be96e6bf1f01e3f167 | /extras/jbcoin-libpp/extras/jbcoind/src/test/beast/beast_PropertyStream_test.cpp | 64475d4866518d5a54ce93f6e1bc33fa9abe924e | [
"MIT-Wu",
"MIT",
"ISC",
"BSL-1.0"
] | permissive | trongnmchainos/validator-keys-tool | 037c7d69149cc9581ddfca3dc93892ebc1e031f1 | cae131d6ab46051c0f47509b79b6efc47a70eec0 | refs/heads/master | 2020-04-07T19:42:10.838318 | 2018-11-22T07:33:26 | 2018-11-22T07:33:26 | 158,658,994 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,734 | cpp | //------------------------------------------------------------------------------
/*
This file is part of jbcoind: https://github.com/jbcoin/jbcoind
Copyright (c) 2012, 2013 Jbcoin Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provide... | [
"trongnm@chainos.vn"
] | trongnm@chainos.vn |
72768afc935e0f3f05df602f484b17e5b609ad08 | 3a4051230db32976215d13ccf6ebcb47c88a4268 | /ceROBOT/main.cpp | acbee77ce4410ffe9e6d95302b32ce541c170bbd | [] | no_license | joseff01/AED2-P3-TECFS | 870bd36aaacbce2c1ec0c659e32f26b52f0c6e84 | 441120f755ee7edae4d02f90746aaa3c1e79a884 | refs/heads/main | 2023-06-07T12:48:20.392627 | 2021-06-26T00:59:56 | 2021-06-26T00:59:56 | 376,709,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 78 | cpp | #include <iostream>
#include "ceROBOT.h"
int main() {
ceROBOT ceRobot;
}
| [
"joseantonioretanacorrales@gmail.com"
] | joseantonioretanacorrales@gmail.com |
831f16ac9d8ff085225fd508dab0362d65efbca3 | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/core/ops/debug_ops.cc | 3cb55bcae5ddf3b1e13bb11d3fdcaffef92cb5f4 | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | C++ | false | false | 9,118 | 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 ... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
18f7d6363de3c7413f64e5c68167b0affa3133e4 | 77fd74a63707b9fe0b3df78f1527e8b33d5ec046 | /IRcalculator/index.ino | 27add6d86ba98bccf3cdc71bcd0997052bc6a079 | [] | no_license | Jaagrav/Arduino | d5caf72568354cfed797f4f31f8ae541710bb586 | 62906b12ccf5ace0744fc4568ea80aeac89ceec7 | refs/heads/main | 2023-04-03T09:14:37.959280 | 2021-03-30T14:45:46 | 2021-03-30T14:45:46 | 342,885,955 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,845 | ino | /*
This is an IR Remote Controlled Calculator.
I have tried to get rid of all the bugs that I have seen
in other calculators made using an arduino. This calculator
can be used like a normal calculator, you can make
simultaneous calculations with this, add points, etc.
The LCD Display used here is a RG1602A,
you may r... | [
"noreply@github.com"
] | noreply@github.com |
5dab18e80048757e26a62a4bd23c66aa40d97f8b | 171939de0a904c90f9af198b8e5d65f8349429d7 | /CQ-00302/palin/palin.cpp | 35888575cb7ab61c21f9b90e85045b34895bf59d | [] | no_license | LittleYang0531/CQ-CSP-S-2021 | 2b1071bbbf0463e65bfc177f86a44b7d3301b6a9 | 1d9a09f8fb6bf3ba22962969a2bac18383df4722 | refs/heads/main | 2023-08-26T11:39:42.483746 | 2021-10-23T14:45:45 | 2021-10-23T14:45:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
freopen("palin.in", "r", stdin);
freopen("palin.out", "w", stdout);
int T;
scanf("%d", &T);
if (T == 2) printf("LRRLLRRRRL\n-1");
return 0;
}
| [
"3286767741@qq.com"
] | 3286767741@qq.com |
3302f2f419de8905a22a16d2188e70875535b0d5 | 2d26ad5e5359ad6704d0015a395457181e71c072 | /Blatt 3/src/Graph.cpp | 16e0e79ee44b3deff8cc996b4d1df15b4787519c | [] | no_license | froseb/edm_uebung | 88cec3cfb24c3a59b27b6557b6a62e286a8161c0 | 44be2300cd68f1560b083c54aa1f8b4457dd6038 | refs/heads/master | 2020-04-02T19:34:25.036815 | 2019-01-01T22:13:50 | 2019-01-01T22:13:50 | 154,738,627 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,965 | cpp | #include <vector>
#include <list>
#include <string>
#include <iostream>
#include <fstream>
#include "Graph.h"
Graph::Edge::Edge(unsigned int a, unsigned int b, unsigned int id, int cost) : a(a), b(b), id(id), cost(cost), active(false) { }
unsigned int Graph::Edge::getId() {
return id;
}
unsigned int Graph::Edge::g... | [
"mail@felixr.de"
] | mail@felixr.de |
0cd40886565f3f30342e900138e2d285c85ed0ed | a9cbc183306f3b4dae5fcfa92d95e346b93e0344 | /anabatic/src/PreRouteds.cpp | bc90ead1246d9e34f6a98b487d582e330205385a | [] | no_license | 0x01be/coriolis | f4ca0c1eba2a1fd358b5b669178a962bfeaa8ba9 | 3db5f27aecff1cb858302e3833a46195efd91238 | refs/heads/master | 2022-12-16T18:34:59.364602 | 2019-05-28T13:37:10 | 2019-05-28T13:37:10 | 282,252,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,277 | cpp | // -*- C++ -*-
//
// This file is part of the Coriolis Software.
// Copyright (c) UPMC 2014-2018, All Rights Reserved
//
// +-----------------------------------------------------------------+
// | C O R I O L I S |
// | A n a b a t i c - Global Routing Toolbox ... | [
"Jean-Paul.Chaput@lip6.fr"
] | Jean-Paul.Chaput@lip6.fr |
234ac95f3f7f52a0ecfc9f519ef43c6eb360f326 | 55cf527f60d9099b355f87451ba6a5ba5dde674f | /src/Odometrie/compasvisuel.cpp | cc6e6c510f34372f5d0dad5a37dd38679828d88c | [] | no_license | RomMarie/open_rm | 94777b6d61f006f60a19c26b0e36b0918b359d8f | 2ee092593659634c189f09f7d2073f9dbc2f5a08 | refs/heads/master | 2021-01-20T17:09:56.644400 | 2016-10-22T16:17:39 | 2016-10-22T16:17:39 | 60,364,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,641 | cpp | #include <open_rm/Odometrie/compasvisuel.h>
#include <iostream>
namespace rm{
namespace Odometrie{
namespace CompasVisuel{
/*! \brief Calcul l'orientation relative entre deux vues panoramique
*
* Utilise un algorithme de compas visuel par minimisation de l'erreur
* quadratique sur l'ensemble de l'image.
... | [
"rom.marie@aliceadsl.fr"
] | rom.marie@aliceadsl.fr |
1a8e5e4cfee6b00f5332167ef381c24b499d8740 | 21df29f0aca4ea68bf922fadaae52772bea993ad | /src/consensus/merkle.h | d99f0b3f6d252af5a5854ba491ecc4e8a9d1aac5 | [
"MIT"
] | permissive | RegulusBit/utabit13 | 48767b2bdfb9e0872d66d1f530c64c09aaba679b | eb8b301e77fe116a43df87fabe1cb45da358213a | refs/heads/master | 2019-07-13T05:22:36.037577 | 2017-07-26T16:44:41 | 2017-07-26T16:44:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,315 | h | // Copyright (c) 2015 The Utabit Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef UTABIT_MERKLE
#define UTABIT_MERKLE
#include <stdint.h>
#include <vector>
#include "primitives/transaction.h"
#include "p... | [
"utabitinfo@gmail.com"
] | utabitinfo@gmail.com |
d98e1795a6a729e0b2e657bdd9c1dd2f8f05ca99 | 1b53740d0b1a03f39c82999cc2a4a65cb75447e4 | /sebon/srm636/solution/sortish.cpp | b80de6ba97d0ac50521556f0d338b16ce37e9947 | [] | no_license | litiblue/topcoder | 04ad39b6028e790688f245738c82c099182b9d2b | 7632a7968b38ac49d0824cdd423a15fa4b0ce5cc | refs/heads/master | 2018-11-15T14:52:31.478108 | 2018-10-01T02:02:13 | 2018-10-01T02:02:13 | 22,757,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,349 | cpp | #include "stdafx.h"
#include <stdio.h>
#include <algorithm>
#include <iostream>
#include <vector>
#include <time.h>
using namespace::std;
int getSortedness(const vector<int> & s)
{
int r = 0;
for (int j = s.size() - 1; j >= 0; j--) {
for (int i = 0; i < j; i++) {
if (s[i] < s[j]) {
r++;
}
}
}
retur... | [
"naye777@gmail.com"
] | naye777@gmail.com |
25ca881b5f718a78de5a97cc0918fbb647e80122 | de08a8f639b2f42da72bda34ac1236e2413f7cb4 | /Components/TextureRenderer.h | 283c1362a6e768934a0e3744e07396de54fbdad0 | [] | no_license | MartGon/MyEngine | da56754e39efea49d71d86d71aa99043deb209bb | 4efd12d4b3f83cdd3c3c824462ce35d34d867d59 | refs/heads/master | 2020-03-25T17:49:19.287857 | 2019-07-06T12:56:01 | 2019-07-06T12:56:01 | 143,997,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,441 | h | #pragma once
#include "Component.h"
#include "Texture.h"
#include <string>
#include <deque>
#include <optional>
struct RenderData
{
Vector2<float> pos;
std::optional<SDL_Point> r_center;
double angle;
};
class TextureRenderer : public Component
{
public:
TextureRenderer();
TextureRenderer(Texture texture, Uin... | [
"gudo35@gmail.com"
] | gudo35@gmail.com |
8946097ba33cf4f32dd27838aeb11fa00000755b | 02bcaabd21739eadacabaaaf0499f4e679f70779 | /src/PositionEnum.hpp | 8bef72ade53bc78c7597fa55561ed3690e7a6cb1 | [] | no_license | yutkin/UI-MatrixManager | 21bcc5f27b4a0f2f17c8cce1bc2e2435ff7e9bb0 | 09e8c8ca7d4b6209747aeeb6b6f6c6267e08964b | refs/heads/master | 2016-09-12T01:17:50.277499 | 2015-10-08T08:41:18 | 2015-10-08T08:41:18 | 43,807,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 113 | hpp | #ifndef POSITIONENUM
#define POSITIONENUM
enum class Position {
Top,
Bottom
};
#endif // POSITIONENUM
| [
"yutkinn@gmail.com"
] | yutkinn@gmail.com |
d0e81d040438426e6f05e71186501b2d75bb2407 | 7a9fb02ada07c5fb03e8b5429c36875abc23dde3 | /libraries/ui/src/OffscreenUi.h | d3567bbb5e74e42fcdc6dbc984482920b895b371 | [
"Apache-2.0"
] | permissive | KayTHiFi/hifi | 130e2f6b874e2ab71446380d44d531004305c153 | ffca6a6502c50f82fde48c7c469a39f2e2720608 | refs/heads/master | 2021-01-21T23:54:07.290870 | 2015-05-25T23:39:25 | 2015-05-25T23:39:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,165 | h | //
// OffscreenUi.h
// interface/src/entities
//
// Created by Bradley Austin Davis on 2015-04-04
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#pragma once
#ifndef hifi_Offs... | [
"bdavis@saintandreas.org"
] | bdavis@saintandreas.org |
aa550331ccd466d7e8b98f3c519b5c670e9c1b64 | e1c6ec3e2357d81addd103efe5ff7f60a2eb4b34 | /Code Framework/Components/AND2.h | b2b0f41ac74a94f8ea02a41b130c2643ead66353 | [] | no_license | yosefMostafa/logic-C- | aa4be6348e3d151a8773770f50893e179dd2df28 | cb301d7b210cf1f3692506d3fc76ba14c4190241 | refs/heads/master | 2021-07-11T08:49:57.545121 | 2020-11-29T09:04:46 | 2020-11-29T09:04:46 | 224,903,385 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 720 | h | #ifndef _AND2_H
#define _AND2_H
/*
Class AND2
-----------
represent the 2-input AND gate
*/
#include "Gate.h"
#include<fstream>
using namespace std;
class AND2:public Gate
{
public:
AND2(GraphicsInfo *r_pGfxInfo, int r_FanOut,bool tf,string s);
virtual void Operate(); //Calculates the output of the AND gate
... | [
"58142372+yosefMostafa@users.noreply.github.com"
] | 58142372+yosefMostafa@users.noreply.github.com |
f134bdb6cff5f5f4b6e1c3c65cb0d001ba478223 | 2840f3bd7ae7cc6db208475e061a385f7bb63442 | /ABC169/f.cpp | ad4041ecf59e1bbb0597c8c0a310d069ccc39df7 | [] | no_license | elnath-geek/algorithm | 91745c622b51b939cb4e05bcecced092ea4cc0dd | 566b3d586e22b56631f96cbbbe543830335a7614 | refs/heads/master | 2023-02-13T08:37:14.843971 | 2021-01-09T03:34:39 | 2021-01-09T03:34:39 | 284,652,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | cpp | #define _USE_MATH_DEFINES
#include <iostream>
#include <fstream>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <string>
#include <vector>
#include <utility>
#include <complex>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <deque>
#include... | [
"k-yamamoto93@g.ecc.u-tokyo.ac.jp"
] | k-yamamoto93@g.ecc.u-tokyo.ac.jp |
d2104dc6c40b8b6d803419e074e0949b794dd168 | 0bc0903fc444257398798e286d96b3ff3fca2901 | /src/common/exceptions/IllegalArgumentException.cpp | eab629de637e9c7dfc924f90f136d5c67fc4f36a | [
"Apache-2.0"
] | permissive | smartdu/kafkaclient-cpp | 675bdc7f9ab6a0e7d98511364f85e4932762782b | 03d108808a50a13d7a26e63461a1ac27c5bc141c | refs/heads/master | 2020-05-18T00:14:17.062934 | 2019-05-15T03:43:33 | 2019-05-15T03:43:33 | 184,055,595 | 5 | 1 | Apache-2.0 | 2019-05-13T08:11:57 | 2019-04-29T11:07:51 | C++ | UTF-8 | C++ | false | false | 152 | cpp | #include "IllegalArgumentException.h"
IllegalArgumentException::IllegalArgumentException(std::string message)
: ApiException(message.c_str())
{
}
| [
"463505538@qq.com"
] | 463505538@qq.com |
9a6d164fc54d0b74513f9acb32ffab85183bf6dd | e8740ea418dd33480cc00660339b787117ac52d1 | /cpp/arrays6.cpp | 567df37fdc324145ac234d591a93d138ade98a6d | [
"MIT"
] | permissive | lcary/tmp | 0361902f1dcf7bd0c2a34dd9a6ad2bfcb11099bd | 1ea8e06bc25d13f5be6a0ac578d3302ee2134a77 | refs/heads/master | 2021-05-15T14:12:02.745296 | 2017-11-06T23:35:42 | 2017-11-06T23:35:42 | 107,182,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,665 | cpp | /* attempt to implement a function that resizes a dynamic array. written
in a plaintext file. there were multiple compile errors.
errors will be notated with ERROR(N) in a comment */
#include <iostream>
// ERROR(1): 'newSize' missing type specifier 'int'
// ERROR(3): 'int& *arr' was wrong, should be 'int *&arr'
... | [
"luc.cary@gmail.com"
] | luc.cary@gmail.com |
33b28cecaa17a7bcca52d151566bfb300cc870c6 | 9fbff544471056f0816fa52d1bbf0c4db47c1f24 | /leetcode/37.解数独.cpp | dc1d37dcb9307fc57c0f4e1ebc40068f797cff77 | [] | no_license | theDreamBear/algorithmn | 88d1159fb70e60b5a16bb64673d7383e20dc5fe5 | c672d871848a7453ac3ddb8335b1e38d112626ee | refs/heads/master | 2023-06-08T15:47:08.368054 | 2023-06-02T13:00:30 | 2023-06-02T13:00:30 | 172,293,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,993 | cpp | /*
* @lc app=leetcode.cn id=37 lang=cpp
*
* [37] 解数独
*/
#include <iostream>
#include <utility>
#include <string>
#include <string.h>
#include <vector>
#include <map>
#include <set>
#include <stack>
#include <queue>
#include <unordered_map>
#include <unordered_set>
#include <algorithm>
using namespace std;
// @lc ... | [
"512068167@qq.com"
] | 512068167@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.