This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <sstream> | |
#include <vector> | |
#include <iterator> | |
int main() | |
{ | |
std::string line = "This string has several words"; | |
std::istringstream iss(line); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (options.get("m") != this.memoryCost) { | |
return true; | |
} | |
if (options.get("p") != this.parallelism) { | |
return true; | |
} | |
if (options.get("t") != this.timeCost) { | |
return true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2018 Red Hat, Inc. | |
* | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v1.0 | |
* and Apache License v2.0 which accompanies this distribution. | |
* | |
* The Eclipse Public License is available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2014 Red Hat, Inc. | |
* | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v1.0 | |
* and Apache License v2.0 which accompanies this distribution. | |
* | |
* The Eclipse Public License is available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Memory where | |
import CLaSH.Prelude | |
import Types | |
initData :: Memory | |
initData = replicate d80 0 | |
-- Memory state machine. | |
-- The state of the machine consists of the memory itself, and the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Package: dev-util/electron-1.6.11-r1 | |
* Repository: gentoo | |
* Maintainer: [email protected] [email protected] | |
* USE: abi_x86_64 amd64 cups elibc_glibc gnome gnome-keyring kernel_linux l10n_de proprietary-codecs pulseaudio system-ffmpeg tcmalloc userland_GNU | |
* FEATURES: installsources preserve-libs sandbox userpriv usersandbox | |
* Checking for at least 16 GiB RAM ... [ !! ] | |
* There is NOT at least 16 GiB RAM | |
* Checking for at least 25 GiB disk space at "/var/tmp/notmpfs/portage/dev-util/electron-1.6.11-r1/temp" ... [ ok ] | |
* | |
* Space constraints set in the ebuild were not met! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
simon@odin-linux ~ equery u gcc:7.2.0 | |
--- Invalid atom in /usr/portage/profiles/releases/17.0/package.mask: =media-gfx/blender-2.78a-r1 cuda | |
[ Legend : U - final flag setting for installation] | |
[ : I - package is installed with flag ] | |
[ Colors : set, unset ] | |
* Found these USE flags for sys-devel/gcc-7.2.0: | |
U I | |
- - cilk : Support the Cilk Plus language (C/C++ based languages for parallel programming) | |
+ + cxx : Build support for C++ (bindings, extra libraries, code generation, ...) | |
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.7) | |
project(switch) | |
enable_testing() | |
# Set C++ standard | |
set(CMAKE_CXX_EXTENSIONS OFF) | |
set(CMAKE_CXX_STANDARD 11) | |
add_definitions(-DSC_CPLUSPLUS=199701L) | |
# Set compiler options |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{figure}[htbp] | |
\centering | |
\begin{tikzpicture} | |
\node[draw,minimum width=7cm,minimum height=3cm, | |
label={[anchor=east]right:$c_{in}$},label={[anchor=west]left:$c_{out}$}] (adder1) {}; | |
\node[below right=1mm and 5mm of adder1.north] (adder1a3) {$a_3$}; | |
\node[right=1mm of adder1a3] (adder1a2) {$a_2$}; | |
\node[right=1mm of adder1a2] (adder1a1) {$a_1$}; | |
\node[right=1mm of adder1a1] (adder1a0) {$a_0$}; | |
\node[above=5mm of adder1a3] (a3init) {$0$}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Rules; | |
use App\EntryType; | |
use Illuminate\Contracts\Validation\Rule; | |
/** | |
* Class BibTeXKey | |
* @package App\Rules |