diff --git "a/https:/huggingface.co/datasets/iamgroot42/mimir/tree/main/test/github_ngram_13_0.8.jsonl" "b/https:/huggingface.co/datasets/iamgroot42/mimir/tree/main/test/github_ngram_13_0.8.jsonl" new file mode 100644--- /dev/null +++ "b/https:/huggingface.co/datasets/iamgroot42/mimir/tree/main/test/github_ngram_13_0.8.jsonl" @@ -0,0 +1,1000 @@ +"EESchema-LIBRARY Version 2.3\n#encoding utf-8\n#\n# REE-0505S\n#\nDEF REE-0505S U 0 40 Y Y 1 F N\nF0 \"U\" 0 350 50 H V C CNN\nF1 \"REE-0505S\" 0 250 50 H V C CNN\nF2 \"manuf:RECOM-REE-0505S\" -100 250 60 H I C CNN\nF3 \"\" 0 0 60 H V C CNN\n$FPLIST\n RECOM-REE-0505S\n$ENDFPLIST\nDRAW\nS -350 200 350 -200 0 1 10 f\nS -50 200 50 -200 0 1 0 F\nX +IN 1 -550 100 200 R 50 50 1 1 W\nX -IN 2 -550 -100 200 R 50 50 1 1 W\nX -OUT 4 550 -100 200 L 50 50 1 1 W\nX +OUT 6 550 100 200 L 50 50 1 1 w\nENDDRAW\nENDDEF\n#\n#End Library" +"#\n# This script generates CSV output reporting on the API Coverage of Terraform's\n# AWS Provider.\n#\n# In addition to Ruby, it depends on a properly configured Go development\n# environment with both terraform and aws-sdk-go present.\n#\n\nrequire 'csv'\nrequire 'json'\nrequire 'pathname'\n\nmodule APIs\n module Terraform\n def self.path\n @path ||= Pathname(`go list -f '{{.Dir}}' github.com/hashicorp/terraform`.chomp)\n end\n\n def self.called?(api, op)\n `git -C \"#{path}\" grep \"#{api}.*#{op}\" -- builtin/providers/aws | wc -l`.chomp.to_i > 0\n end\n end\n\n module AWS\n def self.path\n @path ||= Pathname(`go list -f '{{.Dir}}' github.com/aws/aws-sdk-go/aws`.chomp).parent\n end\n\n def self.api_json_files\n Pathname.glob(path.join('**', '*.normal.json'))\n end\n\n def self.each\n api_json_files.each do |api_json_file|\n json = JSON.parse(api_json_file.read)\n api = api_json_file.dirname.basename\n json[\"operations\"].keys.each do |op|\n yield api, op\n end\n end\n end\n end\nend\n\ncsv = CSV.new($stdout)\ncsv << [\"API\", \"Operation\", \"Called in Terraform?\"]\nAPIs::AWS.each do |api, op|\n csv << [api, op, APIs::Terraform.called?(api, op)]\nend" +"#!/usr/bin/python\n#\n# Copyright 2018-2020 Polyaxon, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport polyaxon_sdk\n\nfrom marshmallow import fields\n\nfrom polyaxon.schemas.base import BaseCamelSchema\nfrom polyaxon.schemas.fields.ref_or_obj import RefOrObject\nfrom polyaxon.schemas.types.base import BaseTypeConfig\n\n\nclass ArtifactsTypeSchema(BaseCamelSchema):\n files = RefOrObject(fields.List(fields.Str(), allow_none=True))\n dirs = RefOrObject(fields.List(fields.Str(), allow_none=True))\n workers = RefOrObject(fields.Int(allow_none=True))\n\n @staticmethod\n def schema_config():\n return V1ArtifactsType\n\n\nclass V1ArtifactsType(BaseTypeConfig, polyaxon_sdk.V1ArtifactsType):\n \"\"\"Artifacts type allows to easily pass\n the files and directories to initialize as a single parameter.\n\n If used as an input type, Polyaxon can resolve several connections (blob storage and volumes)\n and will turn this input type into an initializer with logic to download/provide\n the requested files and/or directories into a context for your jobs and operations.\n\n\n Args:\n files: List[str], optional, list of file" +"\"\nI am ZnMessageBenchmark helps to test the benchmarking and profiling of ZnMessage writing and reading.\n\nInstance Variables\n\tbuffer:\t\t\t\t\t\n\tmessage:\t\t\t\t\n\trepresentation:\t\t\n\nZnMessageBenchmark new\n\tsimpleRequest;\n\twrite: 10000.\n\nZnMessageBenchmark new\n\tsimpleRequest;\n\twriteRepresentation;\n\tread: 10000.\n\nZnMessageBenchmark new\n\tsimpleResponse;\n\twrite: 10000.\n\nZnMessageBenchmark new\n\tsimpleResponse;\n\twriteRepresentation;\n\tread: 10000.\n\n\"\nClass {\n\t#name : #ZnMessageBenchmark,\n\t#superclass : #Object,\n\t#instVars : [\n\t\t'message',\n\t\t'representation',\n\t\t'buffer'\n\t],\n\t#category : #'Zinc-Tests'\n}\n\n{ #category : #accessing }\nZnMessageBenchmark class >> bench: messages [\n\t| results |\n\tresults := Dictionary new.\n\tmessages \n\t\tdo: [ :each | | bench report |\n\t\t\tbench := self new.\n\t\t\tbench perform: each.\n\t\t\tbench writeRepresentation.\n\t\t\treport := 'Writing {1} - Reading {2}' format: { bench benchWrite. bench benchRead }.\n\t\t\tresults at: each put: report ] \n\t\tdisplayingProgress: 'Benchmarking...'.\n\t^ results\n]\n\n{ #category : #accessing }\nZnMessageBenchmark class >> benchAll [\n\t^ self bench: self messages\n]\n\n{ #category : #accessing }\nZnMessageBenchmark class >> messages [\n\t^ self requests , self responses\n]\n\n{ #category : #accessing }\nZnMessageBenchmark class >> requests [\n\t^ #( simpleRequest standardRequest postRequest )\n]\n\n{ #category : #accessing }\nZnMessageBenchmark class >> responses [\n\t^ #( \n\t\tsimpleResponse \n\t\ttextResponse8k textResponse64k textResponse256k\n\t\ttextResponseWide8k textResponseWide64k textResponseWide256k\n\t\tasciiResponse8k asciiResponse64k asciiResponse256k\n\t\tbinaryResponse8k" +"transient );\n\t}\n\n\t/**\n\t * @dataProvider configTestData\n\t */\n\tpublic function testShouldDoExpected( $item_url, $expected, $is_mobile = false ) {\n\t\t$this->transient = 'rocket_specific_cpcss_job_' . md5( $item_url ). ( $is_mobile ? '_mobile' : '' );\n\n\t\t// Store the job ID in the transient before running the test.\n\t\tif ( false !== $expected ) {\n\t\t\tset_transient( $this->transient, $expected, MINUTE_IN_SECONDS );\n\t\t}\n\n\t\t// Run it.\n\t\t$data_manager = new DataManager( '', null );\n\t\t$actual = $data_manager->get_cache_job_id( $item_url, $is_mobile );\n\n\t\t$this->assertSame( $expected, $actual );\n\t}\n}" +"from typing import List\n\nclass TreeNode:\n def __init__(self, x):\n self.val = x\n self.left = None\n self.right = None\n\n\nclass Solution:\n def generateTrees(self, n: int) -> List[TreeNode]:\n res = []\n if n <= 0:\n return res\n return self.helper(1, n)\n\n def helper(self, left, right):\n res = []\n if left > right:\n # \u8bf4\u660e\u4e0d\u6784\u6210\u533a\u95f4\uff0c\u5e94\u8be5\u8fd4\u56de\u7a7a\u7ed3\u70b9\n res.append(None)\n return res\n elif left == right:\n res.append(TreeNode(left))\n return res\n else:\n for i in range(left, right + 1):\n left_sub_tree = self.helper(left, i - 1)\n right_sub_tree = self.helper(i + 1, right)\n for l in left_sub_tree:\n for r in right_sub_tree:\n root = TreeNode(i)\n root.left = l\n root.right = r\n res.append(root)\n return res" +"# -*- coding: utf-8 -*-\n# Generated by Django 1.11.20 on 2019-04-09 21:02\nfrom __future__ import unicode_literals\n\nfrom django.db import migrations\n\n\nclass Migration(migrations.Migration):\n \"\"\"\n Internalize \"converttotext\" module.\n\n Prior to this, users on production used an external module, 'convert-text'.\n Then we introduced number type formats. External modules can't run internal\n code (yet), so we made this module an internal one. But _we had to rename\n it_ because internal modules can't have hyphens in their module names.\n \"\"\"\n\n dependencies = [(\"server\", \"0001_squashed_0048_auto_20190218_2115\")]\n\n operations = [\n migrations.RunSQL(\n [\n \"\"\"\n UPDATE server_wfmodule\n SET module_id_name = 'converttotext'\n WHERE module_id_name = 'convert-text'\n \"\"\"\n ],\n elidable=True,\n )\n ]" +"c This Formular is generated by mcnf\nc\nc horn? no \nc forced? no \nc mixed sat? no \nc clause length = 3 \nc\np cnf 50 218 \n 45 -29 8 0\n-49 17 11 0\n-40 -17 -23 0\n-1 49 20 0\n-10 -18 40 0\n-25 -24 48 0\n44 27 41 0\n-17 -43 30 0\n32 33 11 0\n24 26 42 0\n-33 38 44 0\n-5 14 49 0\n-8 33 -45 0\n49 3 -10 0\n34 -27 2 0\n-45 23 3 0\n10 7 36 0\n-10 36 -5 0\n46 8 42 0\n-38 -19 12 0\n50 37 45 0\n8 -46 12 0\n19 -33 26 0\n11 47 48 0\n3 45 34 0\n21 22 4 0\n-18 -31 8 0\n-1 9 -38 0\n-32 -35 -23 0\n-45 2 -24 0\n-45 36 -17 0\n11 -18 20 0\n23 48 -18 0\n37 -5 26 0\n38 29 -26 0\n8 -1 -27 0\n-14 -9 -45 0\n42 50 39 0\n-1 47 17 0\n-50 43 -29 0\n-17 -11 -36 0\n20 -48 43 0\n-6 -22 -19 0" +"/*\n * Copyright (C) 2012-2020 Online-Go.com\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\n.ErrcodeModal {\n width: 40rem;\n max-width: 100vw;\n min-height: 20rem;\n max-width: 100vh;\n\n .header {\n text-align: center;\n display: flex;\n padding-left: 1rem !important;\n align-items: center;\n align-content: center;\n justify-content: space-around;\n themed color shade2\n .fa {\n font-size: 3rem;\n }\n }\n\n .body {\n display: flex;\n\n align-items: center;\n justify-content: center;\n align-content: center;\n font-size: font-size-big;\n text-align: center;\n padding: 2rem;\n }\n\n .buttons {\n display: flex;\n justify-content: space-around !important;\n }\n}" +"syntax = \"proto3\";\npackage turbo;\n\nmessage TestPrimitives {\n\tint64 Int64Value = 1;\n\tsint32 Int32Value = 2;\n\tuint64 Uint64Value = 3;\n\tuint32 Uint32Value = 4;\n\tfloat Float32Value = 5;\n\tdouble Float64Value = 6;\n\tbool BoolValue = 7;\n}\n\nmessage TestProtoStruct {\n\tint64 Value = 1;\n}\n\nmessage TestTags {\n\tTestTagsData Data = 1;\n}\n\nmessage TestTagsData {\n\tstring UploadFile = 1;\n\tstring UploadUrl = 2;\n\tstring MetadataOnly = 3;\n\tint64 ContentTypeId = 4;\n\tint64 CreativeApiId = 5;\n\tsint32 Duration = 6;\n\tfloat PhysicalDuration = 7;\n\tsint32 Bitrate = 8;\n\tsint32 Height = 9;\n\tsint32 Width = 10;\n\tfloat Fps = 11;\n\tstring Id3Tag = 12;\n}" +"/**\n * Copyright (c) 2000-present Liferay, Inc. All rights reserved.\n *\n * This library is free software; you can redistribute it and/or modify it under\n * the terms of the GNU Lesser General Public License as published by the Free\n * Software Foundation; either version 2.1 of the License, or (at your option)\n * any later version.\n *\n * This library is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\n * details.\n */\n\npackage com.liferay.socialcoding.service.persistence.impl;\n\nimport com.liferay.portal.kernel.bean.BeanReference;\nimport com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl;\n\nimport com.liferay.socialcoding.model.JIRAChangeGroup;\nimport com.liferay.socialcoding.service.persistence.JIRAChangeGroupPersistence;\n\nimport java.util.Set;\n\n/**\n * @author Brian Wing Shun Chan\n * @generated\n */\npublic class JIRAChangeGroupFinderBaseImpl extends BasePersistenceImpl {\n\t@Override\n\tpublic Set getBadColumnNames() {\n\t\treturn getJIRAChangeGroupPersistence().getBadColumnNames();\n\t}\n\n\t/**\n\t * Returns the j i r a change group persistence.\n\t *\n\t * @return the j i r a change group persistence\n\t */\n\tpublic JIRAChangeGroupPersistence getJIRAChangeGroupPersistence() {\n\t\treturn jiraChangeGroupPersistence;\n\t}\n\n\t/**\n\t * Sets the j i r a change group persistence.\n\t *\n\t * @param jiraChangeGroupPersistence the j i r a change group persistence\n\t */\n\tpublic void setJIRAChangeGroupPersistence(\n\t\tJIRAChangeGroupPersistence jiraChangeGroupPersistence) {\n\t\tthis.jiraChangeGroupPersistence =" +"/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */\n/*\n * This file is part of the LibreOffice project.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/.\n */\n\n#ifndef INCLUDED_XMLOFF_INC_ENUMMAPS_HXX\n#define INCLUDED_XMLOFF_INC_ENUMMAPS_HXX\n\n#include \n#include \n#include \n#include \n\ntemplate struct SvXMLEnumMapEntry;\n\nextern SvXMLEnumMapEntry const aXML_FillStyle_EnumMap[];\nextern SvXMLEnumMapEntry const aXML_RefPoint_EnumMap[];\nextern SvXMLEnumMapEntry const aXML_BitmapMode_EnumMap[];\n\n#endif\n\n/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */" +"/*\n * Copyright (C) 2016-2020 David Rubio Escares / Kodehawa\n *\n * Mantaro is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n * Mantaro is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with Mantaro. If not, see http://www.gnu.org/licenses/\n */\n\npackage net.kodehawa.mantarobot.data;\n\nimport net.dv8tion.jda.api.entities.Member;\nimport net.dv8tion.jda.api.entities.User;\nimport net.kodehawa.mantarobot.commands.currency.seasons.Season;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.concurrent.TimeUnit;\n\npublic class Config {\n public String dbDb = \"mantaro\";\n public String dbHost = \"localhost\";\n public String dbPassword;\n public int dbPort = 28015;\n public String dbUser;\n public String dbotsorgToken;\n public String botsOnDiscordToken;\n public String discordBoatsToken;\n public boolean isPremiumBot = false;\n public List owners = new ArrayList<>();\n public String[] prefix = {\"~>\", \"->\"};\n public String shardWebhookUrl;\n public String token;\n public int totalShards = 0;\n public String webhookUrl;\n public String" +"\ufeffusing System.Xml.Serialization;\n\nnamespace PrtgAPI.CodeGenerator.Xml\n{\n [XmlRoot(\"Parameter\")]\n public class ParameterXml : IParameter\n {\n [XmlAttribute(\"name\")]\n public string Name { get; set; }\n\n [XmlAttribute(\"type\")]\n public string Type { get; set; }\n\n [XmlAttribute(\"default\")]\n public string Default { get; set; }\n\n [XmlAttribute(\"streamDefault\")]\n public string StreamDefault { get; set; }\n\n [XmlAttribute(\"description\")]\n public string Description { get; set; }\n\n [XmlAttribute(\"streamDescription\")]\n public string StreamDescription { get; set; }\n\n [XmlAttribute(\"streamOnly\")]\n public bool StreamOnly { get; set; }\n\n [XmlAttribute(\"excludeStream\")]\n public bool ExcludeStream { get; set; }\n\n [XmlAttribute(\"tokenOnly\")]\n public bool TokenOnly { get; set; }\n\n [XmlAttribute(\"after\")]\n public string After { get; set; }\n\n public override string ToString()\n {\n return Name;\n }\n }\n}" +"import fridgets.*;\nimport javax.swing.*;\nimport java.util.ArrayList;\nimport nz.sodium.*;\n\npublic class textfield {\n public static void main(String[] args) {\n JFrame frame = new JFrame(\"button\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setContentPane(Transaction.run(() -> {\n FrTextField firstName = new FrTextField(\"Joe\");\n FrTextField lastName = new FrTextField(\"Bloggs\");\n FrButton ok = new FrButton(new Cell<>(\"OK\"));\n FrButton cancel = new FrButton(new Cell<>(\"Cancel\"));\n ArrayList fridgets = new ArrayList<>();\n fridgets.add(ok);\n fridgets.add(cancel);\n Fridget buttons = new FrFlow(FrFlow.Direction.HORIZONTAL,\n fridgets);\n fridgets = new ArrayList<>();\n fridgets.add(firstName);\n fridgets.add(lastName);\n fridgets.add(buttons);\n Fridget dialog =\n new FrFlow(FrFlow.Direction.VERTICAL, fridgets);\n Listener l =\n ok.sClicked\n .map(u -> firstName.text.sample()+\" \"+\n lastName.text.sample())\n .listen(name -> System.out.println(\"OK: \"+name))\n .append(\n cancel.sClicked.listen(\n u -> System.out.println(\"Cancel\")\n )\n );\n return new FrView(frame, dialog) {\n public void removeNotify() {\n super.removeNotify();\n l.unlisten();\n }\n };\n }));\n frame.setSize(360,120);\n frame.setVisible(true);\n }\n}" +"import { execDirectoryFiles } from \"@/connector/directory-files\"\nimport { colorizeFile } from \"@/fzf/syntax/colorize\"\nimport { filePreviewCommand } from \"@/fzf/util\"\nimport type { FzfCommandDefinitionDefaultOption, FzfCommandDynamicOption, Resource, SourceFuncArgs } from \"@/type\"\n\n// eslint-disable-next-line @typescript-eslint/require-await\nexport const directoryFiles = async ({ args }: SourceFuncArgs): Promise => {\n const arg = args[0] != null ? args[0] : \"\"\n const lines = (await execDirectoryFiles(arg)).filter((file) => file !== \"\" && !file.includes(\" \"))\n const options: FzfCommandDynamicOption | undefined = arg ? { \"--header\": `\"[Directory] ${arg}\"` } : undefined\n\n return {\n type: \"json\",\n lines: lines.map((line) => ({\n data: {\n command: \"FzfPreviewDirectoryFiles\",\n type: \"file\",\n file: line,\n },\n displayText: colorizeFile(line),\n })),\n options,\n }\n}\n\nexport const directoryFilesDefaultOptions = (): FzfCommandDefinitionDefaultOption => ({\n \"--prompt\": '\"DirectoryFiles> \"',\n \"--multi\": true,\n \"--preview\": filePreviewCommand(),\n})" +"require \"test_helper\"\nrequire \"minitest/mock\"\n\nclass TraceImporterJobTest < ActiveJob::TestCase\n def test_success_notification\n # Check that the user gets a success notification when the trace has valid points\n trace = create(:trace)\n\n gpx = Minitest::Mock.new\n def gpx.actual_points\n 5\n end\n\n trace.stub(:import, gpx) do\n TraceImporterJob.perform_now(trace)\n end\n\n email = ActionMailer::Base.deliveries.last\n assert_equal trace.user.email, email.to[0]\n assert_match(/success/, email.subject)\n\n ActionMailer::Base.deliveries.clear\n end\n\n def test_failure_notification\n # Check that the user gets a failure notification when the trace has no valid points\n trace = create(:trace)\n\n gpx = Minitest::Mock.new\n def gpx.actual_points\n 0\n end\n\n trace.stub(:import, gpx) do\n TraceImporterJob.perform_now(trace)\n end\n\n email = ActionMailer::Base.deliveries.last\n assert_equal trace.user.email, email.to[0]\n assert_match(/failure/, email.subject)\n\n ActionMailer::Base.deliveries.clear\n end\n\n def test_error_notification\n # Check that the user gets a failure notification when something goes badly wrong\n trace = create(:trace)\n trace.stub(:import, -> { raise }) do\n TraceImporterJob.perform_now(trace)\n end\n\n email = ActionMailer::Base.deliveries.last\n assert_equal trace.user.email, email.to[0]\n assert_match(/failure/, email.subject)\n\n ActionMailer::Base.deliveries.clear\n end\nend" +"/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage org.apache.hadoop.hbase.master;\n\nimport org.apache.hadoop.hbase.HBaseIOException;\nimport org.apache.yetus.audience.InterfaceAudience;\n\n@InterfaceAudience.Private\n// Based on HBaseIOE rather than PE because easier to integrate when an IOE.\npublic class NoSuchProcedureException extends HBaseIOException {\n public NoSuchProcedureException() {\n super();\n }\n\n public NoSuchProcedureException(String s) {\n super(s);\n }\n}" +"Description: Composite target for files related to remote administration tools\nAuthor: Drew Ervin, Mathias Frank\nVersion: 1.3\nId: 31cf5a4e-c44c-4457-b11f-74dca73e141b\nRecreateDirectories: true\nTargets:\n -\n Name: RDP Logs\n Category: EventLogs\n Path: RDPLogs.tkape\n Comment: \"Contains Windows Event Logs related to RDP\"\n -\n Name: RDP Cache\n Category: ApplicationData\n Path: RDPCache.tkape\n Comment: \"Contains data cached during recent RDP sessions\"\n -\n Name: LogMeIn\n Category: ApplicationLogs\n Path: LogMeIn.tkape\n -\n Name: VNC\n Category: ApplicationLogs \n Path: VNCLogs.tkape\n -\n Name: Chrome Remote Desktop\n Category: ApplicationLogs\n Path: ApplicationEvents.tkape\n -\n Name: TeamViewer\n Category: ApplicationLogs\n Path: TeamViewerLogs.tkape\n -\n Name: Ammyy\n Category: Ammyy.tkape\n Path: ApplicationLogs\n -\n Name: Kaseya\n Category: ApplicationLogs\n Path: Kaseya.tkape\n -\n Name: ScreenConnect (ConnectWise Control)\n Category: ApplicationLogs\n Path: ScreenConnect.tkape\n -\n Name: Radmin\n Category: ApplicationLogs\n Path: Radmin.tkape\n Comment: \"Radmin Server and Viewer Logs and Chats\"" +"/*\n * (C) Copyright IBM Corp. 2018, 2020.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on\n * an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations under the License.\n */\npackage com.ibm.watson.discovery.v1.model;\n\nimport com.ibm.cloud.sdk.core.service.model.GenericModel;\n\n/** The deleteCredentials options. */\npublic class DeleteCredentialsOptions extends GenericModel {\n\n protected String environmentId;\n protected String credentialId;\n\n /** Builder. */\n public static class Builder {\n private String environmentId;\n private String credentialId;\n\n private Builder(DeleteCredentialsOptions deleteCredentialsOptions) {\n this.environmentId = deleteCredentialsOptions.environmentId;\n this.credentialId = deleteCredentialsOptions.credentialId;\n }\n\n /** Instantiates a new builder. */\n public Builder() {}\n\n /**\n * Instantiates a new builder with required properties.\n *\n * @param environmentId the environmentId\n * @param credentialId the credentialId\n */\n public Builder(String environmentId, String credentialId) {\n this.environmentId = environmentId;\n this.credentialId = credentialId;\n }\n\n /**\n * Builds a DeleteCredentialsOptions.\n *\n * @return the deleteCredentialsOptions\n */\n public DeleteCredentialsOptions build() {" +"(ns nevergreen.middleware.wrap-exceptions-test\n (:require [clojure.test :refer :all]\n [nevergreen.middleware.wrap-exceptions :as subject]\n [nevergreen.errors :as errors]))\n\n(deftest wrap-exceptions\n\n (binding [errors/now (constantly \"some-time\")]\n\n (testing \"exceptions should be get a 500 status and a generic message\"\n (let [app (fn [_] (throw (Exception. \"message\")))\n req {:uri \"some-url\"}\n res ((subject/wrap-exceptions app) req)]\n (is (= (errors/error-response 500 \"An unhandled exception was thrown\" \"some-url\") res))))\n\n (testing \"exception infos should use the message and status from the exception\"\n (let [app (fn [_] (throw (ex-info \"some-message\" {:status 502})))\n req {:uri \"some-url\"}\n res ((subject/wrap-exceptions app) req)]\n (is (= (errors/error-response 502 \"some-message\" \"some-url\") res))))\n\n (testing \"returns 500 if the exception info does not contain a status\"\n (let [app (fn [_] (throw (ex-info \"some-message\" {})))\n req {:uri \"some-url\"}\n res ((subject/wrap-exceptions app) req)]\n (is (= (errors/error-response 500 \"some-message\" \"some-url\") res))))))" +"# Description\n\nAutoSave - automatically saves changes to disk without having to use `:w`\n(or any binding to it) every time a buffer has been modified or based on your\npreferred events.\n\nInspired by the same feature in RubyMine text editor.\n\nBy default AutoSave will save every time something has been changed in normal\nmode and when the user leaves insert mode. This configuration is a mix between\n\"save as often as possible\" and \"try to avoid breaking other plugins that depend\non filewrite-events\".\n\n\n# Installation\n\nUse [vundle](https://github.com/gmarik/vundle) or\ndownload [packaged version](http://www.vim.org/scripts/script.php?script_id=4521)\nfrom vim.org.\n\n\n# Usage\n\nAutoSave is disabled by default, run `:AutoSaveToggle` to enable/disable it.\n\n\n# Options\n\n## Enable on Startup\n\nIf you want the plugin to be enabled on startup use the `g:auto_save` option.\n\n```VimL\n\" .vimrc\nlet g:auto_save = 1 \" enable AutoSave on Vim startup\n```\n\nIt's also possible to override global `g:auto_save` value individually per buffer or window. For example, if you have auto save enabled globally, you can opt out some files. And vice versa, opt in some files, when you have auto save disabled globally.\n\n```vim\nlet g:auto_save = 0\naugroup ft_markdown\n au!\n au FileType markdown let b:auto_save = 1\naugroup END\n```" +"// entity 0\n{\n\"classname\" \"worldspawn\"\n// brush 0\n{\n( 0 8 576 ) ( 0 264 576 ) ( 256 8 576 ) tex_buildings/concrete001 0 0 0 0.25 0.25 32768 0 0\n( 480 384 512 ) ( 480 544 512 ) ( 352 384 512 ) tex_common/nodraw 0 0 0 0.25 0.25 32768 0 0\n( 0 0 0 ) ( 0 0 64 ) ( 256 0 0 ) tex_buildings/wall019 0 0 0 0.25 0.25 32768 0 0\n( 0 0 0 ) ( 0 256 0 ) ( 0 0 64 ) tex_buildings/wall019 0 0 0 0.25 0.25 32768 0 0\n( 256 256 64 ) ( 256 256 0 ) ( 256 0 64 ) tex_buildings/wall019 0 0 0 0.25 0.25 32768 0 0\n( 256 256 64 ) ( 0 256 64 ) ( 256 256 0 ) tex_buildings/wall019 0 0 0 0.25 0.25 32768 0 0\n}\n// brush 1\n{\n( -256 2816 192 ) ( 1792 2816 192 ) ( -256 256 192 ) tex_buildings/concrete001 0 0 0 0.25 0.25 65024 0 0\n( 480 384 64 ) ( 480 544 64 ) ( 352 384 64 ) tex_common/nodraw 0" +"(function() {\n\n var LOAD_TIMEOUT = 60000;\n\n // Skip tutorial.\n window.localStorage.pt_user_id = '5e5c5e7d874ffaaa';\n window.localStorage.ptpgame_mute = '0';\n window.localStorage.ptpgame_tutorial='3';\n\n var gameOver = false;\n\n window.muniverse = {\n init: function() {\n return pollAndWait(LOAD_TIMEOUT, function() {\n return window.globalGameObj &&\n globalGameObj.state &&\n globalGameObj.state.current === 'MainMenu';\n }).then(function() {\n // Skip menu fade in.\n window.faketime.pause();\n window.faketime.advance(4000);\n\n globalGameObj.state.states.GameMain.gameOver = () => gameOver = true;\n\n // Get into the game and skip animations.\n globalGameObj.stage.children[0].children[5].events.onInputDown.dispatch();\n window.faketime.advance(3000);\n\n // Remove pause button.\n for (var i = 0; i < 10; i++) {\n if (globalGameObj.stage.children[0].children[9].onInputDown) {\n break;\n }\n window.faketime.advance(100);\n }\n if (!globalGameObj.stage.children[0].children[9].onInputDown) {\n throw 'Pause button was not setup.';\n }\n globalGameObj.stage.children[0].children[9].visible = false;\n });\n },\n step: function(millis) {\n window.faketime.advance(millis);\n return Promise.resolve(gameOver);\n },\n score: function() {\n var text = globalGameObj.state.callbackContext.scoreText._text;\n return Promise.resolve(parseInt(text) || 0);\n }\n };\n\n})();" +"DocType is the basic building block of an application and encompasses all the three elements i.e. model, view and controller. It represents a:\n\n- Table in the database\n- Form in the application\n- Controller (class) to execute business logic\n\n#### Single Type\n\nDocTypes can be of \"Single\" type where they do not represent a table, and only one instance is maintained. This can be used where the DocType is required only for its view features or to store some configurations in one place.\n\n#### Child Tables\n\nDocTypes can be child tables of other DocTypes. In such cases, they must defined `parent`, `parenttype` and `parentfield` properties to uniquely identify its placement.\n\nIn the parent DocType, the position of a child in the field sequence is defined by the `Table` field type." +"/*\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Library General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n *\n * Dmx4LinuxSocket.h\n * Interface for the dmx4linux socket class\n * Copyright (C) 2006 Simon Newton\n */\n\n#ifndef PLUGINS_DMX4LINUX_DMX4LINUXSOCKET_H_\n#define PLUGINS_DMX4LINUX_DMX4LINUXSOCKET_H_\n\n#include \"ola/network/Socket.h\"\n\nnamespace ola {\nnamespace plugin {\nnamespace dmx4linux {\n\nclass Dmx4LinuxSocket: public ola::network::DeviceDescriptor {\n public:\n explicit Dmx4LinuxSocket(int fd): ola::network::DeviceDescriptor(fd) {}\n protected:\n virtual bool IsClosed() const {return false;}\n};\n} // namespace dmx4linux\n} // namespace plugin\n} // namespace ola\n\n#endif // PLUGINS_DMX4LINUX_DMX4LINUXSOCKET_H_" +"---\nlang: PT-BR\ntitle: Sum\u00e1rio #6 Que Significa Que Voc\u00ea Foi Bem Longe\nanswer: \\{\\}\nclass: stretcher chapmark\nok: Ok, \u00e9 um Hash vazio\nerror: \n---\n\nVoc\u00ea \u00e9 um cl\u00e9rigo Ruby level 6. Quero dizer, que grande trabalho voc\u00ea fez. Vamos revisar:\n\n### Dados\nVoc\u00ea carregou alguns dados da internet,\n\n### Iterando\nVoc\u00ea iterou todos os elementos de um hash e voc\u00ea encadeou alguns outros m\u00e9todos.\n\n### Imprimindo Bonito\nE como se isso n\u00e3o fosse o bastante, voc\u00ea formatou e imprimiu alguns valores de uma forma\nque \u00e9 f\u00e1cil para humanos ler. De fato, __voc\u00ea fez um programa real!__\n\n### IF\nVoc\u00ea aprendeu a tomar o controle dos seus programas com declara\u00e7\u00f5es de __if__ e __else__.\n\n## Ent\u00e3o\nO que \u00e9 poss\u00edvel fazer em seguida? O que \u00e9 poss\u00edvel que voc\u00ea ainda tenha que aprender agora?\nHa! Esta \u00e9 a melhor parte. Voc\u00ea percorreu um caminho t\u00e3o grande que agora vamos revelar as classes.\nApenas mais duas li\u00e7\u00f5es curtas, e acabou.\n\nMais cedo, n\u00f3s criamos um Hash desta forma:\n\n Hash.new" +"\n//# Pipeline Merge (One-Hot Selector)\n\n// Takes in multiple input ready/valid handshakes with associated data, and\n// merges them one at a time into a single output ready/valid handshake. An\n// input is merged when selected by a one-hot bit vector. (Use [Binary to\n// One-Hot](./Binary_to_One_Hot.html) if necessary.)\n\n//## Interleaving\n\n// Normally, the `selector` remains stable while input transfers are in\n// progress (input ready and valid both high), but if you are careful you can\n// change the selector each cycle to interleave data from multiple inputs\n// transfers into the output transfer.\n\n//## Multiple selected inputs\n\n// Normally, only one bit of the one-hot `selector` must be set at any time.\n// If no bit is set, then the inputs and the output are all disconnected and\n// no handshake can complete. If more than one bit is set, then the multiple\n// selected inputs are combined so that the output receives the OR-reduction\n// of the selected input valids, and the OR-reduction of the selected input\n// data. This behaviour might be usable *if you can guarantee that only one\n// input is active at any given moment*, resulting in a non-synchronizing\n// [Pipeline Join](./Pipeline_Join.html).\n\n// The" +"/** @file\r\n AML String.\r\n\r\n Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
\r\n Copyright (c) 2019 - 2020, Arm Limited. All rights reserved.
\r\n\r\n SPDX-License-Identifier: BSD-2-Clause-Patent\r\n**/\r\n\r\n#include \r\n\r\n#include \r\n#include \r\n\r\n/** Check NameString/path information is valid.\r\n\r\n Root, ParentPrefix and SegCount cannot be 0 at the same time.\r\n This function works for ASL and AML name strings.\r\n\r\n @param [in] Root Number of root char.\r\n Must be 0 or 1.\r\n @param [in] ParentPrefix Number of carets char ('^').\r\n Must be [0-255].\r\n @param [in] SegCount Number of NameSeg (s).\r\n Must be [0-255].\r\n\r\n @retval TRUE id the input information is in the right boundaries.\r\n FALSE otherwise.\r\n**/\r\nBOOLEAN\r\nEFIAPI\r\nAmlIsNameString (\r\n IN UINT32 Root,\r\n IN UINT32 ParentPrefix,\r\n IN UINT32 SegCount\r\n )\r\n{\r\n if (((Root == 0) || (Root == 1)) &&\r\n (ParentPrefix <= MAX_UINT8) &&\r\n (!((ParentPrefix != 0) && (Root != 0))) &&\r\n (SegCount <= MAX_UINT8) &&\r\n ((SegCount + Root + ParentPrefix) != 0)) {\r\n return TRUE;\r\n }\r\n return FALSE;\r\n}\r\n\r\n/** Copy bytes from SrcBuffer to DstBuffer and convert to upper case.\r\n Don't copy more than MaxDstBufferSize bytes.\r\n\r\n @param [out] DstBuffer Destination buffer.\r\n @param [in] MaxDstBufferSize Maximum size of DstBuffer.\r\n Must be non-zero.\r\n @param [in] SrcBuffer Source buffer.\r\n @param" +"#pragma once\n\n#include \"envoy/common/pure.h\"\n#include \"envoy/http/message.h\"\n\nnamespace Envoy {\nnamespace Extensions {\nnamespace Common {\nnamespace Aws {\n\nclass Signer {\npublic:\n virtual ~Signer() = default;\n\n /**\n * Sign an AWS request.\n * @param message an AWS API request message.\n * @param sign_body include the message body in the signature. The body must be fully buffered.\n * @throws EnvoyException if the request cannot be signed.\n */\n virtual void sign(Http::RequestMessage& message, bool sign_body) PURE;\n\n /**\n * Sign an AWS request.\n * @param headers AWS API request headers.\n * @throws EnvoyException if the request cannot be signed.\n */\n virtual void sign(Http::RequestHeaderMap& headers) PURE;\n\n /**\n * Sign an AWS request.\n * @param headers AWS API request headers.\n * @param content_hash The Hex encoded SHA-256 of the body of the AWS API request.\n * @throws EnvoyException if the request cannot be signed.\n */\n virtual void sign(Http::RequestHeaderMap& headers, const std::string& content_hash) PURE;\n};\n\nusing SignerPtr = std::unique_ptr;\n\n} // namespace Aws\n} // namespace Common\n} // namespace Extensions\n} // namespace Envoy" +"/**\n * The Search field creates an HTML5 search input and is usually created inside a form. Because it creates an HTML\n * search input type, the visual styling of this input is slightly different to normal text input controls (the corners\n * are rounded), though the virtual keyboard displayed by the operating system is the standard keyboard control.\n *\n * As with all other form fields, the search field gains a \"clear\" button that appears whenever there\n * is text entered into the form, and which removes that text when tapped.\n *\n * @example\n * Ext.create('Ext.form.Panel', {\n * fullscreen: true,\n * items: [\n * {\n * xtype: 'fieldset',\n * title: 'Search',\n * items: [\n * {\n * xtype: 'searchfield',\n * label: 'Query',\n * name: 'query'\n * }\n * ]\n * }\n * ]\n * });\n *\n * Or on its own, outside of a form:\n *\n * Ext.create('Ext.field.Search', {\n * label: 'Search:',\n * value: 'query'\n * });\n *\n * Because search field inherits from {@link Ext.field.Text textfield} it gains all of the functionality that text\n * fields provide, including getting and setting the value at runtime, validations and various events that are fired\n * as the user interacts with" +".\\\" Text automatically generated by txt2man\n.TH profile-sync-daemon \"22 September 2020\" \"\" \"\"\n.SH NAME\n\\fBprofile-sync-daemon \\fP- Symlinks and syncs browser profiles to RAM (tmpfs) thus reducing HDD/SSD calls and speeding up browsers.\n\\fB\n.SH DESCRIPTION\nProfile-sync-daemon (psd) is a tiny pseudo-daemon designed to manage browser profile/profiles in tmpfs and to periodically sync back to the physical disc (HDD/SSD). This is accomplished by an innovative use of rsync to maintain synchronization between a tmpfs copy and media-bound backup of the browser profile/profiles. Additionally, psd features several crash-recovery features.\n.PP\nDesign goals of psd:\n.RS\n.IP \\(bu 3\nCompletely transparent user experience.\n.IP \\(bu 3\nReduced wear to physical discs (particularly SSDs).\n.IP \\(bu 3\nSpeed.\n.RE\n.PP\nSince the profile/profiles, browser cache*, etc. are relocated into tmpfs (RAM disk), the corresponding I/O associated with using the browser is also redirected from the physical disc to the RAM, thus reducing wear to the physical disc and improving browser responsiveness.\n.PP\n*Note that some browsers such as Chrome/Chromium, Firefox (since v21), Midori, and Rekonq actually keep their cache directories separate from their browser profile directory. It is not within the scope of profile-sync-daemon to modify this behavior; users wishing to relocate this" +"/*\n Title: Array\n \n A light weight implementation of dynamic array structure in C Macros.\n \n Each array actually consists of the following members\n \n (start code)\n ElementType* Name; //The pointer to elements.\n int Name_Index; //Index of the top element.\n int Name_Size; //Size allocated for the Array.\n (end)\n \n \n Constant: Array_Addition\n \n The number of empty elements to be added to an Array when an\n enlargement takes place.\n \n \n Section: Constructing/Destructing\n\n Macro: Array_Define\n \n Defines an Array.\n \n Usage:\n \n > Array_Define(Type, Name);\n \n This is equivalent to\n \n (start code)\n Type* Name;\n int Name_Index;\n int Name_Size;\n (end)\n \n Parameters:\n \n Type - Type of elements(e.g. int, float ...)\n \n Name - Name of the Array.\n \n \n Macro: Array_Gtor\n \n Defines and inits an Array.\n \n Usage:\n \n > Array_Gtor(Type, Name);\n \n Parameters:\n \n Type - Type of elements.\n \n Name - Name of the Array.\n \n \n Macro: Array_Ctor\n \n Inits an Array.\n \n Usage:\n \n > Array_Gtor(Type, Name);\n \n Parameters:\n \n Type - Type of elements.\n \n Name - Name of the Array.\n \n \n Macro: Array_Dtor\n \n Destructs(frees) an Array.\n \n Usage:\n \n > Array_Dtor(Type, Name);\n \n Parameters:\n \n Type - Type of elements.\n \n Name - Name of the Array.\n \n \n Macro: Array_ObjDtor\n \n Destructs an Array and automatically calls the destructor for each of \n its elements.\n \n Usage:\n \n > Array_ObjDtor(Type, Name);\n \n Parameters:\n \n Type - Type of elements.\n \n Name - Name of the Array.\n \n \n Section: Operations" +"//\n// YOSRequestToken.h\n// YOSSocial\n//\n// Created by Zach Graves on 2/14/09.\n// Updated by Michael Ho on 8/21/14.\n// Copyright 2014 Yahoo Inc.\n// \n// The copyrights embodied in the content of this file are licensed under the BSD (revised) open source license.\n//\n\n#import \"YOAuthToken.h\"\n\n/**\n * YOSRequestToken is a sub-class of YOAuthToken that contains the request token key and secret, along \n * with extensions for the request_auth URL and token expiration dates.\n */\n@interface YOSRequestToken : YOAuthToken\n\n/**\n * Returns the URL generated by the service-provider to redirect the user to allow access to the application.\n */\n@property (nonatomic, readwrite, strong) NSString *requestAuthUrl;\n/**\n * Returns an integer of the UNIX time that the token will expire.\n */\n@property (nonatomic, readwrite) NSInteger tokenExpires;\n/**\n * Returns a NSDate representing the expiry date of this token.\n */\n@property (nonatomic, readwrite, strong) NSDate *tokenExpiresDate;\n/**\n * Returns a Boolean indicating whether the callback was received by the service provider.\n */\n@property (nonatomic, readwrite) BOOL callbackConfirmed;\n/**\n * Return the verifier token from user authorization.\n */\n@property (nonatomic, strong) NSString *verifier;\n\n/**\n * Returns a new request token for the specified response data object.\n * @param responseData\t\tA NSData" +"---\nlayout: tour\ntitle: Currying\npartof: scala-tour\n\nnum: 9\nnext-page: case-classes\nprevious-page: nested-functions\nlanguage: pt-br\n---\n\n_Nota de tradu\u00e7\u00e3o: Currying \u00e9 uma t\u00e9cnica de programa\u00e7\u00e3o Funcional nomeada em honra ao matem\u00e1tico e l\u00f3gico Haskell Curry. Por essa raz\u00e3o a palavra Currying n\u00e3o ser\u00e1 traduzida. Entende-se que \u00e9 uma a\u00e7\u00e3o, uma t\u00e9cnica b\u00e1sica de Programa\u00e7\u00e3o Funcional._\n\nM\u00e9todos podem definir m\u00faltiplas listas de par\u00e2metros. Quando um m\u00e9todo \u00e9 chamado com uma lista menor de par\u00e2metros, ent\u00e3o ser\u00e1 retornada uma fun\u00e7\u00e3o que recebe a lista que par\u00e2metros que falta como argumentos.\n\nAqui um exemplo:\n\n```tut\nobject CurryTest extends App {\n\n def filter(xs: List[Int], p: Int => Boolean): List[Int] =\n if (xs.isEmpty) xs\n else if (p(xs.head)) xs.head :: filter(xs.tail, p)\n else filter(xs.tail, p)\n\n def modN(n: Int)(x: Int) = ((x % n) == 0)\n\n val nums = List(1, 2, 3, 4, 5, 6, 7, 8)\n println(filter(nums, modN(2)))\n println(filter(nums, modN(3)))\n}\n```\n\n_Nota: o m\u00e9todo `modN` \u00e9 parcialmente aplicado em duas chamadas de `filter`; por exemplo: somente o primeiro argumento \u00e9 realmente aplicado. O termo `modN(2)` retorna uma fun\u00e7\u00e3o do tipo `Int => Boolean` e esta se torna uma poss\u00edvel candidata a segundo argumento da fun\u00e7\u00e3o `filter`._\n\nA sa\u00edda do programa acima produz:\n\n```\nList(2,4,6,8)\nList(3,6)" +"status );\n }\n\n /**\n * @author Leo Fajardo\n *\n * @return bool\n */\n function is_pending() {\n return ( 'pending' === $this->status );\n }\n\n /**\n * @author Leo Fajardo\n *\n * @return bool\n */\n function is_suspended() {\n return ( 'suspended' === $this->status );\n }\n\n /**\n * @author Leo Fajardo\n *\n * @return bool\n */\n function is_rejected() {\n return ( 'rejected' === $this->status );\n }\n\n /**\n * @author Leo Fajardo\n *\n * @return bool\n */\n function is_blocked() {\n return ( 'blocked' === $this->status );\n }\n\t}" +"/* ERASE for arrays to free memory\n\n fb_ArrayErase() is called for dynamic arrays and static arrays\n\n if it is known at compile time that the array is static (fixed length)\n then:\n for plain arrays: fbc calls fb_ArrayClear()\n for object arrays: fbc calls fb_ArrayClearObj()\n for FBSTRING arrays: fbc calls fb_ArrayDestructStr()\n\n Otherwise if the array is dynamic or is unknown to be static at \n compile-time, then:\n for plain arrays: fbc calls fb_ArrayErase()\n for object arrays: fbc calls fb_ArrayEraseObj()\n for FBSTRING arrays: fbc calls fb_ArrayStrErase()\n\n fb_ArrayErase() is also called indirectly from rtlib to free the\n memory associated with the array.\n*/\n\n#include \"fb.h\"\n\nFBCALL int fb_ArrayErase( FBARRAY *array )\n{\n\t/* ptr can be NULL, for global dynamic arrays that were never allocated,\n\t but will still be destroyed on program exit */\n\tif( array->ptr ) {\n\n\t\t/* fixed length? then it can't be resized.\n\t\t just clear the elements and leave the descriptor as-is. */\n\t\tif( array->flags & FBARRAY_FLAGS_FIXED_LEN ) {\n\t\t\tfb_ArrayClear( array );\n\n\t\t/* otherwise it's dynamic: free memory */\n\t\t} else {\n\t\t\tfree( array->ptr );\n\t\t\tfb_ArrayResetDesc( array );\n\t\t}\n\t}\n\n\treturn fb_ErrorSetNum( FB_RTERROR_OK );\n}" +"/*\n * Copyright (C) 2019 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage perftests.multiuser.apps.dummyapp;\n\nimport android.app.Activity;\nimport android.os.AsyncTask;\nimport android.os.Bundle;\nimport android.os.SystemClock;\n\n/** An activity. */\npublic class DummyForegroundActivity extends Activity {\n private static final String TAG = DummyForegroundActivity.class.getSimpleName();\n\n public static final int TOP_SLEEP_TIME_MS = 2_000;\n\n @Override\n public void onCreate(Bundle bundle) {\n super.onCreate(bundle);\n doSleepWhileTop(TOP_SLEEP_TIME_MS);\n }\n\n /** Does nothing, but asynchronously. */\n private void doSleepWhileTop(int sleepTime) {\n new AsyncTask() {\n @Override\n protected Void doInBackground(Void... params) {\n SystemClock.sleep(sleepTime);\n return null;\n }\n\n @Override\n protected void onPostExecute(Void nothing) {\n finish();\n }\n }.execute();\n }\n}" +"#!/usr/bin/env node\n\nconst argparse = require('argparse');\nconst version = require('./src/version').version;\nconst view = require(\"./cli/view\");\nconst build = require(\"./cli/build\");\nconst develop = require(\"./cli/develop\");\nconst convert = require(\"./cli/convert\");\n\nconst parser = new argparse.ArgumentParser({\n version: version,\n addHelp: true,\n description: `Auspice version ${version}.`,\n epilog: `\n Auspice is an interactive visualisation tool for phylogenomic data.\n It can be used to display local datasets (see \"auspice view -h\" for details),\n or to build a customised version of the software (see \"auspice build -h\" for details).\n This is the software which powers the visualisations on nextstrain.org and auspice.us, amoung others.\n `\n});\n\nconst subparsers = parser.addSubparsers({title: 'Auspice commands', dest: \"subcommand\"});\nview.addParser(subparsers);\nbuild.addParser(subparsers);\ndevelop.addParser(subparsers);\nconvert.addParser(subparsers);\n\nconst args = parser.parseArgs();\n\nif (args.verbose) global.AUSPICE_VERBOSE = true;\n\nif (args.subcommand === \"build\") {\n build.run(args);\n} else if (args.subcommand === \"view\") {\n view.run(args);\n} else if (args.subcommand === \"develop\") {\n develop.run(args);\n} else if (args.subcommand === \"convert\") {\n convert.run(args);\n}\n\n// console.dir(args);" +"/* -*- mode: c -*- */\n\n/* Copyright (C) 2008-2016 Alexander Chernov */\n\n/*\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n */\n\n#include \"ejudge/config.h\"\n\n#include \n\n#if HAVE_FMEMOPEN - 0 == 0\n\n#include \n\nstatic void addINode(int i_stream_number, FILE *file);\nstatic void delINode(FILE *file);\nstatic int get_i_stream_number(void);\n\nstruct iListNode\n{\n int i_stream_number;\n FILE* file;\n struct iListNode *pnext;\n};\n\nstatic struct iListNode *iList = NULL;\n\nstatic void\naddINode(int i_stream_number, FILE *file)\n{\n struct iListNode **pcur = &iList;\n struct iListNode *node = calloc(1, sizeof(struct iListNode));\n if(node == NULL)\n abort();\n\n while((*pcur) && (*pcur)->i_stream_number < i_stream_number)\n pcur = &((*pcur)->pnext);\n\n node->pnext = *pcur;\n node->i_stream_number = i_stream_number;\n node->file = file;\n (*pcur) = node;\n}\n\nstatic void\ndelINode(FILE *file)\n{\n struct iListNode **pcur = &iList;" +"{\n \"cells\": [\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"# Continuous Bag of words\\n\",\n \"\\n\",\n \"\\n\",\n \"Let us say we have a neural network with one input, hidden and output layer. The goal of\\n\",\n \"the network is to predict a word given its surrounding words. The word which we are\\n\",\n \"trying to predict is called the target word and the word surrounding the target word is\\n\",\n \"called the context words.\\n\",\n \"\\n\",\n \"How many number of context words we use to predict the target word? We use a window\\n\",\n \"of size to choose the context word. If the window size is 2 then we use two words before\\n\",\n \"and two words after the target word as the context words.\\n\",\n \"\\n\",\n \"Let us consider the sentence 'The sun rises in the east' with the word 'rises' as the target word. \\n\",\n \"\\n\",\n \"\\n\",\n \"If we set\\n\",\n \"the window size =2 then we take the words 'the' and 'sun' which are the two words before\\n\",\n \"and 'in' and 'the' which are the two words after to the target word 'rises' as context words as\\n\",\n \"shown below:\\n\",\n \"\\n\",\n \"![image](images/1_1.png)\\n\",\n \"\\n\",\n \"So the input to the network is context words and output is a" +"---\r\ndescription: \"Count (Set) (MDX)\"\r\ntitle: \"Count (Set) (MDX) | Microsoft Docs\"\r\nms.date: 06/04/2018\r\nms.prod: sql\r\nms.technology: analysis-services\r\nms.custom: mdx\r\nms.topic: reference\r\nms.author: owend\r\nms.reviewer: owend\r\nauthor: minewiskan\r\n---\r\n# Count (Set) (MDX)\r\n\r\n\r\n Returns the number of cells in a set. \r\n \r\n## Syntax \r\n \r\n``` \r\n \r\nStandard syntax \r\nCount(Set_Expression [ , ( EXCLUDEEMPTY | INCLUDEEMPTY ) ] ) \r\n \r\nAlternate syntax \r\nSet_Expression.Count \r\n``` \r\n \r\n## Arguments \r\n *Set_Expression* \r\n A valid Multidimensional Expressions (MDX) expression that returns a set. \r\n \r\n## Remarks \r\n The **Count (Set)** function includes or excludes empty cells, depending on the syntax used. If the standard syntax is used, empty cells can be excluded or included by using the **EXCLUDEEMPTY** or **INCLUDEEMPTY** flags, respectively. If the alternate syntax is used, the function always includes empty cells. \r\n \r\n To exclude empty cells in the count of a set, use the standard syntax and the optional **EXCLUDEEMPTY** flag. \r\n \r\n> [!NOTE] \r\n> The **Count (Set)** function counts empty cells by default. In contrast, the **Count** function in OLE DB that counts a set excludes empty cells by default. \r\n \r\n## Examples \r\n The following example counts the number of cells in the set of members that consist of the children of the Model Name attribute hierarchy in the Product dimension." +"'''\r\nGiven a binary tree, determine if it is height-balanced.\r\n\r\nFor this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ by more than 1.\r\n'''\r\n\r\n# Definition for a binary tree node.\r\nclass TreeNode(object):\r\n def __init__(self, x):\r\n self.val = x\r\n self.left = None\r\n self.right = None\r\n\r\n\r\nclass Solution(object):\r\n def isBalanced(self, root):\r\n \"\"\"\r\n :type root: TreeNode\r\n :rtype: bool\r\n \"\"\"\r\n return self._isBalanced(root) >= 0\r\n\r\n def _isBalanced(self, root):\r\n if not root:\r\n return 0\r\n left, right = self._isBalanced(root.left), self._isBalanced(root.right)\r\n if left >= 0 and right >= 0 and abs(left - right) <= 1:\r\n return 1 + max(left, right)\r\n else:\r\n return -1\r\n\r\n\r\nif __name__ == \"__main__\":\r\n None" +"// Copyright 2018 Google Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\npackage dom\n\nimport (\n\t\"math\"\n\n\t\"github.com/gopherjs/gopherjs/js\"\n)\n\n// Ace editor modes and themes.\nconst (\n\t// Ace modes.\n\tAceGoMode = \"ace/mode/golang\"\n\tAceJSONMode = \"ace/mode/json\"\n\n\t// Ace themes.\n\tAceChromeTheme = \"ace/theme/chrome\"\n\tAceTomorrowNightBrightTheme = \"ace/theme/tomorrow_night_bright\"\n)\n\n// Ace wraps an \"ace\" object (usually global).\ntype Ace struct {\n\tObject\n}\n\n// GlobalAce returns the global \"ace\" object.\nfunc GlobalAce() *Ace {\n\to := js.Global.Get(\"ace\")\n\tif o == nil {\n\t\treturn nil\n\t}\n\treturn &Ace{WrapObject(o)}\n}\n\n// AceEditor is an Ace editor.\ntype AceEditor struct {\n\tObject\n}\n\n// Edit attaches an Ace edit session to an element and returns the editor object,\n// or nil (if ace.edit" +"// Copyright 2019 The Go Cloud Development Kit Authors\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\npackage gcpfirestore\n\nimport (\n\t\"context\"\n\t\"errors\"\n\t\"fmt\"\n\t\"net/url\"\n\t\"path\"\n\t\"sync\"\n\n\tvkit \"cloud.google.com/go/firestore/apiv1\"\n\t\"gocloud.dev/docstore\"\n\t\"gocloud.dev/gcp\"\n)\n\nfunc init() {\n\tdocstore.DefaultURLMux().RegisterCollection(Scheme, &lazyCredsOpener{})\n}\n\ntype lazyCredsOpener struct {\n\tinit sync.Once\n\topener *URLOpener\n\terr error\n}\n\nfunc (o *lazyCredsOpener) OpenCollectionURL(ctx context.Context, u *url.URL) (*docstore.Collection, error) {\n\to.init.Do(func() {\n\t\tcreds, err := gcp.DefaultCredentials(ctx)\n\t\tif err != nil {\n\t\t\to.err = err\n\t\t\treturn\n\t\t}\n\t\tclient, _, err := Dial(ctx, creds.TokenSource)\n\t\tif err != nil {\n\t\t\to.err = err\n\t\t\treturn\n\t\t}\n\t\to.opener = &URLOpener{Client: client}\n\t})\n\tif o.err != nil {\n\t\treturn nil, fmt.Errorf(\"open collection %s: %v\", u, o.err)\n\t}\n\treturn o.opener.OpenCollectionURL(ctx, u)\n}\n\n// Scheme is the" +"/*\n * Copyright (c) 2020, NVIDIA CORPORATION.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n#include \n#include \n#include \n\nnamespace HugeCTR {\n\nnamespace diagnose {\n\n__device__ float atomicMin(float* address, float val) {\n float old = val;\n do {\n val = old;\n old = atomicExch(address, val);\n } while (old < val);\n return old;\n}\n\n__device__ float atomicMax(float* address, float val) {\n float old = val;\n do {\n val = old;\n old = atomicExch(address, val);\n } while (old > val);\n return old;\n}\n\ntemplate \n__global__ void histogram_kernel(const T* arr, size_t len, float* range) {\n for (int i = blockIdx.x * blockDim.x + threadIdx.x; i < len; i += blockDim.x * gridDim.x) {\n float val =" +"{% set version = \"1.5.7\" %}\n{% set sha256 = \"a903d209eeedba4f9f415a260f2080b469ca460b16a97c9663274bf90f1f6093\" %}\n\npackage:\n name: hifive\n version: '{{ version }}'\n\nsource:\n url: https://github.com/bxlab/hifive/archive/v{{ version }}.tar.gz\n sha256: '{{ sha256 }}'\n\nbuild:\n skip: true # [py>27]\n number: 2\n script: {{ PYTHON }} -m pip install . --ignore-installed --no-deps -vv\n\nrequirements:\n build:\n - {{ compiler('c') }}\n - {{ compiler('cxx') }}\n host:\n - pip\n - python\n - numpy\n - scipy\n - h5py\n - cython\n - setuptools_cython\n run:\n - python\n - numpy\n - scipy\n - h5py\n - setuptools_cython\n # these are listed as optional\n - pyx ==0.12.1 # 0.12.1 is the latest pyx version supported on PY2\n - pysam\n - pillow\n - mpi4py # [not osx] ## https://github.com/conda/conda/issues/2277\n #- mlpy # used for hifive.hic.learn_fend_3D_modol, but conda build currently fails\n\ntest:\n # Python imports\n imports:\n - hifive\n - hifive.commands\n - hifive.libraries\n\nabout:\n home: https://github.com/bxlab/hifive\n license: MIT\n license_family: MIT\n license_file: LICENSE.txt\n summary: Python library for normalizing and analyzing HiC and 5C data" +"/*\n * Sonatype Nexus (TM) Open Source Version\n * Copyright (c) 2008-present Sonatype, Inc.\n * All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.\n *\n * This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,\n * which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.\n *\n * Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. \"Sonatype\" and \"Sonatype Nexus\" are trademarks\n * of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the\n * Eclipse Foundation. All other trademarks are the property of their respective owners.\n */\npackage org.sonatype.nexus.security.authc.apikey;\n\nimport javax.annotation.Nullable;\n\nimport org.sonatype.goodies.lifecycle.Lifecycle;\n\nimport org.apache.shiro.subject.PrincipalCollection;\n\n/**\n * Persistent mapping between principals (such as user IDs) and API-Keys.\n *\n * @since 3.0\n */\npublic interface ApiKeyStore\n extends Lifecycle\n{\n /**\n * Creates an API-Key and assigns it to the given principals in given domain.\n */\n char[] createApiKey(String domain, PrincipalCollection principals);\n\n /**\n * Persists an API-Key with a predetermined value.\n *\n * @since 3.1\n */\n void persistApiKey(String domain, PrincipalCollection principals, char[] apiKey);\n\n /**\n * Gets the current API-Key assigned to the given principals in given domain.\n *\n * @return {@code null}" +"# Copyright 2015 The Shaderc Authors. All rights reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport expect\nfrom glslc_test_framework import inside_glslc_testsuite\nfrom placeholder import FileShader\n\nMINIMAL_SHADER = \"#version 140\\nvoid main(){}\"\n# This one is valid GLSL but not valid HLSL.\nGLSL_VERTEX_SHADER = \"#version 140\\nvoid main(){ gl_Position = vec4(1.0);}\"\n# This one is GLSL but without leading #version. Should result in\n# a parser error when compiled as HLSL.\nGLSL_VERTEX_SHADER_WITHOUT_VERSION = \"void main(){ gl_Position = vec4(1.0);}\"\n# This one is valid HLSL but not valid GLSL.\n# Use entry point \"main\" so we don't have to specify -fentry-point\nHLSL_VERTEX_SHADER = \"float4 main() : SV_POSITION { return float4(1.0); }\"\n\n@inside_glslc_testsuite('OptionDashX')\nclass TestDashXNoArg(expect.ErrorMessage):\n \"\"\"Tests -x with nothing.\"\"\"\n\n glslc_args =" +"require 'diffy'\n\nmodule Refinery\n module Pages\n # Knows how to build the html for a section. A section is part of the visible html, that has\n # content wrapped in some particular markup. Construct with the relevant options, and then\n # call wrapped_html to get the resultant html.\n #\n # The content rendered will usually be the value of fallback_html, unless an override_html\n # is specified. However, on rendering, you can elect not display sections that have no\n # override_html by passing in false for can_use_fallback.\n #\n # Sections may be hidden, in which case they wont display at all.\n class SectionPresenter\n include ActionView::Helpers::TagHelper\n include ActionView::Helpers::SanitizeHelper\n\n def initialize(initial_hash = {})\n { logger: Rails.logger }.merge(initial_hash).map do |key, value|\n send(\"#{key}=\", value)\n end\n end\n\n attr_reader :id, :fallback_html, :hidden\n alias_method :hidden?, :hidden\n attr_accessor :override_html\n\n def visible?\n !hidden?\n end\n\n def has_content?(can_use_fallback = true)\n visible? && content_html(can_use_fallback).present?\n end\n\n def wrapped_html(can_use_fallback = true)\n return if hidden?\n\n content = content_html(can_use_fallback)\n if content.present?\n wrap_content_in_tag(content)\n end\n end\n\n def hide\n self.hidden = true\n end\n\n def not_present_css_class\n \"no_#{id}\"\n end\n\n protected\n\n def content_html(can_use_fallback)\n override_html.presence || html_from_fallback(can_use_fallback)\n end\n\n def html_from_fallback(can_use_fallback)\n fallback_html.presence if can_use_fallback\n end\n\n private\n\n attr_accessor :logger\n attr_writer :id, :fallback_html, :hidden\n\n def wrap_content_in_tag(content)\n content_tag(:section, content_tag(:div, sanitize_content(content), :class => 'inner'), :id => id)\n end\n\n def" +"{-# LANGUAGE GADTs, TypeSynonymInstances, FlexibleInstances #-}\nmodule Main where\n\n-- imports {{{1\nimport Control.Applicative ((<$>), (<*>))\nimport Data.Maybe (fromMaybe)\nimport Text.Printf (printf)\n\nimport Compiler.Hoopl hiding ((<*>))\n\nimport qualified Compiler.Hoopl as H\nimport qualified Data.Set as S\n\n-- nodes {{{1\ntype Variable = String\ntype Value = Int\n\ndata Expr =\n ExVar Variable\n | ExConst Value\n | ExOp Expr Operation Expr\n | ExCall String [Expr]\n\ndata Operation =\n Plus | Minus | Equals\n\ndata Node e x where\n Lbl :: Label -> Node C O\n Assign :: Variable -> Expr -> Node O O\n Stmt :: Expr -> Node O O\n Branch :: Label -> Node O C\n Cond :: Expr -> Label -> Label -> Node O C\n Return :: Node O C\n\ninstance NonLocal Node where\n entryLabel (Lbl l) = l\n successors (Branch l) = [l]\n successors (Cond _ l1 l2) = [l1, l2]\n successors Return = []\n\n-- printing {{{1\ninstance Show Operation where\n show Plus = \"+\"\n show Minus = \"-\"\n show Equals = \"==\"\n\ninstance Show Expr where\n showsPrec _ (ExVar v) = showString v\n showsPrec _ (ExConst v) = shows v\n showsPrec _ (ExOp lhs op rhs) =\n showChar '('\n . shows lhs\n . showChar" +"package\n{\n\timport flash.events.Event;\n\t\n\timport org.purepdf.Font;\n\timport org.purepdf.colors.*;\n\timport org.purepdf.elements.*;\n\timport org.purepdf.pdf.*;\n\timport org.purepdf.pdf.fonts.*;\n\timport org.purepdf.resources.BuiltinFonts;\n\n\tpublic class HelloChunk extends DefaultBasicExample\n\t{\n\t\tpublic function HelloChunk(d_list:Array=null)\n\t\t{\n\t\t\tsuper([\"Create a document using single chunks\",\"set underline, color and superscript attributes to the chunks\"]);\n\t\t\tFontsResourceFactory.getInstance().registerFont( BaseFont.COURIER_BOLD, new BuiltinFonts.COURIER_BOLD() );\n\t\t}\n\t\t\n\t\toverride protected function execute(event:Event=null) : void\n\t\t{\n\t\t\tsuper.execute();\n\t\t\t\n\t\t\tcreateDocument(\"Hello world chunk\");\n\t\t\tdocument.open();\n\t\t\t\n\t\t\tvar font: Font = new Font( Font.COURIER, -1, Font.BOLD );\n\t\t\tfont.color = RGBColor.BLUE;\n\t\t\t\n\t\t\tvar fox: Chunk = new Chunk(\"quick brown fox\", font);\n\t\t\tfox.setTextRise( 8 );\n\t\t\tfox.setBackground( RGBColor.RED );\n\t\t\t\n\t\t\tvar jumps: Chunk = new Chunk(\" jumps over \", font );\n\t\t\tvar dog: Chunk = new Chunk(\"the lazy dog\", font );\n\t\t\tdog.setTextRise(-8);\n\t\t\t\n\t\t\tdog.setUnderline( RGBColor.BLACK, 3, 0, -13, 0, PdfContentByte.LINE_CAP_ROUND );\n\t\t\tdocument.add(fox);\n\t\t\tdocument.add(jumps);\n\t\t\tdocument.add(dog);\n\t\t\t\n\t\t\tdocument.close();\n\t\t\tsave();\n\t\t}\n\t}\n}" +".\n\n#ifndef __OPENCAESAR3_CORPSE_H_INCLUDED__\n#define __OPENCAESAR3_CORPSE_H_INCLUDED__\n\n#include \"walker.hpp\"\n#include \"core/predefinitions.hpp\"\n\n/** This is an immigrant coming with his stuff */\nclass Corpse : public Walker\n{\npublic:\n static WalkerPtr create( CityPtr city ); //need for walker manager\n static void create( CityPtr city, TilePos pos,\n std::string rcGroup, int startIndex, int stopIndex,\n bool loop=false);\n ~Corpse();\n\n virtual void timeStep(const unsigned long time);\n\n virtual void save(VariantMap& stream) const;\n virtual void load(const VariantMap& stream);\n\n virtual const Picture& getMainPicture();\n\nprotected:\n Corpse( CityPtr city );\n\n class Impl;\n ScopedPtr< Impl > _d;\n};\n\n#endif" +"# Changelog\n\n## [v0.11.2]\n\nMinor:\n\n* Switch to standard MIT SPDX license\n\n## [v0.11.0]\n\nFeatures:\n\n* Add support for `Expect-CT` header. Allows excluding domains that will not have the `Expect-CT` header applied. By default, the `Expect-CT` header will not be applied to localhost. It is also only applied to HTTPS requests \n* Add support for `worker-src` directive for `Content-Security-Policy` header\n\n## [v0.10.0]\n\nBreaking Changes:\n\n* Drop support for ASP.NET Core 1.x\n* Add support for ASP.NET Core 3.0\n\n## [v0.9.0]\n\nFeatures:\n\n* Add support for Nonce generation for `Content-Security-Policy` headers. See [README.md](https://github.com/andrewlock/NetEscapades.AspNetCore.SecurityHeaders/blob/master/README.md#using-nonces-and-generated-hashes-with-content-security-policy) for details\n* Add [TagHelpers](https://www.nuget.org/packages/NetEscapades.AspNetCore.SecurityHeaders.TagHelpers/) library for adding nonces and generating hashes for Razor elements. \n* Allow using HSTS preload with `Strict-Transport-Security`\n* Allow excluding domains from `Strict-Transport-Security`. Similar to the [Microsoft `HstsMiddleware`](https://github.com/aspnet/BasicMiddleware/blob/master/src/Microsoft.AspNetCore.HttpsPolicy/HstsMiddleware.cs), you can skip applying `Strict-Transport-Security` to specific hosts\n\nBreaking Changes:\n\n* All obsolete classes have been removed.\n* Many classes have changed namespace to better reflect their location in the project, and also to aid discovery. If you're using the recommended builders and extension methods, you should not have any build-time breaking changes, but the package is not runtime-compatible with previous versions\n* The `Strict-Transport-Security` header is no longer applied to `localhost` by default. Generally" +"\ufeff// Copyright (c) DotSpatial Team. All rights reserved.\r\n// Licensed under the MIT license. See License.txt file in the project root for full license information.\r\n\r\nnamespace DotSpatial.Data\r\n{\r\n /// \r\n /// Unlike forms that have a disposable life cycle with a clear chain of ownership, or purely managed\r\n /// libraries that have in a built in reference counting system, disposable members in DotSpatial\r\n /// require the ability to behave in some cases like a layer that should be removed from memory\r\n /// as soon as it is removed from the map, and other times like a persistent object. The DisposeLock\r\n /// concept works like an industrial lock-out system. Each additional lock increases the lock count.\r\n /// When all users have released the lock, the IsDisposedLocked property will be false, and the next\r\n /// action like a removal from the parent layers will properly dispose the item. Users may feel free\r\n /// to add the lock in order to handle disposal on the layers themselves. These methods will not\r\n /// actually prevent Dispose from functioning, but understand that calling dispose when there is an\r\n /// IsDisposeLocked is true means that there will likely be a problem.\r\n /// \r\n public interface IDisposeLock" +"---\nlayout: default\n---\n\nSuave.DotLiquid\n===============\n\nInstalling DotLiquid\n--------------------\n\n{% highlight text %}\npaket add nuget DotLiquid\npaket add nuget Suave.DotLiquid\n{% endhighlight %}\n\nHow to use liquid from Suave.\n-----------------------------\n\n{% highlight fsharp %}\nopen Suave\nopen Suave.DotLiquid\nopen DotLiquid\n\ntype Model =\n { title : string }\n\nsetTemplatesDirectory \"./templates\"\n\nlet o = { title = \"Hello World\" }\n\nlet app =\n choose\n [ GET >=> choose\n [ path \"/\" >=> page \"my_page.liquid\" o ]]\n\n{% endhighlight %}\n\nThen, for your template:\n\n{% highlight html %}\n{% raw %}\n\n \n {{ model.title }}\n \n \n

Hello from {{ model.title }}!

\n \n\n{% endraw %}\n{% endhighlight %}\n\nNaming conventions\n--------------------\n\nSuave.DotLiquid sets the DotLiquid naming convention to Ruby by default. This means that if, for example, your model is a record type with a member called 'Name', DotLiquid would expect the binding to be '{% raw %}{{model.name}}{% endraw %}'. You can change the naming convention to C#:\n\n{% highlight fsharp %}\nDotLiquid.setCSharpNamingConvention()\n{% endhighlight %}\n\nWorking with Options\n--------------------\n\nDotLiquid can handle option types.\n\nExample 1:\n\n{% highlight fsharp %}\ntype UserModel = {\n UserName: string option\n}\n\nlet model = { UserName = Some \"Dave\" }" +"/**\n * Copyright (c) 2011-2018 by Andrew Mustun. All rights reserved.\n * \n * This file is part of the QCAD project.\n *\n * QCAD is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * QCAD is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with QCAD.\n */\n\n#ifndef RDOCUMENTVARIABLES_H\n#define RDOCUMENTVARIABLES_H\n\n#include \"core_global.h\"\n\n#include \"RLayer.h\"\n#include \"RObject.h\"\n\nclass RDocument;\n\n/**\n * This type of object is used to store document wide variables.\n *\n * \\ingroup core\n * \\scriptable\n * \\sharedPointerSupport\n */\nclass QCADCORE_EXPORT RDocumentVariables : public RObject {\npublic:\n static RPropertyTypeId PropertyCustom;\n static RPropertyTypeId PropertyHandle;\n static RPropertyTypeId PropertyProtected;\n static RPropertyTypeId PropertyCurrentLayerId;\n static RPropertyTypeId PropertyUnit;\n static RPropertyTypeId PropertyLinetypeScale;\n static RPropertyTypeId PropertyDimensionFont;\n\npublic:\n RDocumentVariables(RDocument* document);\n virtual ~RDocumentVariables();\n\n static void init();\n\n virtual RS::EntityType" +"var keys = require('./keys')\n\n/**\n * \u63a5\u6536\u4e00\u4e2a\u51fd\u6570\u4f5c\u4e3a\u7d2f\u52a0\u5668\uff0c\u6570\u7ec4\u4e2d\u7684\u6bcf\u4e2a\u503c\uff08\u4ece\u5de6\u5230\u53f3\uff09\u5f00\u59cb\u5408\u5e76\uff0c\u6700\u7ec8\u4e3a\u4e00\u4e2a\u503c\u3002\n *\n * @param {Array} array \u6570\u7ec4\n * @param {Function} callback \u65b9\u6cd5\n * @param {Object} initialValue \u521d\u59cb\u503c\n * @return {Number}\n */\nfunction reduce (array, callback, initialValue) {\n if (array) {\n var len, reduceMethod\n var index = 0\n var context = null\n var previous = initialValue\n var isInitialVal = arguments.length > 2\n var keyList = keys(array)\n if (array.length && array.reduce) {\n reduceMethod = function () {\n return callback.apply(context, arguments)\n }\n if (isInitialVal) {\n return array.reduce(reduceMethod, previous)\n }\n return array.reduce(reduceMethod)\n }\n if (isInitialVal) {\n index = 1\n previous = array[keyList[0]]\n }\n for (len = keyList.length; index < len; index++) {\n previous = callback.call(context, previous, array[keyList[index]], index, array)\n }\n return previous\n }\n}\n\nmodule.exports = reduce" +"/////////////////////////////////////////////////////////////////////////////\n// Name: debugrpt.h\n// Purpose: interface of wxDebugReport*\n// Author: wxWidgets team\n// Licence: wxWindows licence\n/////////////////////////////////////////////////////////////////////////////\n\n/**\n @class wxDebugReportPreview\n\n This class presents the debug report to the user and allows him to veto\n report entirely or remove some parts of it. Although not mandatory, using\n this class is strongly recommended as data included in the debug report\n might contain sensitive private information and the user should be notified\n about it as well as having a possibility to examine the data which had been\n gathered to check whether this is effectively the case and discard the\n debug report if it is.\n\n wxDebugReportPreview is an abstract base class, currently the only concrete\n class deriving from it is wxDebugReportPreviewStd.\n\n @library{wxqa}\n @category{debugging}\n*/\nclass wxDebugReportPreview\n{\npublic:\n /**\n Default constructor.\n */\n wxDebugReportPreview();\n\n /**\n Destructor is trivial as well but should be virtual for a base class.\n */\n virtual ~wxDebugReportPreview();\n\n /**\n Present the report to the user and allow him to modify it by removing\n some or all of the files and, potentially, adding some notes.\n\n @return @true if the report should be processed or @false if the user\n chose to cancel report generation or removed all files from\n it.\n */\n virtual bool" +"import React from 'react';\nimport { Link } from 'react-router-dom';\nimport AlertBox from '@department-of-veterans-affairs/formation-react/AlertBox';\nimport ErrorMessage from '../../../components/ErrorMessage';\nimport FacilityAddress from '../../../components/FacilityAddress';\n\nexport default function EligibilityCheckMessage({\n eligibility,\n facilityDetails,\n}) {\n if (eligibility.requestFailed) {\n return ;\n }\n if (!eligibility.requestSupported) {\n return (\n
\n \n This facility does not allow scheduling requests for this type of care\n to be made online. Not all facilities support online scheduling for\n all types of care.\n \n
\n );\n }\n if (!eligibility.requestPastVisit) {\n return (\n
\n \n

\n You need to have visited this facility within the past{' '}\n {eligibility.requestPastVisitValue} months to request an appointment\n online for the type of care you selected.\n

\n

\n If you haven\u2019t visited this location within the past{' '}\n {eligibility.requestPastVisitValue} months, please call this\n facility to schedule your appointment or search for another\n facility.\n

\n \n
\n );\n }\n if (!eligibility.requestLimit) {\n return (\n
\n \n

\n Our records show that you have an open" +"# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied. See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\nfrom subprocess import check_call\n\nfrom tests.common.impala_test_suite import ImpalaTestSuite\nfrom tests.common.test_dimensions import (\n create_single_exec_option_dimension,\n create_uncompressed_text_dimension)\nfrom tests.util.filesystem_utils import WAREHOUSE, IS_S3\n\nclass TestHiddenFiles(ImpalaTestSuite):\n \"\"\"\n Tests that files with special prefixes/suffixes are considered 'hidden' when\n loading table metadata and running queries.\n \"\"\"\n\n # The .test file run in these tests relies this table name.\n TBL_NAME = \"test_hidden_files\"\n\n @classmethod\n def get_workload(self):\n return 'functional-query'\n\n @classmethod\n def add_test_dimensions(cls):\n super(TestHiddenFiles, cls).add_test_dimensions()\n cls.ImpalaTestMatrix.add_dimension(create_single_exec_option_dimension())\n cls.ImpalaTestMatrix.add_dimension(\n create_uncompressed_text_dimension(cls.get_workload()))\n # Only run in exhaustive" +"/*\n * Copyright 2014 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage org.springframework.yarn.boot.actuate.endpoint.mvc.domain;\n\npublic class ContainerRegisterResource {\n\n\tprivate String containerId;\n\n\tprivate String trackUrl;\n\n\tpublic ContainerRegisterResource() {\n\t}\n\n\tpublic ContainerRegisterResource(String containerId, String trackUrl) {\n\t\tthis.containerId = containerId;\n\t\tthis.trackUrl = trackUrl;\n\t}\n\n\tpublic String getContainerId() {\n\t\treturn containerId;\n\t}\n\n\tpublic void setContainerId(String containerId) {\n\t\tthis.containerId = containerId;\n\t}\n\n\tpublic String getTrackUrl() {\n\t\treturn trackUrl;\n\t}\n\n\tpublic void setTrackUrl(String trackUrl) {\n\t\tthis.trackUrl = trackUrl;\n\t}\n\n}" +"

\n \n

\n <% if (!isReservedColumn) { %>\n <%- col_type %>\n <% } else { %>\n <%- col_type %>\n <% } %>\n

\n
\n

<%- col_name %>_<% if (col_type == 'geometry' && !read_only) { %>GEO<% } %>

\n

<%- col_type %>_

" +"/*\n * Copyright (C) 2020 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage com.android.server.display;\n\nimport android.annotation.Nullable;\nimport android.hardware.display.DisplayManagerGlobal;\nimport android.view.DisplayInfo;\n\n/**\n * Class for wrapping access of DisplayInfo objects by LogicalDisplay so that we can appropriately\n * invalidate caches when they change.\n */\npublic class DisplayInfoProxy {\n private DisplayInfo mInfo;\n\n public DisplayInfoProxy(@Nullable DisplayInfo info) {\n mInfo = info;\n }\n\n /**\n * Set the current {@link DisplayInfo}.\n *\n * The also automatically invalidates the display info caches across the entire system.\n * @param info the new {@link DisplayInfo}.\n */\n public void set(@Nullable DisplayInfo info) {\n mInfo = info;\n DisplayManagerGlobal.invalidateLocalDisplayInfoCaches();\n }\n\n /**\n * Returns the current {@link DisplayInfo}.\n *\n * This info must" +"\" Author: liuchengxu \n\" Description: List the jump list with the preview.\n\nlet s:save_cpo = &cpoptions\nset cpoptions&vim\n\nlet s:jumps = {}\n\nfunction! s:jumps.source() abort\n let cout = clap#api#win_execute(g:clap.start.winid, 'jumps')\n let s:jumplist = split(cout, '\\n')\n return [s:jumplist[0]] + reverse(s:jumplist[1:])\nendfunction\n\nfunction! s:jumps.sink(line) abort\n if empty(a:line)\n return\n endif\n let idx = index(s:jumplist, a:line)\n if idx == -1\n return\n endif\n let pointer = match(s:jumplist, '\\v^\\s*\\>')\n if pointer ==# a:line\n return\n endif\n let delta = idx - pointer\n let cmd = delta < 0 ? abs(delta).\"\\\" : delta.\"\\\"\n execute 'normal!' cmd\n normal! zz\nendfunction\n\nfunction! s:jumps.on_move() abort\n let curline = g:clap.display.getcurline()\n let matched = matchlist(curline, '^\\s\\+\\(\\d\\+\\)\\s\\+\\(\\d\\+\\)\\s\\+\\(\\d\\+\\)\\s\\+\\(.*\\)$')\n if len(matched) < 5\n return\n endif\n call clap#provider#marks#preview_impl(matched[2], matched[3], matched[4])\nendfunction\n\nlet s:jumps.syntax = 'clap_jumps'\nlet g:clap#provider#jumps# = s:jumps\n\nlet &cpoptions = s:save_cpo\nunlet s:save_cpo" +"# Note: This file is tested as part of Bosun's tests. Editing outside of comments\n# may cause tests to fail\n\n# Scheme will be used with Hostname when links are created in templates (i.e. acknowledge links)\nScheme = \"https\"\n\n# Hostname will be used when links are created in templates (i.e. acknowledge links)\nHostname = \"bosun.example.com\"\n\n# The HTTP IP and Port to Listen on. Default is \":8070\"\nHTTPListen = \":8080\"\n\n# Alert checks are run by default every CheckFrequency * DefaultRunEvery. RunEvery can be overridden\n# by indivdual alerts. Defaults are \"5m\" and 1\nCheckFrequency = \"1m\"\nDefaultRunEvery = 5\n\n# Path to the rule file (file that contains definitions for alerts, macros, lookups, templates, and notifications)\nRuleFilePath = \"dev.sample.conf\"\n\n# timeanddate.com zones (only for use in the UI)\nTimeAndDate = [ 202, 75, 179, 136 ]\n\n# An API key for generating goo.gl shortlinks\nShortURLKey = \"aKey\"\n\n# The minumum amount of alerts to create an alert group on the dashboard. Default is 5\nMinGroupSize = 5\n\n# How many unknown alerts in a check cycle are needed before a group notiofication is created\nUnknownThreshold = 5\n\n# This makes it so Bosun ping's and records a" +"\n* @package PHPCI\n* @subpackage Web\n*/\nclass User\n{\n /**\n * Proxies method calls through to the current active user model.\n * @param $method\n * @param array $params\n * @return mixed|null\n */\n public function __call($method, $params = array())\n {\n if (empty($_SESSION['phpci_user'])) {\n return null;\n }\n\n $user = $_SESSION['phpci_user'];\n\n if (!is_object($user)) {\n return null;\n }\n\n return call_user_func_array(array($user, $method), $params);\n }\n}" +"\"\"\"\nCS131 - Computer Vision: Foundations and Applications\nAssignment 4\nAuthor: Donsuk Lee (donlee90@stanford.edu)\nDate created: 09/2017\nLast modified: 10/19/2018\nPython Version: 3.5+\n\"\"\"\n\nimport numpy as np\nfrom skimage import color\n\n\ndef energy_function(image):\n \"\"\"Computes energy of the input image.\n\n For each pixel, we will sum the absolute value of the gradient in each direction.\n Don't forget to convert to grayscale first.\n\n Hint: Use np.gradient here\n\n Args:\n image: numpy array of shape (H, W, 3)\n\n Returns:\n out: numpy array of shape (H, W)\n \"\"\"\n H, W, _ = image.shape\n out = np.zeros((H, W))\n gray_image = color.rgb2gray(image)\n\n ### YOUR CODE HERE\n pass\n ### END YOUR CODE\n\n return out\n\n\ndef compute_cost(image, energy, axis=1):\n \"\"\"Computes optimal cost map (vertical) and paths of the seams.\n\n Starting from the first row, compute the cost of each pixel as the sum of energy along the\n lowest energy path from the top.\n\n We also return the paths, which will contain at each pixel either -1, 0 or 1 depending on\n where to go up if we follow a seam at this pixel.\n\n In the case that energies are equal, choose the left-most path. Note that\n np.argmin returns the index of the first ocurring minimum of the specified" +"/*\nCopyright (c) 2018 The Helm Authors\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/spf13/cobra\"\n)\n\nvar (\n\tversion = \"devel\"\n\tuserAgentComment string\n)\n\n// Returns the user agent to be used during calls to the chart repositories\n// Examples:\n// chart-repo/devel\n// chart-repo/1.0\n// chart-repo/1.0 (monocular v1.0-beta4)\n// More info here https://github.com/kubeapps/kubeapps/issues/767#issuecomment-436835938\nfunc userAgent() string {\n\tua := \"chart-repo/\" + version\n\tif userAgentComment != \"\" {\n\t\tua = fmt.Sprintf(\"%s (%s)\", ua, userAgentComment)\n\t}\n\treturn ua\n}\n\nvar versionCmd = &cobra.Command{\n\tUse: \"version\",\n\tShort: \"returns version information\",\n\tRun: func(cmd *cobra.Command, args []string) {\n\t\tfmt.Println(version)\n\t},\n}" +"### Localization in ADF\n\nLocalization is the process of making something local in character or restricting it to a particular place. \n\nDates are not written the same around the world. That is where localizing a date comes in handy. ADF lets you dynamically change the way dates are written in your app so that they can adapt to to a specific region.\n\n## Setting up the configuration in your app\n\nYou can overwrite the default values of this pipe by adding these properties to your `app.config.json`:\n\n```json\n \"dateValues\": {\n \"defaultDateFormat\": \"mediumDate\",\n \"defaultDateTimeFormat\": \"MMM d, y, h:mm\",\n \"defaultLocale\": \"en-US\"\n }\n```\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| defaultDateFormat | string | The format to apply to date values |\n| defaultDateTimeFormat | string | The format to apply to date-time values |\n| defaultLocale | string | The locale id to apply |\n\nThis configuration overwrites the values in the [localized date pipe](../core/pipes/localized-date.pipe.md) as well as other components to have more consistency across your app. However, you can still overwrite these values any time by using the pipe in your code. \n\n## Adding language support\n\nDate values are also localized in your" +"Thank you for downloading Gregdumb's time-of-day skydome blueprint, version 1.4! Created with Unreal Engine 4.8 but tested up to 4.18.\r\n\r\nYou can use this work any way you want, commercial or not. I won't sue you if you don't credit me, but it would be nice if you did.\r\n\r\n\r\n//////////////////////////////\r\n\r\nInstallation Instructions:\r\n\r\n- Extract this archive;\r\n- Copy the \"Content\" folder into your project folder (it should merge with the content folder already there);\r\n- When it asks if you want to merge folders, say yes;\r\n- Launch UnrealEd, and load the project you copied that folder to;\r\n- Go to 'File > Open Level' and choose \"TimeOfDayTemplate.umap\" (it should be located under \\YourProject\\Content\\Maps);\r\n- Hit simulate, and watch the sun move!\r\n\r\n//////////////////////////////\r\n\r\n\r\nFor more information and details please visit https://gregbrisebois.com.\r\n\r\nContact me here: https://forums.unrealengine.com/member.php?179-gregdumb Please give me criticism and feedback!\r\n\r\n\r\nCreated by Greg Brisebois, with special thanks to Shoiko and lbraud." +"# Copyright 2020 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# Dockerfile for running a specific benchmark for a specific fuzzer.\n#\n# This Dockerfile adds essential files into the runner image, regardless of\n# whether it was built from `benchmark-runner/Dockerfile` or a custom\n# `runner.Dockerfile`.\n#\n# The benchmark/fuzzer pair is defined by build arguments. To specify them, pass\n# the following arguments to docker build:\n#\n# $ docker build \\\n# --build-arg benchmark=afl \\\n# --build-arg fuzzer=freetype2-2017 \\\n# ...\n\nARG fuzzer\nARG benchmark\n\n# We use Docker's multi-stage build feature to create a minimal runner image,\n# separate from the sometimes bulky builder images.\n\n# We take the already built" +"#!/usr/bin/env bash\n#\n# Summary: Install a Ruby version using ruby-build\n#\n# Usage: rbenv install [-f|-s] [-kpv] \n# rbenv install [-f|-s] [-kpv] \n# rbenv install -l|--list\n# rbenv install --version\n#\n# -l/--list List latest stable versions for each Ruby\n# -L/--list-all List all local versions\n# -f/--force Install even if the version appears to be installed already\n# -s/--skip-existing Skip if the version appears to be installed already\n#\n# ruby-build options:\n#\n# -k/--keep Keep source tree in $RBENV_BUILD_ROOT after installation\n# (defaults to $RBENV_ROOT/sources)\n# -p/--patch Apply a patch from stdin before building\n# -v/--verbose Verbose mode: print compilation status to stdout\n# --version Show version of ruby-build\n#\n# For detailed information on installing Ruby versions with\n# ruby-build, including a list of environment variables for adjusting\n# compilation, see: https://github.com/rbenv/ruby-build#usage\n#\nset -e\n[ -n \"$RBENV_DEBUG\" ] && set -x\n\n# Add `share/ruby-build/` directory from each rbenv plugin to the list of\n# paths where build definitions are looked up.\nshopt -s nullglob\nfor plugin_path in \"$RBENV_ROOT\"/plugins/*/share/ruby-build; do\n RUBY_BUILD_DEFINITIONS=\"${RUBY_BUILD_DEFINITIONS}:${plugin_path}\"\ndone\nexport RUBY_BUILD_DEFINITIONS\nshopt -u nullglob\n\n# Provide rbenv completions\nif [ \"$1\" = \"--complete\" ]; then\n echo --list\n echo --list-all\n echo --force" +"/* This file is part of Clementine.\n Copyright 2010, David Sansome \n\n Clementine is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Clementine is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Clementine. If not, see .\n*/\n\n#include \n\n#include \"test_utils.h\"\n#include \"gtest/gtest.h\"\n\n#include \"library/libraryplaylistitem.h\"\n#include \"playlist/playlist.h\"\n#include \"mock_settingsprovider.h\"\n#include \"mock_playlistitem.h\"\n\n#include \n#include \n\nusing std::shared_ptr;\nusing ::testing::Return;\n\nnamespace {\n\nclass PlaylistTest : public ::testing::Test {\n protected:\n PlaylistTest()\n : playlist_(nullptr, nullptr, nullptr, 1),\n sequence_(nullptr, new DummySettingsProvider)\n {\n }\n\n void SetUp() {\n playlist_.set_sequence(&sequence_);\n }\n\n MockPlaylistItem* MakeMockItem(const QString& title,\n const QString& artist = QString(),\n const QString& album = QString(),\n int length = 123) const {\n Song metadata;\n metadata.Init(title, artist, album, length);\n\n MockPlaylistItem* ret = new MockPlaylistItem;\n EXPECT_CALL(*ret, Metadata())\n .WillRepeatedly(Return(metadata));\n\n return ret;\n }\n\n shared_ptr MakeMockItemP(\n const QString& title, const QString&" +"\ufeffusing System;\nusing Newtonsoft.Json;\n\nnamespace Microsoft.Deployment.Common.Model.Informatica\n{\n public class InformaticaSchedule : InformaticaObject\n {\n [JsonProperty(\"orgId\", NullValueHandling = NullValueHandling.Ignore)]\n public string OrgId;\n\n [JsonProperty(\"startTime\", NullValueHandling = NullValueHandling.Ignore)]\n public DateTime StartTime = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 1, 0, 0, DateTimeKind.Utc);\n\n [JsonProperty(\"interval\", NullValueHandling = NullValueHandling.Ignore)]\n public string Interval;\n\n [JsonProperty(\"frequency\")]\n public int Frequency = 1;\n\n [JsonProperty(\"mon\")]\n public bool Mon = true;\n\n [JsonProperty(\"tue\")]\n public bool Tue = true;\n\n [JsonProperty(\"wed\")]\n public bool Wed = true;\n\n [JsonProperty(\"thu\")]\n public bool Thu = true;\n\n [JsonProperty(\"fri\")]\n public bool Fri = true;\n\n [JsonProperty(\"sat\")]\n public bool Sat = true;\n\n [JsonProperty(\"sun\")]\n public bool Sun = true;\n\n [JsonProperty(\"weekDay\")]\n public const bool WeekDay = false;\n\n [JsonProperty(\"dayOfMonth\")]\n public const int DayOfMonth = 0;\n\n [JsonProperty(\"timeZoneId\", NullValueHandling = NullValueHandling.Ignore)]\n public const string TimeZoneId = \"GMT\";\n\n public InformaticaSchedule()\n {\n Type = \"schedule\";\n }\n\n public InformaticaSchedule(DateTime start, int frequency) : this()\n {\n this.Frequency = frequency;\n\n StartTime = start.ToUniversalTime();\n }\n }\n}" +"module Xcodeproj\n class Project\n module Object\n # This class represents a custom build rule of a Target.\n #\n class PBXBuildRule < AbstractObject\n # @!group Attributes\n\n # @return [String] the name of the rule.\n #\n attribute :name, String\n\n # @return [String] a string representing what compiler to use.\n #\n # @example\n # `com.apple.compilers.proxy.script`.\n #\n attribute :compiler_spec, String\n\n # @return [String] the type of the files that should be processed by\n # this rule.\n #\n # @example\n # `pattern.proxy`.\n #\n attribute :file_type, String\n\n # @return [String] the pattern of the files that should be processed by\n # this rule. This attribute is an alternative to to\n # `file_type`.\n #\n # @example\n # `*.css`.\n #\n attribute :file_patterns, String\n\n # @return [String] whether the rule is editable.\n #\n # @example\n # `1`.\n #\n attribute :is_editable, String, '1'\n\n # @return [ObjectList] the file references for the\n # output files.\n #\n attribute :output_files, Array\n\n # @return [ObjectList] the compiler flags used when creating the\n # respective output files.\n #\n attribute :output_files_compiler_flags, Array\n\n # @return [String] the content of the script to use for the build rule.\n #\n # @note This attribute is present if the #{#compiler_spec} is\n # `com.apple.compilers.proxy.script`\n #\n attribute :script, String\n\n # @!group Helpers" +"/*\n * Copyright (C) 2014 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n#ifndef POINTERDECLARATIONS_H\n#define POINTERDECLARATIONS_H\n\n#include \n\n/**\n * @ingroup Renderer\n * @file PointerDeclarations.h\n * @brief File containing forward declarations for renderer types and smart pointers.\n *\n * The convention used for smart pointer typedefs is to prefix @c std::shared_ptr types with @c Ptr,\n * and @c std::weak_ptr types with @c WeakPtr.\n */\n\nstruct Attribute;\ntemplate class AttributeArray;\nstruct AttributeSet;\nclass DebugRenderer;\nclass DirectTexture;\nclass InstancedShader;\ntemplate class InstancedShaderBase;\nclass Mesh;\nclass MeshInstance;\nclass RenderList;\nstruct RenderNode;\nclass Renderer;\nclass Shader;\nclass ShaderBase;\ntemplate class SingletonInstancedShaderBase;\nclass SpriteShader;\nclass Texture;\n\n/**\n * @ingroup Renderer\n * @brief Shared pointer typedef for" +"/*\n * Copyright 2015 The FireNio Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage com.firenio.buffer;\n\nimport java.nio.ByteBuffer;\n\n/**\n * @author wangkai\n */\nclass UnpooledHeapByteBuf extends HeapByteBuf {\n\n UnpooledHeapByteBuf(byte[] memory, int off, int len) {\n super(memory);\n this.abs_read_index = off;\n this.abs_write_index = len + off;\n }\n\n UnpooledHeapByteBuf(ByteBuffer memory) {\n super(memory);\n this.abs_read_index = 0;\n this.abs_write_index = memory.position();\n }\n\n @Override\n public int capacity() {\n return memory.length;\n }\n\n @Override\n public void expansion(int cap) {\n byte[] oldBuffer = memory;\n byte[] newBuffer = new byte[cap];\n if (hasReadableBytes()) {\n copy(oldBuffer, absReadIndex(), newBuffer, 0, readableBytes());\n }\n memory = newBuffer;\n }\n\n @Override\n public boolean isPooled() {\n return false;\n }\n\n @Override\n protected final void release0() {}\n\n @Override\n public void reset(ByteBuffer memory) {\n if (memory.isDirect()) {\n throw" +"/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\n.jfx-dialog-layout {\n -fx-text-fill: rgba(0, 0, 0, 0.87);\n}\n\n.jfx-dialog-layout > .jfx-layout-heading {\n -fx-alignment: center-left;\n -fx-font-weight: BOLD;\n -fx-padding: 24 24 20 24;\n}\n\n.jfx-dialog-layout > .jfx-layout-actions {\n -fx-alignment: center-right;\n -fx-hgap: 8;\n -fx-padding: 8 8 8 8;\n}\n\n.jfx-dialog-layout > .jfx-layout-actions .jfx-button {\n -fx-pref-height: 36;\n -fx-max-height: 36;\n -fx-min-width: 64;\n -fx-padding: 8;\n}\n\n.jfx-dialog-layout > .jfx-layout-body {\n -fx-alignment: center-left;\n -fx-padding: 0 24 24 24;\n -fx-pref-width: 400;\n}\n\n.jfx-dialog-layout > .jfx-layout-body .label {\n -fx-text-fill:" +"Tomato USB Mod (ND version)\n===========================\n\nbuild 01 - 12/17/2008\n---------------------\n\nBased on the official Tomato 1.23 ND.\n\nAdded support for USB 1.1 (OHCI and UHCI) and USB 2.0.\n\nUSB support is configurable via Tomato GUI.\n\nUSB storage (Ext2, Ext3 and FAT file systems) and USB printing support.\n\nNon-spooling printer server (p910nd 0.92) is included and started\nautomatically if you enable printing support. Bidirectional copying can\nbe disabled via GUI if it causes problems with your printer.\n\nFixed slow running clock problem on Asus WL-520GU. After flashing this\nfirmware you have to reboot the router at least once for clock to get\nfixed.\n\nUPnP is disabled by default.\n\nAdded CGI support to HTTP daemon - you can place your cgi scripts into\n\"/www/ext/cgi-bin\" folder, and they will be executed when you access them\nvia http:///ext/cgi-bin/my_script_name.\n\n\nbuild 02 - 12/20/2008\n---------------------\n\nAllowed changing USB settings without rebooting a router.\n\nFixed non-working AIR (WLAN) LED on Asus WL-520GU.\n\nUSB support code clean-up.\n\n\nbuild 03 - 12/22/2008\n---------------------\n\nCosmetic changes only.\n\n\nbuild 04 - 12/26/2008\n---------------------\n\nAdded FTP server daemon (vsftpd 2.0.7) configurable via GUI.\n\nUpdated kernel printer driver to version 0.13 and included some fixes\nto the printer driver made by Asus." +"package com.alibaba.rsocket.util;\n\nimport io.netty.buffer.ByteBuf;\nimport io.netty.buffer.Unpooled;\n\nimport java.nio.charset.StandardCharsets;\nimport java.util.Date;\n\n/**\n * Byte buf builder\n *\n * @author leijuan\n */\npublic class ByteBufBuilder {\n ByteBuf buf = Unpooled.buffer();\n\n public static ByteBufBuilder builder() {\n return new ByteBufBuilder();\n }\n\n public ByteBufBuilder value(byte value) {\n buf.writeByte(value);\n return this;\n }\n\n public ByteBufBuilder value(int value) {\n buf.writeInt(value);\n return this;\n }\n\n public ByteBufBuilder value(long value) {\n buf.writeLong(value);\n return this;\n }\n\n public ByteBufBuilder value(double value) {\n buf.writeDouble(value);\n return this;\n }\n\n public ByteBufBuilder value(boolean value) {\n buf.writeByte(value ? 1 : 0);\n return this;\n }\n\n public ByteBufBuilder value(byte[] value) {\n buf.writeInt(value.length);\n buf.writeBytes(value);\n return this;\n }\n\n public ByteBufBuilder value(ByteBuf value) {\n buf.writeInt(value.readableBytes());\n buf.writeBytes(value);\n return this;\n }\n\n public ByteBufBuilder value(String value) {\n if (value == null || value.isEmpty()) {\n buf.writeInt(0);\n } else {\n byte[] bytes = value.getBytes(StandardCharsets.UTF_8);\n buf.writeInt(bytes.length);\n buf.writeBytes(bytes);\n }\n return this;\n }\n\n public ByteBufBuilder value(Date value) {\n buf.writeLong(value.getTime());\n return this;\n }\n\n public ByteBuf build() {\n return this.buf;\n }\n\n}" +"/*\n * Carrot2 project.\n *\n * Copyright (C) 2002-2020, Dawid Weiss, Stanis\u0142aw Osi\u0144ski.\n * All rights reserved.\n *\n * Refer to the full license file \"carrot2.LICENSE\"\n * in the root folder of the repository checkout or at:\n * https://www.carrot2.org/carrot2.LICENSE\n */\npackage org.carrot2.math.mahout;\n\npublic class SingularValueDecomposition {\n\n private final double[][] u;\n private final double[][] v;\n\n private final double[] s;\n\n private final int m;\n private final int n;\n\n private boolean transpositionNeeded = false;\n\n public SingularValueDecomposition(Matrix arg) {\n if (arg.numRows() < arg.numCols()) {\n transpositionNeeded = true;\n }\n\n // Derived from LINPACK code.\n // Initialize.\n double[][] a;\n if (transpositionNeeded) {\n // use the transpose Matrix\n m = arg.numCols();\n n = arg.numRows();\n a = new double[m][n];\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < n; j++) {\n a[i][j] = arg.get(j, i);\n }\n }\n } else {\n m = arg.numRows();\n n = arg.numCols();\n a = new double[m][n];\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < n; j++) {\n a[i][j] = arg.get(i, j);\n }\n }\n }\n\n int nu = Math.min(m, n);\n s = new double[Math.min(m + 1, n)];\n u = new double[m][nu];\n v = new double[n][n];\n double[] e =" +"\n * @license http://opensource.org/licenses/mit-license.php MIT\n *\n * @link http://www.ppi.io\n */\n\nnamespace PPI\\FrameworkTest\\ServiceManager\\Fixtures;\n\nuse stdClass;\nuse Zend\\ServiceManager\\AbstractFactoryInterface;\nuse Zend\\ServiceManager\\MutableCreationOptionsInterface;\nuse Zend\\ServiceManager\\ServiceLocatorInterface;\n\n/**\n * Class AbstractFactoryWithMutableCreationOptions.\n *\n * @author V\u00edtor Brand\u00e3o \n */\nclass AbstractFactoryWithMutableCreationOptions implements AbstractFactoryInterface, MutableCreationOptionsInterface\n{\n /**\n * @param \\Zend\\ServiceManager\\ServiceLocatorInterface $serviceLocator\n * @param $name\n * @param $requestedName\n *\n * @return bool\n */\n public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)\n {\n return true;\n }\n\n /**\n * @param \\Zend\\ServiceManager\\ServiceLocatorInterface $serviceLocator\n * @param $name\n * @param $requestedName\n *\n * @return \\stdClass\n */\n public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)\n {\n return new stdClass();\n }\n\n public function setCreationOptions(array $options)\n {\n $this->options = $options;\n }\n}" +".. _tutorial:\n\nTutorial\n========\n\nThis is a step-by-step tutorial to help you configure OnionBalance.\n\nOnionBalance implements `round-robin` like load balancing on top of Tor\nonion services. A typical OnionBalance deployment will incorporate one management\nservers and multiple backend application servers.\n\nAssumptions\n-----------\n\nYou want to run:\n\n- one or more OnionBalance processes, to perform load balancing, on hosts\n named ``obhost1``, ``obhost2``.\n- two or more Tor processes, to run the Onion Services, on hosts named\n ``torhost1``, ``torhost2``.\n- two or more servers (e.g. web servers) or traditional load balancers on\n hosts named ``webserver1``, ``webserver2``.\n\nScaling up:\n\n- the number of ``obhostX`` can be increased but this will not help handling\n more traffic.\n- the number of ``torhostX`` can be increased up to 60 instances to handle\n more traffic.\n- the number of ``webserverX`` can be increased to handle more traffic until\n the Tor daemons in front of them become the bottleneck.\n\nScaling down:\n\n- the three type of services can be run on the same hosts. The number of hosts\n can scale down to one.\n\nReliability:\n\nContrarily to traditional load balancers, the OnionBalance daemon does not\nreceive and forward traffic. As such, ``obhostX`` does not need to be in\nproximity" +" presented in\n DD SURROUND(TM)\n\n BABYLON 5\n\n STARRING\nMICHAEL O'HARE as Commander Jeffrey Sinclair\nCLAUDIA CHRISTIAN as Lt. Commander Susan Ivanova\nJERRY DOYLE as Security Chief Michael Garibaldi\nMIRA FURLAN as Delenn\n\n ALSO STARRING\nRICHARD BIGGS as Dr. Stephen Franklin\nANDREA THOMPSON as Talia Winters\nSTEPHEN FURST as Vir\nBILL MUMY as Lennier\nCAITLIN BROWN as Na'Toth\n\n WITH\nANDREAS KATSULAS as G'Kar\n\n AND\nPETER JURASIK as Londo\n\n Created by J. MICHAEL STRACZYNSKI\n\n[production credits]\n\n \"A VOICE IN THE WILDERNESS\"\n PART II\n\n GUEST STARRING\nLOUIS TURENNE as Draal\nRON CANADA as Captain Ellis Pierce\nCURT LOWENS as Varn\nDENISE GENTILE as Lise Hampton\nAKI ALEONG as Senator Hidoshi\n\n Director of Photography JOHN C. FLINN, III A.S.C.\n Conceptual Consultant HARLAN ELLISON\n Produced by JOHN COPELAND\n Written by J. MICHAEL STRACZYNSKI\n Directed by JANET GREEK\n\n[end credits]\n\n Executive Producer DOUGLAS NETTER\n Executive Producer J. MICHAEL STRACZYNSKI\n\n[closing credits]\n\n Associate Producer GEORGE JOHNSEN\n\n Featuring\nJOSHUA COX Tech #2\nCHIP HELLER Rowdy #1\nLENORE KASDORF ISN Reporter\nMICHELAN SISTI Takarn\nMARIANNE ROBERTSON Tech #1\n\n Story Editor LAWRENCE G. DITILLIO\n\n Music by CHRISTOPHER FRANKE\n Music Performed by CHRISTOPHER FRANKE\n AND\n THE BERLIN\n SYMPHONIC FILM\n ORCHESTRA\n\n Production Designer JOHN IACOVELLI\n\n Casting by MARY JO SLATER, C.S.A.\n\n Unit Production" +"---\nDescription: An application sends the WM\\_MDIACTIVATE message to a multiple-document interface (MDI) client window to instruct the client window to activate a different MDI child window.\nms.assetid: c5de18b5-fac3-4e55-9eca-3b6672df0e7b\ntitle: WM_MDIACTIVATE message (Winuser.h)\nms.topic: reference\nms.date: 05/31/2018\n---\n\n# WM\\_MDIACTIVATE message\n\nAn application sends the **WM\\_MDIACTIVATE** message to a multiple-document interface (MDI) client window to instruct the client window to activate a different MDI child window.\n\n\n```C++\n#define WM_MDIACTIVATE 0x0222\n```\n\n\n\n## Parameters\n\n
\n\n*wParam* \n
\n\nA handle to the MDI child window to be activated.\n\n
\n\n*lParam* \n
\n\nThis parameter is not used.\n\n
\n\n## Return value\n\nType: **LRESULT**\n\nIf an application sends this message to an MDI client window, the return value is zero.\n\nAn MDI child window should return zero if it processes this message.\n\n## Remarks\n\nAs the client window processes this message, it sends **WM\\_MDIACTIVATE** to the child window being deactivated and to the child window being activated. The message parameters received by an MDI child window are as follows:\n\n
\n\n*wParam*\n
\n\nA handle to the MDI child window being deactivated.\n\n
\n\n*lParam*\n
\n\nA handle to the MDI" +"/**\n * Copyright 2006 DFKI GmbH.\n * All Rights Reserved. Use is subject to license terms.\n *\n * This file is part of MARY TTS.\n *\n * MARY TTS is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, version 3 of the License.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this program. If not, see .\n *\n */\npackage marytts.cart.impose;\n\nimport java.util.Arrays;\n\nimport marytts.features.FeatureDefinition;\nimport marytts.features.FeatureVector;\n\n/**\n * A class branched from FeatureFileIndexer which works directly on a feature array, rather than extending FeatureFileReader.\n * \n * @author Marc Schröder\n * \n */\npublic class FeatureArrayIndexer {\n\n\tprivate MaryNode tree = null;\n\tprivate int[] featureSequence = null;\n\tprivate FeatureComparator c = new FeatureComparator(-1, null);\n\tprivate UnitIndexComparator cui = new UnitIndexComparator();\n\tprivate FeatureVector[] featureVectors;\n\tprivate FeatureDefinition featureDefinition;\n\n\tprivate" +"/*\n * Copyright (C) 2018 Square, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage com.squareup.leakcanary;\n\nimport android.app.Activity;\nimport android.app.Application;\nimport android.app.Dialog;\nimport android.app.Fragment;\nimport android.os.MessageQueue;\nimport androidx.annotation.NonNull;\nimport android.view.View;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * A set of default {@link Reachability.Inspector}s that knows about common AOSP and library\n * classes.\n *\n * These are heuristics based on our experience and knownledge of AOSP and various library\n * internals. We only make a reachability decision if we're reasonably sure such reachability is\n * unlikely to be the result of a programmer mistake.\n *\n * For example, no matter how many mistakes we make in our code, the value of Activity.mDestroy\n * will not be influenced by" +"// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved.\n// Released under the terms of the CPL Common Public License version 1.0.\npackage fitnesse.responders.files;\n\nimport fitnesse.FitNesseContext;\nimport fitnesse.authentication.AlwaysSecureOperation;\nimport fitnesse.authentication.SecureOperation;\nimport fitnesse.authentication.SecureResponder;\nimport fitnesse.html.template.HtmlPage;\nimport fitnesse.html.template.PageTitle;\nimport fitnesse.http.Request;\nimport fitnesse.http.Response;\nimport fitnesse.http.SimpleResponse;\n\npublic class RenameFileConfirmationResponder implements SecureResponder {\n\n @Override\n public Response makeResponse(FitNesseContext context, Request request) throws Exception {\n String resource = request.getResource();\n String filename = request.getInput(\"filename\");\n \n HtmlPage page = context.pageFactory.newPage();\n page.setTitle(\"Rename \" + filename);\n page.setPageTitle(new PageTitle(\"Rename File\", resource + filename, \"/\"));\n page.setMainTemplate(\"renameFileConfirmation\");\n page.put(\"filename\", filename);\n page.put(\"resource\", resource);\n\n SimpleResponse response = new SimpleResponse();\n response.setContent(page.html(request));\n return response;\n }\n\n @Override\n public SecureOperation getSecureOperation() {\n return new AlwaysSecureOperation();\n }\n}" +"## Setting up a local instance of Kafka\n\nUse https://github.com/wurstmeister/kafka-docker\n\n\n```\nmkdir kafka-docker\ncd kafka-docker\ngit clone https://github.com/wurstmeister/kafka-docker .\n```\n\n* Edit file `docker-compose-single-broker.yml`\n* Change KAFKA_ADVERTISED_HOST_NAME to your machine's IP. Use `ifconfig | grep 'inet '` to see available ips. It is recommended to use an IP which doesn't change. Otherwise you will need to bring up again the cluster every time the ip changes. You can use the IP of global protect interface: gpd0. On my machine it has a value of: `10.196.100.168`.\n* Start a Kafka cluster:\n```\ndocker-compose -f docker-compose-single-broker.yml up\n```\n\nThis will startup a kafka with a default topic named `test`.\n\n## Configure an integration instance\n* For the broker, set your machine IP address, the one set as KAFKA_ADVERTISED_HOST_NAME in the previous step, with addition of the port `9092`, e.g. `10.196.100.168:9092`.\n\n## Creating Additional Topics for Testing \nIn the `kafka-docker` dir run the following to start a shell:\n```\n./start-kafka-shell.sh host.docker.internal host.docker.internal:2181\n```\nIn the shell run:\n* Create topic with 4 partitions: `$KAFKA_HOME/bin/kafka-topics.sh --zookeeper $ZK --create --topic mytest-topic --partitions 4 --replication-factor 1`\n* Create topic with lz4 compression: `$KAFKA_HOME/bin/kafka-topics.sh --zookeeper $ZK --create --topic test-lz4 --replication-factor 1 --config compression.type=lz4 --partitions" +"
\n
\n\n

About the Project

\n\n

The Snowden Document Search aims to provide a comprehensive, easy-to-use search that draws upon all text from available Snowden documents. The search is based upon the most complete archive of Snowden documents to date. It is meant to encourage users to explore the documents through its extensive filtering capabilities. While users are able to search specifically by title, description, document, document date, and release date, categories also allow filtering by agency, codeword, document topic, countries mentioned, SIGADS, classification, and countries shared with. Results contain not only full document text, pdf, and description, but also links to relevant articles and basic document data, such as codewords used and countries mentioned within the document.

\n \n

This project is a collaboration between Courage Foundation and Transparency Toolkit. Courage Foundation's Edward Snowden Defence Fund maintains the most comprehensive archive of documents and major news stories that have come out following the whistleblowing efforts of Edward Snowden. This archive was the first comprehensive database of Snowden documents initiated and it aims to preserve the historical impact of the documents. Transparency Toolkit and Courage have used the archive to categorise the documents" +"\n * @copyright 2011 The Authors\n * @license http://www.opensource.org/licenses/mit-license.html MIT License\n * @version Build @@version@@\n */\n\nnamespace PasswordLib\\Password;\n\nuse PasswordLib\\Password\\Implementation\\Blowfish;\nrequire_once dirname(__FILE__).\"/Implementation/Blowfish.php\";\n\n/**\n * The Password Factory\n *\n * @category PHPPasswordLib\n * @package Password\n * @author Anthony Ferrara \n */\nclass Factory extends \\PasswordLib\\Core\\AbstractFactory {\n\n /**\n * @var array An array of implementation classes\n */\n protected $implementations = array();\n\n /**\n * Build a new instance of the factory, loading core implementations\n *\n * @return void\n */\n public function __construct() {\n $this->loadImplementations();\n }\n\n /**\n * Create a new password hash from the supplied password\n *\n * This defaults to using Blowfish if $prefix is not supplied\n *\n * @param string $password The password to hash\n * @param string $prefix The prefix for the implementation\n *\n * @return string The hashed password\n * @throws DomainException if the supplied prefix is not supported\n */\n public function createHash(\n $password,\n $prefix = '$2a$',\n array $options = array()\n ) {\n if ($prefix === false) {\n throw new \\DomainException('Unsupported Prefix Supplied');\n }\n foreach ($this->implementations as $impl) {\n if ($impl::getPrefix() == $prefix) {\n $instance = new" +"@mixin epl-textfield {\n\tbackground-color: $color-epl-input;\n\tborder: 1px solid $color-epl-input-border;\n\tborder-radius: 4px;\n\tcolor: $color-text;\n\tdisplay: block;\n\tfont-family: inherit;\n\tfont-size: 12px;\n\tline-height: 23px;\n\tpadding: 5px;\n\twidth: $width-epl-module-input;\n\n\t// Placeholder text\n\t&::-webkit-input-placeholder {\n\t\tfont-style: italic;\n\t\tcolor: $color-epl-text-secondary;\n\t}\n\n\t&:-moz-placeholder {\n\t\tfont-style: italic;\n\t\tcolor: $color-epl-text-secondary;\n\t}\n\n\t&.placeholder {\n\t\tfont-style: italic;\n\t\tcolor: $color-epl-text-secondary;\n\t}\n}\n\n// styling for edit area and category select source mode\n@mixin epl-editorarea {\n\tdisplay: block; // Webkit treats textareas as inline elements. Fixes BugId:12664\n\tfont-family: Consolas, \"Eupheima UCAS\", Ayuthaya, Menlo, monospace;\n\tfont-size: 13px;\n\tmargin: 0;\n\tpadding: 0;\n\toutline: none;\n\tresize: none; // No resize grip for Webkit / FF4\n\twidth: 100%;\n}" +"(*\n * Copyright (c) 2019 Craig Ferguson \n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *)\nopen Gen_rule_helpers\n\n(** Tests that the result of 'cd && ocaml-mdx test [options] test-case.md'\n is equal to '/test-case.md.expected' if it exists or to\n '

/test-case.md' otherwise. *)\nlet pp_expect_action fmt dir =\n Fmt.pf fmt\n {|\n (with-stdout-to %%{target}\n (chdir %s\n (run ocaml-mdx test --output - %a%s)))|}\n dir.dir_name pp_options dir.options dir.test_file\n\n(** Tests that 'cd && ocaml-mdx test [options] ' exits with a\n failing code and that its output" +"/* Copyright (C) 2016, Nikolai Wuttke. All rights reserved.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see .\n */\n\n#pragma once\n\n#include \"data/audio_buffer.hpp\"\n#include \"data/sound_ids.hpp\"\n#include \"loader/byte_buffer.hpp\"\n\n#include \n#include \n\n\nnamespace rigel::loader {\n\nclass LeStreamReader;\n\nclass AudioPackage {\npublic:\n static constexpr auto AUDIO_DICT_FILE = \"AUDIOHED.MNI\";\n static constexpr auto AUDIO_DATA_FILE = \"AUDIOT.MNI\";\n\n AudioPackage(\n const ByteBuffer& audioDictData,\n const ByteBuffer& bundledAudioData);\n\n data::AudioBuffer loadAdlibSound(data::SoundId id) const;\n\nprivate:\n struct AdlibSound {\n explicit AdlibSound(LeStreamReader& reader);\n\n std::uint8_t mOctave = 0;\n std::array mInstrumentSettings;\n std::vector mSoundData;\n };\n\n data::AudioBuffer renderAdlibSound(const AdlibSound& sound) const;\n\nprivate:\n std::vector mSounds;\n};\n\n\n}" +"//\n// NumberFormatter.h\n//\n// Library: Foundation\n// Package: Core\n// Module: NumberFormatter\n//\n// Definition of the NumberFormatter class.\n//\n// Copyright (c) 2004-2008, Applied Informatics Software Engineering GmbH.\n// and Contributors.\n//\n// SPDX-License-Identifier:\tBSL-1.0\n//\n\n\n#ifndef Foundation_NumberFormatter_INCLUDED\n#define Foundation_NumberFormatter_INCLUDED\n\n\n#include \"Poco/Foundation.h\"\n#include \"Poco/NumericString.h\"\n\n\nnamespace Poco {\n\n\nclass Foundation_API NumberFormatter\n\t/// The NumberFormatter class provides static methods\n\t/// for formatting numeric values into strings.\n\t///\n\t/// There are two kind of static member functions:\n\t/// * format* functions return a std::string containing\n\t/// the formatted value.\n\t/// * append* functions append the formatted value to\n\t/// an existing string.\n{\npublic:\n\tenum BoolFormat\n\t{\n\t\tFMT_TRUE_FALSE,\n\t\tFMT_YES_NO,\n\t\tFMT_ON_OFF\n\t};\n\n\tstatic const unsigned NF_MAX_INT_STRING_LEN = 32; // increase for 64-bit binary formatting support\n\tstatic const unsigned NF_MAX_FLT_STRING_LEN = POCO_MAX_FLT_STRING_LEN;\n\n\tstatic std::string format(int value);\n\t\t/// Formats an integer value in decimal notation.\n\n\tstatic std::string format(int value, int width);\n\t\t/// Formats an integer value in decimal notation,\n\t\t/// right justified in a field having at least\n\t\t/// the specified width.\n\n\tstatic std::string format0(int value, int width);\n\t\t/// Formats an integer value in decimal notation,\n\t\t/// right justified and zero-padded in a field\n\t\t/// having at least the specified width.\n\n\tstatic std::string formatHex(int" +"-- | Halogen does not support writing an HTML string to the DOM. This component allows us to do this\n-- | at a particular controlled HTML node.\nmodule Conduit.Component.RawHTML where\n\nimport Prelude\n\nimport Conduit.Foreign.Marked (RawHTML, marked)\nimport Data.Foldable (for_)\nimport Data.Maybe (Maybe(..))\nimport Effect (Effect)\nimport Effect.Aff.Class (class MonadAff)\nimport Halogen as H\nimport Halogen.HTML as HH\nimport Halogen.HTML.Properties as HP\nimport Web.HTML (HTMLElement)\n\n-- | For an explanation of how to properly use the PureScript FFI with JavaScript, please see the\n-- | `src/Foreign/Marked.js` file and the `Conduit.Foreign.Marked` module.\nforeign import unsafeSetInnerHTML :: HTMLElement -> RawHTML -> Effect Unit\n\ntype State =\n { elemRef :: H.RefLabel\n , markdown :: String\n }\n\ntype Input =\n { markdown :: String }\n\ndata Action\n = SetInnerHTML\n | Receive Input\n\ncomponent :: forall q o m. MonadAff m => H.Component HH.HTML q Input o m\ncomponent = H.mkComponent\n { initialState: \\{ markdown } -> { elemRef: H.RefLabel \"markdown\", markdown }\n , render\n , eval: H.mkEval $ H.defaultEval\n { handleAction = handleAction\n , receive = Just <<< Receive\n , initialize = Just SetInnerHTML\n }\n }\n where\n handleAction :: Action -> H.HalogenM State Action () o m Unit\n handleAction = case _ of\n SetInnerHTML" +"/* SPDX-License-Identifier: GPL-2.0 */\n/*\n * Copyright (C) Microsoft Corporation\n */\n\n#ifndef __TPM2_FTPM_TEE_H__\n#define __TPM2_FTPM_TEE_H__\n\n/* This UUID is generated with uuidgen */\n#define TA_FTPM_UUID { 0xBC50D971, 0xD4C9, 0x42C4, \\\n\t{0x82, 0xCB, 0x34, 0x3F, 0xB7, 0xF3, 0x78, 0x96} }\n\n/* The TAFs ID implemented in this TA */\n#define FTPM_OPTEE_TA_SUBMIT_COMMAND (0)\n#define FTPM_OPTEE_TA_EMULATE_PPI (1)\n\n/* max. buffer size supported by fTPM */\n#define MAX_COMMAND_SIZE 4096\n#define MAX_RESPONSE_SIZE 4096\n\n/**\n * struct ftpm_tee_private - fTPM's private context\n * @tee_dev: struct udevice for TEE.\n * @session: fTPM TA session identifier.\n * @is_open: Indicates whether the driver is already opened by client or not.\n * @shm: Memory pool shared with fTPM TA in TEE.\n */\nstruct ftpm_tee_private {\n\tstruct udevice *tee_dev;\n\tu32 session;\n\tint is_open;\n\tstruct tee_shm *shm;\n};\n\n#endif /* __TPM2_FTPM_TEE_H__ */" +"open! Import\n\ninclude Ast_pattern0\n\nlet save_context ctx = ctx.matched\nlet restore_context ctx backup = ctx.matched <- backup\n\nlet incr_matched c = c.matched <- c.matched + 1\n\nlet parse (T f) loc ?on_error x k =\n try f { matched = 0 } loc x k\n with Expected (loc, expected) ->\n match on_error with\n | None -> Location.raise_errorf ~loc \"%s expected\" expected\n | Some f -> f ()\n\nmodule Packed = struct\n type ('a, 'b) t = T : ('a, 'b, 'c) Ast_pattern0.t * 'b -> ('a, 'c) t\n\n let create t f = T (t, f)\n let parse (T (t, f)) loc x = parse t loc x f\nend\n\nlet __ = T (fun ctx _loc x k -> incr_matched ctx; k x)\n\nlet __' = T (fun ctx loc x k -> incr_matched ctx; k { loc; txt = x })\n\nlet drop = T (fun ctx _loc _ k -> incr_matched ctx; k)\n\nlet cst ~to_string ?(equal=Poly.equal) v = T (fun ctx loc x k ->\n if equal x v then begin\n incr_matched ctx;\n k\n end else\n fail loc (to_string v)\n);;\n\nlet int v = cst ~to_string:Int.to_string v\nlet char v = cst ~to_string:(Printf.sprintf \"%C\") v" +"1\t1\t1\t1\n1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\n1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\t1\n1\t0\t0\t0\t0\t0\t0\t0\t0\t0\t0\n1\t1\t1\t0\t0\t0\t0\t0\t0\t0\t1\n1\t2\t2\t0\t0\t0\t0\t0\t0\t1\t0\n1\t3\t3\t0\t0\t0\t0\t0\t0\t1\t1\n1\t4\t4\t0\t0\t0\t0\t0\t1\t0\t0\n1\t5\t5\t0\t0\t0\t0\t0\t1\t0\t1\n1\t6\t6\t0\t0\t0\t0\t0\t1\t1\t0\n1\t7\t7\t0\t0\t0\t0\t0\t1\t1\t1\n1\t8\t8\t0\t0\t0\t0\t1\t0\t0\t0\n1\t9\t9\t0\t0\t0\t0\t1\t0\t0\t1\n1\t10\t10\t0\t0\t0\t0\t1\t0\t1\t0\n1\t11\t11\t0\t0\t0\t0\t1" +"# S6:2017 Security Misconfiguration\n\n## Attack Vectors\n\nUnused pages are replaced with unlinked triggers, unprotected files and directories are changed to public resources, like public buckets. Attackers will try to identify misconfigured functions with long timeout or low concurrency limit in order to cause a Denial of Service (DoS). Additionally, functions which contain unprotected secrets like keys and token in the code or the environment could eventually result in sensitive information leakage.\n\n## Security Weakness\n\nServerless reduces the need to to patch the environment, since we do not control the infrastructure. However, in many cases the biggest weakness is human error. Secrets could be [accidently uploaded to the github repo](https://www.forbes.com/sites/runasandvik/2014/01/14/attackers-scrape-github-for-cloud-service-credentials-hijack-account-to-mine-virtual-currency/), put it on a public bucket or even used hardcoded in the function.\n\nAdditionally, functions with long timeout configuration give an attacker the opportunity to make their exploit last longer or just cause an increased charge for the function execution.\n\nMoreover, functions with low concurrency limit could lead into a DoS attack, while functions with high concurrency limit could result in a Denial of Wallet (see [Other Risks](0xab-other-risks.md) section)\n\n## Impact\n\nMisconfiguration could lead to sensitive information leakage, money loss, DoS or in severe cases, unauthorized access to cloud resources." +"package dnssec\n\nimport (\n\t\"context\"\n\n\t\"github.com/coredns/coredns/plugin\"\n\t\"github.com/coredns/coredns/plugin/metrics\"\n\t\"github.com/coredns/coredns/request\"\n\n\t\"github.com/miekg/dns\"\n)\n\n// ServeDNS implements the plugin.Handler interface.\nfunc (d Dnssec) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {\n\tstate := request.Request{W: w, Req: r}\n\n\tdo := state.Do()\n\tqname := state.Name()\n\tqtype := state.QType()\n\tzone := plugin.Zones(d.zones).Matches(qname)\n\tif zone == \"\" {\n\t\treturn plugin.NextOrFailure(d.Name(), d.Next, ctx, w, r)\n\t}\n\n\tstate.Zone = zone\n\tserver := metrics.WithServer(ctx)\n\n\t// Intercept queries for DNSKEY, but only if one of the zones matches the qname, otherwise we let\n\t// the query through.\n\tif qtype == dns.TypeDNSKEY {\n\t\tfor _, z := range d.zones {\n\t\t\tif qname == z {\n\t\t\t\tresp := d.getDNSKEY(state, z, do, server)\n\t\t\t\tresp.Authoritative = true\n\t\t\t\tw.WriteMsg(resp)\n\t\t\t\treturn dns.RcodeSuccess, nil\n\t\t\t}\n\t\t}\n\t}\n\n\tif do {\n\t\tdrr := &ResponseWriter{w, d, server}\n\t\treturn plugin.NextOrFailure(d.Name(), d.Next, ctx, drr, r)\n\t}\n\n\treturn plugin.NextOrFailure(d.Name(), d.Next, ctx, w, r)\n}\n\n// Name implements the Handler interface.\nfunc (d Dnssec) Name() string { return \"dnssec\" }" +"#begin document (wb/sel/82/sel_8266); part 000\nwb/sel/82/sel_8266 -1 0 [WORD] XX (TOP* - - - - * -\nwb/sel/82/sel_8266 -1 1 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 2 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 3 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 4 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 5 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 6 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 7 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 8 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 9 [WORD] VERB * prick - 1 - * -\nwb/sel/82/sel_8266 -1 10 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 11 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 12 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 13 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 14 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 15 [WORD] XX * - - - - * -\nwb/sel/82/sel_8266 -1 16" +"\"\"\"\ndefault.py\n\nCopyright 2014 Andres Riancho\n\nThis file is part of w3af, http://w3af.org/ .\n\nw3af is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation version 2 of the License.\n\nw3af is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with w3af; if not, write to the Free Software\nFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\n\"\"\"\nfrom .base_platform import Platform\nfrom ..requirements import CORE, GUI\n\n\nclass DefaultPlatform(Platform):\n PIP_CMD = 'pip'\n\n # Should never be used since we have an empty SYSTEM_PACKAGES\n PKG_MANAGER_CMD = ''\n\n SYSTEM_PACKAGES = {CORE: [],\n GUI: []}\n\n @staticmethod\n def is_current_platform():\n return True\n\n @staticmethod\n def os_package_is_installed(package_name):\n return False" +"# Notes on the wolfssl-fips project\n\nFirst, if you did not get the FIPS files with your archive, you must contact\nwolfSSL to obtain them.\n\n\n# Building the wolfssl-fips project\n\nThe wolfCrypt FIPS library for Windows is a part of the wolfSSL library. It\nmust be built as a static library, for the moment.\n\nThe library project is built with Whole Program Optimization disabled. This is\nrequired so that necessary components of the library are not optimized away.\nThere are two functions added to the library that are used as markers in\nmemory for the in-core memory check of the code. WPO consolidates them into a\nsingle function. WPO also optimizes away the automatic FIPS entry function.\n\nEach of the source files inside the FIPS boundary defines their own code and\nconstant section. The code section names start with \".fipsA$\" and the constant\nsection names start with \".fipsB$\". Each subsection has a letter to organize\nthem in a secific order. This specific ordering puts marker functions and\nconstants on either end of the boundary so it can be hashed.\n\n\n# In Core Memory Test\n\nThe In Core Memory test calculates a checksum (HMAC-SHA256) of the wolfCrypt\nFIPS library code and" +"import React, { Component, PropTypes } from 'react';\nimport { connect } from 'react-redux';\n\nimport Shortcuts from '../widgets/shortcuts';\nimport Status from '../widgets/status';\n\n\nclass App extends Component {\n\n static propTypes = {\n children: PropTypes.node,\n status: PropTypes.string,\n shortcuts: PropTypes.array,\n };\n\n static contextTypes = {\n theme: PropTypes.object.isRequired,\n };\n\n render () {\n const { children, status } = this.props;\n const { theme } = this.context;\n const shortcuts = [\n { key: 'q', label: 'Quit' },\n { key: 'escape', label: 'Back' },\n ...this.props.shortcuts,\n ];\n return (\n \n \n \n {children}\n \n \n \n \n );\n }\n}\n\n\nexport default connect(\n state => ({\n status: state.status,\n shortcuts: state.shortcuts,\n })\n)(App);" +"/*\n * Copyright 2010-present Facebook.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n#import \"FBTask.h\"\n\n@interface FBTask (Private)\n\n/*!\n Waits until this operation is completed, then returns its value.\n This method is inefficient and consumes a thread resource while\n its running. It should be avoided. This method logs an warning\n message if it is used on the main thread. If this task is cancelled,\n nil is returned.\n */\n- (id)waitForResult:(NSError **)error;\n\n@end" +"\ufeffShader \"Beautify/Beautify\" {\n\tProperties {\n\t\t_MainTex (\"Base (RGB)\", 2D) = \"white\" {}\n\t\t_Sharpen (\"Sharpen Data\", Vector) = (2.5, 0.035, 0.5)\n\t\t_ColorBoost (\"Color Boost Data\", Vector) = (1.1, 1.1, 0.08, 0)\n\t\t_Dither (\"Dither Data\", Vector) = (5, 0, 0, 1.0)\n\t}\n\nSubshader {\t\n\n Pass {\n\t ZTest Always Cull Off ZWrite Off\n\t Fog { Mode Off }\n\t \n CGPROGRAM\n #pragma vertex vert\n #pragma fragment fragCompare\n #pragma target 3.0\n #include \"Beautify.cginc\"\n ENDCG\n }\n \n Pass {\n\t ZTest Always Cull Off ZWrite Off\n\t Fog { Mode Off }\n\t \n CGPROGRAM\n #pragma vertex vert\n #pragma fragment fragCompare\n #pragma target 3.0\n #define DALTONIZE \n #include \"Beautify.cginc\"\n ENDCG\n }\n \n Pass {\n\t ZTest Always Cull Off ZWrite Off\n\t Fog { Mode Off }\n\t \n CGPROGRAM\n #pragma vertex vert\n #pragma fragment fragBeautify\n #pragma target 3.0\n #include \"Beautify.cginc\"\n ENDCG\n }\n\n Pass {\n\t ZTest Always Cull Off ZWrite Off\n\t Fog { Mode Off }\n\t \n CGPROGRAM\n #pragma vertex vert\n #pragma fragment fragBeautify\n #pragma target 3.0\n #define DALTONIZE\n #include \"Beautify.cginc\"\n ENDCG\n }\n\n Pass {\n\t ZTest Always Cull Off ZWrite Off\n\t Fog { Mode Off }\n\t \n CGPROGRAM\n #pragma vertex vert\n #pragma fragment fragCompareFast\n #pragma target 3.0\n #include \"Beautify.cginc\"\n ENDCG\n }\n \n Pass {\n\t ZTest Always Cull Off ZWrite Off\n\t Fog { Mode Off }\n\t \n CGPROGRAM\n #pragma vertex vert\n #pragma fragment" +"\n# typeface-modern-antiqua\n\nThe CSS and web font files to easily self-host \u201cModern Antiqua\u201d.\n\n## Install\n\n`npm install --save typeface-modern-antiqua`\n\n## Use\n\nTypefaces assume you\u2019re using webpack to process CSS and files. Each typeface\npackage includes all necessary font files (woff2, woff) and a CSS file with\nfont-face declarations pointing at these files.\n\nYou will need to have webpack setup to load css and font files. Many tools built\nwith Webpack will work out of the box with Typefaces such as [Gatsby](https://github.com/gatsbyjs/gatsby)\nand [Create React App](https://github.com/facebookincubator/create-react-app).\n\nTo use, simply require the package in your project\u2019s entry file e.g.\n\n```javascript\n// Load Modern Antiqua typeface\nrequire('typeface-modern-antiqua')\n```\n\n## About the Typefaces project.\n\nOur goal is to add all open source fonts to NPM to simplify using great fonts in\nour web projects. We\u2019re currently maintaining 929 typeface packages\nincluding all typefaces on Google Fonts.\n\nIf your favorite typeface isn\u2019t published yet, [let us know](https://github.com/KyleAMathews/typefaces)\nand we\u2019ll add it!" +"import { useMemo, useRef } from 'react'\nimport { useLayoutEffect } from 'react-layout-effect'\nimport { Lookup } from '@react-spring/types'\nimport {\n is,\n each,\n usePrev,\n useOnce,\n useForceUpdate,\n} from '@react-spring/shared'\n\nimport {\n ControllerFlushFn,\n ControllerUpdate,\n PickAnimated,\n SpringValues,\n} from '../types'\nimport { UseSpringProps } from './useSpring'\nimport { declareUpdate } from '../SpringValue'\nimport {\n Controller,\n getSprings,\n flushUpdateQueue,\n setSprings,\n} from '../Controller'\nimport { hasProps, detachRefs, replaceRef } from '../helpers'\nimport { useSpringContext } from '../SpringContext'\nimport { SpringRef } from '../SpringRef'\n\nexport type UseSpringsProps = unknown &\n ControllerUpdate & {\n ref?: SpringRef\n }\n\n/**\n * When the `deps` argument exists, the `props` function is called whenever\n * the `deps` change on re-render.\n *\n * Without the `deps` argument, the `props` function is only called once.\n */\nexport function useSprings(\n length: number,\n props: (i: number, ctrl: Controller) => Props,\n deps?: readonly any[]\n): PickAnimated extends infer State\n ? [SpringValues[], SpringRef]\n : never\n\n/**\n * Animations are updated on re-render.\n */\nexport function useSprings(\n length: number,\n props: Props[] & UseSpringsProps>[]\n): SpringValues>[]\n\n/**\n * When the `deps` argument exists, you get the `update` and `stop` function.\n */\nexport function useSprings(\n length: number,\n props: Props[]" +"/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage org.apache.jackrabbit.oak.segment.azure.util;\n\nimport org.junit.Test;\n\nimport java.util.Collections;\nimport java.util.Map;\n\nimport static org.junit.Assert.assertEquals;\n\npublic class CaseInsensitiveKeysMapAccessTest {\n\n @Test\n public void convert() {\n Map map = CaseInsensitiveKeysMapAccess.convert(Collections.singletonMap(\"hello\", \"world\"));\n\n assertEquals(\"world\", map.get(\"hello\"));\n assertEquals(\"world\", map.get(\"Hello\"));\n assertEquals(\"world\", map.get(\"hELLO\"));\n }\n\n @Test(expected = UnsupportedOperationException.class)\n public void assertImmutable() {\n Map map = CaseInsensitiveKeysMapAccess.convert(Collections.singletonMap(\"hello\", \"world\"));\n map.put(\"foo\", \"bar\");\n }\n}" +"//\n// MentionsEntity.swift\n// HakawaiDemoSwift\n//\n// Copyright (c) 2014 LinkedIn Corp. All rights reserved.\n// Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with\n// the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on\n// an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n//\n\nimport Foundation\nimport Hakawai\n\nclass MentionsEntity: NSObject {\n\n private var name: String?\n private var id: String!\n \n init(name: String, id: String) {\n self.name = name\n self.id = id\n }\n}\n\nextension MentionsEntity: HKWMentionsEntityProtocol {\n \n func entityId() -> String! {\n return id\n }\n \n func entityName() -> String! {\n return name\n }\n \n func entityMetadata() -> [AnyHashable : Any]! {\n return [id: name]\n }\n}" +"/*\n Unix SMB/Netbios implementation.\n Version 2.2.x / 3.0.x\n sendfile implementations.\n Copyright (C) Jeremy Allison 2002.\n\n This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation; either version 2 of the License, or\n (at your option) any later version.\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program; if not, write to the Free Software\n Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n*/\n\n/*\n * This file handles the OS dependent sendfile implementations.\n * The API is such that it returns -1 on error, else returns the\n * number of bytes written.\n */\n\n#include \"includes.h\"\n\n#if defined(LINUX_SENDFILE_API)\n\n#include \n\n#ifndef MSG_MORE\n#define MSG_MORE 0x8000\n#endif\n\nssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count)\n{\n\tsize_t total=0;\n\tssize_t ret;\n\tsize_t hdr_len = 0;\n\n\t/*\n\t * Send the header first.\n\t * Use MSG_MORE to" +"/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n#include \"hermes/VM/instrumentation/StatSamplingThread.h\"\n\n#include \n\nnamespace hermes {\nnamespace vm {\n\nStatSamplingThread::StatSamplingThread(StatSamplingThread::Duration interval)\n : mExit_(),\n interval_(interval),\n stats_(),\n // Sampler thread executes this.run()\n sampler_(&StatSamplingThread::run, this) {}\n\nStatSamplingThread::~StatSamplingThread() {\n if (isRunning()) {\n (void)stop();\n }\n}\n\nbool StatSamplingThread::isRunning() const {\n return sampler_.joinable();\n}\n\nProcessStats::Info StatSamplingThread::stop() {\n assert(isRunning() && \"Can only stop thread once.\");\n\n {\n ExitGuard g(mExit_);\n stop_ = true;\n }\n exitMonitor_.notify_one();\n sampler_.join();\n\n return info();\n}\n\nProcessStats::Info StatSamplingThread::info() const {\n assert(\n !isRunning() &&\n \"Requesting info while the sampling thread is running could cause races\");\n return stats_.getIntegratedInfo();\n}\n\nvoid StatSamplingThread::run() {\n ExitGuard l(mExit_);\n while (!stop_) {\n stats_.sample(Clock::now());\n exitMonitor_.wait_for(l, interval_);\n }\n}\n\n} // namespace vm\n} // namespace hermes" +"Intro\n-----\nThis example demonstrates how to simply set up a database for export in a\nread-only manner.\n\nExecute with -h or --help to see the available command-line options.\n\nSetup\n-----\n\nThe country table (country.sql) can be used for sample data in the database\nof your choice.\n\nSet up the connection in code (method SetUpConnection), \nor in a connection.ini file with the following format:\n\n[database]\nType=postgresql\nDatabaseName=YourDatabase\nHost=localhost\nusername=me\npassword=secret\nport=nnnn\n\nYou can use another name as connection.ini, but then you must specify the\nname with the -c or --config option.\n\nOnce started, the server will display connection info and available resources.\n\n\nThings to try\n-------------\nThe following list possible queries, using either wget or curl:\n(obviously, you can do the same in a browser)\n\nGet a list of available resources:\nwget -q -O - \"http://localhost:3000/metadata/\"\ncurl -o - \"http://localhost:3000/metadata/\"\n\nSame, but only the names, in compact format:\nwget -q -O - \"http://localhost:3000/metadata/?fl=name&fmt=csv&metadata=0\"\ncurl -o - \"http://localhost:3000/metadata/?fl=name&fmt=csv&metadata=0\"\n\n\nGet metadata for country table:\n\nwget -q -O - \"http://localhost:3000/metadata/country\"\ncurl -o - \"http://localhost:3000/metadata/country\"\n\nOnly get fieldnames:\nwget -q -O - \"http://localhost:3000/metadata/country?fl=name&fmt=csv\"\ncurl -o - \"http://localhost:3000/metadata/country?fl=name&fmt=csv\"\n\nGet a list of all countries:\n\nwget -q -O - http://localhost:3000/country\ncurl -o - http://localhost:3000/country\n\nGet a" +"import React from 'react'\nimport Highlight from 'react-highlight'\n\nimport InViewMonitor from '../../../src/'\nimport Video from './Video'\n\nconst AutoplayExample = () => (\n
\n

Autoplay video when in view

\n

\n Given a Video component that can be started by changing a{' '}\n isPlaying prop, an autoplaying video via scroll is trivial.\n the toggleChildPropsOnInView prop allows us to stop it again\n as soon as it goes out of view, saving CPU and increasing battery life for\n mobile devices! \ud83d\udcaa\n

\n\n
\n \n {`\nreturn (\n \n \n
\n\n
\n \n
\n
\n)\n\nexport default AutoplayExample" +"var Symtable = exports.SymbolTable = function(){\n\n}\n/**\n * ## TODO:\n * \n * 1. Global\n * 2. Local\n * 3. Struct\n * 4. AtMethod Scope\n */\n\nvar Scope = exports.Scope = function(parentScope){\n // this.scopeName = scopeName;\n this.parentScope = parentScope;\n this.symtable = {};\n this.isStruct = false;\n}\n\nScope.prototype = {\n getSpace: function(){\n return this.symtable;\n },\n resolve: function(name, first){\n var scope = this;\n while(scope){\n var symbol = scope.symtable[name];\n if(symbol) return symbol;\n else{\n if(first) return;\n scope = scope.parentScope;\n }\n }\n },\n define: function(name, value){\n this.symtable[name] = value;\n return this;\n },\n getSymbol: function(name) {\n return this.symtable[name];\n },\n getOuterScope: function(){\n return this.parentScope;\n },\n has: function(value){\n var symtable = this.symtable;\n for(var i in symtable) if (symtable.hasOwnProperty(i)){\n if(symtable[i] == value ){\n return true\n }\n }\n return false;\n },\n toStruct: function(){\n var scope = new Scope();\n scope.isStruct = true;\n scope.symtable = this.symtable\n return scope;\n }\n}" +"Imports System.IO\r\nImports System.Runtime.Serialization.Formatters.Binary\r\nImports System.Linq\r\nImports System.Threading.Tasks\r\nImports System.Text\r\n\r\n' Copyright 2008 Daniel Wagner O. de Medeiros\r\n'\r\n' This file is part of DWSIM.\r\n'\r\n' DWSIM is free software: you can redistribute it and/or modify\r\n' it under the terms of the GNU General Public License as published by\r\n' the Free Software Foundation, either version 3 of the License, or\r\n' (at your option) any later version.\r\n'\r\n' DWSIM is distributed in the hope that it will be useful,\r\n' but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n' GNU General Public License for more details.\r\n'\r\n' You should have received a copy of the GNU General Public License\r\n' along with DWSIM. If not, see .\r\n\r\nPublic Class FormWelcome\r\n\r\n Inherits UserControl\r\n\r\n Dim index As Integer = 0\r\n\r\n Dim fslist As New Dictionary(Of String, SharedClasses.FOSSEEFlowsheet)\r\n\r\n Public Property Owner As FormMain\r\n\r\n Private Sub FormTips_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load\r\n\r\n chkAutoClose.Checked = My.Settings.AutoCloseWelcomePanel\r\n\r\n If DWSIM.App.IsRunningOnMono Then Me.BackgroundImageLayout = ImageLayout.Stretch\r\n\r\n Dim existingfiles As New List(Of String)\r\n\r\n If GlobalSettings.Settings.OldUI Then\r\n For Each f As String In My.Settings.MostRecentFiles\r\n existingfiles.Add(f)\r\n Next\r\n End If\r\n\r\n existingfiles" +"# Settings in the [build] context are global and are applied to all contexts \n# unless otherwise overridden by more specific contexts. \n[build]\n # Directory to change to before starting a build. \n # This is where we will look for package.json/.nvmrc/etc.\n base = \"/\"\n\n # Directory (relative to root of your repo) that contains the deploy-ready \n # HTML files and assets generated by the build. If a base directory has\n # been specified, include it in the publish directory path.\n publish = \"public/\"\n\n # Default build command.\n command = \"npm run build\"\n\n[template.environment]\n GATSBY_STRIPE_PUBLISHABLE_KEY = \"Add your Stripe publishable key here: pk_test_xxx\"\n GATSBY_BUTTON_PRICE_ID = \"The price id for the one-time purchase product: price_xxx\"\n STRIPE_SECRET_KEY = \"Add your Stripe secret key here: sk_test_xxx\"" +"#include \r\n#if defined WIN32 || defined _WIN32 || defined __WIN32__\r\n# include \r\n#else\r\n# include \r\n#endif\r\n#include \"svnrev.h\"\r\n\r\nAppIcon ICON \"../bin/pawn.ico\"\r\n\r\n/* Version information\r\n *\r\n * All strings MUST have an explicit \\0. See the Windows SDK documentation\r\n * for details on version information and the VERSIONINFO structure.\r\n */\r\n#define VERSION 4\r\n#define REVISION 0\r\n#define BUILD SVN_REV\r\n#define VERSIONSTR \"4.0.\" SVN_REVSTR \"\\0\"\r\n#if defined PAWNCC\r\n#define VERSIONNAME \"pawncc.exe\\0\"\r\n#define VERSIONDESCRIPTION \"Pawn Compiler\\0\"\r\n#define VERSIONPRODUCTNAME \"pawncc\\0\"\r\n#elif defined PAWNRUN\r\n#define VERSIONNAME \"pawnrun.exe\\0\"\r\n#define VERSIONDESCRIPTION \"Pawn run-time\\0\"\r\n#define VERSIONPRODUCTNAME \"pawnrun\\0\"\r\n#else\r\n#define VERSIONNAME \"pawn\\0\"\r\n#define VERSIONDESCRIPTION \"Pawn Compiler\\0\"\r\n#define VERSIONPRODUCTNAME \"pawn\\0\"\r\n#endif\r\n#define VERSIONCOMPANYNAME \"CompuPhase\\0\"\r\n#define VERSIONCOPYRIGHT \"Copyright \\251 1998-2016 CompuPhase\\0\"\r\n\r\nVS_VERSION_INFO VERSIONINFO\r\nFILEVERSION VERSION, REVISION, BUILD, 0\r\nPRODUCTVERSION VERSION, REVISION, BUILD, 0\r\nFILEFLAGSMASK 0x0000003FL\r\nFILEFLAGS 0\r\n#if defined(WIN32)\r\n FILEOS VOS__WINDOWS32\r\n#else\r\n FILEOS VOS__WINDOWS16\r\n#endif\r\nFILETYPE VFT_DLL\r\nBEGIN\r\n BLOCK \"StringFileInfo\"\r\n BEGIN\r\n BLOCK \"040904E4\"\r\n BEGIN\r\n VALUE \"CompanyName\", VERSIONCOMPANYNAME\r\n VALUE \"FileDescription\", VERSIONDESCRIPTION\r\n VALUE \"FileVersion\", VERSIONSTR\r\n VALUE \"InternalName\", VERSIONNAME\r\n VALUE \"LegalCopyright\", VERSIONCOPYRIGHT\r\n VALUE \"OriginalFilename\", VERSIONNAME\r\n VALUE \"ProductName\", VERSIONPRODUCTNAME\r\n VALUE \"ProductVersion\", VERSIONSTR\r\n END\r\n END\r\n\r\n BLOCK \"VarFileInfo\"\r\n BEGIN\r\n VALUE \"Translation\", 0x409, 1252\r\n END\r\nEND" +" P}\nimport org.apache.crunch.io.{From => from}\nimport org.apache.crunch.test.FileHelper\n\nimport scala.collection.mutable.HashMap\n\nimport org.scalatest.junit.JUnitSuite\nimport _root_.org.junit.Assert._\nimport _root_.org.junit.Test\n\ncase class PageRankData(pr: Float, oldpr: Float, urls: Array[String]) {\n def this() = this(0f, 0f, null)\n\n def scaledPageRank = pr / urls.length\n\n def next(newPageRank: Float) = new PageRankData(newPageRank, pr, urls)\n\n def delta = math.abs(pr - oldpr)\n}\n\nclass CachingPageRankClassFn extends DoFn[P[String, PageRankData], P[String, Float]] {\n val cache =" +"---\ntitle: Show import items\ndescription: Use Show Import Items to expand IntelliSense in Visual Studio for Mac.\nauthor: cobey\nms.author: cobey\nms.date: 03/29/2019\nms.assetid: C7782BF3-016F-4B41-8A81-85FC540A1A8F\nms.custom: video\n---\n# Show import items\n\nVisual Studio for Mac can show all available types, even if they aren't imported to your project, in your IntelliSense completion list. By selecting an item which isn't imported, the correct `using` statement will be added to your source file.\n\n![show import items overview](media/importitems-overview.gif)\n\n## How to enable\n\nTo enable this feature, open **Preferences** via **Visual Studio** > **Preferences** and navigate to **Text Editor** > **IntelliSense**. Check the box **Show import items** to enable additional items in IntelliSense.\n\n![show import items option](media/show-import-items.png)\n\n## Usage\n\nOnce you enable **Show import items**, the process of using the feature to import an item is similar to the normal actions within IntelliSense. As you type code, items that are valid will populate the completion list. This includes items that haven't been imported yet. The items that aren't imported will show their full namespace to the right of the item, allowing you to see which imports you are pulling in to your project.\n\n![show import items list](media/show-import-items-list.png)\n\nIn the IntelliSense list, namespaces" +"% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/scrabble.R\n\\name{scrabble_dictionary}\n\\alias{scrabble_dictionary}\n\\title{Scrabble: Dictionaries}\n\\usage{\nscrabble_dictionary(language)\n}\n\\arguments{\n\\item{language}{Character. Any of \"en\",\"es\",\"de\",\"fr\". Set to \"none\"\nif you wish to skip this step (and use \\code{words} parameter in \n\\code{scrabble_words} instead).}\n}\n\\description{\nDownload words from 4 different languages: English, Spanish, \nGerman, and French. Words will be save into the \\code{temp} directory. \nThis is an auxiliary function. You may want to use \\code{scrabble_words}\ndirectly if you are searching for the highest score words!\n}\n\\examples{\n\\dontrun{\n# For Spanish words\ndictionary <- scrabble_dictionary(\"es\")\n}\n}\n\\seealso{\nOther Scrabble: \n\\code{\\link{scrabble_points}()},\n\\code{\\link{scrabble_score}()},\n\\code{\\link{scrabble_words}()}\n}\n\\concept{Scrabble}" +"# azure-iot-security-tpm.TpmSecurityClient Requirements\n\n## Overview\n`TpmSecurityClient` provides query operations for TPM entities and key manipulation operations for the device registration client.\n\n## Example usage\n\nvar securityClient = new tpmSecurity.TpmSecurityClient();\nvar provisioningClient = ProvisioningDeviceClient.create(provisioningHost, idScope, new provisioningTransport(), securityClient);\n\n### TpmSecurityClient(registrationId?: string, customTpm?: any) [constructor]\n\nThe `TpmSecurityClient` constructor initializes a new instance of a `TpmSecurityClient` object that is used to query TPM entities and perform key manipulation and setup.\n\n**SRS_NODE_TPM_SECURITY_CLIENT_06_001: [** The `registrationId` argument if present will be returned as the `registrationId` for subsequent calls to `getRegistrationId`. **]**\n\n**SRS_NODE_TPM_SECURITY_CLIENT_06_002: [** The `customTpm` argument, if present` will be used at the underlying TPM provider. Otherwise the TPM provider will the tss TPM client with a parameter of `false` for simulator use. **]**\n\n### getEndorsementKey(callback: (err: Error, endorsementKey: string) => void): void\n\nQueries and returns the public portion of the endorsement key in the TPM hardware.\n\n**SRS_NODE_TPM_SECURITY_CLIENT_06_006: [** The `getEndorsementKey` function shall query the TPM hardware and return the `endorsementKey` in the callback. **]**\n\n**SRS_NODE_TPM_SECURITY_CLIENT_06_017: [** If the endorsement key does NOT exist, a new key will be created. **]**\n\n**SRS_NODE_TPM_SECURITY_CLIENT_06_007: [** Any errors from interacting with the TPM hardware will cause a `SecurityDeviceError` to be returned in the `err` parameter of the callback." +"#!/bin/bash\n\n#run the tcl file to generate the dependent ipcores\necho -e \"$0: Start to Generate ipcores.\\n\"\n$VIVADO_PATH/vivado -mode batch -source ./build/ips.tcl -notrace\n\nFPGA_PROJECT=$( cat board.txt )\n#copy ipcores\ncp -r ./build/ips_prj/ips_prj.srcs/sources_1/ip/* $FPGA_PROJECT/Sources/cores\n\n# compile FPGA using vivado\necho -e \"$0: Start to Synthesize and Implement.\\n\"\ncd $FPGA_PROJECT && $VIVADO_PATH/vivado -mode batch -source psl_fpga.tcl -notrace && cd -\nif [ ! -f $FPGA_PROJECT/Implement/psl_fpga/psl_fpga_route_design.dcp ]; then\n exit 1\nfi\necho -e \"$0: Start to generate FPGA bit file.\\n\"\ncd $FPGA_PROJECT && $VIVADO_PATH/vivado -mode batch -source write_bitstream.tcl -notrace && cd -\nif [ ! -f $FPGA_PROJECT/AccDNN.bin ]; then\n exit 1\nfi\npython freqency.py $FPGA_PROJECT/Implement/psl_fpga/reports/psl_fpga_timing_summary.rpt ./pie-run.conf\ncp ./build/coe/weights.bin ./weights.bin\necho \"$0: Successed. The fpga binary file has been write to $FPGA_PROJECT/AccDNN.bin\"\necho \"$0: The weights file has been writed to ./weights.bin\"\necho \"$0: The frequency config file has been write to ./pie-run.conf\"" +"The components in this area implement several file decompression\nmechanisms. They provide real-time decompression to permit inspection\n(rules) of the decompressed content.\n\nIn particular the components support these decompression options:\n\n1. Decompress SWF (Adobe Flash) files compressed with the ZLIB algorithm\n\n2. Optionally decompress SWF files compressed with the LZMA algorithm.\n This is only available if Snort ++ is built with the optional LZMA\n support.\n\n3. Decompress the Deflate compressed portions of PDF files.\n\nThe three modes are individually enabled/disabled at initialization time.\n\nAll parsing and decompression is incremental and allows inspection to\nproceed as the file is received and processed.\n\nSWF File Processing:\n\nSWF files exist in three forms: 1) uncompressed, 2) ZLIB compressed, and 3)\nLZMA compressed. SWF files begin with a file signature block (always\nuncompressed) to indicate the format of the balance of the file. The\nbalance of the file is formatted and processed as specified.\n\nPDF files are significantly more complex as the compressed content is\nembedded within the PDF syntax and one file may contain one or many\ncompressed segments.\n\nThus the PDF decompression engine implements a lightweight PDF file parser\nto locate the PDF Stream segments and then attempt to decompress Streams\nthat" +"---\ntitle: \"Persistent Chat Machines Expander\"\nms.reviewer: \nms.author: v-lanac\nauthor: lanachin\nmanager: serdars\nms.date: 3/27/2015\naudience: ITPro\nms.topic: article\nf1.keywords:\n- CSH\nms.custom:\n- ms.lync.tb.PersistentChatMachinesExpander\nms.prod: skype-for-business-itpro\nlocalization_priority: Normal\nms.assetid: 15bc1c8f-71bd-4d66-bba1-cac0f2fe90bf\ndescription: \"You activate or deactivate a deployed Persistent Chat Server or Persistent Chat Server pool by using the servers or pools listed in Machine state settings. You select a server or pool in the list and click the Make active button to set a server or pool as active.\"\n---\n\n# Persistent Chat Machines Expander\n \nYou activate or deactivate a deployed Persistent Chat Server or Persistent Chat Server pool by using the servers or pools listed in **Machine state settings**. You select a server or pool in the list and click the **Make active** button to set a server or pool as active.\n \nYou set a deployed Persistent Chat Server or Persistent Chat Server pool to inactive by selecting the server or pool in the list and click **Make inactive**. At least one server must be set to active.\n \n **OK** Accepts and commits changes to the dialog.\n \n **Cancel** Discards changes and closes the dialog.\n \n **Help** Displays this help screen.\n \n## See also\n\n[Plan for Persistent Chat Server in Skype" +"\ufeffusing CoreDX.Domain.Entity.Identity;\nusing System;\nusing CoreDX.Common.Util.Security;\n\nnamespace IdentityServer.Areas.Manage.Models.Users\n{\n public class ApplicationUserDto\n {\n public int Id { get; set; }\n public string UserName { get; set; }\n public Gender? Gender { get; set; }\n public string Email { get; set; }\n public bool EmailConfirmed { get; set; }\n public string InsensitiveEmail => Email.HideEmailDetails();\n public string PhoneNumber { get; set; }\n public bool PhoneNumberConfirmed { get; set; }\n public string InsensitivePhoneNumber => PhoneNumber.HideSensitiveInfo(3, 4);\n public bool? Active { get; set; }\n public bool TwoFactorEnabled { get; set; }\n public bool LockoutEnabled { get; set; }\n public DateTimeOffset LockoutEnd { get; set; }\n public DateTimeOffset CreationTime { get; set; }\n public int CreatorId { get; set; }\n public DateTimeOffset LastModificationTime { get; set; }\n public int LastModificationUserId { get; set; }\n }\n}" +"// check-pass\n// Check tautalogically false `Copy` bounds\n#![feature(trivial_bounds)]\n\nfn copy_string(t: String) -> String where String: Copy { //~ WARNING trivial_bounds\n is_copy(&t);\n let x = t;\n drop(t);\n t\n}\n\nfn copy_out_string(t: &String) -> String where String: Copy { //~ WARNING trivial_bounds\n *t\n}\n\nfn copy_string_with_param(x: String) where String: Copy { //~ WARNING trivial_bounds\n let y = x;\n let z = x;\n}\n\n// Check that no reborrowing occurs\nfn copy_mut<'a>(t: &&'a mut i32) -> &'a mut i32 where for<'b> &'b mut i32: Copy {\n //~^ WARNING trivial_bounds\n is_copy(t);\n let x = *t;\n drop(x);\n x\n}\n\nfn is_copy(t: &T) {}\n\n\nfn main() {}" +".. HPy documentation master file, created by\n sphinx-quickstart on Thu Apr 2 23:01:08 2020.\n You can adapt this file completely to your liking, but it should at least\n contain the root `toctree` directive.\n\nHPy: a better API for Python\n===============================\n\nHPy provides a new API for extending Python in C.\n\nThe official `Python/C API `_ is\nspecific to the current implementation of CPython: it exposes a lot of\ninternal details which makes it hard:\n\n - to implement it for other Python implementations (e.g. PyPy, GraalPython,\n Jython, IronPython, etc.)\n\n - to experiment with new things inside CPython itself: e.g. using a GC\n instead of refcounting, or to remove the GIL.\n\nThere are several advantages to write your C extension in HPy:\n\n - it runs much faster on PyPy, and at native speed on CPython\n\n - it is possible to compile a single binary which runs unmodified on all\n supported Python implementations and versions\n\n - it is simpler and more manageable than the Python/C API\n\n - it provides an improved debugging experience: in \"debug mode\", HPy\n actively checks for many common mistakes such as reference leaks and\n invalid usage of objects after they have been deleted. It is possible to\n turn the" +"#' Unloads package(s)\n#' \n#' Unloads package(s) or all packages.\n#' \n#' @param \\dots name of package(s) or \"all\" (all removes all add on packages).\n#' @param negate logical. If \\code{TRUE} will unload\n#' all add on packages except those provided to \\code{p_unload}.\n#' @param char Character vector containing packages to load. If you are calling\n#' \\code{p_unload} from within a function (or just having difficulties calling it \n#' using a character vector input) then pass your character vector of packages \n#' to load to this parameter directly.\n#' @param character.only logical. If \\code{TRUE} then \\code{p_unload} will only \n#' accept a single input which is a character vector containing the names of \n#' packages to load.\n#' @note \\code{p_unload} will not unload the base install packages that load \n#' when R boots up. See the comments in the help for \\code{detach} about some \n#' issues with unloading and reloading namespaces.\n#' @seealso \\code{\\link[base]{detach}}\n#' @keywords detach package\n#' @export\n#' @examples\n#' \\dontrun{\n#' p_load(lattice)\n#' p_loaded()\n#' p_unload(lattice)\n#' p_loaded()\n#' \n#' p_load(\"lattice\", \"MASS\")\n#' p_loaded()\n#' p_unload(all)\n#' p_loaded() # will not work as you unloaded pacman\n#'\n#' library(pacman)\n#' p_load(lattice, MASS, foreign)\n#' p_loaded()\n#' p_unload(pacman," +"#!/bin/bash\n#\n# This script runs all tests for the root CDK project, as well as any microservices, Lambda functions, or dependency \n# source code packages. These include unit tests, integration tests, and snapshot tests.\n# \n# This script is called by the ../initialize-repo.sh file and the buildspec.yml file. It is important that this script \n# be tested and validated to ensure that all available test fixtures are run.\n#\n# The if/then blocks are for error handling. They will cause the script to stop executing if an error is thrown from the\n# node process running the test case(s). Removing them or not using them for additional calls with result in the \n# script continuing to execute despite an error being thrown.\n\n# Save the current working directory\nsource_dir=$PWD\n\n# Test the CDK project\nnpm install\nnpm run test\nif [ \"$?\" = \"1\" ]; then\n\techo \"(source/run-all-tests.sh) ERROR: there is likely output above.\" 1>&2\n\texit 1\nfi\n\n# Return to the source/ level\ncd $source_dir" +" = true}\n *\n * # is field required to have an authority value, or may it be empty?\n * # default is false.\n * {@code authority.required. = true | false}\n *\n * # default value of minimum confidence level for ALL fields - must be\n * # symbolic confidence level, see org.dspace.content.authority.Choices\n * {@code authority.minconfidence = uncertain}\n *\n * # minimum confidence level for this field\n * {@code authority.minconfidence.SCHEMA.ELEMENT.QUALIFIER = SYMBOL}\n * e.g.\n * {@code authority.minconfidence.dc.contributor.author = accepted}\n *\n * NOTE: There is *expected* to be a \"choices\" (see ChoiceAuthorityManager)\n * configuration for each authority-controlled field.\n *\n * @author Larry Stone\n * @see org.dspace.content.authority.ChoiceAuthorityServiceImpl\n * @see org.dspace.content.authority.Choices\n */\npublic interface MetadataAuthorityService {\n\n /**\n * Predicate - is field authority-controlled?\n *" +"\n\tDeterministic Dependency Parsing Of English Text\n\t\tThis paper presents a deterministic dependency parser based on memory-based learning, which parses English text in linear time.\n\t\tWhen trainedand evaluated on the Wall Street Journal sec tion of the Penn Treebank, the parser achieves a maximum attachment score of 87.1%.\n\t\tUnlikemost previous systems, the parser produces la beled dependency graphs, using as arc labels a combination of bracket labels and grammaticalrole labels taken from the Penn Treebank II annotation scheme.\n\t\tThe best overall accuracy ob tained for identifying both the correct head and the correct arc label is 86.0%, when restricted to grammatical role labels (7 labels), and 84.4% for the maximum set (50 labels).\n\t\n\t
\n\t\t\tThere has been a steadily increasing interest in syntactic parsing based on dependency analysis in re cent years.\n\t\t\tOne important reason seems to be thatdependency parsing offers a good compromise be tween the conflicting demands of analysis depth, on the one hand, and robustness and efficiency, on the other.\n\t\t\tThus, whereas a complete dependency structure provides a fully disambiguated analysisof a sentence, this analysis is typically less complex" +"\"\"\"\n truncated(d, l, u):\n\nTruncate a distribution between `l` and `u`.\nBuilds the most appropriate distribution for the type of `d`,\nthe fallback is constructing a `Truncated` wrapper.\n\nTo implement a specialized truncated form for a distribution `D`,\nthe method `truncate(d::D, l::T, u::T) where {T <: Real}`\nshould be implemented.\n\n# Arguments\n- `d::UnivariateDistribution`: The original distribution.\n- `l::Real`: The lower bound of the truncation, which can be a finite value or `-Inf`.\n- `u::Real`: The upper bound of the truncation, which can be a finite value of `Inf`.\n\nThrows an error if `l >= u`.\n\"\"\"\nfunction truncated(d::UnivariateDistribution, l::Real, u::Real)\n return truncated(d, promote(l, u)...)\nend\n\nfunction truncated(d::UnivariateDistribution, l::T, u::T) where {T <: Real}\n l < u || error(\"lower bound should be less than upper bound.\")\n T2 = promote_type(T, eltype(d))\n lcdf = isinf(l) ? zero(T2) : T2(cdf(d, l))\n ucdf = isinf(u) ? one(T2) : T2(cdf(d, u))\n tp = ucdf - lcdf\n Truncated(d, promote(l, u, lcdf, ucdf, tp, log(tp))...)\nend\n\ntruncated(d::UnivariateDistribution, l::Integer, u::Integer) = truncated(d, float(l), float(u))\n\n\"\"\"\n Truncated(d, l, u):\n\nCreate a generic wrapper for a truncated distribution.\nPrefer calling the function `truncated(d, l, u)`, which can choose the appropriate\nrepresentation of the truncated distribution.\n\n# Arguments\n- `d::UnivariateDistribution`: The" +"// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.\n// All rights reserved.\n//\n// This source code is licensed under the license found in the\n// LICENSE file in the root directory of this source tree.\n\n//\n// Given a posit representation in packed WIDTH-bit form, produce the\n// (sign, exponent, fraction)\n// unpacked representation\n//\nmodule PositDecode #(parameter WIDTH=8,\n parameter ES=1)\n (PositPacked.InputIf in,\n PositUnpacked.OutputIf out);\n\n initial begin\n assert(in.WIDTH == out.WIDTH);\n assert(WIDTH == in.WIDTH);\n assert(in.ES == out.ES);\n assert(ES == in.ES);\n end\n\n localparam LOCAL_MAX_REGIME_FIELD_SIZE = PositDef::getMaxRegimeFieldSize(WIDTH, ES);\n localparam LOCAL_MAX_SIGNED_REGIME = PositDef::getMaxSignedRegime(WIDTH, ES);\n localparam LOCAL_UNSIGNED_REGIME_BITS = PositDef::getUnsignedRegimeBits(WIDTH, ES);\n localparam LOCAL_UNSIGNED_EXPONENT_BITS = PositDef::getUnsignedExponentBits(WIDTH, ES);\n localparam LOCAL_FRACTION_BITS = PositDef::getFractionBits(WIDTH, ES);\n\n // Bits after the sign, with the sign adjusted via 2s complement\n logic [LOCAL_MAX_REGIME_FIELD_SIZE-1:0] remainderBits;\n\n // For determining the regime, we use a leading zero counter on the xor of\n // neighboring bits in the input, to determine where the 0 -> 1 or 1 -> 0\n // transition occurs, and thus the regime\n wire [LOCAL_MAX_REGIME_FIELD_SIZE-2:0] remainderXor;\n\n // The count of leading zeros of the above\n logic [$clog2(LOCAL_MAX_REGIME_FIELD_SIZE)-1:0] cl0;\n\n // Whether the regime is positive or negative depends upon the first non-sign\n // bit in the input\n logic regimePosOrZero;\n\n // Are" +"/*\r\n This file is part of Subsonic.\r\n\r\n Subsonic is free software: you can redistribute it and/or modify\r\n it under the terms of the GNU General Public License as published by\r\n the Free Software Foundation, either version 3 of the License, or\r\n (at your option) any later version.\r\n\r\n Subsonic is distributed in the hope that it will be useful,\r\n but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n GNU General Public License for more details.\r\n\r\n You should have received a copy of the GNU General Public License\r\n along with Subsonic. If not, see .\r\n\r\n Copyright 2009 (C) Sindre Mehus\r\n */\r\npackage net.sourceforge.subsonic.io;\r\n\r\nimport net.sourceforge.subsonic.Logger;\r\nimport net.sourceforge.subsonic.domain.MediaFile;\r\nimport net.sourceforge.subsonic.domain.Playlist;\r\nimport net.sourceforge.subsonic.service.SettingsService;\r\nimport org.apache.commons.lang.StringUtils;\r\n\r\nimport java.io.IOException;\r\nimport java.io.OutputStream;\r\nimport java.io.UnsupportedEncodingException;\r\n\r\n/**\r\n * Implements SHOUTcast support by decorating an existing output stream.\r\n *

\r\n * Based on protocol description found on\r\n * http://www.smackfu.com/stuff/programming/shoutcast.html\r\n *\r\n * @author Sindre Mehus\r\n */\r\npublic class ShoutCastOutputStream extends OutputStream {\r\n\r\n private static final Logger LOG = Logger.getLogger(ShoutCastOutputStream.class);\r\n\r\n /**\r\n * Number of bytes between each SHOUTcast metadata block.\r\n */\r\n public static final int META_DATA_INTERVAL = 20480;\r\n\r\n /**\r\n * The underlying output stream to decorate.\r\n */\r\n private OutputStream out;\r\n\r\n /**\r\n *" +"/*\n * Copyright 1999-2018 Alibaba Group Holding Ltd.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage com.alibaba.nacos.naming.misc;\n\n/**\n * Synchronizer.\n *\n * @author nacos\n */\npublic interface Synchronizer {\n \n /**\n * Send message to server.\n *\n * @param serverIP target server address\n * @param msg message to send\n */\n void send(String serverIP, Message msg);\n \n /**\n * Get message from server using message key.\n *\n * @param serverIP source server address\n * @param key message key\n * @return message\n */\n Message get(String serverIP, String key);\n}" +"# Contributing\nPlease note that this project is released with a\n[Contributor Code of Conduct](https://github.com/adafruit/circuitpython/blob/master/CODE_OF_CONDUCT.md).\nBy participating in this project you agree to abide by its terms. Participation\ncovers any forum used to converse about CircuitPython including unofficial and official spaces. Failure to do\nso will result in corrective actions such as time out or ban from the project.\n\n## Developer contact\n[@thekitty](https://github.com/thekitty) is the maintainer of the CircuitPython awesome list\nand is sponsored by [Adafruit Industries LLC](https://adafruit.com). \n\n## Licensing\nBy contributing to this repository you are certifying that you have all necessary\npermissions to license the information under an CC0 License." +" 'Kampala',\n 25643 => 'Jinja',\n 25645 => 'Mbale',\n 25646 => 'Mityana',\n 256464 => 'Mubende',\n 256465 => 'Masindi',\n 256471 => 'Gulu',\n 256473 => 'Lira',\n 256476 => 'Arua',\n 256481 => 'Masaka',\n 256483 => 'Fort Portal',\n 256485 => 'Mbarara',\n 256486 => 'Kabale/Rukungiri/Kisoro',\n);" +"# WMI Query that specifies what events we will watch for\n$Query = \"Select * from __InstanceModificationEvent within 3 where TargetInstance ISA 'MSVM_ComputerSystem' `\n and TargetInstance.EnabledState <> PreviousInstance.EnabledState\"\n\n# Script block that will run whenever the event fires\n[ScriptBlock]$Action = {\n $VMName = $Event.SourceEventArgs.NewEvent.TargetInstance.ElementName\n\n switch ($Event.SourceEventArgs.NewEvent.TargetInstance.EnabledState)\n {\n 2 {$vmState = \"running\"}\n 3 {$vmState = \"turned off\"}\n 9 {$vmState = \"paused\"}\n 6 {$vmState = \"in a saved state\"}\n 10 {$vmState = \"starting\"}\n 4 {$vmState = \"stopping\"}\n default {$vmState = \"in an unknown state...\"}\n }\n\n if ($Event.SourceEventArgs.NewEvent.TargetInstance.EnabledState -eq 1)\n {\n $vmState = $Event.SourceEventArgs.NewEvent.TargetInstance.OtherEnabledState\n }\n\n Write-Host \"The virtual machine '$($vmName)' is now $($vmState).\"\n}\n\n# Register for the events\nRegister-WMIEvent -Query $Query -Action $Action -Namespace root\\virtualization\\v2\n\n# To clean up - run \"Get-EventSubscriber | Unregister-Event\"" +"/*\n * Hibernate, Relational Persistence for Idiomatic Java\n *\n * License: GNU Lesser General Public License (LGPL), version 2.1 or later.\n * See the lgpl.txt file in the root directory or .\n */\npackage org.hibernate.persister.entity;\n\nimport java.util.Properties;\n\nimport org.hibernate.cfg.Configuration;\nimport org.hibernate.dialect.H2Dialect;\n\nimport org.hibernate.testing.RequiresDialect;\nimport org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;\nimport org.junit.Test;\n\nimport static org.hibernate.testing.transaction.TransactionUtil.doInHibernate;\nimport static org.junit.Assert.assertEquals;\nimport static org.junit.Assert.assertTrue;\n\n@RequiresDialect(H2Dialect.class)\npublic class FormulaTemplateSchemaSubstitutionTest extends AbstractSchemaSubstitutionFormulaTest {\n\n\tprivate static final String CUSTOM_SCHEMA = \"CUSTOM_SCHEMA\";\n\n\t@Override\n\tprotected void configure(Configuration configuration) {\n\t\tfinal Properties properties = new Properties();\n\t\tproperties.put( \"hibernate.default_schema\", CUSTOM_SCHEMA );\n\t\tconfiguration.addProperties( properties );\n\t}\n\n\t@Override\n\tprotected String createSecondSchema() {\n\t\treturn CUSTOM_SCHEMA;\n\t}\n\n\t@Override\n\tvoid validate(String formula) {\n\t\tassertEquals( \"Formula should not contain {} characters\",\n\t\t\t\t\t 4, formula.split( CUSTOM_SCHEMA + \".\", -1 ).length - 1\n\t\t);\n\t}\n}" +"/**\n * Description: Checks if a website is using browser sniffing in its JavaScript.\n * To determine this we look for known patterns (like navigator.userAgent).\n * We only look for JavaScript files in the same domain that the website.\n * If a website www.domain.com embeds scripts from www.domain.com, script.domain.com\n * and ad.server.com, only those in www.domain.com will be analyzed.\n *\n * Copyright (c) Microsoft Corporation; All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this\n * file except in compliance with the License. You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * THIS CODE IS PROVIDED AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER\n * EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS\n * OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.\n *\n * See the Apache Version 2.0 License for specific language governing permissions\n * and limitations under the License.\n */\n\n'use strict';\n\nvar bluebird = require('bluebird'),\n\trules = [\n\t\t'navigator.userAgent',\n\t\t'navigator.appVersion',\n\t\t'navigator.appName',\n\t\t'navigator.product',\n\t\t'navigator.vendor',\n\t\t'$.browser',\n\t\t'Browser.'\n\t],\n\texceptions = [\n\t\t'ajax.googleapis.com',\n\t\t'ajax.aspnetcdn.com',\n\t\t'ajax.microsoft.com',\n\t\t'jquery',\n\t\t'mootools',\n\t\t'prototype',\n\t\t'protoaculous'\n\t];\n\nvar checkScript = bluebird.method(function (script) {\n\t// See if" +"# This Source Code Form is subject to the terms of the Mozilla Public\n# License, v. 2.0. If a copy of the MPL was not distributed with this\n# file, You can obtain one at http://mozilla.org/MPL/2.0/.\n\nfrom __future__ import absolute_import, unicode_literals\n\nimport os\nimport shutil\nimport tempfile\nimport unittest\n\nfrom mozunit import main\n\nfrom .. import filter_tasks\nfrom ..graph import (\n Graph,\n)\nfrom ..taskgraph import (\n TaskGraph,\n)\nfrom .util import (\n TestTask,\n)\n\n\nclass TestServoFilter(unittest.TestCase):\n def setUp(self):\n self._tmpdir = tempfile.mkdtemp()\n filter_tasks.GECKO = self._tmpdir\n\n def tearDown(self):\n shutil.rmtree(self._tmpdir)\n\n def test_basic(self):\n graph = TaskGraph(tasks={\n 'a': TestTask(kind='build', label='a',\n attributes={'build_platform': 'linux64'}),\n 'b': TestTask(kind='build', label='b',\n attributes={'build_platform': 'linux64-stylo'}),\n 'c': TestTask(kind='desktop-test', label='c', attributes={}),\n }, graph=Graph(nodes={'a', 'b', 'c'}, edges=set()))\n\n # Missing servo/ directory should prune tasks requiring Servo.\n self.assertEqual(set(filter_tasks.filter_servo(graph, {})), {'a', 'c'})\n\n # Servo tasks should be retained if servo/ present.\n os.mkdir(os.path.join(self._tmpdir, 'servo'))\n self.assertEqual(set(filter_tasks.filter_servo(graph, {})),\n {'a', 'b', 'c'})\n\n\nif __name__ == '__main__':\n main()" +"/*\n * Copyright 2007-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\").\n * You may not use this file except in compliance with the License.\n * A copy of the License is located at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * or in the \"license\" file accompanying this file. This file is distributed\n * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n * express or implied. See the License for the specific language governing\n * permissions and limitations under the License.\n */\n\npackage com.amazon.ion;\n\nimport java.io.File;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.Reader;\n\n\n/**\n * Loads Ion data in the form of datagrams. These methods parse the input in\n * its entirety to identify problems immediately. In contrast, an\n * {@link IonReader} will parse one top-level value at a time, and is better\n * suited for streaming protocols or large inputs.\n *

\n * WARNING: This interface should not be implemented or extended by\n * code outside of this library.\n *

\n * Implementations of this interface are safe for use by multiple\n * threads.\n *\n * @see IonReader\n */\npublic interface IonLoader\n{\n /**\n * Gets" +"## Flapjack Changelog\n\n# 2.0.0 - 2016-02-08\n- No changes\n\n# 2.0.0rc1 - 2016-01-08\n- Feature: First release candidate for v2.0.\n- Feature: Added configurable recovery delay (@necula-01 and @ali-graham)\n\n# 2.0.0b1 - 2015-10-12\n- Feature: First beta release for v2.0.\n\n# 1.6.0rc3 - 2015-06-15\n- Chore/Bug?: SNS gateway improvements (@ali-graham)\n- Feature: add summary to rollup alerts #869 (@necula-01)\n- Bug: Fix notification rule regex matches #871 (@necula-01)\n\n# 1.6.0rc2 - 2015-05-14\n- Bug: Fix SNS query encoding and subject length #867 (@ali-graham, @xcxsxvx)\n- Chore: improve debug logging in pagerduty when looking for acks e44abd5 (@jessereynolds)\n\n# 1.6.0rc1 - 2015-05-13\n- Feature: use token authentication for pagerduty gateway #831 (@alperkokmen)\n- Feature: expose failure delays in web UI #849 (@jessereynolds)\n- Bug: performance improvement - fix usage of KEYS command for entity check names c57d3a5 (@ali-graham)\n- Bug: remove disabled checks from rollup calculations #843 (@ali-graham)\n- Bug: fall back to basic auth for pagerduty incidents api #853 (@jessereynolds)\n- Chore: pagerduty ack retrieval improvements #858 (@jessereynolds)\n\n# 1.5.0 - 2015-03-31\n- No changes\n\n# 1.5.0rc1 - 2015-03-30\n- Feature: Expose failure delay (#748) in JSONAPI check report status #827 (@Hobbsee)\n- Feature: Split up internal metrics api" +"# Packers\nPacked programs have often been obfuscated to hide their logic. Since capa cannot handle obfuscation well, results may be misleading or incomplete. If possible, users should unpack input files before analyzing them with capa.\n\nIf capa detects that a program may be packed using its rules it warns the user.\n\n\n# Installers, run-time programs, etc.\ncapa cannot handle installers, run-time programs like .NET applications, or other packaged applications like AutoIt well. This means that the results may be misleading or incomplete.\n\nIf capa detects an installer, run-time program, etc. it warns the user.\n\n\n# Wrapper functions and matches in child functions\nCurrently capa does not handle wrapper functions or other matches in child functions.\n\nConsider this example call tree where `f1` calls a wrapper function `f2` and the `CreateProcess` API. `f2` writes to a file.\n\n```\nf1\n f2 (WriteFile wrapper)\n CreateFile\n WriteFile\n CreateProcess\n```\n\nHere capa does not match a rule that hits on file creation and execution on function `f1`. \n\nSoftware often contains such nested calls because programmers wrap API calls in helper functions or because specific compilers or languages, such as Go, layer calls.\n\nWhile a feature to capture nested functionality is desirable it introduces various" +"/**\n * Logback: the reliable, generic, fast and flexible logging framework.\n * Copyright (C) 1999-2015, QOS.ch. All rights reserved.\n *\n * This program and the accompanying materials are dual-licensed under\n * either the terms of the Eclipse Public License v1.0 as published by\n * the Eclipse Foundation\n *\n * or (per the licensee's choosing)\n *\n * under the terms of the GNU Lesser General Public License version 2.1\n * as published by the Free Software Foundation.\n */\npackage ch.qos.logback.core.spi;\n\npublic interface PropertyDefiner extends ContextAware {\n\n /**\n * Get the property value, defined by this property definer\n * \n * @return defined property value\n */\n String getPropertyValue();\n}" +"/***\n * Excerpted from \"Language Implementation Patterns\",\n * published by The Pragmatic Bookshelf.\n * Copyrights apply to this code. It may not be used to create training material, \n * courses, books, articles, and the like. Contact us if you are in doubt.\n * We make no guarantees that this code is fit for any purpose. \n * Visit http://www.pragmaticprogrammer.com/titles/tpdsl for more book information.\n***/\nimport org.antlr.runtime.tree.CommonTree;\nimport org.antlr.runtime.Token;\npublic class JnuAST extends CommonTree {\n public Scope scope; // set by Def.g; ID lives in which scope?\n public Symbol symbol; // set by Ref.g; point at def in symbol table \n public JnuAST(Token t) { super(t); }\n}" +"\n\n\n\n\n \n \n\n\n\n \n \n \n\n\n\n" +" array(),\n );\n\n public function filter($var) {\n if (!is_object($var) && !is_array($var)) {\n return null;\n }\n $isArray = is_array($var) || $var instanceof ArrayAccess;\n if (!$isArray) {\n $var = clone $var;\n }\n\n foreach ($this->options['filters'] as $key => $filter) {\n $filter = self::factory($filter);\n if ($isArray) {\n if (!isset($var[$key])) {\n $var[$key] = null;\n }\n $var[$key] = $filter->filter($var[$key]);\n } else {\n if (!isset($var->$key)) {\n $var->$key = null;\n }\n $var->$key = $filter->filter($var->$key);\n }\n }\n\n return $var;\n }\n\n public function validate($var) {\n if (!is_object($var) && !is_array($var)) {\n return false;\n }\n if (is_object($var)) {\n return $var == $this->filter($var);\n }\n return $var == $this->filter($var);\n }\n\n}" +"### Skydock - Automagic Service Discovery for [Docker](https://github.com/dotcloud/docker)\n[![Build Status](https://travis-ci.org/crosbymichael/skydock.png)](https://travis-ci.org/crosbymichael/skydock)\n\n\n## NOTICE\n\nI plan on making some breaking changes soon to help skydns and skydock scale better. To stay up-to-date either\nwatch this repo or follow me on twitter @crosbymichael. \n\n\nSkydock monitors docker events when containers start, stop, die, kill, etc and inserts records into a dynamic\nDNS server [skydns](https://github.com/skynetservices/skydns1). This allows standard DNS queries for services\nrunning inside docker containers. Because lets face it, if you have to modify your application code to work\nwith other service discovery solutions you might as well just give up. DNS just works and it works well. \nAlso you cannot be expected to modify application code that you don't own. Passing service urls via the\ncli or in static config files (nginx) will not be possible if your service discovery solution requires\na client library just to fetch an IP. \n\n\n[Skydns](https://github.com/skynetservices/skydns1) is a very small and simple server that does DNS for \ndiscovery very well. The authors and contributors to skydns helped a lot to make this project possible.\nSkydns exposes a very simple REST API to add, update, and remove services.\n\n\n#### The Details\n\nWhen you start a container with docker an" +"{% extends \"data_wizard/base_site.html\" %}\n\n{% block content %}\n

Data Format

\n{% if serializer %}\n
    \n
  • \n This dataset will be parsed as \"{{serializer_label}}\".\n
  • \n
\n{% include \"data_wizard/continue.html\" %}\n{% elif not serializer_choices %}\n
    \n
  • No serializers registered.
  • \n
\n

See https://github.com/wq/django-data-wizard#model-registration for more information.\n{% else %}\n

    \n
  • Select a format (serializer) to continue.
  • \n
\n
\n {% csrf_token %}\n
\n Select Format\n
    \n {% for choice in serializer_choices %}\n
  • \n \n {% endfor %}\n
  • \n
\n
\n\n
\n \n
\n
\n{% endif %}\n{% endblock %}" +"package utils\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"net\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"reflect\"\n\t\"strconv\"\n\t\"strings\"\n\t\"syscall\"\n\n\t\"github.com/alibaba/pouch/pkg/log\"\n)\n\n// If implements ternary operator. if cond is true return v1, or return v2 instead.\nfunc If(cond bool, v1, v2 interface{}) interface{} {\n\tif cond {\n\t\treturn v1\n\t}\n\treturn v2\n}\n\n// FormatSize format image size to B/KB/MB/GB\nfunc FormatSize(size int64) string {\n\tif size <= 0 {\n\t\treturn \"0.00 B\"\n\t}\n\t// we consider image size less than 1024 GB\n\tsuffixes := []string{\"B\", \"KB\", \"MB\", \"GB\"}\n\n\tvar count int\n\tformattedSize := float64(size)\n\tfor count = 0; count < 3; count++ {\n\t\tif formattedSize < 1024 {\n\t\t\tbreak\n\t\t}\n\t\tformattedSize /= 1024\n\t}\n\n\treturn fmt.Sprintf(\"%.2f %s\", formattedSize, suffixes[count])\n}\n\n// TruncateID is used to transfer image ID from digest to short ID.\nfunc TruncateID(id string) string {\n\tvar shortLen = 12\n\n\tid = strings.TrimPrefix(id, \"sha256:\")\n\tif len(id) > shortLen {\n\t\treturn id[:shortLen]\n\t}\n\treturn id\n}\n\n// Merge merge object from src to dest, dest object should be pointer, only accept struct type, notice: src will overwrite dest's data\nfunc Merge(src, dest interface{}) error {\n\tif src == nil || dest == nil {\n\t\treturn fmt.Errorf(\"merged object can not be nil\")\n\t}\n\n\tdestType" +"package ratelimiter\n\nimport (\n\t\"time\"\n)\n\n// RateLimiter is a simple rate-limiter for any resources inspired by Cloudflare's approach: https://blog.cloudflare.com/counting-things-a-lot-of-different-things/\ntype RateLimiter struct {\n\tdataStore LimitStore\n\trequestsLimit int64\n\twindowSize time.Duration\n}\n\n// New creates new rate limiter. A dataStore is internal limiter data store, requestsLimit and windowSize are parameters of limiter e.g. requestsLimit: 5 and windowSize: 1*time.Minute means that limiter allows up to 5 requests per minute\nfunc New(dataStore LimitStore, requestsLimit int64, windowSize time.Duration) *RateLimiter {\n\n\treturn &RateLimiter{\n\t\tdataStore: dataStore,\n\t\trequestsLimit: requestsLimit,\n\t\twindowSize: windowSize,\n\t}\n}\n\n// Inc increments limiter counter for a given key or returns error when it's not possible\nfunc (r *RateLimiter) Inc(key string) error {\n\tcurrentWindow := time.Now().UTC().Truncate(r.windowSize)\n\treturn r.dataStore.Inc(key, currentWindow)\n}\n\n// LimitStatus represents current status of limitation for a given key\ntype LimitStatus struct {\n\t// IsLimited is true when a given key should be rate-limited\n\tIsLimited bool\n\t// LimitDuration is not nil when IsLimited is true. It's the time for which a given key should be blocked before CurrentRate falls below declared in constructor requests limit\n\tLimitDuration *time.Duration\n\t// CurrentRate is approximated current requests rate per window size (declared in the constructor)\n\tCurrentRate float64\n}\n\n// Check checks status of rate-limiting for a" +"#ifndef _USE_MATH_DEFINES\n#define _USE_MATH_DEFINES\n#endif\n#include \n#include \n#include \n#include \n\n#include \"Tools/Math/utils.h\"\n\n#define REAL_COMP_PREC 1e-6\n\nnamespace aff3ct\n{\nnamespace tools\n{\ntemplate R inline div2(R val) { return val * (R)0.500; }\ntemplate <> int32_t inline div2(int32_t val) { return val >> 1; }\ntemplate <> int16_t inline div2(int16_t val) { return val >> 1; }\ntemplate <> int8_t inline div2(int8_t val) { return val >> 1; }\n\ntemplate R inline div4(R val) { return val * (R)0.250; }\ntemplate <> int32_t inline div4(int32_t val) { return val >> 2; }\ntemplate <> int16_t inline div4(int16_t val) { return val >> 2; }\ntemplate <> int8_t inline div4(int8_t val) { return val >> 2; }\n\ntemplate R inline div8(R val) { return val * (R)0.125; }\ntemplate <> int32_t inline div8(int32_t val) { return val >> 3; }\ntemplate <> int16_t inline div8(int16_t val) { return val >> 3; }\ntemplate <> int8_t inline div8(int8_t val) { return val >> 3; }\n\ntemplate R inline comp_equal(R val1, R val2) { return val1 == val2; }\ntemplate <> float inline comp_equal(float val1, float val2) { return std::abs(val1-val2)<(float )REAL_COMP_PREC;}\ntemplate <>" +"--- deadwood-2.9.03/src/DwDnsStr.c\t2010-08-06 09:41:59.000000000 -0700\n+++ deadwood-2.9.04/src/DwDnsStr.c\t2010-08-09 09:42:07.000000000 -0700\n@@ -528,4 +528,31 @@\n \n }\n \n+/* Convert any upper case letters in a DNS query in to lower case letters;\n+ * This modifies the \"query\" string in place */\n+int dwc_lower_case(dw_str *query) {\n+\tint length = 0, place = 0, counter = 0;\n+\tuint8_t c;\n+\n+\tif(query == 0 || query->len == 0 || query->str == 0) {\n+\t\treturn -1;\n+\t}\n+\n+\tfor(counter = 0 ; counter < query->len ; counter++) {\n+\t\tif(counter == place) {\n+\t\t\tlength = *(query->str + place);\n+\t\t\tif(length == 0) {\n+\t\t\t\tbreak;\n+\t\t\t}\n+\t\t\tplace += length + 1;\n+\t\t} else {\n+\t\t\tc = *(query->str + counter);\n+\t\t\tif(c >= 'A' && c <= 'Z') {\n+\t\t\t\t*(query->str + counter) += 32; /* Lower case */\n+\t\t\t}\n+\t\t}\n+\t}\t\n+\t\t\n+\treturn 1;\n+}\n \n--- deadwood-2.9.03/src/DwDnsStr.h\t2010-08-06 09:41:59.000000000 -0700\n+++ deadwood-2.9.04/src/DwDnsStr.h\t2010-08-09 09:42:07.000000000 -0700\n@@ -67,4 +67,8 @@\n * we got an error */\n int dwc_has_bad_ip(dw_str *answer, dwd_dict *blacklist_hash);\n \n+/* Convert any upper case letters in a DNS query in to lower case letters;\n+ * This modifies the" +"# ----------------------------------------------------------------------------\n# CLASSES: nightly\n#\n# Test Case: empty_db.py \n#\n# Programmer: Mark C. Miller \n# Date: 28Oct10\n#\n# Modifications:\n# Mark C. Miller, Mon Nov 1 12:24:23 PDT 2010\n# I added specification of the Silo format to the open call so that we\n# can be assured of having the real exception (DBYieldedNoData) returned\n# in the error message. Otherwise, that exception is caught and then folded\n# into whatever other possible exceptions other candidates might generate.\n# ----------------------------------------------------------------------------\nimport re\n\nOpenDatabase(data_path(\"silo_pdb_test_data/empty.silo\"), 0, \"Silo_1.0\")\n\nerrStr = GetLastError()\ntmpType = re.search(\",\\nno data was found in the file for VisIt to work with.\", errStr)\nmsg = errStr\nif tmpType != None:\n msg = \"DBYieldedNoDataException\\n\"\nTestText(\"empty_01\", msg)\n\nExit()" +"
\n

\n {% if note.is_promoted == true %}\n {{ note.title }}\n {% else %}\n {{ note.title }}: {{ note.flag }}\n {% endif %}\n

\n {% if note.last_modified %}\n
\n
\n \n Updated {{ note.last_modified | date: \"%-m/%-d/%Y %l:%M %p %Z\" }}\n \n
\n
\n \n Improve this article   Revision history   \n {% if note.contributors == \"1\" %}{{ note.contributors }} Contributor{% else %}{{ note.contributors }} Contributors{% endif %}\n \n
\n
\n {% endif %}\n {{ note.content }}\n
" +"/* This is example code provided to the student */\n//start\n#include \"carddeck.h\"\n#include \n#include \n\nint main(int argc, char* argv[]) {\n QApplication app(argc, argv);\n QTextStream cout(stdout); \n CardDeck deck;\n\n\n CardHand hand;\n int handSize, playerScore, progScore;\n cout << \"How many cards in a hand? \" << flush;\n handSize = QInputDialog::getInt(0, QString(\"getInt()\"),\n QString(\"How many cards in hand?\"), 1, 5);\n QMessageBox::StandardButton sb;\n do {\n hand = deck.deal(handSize);\n cout << \"Here is your hand:\" << endl;\n cout << hand.toString() << endl;\n playerScore = hand.getValue();\n cout << QString(\"Your score is: %1 points.\")\n .arg(playerScore) << endl;\n // Now a hand for the dealer:\n hand = deck.deal(handSize);\n progScore = hand.getValue();\n cout << \"Here is my hand:\" << endl;\n cout << hand.toString() << endl;\n cout << QString(\"My score is: %1 points.\")\n .arg(progScore) << endl;\n cout << QString(\"%1 win!!\")\n .arg((playerScore > progScore)?\"You\":\"I\") << endl;\n sb = QMessageBox::question(0, QString(\"QMessageBox::question()\"),\n QString(\"Another hand?\"), QMessageBox::Yes | QMessageBox::No);\n } while (sb == QMessageBox::Yes);\n return 0;\n}" +"const { UCommon } = require('../../module');\nconst { commonParams } = require('../../module/config');\n\nmodule.exports = async (ctx, next) => {\n\tconst page = +ctx.query.page || 1;\n\tconst num = +ctx.query.limit || 20;\n\tconst start = (page - 1) * num;\n\tconst data = {\n\t\tnew_album: {\n\t\t\tmodule: 'newalbum.NewAlbumServer',\n\t\t\tmethod: 'get_new_album_info',\n\t\t\tparam: {\n\t\t\t\tarea: 1,\n\t\t\t\tstart,\n\t\t\t\tnum,\n\t\t\t},\n\t\t},\n\t\tcomm: {\n\t\t\tct: 24,\n\t\t\tcv: 0,\n\t\t},\n\t};\n\tif (!start) {\n\t\tdata.new_album_tag = {\n\t\t\tmodule: 'newalbum.NewAlbumServer',\n\t\t\tmethod: 'get_new_album_area',\n\t\t\tparam: {},\n\t\t};\n\t}\n\tconst params = Object.assign({\n\t\tformat: 'json',\n\t\tdata: JSON.stringify(data),\n\t});\n\tconst props = {\n\t\tmethod: 'get',\n\t\tparams,\n\t\toption: {},\n\t};\n\tawait UCommon(props)\n\t\t.then(res => {\n\t\t\tconst response = res.data;\n\t\t\tctx.status = 200;\n\t\t\tctx.body = {\n\t\t\t\tstatus: 200,\n\t\t\t\tresponse,\n\t\t\t};\n\t\t})\n\t\t.catch(error => {\n\t\t\tconsole.log('error', error);\n\t\t});\n};" +"function(test)\n set(res \"\")\n # Empty input\n set(input1 \"\")\n set(input2 \"\")\n string_overlap(\"${input1}\" \"${input2}\")\n ans(res)\n assert(\"${res}_\" STREQUAL \"_\")\n\n set(res \"\")\n # Empty input2\n set(input1 \"abc\")\n set(input2 \"\")\n string_overlap(\"${input1}\" \"${input2}\")\n ans(res)\n assert(\"${res}_\" STREQUAL \"_\")\n\n set(res \"\")\n # Empty input1\n set(input1 \"\")\n set(input2 \"abc\")\n string_overlap(\"${input1}\" \"${input2}\")\n ans(res)\n assert(\"${res}_\" STREQUAL \"_\")\n\n set(res \"\")\n # One char overlap\n set(input1 \"abc\")\n set(input2 \"axy\")\n string_overlap(\"${input1}\" \"${input2}\")\n ans(res)\n assert(\"${res}\" STREQUAL \"a\")\n\n set(res \"\")\n # No overlap\n set(input1 \"zabc\")\n set(input2 \"yabc\")\n string_overlap(\"${input1}\" \"${input2}\")\n ans(res)\n assert(\"${res}_\" STREQUAL \"_\")\n\n set(res \"\")\n # Complete overlap\n set(input1 \"abc\")\n set(input2 \"abc\")\n string_overlap(\"${input1}\" \"${input2}\")\n ans(res)\n assert(\"${res}\" STREQUAL \"abc\")\n\n set(res \"\")\n # Whitespace overlap\n set(input1 \" \")\n set(input2 \" \")\n string_overlap(\"${input1}\" \"${input2}\")\n ans(res)\n assert(\"${res}\" STREQUAL \" \")\nendfunction()" +"package pureconfig\n\nimport org.scalacheck.{Arbitrary, Gen}\nimport pureconfig.gen._\n\npackage object arbitrary {\n\n implicit val arbDuration = Arbitrary(genDuration)\n implicit val arbJavaDuration = Arbitrary(genJavaDuration)\n implicit val arbFiniteDuration = Arbitrary(genFiniteDuration)\n implicit val arbInstant = Arbitrary(genInstant)\n implicit val arbPeriod = Arbitrary(genPeriod)\n implicit val arbYear = Arbitrary(genYear)\n implicit val arbUUID = Arbitrary(Gen.uuid)\n implicit val arbPath = Arbitrary(genPath)\n implicit val arbFile = Arbitrary(genFile)\n implicit val arbPercentage = Arbitrary(genPercentage)\n implicit val arbJavaBigDecimal = Arbitrary(genJavaBigDecimal)\n implicit val arbJavaBigInteger = Arbitrary(genBigInt)\n\n implicit val arbLocalTime = Arbitrary(genLocalTime)\n implicit val arbLocalDate = Arbitrary(genLocalDate)\n implicit val arbLocalDateTime = Arbitrary(genLocalDateTime)\n implicit val arbMonthDay = Arbitrary(genMonthDay)\n implicit val arbZoneOffset = Arbitrary(genZoneOffset)\n implicit val arbOffsetDateTime = Arbitrary(genOffsetDateTime)\n implicit val arbOffsetTime = Arbitrary(genOffsetTime)\n implicit val arbYearMonth = Arbitrary(genYearMonth)\n implicit val arbZoneId = Arbitrary(genZoneId)\n implicit val arbZonedDateTime = Arbitrary(genZonedDateTime)\n}" +"/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Wick is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Wick. If not, see . */\n\nvar tweenValueNames = [\"x\",\"y\",\"scaleX\",\"scaleY\",\"rotation\",\"opacity\"];\n\nvar WickTween = function() {\n this.x = 0;\n this.y = 0; \n this.z = 0; \n this.scaleX = 1;\n this.scaleY = 1;\n this.rotation = 0;\n this.opacity = 1;\n\n this.playheadPosition = 0;\n this.rotations = 0;\n\n this.uuid = random.uuid4();\n\n this.tweenType = 'Linear';\n this.tweenDir = 'None';\n}\n\nWickTween.fromWickObjectState = function (wickObject) {\n\tvar tween = new WickTween();\n\n\ttweenValueNames.forEach(function (name) {\n\t\ttween[name] = wickObject[name];\n\t});\n\n\treturn tween;\n}\n\nWickTween.prototype.copy = function () {\n var copy = new WickTween();\n\n copy.x = this.x;\n copy.y = this.y; \n copy.z" +"Germany's Dresdner Bank and Dutch bank ABN AMRO Holding NV may covet a larger slice of lucrative British fund management business, but analysts warned on Wednesday their shopping lists will be limited.\n\"Some of the smaller quoted firms might get snapped up,\" one banking analyst told Reuters, adding the price range for quoted asset management companies varied from between around 125 million pounds ($207.6 million) to several billion pounds.\n\"There's a large range of value out there, but nothing is on offer,\" he said.\nWell-known top performers such as Mercury Asset Management (MAM) are likely to be prohibitively expensive and none of the major players have indicated they are up for grabs.\nAnd the weaker fund firms are not likely to be of such great interest to European banks trying to make an immediate impact on the market rather than turn around a non-performer.\n\"There's an active trading market for these businesses but some banks feel the prices are too high,\" John Leonard, banking analyst at Salomon Brothers said.\nBanks are not alone in their desire to grab more asset management business, with insurance companies also in the frame. And as with other areas of financial services completely new entrants" +"import Serializable from './Serializable';\nimport BaseTypes from './BaseTypes';\n\n/**\n * A ThreeVector is a geometric object which is completely described\n * by three values.\n */\nclass ThreeVector extends Serializable {\n\n static get netScheme() {\n return {\n x: { type: BaseTypes.TYPES.FLOAT32 },\n y: { type: BaseTypes.TYPES.FLOAT32 },\n z: { type: BaseTypes.TYPES.FLOAT32 }\n };\n }\n\n /**\n * Creates an instance of a ThreeVector.\n * @param {Number} x - first value\n * @param {Number} y - second value\n * @param {Number} z - second value\n * @return {ThreeVector} v - the new ThreeVector\n */\n constructor(x, y, z) {\n super();\n this.x = x;\n this.y = y;\n this.z = z;\n\n return this;\n }\n\n /**\n * Formatted textual description of the ThreeVector.\n * @return {String} description\n */\n toString() {\n function round3(x) { return Math.round(x * 1000) / 1000; }\n return `[${round3(this.x)}, ${round3(this.y)}, ${round3(this.z)}]`;\n }\n\n /**\n * Multiply this ThreeVector by a scalar\n *\n * @param {Number} s the scale\n * @return {ThreeVector} returns self\n */\n multiplyScalar(s) {\n this.x *= s;\n this.y *= s;\n this.z *= s;\n return this;\n }\n\n /**\n * Get vector length\n *\n * @return {Number} length of this vector\n */\n length() {\n return Math.sqrt(this.x * this.x + this.y * this.y + this.z *" +"/**\n * Talisman metrics/manhattan\n * ===========================\n *\n * Function computing the Manhattan distance.\n *\n * [Reference]: https://en.wikipedia.org/wiki/Taxicab_geometry\n *\n * [Tags]: metric, vector space.\n */\n\n/**\n * Function returning the Manhattan distance between two vectors.\n *\n * @param {mixed} a - The first vector.\n * @param {mixed} b - The second vector.\n * @return {number} - The Manhattan distance between a & b.\n *\n * @throws {Error} The function expects vector of same dimensions.\n */\nexport default function manhattan(a, b) {\n if (a.length !== b.length)\n throw Error('talisman/metrics/distance/manhattan: the given vectors are not of the same dimension.');\n\n let distance = 0;\n\n for (let i = 0, l = a.length; i < l; i++)\n distance += Math.abs(a[i] - b[i]);\n\n return distance;\n}" +"/*\n* Copyright (C) 2010 Marcel Groothuis\n*\n* This program is free software: you can redistribute it and/or modify\n* it under the terms of the GNU General Public License as published by\n* the Free Software Foundation, either version 2 of the License, or\n* (at your option) any later version.\n*\n* This program is distributed in the hope that it will be useful,\n* but WITHOUT ANY WARRANTY; without even the implied warranty of\n* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n* GNU General Public License for more details.\n*\n* You should have received a copy of the GNU General Public License\n* along with this program. If not, see .\n*\n*/\n#if defined(TARGET_WINDOWS)\n#pragma warning(disable:4244) //wchar to char = loss of data\n#endif\n\n#include \"utils.h\"\n#include \"platform/os.h\"\n#include \"client.h\" //For XBMC->Log\n#include \n#include // sort\n\nusing namespace ADDON;\n\nnamespace Json\n{\n void printValueTree( const Json::Value& value, const std::string& path)\n {\n switch ( value.type() )\n {\n case Json::nullValue:\n XBMC->Log(LOG_DEBUG, \"%s=null\\n\", path.c_str() );\n break;\n case Json::intValue:\n XBMC->Log(LOG_DEBUG, \"%s=%d\\n\", path.c_str(), value.asInt() );\n break;\n case Json::uintValue:\n XBMC->Log(LOG_DEBUG, \"%s=%u\\n\", path.c_str(), value.asUInt() );\n break;\n case Json::realValue:\n XBMC->Log(LOG_DEBUG, \"%s=%.16g\\n\", path.c_str(), value.asDouble() );\n break;\n case Json::stringValue:" +"/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n */\n\npackage org.apache.commons.net.ftp;\n\nimport junit.framework.TestCase;\n\npublic class FTPCommandTest extends TestCase {\n\n public FTPCommandTest(final String name) {\n super(name);\n }\n\n @SuppressWarnings(\"deprecation\") // test of deprecated code\n public void testArray() {\n FTPCommand.checkArray();\n }\n\n}" +"label = esc_html__( 'Payment Amount', 'gravityview' );\n\n\t\tadd_filter( 'gravityview_field_entry_value_' . $this->name . '_pre_link', array( $this, 'get_content' ), 10, 4 );\n\t\tadd_filter( 'gravityview/field/payment_amount/value', array( $this, 'get_value' ), 10, 6 );\n\n\t\tparent::__construct();\n\t}\n\n\t/**\n\t * Filter the value of the field\n\t *\n\t * @todo Consider how to add to parent class\n\t *\n\t * @since 1.16\n\t *\n\t * @param string $output HTML value output\n\t * @param array $entry The GF entry array\n\t * @param array $field_settings Settings for the particular GV field\n\t * @param array $field Current field being displayed\n\t *\n\t * @return String values for this field based on the numeric values used by Gravity Forms\n\t */\n\tpublic function get_content( $output = '', $entry = array(), $field_settings = array(), $field = array() ) {\n\n\t\t/** Overridden by a template. */\n\t\tif( ! empty( $field['field_path'] ) ) { return $output; }\n\n\t\t$amount = \\GV\\Utils::get(" +"---\ntitle: DataRecordset.DataConnection Property (Visio)\nkeywords: vis_sdr.chm16460280\nf1_keywords:\n- vis_sdr.chm16460280\nms.prod: visio\napi_name:\n- Visio.DataRecordset.DataConnection\nms.assetid: 3425e9c4-4cd6-7553-2dbf-5e14b8a9a68a\nms.date: 06/08/2017\n---\n\n\n# DataRecordset.DataConnection Property (Visio)\n\nReturns the **[DataConnection](dataconnection-object-visio.md)** object associated with the **DataRecordset** object. Read-only.\n\n\n **Note** This Visio object or member is available only to licensed users of Visio Professional 2013.\n\n\n## Syntax\n\n _expression_ . **DataConnection**\n\n _expression_ An expression that returns a **DataRecordset** object.\n\n\n### Return Value\n\nDataConnection\n\n\n## Remarks\n\nYou can get the connection string associated with a data recordset by first using the **DataConnection** property to get the **DataConnection** object associated with the data recordset and then getting the **[DataConnection.ConnectionString](dataconnection-connectionstring-property-visio.md)** property value.\n\nThe **DataConnection** property returns **Nothing** for \"connectionless\" **DataRecordset** objects\u2014those that are created by using the **[DataRecordsets.AddFromXML](datarecordsets-addfromxml-method-visio.md)** method." +"# frozen_string_literal: true\n\nmodule Gitlab\n class VersionInfo\n include Comparable\n\n attr_reader :major, :minor, :patch\n\n def self.parse(str)\n if str && m = str.match(/(\\d+)\\.(\\d+)\\.(\\d+)/)\n VersionInfo.new(m[1].to_i, m[2].to_i, m[3].to_i)\n else\n VersionInfo.new\n end\n end\n\n def initialize(major = 0, minor = 0, patch = 0)\n @major = major\n @minor = minor\n @patch = patch\n end\n\n def <=>(other)\n return unless other.is_a? VersionInfo\n return unless valid? && other.valid?\n\n if other.major < @major\n 1\n elsif @major < other.major\n -1\n elsif other.minor < @minor\n 1\n elsif @minor < other.minor\n -1\n elsif other.patch < @patch\n 1\n elsif @patch < other.patch\n -1\n else\n 0\n end\n end\n\n def to_s\n if valid?\n \"%d.%d.%d\" % [@major, @minor, @patch]\n else\n \"Unknown\"\n end\n end\n\n def valid?\n @major >= 0 && @minor >= 0 && @patch >= 0 && @major + @minor + @patch > 0\n end\n end\nend" +"// Copyright (c) 2012 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef MEDIA_BASE_AUDIO_BUS_H_\n#define MEDIA_BASE_AUDIO_BUS_H_\n\n#include \n\n#include \"base/memory/aligned_memory.h\"\n#include \"base/memory/scoped_ptr.h\"\n#include \"media/base/media_export.h\"\n\nnamespace media {\nclass AudioParameters;\n\n// Scoped container for \"busing\" audio channel data around. Each channel is\n// stored in planar format and guaranteed to be aligned by kChannelAlignment.\n// AudioBus objects can be created normally or via wrapping. Normally, AudioBus\n// will dice up a contiguous memory block for channel data. When wrapped,\n// AudioBus instead routes requests for channel data to the wrapped object.\nclass MEDIA_EXPORT AudioBus {\n public:\n // Guaranteed alignment of each channel's data; use 16-byte alignment for easy\n // SSE optimizations.\n enum { kChannelAlignment = 16 };\n\n // Creates a new AudioBus and allocates |channels| of length |frames|. Uses\n // channels() and frames_per_buffer() from AudioParameters if given.\n static scoped_ptr Create(int channels, int frames);\n static scoped_ptr Create(const AudioParameters& params);\n\n // Creates a new AudioBus with the given number of channels, but zero length.\n // It's expected to be used with SetChannelData() and set_frames() to\n // wrap externally allocated memory.\n static scoped_ptr CreateWrapper(int channels);" +"\n * @copyright Sebastian Feldmann \n * @license https://opensource.org/licenses/MIT The MIT License (MIT)\n * @link http://phpbu.de/\n * @since Class available since Release 5.0.0\n */\nclass OnePerGroup implements Keeper\n{\n /**\n * Grouping date format f.e. 'Ymd'.\n *\n * @var string\n */\n private $group;\n\n /**\n * List of groups containing the files.\n *\n * @var \\phpbu\\App\\Backup\\File\\Local[][]\n */\n private $groups = [];\n\n /**\n * OnePerGroup constructor.\n *\n * @param string $group\n */\n public function __construct(string $group)\n {\n $this->group = $group;\n }\n\n /**\n * Decides if given file should be kept.\n *\n * @param \\phpbu\\App\\Backup\\File $file\n * @return bool\n */\n public function keep(File $file) : bool\n {\n $group = date($this->group, $file->getMTime());\n $this->groups[$group][] = $file;\n\n // keep only the first file\n return count($this->groups[$group]) < 2;\n }\n}" +"// Corona-Warn-App\n//\n// SAP SE and all other contributors\n// copyright owners license this file to you under the Apache\n// License, Version 2.0 (the \"License\"); you may not use this\n// file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing,\n// software distributed under the License is distributed on an\n// \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n// KIND, either express or implied. See the License for the\n// specific language governing permissions and limitations\n// under the License.\n\nimport Foundation\nimport UIKit\n\nextension ExposureDetectionViewController {\n\tfunc dynamicTableViewModel(for riskLevel: RiskLevel, isTracingEnabled: Bool) -> DynamicTableViewModel {\n\t\tif !isTracingEnabled {\n\t\t\treturn offModel\n\t\t}\n\n\t\tswitch riskLevel {\n\t\tcase .unknownInitial: return unknownRiskModel\n\t\tcase .unknownOutdated: return outdatedRiskModel\n\t\tcase .inactive: return offModel\n\t\tcase .low: return lowRiskModel\n\t\tcase .increased: return highRiskModel\n\t\t}\n\t}\n}\n\n// MARK: - Supported Header Types\n\nprivate extension DynamicHeader {\n\tstatic func backgroundSpace(height: CGFloat) -> DynamicHeader {\n\t\t.space(height: height, color: .enaColor(for: .background))\n\t}\n\n\tstatic func riskTint(height _: CGFloat) -> DynamicHeader {\n\t\t.custom { viewController in\n\t\t\tlet view = UIView()\n\t\t\tlet heightConstraint = view.heightAnchor.constraint(equalToConstant: 16)\n\t\t\theightConstraint.priority" +"package weightpool\n\nimport (\n\t\"sync\"\n\n\t\"github.com/go-chassis/go-chassis/core/common\"\n\t\"github.com/go-chassis/go-chassis/core/config\"\n)\n\nvar weightPool *SafePool\nvar once sync.Once\n\nfunc init() { once.Do(func() { weightPool = &SafePool{pool: map[string]*Pool{}} }) }\n\n// GetPool returns singleton of weightPool\nfunc GetPool() *SafePool { return weightPool }\n\n// SafePool is a cache for pool of all destination\ntype SafePool struct {\n\tsync.RWMutex\n\tpool map[string]*Pool\n}\n\n// Get returns specific pool for key\nfunc (s *SafePool) Get(key string) (*Pool, bool) {\n\ts.RLock()\n\tvalue, ok := s.pool[key]\n\ts.RUnlock()\n\treturn value, ok\n}\n\n// Set can set pool to safe cache\nfunc (s *SafePool) Set(key string, value *Pool) {\n\ts.Lock()\n\ts.pool[key] = value\n\ts.Unlock()\n}\n\n// Reset can delete pool for specific key\nfunc (s *SafePool) Reset(key string) {\n\ts.Lock()\n\tdelete(s.pool, key)\n\ts.Unlock()\n}\n\n/* Weighted Round-Robin Scheduling\nhttp://zh.linuxvirtualserver.org/node/37\n\nwhile (true) {\n i = (i + 1) mod n;\n if (i == 0) {\n cw = cw - gcd(S);\n if (cw <= 0) {\n cw = max(S);\n if (cw == 0)\n return NULL;\n }\n }\n if (W(Si) >= cw)\n return Si;\n}*/\n\n// Pool defines sets of weighted tags\ntype Pool struct {\n\ttags []config.RouteTag\n\n\tmu sync.RWMutex\n\tgcd int\n\tmax int\n\ti int\n\tcw int\n\tnum int\n}\n\n// NewPool returns pool" +"package com.tencent.mm.pluginsdk.ui.tools;\n\nimport android.content.Context;\nimport com.tencent.mm.sdk.platformtools.u;\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic final class p\n{\n private static List iTp = new ArrayList();\n \n public static void a(a parama)\n {\n if (parama != null)\n {\n u.d(\"!44@/B4Tb64lLpJLnjolkGdCefwLG6QT9EqvNAxO7Tr/+58=\", \"add, plugin name = \" + parama.getName());\n if (!iTp.contains(parama)) {\n iTp.add(parama);\n }\n }\n }\n \n public static List aOo()\n {\n return iTp;\n }\n \n public static void clear()\n {\n u.d(\"!44@/B4Tb64lLpJLnjolkGdCefwLG6QT9EqvNAxO7Tr/+58=\", \"clear\");\n iTp.clear();\n }\n \n public static abstract interface a\n {\n public abstract void aNM();\n \n public abstract void aNN();\n \n public abstract void cz(Context paramContext);\n \n public abstract String getName();\n }\n}\n\n/* Location:\n * Qualified Name: com.tencent.mm.pluginsdk.ui.tools.p\n * Java Class Version: 6 (50.0)\n * JD-Core Version: 0.7.1\n */" +"BEGIN;\n\nALTER TABLE Job ADD COLUMN HasCache TINYINT DEFAULT 0;\nALTER TABLE Job ADD COLUMN Reviewed TINYINT DEFAULT 0;\nALTER TABLE Job ADD COLUMN Comment TEXT;\nALTER TABLE JobHisto ADD COLUMN HasCache TINYINT DEFAULT 0;\nALTER TABLE JobHisto ADD COLUMN Reviewed TINYINT DEFAULT 0;\nALTER TABLE JobHisto ADD COLUMN Comment TEXT;\n\nALTER TABLE Status ADD COLUMN Severity int;\nUPDATE Status SET Severity = 15;\nUPDATE Status SET Severity = 100 where JobStatus = 'f';\nUPDATE Status SET Severity = 90 where JobStatus = 'A';\nUPDATE Status SET Severity = 10 where JobStatus = 'T';\nUPDATE Status SET Severity = 20 where JobStatus = 'e';\nUPDATE Status SET Severity = 25 where JobStatus = 'E';\n\nCREATE TABLE PathHierarchy\n(\n PathId integer NOT NULL,\n PPathId integer NOT NULL,\n CONSTRAINT pathhierarchy_pkey PRIMARY KEY (PathId)\n);\n\nCREATE INDEX pathhierarchy_ppathid\n\t ON PathHierarchy (PPathId);\n\nCREATE TABLE PathVisibility\n(\n PathId integer NOT NULL,\n JobId integer NOT NULL,\n Size int8 DEFAULT 0,\n Files int4 DEFAULT 0,\n CONSTRAINT pathvisibility_pkey PRIMARY KEY (JobId, PathId)\n);\n\nCREATE INDEX pathvisibility_jobid\n\t ON PathVisibility (JobId);\n\nCREATE INDEX basefiles_jobid_idx ON BaseFiles ( JobId );\n\nUPDATE Version SET VersionId=12;\nCOMMIT;\n\nDROP INDEX inx4;\nDROP INDEX IF EXISTS inx9;\nCREATE INDEX file_jpf_idx ON File (JobId, PathId, FilenameId);" +"---\ntitle: \"'' is not a member of ''\"\nms.date: 10/10/2018\nf1_keywords: \n - \"bc30456\"\n - \"vbc30456\"\nhelpviewer_keywords: \n - \"BC30456\"\nms.assetid: 029f9742-858a-40c5-b771-7cdfb2c777cc\n---\n# '\\' is not a member of '\\'\n\nThe member you have provided is not a member of the class. \n \n **Error ID:** BC30456 \n \n## To correct this error \n \n1. Check the name of the member to ensure it is accurate. \n \n2. Use an actual member of the class.\n\n3. If you are attempting to compile an SDK-style project (a project with a \\*.vbproj file that begins with the line ``), and the error message refers to a type or member in the Microsoft.VisualBasic.dll assembly, configure your application to compile with a reference to the Visual Basic Runtime Library. By default, a subset of the library is embedded in your assembly in an SDK-style project.\n\n For example, the following example fails to compile because the property cannot be found. It is not embedded in the subset of the Visual Basic Runtime included with your application. \n\n [!code-vb[BC30456](~/samples/snippets/visualbasic/language-reference/error-messages/bc30456/program.vb)]\n\n To address this error, add the `Default` element to the projects `` section, as the following Visual Basic project file shows.\n\n [!code-vb[BC30456](~/samples/snippets/visualbasic/language-reference/error-messages/bc30456/bc30456.vbproj?highlight=6)]" +"# Copyright (C) 2016 The Libphonenumber Authors\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n\n# http://www.apache.org/licenses/LICENSE-2.0\n\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# Translations of the en/82.txt file from Wikipedia.\n\n822|Se\u00fal\n8231|Gyeonggi\n8232|Incheon\n8233|Gangwon\n8241|Chungcheong del Sur\n8242|Daejeon\n8243|Chungcheong del Norte\n8244|Ciudad de Sejong\n8251|Bus\u00e1n\n8252|Ulsan\n8253|Daegu\n8254|Gyeongsang del Norte\n8255|Gyeongsang del Sur\n8261|Jeolla del Sur\n8262|Gwangju\n8263|Jeolla del Norte\n8264|Jeju" +"# absolute root path of your azerothcore repository\n# It should not be modified if you don't really know what you're doing\nSRCPATH=\"$AC_PATH_ROOT\"\n\n# absolute path where build files must be stored\nBUILDPATH=\"$AC_PATH_ROOT/var/build/obj\"\n\n# absolute path where binary files must be stored\nBINPATH=\"$AC_PATH_ROOT/env/dist\"\n\n# bash fills it by default with your os type. No need to change it.\n# Change it if you really know what you're doing.\n# OSTYPE=\"\"\n\n# When using linux, our installer automatically get information about your distro\n# using lsb_release. If your distro is not supported but it's based on ubuntu or debian,\n# please change it to one of these values.\n#OSDISTRO=\"ubuntu\"\n\n# absolute path where config. files must be stored\n# default: the system will use binpath by default\n# CONFDIR=\"$AC_PATH_ROOT/env/dist/etc/\"\n\n##############################################\n#\n# COMPILER_CONFIGURATIONS\n#\n##############################################\n\n\n# Set preferred compilers.\n# To use gcc (not suggested) instead of clang change in:\n# CCOMPILERC=\"/usr/bin/gcc\"\n# CCOMPILERCXX=\"/usr/bin/g++\"\n#\nCCOMPILERC=\"/usr/bin/clang\"\nCCOMPILERCXX=\"/usr/bin/clang++\"\n\n\n# how many thread must be used for compilation ( leave zero to use all available )\nMTHREADS=0\n# enable/disable warnings during compilation\nCWARNINGS=ON\n# enable/disable some debug informations ( it's not a debug compilation )\nCDEBUG=OFF\n# specify compilation type\nCTYPE=Release\n# compile" +"# Tests for Tests for source4/dsdb/samdb/ldb_modules/password_hash.c\n#\n# Copyright (C) Catalyst IT Ltd. 2017\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 3 of the License, or\n# (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program. If not, see .\n#\n\n\"\"\"\nBase class for tests for source4/dsdb/samdb/ldb_modules/password_hash.c\n\"\"\"\n\nfrom samba.credentials import Credentials\nfrom samba.samdb import SamDB\nfrom samba.auth import system_session\nfrom samba.tests import TestCase\nfrom samba.ndr import ndr_unpack\nfrom samba.dcerpc import drsblobs\nfrom samba.dcerpc.samr import DOMAIN_PASSWORD_STORE_CLEARTEXT\nfrom samba.dsdb import UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED\nfrom samba.tests import delete_force\nfrom samba.tests.password_test import PasswordCommon\nimport ldb\nimport samba\nimport binascii\nfrom hashlib import md5\nimport crypt\n\n\nUSER_NAME = \"PasswordHashTestUser\"\nUSER_PASS = samba.generate_random_password(32, 32)\nUPN = \"PWHash@User.Principle\"\n\n# Get named" +"---\ndescription: How to to tune the computation of forces and stresses\nauthors: FJ\n---\n\n\nThis page gives hints on how to to tune the computation of forces and stresses with the ABINIT package.\n\n## Introduction\n\nHellman-Feynman forces are computed from an analytical formula, and\ncorresponds exactly to the limit of finite differences of energy for\ninfinitesimally small atomic displacements when the ground-state calculation\nis at convergence. This feature is available for all the cases where the total\nenergy can be computed. A correction for non-converged cases allows to get\naccurate forces with less converged wavefunctions than without it. The\ndecomposition of the forces in their different components can be provided.\n\nStress can also be computed. This feature is available for all the cases where\nthe total energy can be computed (except wavelets). The decomposition of the\nstresses in their different components can be provided. A smearing scheme\napplied to the kinetic energy [[ecutsm]] allows one to get smooth energy\ncurves as a function of lattice parameters and angles. A target stress can be\ngiven by the user ([[strtarget]]), the geometry optimization algorithm will\ntry to find" +"# rs-dnn Sample\n\n## Overview\nThis example shows how to use Intel RealSense cameras with existing [Deep Neural Network](https://en.wikipedia.org/wiki/Deep_learning) algorithms. The demo is derived from [MobileNet Single-Shot Detector example](https://github.com/opencv/opencv/blob/3.4.0/samples/dnn/ssd_mobilenet_object_detection.cpp) provided with `opencv`. We modify it to work with Intel RealSense cameras and take advantage of depth data (in a very basic way). \n\n\nThe demo will load existing [Caffe model](https://github.com/chuanqi305/MobileNet-SSD) (see another tutorial [here](https://docs.opencv.org/3.3.0/d5/de7/tutorial_dnn_googlenet.html)) and use it to classify objects within the RGB image. Once object is detected, the demo will calculate approximate distance to the object using the depth data:\n\n

\n\n## Implementation Details\n\nUnlike the other samples, this demo requires access to the exact depth values. We generate a matrix of floating point values (in meters) using the following helper function:\n```cpp\nauto depth_mat = depth_frame_to_meters(pipe, depth_frame);\n```" +"1:@:(dbr bind Debug)@:(9!:19)2^_44[(echo^:ECHOFILENAME) './g420r2.ijs'\nNB. f/\"r y over an axis of length 2 -------------------------------------\n\n(= /\"1 -: 4 : 'x= y'/\"1) b=: 3 5 7 2 ?@$ 2\n(< /\"1 -: 4 : 'x< y'/\"1) b\n(<./\"1 -: 4 : 'x<.y'/\"1) b\n(<:/\"1 -: 4 : 'x<:y'/\"1) b\n(> /\"1 -: 4 : 'x> y'/\"1) b\n(>./\"1 -: 4 : 'x>.y'/\"1) b\n(>:/\"1 -: 4 : 'x>:y'/\"1) b\n(+./\"1 -: 4 : 'x+.y'/\"1) b\n(+:/\"1 -: 4 : 'x+:y'/\"1) b\n(*./\"1 -: 4 : 'x*.y'/\"1) b\n(*:/\"1 -: 4 : 'x*:y'/\"1) b\n(~:/\"1 -: 4 : 'x~:y'/\"1) b\n\n\n4!:55 ;:'b'" +"_moduleList = $moduleList;\n $this->_moduleDirs = $moduleDirs;\n }\n\n /**\n * Retrieve fully-qualified module name, path belongs to\n *\n * @param string $path Full path to file or directory\n * @return string|null\n */\n public function getModuleName($path)\n {\n $path = str_replace('\\\\', '/', $path);\n foreach ($this->_moduleList->getNames() as $moduleName) {\n $moduleDir = $this->_moduleDirs->getDir($moduleName);\n $moduleDir = str_replace('\\\\', '/', $moduleDir);\n if ($path == $moduleDir || strpos($path, $moduleDir . '/') === 0) {\n return $moduleName;\n }\n }\n return null;\n }\n}" +"{-# LANGUAGE DataKinds #-}\n{-# LANGUAGE IncoherentInstances #-}\n{-# LANGUAGE PartialTypeSignatures #-}\n{-# LANGUAGE RecordWildCards #-}\n{-# OPTIONS_GHC -fno-warn-partial-type-signatures #-}\n{-# OPTIONS_GHC -fno-warn-missing-signatures #-}\n\nmodule Test.Data.Registry.Make.SpecializationSpec where\n\nimport Data.Registry\nimport Protolude hiding (C1)\nimport Test.Tasty.Extensions\n\n-- | Case 1: contextual setting of different values for a given type\ntest_specialization_1 = test \"values can use other values depending on some context\" $ do\n (c1, c2) <- liftIO $\n do let r = val (Config 3)\n <: fun newUseConfig1\n <: fun newUseConfig2\n let r' = specialize @UseConfig1 (Config 1) $\n specialize @UseConfig2 (Config 2) r\n pure (printConfig1 (make @UseConfig1 r'), printConfig2 (make @UseConfig2 r'))\n\n c1 === Config 1\n c2 === Config 2\n\n-- | Case 2: if there are 2 specialization taking effect for 2 different types\n-- the one that is the children of the other in the current context wins\ntest_specialization_2 = test \"more specialized context\" $ do\n c <- liftIO $\n do let r = val (Config 3)\n <: fun newUseConfig\n <: fun newClient1\n let r' = specialize @Client1 (Config 1) $\n specialize @UseConfig (Config 2) r\n pure $ printClientConfig1 (make @Client1 r')\n\n annotate \"this is the more specialized context\"\n c === Config 2\n\n-- | Case 3: this" +"/*\n * ModeShape (http://www.modeshape.org)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage org.modeshape.jcr.cache.change;\n\nimport java.util.Map;\nimport java.util.Set;\nimport org.modeshape.jcr.cache.NodeKey;\nimport org.modeshape.jcr.value.BinaryKey;\nimport org.modeshape.jcr.value.Name;\nimport org.modeshape.jcr.value.Path;\nimport org.modeshape.jcr.value.Property;\n\n/**\n * An interface used to signal various kinds of changes.\n */\npublic interface Changes {\n\n /**\n * Signal that a new workspace has been added.\n * \n * @param workspaceName the name of the workspace; may not be null\n */\n void workspaceAdded( String workspaceName );\n\n /**\n * Signal that a new workspace has been removed.\n * \n * @param workspaceName the name of the workspace; may not be null\n */\n void workspaceRemoved( String workspaceName );\n\n /**\n * Signal that the repository metadata has changed.\n */\n void repositoryMetadataChanged();\n\n /**\n * Signal" +"/**\n * @file\n *\n * @author OmniBlade\n * @author CCHyper\n *\n * @brief Class for representing lists of selectable options.\n *\n * @copyright Chronoshift is free software: you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation, either version\n * 2 of the License, or (at your option) any later version.\n * A full copy of the GNU General Public License can be found in\n * LICENSE\n */\n#pragma once\n\n#ifndef LIST_H\n#define LIST_H\n\n#include \"always.h\"\n#include \"controlc.h\"\n#include \"dialog.h\"\n#include \"language.h\"\n#include \"shapebtn.h\"\n#include \"slider.h\"\n#include \"vector.h\"\n\nclass ListClass : public ControlClass\n{\npublic:\n ListClass(int id, int x, int y, int w, int h, TextPrintType text_style, void *up_btn_shape, void *down_btn_shape);\n ListClass(ListClass &that);\n virtual ~ListClass();\n\n virtual LinkClass &Add(LinkClass &that) override;\n virtual LinkClass &Add_Tail(LinkClass &that) override;\n virtual LinkClass &Add_Head(LinkClass &that) override;\n virtual GadgetClass *Remove() override;\n virtual void Flag_To_Redraw() override;\n virtual void Peer_To_Peer(unsigned flags, KeyNumType &key, ControlClass &peer) override;\n virtual void Set_Position(int x, int y) override;\n virtual BOOL Draw_Me(BOOL redraw) override;\n virtual BOOL Action(unsigned flags, KeyNumType &key) override;\n virtual int Add_Item(const char *string);\n virtual int Add_Item(int str_id);\n virtual BOOL Add_Scroll_Bar();\n virtual void Bump(BOOL bump_up);\n virtual int Count()" +".hero-section {\n padding: 0;\n\n .hero-articles {\n position: relative;\n overflow: hidden;\n\n .hero-content {\n h1 {\n margin-top: 2em;\n font-size: 2em;\n font-weight: bold;\n line-height: 1.25;\n\n a {\n color: #000;\n font-weight: 700;\n\n &:hover {\n text-decoration: none;\n }\n }\n }\n\n h2 {\n margin-top: .5rem;\n font-size: 1.75em;\n font-weight: bold;\n line-height: 1.25;\n\n a {\n color: #000;\n\n &:hover {\n text-decoration: none;\n }\n }\n }\n }\n\n .tags {\n .tag {\n background: rgba(208, 208, 208, 0.3);\n color: #fff !important;\n\n &:hover {\n background: white;\n color: black !important;\n }\n }\n }\n\n .article-owner {\n .article-infos {\n color: black;\n\n\n .seperator {\n margin: 0 4px;\n color: rgba(255, 255, 255, 0.2);\n }\n\n img.article-avatar {\n display: inline-block;\n border-radius: 50%;\n }\n }\n }\n\n .img-container {\n img {\n width: 100%;\n }\n }\n\n &:hover {\n .img-container {\n &::after {\n opacity: 1;\n }\n }\n }\n }\n}\n\n.article-owner {\n .article-infos {\n color: #000;\n\n a {\n color: rgba(0, 0, 0, 0.6);\n }\n\n .seperator {\n margin: 0 4px;\n color: rgba(0, 0, 0, 0.2);\n }\n\n img.article-avatar {\n width: 48px;\n margin: -1px 4px 0 0;\n display: inline-block;\n border-radius: 50%;\n }\n }\n}\n\n.user-card {\n h5 {\n span {\n font-weight: 300;\n opacity: .5;\n padding: 0 5px;\n }\n }\n}\n.card-articles {\n .card-content {\n padding: 10px 0px 10px;\n\n h3 {\n margin: 10px 0;\n\n a {\n font-weight: 700;" +"# From 3.6 _sitebuiltins.py\n# Bug was in handling double nested kinds of things like:\n# for a in b for c in d\n\n# This required grammar modification and\n# and semantic action changes. LOAD_CLOSUREs are stored\n# inside a MAKE_TUPLE.\n\n# FIXME: test and try additional \"if\" clauses.\ndef __init__(self, path, name, files=(), dirs=(), volumes=()):\n f = [path.join(dir, filename)\n for dir in dirs\n for filename in files]\n f2 = [path.join(drive, dir, filename)\n for dir in dirs\n for filename in files\n for drive in volumes]\n return f, f2\n\n# From 3.6 codeop. The below listcomp is generated still\n# like it was in 3.5\nimport __future__\n_features = [getattr(__future__, fname)\n for fname in __future__.all_feature_names]" +"/*\n * Copyright 2020, Verizon Media.\n * Licensed under the terms of the Apache 2.0 license.\n * Please see LICENSE file in the project root for terms.\n */\n\npackage com.yahoo.oak;\n\nimport org.junit.Test;\n\n\npublic class MemoryReleaseTest {\n\n @Test(timeout = 300_000)\n public void testByteBuffersReleased() {\n// System.gc();\n// String val = String.format(\"-%016000d\", 0);\n//\n// OakMapBuilder builder = new OakMapBuilder()\n// .setChunkMaxItems(1024)\n// .setChunkBytesPerItem(4096)\n// .setKeySerializer(new StringSerializer())\n// .setValueSerializer(new StringSerializer())\n// .setComparator(new StringComparator())\n// .setMinKey(\"\");\n// OakMap oak = builder.build();\n//\n// int firstIteration = 0;\n// try {\n// while (true) {\n// String key = String.format(\"-%01024d\", firstIteration++);\n// oak.put(key, val);\n// }\n// } catch (OutOfMemoryError e) {\n//\n// }\n//\n// oak.close();\n//\n// int secondIteration = 0;\n// oak = builder.build();\n// System.gc();\n//\n// try {\n// while (true) {\n// String key = String.format(\"-%01024d\", secondIteration++);\n// oak.put(key, val);\n// }\n// } catch (OutOfMemoryError e) {\n//\n// }\n// assert(firstIteration <= secondIteration);\n// oak.close();\n// System.gc();\n }\n\n}" +"// Generated by Cap'n Proto compiler, DO NOT EDIT\n// source: lexer.capnp\n\n#include \"lexer.capnp.h\"\n\nnamespace capnp {\nnamespace schemas {\nstatic const ::capnp::_::AlignedData<195> b_91cc55cd57de5419 = {\n { 0, 0, 0, 0, 5, 0, 6, 0,\n 25, 84, 222, 87, 205, 85, 204, 145,\n 27, 0, 0, 0, 1, 0, 3, 0,\n 238, 195, 31, 98, 210, 86, 57, 167,\n 1, 0, 7, 0, 0, 0, 8, 0,\n 0, 0, 0, 0, 0, 0, 0, 0,\n 21, 0, 0, 0, 10, 1, 0, 0,\n 37, 0, 0, 0, 7, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0,\n 33, 0, 0, 0, 55, 2, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0,\n 99, 97, 112, 110, 112, 47, 99, 111,\n 109, 112, 105, 108, 101, 114, 47, 108,\n 101, 120, 101, 114, 46, 99, 97, 112,\n 110, 112, 58, 84, 111, 107, 101, 110,\n 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 1, 0, 1, 0,\n 40, 0, 0, 0, 3, 0, 4, 0,\n 0, 0, 255, 255, 0, 0, 0, 0,\n 0, 0, 1, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0," +"\r\n/*\r\n Copyright 2016 Goldman Sachs.\r\n Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing,\r\n software distributed under the License is distributed on an\r\n \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n KIND, either express or implied. See the License for the\r\n specific language governing permissions and limitations\r\n under the License.\r\n */\r\n\r\npackage com.gs.fw.common.mithra.generator;\r\n\r\n\r\npublic class MithraClassHelper\r\n{\r\n\r\n\r\n\tpublic static String getAbstractClassName(String className)\r\n\t{\r\n\t\treturn append(className, \"Abstract\");\t}\r\n\r\n\tpublic static String getDataClassName(String className)\r\n\t{\r\n\t\treturn append(className, \"Data\");\r\n\t}\r\n\r\n\tprivate static String append(String className, String toAppend)\r\n\t{\r\n\t\tStringBuffer buf = new StringBuffer(className);\r\n\t\tbuf.append(toAppend);\r\n\t\treturn buf.toString();\r\n\t}\r\n\r\n}" +"/* Copyright 2013 David Axmark\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\n/**\n * @file ThirdScreen.cpp\n * @author emma\n *\n */\n\n#include \"ThirdScreen.h\"\n\n/**\n * Constructor.\n */\nThirdScreen::ThirdScreen():\n\tStackScreen()\n{\n\t// Create the top screen in the stack.\n\tmScreen = new Screen();\n\tmMainLayout = new VerticalLayout();\n\tmMainLayout->setBackgroundColor(0x104E8B);\n\tthis->setTitle(\"Third\");\n\n\tLabel* info = new Label();\n\tinfo->setText(\"The third screen. It is a stack screen.2 Menu items, no icons.\");\n\tmMainLayout->addChild(info);\n\n\t// Create the list view widget.\n\tmListView = new ListView();\n\n\t// Add items to the list view.\n\tfor (int i = 0; i < 2; i++)\n\t{\n\t\tListViewItem* colorItem = new ListViewItem();\n\t\tcolorItem->setText(\"Push Next screen. On index\" + MAUtil::integerToString(i));\n\t\tcolorItem->setFontColor(0xFF0000);\n\t\tmListViewItems.add(colorItem);\n\t\tmListView->addChild(colorItem);\n\t}\n\n\t// Set event listener.\n\tmListView->addListViewListener(this);\n\tmMainLayout->addChild(mListView);\n\n\t// Set the list view as the main widget of the screen.\n\tmScreen->setMainWidget(mMainLayout);" +"# Copyright (c) 2015, 2019 Oracle and/or its affiliates. All rights reserved. This\n# code is released under a tri EPL/GPL/LGPL license. You can use it,\n# redistribute it and/or modify it under the terms of the:\n#\n# Eclipse Public License version 2.0, or\n# GNU General Public License version 2, or\n# GNU Lesser General Public License version 2.1.\n\nrequire_relative '../../ruby/spec_helper'\n\ndescribe \"Truffle::Ropes.dump_string\" do\n\n it \"returns a String\" do\n Truffle::Ropes.dump_string('foo').should be_kind_of(String)\n end\n\n it \"returns a sequence of escaped bytes in lower case\" do\n Truffle::Ropes.dump_string('foo').should =~ /(\\\\x[0-9a-f][0-9a-f])+/\n end\n\n it \"returns correct bytes for the given string\" do\n Truffle::Ropes.dump_string('foo').should == \"\\\\x66\\\\x6f\\\\x6f\"\n end\n\nend" +"/*\n * Copyright 2012-2019 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.springframework.boot.actuate.web.mappings;\n\nimport org.springframework.asm.Type;\nimport org.springframework.web.method.HandlerMethod;\n\n/**\n * A description of a {@link HandlerMethod}.\n *\n * @author Andy Wilkinson\n * @since 2.0.0\n */\npublic class HandlerMethodDescription {\n\n\tprivate final String className;\n\n\tprivate final String name;\n\n\tprivate final String descriptor;\n\n\tpublic HandlerMethodDescription(HandlerMethod handlerMethod) {\n\t\tthis.name = handlerMethod.getMethod().getName();\n\t\tthis.className = handlerMethod.getMethod().getDeclaringClass().getCanonicalName();\n\t\tthis.descriptor = Type.getMethodDescriptor(handlerMethod.getMethod());\n\t}\n\n\tpublic String getName() {\n\t\treturn this.name;\n\t}\n\n\tpublic String getDescriptor() {\n\t\treturn this.descriptor;\n\t}\n\n\tpublic String getClassName() {\n\t\treturn this.className;\n\t}\n\n}" +"def acos():\n pass\n\n\ndef acosh():\n pass\n\n\ndef asin():\n pass\n\n\ndef asinh():\n pass\n\n\ndef atan():\n pass\n\n\ndef atan2():\n pass\n\n\ndef atanh():\n pass\n\n\ndef ceil():\n pass\n\n\ndef copysign():\n pass\n\n\ndef cos():\n pass\n\n\ndef cosh():\n pass\n\n\ndef degrees():\n pass\n\n\ne = 2.718282\n\n\ndef erf():\n pass\n\n\ndef erfc():\n pass\n\n\ndef exp():\n pass\n\n\ndef expm1():\n pass\n\n\ndef fabs():\n pass\n\n\ndef floor():\n pass\n\n\ndef fmod():\n pass\n\n\ndef frexp():\n pass\n\n\ndef gamma():\n pass\n\n\ndef isfinite():\n pass\n\n\ndef isinf():\n pass\n\n\ndef isnan():\n pass\n\n\ndef ldexp():\n pass\n\n\ndef lgamma():\n pass\n\n\ndef log():\n pass\n\n\ndef log10():\n pass\n\n\ndef log2():\n pass\n\n\ndef modf():\n pass\n\n\npi = 3.141593\n\n\ndef pow():\n pass\n\n\ndef radians():\n pass\n\n\ndef sin():\n pass\n\n\ndef sinh():\n pass\n\n\ndef sqrt():\n pass\n\n\ndef tan():\n pass\n\n\ndef tanh():\n pass\n\n\ndef trunc():\n pass" +"#!/usr/bin/python3\n# mkefiboot - a tool to make EFI boot images\n#\n# Copyright (C) 2011-2015 Red Hat, Inc.\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 2 of the License, or\n# (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program. If not, see .\n#\n# Red Hat Author(s): Will Woods \n\nimport logging\nlogging.basicConfig()\nlog = logging.getLogger()\n\nimport os, tempfile, argparse\nfrom subprocess import check_call, PIPE\nfrom pylorax.imgutils import mkdosimg, round_to_blocks, LoopDev, DMDev, dm_detach\nfrom pylorax.imgutils import mkhfsimg, Mount, estimate_size\nimport struct, shutil, glob\n\ndef mkefiboot(bootdir, outfile, label):\n '''Make an EFI boot image with the contents of bootdir in EFI/BOOT'''\n mkdosimg(None, outfile, label=label, graft={'EFI/BOOT':bootdir})\n\ndef mkmacboot(bootdir, outfile, label, icon=None, product='Generic',\n diskname=None):\n '''Make" +"#pragma warning disable 108 // new keyword hiding\n#pragma warning disable 114 // new keyword hiding\nnamespace Windows.UI.Composition.Interactions\n{\n\t#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__\n\t#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__\n\t[global::Uno.NotImplemented]\n\t#endif\n\tpublic enum InteractionSourceMode \n\t{\n\t\t#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__\n\t\tDisabled,\n\t\t#endif\n\t\t#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__\n\t\tEnabledWithInertia,\n\t\t#endif\n\t\t#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__\n\t\tEnabledWithoutInertia,\n\t\t#endif\n\t}\n\t#endif\n}" +"/*\n * Copyright 2015-2020 OpenCB\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.opencb.opencga.core.models.operations.variant;\n\nimport org.opencb.opencga.core.tools.ToolParams;\n\nimport java.util.List;\n\npublic class VariantSampleIndexParams extends ToolParams {\n\n public static final String DESCRIPTION = \"Variant sample index params\";\n private List sample;\n private boolean buildIndex;\n private boolean annotate;\n\n public VariantSampleIndexParams() {\n }\n\n public VariantSampleIndexParams(List sample, boolean buildIndex, boolean annotate) {\n this.sample = sample;\n this.buildIndex = buildIndex;\n this.annotate = annotate;\n }\n\n public List getSample() {\n return sample;\n }\n\n public VariantSampleIndexParams setSample(List sample) {\n this.sample = sample;\n return this;\n }\n\n public boolean isBuildIndex() {\n return buildIndex;\n }\n\n public VariantSampleIndexParams setBuildIndex(boolean buildIndex) {\n this.buildIndex = buildIndex;\n return this;\n }\n\n public boolean isAnnotate() {\n return annotate;\n }\n\n public VariantSampleIndexParams setAnnotate(boolean annotate) {\n this.annotate = annotate;" +"{\n \"cells\": [\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"# Plotting with Matplotlib\"\n ]\n },\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"The default plotting extension for HoloViews until a 2.0 release is [Matplotlib](http://matplotlib.org) when HoloViews will start defaulting to [Bokeh](http://bokeh.pydata.org) (see the [Plotting with Bokeh](Plotting_with_Bokeh.ipynb) user guide).\\n\",\n \"\\n\",\n \"While the ``'bokeh'`` backend provides many useful interactive features, the ``'matplotlib'`` plotting extension is well suited to static exports for printed figures and because matplotlib is very full featured allows. To enable the ``'matplotlib'`` backend, we can initialize the Holoviews notebook extension:\"\n ]\n },\n {\n \"cell_type\": \"code\",\n \"execution_count\": null,\n \"metadata\": {},\n \"outputs\": [],\n \"source\": [\n \"import numpy as np\\n\",\n \"import holoviews as hv\\n\",\n \"from holoviews import opts\\n\",\n \"\\n\",\n \"hv.extension('matplotlib')\"\n ]\n },\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"## Working with matplotlib directly\\n\",\n \"\\n\",\n \"When HoloViews outputs matplotlib plots it creates and manipulates a matplotlib Figure, axes and artists in the background. If at any time you need access to the underlying matplotlib representation of an object you can use the ``hv.render`` function to convert it. For example let us convert a HoloViews ``Image`` to a matplotlib Figure, which will let us access and modify every aspect of the plot:\"" +"---\nauthor:\n name: Linode\n email: docs@linode.com\ndescription: \"Clojure is a general-purpose programming language with an emphasis on functional programming. It is a dialect of the Lisp programming language running on the Java Virtual Machine (JVM). While Clojure allows you to write elegant and concise code, its ability to make use of the existing JVM infrastructure, such as libraries, tools and application servers, makes it also a very practical choice.\"\nog_description: 'Clojure is a general-purpose programming language with an emphasis on functional programming. It is a dialect of the Lisp programming language running on the Java Virtual Machine (JVM). While Clojure allows you to write elegant and concise code, its ability to make use of the existing JVM infrastructure, such as libraries, tools and application servers, makes it also a very practical choice.'\nkeywords: [\"clojure\", \"java virtual machine\", \"jvm\"]\nlicense: '[CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0)'\npublished: 2020-08-31\ntitle: Clojure\nshow_in_lists: true\n---" +"\ufeffusing System;\n\nnamespace Swifter.Debug\n{\n public class TestClass\n {\n public int public_class_field_int;\n public string public_class_field_string;\n\n private int private_class_field_int;\n private string private_class_field_string;\n\n public int public_class_property_int { get; set; }\n public string public_class_property_string { get; set; }\n\n private int private_class_property_int { get; set; }\n private string private_class_property_string { get; set; }\n\n public static int public_static_field_int;\n public static string public_static_field_string;\n\n private static int private_static_field_int;\n private static string private_static_field_string;\n\n [ThreadStatic]\n public static int public_thread_static_field_int;\n [ThreadStatic]\n public static string public_thread_static_field_string;\n\n public static int public_static_property_int { get; set; }\n public static string public_static_property_string { get; set; }\n\n private static int private_static_property_int { get; set; }\n private static string private_static_property_string { get; set; }\n\n public event EventHandler public_class_event { add { } remove { } }\n private event EventHandler private_class_event { add { } remove { } }\n\n public static event EventHandler public_static_event { add { } remove { } }\n private static event EventHandler private_static_event { add { } remove { } }\n\n public static void public_static_action()\n {\n\n }\n\n public static void public_static_action_int(int num)\n {\n\n }\n\n public static void public_static_action_int_string(int num, string str)\n {\n\n }\n\n public static int public_static_func()\n {\n return default;\n }\n\n public static int public_static_func_int(int num)\n {\n return num;\n }\n\n public static string public_static_func_int_string(int" +"/*\n * Copyright 2015 Karl Dahlgren\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage com.castlemock.core.mock.rest.service.project.input;\n\nimport com.castlemock.core.basis.model.Input;\nimport com.castlemock.core.basis.model.validation.NotNull;\nimport com.castlemock.core.mock.rest.model.project.domain.RestMethod;\n\nimport java.util.Objects;\n\n/**\n * @author Karl Dahlgren\n * @since 1.0\n */\npublic final class CreateRestMethodInput implements Input {\n\n @NotNull\n private final String projectId;\n @NotNull\n private final String applicationId;\n @NotNull\n private final String resourceId;\n @NotNull\n private final RestMethod method;\n\n private CreateRestMethodInput(final Builder builder) {\n this.projectId = Objects.requireNonNull(builder.projectId);\n this.applicationId = Objects.requireNonNull(builder.applicationId);\n this.resourceId = Objects.requireNonNull(builder.resourceId);\n this.method = Objects.requireNonNull(builder.method);\n }\n\n public String getProjectId() {\n return projectId;\n }\n\n public String getApplicationId() {\n return applicationId;\n }\n\n public String getResourceId() {\n return resourceId;\n }\n\n public RestMethod getMethod() {\n return method;\n }\n\n public static Builder builder(){\n return new Builder();\n }\n\n public static class" +"error[E0453]: allow(deprecated) overruled by outer forbid(deprecated)\n --> $DIR/lint-forbid-attr.rs:3:9\n |\nLL | #![forbid(deprecated)]\n | ---------- `forbid` level set here\nLL | \nLL | #[allow(deprecated)]\n | ^^^^^^^^^^ overruled by previous forbid\n\nerror[E0453]: allow(deprecated) overruled by outer forbid(deprecated)\n --> $DIR/lint-forbid-attr.rs:3:9\n |\nLL | #![forbid(deprecated)]\n | ---------- `forbid` level set here\nLL | \nLL | #[allow(deprecated)]\n | ^^^^^^^^^^ overruled by previous forbid\n\nerror[E0453]: allow(deprecated) overruled by outer forbid(deprecated)\n --> $DIR/lint-forbid-attr.rs:3:9\n |\nLL | #![forbid(deprecated)]\n | ---------- `forbid` level set here\nLL | \nLL | #[allow(deprecated)]\n | ^^^^^^^^^^ overruled by previous forbid\n\nerror: aborting due to 3 previous errors\n\nFor more information about this error, try `rustc --explain E0453`." +"+--------------+-------------------+\n| PatentsHGH | R Documentation |\n+--------------+-------------------+\n\nDynamic Relation Between Patents and R\\\\&D\n------------------------------------------\n\nDescription\n~~~~~~~~~~~\n\na panel of 346 observations from 1975 to 1979\n\n*number of observations* : 1730\n\n*observation* : production units\n\n*country* : United States\n\nUsage\n~~~~~\n\n::\n\n data(PatentsHGH)\n\nFormat\n~~~~~~\n\nA dataframe containing :\n\nobsno\n firm index\n\nyear\n year\n\ncusip\n Compustat's identifying number for the firm (Committee on Uniform\n Security Identification Procedures number)\n\nardsic\n a two-digit code for the applied R&D industrial classification\n (roughly that in Bound, Cummins, Griliches, Hall, and Jaffe, in the\n Griliches R&D, Patents, and Productivity volume)\n\nscisect\n is the firm in the scientific sector ?\n\nlogk\n the logarithm of the book value of capital in 1972.\n\nsumpat\n the sum of patents applied for between 1972-1979.\n\nlogr\n the logarithm of R&D spending during the year (in 1972 dollars)\n\nlogr1\n the logarithm of R&D spending (one year lag)\n\nlogr2\n the logarithm of R&D spending (two years lag)\n\nlogr3\n the logarithm of R&D spending (three years lag)\n\nlogr4\n the logarithm of R&D spending (four years lag)\n\nlogr5\n the logarithm of R&D spending (five years lag)\n\npat\n the number of patents applied for during the year that were\n eventually granted\n\npat1\n the number of patents" +"// Copyright (c) 2009 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\npackage org.chromium.sdk;\n\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.List;\n\n/**\n * An object that describes a number-based version. A version consists of dot-separated\n * integers and an optional string addendum.\n */\npublic class Version implements Comparable {\n private final List components;\n private final String textComponent;\n\n /**\n * Constructs an immutable Version instance given the numeric components of version.\n */\n public Version(Integer ... components) {\n this(Arrays.asList(components), null);\n }\n /**\n * Constructs an immutable Version instance given the numeric components of version and optional\n * text component.\n */\n public Version(List components, String textComponent) {\n this.components = Collections.unmodifiableList(new ArrayList(components));\n this.textComponent = textComponent;\n }\n\n\n /**\n * @return numeric components of version in form of list of integers\n */\n public List getComponents() {\n return components;\n }\n\n @Override\n public boolean equals(Object obj) {\n if (obj == null || !(obj instanceof Version)) {\n return false;\n }\n Version that = (Version) obj;\n return this.components.equals(that.components);\n }\n\n @Override\n public int hashCode() {\n return components.hashCode();\n }\n\n @Override\n public int compareTo(Version other) {\n for (int i = 0; i <" +"---\nes:\n about:\n about_hashtag_html: Estos son toots p\u00fablicos etiquetados con #%{hashtag}. Puedes interactuar con ellos si tienes una cuenta en cualquier parte del fediverso.\n about_mastodon_html: 'La red social del futuro: \u00a1Sin anuncios, sin vigilancia corporativa, dise\u00f1o \u00e9tico, y descentralizaci\u00f3n! \u00a1S\u00e9 due\u00f1o de tu informaci\u00f3n con Mastodon!'\n about_this: Informaci\u00f3n\n active_count_after: activo\n active_footnote: Usuarios Activos Mensuales (UAM)\n administered_by: 'Administrado por:'\n api: API\n apps: Aplicaciones m\u00f3viles\n apps_platforms: Utiliza Mastodon desde iOS, Android y otras plataformas\n browse_directory: Navega por el directorio de perfiles y filtra por intereses\n browse_local_posts: Explora en vivo los posts p\u00fablicos de este servidor\n browse_public_posts: Navega por un transmisi\u00f3n en vivo de publicaciones p\u00fablicas en Mastodon\n contact: Contacto\n contact_missing: No especificado\n contact_unavailable: N/A\n discover_users: Descubrir usuarios\n documentation: Documentaci\u00f3n\n federation_hint_html: Con una cuenta en %{instance} usted podr\u00e1 seguir a las personas en cualquier servidor de Mastodon y m\u00e1s all\u00e1.\n get_apps: Probar una aplicaci\u00f3n m\u00f3vil\n hosted_on: Mastodon hosteado en %{domain}\n instance_actor_flash: |\n Esta cuenta es un actor virtual usado para representar al servidor y no a ning\u00fan usuario individual.\n Se usa para fines federativos y no debe ser bloqueado a menos que usted quiera bloquear toda la instancia, en cuyo caso se debe utilizar un bloque de dominio.\n learn_more: Aprende m\u00e1s\n privacy_policy: Pol\u00edtica" +"\n\n\n\nbody {\n\tmargin: 0;\n\tcolor: black;\n\tbackground-color: white;\n\tfont-family: verdana, arial, sans-serif;\n\tfont-size: 10px;\n}\npre { \n\tfont-family: \"Courier New\", Courier, mono; \n\tfont-size: 11px; \n\tline-height: normal; \n\tcolor: black;\n\tborder: 1px solid silver;\n\tpadding: 17px;\n}\na\n{\n\tcolor: red;\n\ttext-decoration: none\n}\n\na:hover\n{\n\tcolor: fuchsia;\n\ttext-decoration: none;\n}\n\n\n.mainText {\n\tvertical-align: top;\n\ttext-align: right;\n\tpadding-right: 20px;\n}\n.linkList {\n\tvertical-align: top;\n\tfont-style: normal;\n\tcolor: #999999;\n\tpadding-left: 5px;\n}\n.descList {\n\tvertical-align: top;\n\tfont-style: normal;\n\tcolor: #000000;\n\tpadding-left: 20px;\n\tpadding-bottom: 30px;\n\twidth: 200px;\n}\n.libName {\n\tfont-size: 16px;\n\tfont-weight: bold;\n}\n.indexheader,\n.header {\n\tfont-size: 12px;\n\tcolor: gray;\n\ttext-align: right;\n\tpadding: 20px;\n\twidth: 126px;\n\tfont-weight: normal;\n}\n.methodName {\n\tfont-size: 24px;\n\tvertical-align: top;\n\tfont-weight: bold;\n\tcolor: red;\n\tpadding-left: 20px;\n\tpadding-bottom: 30px;\n}\n.mainTextName {\n\tvertical-align: top;\n\tpadding-right: 20px;\n\ttext-align: right;\n\tpadding-top: 5px;\n}\n.colored {\n\tcolor: #999999;\n}\n.indextext {\n\tvertical-align: top;\n\ttext-align: left;\n\tpadding-right: 20px;\n\tpadding-left: 20px;\n}\n.indexheader {\n\tfont-weight: bold;\n\twidth: auto;\n\theight: auto;\n}\n.code_style {\n\tfont-size: 8px;\n}\n\n.hide\n{\n\tdisplay: none;\n}" +"/*\n * $Source: /afs/andrew/system/cvs/src/sasl/mac/kerberos_includes/kparse.h,v $\n * $Author: rjs3 $\n * $Header: /afs/andrew/system/cvs/src/sasl/mac/kerberos_includes/kparse.h,v 1.2 2001/12/04 02:06:05 rjs3 Exp $\n *\n * Copyright 1988 by the Massachusetts Institute of Technology.\n *\n * For copying and distribution information, please see the file\n * .\n *\n * Include file for kparse routines.\n */\n\n#ifndef\t_KERBEROS_KPARSE_H\n#define\t_KERBEROS_KPARSE_H\n\n#pragma ident\t\"@(#)kparse.h\t1.4\t93/11/01 SMI\"\n\n#include \n\n#ifdef\t__cplusplus\nextern \"C\" {\n#endif\n\n/*\n * values returned by fGetParameterSet()\n */\n\n#define\tPS_BAD_KEYWORD\t -2\t/* unknown or duplicate keyword */\n#define\tPS_SYNTAX\t -1\t/* syntax error */\n#define\tPS_OKAY\t\t 0\t/* got a complete parameter set */\n#define\tPS_EOF\t\t 1\t/* nothing more in the file */\n\n/*\n * values returned by fGetKeywordValue()\n */\n\n#define\tKV_SYNTAX\t -2\t/* syntax error */\n#define\tKV_EOF\t\t -1\t/* nothing more in the file */\n#define\tKV_OKAY\t\t 0\t/* got a keyword/value pair */\n#define\tKV_EOL\t\t 1\t/* nothing more on this line */\n\n/*\n * values returned by fGetToken()\n */\n\n#define\tGTOK_BAD_QSTRING -1\t/* newline found in quoted string */\n#define\tGTOK_EOF\t 0\t/* end of file encountered */\n#define\tGTOK_QSTRING\t 1\t/* quoted string */\n#define\tGTOK_STRING\t 2\t/* unquoted string */\n#define\tGTOK_NUMBER\t 3\t/* one or more" +"using System.Collections.Generic;\r\nusing System;\r\nusing Newtonsoft.Json;\r\n\r\nnamespace CodeBucket.Client.V1\r\n{\r\n public class Followers\r\n {\r\n public int Count { get; set; }\r\n\r\n [JsonProperty(PropertyName = \"followers\")]\r\n public List Users { get; set; }\r\n }\r\n\r\n public class User\r\n {\r\n public string Username { get; set; }\r\n public string FirstName { get; set; }\r\n public string LastName { get; set; }\r\n public bool IsTeam { get; set; }\r\n public string Avatar { get; set; }\r\n public string ResourceUrl { get; set; }\r\n }\r\n}\r\n\r\nnamespace CodeBucket.Client\r\n{\r\n public class User\r\n {\r\n public string Username { get; set; }\r\n public string Type { get; set; }\r\n public string Website { get; set; }\r\n public string DisplayName { get; set; }\r\n public string Location { get; set; }\r\n public DateTimeOffset CreatedOn { get; set; }\r\n public UserLinks Links { get; set; }\r\n\r\n public class UserLinks\r\n {\r\n public Link Avatar { get; set; }\r\n }\r\n }\r\n}" +"% BTF ordering toolbox:\n%\n% Primary functions:\n%\n% btf - permute a square sparse matrix into upper block triangular form\n% maxtrans - permute the columns of a sparse matrix so it has a zero-free diagonal\n% strongcomp - symmetric permutation to upper block triangular form\n%\n% Other:\n% btf_install - compile and install BTF for use in MATLAB.\n% btf_demo - demo for BTF\n% drawbtf - plot the BTF form of a matrix\n% btf_make - compile BTF for use in MATLAB\n%\n% Example:\n% q = maxtrans (A)\n% [p,q,r] = btf (A)\n% [p,r] = strongcomp (A)\n\n% Copyright 2004-2007, University of Florida" +"/*\n * (c) Copyright 2018 Palantir Technologies Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage com.palantir.lock;\n\nimport java.io.Serializable;\nimport java.math.BigInteger;\n\nimport javax.annotation.concurrent.Immutable;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.palantir.logsafe.Preconditions;\n\n@Immutable\npublic final class LockRefreshToken implements Serializable {\n private static final long serialVersionUID = 1L;\n\n private final BigInteger tokenId;\n private final long expirationDateMs;\n\n @JsonCreator\n public LockRefreshToken(@JsonProperty(\"tokenId\") BigInteger tokenId,\n @JsonProperty(\"expirationDateMs\") long expirationDateMs) {\n this.tokenId = Preconditions.checkNotNull(tokenId, \"tokenId should not be null\");\n this.expirationDateMs = expirationDateMs;\n }\n\n public BigInteger getTokenId() {\n return tokenId;\n }\n\n public long getExpirationDateMs() {\n return expirationDateMs;\n }\n\n public HeldLocksToken refreshTokenWithExpriationDate(HeldLocksToken token) {\n Preconditions.checkArgument(token.getTokenId().equals(tokenId), \"token ids must match\");\n return token.refresh(expirationDateMs);\n }\n\n @Override\n public int hashCode() {\n final int prime = 31;\n int result =" +"#!/bin/ksh\n\n#\n# This file and its contents are supplied under the terms of the\n# Common Development and Distribution License (\"CDDL\"), version 1.0.\n# You may only use this file in accordance with the terms of version\n# 1.0 of the CDDL.\n#\n# A full copy of the text of the CDDL should have accompanied this\n# source. A copy of the CDDL is also available via the Internet at\n# http://www.illumos.org/license/CDDL.\n#\n\n#\n# Copyright (c) 2018 by Nutanix. All rights reserved.\n#\n\n. $STF_SUITE/include/libtest.shlib\n\n#\n# Description:\n# zdb -d will work on imported/exported pool with pool/dataset argument\n#\n# Strategy:\n# 1. Create a pool\n# 2. Run zdb -d with pool and dataset arguments.\n# 3. Export the pool\n# 4. Run zdb -ed with pool and dataset arguments.\n#\n\nfunction cleanup\n{\n\tdatasetexists $TESTPOOL && destroy_pool $TESTPOOL\n\tfor DISK in $DISKS; do\n\t\tzpool labelclear -f $DEV_RDSKDIR/$DISK\n\tdone\n}\n\nlog_assert \"Verify zdb -d works on imported/exported pool with pool/dataset argument\"\nlog_onexit cleanup\n\nverify_runnable \"global\"\nverify_disk_count \"$DISKS\" 2\n\ndefault_mirror_setup_noexit $DISKS\nlog_must zfs snap $TESTPOOL/$TESTFS@snap\n\nlog_must zdb -d $TESTPOOL\nlog_must zdb -d $TESTPOOL/\nlog_must zdb -d $TESTPOOL/$TESTFS\nlog_must zdb -d $TESTPOOL/$TESTFS@snap\n\nlog_must zpool export $TESTPOOL\n\nlog_must" +"import { Tree } from '@angular-devkit/schematics';\nimport * as fs from 'fs';\nimport { join } from 'path';\n\nexport function readContent(host: Tree, filePath: string): string {\n if (!host.exists(filePath)) return '';\n return host.read(filePath).toString('utf-8');\n}\n\n/**\n * Overwrite files to the project\n *\n * @param [overwrite=false] `true` is force, default: `false`\n */\nexport function overwriteFile(\n host: Tree,\n filePath: string,\n sourcePath?: string,\n overwrite: boolean = false,\n sourcePathIsString: boolean = false,\n): Tree {\n const isExists = host.exists(filePath);\n if (overwrite || isExists) {\n try {\n let content = '';\n if (sourcePathIsString) {\n content = sourcePath;\n } else {\n const buffer = fs.readFileSync(sourcePath);\n content = buffer ? buffer.toString('utf-8') : '';\n }\n if (overwrite) {\n if (isExists) {\n host.delete(filePath);\n }\n host.create(filePath, content);\n } else {\n host.overwrite(filePath, content);\n }\n } catch {}\n }\n return host;\n}\n\n/**\n * Overwrite files to the project\n *\n * @param [overwrite=false] `true` is force, default: `false`\n */\nexport function overwriteFiles(host: Tree, files: string[], _filePath: string, overwrite: boolean = false): Tree {\n files.forEach(p => overwriteFile(host, p, join(_filePath, p), overwrite));\n return host;\n}\n\n/**\n * Add files to the project\n *\n * @param [overwrite=false] `true` is force, default: `false`\n */\nexport function addFiles(host: Tree, files: string[], _filePath: string, overwrite: boolean = false): Tree" +"{% load nav_tags %}\n\n{% if is_site_map %}\n
  • {% spaceless %}\n \n {% trans item.label|safe %}\n {% endspaceless %}\n\n {% if item.children %}\n
      \n {% for child in item.children %}\n {% nav_item child is_site_map=is_site_map %}\n {% endfor %}\n
    \n {% endif %}\n
  • \n{% else %}\n
  • {% spaceless %}\n \n {% trans item.label|safe %}\n {% endspaceless %}\n\n {% if item.children %}\n
      \n {% for child in item.children %}\n {% nav_item child %}\n {% endfor %}\n
    \n {% endif %}\n
  • \n{% endif %}" +"var Bullish = require('../../lib/candlestick/Bullish.js').default;\nvar bullish = require('../../lib/candlestick/Bullish.js').bullish;\nvar assert = require('assert');\nvar drawCandleStick = require('draw-candlestick');\nvar fs = require('fs');\n\nvar input = {\n open: [21.12,21.48,21.80],//21.80\n close: [21.65,22.20,22.65],//22.65\n high: [21.83,22.40,22.80],//22.80\n low: [20.85,21.36,21.66],//21.66\n}\n\ndescribe('BullishPattern : ', function() {\n before(function() {\n var imageBuffer = drawCandleStick(input);\n fs.writeFileSync(__dirname+'/images/Bullish.png',imageBuffer);\n });\n it('Check whether the supplied data has Bullish pattern', function() {\n var BullishPattern = new Bullish ();\n var result = BullishPattern.hasPattern(input);\n assert.deepEqual(result, true, 'Invalid result for BullishPattern');\n });\n it('Check whether the supplied data has Bullish pattern if reversed and using static', function() {\n var BullishPattern = new Bullish ();\n input.open.reverse()\n input.high.reverse()\n input.low.reverse()\n input.close.reverse()\n input.reversedInput = true;\n var result = bullish(input);\n assert.deepEqual(result, true, 'Invalid result for BullishPattern');\n });\n})" +"# pylint: disable=missing-docstring\n# pylint: enable=missing-docstring\n# Copyright 2018 Spotify AB\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport collections\nimport logging\nimport pickle\nimport queue\nimport time\nimport uuid\n\nimport zmq\n\nfrom ._base import Base\n\n\nLOGGER = logging.getLogger(__name__)\n\n\nclass SerializationError(RuntimeError):\n \"\"\"\n Error serialising a remote result.\n \"\"\"\n\n\nclass Task(Base): # pylint: disable=too-many-instance-attributes\n \"\"\"\n A task that is executed remotely.\n\n Tasks send one or more batches of `fetches` and `contexts` to the broker bound to `address`\n using the format `identifier, request`. Upon each request, they wait for a message acknowledging\n the receipt of the request comprising a single, empty frame or a result in the format\n `identifier, result`. If all batches have been dispatched but not all" +"\n
    \n 1-1505.02\n Reorganization Plan No. 2 of 1982\n (Effective December 8, 1982)\n OFFICE OF THE SURVEYOR\n \n I.\n Establishment\n There is established within the District of Columbia Department of Transportation the Office of the Surveyor, headed by the Surveyor, who shall perform the functions herein transferred or otherwise assigned. The Office of the Surveyor shall operate under the administrative direction of the Director and shall constitute an organizational unit of the Department of Transportation.\n \n \n II.\n Purpose\n The Office of the Surveyor is established to provide a legal office of record for the plats and subdivisions of all private property in the District of Columbia and all property belonging to the District of Columbia, with responsibility for the preservation of the records pertaining thereto and to perform such other functions as may be authorized or required by law or regulation or administrative direction. The Office of the Surveyor is further charged to conduct surveys and provide certified plats to any court, individual or firm as well as District or Federal agencies as may be ordered.\n \n \n III.\n Organization\n The Director of the Department of Transportation is authorized to establish" +"package org.zalando.logbook.logstash;\n\nimport com.fasterxml.jackson.core.JsonFactory;\nimport com.fasterxml.jackson.core.JsonGenerator;\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.core.PrettyPrinter;\nimport net.logstash.logback.marker.RawJsonAppendingMarker;\nimport org.apiguardian.api.API;\nimport org.slf4j.Marker;\n\nimport java.io.IOException;\n\nimport static org.apiguardian.api.API.Status.INTERNAL;\n\n/**\n * Auto-detecting pretty-printing {@link Marker}. If pretty-printing is enabled,\n * indents using the log framework's own {@link JsonGenerator}.\n */\n@API(status = INTERNAL)\nfinal class AutodetectPrettyPrintingMarker extends RawJsonAppendingMarker {\n\n private static final long serialVersionUID = 1L;\n\n AutodetectPrettyPrintingMarker(final String fieldName, final String rawJson) {\n super(fieldName, rawJson);\n }\n\n @Override\n protected void writeFieldValue(final JsonGenerator generator) throws IOException {\n final PrettyPrinter prettyPrinter = generator.getPrettyPrinter();\n\n if (prettyPrinter == null) {\n super.writeFieldValue(generator);\n } else {\n final JsonFactory factory = generator.getCodec().getFactory();\n\n // append to existing tree event by event\n try (final JsonParser parser = factory.createParser(super.getFieldValue().toString())) {\n while (parser.nextToken() != null) {\n generator.copyCurrentEvent(parser);\n }\n }\n }\n }\n\n}" +"#include \n\n#include \"oclint/AbstractASTVisitorRule.h\"\n#include \"oclint/RuleSet.h\"\n#include \"oclint/helper/EnforceHelper.h\"\n#include \"oclint/util/ASTUtil.h\"\n\nusing namespace std;\nusing namespace clang;\nusing namespace oclint;\n\n\nclass CudaBranchDivergenceRule : public AbstractASTVisitorRule\n{\npublic:\n virtual const string name() const override\n {\n return \"branch divergence\";\n }\n\n virtual int priority() const override\n {\n return 10;\n }\n\n virtual const string category() const override\n {\n return \"cuda\";\n }\n\n virtual unsigned int supportedCUDAFunctionAttrs() const override\n {\n return CUDA_GLOBAL;\n }\n\n#ifdef DOCGEN\n virtual const std::string since() const override\n {\n return \"0.15\";\n }\n\n virtual const std::string description() const override\n {\n return \"Branch divergence is quite expensive and needs to be avoided as much as possible.\";\n }\n\n virtual const std::string fileName() const override\n {\n return \"CudaBranchDivergenceRule.cpp\";\n }\n\n virtual const std::string example() const override\n {\n return R\"rst(\n.. code-block:: cuda\n\n if (threadIdx.x == 0) {\n foo();\n } else {\n bar();\n }\n // This would cause branch divergence,\n // as while the first thread working on `foo()`,\n // the rest of the threads sit idle;\n // similarly, when the others running `bar()`,\n // the first thread now stall.\n // Go https://bit.ly/2ZxYJVR to read more.\n\n )rst\";\n }\n#endif\n\n bool VisitIfStmt(IfStmt *ifStmt)\n {\n if (ifStmt->getElse() != nullptr) // TODO: we can do smarter than this\n {\n addViolation(ifStmt, this);\n }\n\n return" +"# Additional ClusterShell group source config file\n#\n# Please see `man 5 groups.conf` for further details.\n#\n\n#\n# SLURM partition bindings\n#\n[slurmpart,sp]\nmap: sinfo -h -o \"%N\" -p $GROUP\nall: sinfo -h -o \"%N\"\nlist: sinfo -h -o \"%R\"\nreverse: sinfo -h -N -o \"%R\" -n $NODE\n\n#\n# SLURM state bindings\n#\n[slurmstate,st]\nmap: sinfo -h -o \"%N\" -t $GROUP\nall: sinfo -h -o \"%N\"\nlist: sinfo -h -o \"%T\" | tr -d '*~#$@+'\nreverse: sinfo -h -N -o \"%T\" -n $NODE | tr -d '*~#$@+'\ncache_time: 60\n\n#\n# SLURM job bindings\n#\n[slurmjob,sj]\nmap: squeue -h -j $GROUP -o \"%N\"\nlist: squeue -h -o \"%i\" -t R\nreverse: squeue -h -w $NODE -o \"%i\"\ncache_time: 60\n\n#\n# SLURM user bindings for running jobs\n#\n[slurmuser,su]\nmap: squeue -h -u $GROUP -o \"%N\" -t R\nlist: squeue -h -o \"%u\" -t R\nreverse: squeue -h -w $NODE -o \"%u\"\ncache_time: 60" +"// OPCUA for Rust\n// SPDX-License-Identifier: MPL-2.0\n// Copyright (C) 2017-2020 Adam Lock\n\n// This file was autogenerated from Opc.Ua.Types.bsd.xml by tools/schema/gen_types.js\n// DO NOT EDIT THIS FILE\n\nuse std::io::{Read, Write};\n\n#[allow(unused_imports)]\nuse crate::{\n encoding::*,\n basic_types::*,\n string::UAString,\n byte_string::ByteString,\n};\n\n#[derive(Debug, Clone, PartialEq)]\npub struct X509IdentityToken {\n pub policy_id: UAString,\n pub certificate_data: ByteString,\n}\n\nimpl BinaryEncoder for X509IdentityToken {\n fn byte_len(&self) -> usize {\n let mut size = 0;\n size += self.policy_id.byte_len();\n size += self.certificate_data.byte_len();\n size\n }\n\n #[allow(unused_variables)]\n fn encode(&self, stream: &mut S) -> EncodingResult {\n let mut size = 0;\n size += self.policy_id.encode(stream)?;\n size += self.certificate_data.encode(stream)?;\n Ok(size)\n }\n\n #[allow(unused_variables)]\n fn decode(stream: &mut S, decoding_limits: &DecodingLimits) -> EncodingResult {\n let policy_id = UAString::decode(stream, decoding_limits)?;\n let certificate_data = ByteString::decode(stream, decoding_limits)?;\n Ok(X509IdentityToken {\n policy_id,\n certificate_data,\n })\n }\n}" +"# aqtest.py Demo/test program for MicroPython library micropython-uasyncio.queues\n# Author: Peter Hinch\n# Copyright Peter Hinch 2017 Released under the MIT license\n\nimport uasyncio as asyncio\n\nfrom uasyncio.queues import Queue\n\nq = Queue()\n\nasync def slow_process():\n await asyncio.sleep(2)\n return 42\n\nasync def bar():\n print('Waiting for slow process.')\n result = await slow_process()\n print('Putting result onto queue')\n await q.put(result) # Put result on q\n\nasync def foo():\n print(\"Running foo()\")\n result = await(q.get())\n print('Result was {}'.format(result))\n\nasync def main(delay):\n await asyncio.sleep(delay)\n print(\"I've seen starships burn off the shoulder of Orion...\")\n print(\"Time to die...\")\n\nprint('Test takes 3 secs')\nloop = asyncio.get_event_loop()\nloop.create_task(foo())\nloop.create_task(bar())\nloop.run_until_complete(main(3))" +"# Deaths per TWh from low-carbon energy (Sovacool et al., 2016)\n\nNumber of deaths attributed to energy-related accidents of low-carbon energy sources, measured as the number of deaths per terawatt-hour of production.\n\nSovacool et al. (2016) developed a database of energy-related accidents over the period from 1950 to 2014. They define an accident as: \"an unintentional incident or event at an energy facility that led to either one death (or more) or at least $50,000 in property damage.\"\n\nThis database was developed based on a series of academic databases (including ScienceDirect and EBSCO host) as well as the internet (using Google and Safari).\n\nThe normalized death rate data is presented by Sovacool et al. (2016) as the number of deaths per TWh over the period from 1990 to 2013." +"kafka-python\n============\n\nThis module provides low-level protocol support for Apache Kafka as well as\nhigh-level consumer and producer classes. Request batching is supported by the\nprotocol as well as broker-aware request routing. Gzip and Snappy compression\nis also supported for message sets.\n\nhttp://kafka.apache.org/\n\nOn Freenode IRC at #kafka-python, as well as #apache-kafka\n\nFor general discussion of kafka-client design and implementation (not python specific),\nsee https://groups.google.com/forum/m/#!forum/kafka-clients\n\nStatus\n------\n\nThe current stable version of this package is `0.9.3 `_ and is compatible with:\n\nKafka broker versions\n\n* 0.8.2.0 [offset management currently ZK only -- does not support ConsumerCoordinator offset management APIs]\n* 0.8.1.1\n* 0.8.1\n* 0.8.0\n\nPython versions\n\n* 2.6 (tested on 2.6.9)\n* 2.7 (tested on 2.7.9)\n* 3.3 (tested on 3.3.5)\n* 3.4 (tested on 3.4.2)\n* pypy (tested on pypy 2.4.0 / python 2.7.8)\n\nLicense\n-------\n\nCopyright 2015, David Arthur under Apache License, v2.0. See `LICENSE `_.\n\n\nContents\n--------\n\n.. toctree::\n :maxdepth: 2\n\n install\n tests\n usage\n API reference \n\nIndices and tables\n==================\n\n* :ref:`genindex`\n* :ref:`modindex`\n* :ref:`search`" +".\\\" Copyright (c) 1993 Martin Birgmeier\n.\\\" All rights reserved.\n.\\\"\n.\\\" You may redistribute unmodified or modified versions of this source\n.\\\" code provided that the above copyright notice and this and the\n.\\\" following conditions are retained.\n.\\\"\n.\\\" This software is provided ``as is'', and comes with no warranties\n.\\\" of any kind. I shall in no event be liable for anything that happens\n.\\\" to anyone/anything when using this software.\n.\\\"\n.\\\" @(#)rand48.3 V1.0 MB 8 Oct 1993\n.\\\" $FreeBSD: src/lib/libc/gen/rand48.3,v 1.17 2005/01/20 09:17:02 ru Exp $\n.\\\"\n.Dd October 8, 1993\n.Dt RAND48 3\n.Os\n.Sh NAME\n.Nm drand48 ,\n.Nm erand48 ,\n.Nm jrand48 ,\n.Nm lcong48 ,\n.Nm lrand48 ,\n.Nm mrand48 ,\n.Nm nrand48 ,\n.Nm seed48 ,\n.Nm srand48\n.Nd pseudo random number generators and initialization routines\n.Sh LIBRARY\n.Lb libc\n.Sh SYNOPSIS\n.In stdlib.h\n.Ft double\n.Fo drand48\n.Fa void\n.Fc\n.Ft double\n.Fo erand48\n.Fa \"unsigned short xsubi[3]\"\n.Fc\n.Ft long\n.Fo jrand48\n.Fa \"unsigned short xsubi[3]\"\n.Fc\n.Ft void\n.Fo lcong48\n.Fa \"unsigned short param[7]\"\n.Fc\n.Ft long\n.Fo lrand48\n.Fa void\n.Fc\n.Ft long\n.Fo mrand48\n.Fa void\n.Fc\n.Ft long\n.Fo nrand48\n.Fa \"unsigned short xsubi[3]\"" +"\"\"\"Define latency evaluators that evaluate the performance of mode on devices.\n\"\"\"\n# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nfrom paddle.fluid import Program\nfrom ..core import GraphWrapper, OpWrapper\n__all__ = [\"LatencyEvaluator\", \"TableLatencyEvaluator\"]\n\n\nclass LatencyEvaluator(object):\n \"\"\"Base class of latency evaluator.\n \"\"\"\n\n def latency(self, graph):\n \"\"\"Get latency of graph. It is an abstract method.\n\n Args:\n graph(GrapWrapper | Program): The graph to be evaluated.\n\n Returns:\n latency(float): The latency of given graph on current evaluator.\n \"\"\"\n raise NotImplementedError('Abstract method.')\n\n def _get_ops_from_graph(self, graph, only_conv):\n assert isinstance(graph, GraphWrapper)\n ops = []\n i = 0\n for op in graph.ops():\n if op.type() in ['conv2d', 'depthwise_conv2d']:\n tmp = self._conv_op_args(op)\n elif op.type() in [\n 'elementwise_add', 'elementwise_mul', 'elementwise_max'\n ]" +"/*\n * Copyright ConsenSys AG.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on\n * an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\npackage org.hyperledger.besu.tests.acceptance.dsl.transaction.privacy;\n\nimport static org.assertj.core.api.Assertions.assertThat;\n\nimport org.hyperledger.besu.tests.acceptance.dsl.transaction.NodeRequests;\nimport org.hyperledger.besu.tests.acceptance.dsl.transaction.Transaction;\n\nimport java.io.IOException;\n\npublic class PrivGetEeaTransactionCountTransaction implements Transaction {\n\n private final Object[] params;\n\n public PrivGetEeaTransactionCountTransaction(\n final String accountAddress, final String privateFrom, final String[] privateFor) {\n this.params = new Object[] {accountAddress, privateFrom, privateFor};\n }\n\n @Override\n public Integer execute(final NodeRequests node) {\n try {\n final PrivacyRequestFactory.GetTransactionCountResponse result =\n node.privacy().privGetEeaTransactionCount(params).send();\n assertThat(result).isNotNull();\n return result.getCount();\n } catch (final IOException e) {\n throw new RuntimeException(e);\n }\n }\n}" +"/* SPDX-License-Identifier: MIT\n *\n * Copyright (C) 2019 WireGuard LLC. All Rights Reserved.\n */\n\n/*\n\nSome tests in this file require:\n\n- A dedicated network adapter\n\tAny network adapter will do. It may be virtual (Wintun etc.). The adapter name\n\tmust contain string \"winipcfg_test\".\n\tTests will add, remove, flush DNS servers, change adapter IP address, manipulate\n\troutes etc.\n\tThe adapter will not be returned to previous state, so use an expendable one.\n\n- Elevation\n\tRun go test as Administrator\n\n*/\n\npackage winipcfg\n\nimport (\n\t\"bytes\"\n\t\"net\"\n\t\"strings\"\n\t\"testing\"\n\t\"time\"\n\n\t\"golang.org/x/sys/windows\"\n)\n\nconst (\n\ttestInterfaceMarker = \"winipcfg_test\" // The interface we will use for testing must contain this string in its name\n)\n\n// TODO: Add IPv6 tests.\nvar (\n\tunexistentIPAddresToAdd = net.IPNet{\n\t\tIP: net.IP{172, 16, 1, 114},\n\t\tMask: net.IPMask{255, 255, 255, 0},\n\t}\n\tunexistentRouteIPv4ToAdd = RouteData{\n\t\tDestination: net.IPNet{\n\t\t\tIP: net.IP{172, 16, 200, 0},\n\t\t\tMask: net.IPMask{255, 255, 255, 0},\n\t\t},\n\t\tNextHop: net.IP{172, 16, 1, 2},\n\t\tMetric: 0,\n\t}\n\tdnsesToSet = []net.IP{\n\t\tnet.IPv4(8, 8, 8, 8),\n\t\tnet.IPv4(8, 8, 4, 4),\n\t}\n)\n\nfunc runningElevated() bool {\n\tvar process windows.Token\n\terr := windows.OpenProcessToken(windows.CurrentProcess(), windows.TOKEN_QUERY, &process)\n\tif err != nil {\n\t\treturn false\n\t}\n\tdefer process.Close()\n\treturn process.IsElevated()\n}\n\nfunc getTestInterface() (*IPAdapterAddresses, error) {" +"import { elementFinderProperty, IconifyElement } from './element';\nimport { ObservedNode } from './observed-node';\nimport {\n\tlistRootNodes,\n\taddRootNode,\n\tfindRootNode,\n\tremoveRootNode,\n} from './root';\nimport { onReady } from './ready';\n\n/**\n * Observer callback function\n */\nexport type ObserverCallback = (item: ObservedNode) => void;\n\n/**\n * Callback\n */\nlet callback: ObserverCallback | null = null;\n\n/**\n * Parameters for mutation observer\n */\nconst observerParams: MutationObserverInit = {\n\tchildList: true,\n\tsubtree: true,\n\tattributes: true,\n};\n\n/**\n * Queue DOM scan\n */\nfunction queueScan(node: ObservedNode): void {\n\tif (!node.observer) {\n\t\treturn;\n\t}\n\n\tconst observer = node.observer;\n\tif (!observer.pendingScan) {\n\t\tobserver.pendingScan = setTimeout(() => {\n\t\t\tdelete observer.pendingScan;\n\t\t\tif (callback) {\n\t\t\t\tcallback(node);\n\t\t\t}\n\t\t});\n\t}\n}\n\n/**\n * Check mutations for added nodes\n */\nfunction checkMutations(node: ObservedNode, mutations: MutationRecord[]): void {\n\tif (!node.observer) {\n\t\treturn;\n\t}\n\n\tconst observer = node.observer;\n\tif (!observer.pendingScan) {\n\t\tfor (let i = 0; i < mutations.length; i++) {\n\t\t\tconst item = mutations[i];\n\t\t\tif (\n\t\t\t\t// Check for added nodes\n\t\t\t\t(item.addedNodes && item.addedNodes.length > 0) ||\n\t\t\t\t// Check for icon or placeholder with modified attributes\n\t\t\t\t(item.type === 'attributes' &&\n\t\t\t\t\t(item.target as IconifyElement)[elementFinderProperty] !==\n\t\t\t\t\t\tvoid 0)\n\t\t\t) {\n\t\t\t\tif (!observer.paused) {\n\t\t\t\t\tqueueScan(node);\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * Start/resume observer\n */" +"/*\n * ip_vs_nfct.c:\tNetfilter connection tracking support for IPVS\n *\n * Portions Copyright (C) 2001-2002\n * Antefacto Ltd, 181 Parnell St, Dublin 1, Ireland.\n *\n * Portions Copyright (C) 2003-2010\n * Julian Anastasov\n *\n *\n * This code is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, see .\n *\n *\n * Authors:\n * Ben North \n * Julian Anastasov \t\tReorganize and sync with latest kernels\n * Hannes Eder \tExtend NFCT support for FTP, ipvs match\n *\n *\n * Current status:\n *\n * - provide conntrack confirmation for new and related connections, by\n * this way we can see their proper" +"{\n \"mainpage\" : \"\u0411\u0410\u0421\u0422\u042b \u0411\u0415\u0422\",\n \"namespace\" : {\n \"\" : 0,\n \"ANIQTAMA\" : 12,\n \"ANIQTAMA TALQILAWI\" : 13,\n \"ARNA\u00ddI\" : -1,\n \"CATEGORY\" : 14,\n \"CATEGORY TALK\" : 15,\n \"FILE\" : 6,\n \"FILE TALK\" : 7,\n \"GADGET\" : 2300,\n \"GADGET DEFINITION\" : 2302,\n \"GADGET DEFINITION TALK\" : 2303,\n \"GADGET TALK\" : 2301,\n \"HELP\" : 12,\n \"HELP TALK\" : 13,\n \"IMAGE\" : 6,\n \"IMAGE TALK\" : 7,\n \"JOBA\" : 102,\n \"JOBA TALQILAWI\" : 103,\n \"MEDIA\" : -2,\n \"MEDIAWIKI\" : 8,\n \"MED\u00cfAW\u00cfK\u00cf\" : 8,\n \"MEDIAWIKI TALK\" : 9,\n \"MED\u00cfAW\u00cfK\u00cf TALQILAWI\" : 9,\n \"MODULE\" : 828,\n \"MODULE TALK\" : 829,\n \"PROJECT\" : 4,\n \"PROJECT TALK\" : 5,\n \"QATISW\u015eI\" : 2,\n \"QATISW\u015eI TALQILAWI\" : 3,\n \"SANAT\" : 14,\n \"SANAT TALQILAWI\" : 15,\n \"SPECIAL\" : -1,\n \"SWRET\" : 6,\n \"SWRET TALQILAWI\" : 7,\n \"TALK\" : 1,\n \"TALQILAW\" : 1,\n \"TASPA\" : -2,\n \"TEMPLATE\" : 10,\n \"TEMPLATE TALK\" : 11,\n \"TOPIC\" : 2600,\n \"\u00dcLGI\" : 10,\n \"\u00dcLGI TALQILAWI\" : 11,\n \"USER\" : 2,\n \"USER TALK\" : 3,\n \"WIKIPEDIA\" : 4,\n \"WIKIPEDIA TALK\" : 5,\n \"\u0410\u041d\u042b\u049a\u0422\u0410\u041c\u0410\" : 12,\n \"\u0410\u041d\u042b\u049a\u0422\u0410\u041c\u0410 \u0422\u0410\u041b\u049a\u042b\u041b\u0410\u0423\u042b\" : 13,\n \"\u0410\u0420\u041d\u0410\u0419\u042b\" : -1,\n \"\u0416\u041e\u0411\u0410\" : 102,\n \"\u0416\u041e\u0411\u0410 \u0422\u0410\u041b\u049a\u042b\u041b\u0410\u0423\u042b\" : 103,\n \"\u049a\u0410\u0422\u042b\u0421\u0423\u0428\u042b\" : 2,\n \"\u049a\u0410\u0422\u042b\u0421\u0423\u0428\u042b \u0422\u0410\u041b\u049a\u042b\u041b\u0410\u0423\u042b\" : 3,\n \"\u041c\u0415\u0414\u0418\u0410\u0423\u0418\u041a\u0418\" : 8,\n \"\u041c\u0415\u0414\u0418\u0410\u0423\u0418\u041a\u0418 \u0422\u0410\u041b\u049a\u042b\u041b\u0410\u0423\u042b\" : 9,\n \"\u041f\u041e\u0420\u0422\u0410\u041b\" :" +"/**\n * Copyright (c) 2014-present, The osquery authors\n *\n * This source code is licensed as defined by the LICENSE file found in the\n * root directory of this source tree.\n *\n * SPDX-License-Identifier: (Apache-2.0 OR GPL-2.0-only)\n */\n\n// Sanity check integration test for carves\n// Spec file: specs/carves.table\n\n#include \n\nnamespace osquery {\nnamespace table_tests {\n\nclass carves : public testing::Test {\n protected:\n void SetUp() override {\n setUpEnvironment();\n }\n};\n\nTEST_F(carves, test_sanity) {\n // 1. Query data\n auto const data = execute_query(\"select * from carves where path = ''\");\n // 2. Check size before validation\n // ASSERT_GE(data.size(), 0ul);\n // ASSERT_EQ(data.size(), 1ul);\n // ASSERT_EQ(data.size(), 0ul);\n // 3. Build validation map\n // See helper.h for avaialbe flags\n // Or use custom DataCheck object\n // ValidationMap row_map = {\n // {\"time\", IntType}\n // {\"sha256\", NormalType}\n // {\"size\", IntType}\n // {\"path\", NormalType}\n // {\"status\", NormalType}\n // {\"carve_guid\", NormalType}\n // {\"carve\", IntType}\n //}\n // 4. Perform validation\n // validate_rows(data, row_map);\n}\n\n} // namespace table_tests\n} // namespace osquery" +"/*\n Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.\n\n This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation; version 2 of the License.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program; if not, write to the Free Software\n Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n*/\n\n#ifndef I_PROGRESS_REPORTER_INCLUDED\n#define I_PROGRESS_REPORTER_INCLUDED\n\nnamespace Mysql{\nnamespace Tools{\nnamespace Dump{\n\nclass I_progress_watcher;\n\nclass I_progress_reporter\n{\npublic:\n virtual ~I_progress_reporter();\n\n /**\n Add new Progress Watcher to report to.\n */\n virtual void register_progress_watcher(\n I_progress_watcher* new_progress_watcher)= 0;\n};\n\n}\n}\n}\n\n#endif" +"\n\n**1. Linear Algebra and Calculus refresher**\n\n⟶\n\n
    \n\n**2. General notations**\n\n⟶\n\n
    \n\n**3. Definitions**\n\n⟶\n\n
    \n\n**4. Vector \u2015 We note x\u2208Rn a vector with n entries, where xi\u2208R is the ith entry:**\n\n⟶\n\n
    \n\n**5. Matrix \u2015 We note A\u2208Rm\u00d7n a matrix with m rows and n columns, where Ai,j\u2208R is the entry located in the ith row and jth column:**\n\n⟶\n\n
    \n\n**6. Remark: the vector x defined above can be viewed as a n\u00d71 matrix and is more particularly called a column-vector.**\n\n⟶\n\n
    \n\n**7. Main matrices**\n\n⟶\n\n
    \n\n**8. Identity matrix \u2015 The identity matrix I\u2208Rn\u00d7n is a square matrix with ones in its diagonal and zero everywhere else:**\n\n⟶\n\n
    \n\n**9. Remark: for all matrices A\u2208Rn\u00d7n, we have A\u00d7I=I\u00d7A=A.**\n\n⟶\n\n
    \n\n**10. Diagonal matrix \u2015 A diagonal matrix D\u2208Rn\u00d7n is a square matrix with nonzero values in its diagonal and zero everywhere else:**\n\n⟶\n\n
    \n\n**11. Remark: we also note D as diag(d1,...,dn).**\n\n⟶\n\n
    \n\n**12. Matrix operations**\n\n⟶\n\n
    \n\n**13. Multiplication**\n\n⟶\n\n
    \n\n**14. Vector-vector \u2015 There are two types of vector-vector products:**\n\n⟶\n\n
    \n\n**15. inner product: for x,y\u2208Rn, we have:**\n\n⟶\n\n
    \n\n**16. outer" +"name: test\nchannels:\n - conda-forge\ndependencies:\n - python=3.7\n - six\n - pyyaml\n - deprecated\n # testing\n - matplotlib\n - pytest\n - pytest-cov\n - coverage\n - codecov\n # optional\n - geopandas\n - bokeh\n - scikit-learn\n - numba\n - statsmodels\n - scikit-learn\n - geopandas\n - quantecon\n - rtree\n - tqdm\n - quilt3\n - rasterio\n - rasterstats\n - pytest\n - coverage\n - coveralls\n - ipywidgets\n - twine\n - urbanaccess\n - urllib3<1.25\n - wheel\n - dill\n - pytest\n - pytest-cov\n - codecov\n - bokeh\n - libpysal\n - esda\n - spaghetti\n - tobler>=0.2.1\n - spint\n - spreg\n - spvcm\n - mgwr\n - segregation\n - pointpats\n - giddy\n - mapclassify\n - seaborn\n - descartes\n - numba\n - inequality\n - access\n - splot" +"#ifndef BOXER_H\n#define BOXER_H\n\n#if defined(BOXER_DLL) && defined(BOXER_BUILD_DLL)\n /*!\n * BOXER_DLL must be defined by applications that are linking against the DLL version of the Boxer library.\n * BOXER_BUILD_DLL is defined when compiling the DLL version of the library.\n */\n #error \"You may not have both BOXER_DLL and BOXER_BUILD_DLL defined\"\n#endif\n\n/*!\n * BOXERAPI is used to declare public API classes / functions for export from the DLL / shared library / dynamic library\n */\n#if defined(_WIN32) && defined(BOXER_BUILD_DLL)\n // We are building Boxer as a Win32 DLL\n #define BOXERAPI __declspec(dllexport)\n#elif defined(_WIN32) && defined(BOXER_DLL)\n // We are calling Boxer as a Win32 DLL\n #define BOXERAPI __declspec(dllimport)\n#elif defined(__GNUC__) && defined(BOXER_BUILD_DLL)\n // We are building Boxer as a shared / dynamic library\n #define BOXERAPI __attribute__((visibility(\"default\")))\n#else\n // We are building or calling Boxer as a static library\n #define BOXERAPI\n#endif\n\nnamespace boxer {\n\n/*!\n * Options for styles to apply to a message box\n */\nenum class Style {\n Info,\n Warning,\n Error,\n Question\n};\n\n/*!\n * Options for buttons to provide on a message box\n */\nenum class Buttons {\n OK,\n OKCancel,\n YesNo,\n Quit\n};\n\n/*!\n * Possible responses from a message box. 'None' signifies that no option was chosen," +"{-# LANGUAGE DeriveGeneric #-}\n{-# LANGUAGE GADTs #-}\n-- | Transform a composition by splitting parents.\nmodule Komposition.Composition.Split where\n\nimport Komposition.Prelude\n\nimport Control.Lens\nimport qualified Data.List.NonEmpty as NonEmpty\n\nimport Komposition.Composition\nimport Komposition.Duration\nimport Komposition.Focus\nimport Komposition.MediaType\n\ndata ParallelSplitMode = OnExactClips Int Int | OnClipsNearFocus\n deriving (Eq, Show, Generic)\n\nsplit ::\n ParallelSplitMode\n -> Focus (ToFocusType Timeline)\n -> Timeline a\n -> Maybe (Timeline a, Focus (ToFocusType Timeline))\nsplit = splitOnTimeline\n\nsplitOnTimeline\n :: ParallelSplitMode\n -> SequenceFocus\n -> Timeline a\n -> Maybe (Timeline a, SequenceFocus)\nsplitOnTimeline _ (SequenceFocus sIdx (Just (ParallelFocus pIdx Nothing))) (Timeline seqs) = do\n let newFocus = SequenceFocus sIdx (Just (ParallelFocus (pred pIdx) Nothing))\n Sequence ann pars <- toList seqs `atMay` sIdx\n let (p1, p2) = NonEmpty.splitAt pIdx pars\n ps1 <- nonEmpty p1\n ps2 <- nonEmpty p2\n Just\n ( Timeline (replaceManyAt sIdx [Sequence ann ps1, Sequence ann ps2] seqs)\n , newFocus)\nsplitOnTimeline splitMode (SequenceFocus idx (Just subFocus)) (Timeline seqs) = do\n (seq', newSubFocus) <- splitOnSequence splitMode subFocus =<< toList seqs `atMay` idx\n pure (Timeline (seqs & ix idx .~ seq'), SequenceFocus idx (Just newSubFocus))\nsplitOnTimeline _ _ _ = mzero\n\nsplitOnSequence\n :: ParallelSplitMode\n -> ParallelFocus\n -> Sequence a\n -> Maybe (Sequence a, ParallelFocus)\nsplitOnSequence splitMode (ParallelFocus pIdx (Just (TrackFocus mediaType' (Just" +"#ifndef SLANG_CORE_TYPE_TRAITS_H\n#define SLANG_CORE_TYPE_TRAITS_H\n\nnamespace Slang\n{\n\tstruct TraitResultYes\n\t{\n\t\tchar x;\n\t};\n\tstruct TraitResultNo\n\t{\n\t\tchar x[2];\n\t};\n\n\ttemplate \n\tstruct IsBaseOfTraitHost\n\t{\n\t\toperator B*() const { return nullptr; }\n\t\toperator D*() { return nullptr; }\n\t};\n\n\ttemplate \n\tstruct IsBaseOf\n\t{\n\t\ttemplate \n\t\tstatic TraitResultYes Check(D*, T) { return TraitResultYes(); }\n\t\tstatic TraitResultNo Check(B*, int) { return TraitResultNo(); }\n\t\tenum { Value = sizeof(Check(IsBaseOfTraitHost(), int())) == sizeof(TraitResultYes) };\n\t};\n\n\ttemplate\n\tstruct EnableIf {};\n\n\ttemplate\n\tstruct EnableIf { typedef T type; };\n\n\ttemplate \n\tstruct IsConvertible\n\t{\n\t\tstatic TraitResultYes Use(B) { return TraitResultYes(); };\n\t\tstatic TraitResultNo Use(...) { return TraitResultNo(); };\n\t\tenum { Value = sizeof(Use(*(D*)(nullptr))) == sizeof(TraitResultYes) };\n\t};\n}\n\n#endif" +"{-# LANGUAGE DeriveDataTypeable #-}\n{-# LANGUAGE DeriveGeneric #-}\n{-# LANGUAGE LambdaCase #-}\n{-# LANGUAGE NoImplicitPrelude #-}\n{-# LANGUAGE OverloadedStrings #-}\n\n{-# OPTIONS_GHC -fno-warn-unused-imports #-}\n\n-- |\n-- Module : Network.Google.TextToSpeech.Types.Sum\n-- Copyright : (c) 2015-2016 Brendan Hay\n-- License : Mozilla Public License, v. 2.0.\n-- Maintainer : Brendan Hay \n-- Stability : auto-generated\n-- Portability : non-portable (GHC extensions)\n--\nmodule Network.Google.TextToSpeech.Types.Sum where\n\nimport Network.Google.Prelude hiding (Bytes)\n\n-- | The preferred gender of the voice. Optional; if not set, the service\n-- will choose a voice based on the other parameters such as language_code\n-- and name. Note that this is only a preference, not requirement; if a\n-- voice of the appropriate gender is not available, the synthesizer should\n-- substitute a voice with a different gender rather than failing the\n-- request.\ndata VoiceSelectionParamsSsmlGender\n = SsmlVoiceGenderUnspecified\n -- ^ @SSML_VOICE_GENDER_UNSPECIFIED@\n -- An unspecified gender. In VoiceSelectionParams, this means that the\n -- client doesn\\'t care which gender the selected voice will have. In the\n -- Voice field of ListVoicesResponse, this may mean that the voice doesn\\'t\n -- fit any of the other categories in this enum, or that the gender of the\n -- voice isn\\'t known.\n | Male" +"# Copyright 2019 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# NOTE: This file is auto generated by the elixir code generator program.\n# Do not edit this file manually.\n\ndefmodule GoogleApi.ToolResults.V1beta3.Model.Environment do\n @moduledoc \"\"\"\n An Environment represents the set of test runs (Steps) from the parent Execution that are configured with the same set of dimensions (Model, Version, Locale, and Orientation). Multiple such runs occur particularly because of features like sharding (splitting up a test suite to run in parallel across devices) and reruns (running a test multiple times to check for different outcomes).\n\n ## Attributes\n\n * `completionTime` (*type:* `GoogleApi.ToolResults.V1beta3.Model.Timestamp.t`, *default:* `nil`) - Output only. The time when the Environment status was set to" +"\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\nnamespace PHPExiftool\\Driver\\Tag\\Canon;\n\nuse JMS\\Serializer\\Annotation\\ExclusionPolicy;\nuse PHPExiftool\\Driver\\AbstractTag;\n\n/**\n * @ExclusionPolicy(\"all\")\n */\nclass NormalWhiteLevel extends AbstractTag\n{\n\n protected $Id = 'mixed';\n\n protected $Name = 'NormalWhiteLevel';\n\n protected $FullName = 'mixed';\n\n protected $GroupName = 'Canon';\n\n protected $g0 = 'MakerNotes';\n\n protected $g1 = 'Canon';\n\n protected $g2 = 'Camera';\n\n protected $Type = 'int16u';\n\n protected $Writable = true;\n\n protected $Description = 'Normal White Level';\n\n protected $flag_Permanent = true;\n}" +"// Copyright 2017 The Cockroach Authors.\n//\n// Use of this software is governed by the Business Source License\n// included in the file licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with\n// the Business Source License, use of this software will be governed\n// by the Apache License, Version 2.0, included in the file\n// licenses/APL.txt.\n\n// Package tscache provides a timestamp cache structure that records the maximum\n// timestamp that key ranges were read from and written to.\npackage tscache\n\nimport (\n\t\"fmt\"\n\t\"time\"\n\n\t\"github.com/cockroachdb/cockroach/pkg/roachpb\"\n\t\"github.com/cockroachdb/cockroach/pkg/util/envutil\"\n\t\"github.com/cockroachdb/cockroach/pkg/util/hlc\"\n\t\"github.com/cockroachdb/cockroach/pkg/util/uuid\"\n)\n\n// MinRetentionWindow specifies the minimum duration to hold entries in the\n// cache before allowing eviction. After this window expires, transactions\n// writing to this node with timestamps lagging by more than MinRetentionWindow\n// will necessarily have to advance their commit timestamp.\nconst MinRetentionWindow = 10 * time.Second\n\n// Cache is a bounded in-memory cache that records the maximum timestamp that\n// key ranges were read from and written to. The structure serves to protect\n// against violations of Snapshot Isolation, which requires that the outcome of\n// reads must be preserved even in the presence of read-write conflicts (i.e. a\n//" +"#pragma once\n\nclass LineSegment;\nclass PuresoftRasterizer\n{\npublic:\n\ttypedef struct\n\t{\n\t\tfloat x, y;\n\t} VERTEX2F;\n\n\ttypedef struct\n\t{\n\t\tint left;\n\t\tint leftClamped;\n\t\tint leftVerts[2]; // indices of verts for left point\n\t\tint right;\n\t\tint rightClamped;\n\t\tint rightVerts[2]; // indices of verts for right point\n\t} RESULT_ROW;\n\n\ttypedef struct\n\t{\n\t\tVERTEX2F vertices[3];\n\t\tint firstRow;\n\t\tint lastRow;\n\t\tRESULT_ROW* m_rows;\n\t} RESULT;\n\npublic:\n\tPuresoftRasterizer(void);\n\t~PuresoftRasterizer(void);\n\n\tconst RESULT* initialize(int width, int height);\n\tbool pushTriangle(const float* vert0, const float* vert1, const float* vert2);\n\nprivate:\n\tint m_width;\n\tint m_height;\n\tint m_halfWidth;\n\tint m_halfHeight;\n\tint m_resultCapacity;\n\tRESULT m_output;\n\n\tinline void pushVertex(int idx, const float* vert);\n\tinline void processTriangle(const LineSegment& edgeL, const LineSegment& edgeR, float yMin, float yMax);\n\tinline void processStandingTriangle(const VERTEX2F* verts, int top, int bottom, int third);\n};" +"1 1 1196 0 202 1 105\n2 1 153 0 202 105 106\n3 1 1684 0 202 106 107\n4 1 1677 0 202 107 108\n5 1 280 0 202 108 109\n6 1 442 0 202 109 110\n7 1 1222 0 202 110 111\n8 1 1106 0 202 111 112\n9 1 777 0 202 112 113\n10 1 36 0 202 113 114\n11 1 778 0 202 114 115\n12 1 1383 0 202 115 116\n13 1 136 0 202 116 117\n14 1 1686 0 202 117 118\n15 1 273 0 202 118 119\n16 1 854 0 202 119 120\n17 1 805 0 202 120 121\n18 1 263 0 202 121 122\n19 1 1231 0 202 122 123\n20 1 693 0 202 123 124\n21 1 841 0 202 124 125\n22 3 1372 0 202 163 4\n23 3 891 0 202 164 163\n24 3 1217 0 202 165 164\n25 3 1137 0 202 166 165\n26 3 790 0 202 167 166\n27 3 1152 0 202 168 167\n28 3 1237 0 202 169 168\n29 3 272 0" +"#--\n#\n# Author:: Nathaniel Talbott.\n# Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved.\n# License:: Ruby license.\n\nrequire 'test/unit'\nrequire 'test/unit/util/observable'\nrequire 'test/unit/testresult'\n\nmodule Test\n module Unit\n module UI\n\n # Provides an interface to write any given UI against,\n # hopefully making it easy to write new UIs.\n class TestRunnerMediator\n RESET = name + \"::RESET\"\n STARTED = name + \"::STARTED\"\n FINISHED = name + \"::FINISHED\"\n \n include Util::Observable\n \n # Creates a new TestRunnerMediator initialized to run\n # the passed suite.\n def initialize(suite)\n @suite = suite\n end\n\n # Runs the suite the TestRunnerMediator was created\n # with.\n def run_suite\n Unit.run = true\n begin_time = Time.now\n notify_listeners(RESET, @suite.size)\n result = create_result\n notify_listeners(STARTED, result)\n result_listener = result.add_listener(TestResult::CHANGED) do |updated_result|\n notify_listeners(TestResult::CHANGED, updated_result)\n end\n \n fault_listener = result.add_listener(TestResult::FAULT) do |fault|\n notify_listeners(TestResult::FAULT, fault)\n end\n \n @suite.run(result) do |channel, value|\n notify_listeners(channel, value)\n end\n \n result.remove_listener(TestResult::FAULT, fault_listener)\n result.remove_listener(TestResult::CHANGED, result_listener)\n end_time = Time.now\n elapsed_time = end_time - begin_time\n notify_listeners(FINISHED, elapsed_time) #\"Finished in #{elapsed_time} seconds.\")\n return result\n end\n\n private\n # A factory method to create the result the mediator\n # should run with. Can be overridden by subclasses if\n # one wants to use a different result.\n def create_result\n return TestResult.new\n end\n end\n end\n end\nend" +"#!/usr/bin/env python\n\nfrom os import curdir, sep, getcwd\nfrom BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer\n\n# subclass BaseHTTPRequestHandler and support GET requests\nclass MyHandler(BaseHTTPRequestHandler):\n\n # handle GET request\n def do_GET(self):\n # check if we can read file and return it\n try:\n f = open(curdir + sep + self.path)\n self.send_response(200)\n self.send_header('Content-type', 'text/html')\n self.end_headers()\n self.wfile.write(f.read())\n f.close()\n\n # if not, assume non-existent file\n except IOError:\n self.send_error(404, 'File Not Found: %s' % self.path)\n\n\ndef main():\n\n # attempt to start server\n try:\n # change directory if necessary by adding call to os.chdir()\n #os.chdir('/usr/local/httpd/htdocs')\n\n # create server\n server = HTTPServer(('', 80), MyHandler)\n print 'Welcome to the machine... hit ^C once or twice to quit'\n print 'cwd:', getcwd()\n\n # enter server loop\n server.serve_forever()\n\n # quit requested\n except KeyboardInterrupt:\n print '^C received, shutting down server'\n server.socket.close()\n\n\nif __name__ == '__main__':\n main()" +"{-# LANGUAGE BangPatterns #-}\n-- |\n-- Module : Data.Array.Accelerate.LLVM.PTX.Array.Table\n-- Copyright : [2014..2020] The Accelerate Team\n-- License : BSD3\n--\n-- Maintainer : Trevor L. McDonell \n-- Stability : experimental\n-- Portability : non-portable (GHC extensions)\n--\n\nmodule Data.Array.Accelerate.LLVM.PTX.Array.Table (\n\n MemoryTable,\n new,\n\n) where\n\nimport Data.Array.Accelerate.LLVM.PTX.Context ( Context, withContext )\nimport qualified Data.Array.Accelerate.Array.Remote as Remote\nimport qualified Data.Array.Accelerate.LLVM.PTX.Debug as Debug\nimport {-# SOURCE #-} Data.Array.Accelerate.LLVM.PTX.Execute.Event\n\nimport qualified Foreign.CUDA.Ptr as CUDA\nimport qualified Foreign.CUDA.Driver as CUDA\n\nimport Text.Printf\n\n\n-- Remote memory tables. This builds upon the LRU-cached memory tables provided\n-- by the base Accelerate package.\n--\ntype MemoryTable = Remote.MemoryTable CUDA.DevicePtr (Maybe Event)\n\n\n-- | Create a new PTX memory table. This is specific to a given PTX target, as\n-- devices arrays are unique to a CUDA context.\n--\n{-# INLINEABLE new #-}\nnew :: Context -> IO MemoryTable\nnew !ctx = Remote.new freeRemote\n where\n freeRemote :: CUDA.DevicePtr a -> IO ()\n freeRemote !ptr = do\n message (printf \"freeRemote %s\" (show ptr))\n withContext ctx (CUDA.free ptr)\n\n\n-- Debugging\n-- ---------\n\n{-# INLINE trace #-}\ntrace :: String -> IO a -> IO a\ntrace msg next = Debug.traceIO Debug.dump_gc (\"gc: \" ++ msg) >> next\n\n{-#" +"/**\n * https://github.com/apocas/dockerode/blob/master/lib/util.js\n * Parse the given repo tag name (as a string) and break it out into repo/tag pair.\n * // if given the input http://localhost:8080/woot:latest\n * {\n * repository: 'http://localhost:8080/woot',\n * tag: 'latest'\n * }\n * @param {String} input Input e.g: 'repo/foo', 'ubuntu', 'ubuntu:latest'\n * @return {Object} input parsed into the repo and tag.\n */\n\nfunction parseRepoTag (input) {\n var separatorPos\n var digestPos = input.indexOf('@')\n var colonPos = input.lastIndexOf(':')\n // @ symbol is more important\n if (digestPos >= 0) {\n separatorPos = digestPos\n } else if (colonPos >= 0) {\n separatorPos = colonPos\n } else {\n // no colon nor @\n return {\n repository: input\n }\n }\n\n // last colon is either the tag (or part of a port designation)\n var tag = input.slice(separatorPos + 1)\n\n // if it contains a / its not a tag and is part of the url\n if (tag.indexOf('/') === -1) {\n return {\n repository: input.slice(0, separatorPos),\n tag\n }\n }\n\n return {\n repository: input\n }\n}\n\nexport default parseRepoTag" +"// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef SANDBOX_WOW_HELPER_TARGET_CODE_H__\n#define SANDBOX_WOW_HELPER_TARGET_CODE_H__\n\n#include \"sandbox/win/src/nt_internals.h\"\n\nnamespace sandbox {\n\nextern \"C\" {\n\n// Holds the information needed for the interception of NtMapViewOfSection.\n// Changes of this structure must be synchronized with changes of PatchInfo32\n// on sandbox/win/src/wow64.cc.\nstruct PatchInfo {\n HANDLE dll_load; // Event to signal the broker.\n HANDLE continue_load; // Event to wait for the broker.\n HANDLE section; // First argument of the call.\n NtMapViewOfSectionFunction orig_MapViewOfSection;\n NtSignalAndWaitForSingleObjectFunction signal_and_wait;\n void* patch_location;\n};\n\n// Interception of NtMapViewOfSection on the child process.\n// It should never be called directly. This function provides the means to\n// detect dlls being loaded, so we can patch them if needed.\nNTSTATUS WINAPI TargetNtMapViewOfSection(\n PatchInfo* patch_info, HANDLE process, PVOID* base, ULONG_PTR zero_bits,\n SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size,\n SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect);\n\n// Marker of the end of TargetNtMapViewOfSection.\nNTSTATUS WINAPI TargetEnd();\n\n} // extern \"C\"\n\n} // namespace sandbox\n\n#endif // SANDBOX_WOW_HELPER_TARGET_CODE_H__" +"---\ntitle: \"Word solutions\"\nms.date: \"08/14/2019\"\nms.topic: \"conceptual\"\ndev_langs:\n - \"VB\"\n - \"CSharp\"\nhelpviewer_keywords:\n - \"solutions [Office development in Visual Studio], Word\"\n - \"Office projects [Office development in Visual Studio], Word\"\n - \"application-level add-ins [Office development in Visual Studio], Word\"\n - \"Word [Office development in Visual Studio]\"\n - \"projects [Office development in Visual Studio], Word\"\n - \"Word [Office development in Visual Studio], about Word solutions\"\n - \"Office solutions [Office development in Visual Studio], Word\"\n - \"Word [Office development in Visual Studio], application-level add-ins\"\n - \"documents [Office development in Visual Studio], Word\"\n - \"Office development in Visual Studio, Word solutions\"\n - \"add-ins [Office development in Visual Studio], Word\"\n - \"Word [Office development in Visual Studio], document-level customizations\"\n - \"user interfaces [Office development in Visual Studio], Word\"\n - \"Office documents [Office development in Visual Studio, Word\"\n - \"document-level customizations [Office development in Visual Studio], Word\"\nauthor: John-Hart\nms.author: johnhart\nmanager: jillfra\nms.workload:\n - \"office\"\n---\n# Word solutions\n Visual Studio provides project templates you can use to create document-level customizations and VSTO Add-ins for Microsoft Office Word. You can use these solutions to automate Word, extend Word features, and customize the Word user interface (UI). For more information about the differences between" +"## [\u8f49\u8f09] Rain & Water Effect Experiments [Back](./../post.md)\n\n> - Author: [Lucas Bebber](https://github.com/lbebber)\n> - Origin: https://tympanus.net/codrops/2015/11/04/rain-water-effect-experiments/\n> - Time: Nov, 4th, 2015\n\n
    \n\n> Some experimental rain and water drop effects made with WebGL and shown in different demo scenarios.\n\n

    \n \n

    \n\nToday we'd like to share some WebGL experiments with you. The idea is to create a very realistic looking rain effect and put it in different scenarios. In this article, we'll give an overview of the general tricks and techniques used to make this effect.\n\n> Please note that the effect is highly experimental and might not work as expected in all browsers. Best viewed in Chrome.\n\n### Getting Started\n\nIf we want to make an effect based on the real world, the first step is to dissect how it actually looks, so we can make it look convincing.\n\nIf you look up pictures of water drops on a window in detail (or, of course, observed them in real life already), you will notice that, due to refraction, the raindrops appear to turn the image behind them upside down.\n\n

    \n \n

    \n

    \n Image credits: Wikipedia, = 0 && funcName.charAt(index) == '\\'') {\n\t\t\torder++;\n\t\t\tindex--;\n\t\t}\n\t\tGeoElement geo = null;\n\t\tboolean hasGeoDerivative = false;\n\t\twhile (index < funcName.length() && !hasGeoDerivative) {\n\t\t\tString label = funcName.substring(0, index + 1);\n\t\t\tgeo = kernel.lookupLabel(label);\n\t\t\thasGeoDerivative = geo != null && hasDerivative(geo);\n\t\t\t// stop if f' is defined but f is not defined, see #1444\n\t\t\tif (!hasGeoDerivative) {\n\t\t\t\torder--;\n\t\t\t\tindex++;\n\t\t\t}\n\t\t}\n\n\t\tif (hasGeoDerivative) {\n\t\t\treturn FunctionParser.derivativeNode(kernel, geo, order,\n\t\t\t\t\tgeo.isGeoCurveCartesian(), new FunctionVariable(kernel));\n\t\t}\n\t\treturn null;\n\t}\n\n\tprivate boolean hasDerivative(GeoElement geoElement) {\n\t\treturn geoElement.isRealValuedFunction() || geoElement.isGeoCurveCartesian();\n\t}\n}" +"package haxepunk.tweens.misc;\n\nimport haxepunk.Tween;\nimport haxepunk.utils.Color;\nimport haxepunk.utils.Ease.EaseFunction;\n\n/**\n * Tweens a color's red, green, and blue properties\n * independently. Can also tween an alpha value.\n */\nclass ColorTween extends Tween\n{\n\t/**\n\t * The current color.\n\t */\n\tpublic var color:Color;\n\n\t/**\n\t * The current alpha.\n\t */\n\tpublic var alpha:Float = 1;\n\n\t/**\n\t * Red value of the current color, from 0 to 255.\n\t */\n\tpublic var red(default, null):Int;\n\n\t/**\n\t * Green value of the current color, from 0 to 255.\n\t */\n\tpublic var green(default, null):Int;\n\n\t/**\n\t * Blue value of the current color, from 0 to 255.\n\t */\n\tpublic var blue(default, null):Int;\n\n\t/**\n\t * Constructor.\n\t * @param\tcomplete\tOptional completion callback.\n\t * @param\ttype\t\tTween type.\n\t */\n\tpublic function new(?type:TweenType)\n\t{\n\t\tsuper(0, type);\n\t}\n\n\t/**\n\t * Tweens the color to a new color and an alpha to a new alpha.\n\t * @param\tduration\t\tDuration of the tween.\n\t * @param\tfromColor\t\tStart color.\n\t * @param\ttoColor\t\t\tEnd color.\n\t * @param\tfromAlpha\t\tStart alpha\n\t * @param\ttoAlpha\t\t\tEnd alpha.\n\t * @param\tease\t\t\tOptional easer function.\n\t */\n\tpublic function tween(duration:Float, fromColor:Color, toColor:Color, fromAlpha:Float = 1, toAlpha:Float = 1, ?ease:EaseFunction)\n\t{\n\t\tfromColor &= 0xFFFFFF;\n\t\ttoColor &= 0xFFFFFF;\n\t\tcolor = fromColor;\n\t\tred = fromColor" +":title: Positioning tutorial\n:css: tutorial.css\n\nThis is a tutorial for Hovercraft! positioning. It's meant to be read as\n`source code <../_sources/examples/positions.txt>`_.\n\nYou can render this presentation to HTML with the command::\n\n hovercraft positions.rst outdir\n\nAnd then view the outdir/index.html file to see how it turned out.\n\nIf you are seeing this text, and not reading this as source code, you are\ndoing it wrong! It's going to be confusing and not very useful.\n\nUse The Source, Luke! But first you probably want to read through the\nofficial documentation at https://hovercraft.readthedocs.io/\nThere are links to the source code in the Examples section.\n\n----\n\nPositions\n=========\n\nEach step can be explicitly positioned by putting some ``data-`` fields in\nthe beginning of the slide. This has to be first in the slide (although you\nhave to have a blank line beneath the four dashes that start the slide.\n\nTo put the slide at zero pixels to the right and a thousand pixels below the\ncoordinate centre you add the following::\n\n :data-x: 0\n :data-y: 1000\n\nLet's do that for the next slide:\n\n----\n\n:data-x: 0\n:data-y: 1000\n\nX & Y\n=====\n\nYou don't have to give both X and Y coordinates. They will default" +"import networkx as nx\nimport random\nimport time\nfrom networkx.classes.function import is_directed\n\nfrom networkx.algorithms.isomorphism.tree_isomorphism import (\n rooted_tree_isomorphism,\n tree_isomorphism,\n)\n\n\n# have this work for graph\n# given two trees (either the directed or undirected)\n# transform t2 according to the isomorphism\n# and confirm it is identical to t1\n# randomize the order of the edges when constructing\ndef check_isomorphism(t1, t2, isomorphism):\n\n # get the name of t1, given the name in t2\n mapping = {v2: v1 for (v1, v2) in isomorphism}\n\n # these should be the same\n d1 = is_directed(t1)\n d2 = is_directed(t2)\n assert d1 == d2\n\n edges_1 = []\n for (u, v) in t1.edges():\n if d1:\n edges_1.append((u, v))\n else:\n # if not directed, then need to\n # put the edge in a consistent direction\n if u < v:\n edges_1.append((u, v))\n else:\n edges_1.append((v, u))\n\n edges_2 = []\n for (u, v) in t2.edges():\n # translate to names for t1\n u = mapping[u]\n v = mapping[v]\n if d2:\n edges_2.append((u, v))\n else:\n if u < v:\n edges_2.append((u, v))\n else:\n edges_2.append((v, u))\n\n return sorted(edges_1) == sorted(edges_2)\n\n\ndef test_hardcoded():\n\n print(\"hardcoded test\")\n\n # define a test problem\n edges_1 = [\n (\"a\", \"b\"),\n (\"a\", \"c\"),\n (\"a\", \"d\"),\n (\"b\", \"e\"),\n (\"b\", \"f\"),\n (\"e\", \"j\"),\n (\"e\", \"k\"),\n (\"c\"," +"# plex2netflix\n\nThis simple tool checks how much of your media from Plex is available to watch on Netflix, and gives you a nice summary with the percentage of media that is available.\n\nI made this tool because I someday want to make the jump to Netflix, but I want to know beforehand how much of the media I have is available there.\n\nIt works by using the Plex Web API to get a list of all media from given library section. If an item has an IMDb ID (you need to enable the IMDb agent for this in Plex), it uses this to search in the [uNoGS](http://unogs.com/) database which has Netflix availability data. If there is no IMDb ID, the item title and year are used.\n\n[**Powered by uNoGS**](http://unogs.com/).\n\n\"Example\"\n\n## Install\n\nYou need to have [Node.js](https://nodejs.org) (4.0 or higher). Install the tool with the node package manager:\n\n```\nnpm install -g plex2netflix\n```\n\nTo update, just run the command above again.\n\n## Usage\n\nFirst, you need to get your [API token from Plex](https://support.plex.tv/hc/en-us/articles/204059436-Finding-your-account-token-X-Plex-Token).\n\n```\nplex2netflix --host 192.168.0.42 --token=xxx --country=us --section=Movies\n```\n\nBy default it searches the Netflix library of the US. You can specify `--country`" +"---\ntitle: Error del compilador CS1731\nms.date: 07/20/2015\nf1_keywords:\n- CS1731\nhelpviewer_keywords:\n- CS1731\nms.assetid: 267b32aa-a692-4a54-8654-0540ee36c0a0\nms.openlocfilehash: 0bc3ef2e80b930e9ed6e02299313f8898a51e03d\nms.sourcegitcommit: 5b475c1855b32cf78d2d1bbb4295e4c236f39464\nms.translationtype: MT\nms.contentlocale: es-ES\nms.lasthandoff: 09/24/2020\nms.locfileid: \"91191091\"\n---\n# Error del compilador CS1731\n\nNo se puede convertir 'expresi\u00f3n' a delegado porque algunos de los tipos de valor devuelto del bloque no se pueden convertir impl\u00edcitamente al tipo de valor devuelto del delegado. \n \n Este error se genera cuando una expresi\u00f3n lambda o un m\u00e9todo an\u00f3nimo tiene un tipo de valor devuelto que no es compatible con el tipo de valor devuelto del delegado. \n \n## Para corregir este error \n \n1. Cambie el tipo de valor devuelto del delegado o la expresi\u00f3n. \n \n## Ejemplo \n\n El c\u00f3digo siguiente genera el error CS1731. \n \n```csharp \nclass CS1731 \n{ \n delegate double D(); \n D d = () => { return \"Who knows the real sword of Gryffindor?\"; }; \n} \n```" +"#ifndef __XEN_SHARED_H__\n#define __XEN_SHARED_H__\n\n#ifdef CONFIG_COMPAT\n\n#include \n\ntypedef union {\n struct shared_info native;\n struct compat_shared_info compat;\n} shared_info_t;\n\n/*\n * Compat field is never larger than native field, so cast to that as it\n * is the largest memory range it is safe for the caller to modify without\n * further discrimination between compat and native cases.\n */\n#define __shared_info(d, s, field) \\\n (*(!has_32bit_shinfo(d) ? \\\n (typeof(&(s)->compat.field))&(s)->native.field : \\\n &(s)->compat.field))\n\ntypedef union {\n struct vcpu_info native;\n struct compat_vcpu_info compat;\n} vcpu_info_t;\n\n/* As above, cast to compat field type. */\n#define __vcpu_info(v, i, field) \\\n (*(!has_32bit_shinfo((v)->domain) ? \\\n (typeof(&(i)->compat.field))&(i)->native.field : \\\n &(i)->compat.field))\n\n#else\n\ntypedef struct shared_info shared_info_t;\n#define __shared_info(d, s, field) ((s)->field)\n\ntypedef struct vcpu_info vcpu_info_t;\n#define __vcpu_info(v, i, field) ((i)->field)\n\n#endif\n\nextern vcpu_info_t dummy_vcpu_info;\n\n#define shared_info(d, field) __shared_info(d, (d)->shared_info, field)\n#define vcpu_info(v, field) __vcpu_info(v, (v)->vcpu_info, field)\n\n#endif /* __XEN_SHARED_H__ */" +"package mop::manual::details::roles;\n# ABSTRACT: A manual for p5-mop\n\n__END__\n\n=pod\n\n=head1 NAME\n\nmop::manual::details::roles - A manual for p5-mop\n\n=head1 DESCRIPTION\n\nTODO\n\n=head1 GRAMMAR\n\nRoles in the p5-mop are defined in the following way:\n\n role NAME\n ?(with NAME ?(, NAME)*)\n ?(meta NAME)\n ?(is TRAIT ?(, TRAIT)*)\n BLOCK\n\nThe C keyword is followed by a name.\n\nWhich is optionally followed by the C keyword that is\nfollowed by a comma separated list of the names of the roles\nyou wish to be composed into your role.\n\nWhich is optionally followed by the C keyword\nthat is followed by the name of the metarole you wish to\nbe used in constructing this role.\n\nWhich is optionally followed by the C keyword that is\nfollowed by a comma separated list of traits you wish to\nbe applied to your role.\n\nAfter this comes a block, within which you can define\nmethods and attributes (refer to those docs for more info).\n\n=head1 BUGS\n\nSince this module is still under development we would prefer to not\nuse the RT bug queue and instead use the built in issue tracker on\nL.\n\n=head2 L\n\n=head2 L\n\n=head1 AUTHOR\n\nStevan Little \n\nJesse Luehrs \n\n=head1" +"function! youcompleteme#test#popup#CheckPopupPosition( winid, pos )\n redraw\n let actual_pos = popup_getpos( a:winid )\n let ret = 0\n if a:pos->empty()\n return assert_true( actual_pos->empty(), 'popup pos empty' )\n endif\n for c in keys( a:pos )\n if !has_key( actual_pos, c )\n let ret += 1\n call assert_report( 'popup with ID '\n \\ . string( a:winid )\n \\ . ' has no '\n \\ . c\n \\ . ' in: '\n \\ . string( actual_pos ) )\n else\n let ret += assert_equal( a:pos[ c ],\n \\ actual_pos[ c ],\n \\ c . ' in: ' . string( actual_pos ) )\n endif\n endfor\n return ret\nendfunction\n\n\nfunction! youcompleteme#test#popup#ScreenPos( winid, row, col )\n \" Returns the screen position of the row/col in win with id winid. This\n \" differs from screenpos() only in that the position need not be valid, that\n \" is there need not be a text character in the referenced cell. This is useful\n \" when finding where a popup _should_ be in screen position relative to actual\n \" text position\n \"\n \" It also probably doesn't work properly for multi-byte characters and tabs\n \" and things. And only returns the 'row' and 'col' items of the dict.\n \"\n \" So it's not that" +"% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/whisker.R\n\\name{whisker.render}\n\\alias{whisker.render}\n\\title{Logicless templating}\n\\usage{\nwhisker.render(template, data = parent.frame(), partials = list(),\n debug = FALSE, strict = TRUE)\n}\n\\arguments{\n\\item{template}{\\code{character} with template text}\n\n\\item{data}{named \\code{list} or \\code{environment} with variables that will be used during rendering}\n\n\\item{partials}{named \\code{list} with partial templates, will be used during template construction}\n\n\\item{debug}{Used for debugging purposes, likely to disappear}\n\n\\item{strict}{\\code{logical} if \\code{TRUE} the seperation symbol is a \".\" otherwise a \"$\"}\n}\n\\value{\n\\code{character} with rendered template\n}\n\\description{\nLogicless templating\n}\n\\note{\nBy default whisker applies html escaping on the generated text. \nTo prevent this use \\{\\{\\{variable\\}\\}\\} (triple) in stead of \n\\{\\{variable\\}\\}.\n}\n\\examples{\ntemplate <- \"Hello {{place}}!\"\nplace <- \"World\"\n\nwhisker.render(template)\n\n# to prevent html escaping use triple {{{}}}\ntemplate <- \n \"I'm escaped: {{name}}\nAnd I'm not: {{{name}}}\"\n\ndata <- list( name = '')\nwhisker.render(template, data)\n# I'm escaped: <My Name="Nescio&">\n# And I'm not: \n}" +"#!/usr/bin/env bash\n\n# Clear the terminal so we can see things\ntput clear\n\n# Source terminal colors\n. ./colors\n# Source error trap\n. ./error_trap\n# Source variables\n. ./variables\n# Source functions\n. ./functions\n# Source whiptail messages\n. ./messages\n\nchk_version\n\n# Reset GETOPTS\nOPTIND=1\n\n# Set overlap variables\nDEPENDENCIES+=\"bc build-essential gnupg libnotify-bin libssl-dev pkg-config \\\n\t\t\t\ttime bison flex \"\n\n# shellcheck disable=SC2034\nBASEURL=kernel.org\n\nif ! [[ $# == 0 ]]; then\n\t\tif ! [[ $1 =~ ^- ]]; then\n\t\techo -e \"DEPRICATED: Please use the standard argument form.\\n\"\n\t\techo -e \"Example: ${Yellow}./${0##*/} --latest${Reg}\\n\"\n\t\techo -e \"Try ${Yellow}--help${Reg} for more information.\\n\"\n\t\texit 1\n\tfi\nfi\n\n# Parse arguments\nparse_opts_comp \"$@\"\n\n# shellcheck disable=SC2154\nwhip_msg \"${w_title_one}\" \"${w_msg_one}\"\n\n# Check if launched as root user\nchk_root\n\n# If not root, check member os sudo\nif [[ $EUID -ne 0 ]]; then\n\tchk_sudoer\nfi\n\necho -e \"${PLUS} Checking Dependencies\"\n\n# Configure dependencies basted on local / remote\nset_deps\n\n# Check all deps are installed\nchk_deps\n\nif ! [ $LOCALFILE ]; then\n\tselect_kernel_deb\n\tget_kernel_archive\n\tcheck_sign\nfi\n\necho -e \"${PLUS} Creating a directory to build your kernel from source.\"\nmkdir \"$CMP_FLDR\" 2>/dev/null || error ${LINENO} \"You cannot create a directory here.\" 1\n# shellcheck" +"/**\n * Copyright (c) 2017 ~ present NAVER Corp.\n * billboard.js project is licensed under the MIT license\n */\n/**\n * Axis based chart data config options\n */\nexport default {\n\t/**\n\t * Specify the key of x values in the data.

    \n\t * We can show the data with non-index x values by this option. This option is required when the type of x axis is timeseries. If this option is set on category axis, the values of the data on the key will be used for category names.\n\t * @name data\u2024x\n\t * @memberof Options\n\t * @type {string}\n\t * @default undefined\n\t * @example\n\t * data: {\n\t * x: \"date\"\n\t * }\n\t */\n\tdata_x: undefined,\n\n\t/**\n\t * Specify the keys of the x values for each data.

    \n\t * This option can be used if we want to show the data that has different x values.\n\t * @name data\u2024xs\n\t * @memberof Options\n\t * @type {object}\n\t * @default {}\n\t * @example\n\t * data: {\n\t * xs: {\n\t * data1: \"x1\",\n\t * data2: \"x2\"\n\t * }\n\t * }\n\t */\n\tdata_xs: {},\n\n\t/**\n\t * Set a format specifier to parse string specifed as x.\n\t * @name data\u2024xFormat\n\t * @memberof Options\n\t * @type {string}\n\t *" +"\n\n; Select audio/midi flags here according to platform\n-odac ;;;realtime audio out\n;-iadc ;;;uncomment -iadc if realtime audio input is needed too\n; For Non-realtime ouput leave only the line below:\n; -o expon.wav -W ;;; for file output any platform\n\n\n\nsr = 44100\nksmps = 32\nnchnls = 2\n0dbfs = 1\n\ninstr 1 \n\nkpitch = p6\n;choose between expon or line\nif (kpitch == 0) then \t\n kpitch expon p4, p3, p5 \nelseif (kpitch == 1) then\n kpitch line p4, p3, p5 \nendif\n\nasig vco2 .6, kpitch \n outs asig, asig\n\nendin \n \n \n\ni 1 0 2 300 600 0\t;if p6=0 then expon is used\ni 1 3 2 300 600 1\t;if p6=1 then line is used\ni 1 6 2 600 1200 0\ni 1 9 2 600 1200 1\ni 1 12 2 1200 2400 0\ni 1 15 2 1200 2400 1\ni 1 18 2 2400 30 0\ni 1 21 2 2400 30 1\ne\n \n" +"---\n.. title: Mask an image with a shape\n.. summary: How to mask an image with a shape\n.. type: howto\n---\n\nSince 0.9.0 openFrameworks has had the ability to set the alpha mask for a texture with another texture. In this example, we draw a path into an FBO (offscreen image) and then pass the result to the image we want to mask.\n\n```\nofPath path;\nofImage img;\nofFbo fbo;\n\n\nvoid setup(){\n path.lineTo(...);\n // draw on the path, level of gray means alpha\n\n fbo.allocate(w,h,GL_LUMINANCE); //or GL_RED if you are using the programmable renderer\n fbo.begin();\n path.draw();\n fbo.end();\n\n img.getTexture().setAlphaMask(fbo.getTexture());\n}\n\nvoid draw(){\n img.draw();\n}\n```" +"# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport tarfile, os\nimport sys\n\n\ndef untar(fname, dirs):\n \"\"\"\n extract the tar.gz file\n :param fname: the name of tar.gz file\n :param dirs: the path of decompressed file \n :return: bool\n \"\"\"\n try:\n t = tarfile.open(name=fname, mode='r:gz')\n t.extractall(path=dirs)\n return True\n except Exception as e:\n print(e)\n return False\n\n\nuntar(sys.argv[1], sys.argv[2])" +"import { BTree } from './btree'\n\nexport function tokIsKeyword(t :token) :bool {\n return token.keyword_beg < t && t < token.keyword_end\n}\n\nexport function hasIntValue(t :token) :bool {\n return t == token.CHAR\n}\n\nexport function hasByteValue(t :token) :bool {\n return (\n (token.literal_beg < t && t < token.literal_end) ||\n t == token.COMMENT\n )\n}\n\n// Operator precedences\nexport enum prec {\n LOWEST, // = := ! <- ->\n OROR, // ||\n ANDAND, // &&\n CMP, // == != < <= > >=\n ADD, // + - | ^\n MUL, // * / % & &^ << >>\n}\n\nexport enum token {\n // Special tokens\n ILLEGAL = 0,\n EOF,\n COMMENT,\n DIRECTIVE, // #directive\n\n literal_beg,\n // Identifiers and basic type literals\n // (these tokens stand for classes of literals)\n NAME, // main\n NAMEAT, // @foo, @\n literal_num_beg,\n literal_int_beg,\n CHAR, // 'a'\n INT, // 12345\n INT_BIN, // 0b1010\n INT_OCT, // 0o6737\n INT_HEX, // 0xBE3f\n literal_int_end,\n FLOAT, // 123.45\n // RATIO, // 22/7\n literal_num_end,\n STRING, // \"abc\"\n STRING_MULTI, // \"ab\\nc\" \u2014 multi-line\n STRING_PIECE, // \"a ${...} b\" -- the \"a \" part (\" b\" is STRING)\n literal_end,\n\n // Delimiters\n delim_beg,\n LPAREN, // (\n LBRACKET, // [\n LBRACE, // {\n COMMA, // ,\n DOT, //" +"#!/bin/bash -e\n\n# Shell script to initialize a pip-accel test environment.\n#\n# Author: Peter Odding \n# Last Change: March 14, 2016\n# URL: https://github.com/paylogic/pip-accel\n#\n# This shell script is used in tox.ini and .travis.yml to prepare\n# virtual environments for running the pip-accel test suite.\n\nmain () {\n\n # Install the dependencies of pip-accel.\n msg \"Installing dependencies ..\"\n pip install --quiet --requirement=requirements.txt\n\n # Install pip-accel in editable mode. The LC_ALL=C trick makes sure that the\n # setup.py script works regardless of the user's locale (this is all about\n # that little copyright symbol at the bottom of README.rst :-).\n msg \"Installing pip-accel (in editable mode) ..\"\n LC_ALL=C pip install --quiet --editable .\n\n # Install the test suite's dependencies. We ignore py.test wheels because of\n # an obscure issue that took me hours to debug and I really don't want to get\n # into it here :-(.\n msg \"Installing test dependencies ..\"\n pip install --no-binary=pytest --quiet --requirement=$PWD/requirements-testing.txt\n\n # Make it possible to install local working copies of selected dependencies.\n install_working_copies\n\n # Install requests==2.6.0 so the test suite can downgrade to requests==2.2.1\n # (to verify that downgrading of packages works).\n install_requests\n\n # Remove iPython so the test suite can" +".. algorithm::\n\n.. summary::\n\n.. relatedalgorithms::\n\n.. properties::\n\nDescription\n-----------\n\nGiven an initial UB at some goniometer configuration, this algorithm facilitates\nthe 'linking' of the UBs across orientations - in other words, ensuring the\ncontinuity of the indexing of reflections throughout reciprocal space allowing\nfor grouping of reflections and refinement.\n\nOn chopper instruments, when the sample is lowered into the\nblockhouse there is often no possibility to adjust its position. When rotating the\ncrystal via the goniometer, since the crystal is likely not centred exactly, the\npredicted peaks from the initial UB often do not capture the data. As well as \nconsistently indexing the peaks, the algorithm also effectively carries out a U\nmatrix correction that accounts for sample miscentering. Use of this algorithm \nwill result in a seperate UB matrix for each orientation which can then be used \nfor integration. \n\nThe algorithm requires a set of predicted peaks that have been generated from\nthe initial UB via goniometer rotation, a set of observed (found) peaks, and\nthe lattice parameters in order to calculate the B matrix. A search within a\nQ-envelope is carried out in which all peaks within the envelope are screened\nas potential 'matches' to the observed" +"# Copyright (C) 2010-2014 GRNET S.A.\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, either version 3 of the License, or\n# (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program. If not, see .\n\nfrom mock import call\nfrom functools import wraps, partial\n\nimport uuid as uuidlib\n\nfrom pithos.backends.random_word import get_random_word\n\n\nserial = 0\n\nget_random_data = lambda length: get_random_word(length)[:length]\nget_random_name = partial(get_random_word, length=8)\n\n\ndef assert_issue_commission_calls(func):\n @wraps(func)\n def wrapper(tc):\n assert isinstance(tc, TestQuotaMixin)\n tc.expected_issue_commission_calls = []\n func(tc)\n tc.assertEqual(tc.b.astakosclient.issue_one_commission.mock_calls,\n tc.expected_issue_commission_calls)\n return wrapper\n\n\nclass TestQuotaMixin(object):\n \"\"\"Challenge quota accounting.\n\n Each test case records the expected quota commission calls resulting from\n the execution of the respective backend methods.\n\n Finally, it asserts that these calls have been actually made.\n \"\"\"\n def _upload_object(self, user," +"\ufeff/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n#ifndef SELECTSERVANT_H\n#define SELECTSERVANT_H\n\n#include \"redisservantgroup.h\"\n\n#define POLICY_READ_BALANCE \"read_balance\"\n#define POLICY_MASTER_ONLY \"master_only\"\n\nclass ServantSelect\n{\npublic:\n ServantSelect(void);\n ~ServantSelect(void);\n RedisServant* selectMaster(RedisServantGroup* g);\n RedisServant* selectSlave(RedisServantGroup* g);\nprivate:\n RedisServant* oneMaster(RedisServantGroup* g);\n RedisServant* oneSlave(RedisServantGroup* g);\nprivate:\n unsigned int m_masterCallNum;\n unsigned int m_slaveCallNum;\n};\n\n\nclass ReadBalancePolicy : public RedisServantGroupPolicy\n{\npublic:\n ReadBalancePolicy(void);\n ~ReadBalancePolicy(void);\n virtual RedisServant* selectServant(RedisServantGroup* g, ClientPacket* p);\nprivate:\n ServantSelect m_servantSelect;\n unsigned int m_readCnt;\n};\n\n\nclass MasterOnlyPolicy : public RedisServantGroupPolicy\n{\npublic:\n MasterOnlyPolicy(void){}\n ~MasterOnlyPolicy(void){}" +"+++\ntitle = \"Reports talk:Tasks not implemented in FreeBASIC\"\ndescription = \"\"\ndate = 2016-10-04T22:49:35Z\naliases = []\n[extra]\nid = 21145\n[taxonomies]\ncategories = []\ntags = []\n+++\n\nThis list seems to be rather old (last edited in August 2014). Who can update it? Or will it be updated automatically? --[[User:Lothar Schirm|Lothar Schirm]], 04 October 2016\n\nThe lists update automatic when there is a change.\nBut you must use the correct way to write FreeBASIC in the header tag is FreeBASIC, if it's not correct it will be in red in the list, meaning there is no page for that name. If it's correct it will be in blue and the link to the FreeBASIC page will work. If correct all the list's will be updated (most of the time whitin a minute). The lang tag is not case sensitive, I write it as freebasic (lowercase).--[[User:Frisian|Frisian]] ([[User talk:Frisian|talk]]) 22:49, 4 October 2016 (UTC)" +"/*\n * Copyright (c) 2011-2020, Peter Abeles. All Rights Reserved.\n *\n * This file is part of BoofCV (http://boofcv.org).\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage boofcv.gui.controls;\n\nimport boofcv.gui.StandardAlgConfigPanel;\nimport boofcv.misc.BoofLambdas;\nimport boofcv.visualize.*;\nimport lombok.Setter;\n\nimport javax.swing.*;\nimport java.awt.*;\n\n/**\n * Control panel for adjusting how point clouds are visualzied\n *\n * @author Peter Abeles\n */\npublic class ControlPanelPointCloud extends StandardAlgConfigPanel {\n\n\t// which color in colorizers should it use\n\tint colorScheme = 0;\n\n\t// clip distance for rendering. Disabled if <= 0\n\tpublic double clipDistance = 0;\n\t// If it should use \"fog\" when rendering the cloud\n\tpublic boolean fog = false;\n\n\t// range 0 to 1000\n\tpublic int periodAdjust=500;\n\tpublic int offsetAdjust=500;\n\tpublic" +"package:\n name: foolscap\n version: !!str 0.6.4\n\nsource:\n fn: foolscap-0.6.4.tar.gz\n url: https://pypi.python.org/packages/source/f/foolscap/foolscap-0.6.4.tar.gz\n md5: 0aedae62a0be50da4f89d80b5b30c8a2\n# patches:\n # List any patch files here\n # - fix.patch\n\n# build:\n #preserve_egg_dir: True\n #entry_points:\n # Put any entry points (scripts to be generated automatically) here. The\n # syntax is module:function. For example\n #\n # - foolscap = foolscap:main\n #\n # Would create an entry point called foolscap that calls foolscap.main()\n\n\n # If this is a new build for the same version, increment the build\n # number. If you do not include this key, it defaults to 0.\n # number: 1\n\nrequirements:\n build:\n - python\n - setuptools\n - twisted\n\n run:\n - python\n - twisted\n\ntest:\n # Python imports\n imports:\n - foolscap.appserver\n - foolscap.test\n - foolscap.logging\n - foolscap\n - foolscap.slicers\n\n #commands:\n # You can put test commands to be run here. Use this to test that the\n # entry points work.\n\n\n # You can also put a file called run_test.py in the recipe that will be run\n # at test time.\n\n # requires:\n # Put any additional test requirements here. For example\n # - nose\n\nabout:\n home: http://foolscap.lothar.com/trac\n license: MIT License\n\n# See\n# http://docs.continuum.io/conda/build.html for\n# more information about meta.yaml" +"/*\n * Copyright 2016 - 2020 Michael Rapp\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under the License\n * is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n * or implied. See the License for the specific language governing permissions and limitations under\n * the License.\n */\npackage de.mrapp.android.tabswitcher.gesture;\n\nimport android.content.res.Resources;\nimport android.graphics.RectF;\nimport android.view.MotionEvent;\nimport android.view.ViewConfiguration;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport de.mrapp.android.tabswitcher.Layout;\nimport de.mrapp.android.tabswitcher.R;\nimport de.mrapp.android.tabswitcher.TabSwitcher;\n\n/**\n * An event handler, which allows to handle swipe gestures, which can be used to switch between\n * tabs.\n *\n * @author Michael Rapp\n * @since 1.0.0\n */\npublic class SwipeGestureEventHandler extends AbstractDragGestureEventHandler {\n\n /**\n * Defines the interface, a class, which should be notified about the events of a {@link\n * SwipeGestureEventHandler}, must implement.\n */\n public interface Callback {\n\n /**\n * The method, which is invoked, when switching between neighboring tabs.\n *\n * @param selectedTabIndex\n * The index of the currently" +"\r\n\r\n\r\n\r\n\r\n\r\nDeDRM Plugin Configuration\r\n\r\n\r\n\r\n\r\n\r\n

    DeDRM Plugin (v6.0.0)

    \r\n\r\n

    This plugin removes DRM from ebooks when they are imported into calibre. If you already have DRMed ebooks in your calibre library, you will need to remove them and import them again.

    \r\n\r\n

    Installation

    \r\n

    You have obviously managed to install the plugin, as otherwise you wouldn\u2019t be reading this help file. However, you should also delete any older DeDRM plugins, as this DeDRM plugin replaces the five older plugins: Kindle and Mobipocket DeDRM (K4MobiDeDRM), Ignoble Epub DeDRM (ignobleepub), Inept Epub DeDRM (ineptepub), Inept PDF DeDRM (ineptepub) and eReader PDB 2 PML (eReaderPDB2PML).

    \r\n\r\n

    Configuration

    \r\n

    On Windows and Mac, the keys for ebooks downloaded for Kindle for Mac/PC and Adobe Digital Editions are automatically generated. If all your DRMed ebooks can be opened and read in Kindle for Mac/PC and/or Adobe Digital Editions on the same computer on which you are running calibre, you do not need to do any configuration of this plugin. On Linux, keys for Kindle for PC and Adobe Digital Editions need" +"// Copyright 2016-2020, Pulumi Corporation. All rights reserved.\nusing Pulumi;\nusing Pulumi.AzureNextGen.ContainerInstance.Latest;\nusing Pulumi.AzureNextGen.ContainerInstance.Latest.Inputs;\nusing Pulumi.AzureNextGen.Resources.Latest;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Pulumi.Config();\n var location = config.Get(\"location\") ?? \"WestUS\";\n\n var resourceGroup = new ResourceGroup(\"resourceGroup\", new ResourceGroupArgs\n {\n ResourceGroupName = \"aci-rg\",\n Location = location\n });\n \n var imageName = \"mcr.microsoft.com/azuredocs/aci-helloworld\";\n var containerGroup = new ContainerGroup(\"containerGroup\", new ContainerGroupArgs\n {\n ResourceGroupName = resourceGroup.Name,\n Location = resourceGroup.Location,\n ContainerGroupName = \"helloworld\",\n OsType = \"Linux\",\n Containers =\n {\n new ContainerArgs\n {\n Name = \"acilinuxpublicipcontainergroup\",\n Image = imageName,\n Ports = { new ContainerPortArgs { Port = 80} },\n Resources = new ResourceRequirementsArgs\n {\n Requests = new ResourceRequestsArgs\n {\n Cpu = 1.0,\n MemoryInGB = 1.5,\n }\n }\n }\n },\n IpAddress = new IpAddressArgs\n {\n Ports =\n {\n new PortArgs\n {\n Port = 80,\n Protocol = \"Tcp\",\n }\n },\n Type = \"Public\"\n },\n RestartPolicy = \"always\"\n });\n\n this.ContainerIPv4Address = containerGroup.IpAddress.Apply(ip => ip!.Ip);\n }\n\n [Output(\"containerIPv4Address\")]\n public Output ContainerIPv4Address { get; set; }\n}" +"\n\tV-Measure: A Conditional Entropy-Based External Cluster Evaluation Measure\n\t\tWe present V-measure, an external entropybased cluster evaluation measure.\n\t\tV measure provides an elegant solution tomany problems that affect previously defined cluster evaluation measures includ ing 1) dependence on clustering algorithm or data set, 2) the ?problem of matching?, where the clustering of only a portion of datapoints are evaluated and 3) accurate evaluation and combination of two desirable aspects of clustering, homogeneity and completeness.\n\t\tWe compare V-measure to a num ber of popular cluster evaluation measuresand demonstrate that it satisfies several desirable properties of clustering solutions, us ing simulated clustering results.\n\t\tFinally, we use V-measure to evaluate two clustering tasks: document clustering and pitch accent type clustering.\n\t\n\t

    \n\t\t\tClustering techniques have been used successfully for many natural language processing tasks, such as document clustering (Willett, 1988; Zamir and Etzioni, 1998; Cutting et al, 1992; Vempala and Wang, 2005), word sense disambiguation (Shin and Choi, 2004), semantic role labeling (Baldewein et al., 2004), pitch accent type disambiguation (Levow, 2006).\n\t\t\tThey are particularly appealing for tasks in which there is an abundance of language data available," +"/*\n *\n * Copyright (c) 2006-2020, Speedment, Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); You may not\n * use this file except in compliance with the License. You may obtain a copy of\n * the License at:\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */\npackage com.speedment.tool.actions.internal.menues;\n\nimport com.speedment.common.injector.State;\nimport com.speedment.common.injector.annotation.ExecuteBefore;\nimport com.speedment.tool.actions.ProjectTreeComponent;\n\nimport static com.speedment.common.injector.State.RESOLVED;\n\n/**\n * Abstract base implementation of a tool action. The purpose of this class is\n * to standardize the dependency injection phases used in different actions.\n *\n * @author Emil Forslund\n * @since 3.0.17\n */\ninterface AbstractToolAction {\n\n /**\n * This method will be invoked before the {@link State#RESOLVED}-phase, but\n * before the {@link ProjectTreeComponent} is {@link State#INITIALIZED}.\n *\n * @param projectTree the project tree component\n */\n @ExecuteBefore(RESOLVED)\n void installMenuItems(ProjectTreeComponent projectTree);\n\n}" +"package edu.neu.ccs.pyramid.optimization;\n\nimport org.apache.mahout.math.DenseVector;\nimport org.apache.mahout.math.Vector;\n\n/**\n * Numerical Optimization, Second Edition, Jorge Nocedal Stephen J. Wright\n * algorithm 5.4\n * Created by chengli on 12/9/14.\n */\npublic class ConjugateGradientDescent extends GradientValueOptimizer implements Optimizer{\n private BackTrackingLineSearcher lineSearcher;\n private Vector oldP;\n private Vector oldGradient;\n\n\n public ConjugateGradientDescent(Optimizable.ByGradientValue function) {\n super(function);\n this.lineSearcher = new BackTrackingLineSearcher(function);\n // we need to make a copy of the gradient; should not use pointer\n this.oldGradient = new DenseVector(function.getGradient());\n this.oldP = oldGradient.times(-1);\n }\n\n public void iterate(){\n Vector direction = this.oldP;\n lineSearcher.moveAlongDirection(direction);\n Vector newGradient = function.getGradient();\n double beta = newGradient.dot(newGradient)/oldGradient.dot(oldGradient);\n Vector newP = oldP.times(beta).minus(newGradient);\n oldP = newP;\n oldGradient = newGradient;\n terminator.add(function.getValue());\n }\n\n public BackTrackingLineSearcher getLineSearcher() {\n return lineSearcher;\n }\n}" +"# This file allows specific AI control for certain monsters\r\n#\r\n# Syntax:\r\n# \r\n#\r\n# : Name of monster as found in monsters.txt (not case sensitive)\r\n#\r\n# :\r\n# -1 means to leave the monster alone, even if it attacks you.\r\n# 0 means to leave the monster alone, unless it attacks you.\r\n# 1 means to always auto-attack this monster.\r\n# 2 means always aggressive, auto-attack this monster when it appears, even if sitting.\r\n# 3 means to attack the monster once (provoke) then leave it, useful for mobbing.\r\n#\r\n# :\r\n# < 0 (-1, -2, etc.) to set exact critical distance for this monster. Teleport, if the monster reaches it.\r\n# 1 to teleport if the monster is on the screen.\r\n# 2 to teleport if the monster attacks you.\r\n# -> This is only used in auto-attack mode!\r\n# 3 to disconnect for 30 seconds if the monster is on your screen.\r\n# >= 4 (4, 5, etc.) to set the time that will be disconnected (in seconds) if the monster is on your screen.\r\n#\r\n# : Put a 1 to only attack" +"package com.system.manager.dao.impl;\nimport java.util.List;\n\nimport javax.persistence.EntityManager;\nimport javax.persistence.PersistenceContext;\nimport javax.persistence.Query;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Repository;\n\nimport com.system.manager.dao.PhotoDao;\nimport com.system.manager.entity.Photo;\nimport com.system.manager.service.impl.BaseRepository;\nimport com.system.manager.service.impl.EntityRepositoryImpl;\n@Repository\npublic class PhotoDaoImpl extends EntityRepositoryImpl implements PhotoDao {\n\t\n\t@PersistenceContext \n\tEntityManager em;\n\t@Autowired\n\tprotected BaseRepository baseRepository;\n\t@Override\n\tprotected Class getPersistentClass() {\n\t\treturn Photo.class;\n\t}\n\t@SuppressWarnings(\"unchecked\")\n\t@Override\n\tpublic List queryPhotoListByFkId(String themeId) {\n\t\tQuery q=em.createQuery(\"from Photo where pfkid=:fkid order by pid\");\n\t\tq.setParameter(\"fkid\", themeId);\n\t\treturn q.getResultList();\n\t}\n\t@Override\n\tpublic void savePhoto(Photo obj) {\n//\t\tem.persist(p);\n\t\tbaseRepository.save(obj);\n\t}\n\t@Override\n\tpublic void deletePhoto(String pid) {\n\t\tQuery qy=em.createQuery(\"delete from Photo where pfkid=:pfkid\");\n\t\tqy.setParameter(\"pfkid\", pid);\n\t\tqy.executeUpdate();\n\t}\n\t@Override\n\tpublic void save(Photo obj) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}\n\t@Override\n\tpublic void update(Photo obj) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}\n}" +"/**\n * cn - \u8868\u5355\u5757 (\u65e7)\n * -- Form.Block\u5df2\u4e0d\u63a8\u8350\uff0c\u5efa\u8bae\u4f7f\u7528 FieldSet\n * -- Block \u7c7b\u4f3c Form\uff0c\u53ef\u4ee5\u5b58\u53d6\u6570\u636e\uff0c\u53ea\u662f\u6ca1\u6709 Submit \u80fd\u529b\u3002\u4e00\u822c\u7528\u5728 Form \u4e2d\u5904\u7406\u590d\u6742\u6570\u636e\u3002\n * -- Block \u5185\u7ec4\u4ef6\u8bbe\u7f6e\u7684 name \u53ea\u5728\u8fd9\u4e2a Block \u5185\u6709\u6548\uff0c\u53ea\u80fd\u5b58\u53d6 Block \u7684 value \u4e2d\u7684\u6570\u636e\uff0c\u4e0d\u80fd\u5b58\u53d6 Form \u7684\u6570\u636e\u3002\n * en - Block (Out of date)\n * -- Not recommend, use FieldSet instead.\n * -- Block is similar to Form except submit\n * -- The name set in the Block component is valid only in this block. It can only access the data in the value of instead of the Form.\n */\nimport React, { PureComponent } from 'react'\nimport { Form, Input } from 'shineout'\n\nexport default class extends PureComponent {\n constructor(props) {\n super(props)\n\n this.rules = {\n password: [\n { required: true, message: 'Please enter password.' },\n { min: 7, message: 'Password must be at least {min} characters.' },\n { regExp: /[a-z]+/i, message: 'Password at least has one letter.' },\n (value, formdata, callback) => {\n if (/\\d+/.test(value)) callback(true)\n else callback(new Error('Password at least has one numeral.'))\n },\n ],\n }\n\n this.colors = ['red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'violet']\n }\n\n render() {\n return (\n
    \n console.log(d)}>\n \n \n \n\n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\nnamespace PHPExiftool\\Driver\\Tag\\CanonVRD;\n\nuse JMS\\Serializer\\Annotation\\ExclusionPolicy;\nuse PHPExiftool\\Driver\\AbstractTag;\n\n/**\n * @ExclusionPolicy(\"all\")\n */\nclass ColorBlurOn extends AbstractTag\n{\n\n protected $Id = 132868;\n\n protected $Name = 'ColorBlurOn';\n\n protected $FullName = 'CanonVRD::DR4';\n\n protected $GroupName = 'CanonVRD';\n\n protected $g0 = 'CanonVRD';\n\n protected $g1 = 'CanonVRD';\n\n protected $g2 = 'Image';\n\n protected $Type = '?';\n\n protected $Writable = true;\n\n protected $Description = 'Color Blur On';\n\n protected $Values = array(\n 0 => array(\n 'Id' => 0,\n 'Label' => 'No',\n ),\n 1 => array(\n 'Id' => 1,\n 'Label' => 'Yes',\n ),\n );\n}" +"package service\n\nimport (\n\t\"fmt\"\n\t\"testing\"\n\n\t\"go-common/app/service/main/vip/model\"\n\n\t. \"github.com/smartystreets/goconvey/convey\"\n)\n\nfunc TestServiceaddOpenBind(t *testing.T) {\n\tConvey(\" TestServiceaddOpenBind \", t, func() {\n\t\terr := s.addOpenBind(c, 1, \"xxxx\", 2, &model.OpenBindInfo{}, &model.OpenBindInfo{})\n\t\tSo(err, ShouldBeNil)\n\t})\n}\n\nfunc TestServiceOpenBindByOutOpenID(t *testing.T) {\n\tConvey(\" TestServiceOpenBindByOutOpenID \", t, func() {\n\t\terr := s.OpenBindByOutOpenID(c, &model.ArgBind{\n\t\t\tAppID: 32,\n\t\t\tOpenID: \"bdca8b71e7a6726885d40a395bf9ccd1\",\n\t\t\tOutOpenID: \"7a6726885d40a395bf9ccd2\",\n\t\t})\n\t\tSo(err, ShouldBeNil)\n\t})\n}\n\nfunc TestServiceOpenBindByMid(t *testing.T) {\n\tConvey(\" TestServiceOpenBindByMid \", t, func() {\n\t\terr := s.OpenBindByMid(c, &model.ArgOpenBindByMid{\n\t\t\tAppID: 32,\n\t\t\tOutOpenID: \"7a6726885d40a395bf9ccd3\",\n\t\t\tMid: 1,\n\t\t})\n\t\tSo(err, ShouldBeNil)\n\t})\n}\n\nfunc TestServiceBindInfoByMid(t *testing.T) {\n\tConvey(\" TestServiceBindInfoByMid \", t, func() {\n\t\tres, err := s.BindInfoByMid(c, &model.ArgBindInfo{\n\t\t\tAppID: 30,\n\t\t\tMid: 1,\n\t\t})\n\t\tSo(err, ShouldBeNil)\n\t\tfmt.Println(\"res\", res.Account, res.Outer)\n\t\tSo(res, ShouldNotBeNil)\n\t})\n}" +"\ufeffnamespace TraktRater.Sites.API.Flixster\n{\n using System.Runtime.Serialization;\n\n [DataContract]\n public class FlixsterMovieRating\n {\n [DataMember(Name = \"user\")]\n public FlixsterUser User { get; set; }\n\n [DataMember(Name = \"movie\")]\n public FlixsterMovie Movie { get; set; }\n\n [DataMember(Name = \"movieId\")]\n public string MovieId { get; set; }\n\n [DataMember(Name = \"movieUrl\")]\n public string MovieUrl { get; set; }\n\n [DataMember(Name = \"score\")]\n public string UserScore { get; set; }\n\n [DataMember(Name = \"review\")]\n public string Review { get; set; }\n\n [DataMember(Name = \"lastUpdated\")]\n public string LastUpdated { get; set; }\n\n [DataMember(Name = \"ratingSource\")]\n public string RatingSource { get; set; }\n\n [DataMember(Name = \"fbshare\")]\n public bool FacebookShare { get; set; }\n }\n}" +"package xyz.nulldev.androidcompat.service\n\nimport android.app.Service\nimport android.content.Context\nimport android.content.Intent\nimport mu.KotlinLogging\nimport java.util.concurrent.ConcurrentHashMap\nimport kotlin.concurrent.thread\n\n/**\n * Service emulation class\n *\n * TODO Possibly handle starting services via bindService\n */\n\nclass ServiceSupport {\n val runningServices = ConcurrentHashMap()\n\n private val logger = KotlinLogging.logger {}\n\n fun startService(context: Context, intent: Intent) {\n val name = intentToClassName(intent)\n\n logger.debug { \"Starting service: $name\" }\n\n val service = serviceInstanceFromClass(name)\n\n runningServices.put(name, service)\n\n //Setup service\n thread {\n callOnCreate(service)\n //TODO Handle more complex cases\n service.onStartCommand(intent, 0, 0)\n }\n }\n\n fun stopService(context: Context, intent: Intent) {\n val name = intentToClassName(intent)\n stopService(name)\n }\n\n fun stopService(name: String) {\n logger.debug { \"Stopping service: $name\" }\n val service = runningServices.remove(name)\n if(service == null) {\n logger.warn { \"An attempt was made to stop a service that is not running: $name\" }\n } else {\n thread {\n service.onDestroy()\n }\n }\n }\n\n fun stopSelf(service: Service) {\n stopService(service.javaClass.name)\n }\n\n fun callOnCreate(service: Service) = service.onCreate()\n\n fun intentToClassName(intent: Intent) = intent.component.className!!\n\n fun serviceInstanceFromClass(className: String): Service {\n val clazzObj = Class.forName(className)\n return clazzObj.newInstance() as? Service\n ?: throw IllegalArgumentException(\"$className is not a Service!\")\n }\n}" +"/**\n * @file\n *\n * @brief\n *\n * @copyright BSD License (see LICENSE.md or https://www.libelektra.org)\n */\n\n#ifndef ELEKTRA_KDBVALUE_HPP\n#define ELEKTRA_KDBVALUE_HPP\n\n#include \n\n#ifdef HAVE_KDBCONFIG_H\n#include \n#else\n#define DEBUG 0\n#define VERBOSE 0\n#endif\n\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n\n#include // for elektraLookupOptions\n#include \n\n// #include // for debugging (to see values of internal structures)\n\nnamespace kdb\n{\n\n\n// some widely used interfaces\n\n/**\n * @brief This type is being used as bottom type that always fails.\n */\nclass none_t\n{\n};\n\ntemplate <>\ninline void Key::set (none_t)\n{\n}\n\ntemplate <>\ninline none_t Key::get () const\n{\n\tnone_t ret;\n\treturn ret;\n}\n\n\n/**\n * @brief Base class for all layers.\n */\nclass Layer\n{\npublic:\n\tvirtual ~Layer (){};\n\tvirtual std::string id () const = 0;\n\tvirtual std::string operator() () const = 0;\n};\n\n/**\n * @brief Everything implementing this interface can be used as layer\n *\n * Different from \"Layer\" objects they will not be constructed on activation\n * but instead only the WrapLayer will be constructed and the wrapped object\n * will be passed" +"# VIM\u64cd\u4f5c\u901f\u8bb0\n\n\n| \u547d\u4ee4 | \u5feb\u6377\u952e | \u64cd\u4f5c\u8bf4\u660e |\n| --- | --- | --- |\n| | Ctrl-w w | \u5149\u6807\u5728\u7a97\u53e3\u4e4b\u95f4\u5207\u6362 |\n| | Ctrl-w h, j, k, l | \u5149\u6807\u5728\u7a97\u53e3\u4e4b\u95f4\u5207\u6362 |\n| | Ctrl-w r | \u5207\u6362\u5f53\u524d\u7a97\u53e3\u5e03\u5c40\u4f4d\u7f6e |\n| | Ctrl-w p | \u5207\u6362\u5230\u524d\u4e00\u4e2a\u7a97\u53e3 | \n| :help table | | tab\u4f7f\u7528\u5e2e\u52a9 |\n| :tabp | gt | \u524d\u4e00\u4e2atab\u9875 |\n| :tabn | gT | \u540e\u4e00\u4e2atab\u9875 |\n| :tabc | | \u5173\u95ed\u5f53\u524dtab |\n| :tabo | | \u5173\u95ed\u5176\u4ed6tab |\n| :tabs | | \u67e5\u770b\u6240\u6709\u6253\u5f00\u7684tab |\n| :split | | \u7a97\u53e3\u6a2a\u5411\u62c6\u5206 |\n| :vsplit | | \u7a97\u53e3\u7eb5\u5411\u62c6\u5206 |\n| | Ctrl-w = | \u8ba9\u6240\u6709\u7a97\u53e3\u5747\u5206 |\n| :resize (-/+)n | Ctrl-w -/+ | \u5f53\u524d\u7a97\u53e3\u51cf\u5c11/\u589e\u52a0\u4e00\uff08n\uff09\u884c |\n| :vertical resize (+/-)n | Ctrl-w >/< | \u5f53\u524d\u7a97\u53e3\u589e\u52a0\u3001\u51cf\u5c11\u4e00\uff08n\uff09\u5217 |\n\n\n\n## nerdtree\n\n\n| \u547d\u4ee4 | \u5feb\u6377\u952e | \u64cd\u4f5c\u8bf4\u660e |\n| --- | --- | --- |\n| :NERDTreeToggle | Ctrl-n | \u6253\u5f00\u3001\u5173\u95ed\u5de6\u4fa7\u5bfc\u822a\u680f |\n| | t | \u5728\u65b0\u7684Tab\u4e2d\u6253\u5f00\u6587\u4ef6 |\n| | i | \u6a2a\u5411\u5206\u5c4f\u6253\u5f00\u6587\u4ef6 |\n| | s | \u7eb5\u5411\u5206\u5c4f\u6253\u5f00\u6587\u4ef6 |\n| | p | \u8df3\u5230\u5f53\u524d\u8282\u70b9\u7684\u7236\u8282\u70b9 |\n| | P | \u8df3\u5230\u5f53\u524d\u8282\u70b9\u7684\u6839\u8282\u70b9 |\n\n\u6587\u6863\uff1ahttps://github.com/scrooloose/nerdtree/blob/master/doc/NERDTree.txt\n\n## vim-go\n\n\n| \u547d\u4ee4 | \u5feb\u6377\u952e | \u64cd\u4f5c\u8bf4\u660e |\n| --- | --- | --- |\n| :GoDef | Ctrl-] | \u8f6c\u5230\u5b9a\u4e49" +"# Microsoft Azure Linux Agent\n#\n# Copyright 2018 Microsoft Corporation\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# Requires Python 2.6+ and Openssl 1.0+\n#\n\nimport os\nimport re\nimport threading\nimport time\nimport traceback\nimport socket\nimport struct\n\nimport azurelinuxagent.common.conf as conf\nimport azurelinuxagent.common.logger as logger\nimport azurelinuxagent.common.utils.textutil as textutil\n\nfrom azurelinuxagent.common.exception import HttpError, ResourceGoneError, InvalidContainerError\nfrom azurelinuxagent.common.future import httpclient, urlparse, ustr\nfrom azurelinuxagent.common.version import PY_VERSION_MAJOR, AGENT_NAME, GOAL_STATE_AGENT_VERSION\n\nSECURE_WARNING_EMITTED = False\n\nDEFAULT_RETRIES = 3\nDELAY_IN_SECONDS = 5\n\nTHROTTLE_RETRIES = 25\nTHROTTLE_DELAY_IN_SECONDS = 1\n\nREDACTED_TEXT = \"\"\nSAS_TOKEN_RETRIEVAL_REGEX = re.compile(r'^(https?://[a-zA-Z0-9.].*sig=)([a-zA-Z0-9%-]*)(.*)$')\n\nRETRY_CODES = [\n httpclient.RESET_CONTENT,\n httpclient.PARTIAL_CONTENT,\n httpclient.FORBIDDEN,\n httpclient.INTERNAL_SERVER_ERROR,\n httpclient.NOT_IMPLEMENTED,\n httpclient.BAD_GATEWAY,\n httpclient.SERVICE_UNAVAILABLE,\n httpclient.GATEWAY_TIMEOUT,\n httpclient.INSUFFICIENT_STORAGE,\n 429, # Request Rate Limit Exceeded\n]\n\nRESOURCE_GONE_CODES = [\n httpclient.GONE\n]\n\nOK_CODES" +"using System;\nusing System.Text;\nusing System.Windows.Forms;\n\nnamespace IronAHK.Rusty\n{\n partial class Core\n {\n class HotkeyBox : TextBox\n {\n Keys key, mod;\n Limits limit;\n\n [Flags]\n public enum Limits\n {\n None = 0,\n PreventUnmodified = 1,\n PreventShiftOnly = 2,\n PreventControlOnly = 4,\n PreventAltOnly = 8,\n PreventShiftControl = 16,\n PreventShiftAlt = 32,\n PreventShiftControlAlt = 128,\n }\n\n public HotkeyBox()\n {\n key = mod = Keys.None;\n limit = Limits.None;\n Multiline = false;\n ContextMenu = new ContextMenu();\n Text = Enum.GetName(typeof(Keys), key);\n\n KeyPress += delegate(object sender, KeyPressEventArgs e)\n {\n e.Handled = true;\n };\n\n KeyUp += delegate(object sender, KeyEventArgs e)\n {\n if (e.KeyCode == Keys.None && e.Modifiers == Keys.None)\n key = Keys.None;\n };\n\n KeyDown += delegate(object sender, KeyEventArgs e)\n {\n if (e.KeyCode == Keys.Back || e.KeyCode == Keys.Delete)\n key = mod = Keys.None;\n else\n {\n key = e.KeyCode;\n mod = e.Modifiers;\n Validate();\n }\n\n SetText();\n };\n }\n\n public Limits Limit\n {\n get { return limit; }\n set { limit = value; }\n }\n\n void Validate()\n {\n Keys[,] sym = { { Keys.Control, Keys.ControlKey }, { Keys.Shift, Keys.ShiftKey }, { Keys.Alt, Keys.Menu } };\n\n for (int i = 0; i < 3; i++)\n {\n if (key == sym[i, 1] && (mod & sym[i, 0]) == sym[i, 0])\n mod &= ~sym[i," +"---\nDescription: Controlling Filter Graphs Using C\nms.assetid: 56e41f0a-2ea6-422c-8d3f-7849e91e3731\ntitle: Controlling Filter Graphs Using C\nms.topic: article\nms.date: 05/31/2018\n---\n\n# Controlling Filter Graphs Using C\n\nIf you are writing a DirectShow application in C (rather than C++), you must use a vtable pointer to call methods. The following example illustrates how to call the **IUnknown::QueryInterface** method from an application written in C:\n\n\n```C++\npGraph->lpVtbl->QueryInterface(pGraph, &IID_IMediaEvent, (void **)&pEvent);\n```\n\n\n\nThe following shows the equivalent call in C++:\n\n\n```C++\npGraph->QueryInterface(IID_IMediaEvent, (void **)&pEvent);\n```\n\n\n\nIn C, COM interfaces are defined as structures. The **lpVtbl** member is a pointer to a table of interface methods (the vtable). All methods take an additional parameter, which is a pointer to the interface.\n\n## Related topics\n\n
    \n\n[Appendixes](appendixes.md)\n
    " +"import test from 'ava';\nimport { isMutable, modify } from '@collectable/core';\nimport { HashSetStructure, add, fromArray, has, size } from '../../src';\n\nlet set0: HashSetStructure, set1: HashSetStructure;\ntest.before(() => {\n set0 = modify(fromArray(['A', 'B', 'C']));\n set1 = add('D', set0);\n});\n\ntest('when the item does not exist in the set and the input set is mutable, the input set is returned', t => {\n t.is(set0, set1);\n});\n\ntest('when the item does not exist in the set and the input set is mutable, the input set is still mutable', t => {\n t.true(isMutable(set1));\n});\n\ntest('when the item does not exist in the set and the input set is mutable, the set size is incremented', t => {\n t.is(size(set1), 4);\n});\n\ntest('when the item does not exist in the set and the input set is mutable, the added item can be retrieved from the set', t => {\n t.true(has('D', set1));\n});\n\ntest('when the item does not exist in the set and the input set is mutable, the set has all of the items it had before the new item was added', t => {\n for(let c of Array.from(set0)) {\n t.true(has(c, set1));\n }\n});" +"package log\n\nimport \"errors\"\n\n// Logger is the fundamental interface for all log operations. Log creates a\n// log event from keyvals, a variadic sequence of alternating keys and values.\n// Implementations must be safe for concurrent use by multiple goroutines. In\n// particular, any implementation of Logger that appends to keyvals or\n// modifies any of its elements must make a copy first.\ntype Logger interface {\n\tLog(keyvals ...interface{}) error\n}\n\n// ErrMissingValue is appended to keyvals slices with odd length to substitute\n// the missing value.\nvar ErrMissingValue = errors.New(\"(MISSING)\")\n\n// NewContext returns a new Context that logs to logger.\nfunc NewContext(logger Logger) *Context {\n\tif c, ok := logger.(*Context); ok {\n\t\treturn c\n\t}\n\treturn &Context{logger: logger}\n}\n\n// Context must always have the same number of stack frames between calls to\n// its Log method and the eventual binding of Valuers to their value. This\n// requirement comes from the functional requirement to allow a context to\n// resolve application call site information for a log.Caller stored in the\n// context. To do this we must be able to predict the number of logging\n// functions on the stack when bindValues is called.\n//\n// Three" +"#include \nusing namespace std;\n#define MAXN 100009\n#define FOR(i, n) for(int i = 0; i < n; i++)\n#define FOR1(i, n) for(int i = 1; i <= n; i++)\n#define push_back pb\n#define INF (1LL<<60)\ntypedef long long ll;\ntypedef pair ii;\n\nint n, k, m;\nll mincost[MAXN], ans = 0;\nstring words[MAXN];\nmap index;\nll cost[MAXN];\nint ids[MAXN];\n\nint main() {\n\tcin >> n >> k >> m;\n\tFOR1(i, n) {\n\t\tcin >> words[i];\n\t\tindex[words[i]] = i;\n\t}\n\tFOR1(i, n) {\n\t\tll x;\n\t\tcin >> x;\n\t\tcost[i] = x;\n\t}\n\tFOR(j, k) {\n\t\tint cnt;\n\t\tll minc = INF;\n\t\tcin >> cnt;\n\t\tFOR(i, cnt) {\n\t\t\tcin >> ids[i];\n\t\t\tminc = min(minc, cost[ids[i]]);\n\t\t}\n\t\tFOR(i, cnt) {\n\t\t\tcost[ids[i]] = minc;\n\t\t}\n\t}\n\tstring word;\n\tFOR(j, m) {\n\t\tcin >> word;\n\t\tans += cost[index[word]];\n\t}\n\tcout << ans << endl;\n\treturn 0;\n}" +"/*\n * Copyright 2013 Samsung Information Systems America, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// Author: Koushik Sen\n\n(function() {\n\n function processSiblings() {\n var fs = require('fs');\n var FILE = \"jalangi_dependency\";\n var rs_arr = [];\n var ws_arr = [];\n var prefix_arr = [];\n var file_arr = [];\n var file_to_ws_map = {};\n\n var taints = {};\n var data;\n var inputp;\n var outputp;\n\n function readData() {\n if (fs.existsSync(FILE)) {\n data = JSON.parse(fs.readFileSync(FILE,\"utf8\"));\n } else {\n data = [1, 1];\n }\n inputp = data[0];\n outputp = data[1];\n }\n\n function HOP(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n };\n\n function prefixEquals(prefix1, prefix2) {\n for (var i = 0; i< prefix1.length-1; i++) {\n if (prefix1[i] !== prefix2[i]) {\n return false;\n }" +" SUBROUTINE PRETRD (CSTMX,NCSTMX) \r\nC \r\nC PRETRD SETS UP EVENTUAL CALLS TO TRANSD. FOR A MODULE TO USE \r\nC TRANSD A CALL TO PRETRD MUST BE INITIATED BY THE MODULE DRIVER \r\nC ONCE AND ONLY ONCE. CSTMX IS ARRAY OF COORDINATE SYSTEM \r\nC TRANSFORMATION MATRICES AND MCSTMX IS THE LENGTH OF THIS ARRAY. \r\nC \r\nC THE ARRAY CSTMX MUST BE WITHIN OPEN CORE BOUND, AND THERE IS NO \r\nC CHECK ON THIS CONDITION. \r\nC \r\nC GIVEN THE ECPT ARRAY OF LENGTH 4, THE FIRST WORD BEING AN INTEGER \r\nC COORDINATE SYSTEM IDENTIFICATION NUMBER AND THE NEXT WORDS BEING \r\nC THE REAL COORDINATES OF A POINT IN BASIC COORDINATES, THIS ROUTINE\r\nC COMPUTES THE TRANSFORMATION (DIRECTION COSINE) MATRIX TA WHICH \r\nC WILL MAP A VECTOR FROM THE LOCAL SYSTEM LABELED ECPT(1) TO BASIC \r\nC COORDINATES. TA IS A DOUBLE PRECISION MATRIX. \r\nC \r\nC REVISED 7/92 BY G.CHAN/UNISYS. NEW REFERENCE TO CSTM ARRAY SUCH \r\nC THAT THE SOURCE CODE IS UP TO ANSI FORTRAN 77 STANDARD. \r\nC \r\n INTEGER OFFSET \r\n DOUBLE PRECISION TA(9),TL(9),XN(3),X,Y,Z,R,KE(9),XL \r\n DIMENSION CSTMX(1),ECPT(4) \r\nCZZ COMMON /XNSTRN/ CSTM(1) \r\n COMMON /ZZZZZZ/ CSTM(1) \r\n EQUIVALENCE (FL1,INT1),(FL2,INT2) \r\nC \r\n NCSTM = NCSTMX \r\n OFFSET = LOCFX(CSTMX(1)) - LOCFX(CSTM(1)) \r\n IF (OFFSET .LT. 0) CALL ERRTRC ('PRETRD ',1) \r\n ICHECK = 123456789" +"/*\n\nRequired imports:\n#include \n\n*/\n\n#ifndef PTHREAD_SPIN_LOCK_SHIM\n#define PTHREAD_SPIN_LOCK_SHIM\n\ntypedef int pthread_spinlock_t;\n\n#ifndef PTHREAD_PROCESS_SHARED\n# define PTHREAD_PROCESS_SHARED 1\n#endif\n#ifndef PTHREAD_PROCESS_PRIVATE\n# define PTHREAD_PROCESS_PRIVATE 2\n#endif\n\nstatic inline int pthread_spin_init(pthread_spinlock_t *lock, int pshared) {\n\t__asm__ __volatile__ (\"\" ::: \"memory\");\n\t*lock = 0;\n\treturn 0;\n}\n\nstatic inline int pthread_spin_destroy(pthread_spinlock_t *lock) {\n\treturn 0;\n}\n\nstatic inline int pthread_spin_lock(pthread_spinlock_t *lock) {\n\twhile (1) {\n\t\tint i;\n\t\tfor (i=0; i < 10000; i++) {\n\t\t\tif (__sync_bool_compare_and_swap(lock, 0, 1)) {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\tsched_yield();\n\t}\n}\n\nstatic inline int pthread_spin_trylock(pthread_spinlock_t *lock) {\n\tif (__sync_bool_compare_and_swap(lock, 0, 1)) {\n\t\treturn 0;\n\t}\n\treturn EBUSY;\n}\n\nstatic inline int pthread_spin_unlock(pthread_spinlock_t *lock) {\n\t__asm__ __volatile__ (\"\" ::: \"memory\");\n\t*lock = 0;\n\treturn 0;\n}\n\n#endif" +"//! Standard return type for invoking operations, returning success or an error\n//! code.\n//!\n//! - Author: Philip Levis \n//! - Date: Dec 22, 2016\n\n/// Standard return errors in Tock.\n#[derive(Clone, Copy, Debug, PartialEq)]\npub enum ReturnCode {\n /// Success value must be positive\n SuccessWithValue { value: usize },\n /// Operation completed successfully\n SUCCESS,\n /// Generic failure condition\n FAIL,\n /// Underlying system is busy; retry\n EBUSY,\n /// The state requested is already set\n EALREADY,\n /// The component is powered down\n EOFF,\n /// Reservation required before use\n ERESERVE,\n /// An invalid parameter was passed\n EINVAL,\n /// Parameter passed was too large\n ESIZE,\n /// Operation canceled by a call\n ECANCEL,\n /// Memory required not available\n ENOMEM,\n /// Operation or command is unsupported\n ENOSUPPORT,\n /// Device does not exist\n ENODEVICE,\n /// Device is not physically installed\n EUNINSTALLED,\n /// Packet transmission not acknowledged\n ENOACK,\n}\n\nimpl From for isize {\n fn from(original: ReturnCode) -> isize {\n match original {\n ReturnCode::SuccessWithValue { value } => value as isize,\n ReturnCode::SUCCESS => 0,\n ReturnCode::FAIL => -1,\n ReturnCode::EBUSY => -2,\n ReturnCode::EALREADY => -3,\n ReturnCode::EOFF => -4,\n ReturnCode::ERESERVE => -5,\n ReturnCode::EINVAL => -6,\n ReturnCode::ESIZE => -7,\n ReturnCode::ECANCEL => -8,\n ReturnCode::ENOMEM => -9,\n ReturnCode::ENOSUPPORT => -10,\n ReturnCode::ENODEVICE" +"from cs50 import get_int\nfrom math import floor\n\n\ndef main():\n digit1 = 0\n digit2 = 0\n num_digits = 0\n sum_of_double_odds = 0\n sum_of_evens = 0\n cc_number = get_int(\"Number: \")\n\n while cc_number > 0:\n digit2 = digit1\n digit1 = cc_number % 10\n\n if num_digits % 2 == 0:\n sum_of_evens += digit1\n else:\n multiple = 2 * digit1\n sum_of_double_odds += (multiple // 10) + (multiple % 10)\n\n cc_number //= 10\n num_digits += 1\n\n is_valid = (sum_of_evens + sum_of_double_odds) % 10 == 0\n first_two_digits = (digit1 * 10) + digit2\n\n if digit1 == 4 and num_digits >= 13 and num_digits <= 16 and is_valid:\n print(\"VISA\\n\")\n elif first_two_digits >= 51 and first_two_digits <= 55 and num_digits == 16 and is_valid:\n print(\"MASTERCARD\\n\")\n elif (first_two_digits == 34 or first_two_digits == 37) and num_digits == 15 and is_valid:\n print(\"AMEX\\n\")\n else:\n print(\"INVALID\\n\")\n\n\nif __name__ == \"__main__\":\n main()" +"// ------------------------------------------------------------\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.\n// ------------------------------------------------------------\n\nnamespace Opc.Ua {\n using Opc.Ua.Extensions;\n using Newtonsoft.Json;\n using System;\n\n /// \n /// Writes and reads qualified names\n /// \n public sealed class QualifiedNameConverter : JsonConverter {\n\n /// \n public override QualifiedName ReadJson(JsonReader reader, Type objectType,\n QualifiedName existingValue, bool hasExistingValue, JsonSerializer serializer) {\n if (reader.TokenType != JsonToken.String) {\n return null;\n }\n if (!(serializer.Context.Context is ServiceMessageContext context)) {\n context = ServiceMessageContext.GlobalContext;\n }\n return ((string)reader.Value).ToQualifiedName(context);\n }\n\n /// \n public override void WriteJson(JsonWriter writer, QualifiedName value,\n JsonSerializer serializer) {\n if (!(serializer.Context.Context is ServiceMessageContext context)) {\n context = ServiceMessageContext.GlobalContext;\n }\n writer.WriteToken(JsonToken.String, value.AsString(context));\n }\n }\n}" +"/*\n * Copyright 2016 Justin Shapcott.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage org.robovm.debugger.delegates;\n\nimport org.robovm.debugger.utils.DebuggerThread;\nimport org.robovm.debugger.utils.IDebuggerToolbox;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * @author Demyan Kimitsa\n * implements toolbox interface that provides common primitives and functionalities\n */\npublic class DebuggerToolBox implements IDebuggerToolbox {\n\n /**\n * list of threads associated with debugger\n */\n private List debuggerThreads = new ArrayList<>();\n\n /**\n * catcher to receive notification about thread failure\n */\n private final DebuggerThread.Catcher catcher;\n\n public DebuggerToolBox(DebuggerThread.Catcher catcher) {\n this.catcher = catcher;\n }\n\n /**\n * Toolbox method to create customized thread\n * @param r runnable to run in thread\n * @param name to give to thread\n * @return custom thread\n */\n @Override\n public Thread createThread(Runnable r, String" +"11\n1000 1 1 1 1 1 1 1 1 1 1\n10\n762 1 0 0 0 0 0 0 0 0 0 41\n699 0 1 0 0 0 0 0 0 0 0 164\n585 0 0 1 0 0 0 0 0 0 0 33\n517 0 0 0 1 0 0 0 0 0 0 47\n448 0 0 0 0 1 0 0 0 0 0 131\n434 0 0 0 0 0 1 0 0 0 0 123\n420 0 0 0 0 0 0 1 0 0 0 97\n370 0 0 0 0 0 0 0 1 0 0 163\n364 0 0 0 0 0 0 0 0 1 0 65\n302 0 0 0 0 0 0 0 0 0 1 136" +"/*\n * Copyright 2019 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage com.example.android.motion.demo\n\nimport com.bumptech.glide.RequestBuilder\nimport com.bumptech.glide.load.DataSource\nimport com.bumptech.glide.load.engine.GlideException\nimport com.bumptech.glide.request.RequestListener\nimport com.bumptech.glide.request.target.Target\n\n/**\n * Executes the specified [body] when the request is complete. It is invoked no matter whether the\n * request succeeds or fails.\n */\nfun RequestBuilder.doOnEnd(body: () -> Unit): RequestBuilder {\n return addListener(object : RequestListener {\n override fun onLoadFailed(\n e: GlideException?,\n model: Any?,\n target: Target?,\n isFirstResource: Boolean\n ): Boolean {\n body()\n return false\n }\n\n override fun onResourceReady(\n resource: T,\n model: Any?,\n target: Target?,\n dataSource: DataSource?,\n isFirstResource: Boolean\n ): Boolean {\n body()\n return false\n }\n })\n}" +"import Foundation\n\n/// [Internal] Generic Mock library errors\n///\n/// - notStubed: Calling method on mock, for which return value was not yet stubbed. DO NOT USE it as stub throw value!\npublic enum MockError: Error {\n case notStubed\n}\n\n/// [Internal] Possible Given products. Method can either return or throw an error (in general)\n///\n/// - `return`: Return value\n/// - `throw`: Thrown error value\npublic enum StubProduct {\n case `return`(Any)\n case `throw`(Error)\n\n /// [Internal] If self is returns, and nested value can be casted to T, returns value. Can fail (fatalError)\n ///\n /// - Returns: Value if self is return\n /// - Throws: Error if self is throw\n public func casted() throws -> T {\n switch self {\n case let .throw(error): throw error\n case let .return(value): return (value as? T).orFail(\"Casting to \\(T.self) failed\")\n }\n }\n}\n\n/// [Internal] Allows to reduce Mock.generated.swif size, by moving part of implementation here.\nopen class StubbedMethod: WithStubbingPolicy {\n /// [Internal] Returns whether there are still products to be used as stub return values\n public var isValid: Bool { return index < products.count }\n /// [Internal] Stubbing policy. By default uses parent mock policy\n public var policy: StubbingPolicy = .default\n /// [Internal]" +"/*\n * Copyright 2014 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage ratpack.core.render\n\nimport ratpack.exec.Blocking\nimport ratpack.test.internal.RatpackGroovyDslSpec\n\nclass RenderableDecorationSpec extends RatpackGroovyDslSpec {\n\n def \"can decorate renderables\"() {\n when:\n handlers {\n register {\n with(RenderableDecorator.of(String) { c, i -> i + \"1\" }.register())\n with(RenderableDecorator.of(String) { c, i -> i + \"2\" }.register())\n }\n register {\n with(RenderableDecorator.of(String) { c, i -> i + \"3\" }.register())\n with(RenderableDecorator.of(String) { c, i -> i + \"4\" }.register())\n }\n get { render(\"a\") }\n }\n\n then:\n text == \"a4321\"\n }\n\n def \"decorator can be async\"() {\n when:\n handlers {\n register {\n with(RenderableDecorator.ofAsync(String) { c, i -> Blocking.get { i + \"1\" } }.register())\n with(RenderableDecorator.ofAsync(String) { c, i -> Blocking.get" +"// Copyright 2020 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\npackage database\n\nimport (\n\t\"context\"\n\t\"errors\"\n\t\"fmt\"\n\t\"time\"\n\n\tpgx \"github.com/jackc/pgx/v4\"\n)\n\nvar (\n\t// ErrNotFound indicates that the requested record was not found in the database.\n\tErrNotFound = errors.New(\"record not found\")\n\n\t// ErrKeyConflict indicates that there was a key conflict inserting a row.\n\tErrKeyConflict = errors.New(\"key conflict\")\n)\n\nfunc (db *DB) NullableTime(t time.Time) *time.Time {\n\tif t.IsZero() {\n\t\treturn nil\n\t}\n\treturn &t\n}\n\n// InTx runs the given function f within a transaction with isolation level isoLevel.\nfunc (db *DB) InTx(ctx context.Context, isoLevel pgx.TxIsoLevel, f func(tx pgx.Tx) error) error {\n\tconn, err := db.Pool.Acquire(ctx)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"acquiring connection: %v\", err)" +"/*\n * Copyright (c) 2017 the ACRA team\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.acra.legacy;\n\nimport android.content.Context;\nimport androidx.annotation.NonNull;\n\nimport org.acra.ACRA;\nimport org.acra.ACRAConstants;\nimport org.acra.file.CrashReportFileNameParser;\nimport org.acra.file.ReportLocator;\n\nimport java.io.File;\nimport java.io.FilenameFilter;\n\nimport static org.acra.ACRA.LOG_TAG;\n\n/**\n * Migrates reports from the pre 4.8.0 location to the 4.8.0+ locations.\n */\nfinal class ReportMigrator {\n\n private final Context context;\n private final CrashReportFileNameParser fileNameParser = new CrashReportFileNameParser();\n private final ReportLocator reportLocator;\n\n ReportMigrator(@NonNull Context context) {\n this.context = context;\n this.reportLocator = new ReportLocator(context);\n }\n\n void migrate() {\n ACRA.log.i(LOG_TAG, \"Migrating unsent ACRA reports to new file locations\");\n\n final File[] reportFiles = getCrashReportFiles();\n\n for (final File file : reportFiles) {\n // Move it to unapproved or approved folders.\n final String fileName" +"// Code generated by go-swagger; DO NOT EDIT.\n\npackage pet\n\n// This file was generated by the swagger tool.\n// Editing this file might prove futile when you re-run the generate command\n\nimport (\n\t\"errors\"\n\t\"net/url\"\n\tgolangswaggerpaths \"path\"\n\t\"strings\"\n\n\t\"github.com/go-openapi/swag\"\n)\n\n// PetGetURL generates an URL for the pet get operation\ntype PetGetURL struct {\n\tPetID int64\n\n\t_basePath string\n\t// avoid unkeyed usage\n\t_ struct{}\n}\n\n// WithBasePath sets the base path for this url builder, only required when it's different from the\n// base path specified in the swagger spec.\n// When the value of the base path is an empty string\nfunc (o *PetGetURL) WithBasePath(bp string) *PetGetURL {\n\to.SetBasePath(bp)\n\treturn o\n}\n\n// SetBasePath sets the base path for this url builder, only required when it's different from the\n// base path specified in the swagger spec.\n// When the value of the base path is an empty string\nfunc (o *PetGetURL) SetBasePath(bp string) {\n\to._basePath = bp\n}\n\n// Build a url path and query string\nfunc (o *PetGetURL) Build() (*url.URL, error) {\n\tvar _result url.URL\n\n\tvar _path = \"/pet/{petId}\"\n\n\tpetID := swag.FormatInt64(o.PetID)\n\tif petID != \"\" {\n\t\t_path = strings.Replace(_path, \"{petId}\", petID, -1)\n\t} else {" +"/**\r\n * This file is part of Aion-Lightning .\r\n *\r\n * Aion-Lightning is free software: you can redistribute it and/or modify\r\n * it under the terms of the GNU General Public License as published by\r\n * the Free Software Foundation, either version 3 of the License, or\r\n * (at your option) any later version.\r\n *\r\n * Aion-Lightning is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n * GNU General Public License for more details. *\r\n * You should have received a copy of the GNU General Public License\r\n * along with Aion-Lightning.\r\n * If not, see .\r\n */\r\npackage com.aionemu.gameserver.dao;\r\n\r\nimport java.sql.Timestamp;\r\nimport java.util.Set;\r\n\r\nimport com.aionemu.commons.database.dao.DAO;\r\nimport com.aionemu.gameserver.model.house.PlayerHouseBid;\r\n\r\n/**\r\n * @author Rolandas\r\n */\r\npublic abstract class HouseBidsDAO implements DAO {\r\n\r\n\t@Override\r\n\tpublic final String getClassName() {\r\n\t\treturn HouseBidsDAO.class.getName();\r\n\t}\r\n\r\n\tpublic abstract Set loadBids();\r\n\r\n\tpublic abstract boolean addBid(int playerId, int houseId, long bidOffer, Timestamp time);\r\n\r\n\tpublic abstract void changeBid(int playerId, int houseId, long newBidOffer, Timestamp time);\r\n\r\n\tpublic abstract void deleteHouseBids(int houseId);\r\n}" +"package methods;\n\nimport org.openqa.selenium.By;\nimport org.openqa.selenium.support.ui.ExpectedConditions;\nimport org.openqa.selenium.support.ui.WebDriverWait;\n\nimport env.BaseTest;\n\npublic class ProgressMethods extends SelectElementByType implements BaseTest {\n /**\n * Method to wait\n *\n * @param time : String : Time to wait\n * @param method : String : wait by sleep or implicit method\n * @throws NumberFormatException\n * @throws InterruptedException\n */\n public void wait(String time) throws NumberFormatException, InterruptedException {\n // sleep method takes parameter in milliseconds\n Thread.sleep(Integer.parseInt(time) * 1000);\n }\n\n /**\n * Method to Explicitly wait for element to be enabled=click\n *\n * @param accessType : String : Locator type (id, name, class, xpath, css)\n * @param accessName : String : Locator value\n * @param duration : String : Time to wait for element to be clickable\n */\n public void waitForElementToClick(String accessType, String accessName, String duration) {\n final By byEle = getelementbytype(accessType, accessName);\n final WebDriverWait wait = new WebDriverWait(BaseTest.driver, Integer.parseInt(duration) * 1000);\n wait.until(ExpectedConditions.elementToBeClickable(byEle));\n }\n\n /**\n * Method to Explicitly wait for element to be displayed\n *\n * @param accessType : String : Locator type (id, name, class, xpath, css)\n * @param accessName : String : Locator value\n * @param duration : String : Time to wait for element to be displayed\n */\n public void waitForElementToDisplay(String accessType, String accessName, String" +"/*\n * Copyright 2011 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage org.gradle.tooling.model.eclipse;\n\nimport org.gradle.tooling.model.ProjectDependency;\n\n/**\n * Represents a dependency on another Eclipse project.\n */\npublic interface EclipseProjectDependency extends ProjectDependency {\n /**\n * Returns the target of this dependency.\n *\n * @return The target project. Does not return null.\n */\n HierarchicalEclipseProject getTargetProject();\n\n /**\n * Returns the path to use for this project dependency.\n */\n String getPath();\n}" +"part of swagger.api;\n\n\n\nclass StoreApi {\n final ApiClient apiClient;\n\n StoreApi([ApiClient apiClient]) : apiClient = apiClient ?? defaultApiClient;\n\n /// Delete purchase order by ID\n ///\n /// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors\n Future deleteOrder(String orderId) async {\n Object postBody = null;\n\n // verify required params are set\n if(orderId == null) {\n throw new ApiException(400, \"Missing required param: orderId\");\n }\n\n // create path and map variables\n String path = \"/store/order/{orderId}\".replaceAll(\"{format}\",\"json\").replaceAll(\"{\" + \"orderId\" + \"}\", orderId.toString());\n\n // query params\n List queryParams = [];\n Map headerParams = {};\n Map formParams = {};\n \n List contentTypes = [];\n\n String contentType = contentTypes.length > 0 ? contentTypes[0] : \"application/json\";\n List authNames = [];\n\n if(contentType.startsWith(\"multipart/form-data\")) {\n bool hasFields = false;\n MultipartRequest mp = new MultipartRequest(null, null);\n \n if(hasFields)\n postBody = mp;\n }\n else {\n }\n\n var response = await apiClient.invokeAPI(path,\n 'DELETE',\n queryParams,\n postBody,\n headerParams,\n formParams,\n contentType,\n authNames);\n\n if(response.statusCode >= 400) {\n throw new ApiException(response.statusCode, response.body);\n } else if(response.body != null) {\n return \n ;\n } else {\n return ;\n }\n }\n /// Returns pet inventories by status\n ///\n /// Returns a map of status codes to quantities\n Future> getInventory() async {\n Object postBody =" +"# Copyright 2018 The Chromium Authors. All rights reserved.\n# Use of this source code is governed by a BSD-style license that can be\n# found in the LICENSE file.\n\nif (is_android) {\n import(\"//build/config/android/rules.gni\")\n}\n\nstatic_library(\"heap_profiling\") {\n sources = [\n \"client_connection_manager.cc\",\n \"client_connection_manager.h\",\n \"supervisor.cc\",\n \"supervisor.h\",\n ]\n\n deps = [\n \"//base\",\n \"//components/services/heap_profiling/public/cpp\",\n \"//content/public/browser\",\n \"//content/public/common\",\n ]\n}\n\nif (is_android) {\n generate_jni(\"jni_headers\") {\n sources = [\n \"javatests/src/org/chromium/components/heap_profiling/HeapProfilingTestShim.java\",\n ]\n jni_package = \"components_heap_profiling\"\n }\n\n # This library must be included by the apk_under_test in order for the JNI\n # shim to function correctly.\n android_library(\"heap_profiling_java_test_support\") {\n testonly = true\n java_files = [ \"javatests/src/org/chromium/components/heap_profiling/HeapProfilingTestShim.java\" ]\n deps = [\n \"//base:base_java\",\n ]\n }\n}\n\nsource_set(\"test_support\") {\n testonly = true\n sources = [\n \"test_driver.cc\",\n \"test_driver.h\",\n ]\n\n deps = [\n \":heap_profiling\",\n \"//base\",\n \"//components/services/heap_profiling/public/cpp\",\n \"//content/public/browser\",\n \"//content/public/common\",\n ]\n\n if (is_android) {\n sources += [\n \"heap_profiling_test_shim.cc\",\n \"heap_profiling_test_shim.h\",\n ]\n deps += [ \":jni_headers\" ]\n }\n}" +"\n\n\n \n \n\n\n \n\n\n" +"import time\nfrom redis import Redis\nfrom functools import update_wrapper\nfrom flask import request, g\n\nredis = Redis()\n\nclass RateLimit(object):\n expiration_window = 10\n\n def __init__(self, key_prefix, limit, per, send_x_headers):\n self.reset = (int(time.time()) // per) * per + per\n self.key = key_prefix + str(self.reset)\n self.limit = limit\n self.per = per\n self.send_x_headers = send_x_headers\n p = redis.pipeline()\n p.incr(self.key)\n p.expireat(self.key, self.reset + self.expiration_window)\n self.current = min(p.execute()[0], limit)\n\n remaining = property(lambda x: x.limit - x.current)\n over_limit = property(lambda x: x.current >= x.limit)\n\n\ndef get_view_rate_limit():\n return getattr(g, '_view_rate_limit', None)\n\n\ndef on_over_limit(limit):\n return '{\"message\": \"You hit the rate limit\"}', 400\n\n\ndef ratelimit(limit, per=300, send_x_headers=True,\n over_limit=on_over_limit,\n scope_func=lambda: request.remote_addr,\n key_func=lambda: request.endpoint):\n def decorator(f):\n def rate_limited(*args, **kwargs):\n key = 'rate-limit/%s/%s/' % (key_func(), scope_func())\n rlimit = RateLimit(key, limit, per, send_x_headers)\n g._view_rate_limit = rlimit\n if over_limit is not None and rlimit.over_limit:\n return over_limit(rlimit)\n return f(*args, **kwargs)\n return update_wrapper(rate_limited, f)\n return decorator" +"//\n// TPTransferTask.swift\n// Example\n//\n// Created by Le VanNghia on 3/27/15.\n// Copyright (c) 2015 Le VanNghia. All rights reserved.\n//\n\nimport Foundation\n\n// TODO\n/*\n- header configuration\n- parameter \n- resume\n- suspend\n- cancel\n*/\n\npublic class TPTransferTask : TPTask {\n public var method: TPMethod = .GET\n public var HTTPShouldUsePipelining = false\n public var HTTPShouldHandleCookies = true\n public var allowsCellularAccess = true\n public var params: [String: AnyObject]?\n public var headers: [String: String]?\n public var completionHandler: TransferCompletionHandler?\n \n var url: String\n var request: NSMutableURLRequest?\n var totalBytes: Int64 = 0\n var session: NSURLSession?\n var responseData: NSData?\n var jsonData: AnyObject? {\n if let reponseData = responseData {\n return NSJSONSerialization.JSONObjectWithData(reponseData, options: .AllowFragments, error: nil)\n }\n return nil\n }\n var error: NSError?\n var failed: Bool {\n return error != nil\n }\n \n public init(url: String, params: [String: AnyObject]? = nil) {\n self.url = url\n self.params = params\n super.init()\n }\n \n func setup() {\n let requestUrl = NSURL(string: url)!\n let request = NSMutableURLRequest(URL: requestUrl)\n request.HTTPMethod = method.rawValue\n request.HTTPShouldUsePipelining = HTTPShouldUsePipelining\n request.HTTPShouldHandleCookies = HTTPShouldHandleCookies\n request.allowsCellularAccess = allowsCellularAccess\n \n // append header\n if let headers = headers {\n for (key, value) in headers {\n request.setValue(value, forHTTPHeaderField: key)\n }\n }\n // append http body\n if let params =" +"package org.highj.data.ord;\n\nimport org.highj.data.Maybe;\nimport org.highj.typeclass0.group.Group;\n\nimport java.util.function.Supplier;\n\n/**\n * The result of a comparison: LT (less than), EQ (equal) or GT (greater than)\n */\npublic enum Ordering {\n LT, EQ, GT;\n\n /**\n * Converts the {@link Ordering} to a number which can be used like the result of a\n * {@link Comparable} or {@link java.util.Comparator}.\n *\n * @return the int value\n */\n public int cmpResult() {\n return ordinal() - 1;\n }\n\n /**\n * Compares first by this and then (if necessary) by the given argument.\n *\n * @param that the {@link Ordering} to be used if this one is EQ\n * @return the combined result\n */\n public Ordering andThen(Ordering that) {\n return this == EQ ? that : this;\n }\n\n /**\n * Compares first by this and then (if necessary) by comparing the given arguments.\n *\n * @param x the first comparison argument\n * @param y the second comparison argument\n * @return the combined result\n */\n public Ordering andThen(boolean x, boolean y) {\n return this == EQ ? Ordering.compare(x, y) : this;\n }\n\n /**\n * Compares first by this and then (if necessary) by comparing the given arguments.\n *\n * @param x the first comparison argument\n * @param y" +"/**\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with this\n * work for additional information regarding copyright ownership. The ASF\n * licenses this file to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */\n\npackage org.apache.tez.dag.app.dag.event;\n\nimport org.apache.tez.dag.records.TezTaskAttemptID;\n\npublic class TaskAttemptEventSchedule extends TaskAttemptEvent {\n\n private final int priLowLimit;\n private final int priHighLimit;\n\n public TaskAttemptEventSchedule(TezTaskAttemptID id, int lowLimit, int highLimit) {\n super(id, TaskAttemptEventType.TA_SCHEDULE);\n this.priHighLimit = highLimit;\n this.priLowLimit = lowLimit;\n }\n\n public int getPriorityLowLimit() {\n return priLowLimit;\n }\n \n public int getPriorityHighLimit() {\n return priHighLimit;\n }\n\n}" +"/*\n * Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage com.hazelcast.cache.impl.event;\n\nimport com.hazelcast.cache.CacheEntryView;\nimport com.hazelcast.internal.serialization.Data;\nimport com.hazelcast.spi.impl.operationservice.Operation;\n\n/**\n * This interface provides methods to publish wan replication events\n * from cache operations.\n *

    \n * Methods of this class should be called from within the partition thread\n * to keep event order for keys belonging to a single partition.\n */\npublic interface CacheWanEventPublisher {\n\n /**\n * This method will create a wrapper object using the given {@link CacheEntryView}\n * and place it to wan replication queues.\n *

    \n * Updating cache operations should call this method in their {@link Operation#afterRun()} method.\n *\n * @param cacheNameWithPrefix the full name" +"//! Processor state stored in the EFLAGS register.\n\nuse bitflags::*;\n\nuse crate::Ring;\n\nbitflags! {\n /// The EFLAGS register.\n pub struct EFlags: u32 {\n /// ID Flag (ID)\n const FLAGS_ID = 1 << 21;\n /// Virtual Interrupt Pending (VIP)\n const FLAGS_VIP = 1 << 20;\n /// Virtual Interrupt Flag (VIF)\n const FLAGS_VIF = 1 << 19;\n /// Alignment Check (AC)\n const FLAGS_AC = 1 << 18;\n /// Virtual-8086 Mode (VM)\n const FLAGS_VM = 1 << 17;\n /// Resume Flag (RF)\n const FLAGS_RF = 1 << 16;\n /// Nested Task (NT)\n const FLAGS_NT = 1 << 14;\n /// I/O Privilege Level (IOPL) 0\n const FLAGS_IOPL0 = 0b00 << 12;\n /// I/O Privilege Level (IOPL) 1\n const FLAGS_IOPL1 = 0b01 << 12;\n /// I/O Privilege Level (IOPL) 2\n const FLAGS_IOPL2 = 0b10 << 12;\n /// I/O Privilege Level (IOPL) 3\n const FLAGS_IOPL3 = 0b11 << 12;\n /// Overflow Flag (OF)\n const FLAGS_OF = 1 << 11;\n /// Direction Flag (DF)\n const FLAGS_DF = 1 << 10;\n /// Interrupt Enable Flag (IF)\n const FLAGS_IF = 1 << 9;\n /// Trap Flag (TF)\n const FLAGS_TF = 1 << 8;\n /// Sign Flag (SF)\n const FLAGS_SF = 1 << 7;\n /// Zero Flag (ZF)\n const FLAGS_ZF" +"[metadata]\ncreation_date = \"2020/08/21\"\necs_version = [\"1.6.0\"]\nmaturity = \"production\"\nupdated_date = \"2020/08/21\"\n\n[rule]\nauthor = [\"Elastic\"]\ndescription = \"Identifies suspicious .NET code execution. connections.\"\nindex = [\"winlogbeat-*\", \"logs-endpoint.events.*\"]\nlanguage = \"kuery\"\nlicense = \"Elastic License\"\nname = \"Suspicious .NET Code Compilation\"\nrisk_score = 47\nrule_id = \"201200f1-a99b-43fb-88ed-f65a45c4972c\"\nseverity = \"medium\"\ntags = [\"Elastic\", \"Windows\"]\ntype = \"query\"\n\nquery = '''\nevent.category:process and event.type:(start or process_started) and\n process.name:(csc.exe or vbc.exe) and\n process.parent.name:(wscript.exe or mshta.exe or wscript.exe or wmic.exe or svchost.exe or rundll32.exe or cmstp.exe or regsvr32.exe)\n'''\n\n\n[[rule.threat]]\nframework = \"MITRE ATT&CK\"\n[[rule.threat.technique]]\nid = \"T1055\"\nname = \"Process Injection\"\nreference = \"https://attack.mitre.org/techniques/T1055/\"\n\n\n[rule.threat.tactic]\nid = \"TA0005\"\nname = \"Defense Evasion\"\nreference = \"https://attack.mitre.org/tactics/TA0005/\"" +"{\n \"cells\": [\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"# What:\"\n ]\n },\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"You are wanting to remove the code input cells and input/output prompts when exporting or converting your notebook as a HTML report. This is such a common need based on so many StackOverflow questions about this.\"\n ]\n },\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"# How:\"\n ]\n },\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"There are a few different ways. But since nbconvert version 5.3 per the release [announcement](https://groups.google.com/forum/#!msg/jupyter/W2M_nLbboj4/CRGHUdejDwAJ), we can use nbconvert command to do this for us either via command line interface (CLI) or with config file explained below.\"\n ]\n },\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"# CLI Options\"\n ]\n },\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"If wanting to affect certain cells instead of ALL cells using cell metadata tags, then this is the CLI example:\\n\",\n \"\\n\",\n \"```jupyter nbconvert Untitled.ipynb --TagRemovePreprocessor.remove_input_tags=\\\"{'hide_input'}\\\" --no-prompt```\\n\",\n \"\\n\",\n \"\\n\",\n \"Cells with metadata tag of \\\"hide_input\\\" will have their input cell removed. You can add metadata tags within your Jupyter notebook. In your jupyter notebook, go to \u201cView\u201d --> \u201cCell Toolbar\u201d --> \u201cTags\u201d and then add \u201chide_input\u201d" +"defmodule Cachex.Actions.Expire do\n @moduledoc false\n # Command module to allow setting entry expiration.\n #\n # This module is a little more involved than it would be as it's used as a\n # binding for other actions (such as removing expirations). As such, we have\n # to handle several edge cases with nil values.\n alias Cachex.Actions\n alias Cachex.Services.Locksmith\n\n # add required imports\n import Cachex.Spec\n\n ##############\n # Public API #\n ##############\n\n @doc \"\"\"\n Sets the expiration time on a given cache entry.\n\n If a negative expiration time is provided, the entry is immediately removed\n from the cache (as it means we have already expired). If a positive expiration\n time is provided, we update the touch time on the entry and update the expiration\n to the one provided.\n\n If the expiration provided is nil, we need to remove the expiration; so we update\n in the exact same way. This is done passively due to the fact that Erlang term order\n determines that `nil > -1 == true`.\n\n This command executes inside a lock aware context to ensure that the key isn't currently\n being used/modified/removed from another process in the application.\n \"\"\"\n def execute(cache() = cache, key, expiration, _options) do\n Locksmith.write(cache, [ key ]," +"// Package visualsearch implements the Azure ARM Visualsearch service API version 1.0.\n//\n// Visual Search API lets you discover insights about an image such as visually similar images, shopping sources, and\n// related searches. The API can also perform text recognition, identify entities (people, places, things), return\n// other topical content for the user to explore, and more. For more information, see [Visual Search\n// Overview](https://docs.microsoft.com/azure/cognitive-services/bing-visual-search/overview). **NOTE:** To comply\n// with the new EU Copyright Directive in France, the Bing Visual Search API must omit some content from certain EU\n// News sources for French users. The removed content may include thumbnail images and videos, video previews, and\n// snippets which accompany search results from these sources. As a consequence, the Bing APIs may serve fewer results\n// with thumbnail images and videos, video previews, and snippets to French users.\npackage visualsearch\n\n// Copyright (c) Microsoft and contributors. All rights reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing," +"# Compression\n\n## Client side\nThe preferred method for configuring message compression on a client is to pass `options` when the client object is instantiated.\n\nThese two options control compression behavior:\n\n**grpc.default_compression_algorithm** (int)\n\nDefault compression algorithm for the channel, applies to sending messages.\n\nPossible values for this option are:\n- `0` - No compression\n- `1` - Compress with DEFLATE algorithm\n- `2` - Compress with GZIP algorithm\n- `3` - Stream compression with GZIP algorithm\n\n**grpc.default_compression_level** (int)\n\nDefault compression level for the channel, applies to receiving messages.\n\nPossible values for this option are:\n- `0` - None\n- `1` - Low level\n- `2` - Medium level\n- `3` - High level\n\n### Code example\n```javascript\nclient = new ExampleClient(\"example.com\", credentials.createInsecure(), {'grpc.default_compression_algorithm': 2, 'grpc.default_compression_level': 2});\n```" +"/*\n * Copyright 2011 Red Hat, Inc. and/or its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage org.drools.examples.sudoku;\n\n/**\n * Represents a temporary fact used for assigning a value to a cell.\n */\npublic class Setting {\n \n private int rowNo;\n private int colNo;\n private Integer value;\n \n /**\n * Constructor.\n * @param row the row number of the Cell to set\n * @param col the column number of the Cell to set\n * @param value the value to set\n */\n public Setting (int row, int col, Integer value) {\n this.rowNo = row;\n this.colNo = col;\n this.value = value;\n }\n\n /**\n * Returns the row number.\n * @return an int value\n */\n public int getRowNo() {\n return" +"# Website for Deep Learning Camp Jeju\n\n- [Website for Deep Learning Camp Jeju](#website-for-deep-learning-camp-jeju)\n - [Requirements](#requirements)\n - [Development](#development)\n - [Deployment](#deployment)\n - [Project Structures](#project-structures)\n\n## Requirements\n\n1. Install [bundler](http://bundler.io/)\n2. Run `bundle install`\n\n## Development\n\n```bash\n# Run local server\n$ make serve\n```\n\n## Deployment\n\n- Install ghp-import (`pip install ghp-import`)\n\n```bash\n# it will push everything inside of _site to origin/master_\nmake github\n```\n\n## Project Structures\n\n- `_includes` contains components\n- `_layouts` contains page template\n- `_sass` contains sass\n- `2018` contains actual contents\n\n```bash\ntree -L 1 -I '*.org' .\n```\n\n .\n \u251c\u2500\u2500 2017\n \u251c\u2500\u2500 2018\n \u251c\u2500\u2500 assets\n \u251c\u2500\u2500 _config_dev.yml\n \u251c\u2500\u2500 _config.yml\n \u251c\u2500\u2500 favicon.ico\n \u251c\u2500\u2500 Gemfile\n \u251c\u2500\u2500 Gemfile.lock\n \u251c\u2500\u2500 _includes\n \u251c\u2500\u2500 index.md\n \u251c\u2500\u2500 _layouts\n \u251c\u2500\u2500 Makefile\n \u251c\u2500\u2500 README.md\n \u251c\u2500\u2500 _sass\n \u2514\u2500\u2500 _site\n\n 7 directories, 8 files" +"\ufeffnamespace Rebus.Routing.TransportMessages\n{\n ///

    \n /// Options on how to handle exceptions when attempting to forward transport messages\n /// \n public enum ErrorBehavior\n {\n /// \n /// Indicates that no error handling should be done. This puts the burden of handling errors into the hands\n /// of the implementor of the transport message forwarding function, and thus it should handle errors by\n /// forwarding the message somewhere else\n /// \n RetryForever,\n\n /// \n /// Indicates that the transport message should be forwarded to the error queue in the event that there is an error.\n /// This is done in a \"fail fast\"-fashion, so there will be no additional delivery attempts.\n /// \n ForwardToErrorQueue\n }\n}" +"\n\nPatents

    Software patents are the lightning rod issue of the moment in\nfree software, because they pose the only real threat against which\nthe free software community cannot defend itself. Copyright and\ntrademark problems can always be gotten around. If part of your code\nlooks like it may infringe on someone else's copyright, you can just\nrewrite that part. If it turns out someone has a trademark on your\nproject's name, at the very worst you can just rename the project.\nAlthough changing names would be a temporary inconvenience, it\nwouldn't matter in the long run, since the code itself would still do\nwhat it always did.

    But a patent is a blanket injunction against implementing a\ncertain idea. It doesn't matter who writes the code, nor even what\nprogramming language is used. Once someone has accused a free\nsoftware project of infringing a patent, the project must either stop\nimplementing that particular feature, or face an expensive and\ntime-consuming lawsuit. Since the instigators of such lawsuits are\nusually corporations with deep pockets\u2014that's who has the\nresources and inclination to" +"class Service::MqttPub < Service\n self.title = 'MQTT publish'\n\n string :broker, :port, :topic, :clientid, :user\n password :pass\n boolean :retain\n\n require 'mqtt'\n\n def receive_push\n\n # Optional - use m2m.io public broker if not specified\n broker = data['broker'].to_s\n if broker == ''\n broker = 'q.m2m.io'\n end\n\n # Optional - use standard MQTT port if not specified\n port = data['port'].to_i\n if data['port'].to_s == ''\n port = 1883\n end\n\n if data['topic'].to_s == ''\n raise_config_error \"Invalid topic. Try github// .\"\n end\n\n # Optional - generate random epoch for ID if not specified\n clientid = data['clientid'].to_s\n if clientid == ''\n # Random ID doesn't make sense, but use prefix like MQTT::generate_client_id\n clientid = 'github_' + Time.now.to_i.to_s\n end\n\n # Optional, specify nil if not specified (per http://rubydoc.info/gems/mqtt/MQTT/Client)\n user = data['user'].to_s\n if user == ''\n user = nil\n end\n\n # Optional, specify nil if not specified\n pass = data['pass'].to_s\n if pass == ''\n pass = nil\n end\n\n # Handle specifying a username or a password, but not both\n if user != nil and pass == nil\n raise_config_error \"You specified a username without a password.\"\n end\n\n if pass != nil and user == nil\n raise_config_error \"You specified a password without a username.\"\n end\n\n begin\n # Connect to the broker, publish" +"using System;\nusing sd = System.Drawing;\nusing swf = System.Windows.Forms;\nusing Eto.Drawing;\nusing Eto.Forms;\nusing Eto.WinForms.Drawing;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Eto.WinForms.Forms.Menu;\nusing System.Reflection;\nusing System.Diagnostics;\n\nnamespace Eto.WinForms.Forms\n{\n\tpublic interface IWindowsControl: Control.IHandler\n\t{\n\t\tbool InternalVisible { get; }\n\n\t\tswf.DockStyle DockStyle { get; }\n\n\t\tswf.Control ContainerControl { get; }\n\n\t\tSize ParentMinimumSize { get; set; }\n\n\t\tSize GetPreferredSize(Size availableSize, bool useCache = false);\n\n\t\tbool SetMinimumSize(bool updateParent = false, bool useCache = false);\n\n\t\tvoid SetScale(bool xscale, bool yscale);\n\n\t\tbool ShouldCaptureMouse { get; }\n\n\t\tbool XScale { get; }\n\n\t\tbool YScale { get; }\n\n\t\tbool BackgroundColorSet { get; }\n\n\t\tControl.ICallback Callback { get; }\n\n\t\tvoid BeforeAddControl(bool top = true);\n\n\t\tbool ShouldBubbleEvent(swf.Message msg);\n\n\t\tbool UseShellDropManager { get; set; }\n\t}\n\n\tpublic static class WindowsControlExtensions\n\t{\n\t\tpublic static IWindowsControl GetWindowsHandler(this Control control)\n\t\t{\n\t\t\tif (control == null)\n\t\t\t\treturn null;\n\n\t\t\tvar handler = control.Handler as IWindowsControl;\n\t\t\tif (handler != null)\n\t\t\t\treturn handler;\n\n\t\t\tvar controlObject = control.ControlObject as Control;\n\t\t\treturn controlObject != null ? controlObject.GetWindowsHandler() : null;\n\n\t\t}\n\n\t\tpublic static Size GetPreferredSize(this Control control, Size? availableSize = null)\n\t\t{\n\t\t\tvar handler = control.GetWindowsHandler();\n\t\t\treturn handler != null ? handler.GetPreferredSize(availableSize ?? Size.Empty) : Size.Empty;\n\t\t}\n\n\t\tpublic static swf.Control GetContainerControl(this Control control)\n\t\t{\n\t\t\tif (control == null)\n\t\t\t\treturn null;" +"# `index.test.ts`\n\n**DO NOT MODIFY**. This file has been autogenerated. Run `rome test internal/js-parser/index.test.ts --update-snapshots` to update.\n\n## `es2015 > uncategorised > 83`\n\n### `ast`\n\n```javascript\nJSRoot {\n\tcomments: Array []\n\tcorrupt: false\n\tdiagnostics: Array []\n\tdirectives: Array []\n\tfilename: \"es2015/uncategorised/83/input.js\"\n\thasHoistedVars: false\n\tinterpreter: undefined\n\tmtime: undefined\n\tsourceType: \"module\"\n\tsyntax: Array []\n\tloc: Object {\n\t\tfilename: \"es2015/uncategorised/83/input.js\"\n\t\tend: Object {\n\t\t\tcolumn: 25\n\t\t\tline: 1\n\t\t}\n\t\tstart: Object {\n\t\t\tcolumn: 0\n\t\t\tline: 1\n\t\t}\n\t}\n\tbody: Array [\n\t\tJSExportDefaultDeclaration {\n\t\t\tloc: Object {\n\t\t\t\tfilename: \"es2015/uncategorised/83/input.js\"\n\t\t\t\tend: Object {\n\t\t\t\t\tcolumn: 25\n\t\t\t\t\tline: 1\n\t\t\t\t}\n\t\t\t\tstart: Object {\n\t\t\t\t\tcolumn: 0\n\t\t\t\t\tline: 1\n\t\t\t\t}\n\t\t\t}\n\t\t\tdeclaration: JSClassDeclaration {\n\t\t\t\tid: JSBindingIdentifier {\n\t\t\t\t\tname: \"A\"\n\t\t\t\t\tloc: Object {\n\t\t\t\t\t\tfilename: \"es2015/uncategorised/83/input.js\"\n\t\t\t\t\t\tidentifierName: \"A\"\n\t\t\t\t\t\tend: Object {\n\t\t\t\t\t\t\tcolumn: 22\n\t\t\t\t\t\t\tline: 1\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstart: Object {\n\t\t\t\t\t\t\tcolumn: 21\n\t\t\t\t\t\t\tline: 1\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tloc: Object {\n\t\t\t\t\tfilename: \"es2015/uncategorised/83/input.js\"\n\t\t\t\t\tend: Object {\n\t\t\t\t\t\tcolumn: 25\n\t\t\t\t\t\tline: 1\n\t\t\t\t\t}\n\t\t\t\t\tstart: Object {\n\t\t\t\t\t\tcolumn: 15\n\t\t\t\t\t\tline: 1\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tmeta: JSClassHead {\n\t\t\t\t\tbody: Array []\n\t\t\t\t\timplements: undefined\n\t\t\t\t\tsuperClass: undefined\n\t\t\t\t\tsuperTypeParameters: undefined\n\t\t\t\t\ttypeParameters: undefined\n\t\t\t\t\tloc: Object {\n\t\t\t\t\t\tfilename: \"es2015/uncategorised/83/input.js\"\n\t\t\t\t\t\tend: Object {\n\t\t\t\t\t\t\tcolumn: 25\n\t\t\t\t\t\t\tline: 1\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstart: Object {\n\t\t\t\t\t\t\tcolumn: 15\n\t\t\t\t\t\t\tline: 1\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t]\n}\n```\n\n### `diagnostics`" +"package net.dreamlu.mica.test.utils;\n\nimport net.dreamlu.mica.core.utils.StringUtil;\nimport org.junit.Assert;\nimport org.junit.Test;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\npublic class StringUtilTest {\n\n\t@Test\n\tpublic void testFormat1() {\n\t\tString str = \"my name is L.cm, and i like Java!\";\n\n\t\tMap param = new HashMap<>();\n\t\tparam.put(\"name\", \"L.cm\");\n\t\tparam.put(\"like\", \"Java\");\n\t\tString msg = StringUtil.format(\"my name is ${ name }, and i like ${ like }!\", param);\n\n\t\tAssert.assertEquals(str, msg);\n\t}\n\n\t@Test\n\tpublic void testFormat2() {\n\t\tString str = \"my name is L.cm 4 years old, and i like Java!\";\n\n\t\tString msg = StringUtil.format(\"my name is {} {} years old, and i like {}!\", \"L.cm\", 4, \"Java\");\n\t\tAssert.assertEquals(str, msg);\n\t}\n\n\t@Test\n\tpublic void testFormat3() {\n\t\tString str = \"my name is L.cm 4 years old, and i like Java,{},{}!\";\n\n\t\tString msg = StringUtil.format(\"my name is {} {} years old, and i like {},{},{}!\", \"L.cm\", 4, \"Java\");\n\t\tAssert.assertEquals(str, msg);\n\t}\n\n\t@Test\n\tpublic void cleanTextTest() {\n\t\tString s = StringUtil.cleanText(null);\n\t\tAssert.assertNull(s);\n\n\t\tString s1 = StringUtil.cleanText(\" 123123;123\\t1\\n2|3,1231`'' \");\n\t\tAssert.assertEquals(s1, \"1231231231231231\");\n\t}\n}" +"% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/simulate.R\n\\name{simulate.greta_model}\n\\alias{simulate.greta_model}\n\\title{Simulate Responses From \\code{greta_model} Object}\n\\usage{\n\\method{simulate}{greta_model}(object, nsim = 1, seed = NULL, precision = c(\"double\", \"single\"), ...)\n}\n\\arguments{\n\\item{object}{a \\code{\\link[greta:model]{greta_model}} object}\n\n\\item{nsim}{positive integer scalar - the number of responses to simulate}\n\n\\item{seed}{an optional seed to be used in set.seed immediately before the\nsimulation so as to generate a reproducible sample}\n\n\\item{precision}{the floating point precision to use when calculating values.}\n\n\\item{...}{optional additional arguments, none are used at present}\n}\n\\value{\nA named list of vectors, matrices or arrays containing independent\n samples of the greta arrays associated with the model. The number of\n samples will be prepended as the first dimension of the greta array, so\n that a vector of samples is returned for each scalar greta array, and a\n matrix is returned for each vector greta array, etc.\n}\n\\description{\nSimulate values of all named greta arrays associated with a\n greta model from the model priors, including the response variable.\n}\n\\details{\nThis is essentially a wrapper around \\code{\\link{calculate}()} that\n finds all relevant greta arrays. See that function for more functionality,\n including simulation conditional on fixed values or posterior samples.\n\n To simulate" +"201\n0.0025 0 \n0 0 \n0.005 0 \n0.0075 0 \n0.01 0 \n0.0125 0 \n0.015 0 \n0.0175 0 \n0.02 0 \n0.0225 0 \n0.025 0 \n0.0275 0 \n0.03 0 \n0.0325 0 \n0.035 0 \n0.0375 0 \n0.04 0 \n0.0425 0 \n0.045 0 \n0.0475 0 \n0.05 0 \n0.0525 0 \n0.055 0 \n0.0575 0 \n0.06 0 \n0.0625 0 \n0.065 0 \n0.0675 0 \n0.07 0 \n0.0725 0 \n0.075 0 \n0.0775 0 \n0.08 0 \n0.0825 0 \n0.085 0 \n0.0875 0 \n0.09 0 \n0.0925 0 \n0.095 0 \n0.0975 0 \n0.1 0 \n0.1025 0 \n0.105 0 \n0.1075 0 \n0.11 0 \n0.1125 0 \n0.115 0 \n0.1175 0 \n0.12 0 \n0.1225 0 \n0.125 0 \n0.1275 0 \n0.13 0 \n0.1325 0 \n0.135 0 \n0.1375 0 \n0.14 0 \n0.1425 0 \n0.145 0 \n0.1475 0 \n0.15 0 \n0.1525 0 \n0.155 0 \n0.1575 0 \n0.16 0 \n0.1625 0 \n0.165 0 \n0.1675 0 \n0.17 0 \n0.1725 0 \n0.175 0 \n0.1775 0 \n0.18 0 \n0.1825 0 \n0.185 0 \n0.1875 0 \n0.19 0 \n0.1925 0 \n0.195 0 \n0.1975 0 \n0.2 0 \n0.2025 0 \n0.205 0 \n0.2075 0 \n0.21 0 \n0.2125 0 \n0.215 0 \n0.2175 0 \n0.22 0 \n0.2225 0 \n0.225 0 \n0.2275 0 \n0.23 0 \n0.2325 0 \n0.235 0 \n0.2375 0 \n0.24 0 \n0.2425 0 \n0.245 0 \n0.2475" +"\nlocal screen = require(\"Screen\")\nlocal bigLetters = {}\n\nlocal pixelHeight = 5\nlocal lettersInterval = 2\nlocal unknownSymbol = \"*\"\nlocal spaceWidth = 2\n\nlocal function getCharTable(c)\n\treturn ({\n\t\t[\"0\"] = {\n\t\t\t{ 1, 1, 1 },\n\t\t\t{ 1, 0, 1 },\n\t\t\t{ 1, 0, 1 },\n\t\t\t{ 1, 0, 1 },\n\t\t\t{ 1, 1, 1 },\n\t\t},\n\t\t[\"1\"] = {\n\t\t\t{ 0, 1, 0 },\n\t\t\t{ 1, 1, 0 },\n\t\t\t{ 0, 1, 0 },\n\t\t\t{ 0, 1, 0 },\n\t\t\t{ 1, 1, 1 },\n\t\t},\n\t\t[\"2\"] = {\n\t\t\t{ 1, 1, 1 },\n\t\t\t{ 0, 0, 1 },\n\t\t\t{ 1, 1, 1 },\n\t\t\t{ 1, 0, 0 },\n\t\t\t{ 1, 1, 1 },\n\t\t},\n\t\t[\"3\"] = {\n\t\t\t{ 1, 1, 1 },\n\t\t\t{ 0, 0, 1 },\n\t\t\t{ 1, 1, 1 },\n\t\t\t{ 0, 0, 1 },\n\t\t\t{ 1, 1, 1 },\n\t\t},\n\t\t[\"4\"] = {\n\t\t\t{ 1, 0, 1 },\n\t\t\t{ 1, 0, 1 },\n\t\t\t{ 1, 1, 1 },\n\t\t\t{ 0, 0, 1 },\n\t\t\t{ 0, 0, 1 },\n\t\t},\n\t\t[\"5\"] = {\n\t\t\t{ 1, 1, 1 },\n\t\t\t{ 1, 0, 0 },\n\t\t\t{ 1, 1, 1 },\n\t\t\t{ 0, 0, 1 },\n\t\t\t{ 1, 1," +"// AttributeTypeCode.cs\n//\n\nusing System;\nusing System.Collections.Generic;\nusing System.Runtime.CompilerServices;\n\nnamespace Xrm.Sdk.Metadata\n{\n // Summary:\n // Describes the type of an attribute.\n //[DataContract(Name = \"AttributeTypeCode\", Namespace = \"http://schemas.microsoft.com/xrm/2011/Metadata\")]\n [NamedValues]\n [ScriptNamespace(\"SparkleXrm.Sdk.Metadata\")]\n public enum AttributeTypeCode\n {\n // Summary:\n // A Boolean attribute. Value = 0.\n [ScriptName(\"Boolean\")]\n Boolean_ = 0,\n //\n // Summary:\n // An attribute that represents a customer. Value = 1.\n [ScriptName(\"Customer\")]\n Customer = 1,\n //\n // Summary:\n // A date/time attribute. Value = 2.\n [ScriptName(\"DateTime\")]\n DateTime = 2,\n //\n // Summary:\n // A decimal attribute. Value = 3.\n [ScriptName(\"Decimal\")]\n Decimal = 3,\n //\n // Summary:\n // A double attribute. Value = 4.\n [ScriptName(\"Double\")]\n Double_ = 4,\n //\n // Summary:\n // An integer attribute. Value = 5.\n [ScriptName(\"Integer\")]\n Integer = 5,\n //\n // Summary:\n // A lookup attribute. Value = 6.\n [ScriptName(\"Lookup\")]\n Lookup = 6,\n //\n // Summary:\n // A memo attribute. Value = 7.\n [ScriptName(\"Memo\")]\n Memo = 7,\n //\n // Summary:\n // A money attribute. Value = 8.\n [ScriptName(\"None\")]\n Money = 8,\n //\n // Summary:\n // An owner attribute. Value = 9.\n [ScriptName(\"Owner\")]\n Owner = 9,\n //\n // Summary:\n // A partylist attribute. Value = 10.\n [ScriptName(\"PartyList\")]\n PartyList = 10,\n //\n // Summary:\n // A picklist attribute. Value = 11.\n [ScriptName(\"Picklist\")]" +"// -*- mode: c++; c-basic-offset: 4 -*-\n/*\n * progressbar.{cc,hh} -- element displays a progress bar on stderr\n * Eddie Kohler\n *\n * Copyright (c) 2001 International Computer Science Institute\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, subject to the conditions\n * listed in the Click LICENSE file. These conditions include: you must\n * preserve this copyright notice, and you cannot mention the copyright\n * holders in advertising related to the Software without their permission.\n * The Software is provided WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED. This\n * notice is a summary of the Click LICENSE file; the license in that file is\n * legally binding.\n */\n\n#include \n#include \"progressbar.hh\"\n#include \n#include \n#include \n#include \n#include \n#ifdef HAVE_TERMIO_H\n# include \n#endif\n#include \n#include \n#include \nCLICK_DECLS\n\nProgressBar::ProgressBar()\n : _status(ST_FIRST), _timer(this)\n{\n}\n\nProgressBar::~ProgressBar()\n{\n}\n\nint\nProgressBar::configure(Vector &, ErrorHandler *)\n{\n return 0;\n}\n\nint\nProgressBar::initialize(ErrorHandler *errh)\n{\n _interval = 250;\n _delay_ms = 0;\n _active = true;\n _size = -1;\n String position_str, size_str;\n bool check_stdout =" +"---\ntitle: Format of a Text Log Section Header\ndescription: Format of a Text Log Section Header\nms.assetid: ec46a540-e888-426d-85fc-6ad2d756c7b8\nkeywords:\n- section headers WDK SetupAPI logging\n- formats WDK SetupAPI logging\n- text logs WDK SetupAPI , section header\nms.date: 04/20/2017\nms.localizationpriority: medium\n---\n\n# Format of a Text Log Section Header\n\n\nA *text log section header* consists of two log entries. The format of the first entry includes a \">>> \" prefix string, followed by a *section_title* field and an *instance_identifier* field. In the following example, the text in italic font style is a placeholder for section-specific text that is supplied by a section creator, and the text in bold font style is supplied by SetupAPI logging.\n\n```cpp\n>>> [section_title - instance_identifier] \n```\n\nThe *section_title* field is always present and provides a title for the operation that is associated with the section.\n\nThe *instance_identifier* provides an identifier that, ideally, uniquely identifies the instance of the operation. If the *instance_identifier* field is not present, the format of the first entry of a section header is as follows:\n\n```cpp\n>>> [section_title] \n```\n\nThe format of the second entry of a section header includes a \">>> \" prefix string, followed by a" +"/*\n * Copyright (C) 2016/2020 Litote\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.litote.kmongo.id.jackson\n\nimport com.fasterxml.jackson.databind.module.SimpleModule\nimport org.litote.kmongo.Id\nimport org.litote.kmongo.id.IdGenerator\n\n/**\n * Add support for serialization and deserialization of [Id] to or from json [String].\n * The [IdGenerator] used must have a public constructor with only one String argument.\n * @param idGenerator if null [IdGenerator.defaultGenerator] is used\n */\nclass IdJacksonModule(idGenerator: IdGenerator? = null) : SimpleModule() {\n\n init {\n addSerializer(Id::class.java, IdToStringSerializer())\n addDeserializer(Id::class.java, StringToIdDeserializer(idGenerator))\n addKeySerializer(Id::class.java, IdKeySerializer())\n addKeyDeserializer(Id::class.java, IdKeyDeserializer(idGenerator))\n }\n}" +"===============================================================================\n=== Asterisk Add-on Modules ===\n===============================================================================\n\n This document pertains to the modules that reside in the addons/\nsubdirectory of the source tree. By default, these modules are not compiled\nand installed. If you choose to enable them, you must be aware of what\npotential licensing and/or patent implications that has on your usage and\ndistribution of Asterisk.\n\n Even though Asterisk is released as open source under the terms of the\nGPLv2 (see LICENSE for details), no core functionality in Asterisk has any\ndependencies on libraries that are licensed under the GPL. One reason a module\nmay be in the add-ons category is that it may have a GPL dependency. Since\nthese dependencies are not compatible with dual licensing of Asterisk, the\ndependant modules are set aside to make it clear that they may not be used\nwith commercial versions of Asterisk, unless other licensing arrangements are\nmade with the copyright holders of those dependencies.\n\n Another reason that modules may be set aside is that there may be\nadditional restrictions on the usage of the code imposed by the license or\nrelated patents. The MySQL and MP3 modules are examples of this.\n\n If you have any questions, contact your lawyer." +"---\ntitle: Recursion\n---\n\nThere are three places recursion is commonly used: bindings, types, and modules.\n\nFeature | Recursive | Non-recursive\n---------|---------------------|--------------\nBindings | `let rec fn = ...` | `let fn = ...`\nTypes | `type t = ...` | `type nonrec t = ...`\nModules | `module rec A ...` | `module A ...`\n\n## Recursive Bindings\n\nBy default the name of a binding is not available for use on the right side of\nthat binding. This applies to all `let` bindings, including function\ndefinitions. This behavior is required for\n[Binding Shadowing](let-binding.md#binding-shadowing) to work:\n\n```reason\nlet x = 10;\n/* If bindings were recursive by default this would form a cycle and break */\nlet x = x + 10;\n```\n\nThe natural way to write a recursive function will have an error:\n\n```reason\nlet infiniteRecursion = () => {\n /* Error: Unbound value infiniteRecursion */\n infiniteRecursion();\n};\n```\n\nOpt-in to a recursive binding using the `rec` keyword:\n\n```reason\nlet rec infiniteRecursion = () => {\n infiniteRecursion();\n};\n```\n\n## Mutual Recursion\n\nMutually recursive functions use the `and` keyword:\n\n```reason\nlet rec function1 = () => {\n function2();\n}\nand function2 = () => {\n function3();\n}\nand" +"# Copyright 1999-2015 Gentoo Foundation\n# Distributed under the terms of the GNU General Public License v2\n\n# @ECLASS: java-virtuals-2.eclass\n# @MAINTAINER:\n# java@gentoo.org\n# @AUTHOR:\n# Original Author: Alistair John Bush \n# @BLURB: Java virtuals eclass\n# @DESCRIPTION:\n# To provide a default (and only) src_install function for ebuilds in the\n# java-virtuals category.\n\ninherit java-utils-2\n\nDEPEND=\">=dev-java/java-config-2.2.0-r3\"\nRDEPEND=\"${DEPEND}\"\n\nS=\"${WORKDIR}\"\n\nEXPORT_FUNCTIONS src_install\n\n# @FUNCTION: java-virtuals-2_src_install\n# @DESCRIPTION:\n# default src_install\n\njava-virtuals-2_src_install() {\n\tjava-virtuals-2_do_write\n}\n\n# @FUNCTION: java-pkg_do_virtuals_write\n# @INTERNAL\n# @DESCRIPTION:\n# Writes the virtual env file out to disk.\n\njava-virtuals-2_do_write() {\n\tjava-pkg_init_paths_\n\n\tdodir \"${JAVA_PKG_VIRTUALS_PATH}\"\n\t{\n\t\tif [[ -n \"${JAVA_VIRTUAL_PROVIDES}\" ]]; then\n\t\t\techo \"PROVIDERS=\\\"${JAVA_VIRTUAL_PROVIDES}\\\"\"\n\t\tfi\n\n\t\tif [[ -n \"${JAVA_VIRTUAL_VM}\" ]]; then\n\t\t\techo \"VM=\\\"${JAVA_VIRTUAL_VM}\\\"\"\n\t\tfi\n\n\t\tif [[ -n \"${JAVA_VIRTUAL_VM_CLASSPATH}\" ]]; then\n\t\t\techo \"VM_CLASSPATH=\\\"${JAVA_VIRTUAL_VM_CLASSPATH}\\\"\"\n\t\tfi\n\t\techo \"MULTI_PROVIDER=\\\"${JAVA_VIRTUAL_MULTI=FALSE}\\\"\"\n\t} > \"${JAVA_PKG_VIRTUAL_PROVIDER}\"\n}" +"C> \\ingroup nwdft\nC> @{\nC>\nC> \\file occup_input.F\nC> Read the occupation numbers\nC>\nC> @}\nC>\nC> \\ingroup nwdft\nC> @{\nC>\nC> \\brief Orbital occupations input reader\nC>\nC> Read the orbital occupation numbers either from the input or from\nC> a file. An example of the input block is\nC>\nC> \\code\nC> occup\nC> 5 3\nC> 1.0 1.0\nC> 1.0 1.0\nC> 1.0 1.0\nC> 1.0\nC> 1.0\nC> end\nC> \\endcode\nC>\nC> The first line with two integers specifies how many occupation\nC> numbers there are to read for each spin channel. Next there are\nC> a number of lines specifying the orbital occupations.\nC>\nC> Similary for reading the occupation numbers from a file\nC>\nC> \\code\nC> occup\nC> 5 3\nC> load file.occup\nC> end\nC> \\endcode\nC>\nC> After reading the occupation numbers they are stored on the \nC> runtime database in the fields:\nC>\nC> - `focc:occup_switch` -- there was an \"occup\" input block\nC>\nC> - `focc:occup` -- the number of alpha- and beta-occupation numbers\nC>\nC> - `focc:occup_list` -- the list of occupation numbers\nC>\nC> The occupation number list is stored essentially as read." +"---\nsubcategory: \"Core\"\nlayout: \"oci\"\npage_title: \"Oracle Cloud Infrastructure: oci_core_drgs\"\nsidebar_current: \"docs-oci-datasource-core-drgs\"\ndescription: |-\n Provides the list of Drgs in Oracle Cloud Infrastructure Core service\n---\n\n# Data Source: oci_core_drgs\nThis data source provides the list of Drgs in Oracle Cloud Infrastructure Core service.\n\nLists the DRGs in the specified compartment.\n\n\n## Example Usage\n\n```hcl\ndata \"oci_core_drgs\" \"test_drgs\" {\n\t#Required\n\tcompartment_id = var.compartment_id\n}\n```\n\n## Argument Reference\n\nThe following arguments are supported:\n\n* `compartment_id` - (Required) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n\n\n## Attributes Reference\n\nThe following attributes are exported:\n\n* `drgs` - The list of drgs.\n\n### Drg Reference\n\nThe following attributes are exported:\n\n* `compartment_id` - The OCID of the compartment containing the DRG.\n* `defined_tags` - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Operations.CostCenter\": \"42\"}` \n* `display_name` - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. \n* `freeform_tags` - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Department\": \"Finance\"}` \n* `id` - The DRG's Oracle ID (OCID)." +"{% set name = \"smop\" %}\n{% set version = \"0.41\" %}\n{% set file_ext = \"tar.gz\" %}\n{% set hash_type = \"sha256\" %}\n{% set hash_value = \"594188a25dc346e27fdd5507a6a0a3cced1cc3defaf02d7e236e41e8714558d4\" %}\n\npackage:\n name: '{{ name|lower }}'\n version: '{{ version }}'\n\nsource:\n fn: '{{ name }}-{{ version }}.{{ file_ext }}'\n url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.{{ file_ext }}\n '{{ hash_type }}': '{{ hash_value }}'\n\nbuild:\n number: 0\n entry_points:\n - smop = smop.main:main\n script: python setup.py install --single-version-externally-managed --record=record.txt\n\nrequirements:\n host:\n - python\n - setuptools\n - ply\n - numpy\n - scipy\n - networkx\n run:\n - python\n - ply\n - numpy\n - scipy\n - networkx\n\ntest:\n imports:\n - smop\n commands:\n - smop --help\n\nabout:\n home: https://github.com/victorlei/smop\n license: MIT\n license_family: MIT\n license_file: ''\n summary: Matlab to Python converter\n description: ''\n doc_url: ''\n dev_url: ''\n\nextra:\n recipe-maintainers: ''" +".TH qthread_feb_barrier 3 \"APRIL 2011\" libqthread \"libqthread\"\n.SH NAME\n.BR qthread_feb_barrier_create ,\n.BR qthread_feb_barrier_enter ,\n.BR qthread_feb_barrier_destroy ,\n.B qthread_feb_barrier_resize\n\\- manipulates FEB-based barriers\n.SH SYNOPSIS\n.B #include \n\n.I qt_feb_barrier_t *\n.br\n.B qthread_feb_barrier_create\n.RI \"(size_t \" max_threads );\n.PP\n.I void\n.br\n.B qthread_feb_barrier_enter\n.RI \"(qt_feb_barrier_t *\" b );\n.PP\n.I void\n.br\n.B qthread_feb_barrier_resize\n.RI \"(size_t\" new_max_threads );\n.PP\n.I void\n.br\n.B qthread_feb_barrier_destroy\n.RI \"(qt_feb_barrier_t *\" b );\n.SH DESCRIPTION\nThese are the functions for manipulating simplistic FEB-based barriers.\n.PP\nThe\n.BR qthread_feb_barrier_create ()\nfunction generates a barrier data structure, which can then be used to wait for\n.I max_threads\nthreads to enter the barrier. To enter the barrier, each thread must call\n.BR qthread_feb_barrier_enter (),\nwhich will cause the thread to block until the specified number of threads has entered the same barrier. Once the barrier is no longer needed, it can be deallocated with the\n.BR qthread_feb_barrier_destroy ()\nfunction. Instead of destroying and creating a new barrier, barriers may be resized if necessary, using the\n.BR qthread_feb_barrier_resize ()\nfunction. The barrier must be empty before resizing." +"/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.apache.jmeter.modifiers.gui;\n\nimport javax.swing.Box;\nimport javax.swing.JComponent;\nimport javax.swing.JLabel;\nimport javax.swing.JOptionPane;\nimport javax.swing.JTextField;\n\nimport org.apache.jmeter.gui.TestElementMetadata;\nimport org.apache.jmeter.modifiers.SampleTimeout;\nimport org.apache.jmeter.processor.gui.AbstractPreProcessorGui;\nimport org.apache.jmeter.testelement.TestElement;\nimport org.apache.jmeter.util.JMeterUtils;\nimport org.apache.jorphan.gui.layout.VerticalLayout;\n\n/**\n * The GUI for SampleTimeout.\n */\n@TestElementMetadata(labelResource = \"sample_timeout_title\")\npublic class SampleTimeoutGui extends AbstractPreProcessorGui {\n\n private static final long serialVersionUID = 240L;\n\n /**\n * The default value for the timeout.\n */\n private static final String DEFAULT_TIMEOUT = \"10000\";\n\n private JTextField timeoutField;\n\n /**\n * No-arg constructor.\n */\n public" +"category = $category;\n }\n\n /**\n * Returns the deleted category.\n *\n * @return CategoryInterface\n */\n public function getCategory()\n {\n return $this->category;\n }\n}" +"const format = require('string-format');\n\nexports.trim = value => (typeof value === 'string' ? value.trim() : value);\n\nexports.reverse = value =>\n typeof value === 'string'\n ? value\n .split('')\n .reverse()\n .join('')\n : value;\n\nexports.slice = (value, start, end) =>\n typeof value === 'string' ? value.slice(start, end) : value;\n\nexports.replace = (value, searchValue, replaceValue) =>\n typeof value === 'string' ? value.replace(searchValue, replaceValue || '') : value;\n\nexports.substr = (value, from, length) =>\n typeof value === 'string' ? value.substr(from, length) : value;\n\nexports.int = value => {\n const intValue = parseInt(value);\n return isNaN(intValue) ? value : intValue;\n};\n\nexports.split = (value, char, index) => {\n if (typeof value === 'string') {\n if (char === '%SPECIAL_CHAR%') {\n char = '|';\n }\n const results = value.split(char);\n if (results[index] !== undefined) {\n return results[index];\n }\n }\n return value;\n};\n\nexports.format = (value, formatStr) => format(formatStr, value);\n\nexports.until = (value, str) =>\n typeof value === 'string' && value.indexOf(str) > 0 ? value.substr(0, value.indexOf(str)) : value;\n\nexports.match = (value, str) =>\n typeof value === 'string' && value.match(new RegExp(str)) !== null\n ? value.match(new RegExp(str))[1]\n : value;\n\nexports.decodeURIComponent = value =>\n typeof value === 'string' ? decodeURIComponent(value) : value;" +"x1 = {1, 2};\nx2 = {0, 1};\n----------\nx1 = {1, 2};\nx2 = {0};\n----------\nx1 = {1, 2};\nx2 = {1};\n----------\nx1 = {1, 2};\nx2 = {};\n----------\nx1 = {1};\nx2 = {0, 1};\n----------\nx1 = {1};\nx2 = {0};\n----------\nx1 = {1};\nx2 = {};\n----------\nx1 = {2};\nx2 = {0, 1};\n----------\nx1 = {2};\nx2 = {0};\n----------\nx1 = {2};\nx2 = {1};\n----------\nx1 = {2};\nx2 = {};\n----------\nx1 = {};\nx2 = {0, 1};\n----------\nx1 = {};\nx2 = {0};\n----------\nx1 = {};\nx2 = {1};\n----------\n==========" +"// +build !clustered,!gcloud\n\n/*\n\tThis file contains local server code supporting push/pull with optional delimiting\n\tusing datatype-specific filters.\n\n TODO: When we actually have multiple varieties of target platform (cluster, gcloud managed vm, amzn ec2),\n the repo/DAG data structure needs to be cross-platform since the receiving DVID could be an entirely\n different platform. For example, clustered DVID frontends could use an in-memory distributed\n kv store.\n*/\n\npackage datastore\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"sync\"\n\t\"time\"\n\n\t\"github.com/janelia-flyem/dvid/dvid\"\n\t\"github.com/janelia-flyem/dvid/rpc\"\n\t\"github.com/janelia-flyem/dvid/storage\"\n\t\"github.com/janelia-flyem/go/go-humanize\"\n\n\t\"github.com/valyala/gorpc\"\n)\n\n// PushRepo pushes a Repo to a remote DVID server at the target address.\nfunc PushRepo(uuid dvid.UUID, target string, config dvid.Config) error {\n\tif manager == nil {\n\t\treturn ErrManagerNotInitialized\n\t}\n\n\tif target == \"\" {\n\t\ttarget = rpc.DefaultAddress\n\t\tdvid.Infof(\"No target specified for push, defaulting to %q\\n\", rpc.DefaultAddress)\n\t}\n\n\t// Get the full local repo\n\tthisRepo, err := manager.repoFromUUID(uuid)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\t// Get any filter\n\tfilter, found, err := config.GetString(\"filter\")\n\tif err != nil {\n\t\treturn err\n\t}\n\n\t// Create a repo that is tailored by the push configuration, e.g.,\n\t// keeping just given data instances, etc.\n\tv, found := manager.uuidToVersion[uuid]\n\tif !found {\n\t\treturn ErrInvalidUUID\n\t}\n\ttxRepo, transmit, err := thisRepo.customize(v, config)\n\tif err" +"HTML Agility Pack V1.3.0.0\n\nThis directory contains the HtmlAgilityPack solution and source code and this readme file. The other directories are:\n\n+ Doc\t\t\tContains the HtmlAgilityPack assembly documentation as a .CHM file\n+ Samples\t\tContains some HtmlAgilityPack samples\n + GetDocLinks\t\tA sample that determines all linked files and references of a givn HTML document\n + Html2Txt\t\tA sample that converts an HTML document into a plain text .txt file\n + Html2Xml\t\tA sample that converts an HTML document into an XML file\n + HtmlToRss\t\tA sample that converts an HTML file into an RSS feed. Two methods are demonstrated.\n\nSimon Mourier\nJune 2003" +"---\n# CRD in version v1beta1. Use this for Kubernetes clusters < 1.16\n\n# CRD connecting a ConfigMap with a set of pods which needs to\n# be restarted when the ConfigMap changes\n# CRD connecting a ConfigMap with a set of pods which needs to\n# be restarted when the ConfigMap changes\napiVersion: apiextensions.k8s.io/v1beta1\nkind: CustomResourceDefinition\nmetadata:\n name: configwatchers.k8spatterns.io\nspec:\n scope: Namespaced\n group: k8spatterns.io\n # Additional columns to print when in kubectl get\n additionalPrinterColumns:\n - name: configmap\n description: Name of ConfigMap to watch\n type: string\n JSONPath: .spec.configMap\n - name: podselector\n description: Selector for Pods to restart\n type: string\n JSONPath: .spec.podSelector\n versions:\n - name: v1\n # Enabled\n served: true\n # The version stored in the backend\n storage: true\n names:\n # Kind of this CRD\n kind: ConfigWatcher\n # How to access them via client and REST api\n singular: configwatcher\n plural: configwatchers\n # How to access the CRDs as well (e.g. with \"kubectl get cw\")\n shortNames: [ cw ]\n # Adds Configwatcher to the \"all\" category (e.g. \"kubectl get all\")\n categories: [ all ]\n validation:\n # Validation schema\n openAPIV3Schema:\n properties:\n spec:\n properties:\n configMap:\n type: string\n description: Name of the ConfigMap to monitor for changes\n podSelector:\n type: object\n description: Label selector used for" +"{\n \"name\": \"hot-module-replacement-plugin\",\n \"type\": \"plugin\",\n \"webpackVersion\": \"*\",\n \"native\": true,\n \"components\": [\n {\n \"name\": \"webpack.HotModuleReplacementPlugin\",\n \"type\": \"plugin\",\n \"pluginType\": \"normal\",\n \"constructor\": true,\n \"url\": \"https://webpack.js.org/plugins/hot-module-replacement-plugin\",\n \"description\": \"Enables Hot Module Replacement, otherwise known as HMR.\",\n \"dependency\": {\n \"package\": \"webpack\",\n \"identifier\": \"webpack\"\n },\n \"arguments\": [\n {\n \"type\": \"options\",\n \"displayLiveResult\": true,\n \"message\": \"Enter the options below:\",\n \"options\": [\n {\n \"name\": \"multiStep\",\n \"type\": \"boolean\",\n \"description\": \"If true, the plugin will build in two steps: first compiling the hot update chunks, then the remaining normal assets.\"\n },\n {\n \"name\": \"fullBuildTimeout\",\n \"type\": \"number\",\n \"description\": \"The delay between the two steps when multiStep is enabled.\"\n },\n {\n \"name\": \"requestTimeout\",\n \"type\": \"number\",\n \"description\": \"The timeout used for manifest download (since webpack 3.0.0).\"\n }\n ]\n }\n ]\n }\n ]\n}" +"#include \n#include \n#include \n#include \n\n#include \"testsuite.hpp\"\n\n#define BOGUS_FD 1947830128\n\n// TODO: openat is not implemented\n/*DEFINE_TEST(openat_bad_dirfd, ([] {\n\tint fd = openat(BOGUS_FD, \"foo\", O_RDONLY);\n\tassert(fd == -1);\n\tassert(errno == EBADF);\n}))*/\n\nDEFINE_TEST(close_badfd, ([] {\n\tclose(BOGUS_FD);\n}))\n\nDEFINE_TEST(dup_badfd, ([] {\n\tint fd = dup(BOGUS_FD);\n\tassert(fd == -1);\n\tassert(errno == EBADF);\n}))\n\nDEFINE_TEST(io_badfd, ([] {\n\tchar buf[16];\n\n\tint bytes = read(BOGUS_FD, buf, 16);\n\tassert(bytes == -1);\n\tassert(errno == EBADF);\n\tbytes = write(BOGUS_FD, buf, 16);\n\tassert(bytes == -1);\n\tassert(errno == EBADF);\n}))\n\nDEFINE_TEST(stat_badfd, ([] {\n\tstruct stat st;\n\n\tint ret = fstat(BOGUS_FD, &st);\n\tassert(ret == -1);\n\tassert(errno == EBADF);\n}))" +"/-\nCopyright (c) 2019 Jean Lo. All rights reserved.\nReleased under Apache 2.0 license as described in the file LICENSE.\nAuthors: Jean Lo\n-/\nimport topology.metric_space.hausdorff_distance\n\n/-!\n# Riesz's lemma\n\nRiesz's lemma, stated for a normed space over a normed field: for any\nclosed proper subspace F of E, there is a nonzero x such that \u2225x - F\u2225\nis at least r * \u2225x\u2225 for any r < 1.\n-/\n\nvariables {\ud835\udd5c : Type*} [normed_field \ud835\udd5c]\nvariables {E : Type*} [normed_group E] [normed_space \ud835\udd5c E]\n\n/-- Riesz's lemma, which usually states that it is possible to find a\nvector with norm 1 whose distance to a closed proper subspace is\narbitrarily close to 1. The statement here is in terms of multiples of\nnorms, since in general the existence of an element of norm exactly 1\nis not guaranteed. -/\nlemma riesz_lemma {F : subspace \ud835\udd5c E} (hFc : is_closed (F : set E))\n (hF : \u2203 x : E, x \u2209 F) {r : \u211d} (hr : r < 1) :\n \u2203 x\u2080 : E, x\u2080 \u2209 F \u2227 \u2200 y \u2208 F, r * \u2225x\u2080\u2225 \u2264 \u2225x\u2080 - y\u2225 :=\nbegin\n classical,\n obtain \u27e8x, hx\u27e9 : \u2203" +"/**\n * Requires the variable to be the right hand operator when doing a boolean comparison\n *\n * Types: `Array` or `Boolean`\n *\n * Values:\n * - `true` specifies that yoda conditions are required for most possible comparison operators\n * - `Array`: represents the list of quoted operators that requires yoda conditions\n *\n * #### Example\n *\n * ```js\n * \"requireYodaConditions\": true\n * ```\n * ```js\n * \"requireYodaConditions\": [\n * \"==\",\n * \"===\",\n * \"!=\",\n * \"!==\"\n * ]\n * ```\n *\n * ##### Valid for mode `true` or `['==']`\n * ```js\n * if (1 == a) {\n * return\n * }\n * ```\n *\n * ##### Invalid for mode `true` or `['==']`\n *\n * ```js\n * if (a == 1) {\n * return\n * }\n * ```\n */\n\nvar assert = require('assert');\n\nmodule.exports = function() {};\n\nmodule.exports.prototype = {\n\n configure: function(operators) {\n var isTrue = operators === true;\n\n assert(\n Array.isArray(operators) || isTrue,\n this.getOptionName() + ' option requires array or true value'\n );\n\n if (isTrue) {\n operators = ['==', '===', '!=', '!=='];\n }\n\n this._operatorIndex = {};\n for (var i = 0, l = operators.length; i < l; i++) {\n this._operatorIndex[operators[i]] = true;\n }\n },\n\n getOptionName: function() {\n return 'requireYodaConditions';\n }," +"\n// RUN: %hc %s -o %t.out && %t.out\n\n#include \n\n#include \n#include \n#include \n\n// added for checking HSA profile\n#include \n\n// test C++AMP with fine-grained SVM\n// requires HSA Full Profile to operate successfully\n// test capture a user functor with customized ctor by copy\n// test funtions and user functor are now constructed from templates\n\n#define SIZE (128)\n\nusing namespace hc;\n\ntemplate\nclass user_functor {\n _Tp val;\npublic:\n user_functor(const user_functor& other) [[cpu, hc]] : val(other.val) {}\n\n user_functor(_Tp v) [[cpu, hc]] : val(v) {}\n\n _Tp value(const _Tp& i) const [[cpu, hc]] { return i + val; }\n};\n\n// test get the result from the functor, store the value on stack and use it\ntemplate\nbool test1(const user_functor<_Tp>& functor, _Tp val) {\n bool ret = true;\n\n // prepare test data\n _Tp* const terms = new _Tp[N];\n for (size_t i = 0; i < N; ++i) {\n terms[i] = _Tp{};\n }\n std::atomic<_Tp>* accumulator = new std::atomic<_Tp>;\n *accumulator = _Tp{};\n\n extent<1> ex(N);\n parallel_for_each(ex, [=] (hc::index<1>& idx) [[hc]] {\n _Tp t = functor.value(idx[0]);\n terms[idx[0]] = t;\n accumulator->fetch_add(t);\n });\n\n // verify result\n _Tp expected_accumulator = _Tp{};\n for (size_t i = 0; i < N; ++i) {" +"// Copyright (c) 2012 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef UI_GFX_RANGE_RANGE_H_\n#define UI_GFX_RANGE_RANGE_H_\n\n#include \n#include \n\n#include \n#include \n#include \n\n#include \"build/build_config.h\"\n#include \"ui/gfx/range/gfx_range_export.h\"\n\n#if defined(OS_MACOSX)\n#if __OBJC__\n#import \n#else\ntypedef struct _NSRange NSRange;\n#endif\n#endif // defined(OS_MACOSX)\n\nnamespace gfx {\n\n// This class represents either a forward range [min, max) or a reverse range\n// (max, min]. |start_| is always the first of these and |end_| the second; as a\n// result, the range is forward if (start_ <= end_). The zero-width range\n// [val, val) is legal, contains and intersects itself, and is contained by and\n// intersects any nonempty range [min, max) where min <= val < max.\nclass GFX_RANGE_EXPORT Range {\n public:\n // Creates an empty range {0,0}.\n constexpr Range() : Range(0) {}\n\n // Initializes the range with a start and end.\n constexpr Range(uint32_t start, uint32_t end) : start_(start), end_(end) {}\n\n // Initializes the range with the same start and end positions.\n constexpr explicit Range(uint32_t position) : Range(position, position) {}\n\n // Platform constructors.\n#if defined(OS_MACOSX)\n explicit Range(const NSRange& range);\n#endif" +"#!/usr/bin/python\n# -*- coding: utf-8 -*-\n\nDOCUMENTATION = '''\n---\nmodule: keystone_service\nshort_description: Manage OpenStack Identity (keystone) service endpoints\noptions:\n name:\n description:\n - name of service (e.g., keystone)\n required: yes\n type:\n description:\n - type of service (e.g., identity)\n required: yes\n description:\n description:\n - description of service (e.g., Identity Service)\n required: yes\n public_url:\n description:\n - public url of service.\n - 'Alias: I(url)'\n - 'Alias: I(publicurl)'\n required: yes\n internal_url:\n description:\n - internal url of service.\n - 'Alias: I(internalurl)'\n required: no\n default: value of public_url\n admin_url:\n description:\n - admin url of service.\n - 'Alias: I(adminurl)'\n required: no\n default: value of public_url\n insecure:\n description:\n - allow use of self-signed SSL certificates\n required: no\n choices: [ \"yes\", \"no\" ]\n default: no\n region:\n description:\n - region of service\n required: no\n default: RegionOne\n ignore_other_regions:\n description:\n - allow endpoint to exist in other regions\n required: no\n choices: [ \"yes\", \"no\" ]\n default: no\n state:\n description:\n - Indicate desired state of the resource\n choices: ['present', 'absent']\n default: present\n\n\n\nrequirements: [ python-keystoneclient ]\nauthor: Lorin Hochstein\n'''\n\nEXAMPLES = '''\nexamples:\nkeystone_service: >\n name=keystone\n type=identity\n description=\"Keystone Identity Service\"\n publicurl=http://192.168.206.130:5000/v2.0\n internalurl=http://192.168.206.130:5000/v2.0\n adminurl=http://192.168.206.130:35357/v2.0\n\nkeystone_service: >\n name=glance\n type=image\n description=\"Glance Identity Service\"\n url=http://192.168.206.130:9292\n\n'''\n\ntry:\n from keystoneclient.v2_0 import client\nexcept ImportError:\n keystoneclient_found = False" +"package com.im4j.kakacache.common.utils;\n\nimport com.im4j.kakacache.common.exception.ArgumentException;\n\nimport java.lang.reflect.ParameterizedType;\nimport java.lang.reflect.Type;\n\n/**\n * \u5de5\u5177\u7c7b\n * @version alafighting 2016-04\n */\npublic class Utils {\n\n private Utils() {\n }\n\n /**\n * \u4e0d\u4e3a\u7a7a\n */\n public static T checkNotNull(T obj) {\n if (obj == null) {\n throw new ArgumentException(\"Can not be empty.\");\n }\n return obj;\n }\n\n /**\n * \u4e0d\u5c0f\u4e8e0\n */\n public static long checkNotLessThanZero(long number) {\n if (number < 0) {\n throw new ArgumentException(\"Can not be < 0.\");\n }\n\n return number;\n }\n\n public static boolean isEmpty(String str) {\n if (str == null || str.isEmpty()) {\n return true;\n }\n return false;\n }\n\n\n public static void checkOffsetAndCount(int arrayLength, int offset, int count) {\n if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) {\n throw new ArrayIndexOutOfBoundsException(\"length=\" + arrayLength\n + \"; regionStart=\" + offset\n + \"; regionLength=\" + count);\n }\n }\n public static void checkOffsetAndCount(int offset, int count) {\n if ((offset | count) < 0) {\n throw new ArrayIndexOutOfBoundsException(\"regionStart=\" + offset\n + \"; regionLength=\" + count);\n }\n }\n public static void checkBytes(byte[] array, int len) {\n if (len < 0) {\n throw new ArrayIndexOutOfBoundsException(\"len=\" + len);\n }\n if (array == null || array.length != len) {\n throw new ArrayIndexOutOfBoundsException(\"array=\" + len+\"; len=\"+len);" +"package Paws::AppMesh::VirtualServiceBackend;\n use Moose;\n has VirtualServiceName => (is => 'ro', isa => 'Str', request_name => 'virtualServiceName', traits => ['NameInRequest'], required => 1);\n1;\n\n### main pod documentation begin ###\n\n=head1 NAME\n\nPaws::AppMesh::VirtualServiceBackend\n\n=head1 USAGE\n\nThis class represents one of two things:\n\n=head3 Arguments in a call to a service\n\nUse the attributes of this class as arguments to methods. You shouldn't make instances of this class. \nEach attribute should be used as a named argument in the calls that expect this type of object.\n\nAs an example, if Att1 is expected to be a Paws::AppMesh::VirtualServiceBackend object:\n\n $service_obj->Method(Att1 => { VirtualServiceName => $value, ..., VirtualServiceName => $value });\n\n=head3 Results returned from an API call\n\nUse accessors for each attribute. If Att1 is expected to be an Paws::AppMesh::VirtualServiceBackend object:\n\n $result = $service_obj->Method(...);\n $result->Att1->VirtualServiceName\n\n=head1 DESCRIPTION\n\nAn object that represents a virtual service backend for a virtual node.\n\n=head1 ATTRIBUTES\n\n\n=head2 B VirtualServiceName => Str\n\n The name of the virtual service that is acting as a virtual node\nbackend.\n\n\n\n=head1 SEE ALSO\n\nThis class forms part of L, describing an object used in L\n\n=head1 BUGS and CONTRIBUTIONS\n\nThe source code is located here: L\n\nPlease report bugs to: L\n\n=cut" +"/**\n * @jest-environment jsdom\n */\nimport PDFUtils from '../utils';\nimport PDFJS from '../PDFJS';\n\nconst mockDefaultTextLayerFactory = () => {\n let div;\n\n const renderTextLayer = ({ container }) => {\n div = container;\n div.innerText = 'test !';\n return {\n promise: Promise.resolve(),\n };\n };\n\n PDFJS.renderTextLayer = renderTextLayer;\n};\n\ndescribe('PDF utils', () => {\n let pdf;\n\n describe('extractPDFInfo', () => {\n beforeEach(() => {\n pdf = {\n numPages: 2,\n getPage: jest.fn().mockReturnValue(Promise.resolve()),\n };\n spyOn(PDFJS, 'getDocument').and.returnValue({ promise: Promise.resolve(pdf) });\n spyOn(PDFUtils, 'extractPageInfo').and.returnValue(Promise.resolve(55));\n });\n\n it('should return page character count added for all pages', done => {\n PDFUtils.extractPDFInfo('pdfFile').then(pdfInfo => {\n expect(pdfInfo).toEqual({ 1: { chars: 55 }, 2: { chars: 110 } });\n done();\n });\n });\n });\n\n describe('extractPageInfo', () => {\n it('should return number of characters on the page', done => {\n const page = {\n getViewport: jest.fn(),\n getTextContent: jest.fn().mockReturnValue(Promise.resolve({})),\n };\n\n mockDefaultTextLayerFactory();\n\n PDFUtils.extractPageInfo(page).then(chars => {\n expect(chars).toEqual(6);\n done();\n });\n });\n });\n});" +"#pragma once\n\n#include \n\n#include \n#include \n#include \n\nnamespace torch {\nnamespace data {\nnamespace transforms {\n\n/// A `BatchTransform` that applies a user-provided functor to a batch.\ntemplate \nclass BatchLambda : public BatchTransform {\n public:\n using typename BatchTransform::InputBatchType;\n using typename BatchTransform::OutputBatchType;\n using FunctionType = std::function;\n\n /// Constructs the `BatchLambda` from the given `function` object.\n explicit BatchLambda(FunctionType function)\n : function_(std::move(function)) {}\n\n /// Applies the user-provided function object to the `input_batch`.\n OutputBatchType apply_batch(InputBatchType input_batch) override {\n return function_(std::move(input_batch));\n }\n\n private:\n FunctionType function_;\n};\n\n// A `Transform` that applies a user-provided functor to individual examples.\ntemplate \nclass Lambda : public Transform {\n public:\n using typename Transform::InputType;\n using typename Transform::OutputType;\n using FunctionType = std::function;\n\n /// Constructs the `Lambda` from the given `function` object.\n explicit Lambda(FunctionType function) : function_(std::move(function)) {}\n\n /// Applies the user-provided function object to the `input`.\n OutputType apply(InputType input) override {\n return function_(std::move(input));\n }\n\n private:\n FunctionType function_;\n};\n\n} // namespace transforms\n} // namespace data\n} // namespace torch" +"/*\n *\n * Copyright 2020 WeBank\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage com.webank.wedatasphere.exchangis.job.domain;\n\nimport com.fasterxml.jackson.annotation.JsonFormat;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport java.util.Date;\n\n/**\n * @author enjoyyin\n * 2019/12/26\n */\n@JsonInclude(JsonInclude.Include.NON_EMPTY)\npublic class JobInfoParams {\n private Long jobId;\n private String paramName;\n\n private String paramVal;\n\n @JsonFormat(pattern = \"yyyy-MM-dd HH:mm:ss\")\n private Date createTime;\n\n public JobInfoParams(Long jobId, String paramName, String paramVal){\n this.jobId = jobId;\n this.paramName = paramName;\n this.paramVal = paramVal;\n }\n\n public JobInfoParams(){\n\n }\n\n public Long getJobId() {\n return jobId;\n }\n\n public void setJobId(Long jobId) {\n this.jobId = jobId;\n }\n\n public String getParamName() {\n return paramName;\n }\n\n public void setParamName(String paramName) {\n this.paramName = paramName;\n }\n\n public String getParamVal() {\n return paramVal;\n }\n\n public void setParamVal(String paramVal) {\n this.paramVal = paramVal;" +"\ufeffusing System.Collections.Generic;\nusing System.Threading.Tasks;\nusing Hylasoft.Opc.Common;\n\nnamespace Hylasoft.Opc.Da\n{\n ///

    \n /// Client Implementation for DA\n /// \n public partial class DaClient\n {\n /// \n /// Read a tag asynchronusly\n /// \n public async Task> ReadAsync(string tag)\n {\n return await Task.Run(() => Read(tag));\n }\n\n /// \n /// Write a value on the specified opc tag asynchronously\n /// \n public async Task WriteAsync(string tag, T item)\n {\n await Task.Run(() => Write(tag, item));\n }\n\n /// \n /// Finds a node on the Opc Server asynchronously\n /// \n public async Task FindNodeAsync(string tag)\n {\n return await Task.Run(() => FindNode(tag));\n }\n\n /// \n /// Explore a folder on the Opc Server asynchronously\n /// \n public async Task> ExploreFolderAsync(string tag)\n {\n return await Task.Run(() => ExploreFolder(tag));\n }\n }\n}" +"## Vespucci 0.9.7 Highlights\n\n2016-08-16\n\n * Address tags used for address prediction can be configured.\n * Alert/Notification generation from auto-download background process\n * Reworked implementation of the Notes subsystem.\n * Support for Osmose generated \"Bugs\"\n * Offline support: \"Bugs\" can be downloaded at home and added/edited during survey and either uploaded immediately individually or in bulk post-survey. Downloaded data will be stored over the app life cycle and will remain available even if the app is terminated.\n * Filtering of Osmose issue levels\n * Separate auto-download parameters\n * Support for translated presets. \n * Search in presets.\n * Improved keyboard support\n * Grid/scale overlay\n * Experimental voice support (work in progress)\n * in \"New\" mode (long press): a name (example \"McDonalds\") or a preset name, either in English (or in German), (example: \"Butcher\" or \"Fleischer\" or \"Fleischer Schmidt\") or a number (\"twentytwo\") will create a node of the corresponding kind or an address \non the main screen \n * in lock mode touching the screen will work with \"map\" or in German \"hier\" followed by one of the above, the node will be created at the current GPS position (which is less useful than you think)\n * note: the facility uses googles" +"---\nname: \u2764\ufe0f Thank you\nabout: Tell us how the extension is helpful to you\ntitle: \"\"\nlabels: \"\"\nassignees: \"\"\n---\n\n## \u2764\ufe0f I'm using Abracadabra\n\n_Tell us how you're using it and what you really like about it!_\n\n## If you want to help us\n\nHave a look at [our contributing guide][contributing]. Contributions of any kind are welcome!\n\nHere are few ideas:\n\n- [Rate Abracadabra on the Marketplace][rate-abracadabra]\n- Share the link to your friends or colleagues\n- Help out with issues ([list of good first issues][good-first-issues])\n- Blog about the extension\n- Present Abracadabra at a local meetup\n\nIf you do, let us know. We'd love to hear from you!\n\nThank you! \ud83d\udc90\u2728\n\n[contributing]: https://github.com/nicoespeon/abracadabra/blob/master/CONTRIBUTING.md\n[rate-abracadabra]: https://marketplace.visualstudio.com/items?itemName=nicoespeon.abracadabra&ssr=false#review-details\n[good-first-issues]: https://github.com/nicoespeon/abracadabra/issues?q=is%3Aissue+is%3Aopen+label%3A%22%3Awave%3A+Good+first+issue%22" +"#include \n#include \n#include \n\nusing namespace std;\n\nint main() {\n\tdouble a, b, c, d;\n\n\tcin >> a >> b >> c;\n\tif (a == 0) {\n\t\tif (b == 0) {\n\t\t\tif (c == 0) {\n\t\t\t\tcout << -1 << endl;\n\t\t\t} else {\n\t\t\t\tcout << 0 << endl;\n\t\t\t}\n\t\t} else {\n\t\t\tcout << 1 << endl << fixed << setprecision(10) << -c / b << endl;\n\t\t}\n\t} else {\n\t\tif (a < 0) {\n\t\t\ta = -a;\n\t\t\tb = -b;\n\t\t\tc = -c;\n\t\t}\n\t\td = b * b - 4 * a * c;\n\t\tif (d < -1e-8) {\n\t\t\tcout << 0 << endl;\n\t\t} else {\n\t\t\td = sqrt(fabs(d));\n\t\t\tif (d < 1e-8) {\n\t\t\t\tcout << 1 << endl << fixed << setprecision(20) << -b / (2 * a) << endl;\n\t\t\t} else {\n\t\t\t\tcout << 2 << endl;\n\t\t\t\tcout << fixed << setprecision(20) << (-b - d) / (2 * a) << endl;\n\t\t\t\tcout << fixed << setprecision(20) << (-b + d) / (2 * a) << endl;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn 0;\n}\n\n//# \tWhen \tWho \tProblem \tLang \tVerdict \tTime \tMemory\n//278892 \tFeb 11, 2011 6:09:45 PM \twatashi \t20B -" +"---\ndate: 2016-10-07T10:56:02-04:00\ndescription: \"\"\ntags:\n- go\n- development\n- hugo\ntitle: Hugo goes global\ntopics:\n- Development\n- golang\n---\n\nHugo is going Global! Hugo 0.17, released today, is our best and fastest\nrelease ever! **Hugo 0.17 is nearly twice as fast as Hugo 0.16** and adds\n**full support for multilingual websites** with i18n support throughout all\nof Hugo.\n\n\n\nHugo is going global with our 0.17 release. We put a lot of thought into\nhow we could extend Hugo to support multilingual websites with the most\nsimple and elegant experience. Hugo\u2019s multilingual capabilities rival\nthe best web and documentation software, but Hugo\u2019s experience is\nunmatched. If you have a single language website, the simple Hugo\nexperience you already love is unchanged. Adding additional languages to\nyour website is simple and straightforward. Hugo has been completely\ninternally rewritten to be multilingual aware with translation and\ninternationalization features embedded throughout Hugo.\n\nHugo continues its trend of each release being faster than the last.\nIt\u2019s quite a challenge to consistently add significant new functionality\nand simultaneously dramatically improve performance.\n[@bep](//github.com/bep) has made it his personal mission to apply the\nGo mantra of \u201cEnable more. Do less\u201d to Hugo. Hugo\u2019s consistent" +"{% extends \"page.html.twig\" %}\n\n{% do gantry.theme.setLayout('_unsupported') %}\n\n{% block content %}\n

    Unsupported Browser

    \n

    We have detected that you are using Internet Explorer 7, a browser version that is not supported by this website. Internet Explorer 7 was released in October of 2006, and the latest version of IE7 was released in October of 2007. It is no longer supported by Microsoft.

    \n

    Continuing to run IE7 leaves you open to any and all security vulnerabilities discovered since that date. In March of 2011, Microsoft released version 9 of Internet Explorer that, in addition to providing greater security, is faster and more standards compliant than versions 6, 7, and 8 that came before it.

    \n

    We suggest installing the latest version of Internet Explorer, or the latest version of these other popular browsers: Firefox, Google Chrome, Safari, Opera

    \n\n{% endblock %}" +"import React, { Component } from \"react\";\nimport browser from \"webextension-polyfill\";\nimport getShortcut from \"src/common/getShortcut\";\nimport CategoryContainer from \"./CategoryContainer\";\n\nexport default class KeyboardShortcutPage extends Component {\n constructor(props) {\n super(props);\n this.state = {\n commands: [],\n isInit: false\n };\n this.initCommands();\n }\n\n async initCommands() {\n const commands = await browser.commands.getAll();\n const rawDescription = /^__MSG_(.*)__$/;\n const convertedCommands = commands.map(command => {\n const isRawDescription = rawDescription.test(command.description);\n if (isRawDescription)\n command.description = browser.i18n.getMessage(command.description.match(rawDescription)[1]);\n return command;\n });\n\n this.setState({ commands: convertedCommands, isInit: true });\n }\n\n render() {\n const commandElements = this.state.commands.map(command => ({\n id: command.name,\n title: command.description,\n useRawTitle: true,\n captions: [],\n type: \"keyboard-shortcut\",\n shortcut: command.shortcut || \"\",\n defaultValue: getShortcut(command.name)\n }));\n\n const shortcutCategory = {\n category: \"\",\n elements: [\n {\n id: \"keyboard\",\n title: \"keyboardShortcutsLabel\",\n captions: [\"setKeyboardShortCutsMessage\"],\n type: \"none\",\n childElements: commandElements\n }\n ]\n };\n\n return (\n
    \n

    {browser.i18n.getMessage(\"keyboardShortcutsLabel\")}

    \n
    \n {this.state.isInit &&
      {}
    }\n
    \n );\n }\n}" +"## KeyBoy IOCs\n\nThis directory contains IOCs from the Citizen Lab report [It\u2019s Parliamentary: KeyBoy and the targeting of the Tibetan Community](https://citizenlab.org/2016/11/parliament-keyboy/) published the 17th of November 2016.\n\nFiles included in this directory:\n* openioc.ioc : IOCs in OpenIOC format\n* stix.xml : IOCs in STIX XML format\n* iocs.csv : IOCs in csv format\n* keyboy.yar : Yara rules related to the KeyBoy samples identified\n* kb_c2Decode.py : script to decode KeyBoy C2 communications (see help hereafter)\n* kb_configDecode.py : script to decode KeyBoy configuration (see help hereafter)\n\n\n### kb_c2Decode.py\n\nHelp:\n```bash\n$ python kb_c2Decode.py -h\nusage: kb_c2Decode.py [-h] (-k KEY | -b BINARY) [--verbose] PCAPF\n\nDecode KeyBoy C2 traffic from pcap file\n\npositional arguments:\n PCAPF PCAP File containing c2 traffic\n\noptional arguments:\n -h, --help show this help message and exit\n -k KEY, --key KEY Manually provide C2 decode key\n -b BINARY, --binary BINARY\n KeyBoy binary\n --verbose, -v Enable verbose output\n\n```\n\nExample:\n```\n$ python kb_c2Decode.py -b wab32res.dll dump.pcap\n============================\n{KeyBoy C2 Traffic decoder}\n============================\n\nFound constant: 0x71\nComputing decode value...\nFound decoding multiplier (inverse): 0x91\nSearching PCAP for RAW TCP packets and decoding...\n\n*a*\nHOME-PC\n192.168.100.103\nMyUser\n2016/06/03 00:24:20\n20151108\n```\n\n\n### kb_configDecode.py\n\nHelp:\n```\n$ python" +"\"\"\"\nBase class for Tasks so that the core INIT functions are based.\nPurely for inheritance\n\nAllows the new task to expand the constructor\n\"\"\"\n\n__author__ = \"Matt Lorentzen @lorentzenman\"\n__license__ = \"MIT\"\n\n\n#######################################################################\n# Base Task Class Definition\n#######################################################################\n\nclass BaseTask:\n \"\"\"\n # Uniform Task Constructor Arguments\n : interactive > boolean value from --interactive switch \n : counter > counter tracker\n : csh > Current Instantiated Sheepl Object\n : cl > Colour Object\n : **kargs > additional constructor keyword arguments\n \"\"\"\n\n \"\"\"\n Note about **kwds if this works\n \"\"\"\n\n def __init__(self, interactive, counter, csh, cl, **kwds):\n\n # uniform variable declarations\n self.interactive = interactive\n ## look at the ID to see if this can be encapsulated into the 'csh' object\n self.counter = counter\n self.csh = csh\n self.cl = cl\n super().__init__(**kwds)" +"/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\npackage org.apache.cxf.systest.jaxws;\n\nimport javax.xml.bind.annotation.XmlRootElement;\nimport javax.xml.ws.WebFault;\n\n@WebFault()\npublic class ServiceTestFault extends Exception {\n private static final long serialVersionUID = 5264515601561673284L;\n private ServiceTestDetails details;\n\n public ServiceTestFault(String msg) {\n super(msg);\n }\n public ServiceTestFault(String msg, ServiceTestDetails details) {\n super(msg);\n this.details = details;\n }\n public ServiceTestFault(ServiceTestDetails details) {\n super();\n this.details = details;\n }\n public ServiceTestDetails getFaultInfo() {\n return details;\n }\n\n @XmlRootElement(name = \"ServiceTestDetails\")\n public static class ServiceTestDetails {\n private long id;\n\n public ServiceTestDetails() {" +"/*++\r\nCopyright (c) Microsoft Corporation\r\nLicensed under the MIT license.\r\n\r\nModule Name:\r\n- WaitQueue.h\r\n\r\nAbstract:\r\n- This file manages a queue of wait blocks\r\n\r\nAuthor:\r\n- Michael Niksa (miniksa) 17-Oct-2016\r\n\r\nRevision History:\r\n- Adapted from original items in handle.h\r\n--*/\r\n\r\n#pragma once\r\n\r\n#include \r\n\r\n#include \"..\\host\\conapi.h\"\r\n\r\n#include \"IWaitRoutine.h\"\r\n#include \"WaitBlock.h\"\r\n#include \"WaitTerminationReason.h\"\r\n\r\nclass ConsoleWaitQueue\r\n{\r\npublic:\r\n ConsoleWaitQueue();\r\n\r\n ~ConsoleWaitQueue();\r\n\r\n bool NotifyWaiters(const bool fNotifyAll);\r\n\r\n bool NotifyWaiters(const bool fNotifyAll,\r\n const WaitTerminationReason TerminationReason);\r\n\r\n [[nodiscard]] static HRESULT s_CreateWait(_Inout_ CONSOLE_API_MSG* const pWaitReplyMessage,\r\n _In_ IWaitRoutine* const pWaiter);\r\n\r\nprivate:\r\n bool _NotifyBlock(_In_ ConsoleWaitBlock* pWaitBlock,\r\n const WaitTerminationReason TerminationReason);\r\n\r\n std::list _blocks;\r\n\r\n friend class ConsoleWaitBlock; // Blocks live in multiple queues so we let them manage the lifetime.\r\n};" +"\n * $ingest = Omeka_File_Ingest_AbstractIngest::factory('Url', $item);\n * $fileRecords = $ingest->ingest('http://www.example.com');\n * \n * \n * @package Omeka\\File\\Ingest\n */\nabstract class Omeka_File_Ingest_AbstractIngest\n{\n /**\n * @var Item\n */\n protected $_item;\n\n /**\n * Set of arbitrary options to use when ingesting files.\n *\n * @var array\n */\n protected $_options = array();\n\n /**\n * Set of validators implementing Zend_Validate_Interface.\n * \n * @var array\n * @see Omeka_File_Ingest_AbstractIngest::addValidator()\n */\n private $_validators = array();\n\n /**\n * The current validated file MIME type.\n * \n * @see Omeka_Validate_File_MimeType::isValid()\n * @var string\n */" +"/*\n * SynctexServerOperations.java\n *\n * Copyright (C) 2020 by RStudio, PBC\n *\n * Unless you have received this program directly from RStudio pursuant\n * to the terms of a commercial license agreement with RStudio, then\n * this program is licensed to you under the terms of version 3 of the\n * GNU Affero General Public License. This program is distributed WITHOUT\n * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,\n * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the\n * AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.\n *\n */\n\npackage org.rstudio.studio.client.common.synctex.model;\n\nimport org.rstudio.studio.client.server.ServerRequestCallback;\n\npublic interface SynctexServerOperations\n{\n void applyForwardConcordance(String rootDocument,\n SourceLocation sourceLocation,\n ServerRequestCallback callback);\n \n void synctexForwardSearch(String rootDocument,\n SourceLocation sourceLocation, \n ServerRequestCallback callback);\n \n \n void synctexInverseSearch(PdfLocation pdfLocation,\n ServerRequestCallback callback);\n \n void applyInverseConcordance(SourceLocation sourceLocation,\n ServerRequestCallback callback);\n \n}" +"#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE file distributed with\n# this work for additional information regarding copyright ownership.\n# The ASF licenses this file to You under the Apache License, Version 2.0\n# (the \"License\"); you may not use this file except in compliance with\n# the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n---\n# Remove kafka and zookeeper containers.\n\n- name: remove old kafka\n docker_container:\n name: kafka\n image: \"{{ docker_registry }}{{ docker.image.prefix }}/kafka:{{ docker.image.tag }}\"\n keep_volumes: False\n state: absent\n ignore_errors: True\n\n- name: remove kafka\n docker_container:\n name: kafka{{ groups['kafkas'].index(inventory_hostname) }}\n image: \"{{ docker_registry }}{{ docker.image.prefix }}/kafka:{{ docker.image.tag }}\"\n keep_volumes: False\n state: absent\n ignore_errors: True" +"Teclas de Atalhos Gen\u00e9ricas\n===========================\n\nAlgumas das teclas de atalhos se aplicam a qualquer painel que esteja\nselecionado. Elas s\u00e3o chamadas teclas de atalhos gen\u00e9ricas.\n\nAqui est\u00e1 a lista de todas as teclas de atalhos gen\u00e9ricas, junto com\nsuas respectivas a\u00e7\u00f5es:\n\n '^R' : Redesenhar -> redesenha pain\u00e9is do calcurse, sendo \u00fatil se\n voc\u00ea redimensionar a sua tela de terminal ou\n quando aparece lixo na vis\u00e3o do calcurse\n '^A' : AdicAgend -> adiciona um agendamento ou um evento\n '^T' : AdiTarefa -> adiciona uma tarefa\n 'T' : -1 Dia -> move para dia anterior\n 't' : +1 Dia -> move para dia seguinte\n 'W' : -1 Semana -> move para semana anterior\n 'w' : +1 Semana -> move para semana seguinte\n 'M' : -1 M\u00eas -> move para m\u00eas anterior\n 'm' : +1 M\u00eas -> move para m\u00eas seguinte\n 'Y' : -1 Ano -> move para ano anterior\n 'y' : +1 Ano -> move para ano seguinte\n '^G' : IrPara hoje -> move para o dia de hoje\n\nAs teclas '^P' e '^N' s\u00e3o usadas para rolar texto para cima e para\nbaixo quando se est\u00e1 dentro de telas espec\u00edficas, como, por exemplo,\nas telas de ajuda. Elas tamb\u00e9m s\u00e3o usadas" +"/*\n * Copyright 2016 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.gradle.tooling.internal.consumer.connection;\n\nimport org.gradle.initialization.BuildCancellationToken;\nimport org.gradle.tooling.BuildCancelledException;\n\npublic class CancellableConsumerActionExecutor implements ConsumerActionExecutor {\n private final ConsumerActionExecutor delegate;\n\n public CancellableConsumerActionExecutor(ConsumerActionExecutor delegate) {\n this.delegate = delegate;\n }\n\n @Override\n public void stop() {\n delegate.stop();\n }\n\n @Override\n public String getDisplayName() {\n return delegate.getDisplayName();\n }\n\n @Override\n public T run(ConsumerAction action) throws UnsupportedOperationException, IllegalStateException {\n BuildCancellationToken cancellationToken = action.getParameters().getCancellationToken();\n if (cancellationToken.isCancellationRequested()) {\n throw new BuildCancelledException(\"Build cancelled\");\n }\n return delegate.run(action);\n }\n\n @Override\n public void disconnect() {\n delegate.disconnect();\n }\n}" +"/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\nmodule thrift.codegen.client;\n\nimport std.algorithm : find;\nimport std.array : empty, front;\nimport std.conv : to;\nimport std.traits : isSomeFunction, ParameterStorageClass,\n ParameterStorageClassTuple, ParameterTypeTuple, ReturnType;\nimport thrift.codegen.base;\nimport thrift.internal.codegen;\nimport thrift.internal.ctfe;\nimport thrift.protocol.base;\n\n/**\n * Thrift service client, which implements an interface by synchronously\n * calling a server over a TProtocol.\n *\n * TClientBase simply extends Interface with generic input/output protocol\n * properties to serve as a supertype for all TClients for" +"\ufeffusing DotNet;\r\n\r\nusing Nemerle.Collections;\r\n\r\nusing Nitra.AstUtils;\r\nusing Nitra.Declarations;\r\nusing Nitra.Utils;\r\n\r\nusing System.Drawing;\r\n\r\nusing R = Nitra.Ast.RegexExpressions;\r\n\r\nnamespace Nitra.Ast.RegexExpressions\r\n{\r\n abstract ast Expression : BindableAst\r\n {\r\n }\r\n\r\n abstract ast Unary : R.Expression\r\n {\r\n Expression.Scope = Scope;\r\n Expression : R.Expression;\r\n }\r\n\r\n abstract ast Binary : R.Expression\r\n {\r\n Expression1.Scope = Scope;\r\n Expression2.Scope = Scope;\r\n\r\n Expression1 : R.Expression;\r\n Expression2 : R.Expression;\r\n }\r\n\r\n abstract ast List : R.Unary\r\n {\r\n Expressions.Scope = Scope;\r\n\r\n Expressions : R.Expression*;\r\n }\r\n\r\n ast Sequence : R.List { }\r\n ast Choice : R.List { }\r\n ast Subtract : R.Binary { }\r\n ast Optional : R.Unary { }\r\n ast Repeat : R.Unary { }\r\n ast RepeatWithSeparator : R.Unary\r\n {\r\n Separator.Scope = Scope;\r\n Separator : R.Expression;\r\n }\r\n\r\n ast Call : R.Expression\r\n {\r\n RuleReference.Scope = Scope;\r\n\r\n RuleReference : QualifiedReference;\r\n }\r\n\r\n ast Char : R.Expression { Literal : CharLiteral; }\r\n ast String : R.Expression { Literal : StringLiteral; }\r\n ast Range : R.Expression { }\r\n ast InvertedRange : R.Expression { }\r\n}" +"# pylint: skip-file\n\n#- @A defines/binding ClassA\n#- ClassA.node/kind class\nclass A(object):\n #- @__init__ defines/binding FnInit\n #- @self defines/binding ArgSelf\n #- FnInit.node/kind function\n #- FnInit param.0 ArgSelf\n def __init__(self):\n #- @self ref ArgSelf\n #- @foo defines/binding AttrFoo\n self.foo = []\n\n def f(self, x):\n #- @foo ref AttrFoo\n self.foo[x] = 10\n\n\n## The attr can be initialised somewhere other than __init__\n\n#- @B defines/binding ClassB\n#- ClassB.node/kind class\nclass B(object):\n def f(self, x):\n #- @bar ref AttrBar\n self.bar[x]\n\n #- @init_bar defines/binding FnInitBar\n #- @self defines/binding ArgBSelf\n #- FnInitBar.node/kind function\n #- FnInitBar param.0 ArgBSelf\n def init_bar(self):\n #- @self ref ArgBSelf\n #- @bar defines/binding AttrBar\n self.bar = []\n return self\n\n ## Attribute accesses could span several lines\n def baz(self):\n (self.\n #- @init_bar ref FnInitBar\n init_bar()\n #- @bar ref AttrBar\n .bar)" +"import { Injectable } from '@angular/core';\n\nimport { Subject } from 'rxjs';\n\nimport { NotifierAction } from '../models/notifier-action.model';\n\n/**\n * Notifier queue service\n *\n * In general, API calls don't get processed right away. Instead, we have to queue them up in order to prevent simultanious API calls\n * interfering with each other. This, at least in theory, is possible at any time. In particular, animations - which potentially overlap -\n * can cause changes in JS classes as well as affect the DOM. Therefore, the queue service takes all actions, puts them in a queue, and\n * processes them at the right time (which is when the previous action has been processed successfully).\n *\n * Technical sidenote:\n * An action looks pretty similar to the ones within the Flux / Redux pattern.\n */\n@Injectable()\nexport class NotifierQueueService {\n\n\t/**\n\t * Stream of actions, subscribable from outside\n\t */\n\tpublic readonly actionStream: Subject;\n\n\t/**\n\t * Queue of actions\n\t */\n\tprivate actionQueue: Array;\n\n\t/**\n\t * Flag, true if some action is currently in progress\n\t */\n\tprivate isActionInProgress: boolean;\n\n\t/**\n\t * Constructor\n\t */\n\tpublic constructor() {\n\t\tthis.actionStream = new Subject();\n\t\tthis.actionQueue = [];\n\t\tthis.isActionInProgress = false;\n\t}\n\n\t/**\n\t * Push a new action" +"#region License\r\n\r\n/*\r\n * Copyright \u00a9 2002-2011 the original author or authors.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\n#endregion\r\n\r\n#region Imports\r\n\r\nusing System;\r\nusing NUnit.Framework;\r\nusing Spring.Collections;\r\n\r\n#endregion\r\n\r\nnamespace Spring.Objects.Factory.Config\r\n{\r\n\t/// \r\n\t/// Unit tests for the ConstructorArgumentValues class.\r\n\t/// \r\n\t/// Rick Evans (.NET)\r\n\t[TestFixture]\r\n\tpublic sealed class ConstructorArgumentValuesTests\r\n\t{\r\n\t\t[Test]\r\n\t\tpublic void Instantiation()\r\n\t\t{\r\n\t\t\tConstructorArgumentValues values = new ConstructorArgumentValues();\r\n\t\t\tAssert.IsNotNull(values.GenericArgumentValues, \"The 'GenericArgumentValues' property was not initialised.\");\r\n\t\t\tAssert.IsNotNull(values.IndexedArgumentValues, \"The 'IndexedArgumentValues' property was not initialised.\");\r\n\t\t\tAssert.IsNotNull(values.NamedArgumentValues, \"The 'NamedArgumentValues' property was not initialised.\");\r\n\t\t\tAssert.AreEqual(0, values.ArgumentCount, \"There were some arguments in a newly initialised instance.\");\r\n\t\t\tAssert.IsTrue(values.Empty, \"A newly initialised instance was not initially empty.\");\r\n\t\t}\r\n\r\n\t\t[Test]\r\n\t\tpublic void GetGenericArgumentValueIgnoresAlreadyUsedValues()\r\n\t\t{\r\n\t\t\tISet used = new ListSet();\r\n\r\n\t\t\tConstructorArgumentValues" +"\"\"\" An example of how to use Chaco to render a visual Traits UI editor.\nThis particular editor allows the user to set two endpoints of an\ninterval.\n\"\"\"\n\n\nfrom traits.etsconfig.api import ETSConfig\nif ETSConfig.toolkit == 'wx':\n from traitsui.wx.editor import Editor\nelse:\n from traitsui.qt4.editor import Editor\n\nfrom traitsui.editor_factory import EditorFactory\n\nfrom enable.window import Window\nfrom enable.api import ColorTrait\n\nfrom chaco.api import OverlayPlotContainer, create_line_plot, \\\n LinePlot\nfrom chaco.tools.api import RangeSelection, RangeSelectionOverlay\n\nfrom traits.api import Int, TraitType, Instance, Float\n\nfrom math import pi\n\n\nclass Interval(TraitType):\n \"\"\"Trait that represents an interval.\n\n \"\"\"\n info_text = \"an interval (x,y) where x < y\"\n\n def __init__(self, low=0, high=1, **metadata):\n value = (low, high)\n TraitType.__init__(self, value, **metadata)\n self.value = (low, high)\n\n def validate(self, object, name, value):\n low, high = value\n\n if low <= high:\n return value\n\n self.error(object, name, value)\n\n def create_editor(self):\n return IntervalEditor()\n\n\nclass IntervalEditorFactory(EditorFactory):\n width = Int(300)\n height = Int(40)\n\n def simple_editor(self, ui, object, name, description, parent):\n trait = object.trait(name).trait_type\n low, high = trait.value\n return IntervalEditorImpl(parent, factory=self, ui=ui,\n object=object, name=name,\n description=description,\n low=low,\n high=high)\n\nclass RangeKnobsOverlay(RangeSelectionOverlay):\n radius = Float(3)\n low_color = ColorTrait(\"red\")\n high_color = ColorTrait(\"red\")\n\n # Override the default alpha and border color, inherited from\n # RangeSelectionOverlay; these are more appropriate for our application.\n alpha = Float(0.8)" +"t6120.scala:5: warning: postfix operator bippy should be enabled\nby making the implicit value scala.language.postfixOps visible.\nThis can be achieved by adding the import clause 'import scala.language.postfixOps'\nor by setting the compiler option -language:postfixOps.\nSee the Scala docs for value scala.language.postfixOps for a discussion\nwhy the feature should be explicitly enabled.\n def f = null == null bippy\n ^\nt6120.scala:5: warning: method bippy in class BooleanOps is deprecated: bobo\n def f = null == null bippy\n ^\nt6120.scala:5: warning: comparing values of types Null and Null using `==' will always yield true\n def f = null == null bippy\n ^\nt6120.scala:6: warning: method bippy in class BooleanOps is deprecated: bobo\n def g = true.bippy\n ^\nerror: No warnings can be incurred under -Xfatal-warnings.\nfour warnings found\none error found" +"/*\n * \u03bclogger\n *\n * Copyright(C) 2019 Bartek Fabiszewski (www.fabiszewski.net)\n *\n * This is free software; you can redistribute it and/or modify it under\n * the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but\n * WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, see .\n */\n\n/* eslint-disable func-style,lines-between-class-members,class-methods-use-this,max-classes-per-file */\nexport const setupGmapsStub = () => {\n // noinspection JSUnresolvedVariable,JSConstantReassignment,JSUnusedGlobalSymbols\n window.google = {\n maps: {\n Animation: {\n BOUNCE: 1,\n DROP: 2\n },\n event: {\n addListener: () => {/* ignore */},\n addListenerOnce: () => {/* ignore */},\n removeListener: () => {/* ignore */},\n clearListeners: () => {/* ignore */}\n },\n Icon: class Icon {/* ignore */},\n InfoWindow: class InfoWindow {\n addListener() {/* ignore */}\n open() {/* ignore */}\n close() {/* ignore */}\n getMap() {/* ignore" +"package rsc.publisher;\n\nimport java.util.Objects;\nimport java.util.function.Supplier;\n\nimport org.reactivestreams.Publisher;\nimport org.reactivestreams.Subscriber;\nimport rsc.flow.Receiver;\nimport rsc.subscriber.SubscriptionHelper;\n\n/**\n * Defers the creation of the actual Publisher the Subscriber will be subscribed to.\n *\n * @param the value type\n */\npublic final class PublisherDefer \nextends Px\n implements Receiver {\n\n final Supplier> supplier;\n\n public PublisherDefer(Supplier> supplier) {\n this.supplier = Objects.requireNonNull(supplier, \"supplier\");\n }\n\n @Override\n public Object upstream() {\n return supplier;\n }\n\n @Override\n public void subscribe(Subscriber s) {\n Publisher p;\n\n try {\n p = supplier.get();\n } catch (Throwable e) {\n SubscriptionHelper.error(s, e);\n return;\n }\n\n if (p == null) {\n SubscriptionHelper.error(s, new NullPointerException(\"The Producer returned by the supplier is null\"));\n return;\n }\n\n p.subscribe(s);\n }\n}" +"/**\n * Copyright 2020 The Magma Authors.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @flow strict-local\n * @format\n */\n\nimport CloseIcon from '@material-ui/icons/Close';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport IconButton from '@material-ui/core/IconButton';\nimport React from 'react';\nimport Text from './Text';\n\nimport {colors} from '../default';\nimport {makeStyles} from '@material-ui/styles';\n\nconst useStyles = makeStyles(() => ({\n closeButton: {\n color: colors.primary.white,\n padding: 0,\n },\n}));\n\ntype Props = {\n label: string,\n onClose: () => void,\n};\n\nexport default function CustomDialogTitle(props: Props) {\n const classes = useStyles(props);\n return (\n \n {props.label}\n \n \n \n \n );\n}" +"#include \"9cc.h\"\n\n// This is a recursive-descendent parser which constructs abstract\n// syntax tree from input tokens.\n//\n// Variable names are resolved at this stage. We create a Var object\n// when we see a variable definition and use it when we see a variable\n// reference.\n//\n// Types are added to variables and literals. For other nodes, Sema\n// will add type for them.\n//\n// Semantic checking is omitted from this parser to make the code in\n// this file closely resemble the C's BNF. Invalid expressions, such\n// as `1+2=3`, are accepted at this stage. Such errors are detected in\n// a later pass.\n\nint nlabel = 1;\n\ntypedef struct Env {\n Map *vars;\n Map *typedefs;\n Map *tags;\n struct Env *prev;\n} Env;\n\nstatic Program *prog;\nstatic Vector *lvars;\nstatic Vector *breaks;\nstatic Vector *continues;\nstatic Vector *switches;\n\nstatic Vector *tokens;\nstatic int pos;\nstruct Env *env;\n\nstatic Node null_stmt = {ND_NULL};\n\nstatic Env *new_env(Env *prev) {\n Env *env = calloc(1, sizeof(Env));\n env->vars = new_map();\n env->typedefs = new_map();\n env->tags = new_map();\n env->prev = prev;\n return env;\n}\n\nstatic Var *find_var(char *name) {\n for (Env *e = env; e; e = e->prev) {\n Var *var =" +"// 8859_16 -- one- or two-byte/wide-character tables\r\n\r\n// Copyright (c) Microsoft Corporation.\r\n// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\r\n\r\n#pragma once\r\n\r\n#ifndef _CVT_8859_16_\r\n#define _CVT_8859_16_\r\n#include \r\n#if _STL_COMPILER_PREPROCESSOR\r\n//\r\n// Name: ISO/IEC 8859-16:2001 to Unicode\r\n// Unicode version: 3.0\r\n// Table version: 1.0\r\n// Table format: Format A\r\n// Date: 2001 July 26\r\n// Authors: Markus Kuhn\r\n//\r\n// Copyright (c) 1999-2001 Unicode, Inc. All Rights reserved.\r\n//\r\n// This file is provided as-is by Unicode, Inc. (The Unicode Consortium).\r\n// No claims are made as to fitness for any particular purpose. No\r\n// warranties of any kind are expressed or implied. The recipient\r\n// agrees to determine applicability of information provided. If this\r\n// file has been provided on optical media by Unicode, Inc., the sole\r\n// remedy for any claim will be exchange of defective media within 90\r\n// days of receipt.\r\n//\r\n// Unicode, Inc. hereby grants the right to freely use the information\r\n// supplied in this file in the creation of products supporting the\r\n// Unicode Standard, and to make copies of this file in any form for\r\n// internal or external distribution as long as this notice remains\r\n// attached.\r\n//\r\n// General notes:\r\n//" +"0\n2\n2\n2\n2\n2\n2\n0\n0\n0\n2\n2\n0\n0\n2\n4\n4\n0\n6\n0\n2\n0\n2\n2\n0\n4\n0\n0\n0\n2\n2\n0\n0\n2\n2\n0\n0\n2\n2\n2\n0\n2\n2\n4\n0\n0\n0\n0\n4\n0\n0\n0\n0\n0\n2\n0\n0\n2\n2\n4\n0\n4\n0\n6\n4\n2\n0\n0\n0\n2\n0\n2\n4\n2\n0\n0\n2\n0\n0\n2\n2\n2\n0\n2\n0\n2\n0\n0\n0\n0\n0\n0\n2\n2\n0\n2\n0\n2\n4\n0\n2\n4\n4\n0\n2\n2\n0\n0\n0\n2\n4\n0\n2\n0\n2\n0\n4\n2\n2\n0\n4\n4\n0\n0\n2\n0\n2\n0\n4\n2\n2\n0\n2\n0\n0\n0\n0\n4\n0\n4\n5\n2\n2\n0\n4\n2\n0\n0\n2\n0\n0\n2\n4\n2\n6\n0\n0\n0\n2\n2\n2\n2\n2\n2\n0\n2\n0\n0\n2\n2\n4\n0\n4\n2\n0\n4\n2\n2\n2\n0\n0\n0\n4\n2\n0\n2\n8\n2\n4\n2\n4\n2\n0\n2\n0\n4\n13\n2\n0\n2" +"from __future__ import print_function, unicode_literals, absolute_import\n\nclass Event(object):\n '''Represent events from the console.'''\n def __init__(self, console, input):\n pass\n\n def __repr__(self):\n '''Display an event for debugging.'''\n if self.type in ['KeyPress', 'KeyRelease']:\n chr = self.char\n if ord(chr) < ord(\"A\"):\n chr = \"?\"\n s = \"%s char='%s'%d keysym='%s' keycode=%d:%x state=%x keyinfo=%s\" % \\\n (self.type, chr, ord(self.char), self.keysym, self.keycode, self.keycode,\n self.state, self.keyinfo)\n elif self.type in ['Motion', 'Button']:\n s = '%s x=%d y=%d state=%x' % (self.type, self.x, self.y, self.state)\n elif self.type == 'Configure':\n s = '%s w=%d h=%d' % (self.type, self.width, self.height)\n elif self.type in ['FocusIn', 'FocusOut']:\n s = self.type\n elif self.type == 'Menu':\n s = '%s state=%x' % (self.type, self.state)\n else:\n s = 'unknown event type'\n return s\n\n\n# def __str__(self):\n# return \"('%s',%s,%s,%s)\"%(self.char,self.key,self.state,self.keyinfo)" +"#pragma once\n\n#include \"BaseTheme.hpp\"\n#include \"common/Singleton.hpp\"\n#include \"util/RapidJsonSerializeQString.hpp\"\n\n#include \n#include \n#include \n#include \n\nnamespace chatterino {\n\nclass WindowManager;\n\nclass Theme final : public Singleton, public BaseTheme\n{\npublic:\n Theme();\n\n /// SPLITS\n struct {\n QColor messageSeperator;\n QColor background;\n QColor dropPreview;\n QColor dropPreviewBorder;\n QColor dropTargetRect;\n QColor dropTargetRectBorder;\n QColor resizeHandle;\n QColor resizeHandleBackground;\n\n struct {\n QColor border;\n QColor background;\n QColor text;\n QColor focusedText;\n // int margin;\n } header;\n\n struct {\n QColor border;\n QColor background;\n QColor selection;\n QColor focusedLine;\n QColor text;\n QString styleSheet;\n // int margin;\n } input;\n } splits;\n\n void normalizeColor(QColor &color);\n\nprivate:\n void actuallyUpdate(double hue, double multiplier) override;\n void fillLookupTableValues(double (&array)[360], double from, double to,\n double fromValue, double toValue);\n\n double middleLookupTable_[360] = {};\n double minLookupTable_[360] = {};\n\n pajlada::Signals::NoArgSignal repaintVisibleChatWidgets_;\n\n friend class WindowManager;\n};\n\n} // namespace chatterino" +"1\tpolish\tx-vnd.Haiku.TV\t1995288111\nNo menu\tMainWin\t\tBez menu\nNo border\tMainWin\t\tBez ramki\nforce 704 x 576, display aspect 4:3\tMainWin\t\twymu\u015b 704 x 576, proporcje 4:3\nError, connecting to interface failed:\\n\\n\tMainWin\t\tB\u0142\u0105d, nie mo\u017cna pod\u0142\u0105czy\u0107 interfejsu:\\n\\n\nforce 544 x 576, display aspect 4:3\tMainWin\t\twymu\u015b 544 x 576, proporcje 4:3\nFull screen\tMainWin\t\tPe\u0142ny ekran\nScale to native size\tMainWin\t\tZeskaluj do oryginalnego rozmiaru\nunknown\tMainWin\t\tnieznany\nNext channel\tMainWin\t\tNast\u0119pny kana\u0142\nKeep aspect ratio\tMainWin\t\tZachowaj proporcje\nDVB - Digital Video Broadcasting TV\tMainWin\t\tDVB - Digital Video Broadcasting TV\nAlways on top\tMainWin\t\tZawsze na wierzchu\nDebug\tMainWin\t\tDebuguj\nInterface\tMainWin\t\tInterfejs\nforce 720 x 576, display aspect 4:3\tMainWin\t\twymu\u015b 720 x 576, proporcje 4:3\nQuit\tMainWin\t\tZako\u0144cz\nChannel\tMainWin\t\tKana\u0142\nPrevious channel\tMainWin\t\tPoprzedni kana\u0142\nOK\tMainWin\t\tOK\nTV\tMainWin\t\tTelewizja\nSettings\tMainWin\t\tUstawienia\nTV\tSystem name\t\tTV\nSettings\u2026\tMainWin\t\tUstawienia\u2026\nNone\tMainWin\t\tPuste\nError, interface is busy:\\n\\n\tMainWin\t\tB\u0142\u0105d, interfejs zaj\u0119ty:\\n\\n\npixel aspect ratio\tMainWin\t\tproporcje pikseli" +"import Layout from 'components/Layout'\nimport Head from 'next/head'\nimport Link from 'next/link'\n\nfunction Home() {\n return (\n \n \n \n \n \"React\n

    \n React \u269b\ufe0e\u26a1\ufe0f\n
    \n rendering strategies\n

    \n \n \n
    \n )\n}\n\nexport default Home" +"(* Title: Pure/Concurrent/thread_attributes.ML\n Author: Makarius\n\nThread attributes for interrupt handling.\n*)\n\nsignature THREAD_ATTRIBUTES =\nsig\n type attributes\n val get_attributes: unit -> attributes\n val set_attributes: attributes -> unit\n val convert_attributes: attributes -> Thread.Thread.threadAttribute list\n val no_interrupts: attributes\n val test_interrupts: attributes\n val public_interrupts: attributes\n val private_interrupts: attributes\n val sync_interrupts: attributes -> attributes\n val safe_interrupts: attributes -> attributes\n val with_attributes: attributes -> (attributes -> 'a) -> 'a\n val uninterruptible: ((('c -> 'd) -> 'c -> 'd) -> 'a -> 'b) -> 'a -> 'b\n val expose_interrupt: unit -> unit (*exception Interrupt*)\nend;\n\nstructure Thread_Attributes: THREAD_ATTRIBUTES =\nstruct\n\nabstype attributes = Attributes of Word.word\nwith\n\n(* thread attributes *)\n\nval thread_attributes = 0w7;\n\nval broadcast = 0w1;\n\nval interrupt_state = 0w6;\nval interrupt_defer = 0w0;\nval interrupt_synch = 0w2;\nval interrupt_asynch = 0w4;\nval interrupt_asynch_once = 0w6;\n\n\n(* access thread flags *)\n\nval thread_flags = 0w1;\n\nfun load_word () : word =\n RunCall.loadWord (RunCall.unsafeCast (Thread.Thread.self ()), thread_flags);\n\nfun get_attributes () = Attributes (Word.andb (load_word (), thread_attributes));\n\nfun set_attributes (Attributes w) =\n let\n val w' = Word.orb (Word.andb (load_word (), Word.notb thread_attributes), w);\n val _ = RunCall.storeWord (RunCall.unsafeCast (Thread.Thread.self ()), thread_flags, w');\n in\n if Word.andb (w', interrupt_asynch) = interrupt_asynch\n then Thread.Thread.testInterrupt () else ()\n end;" +"# Installs apache and runs the lms wsgi by default\n---\n- name: Installs apache and mod_wsgi from apt\n apt:\n name: \"{{ item }}\"\n install_recommends: no\n state: present\n update_cache: yes\n with_items:\n - apache2\n - libapache2-mod-wsgi\n notify: restart apache\n \n- name: Disables default site\n file:\n path: /etc/apache2/sites-enabled/000-default\n state: absent\n notify: restart apache\n \n- name: Rewrite apache ports conf\n template:\n src: ports.conf.j2\n dest: /etc/apache2/ports.conf\n owner: root\n group: root\n notify: restart apache\n\n- debug:\n msg: \"{{ apache_sites }}\"\n\n- name: \"Copying apache configs for {{ apache_sites }}\"\n template:\n src: \"{{ item }}.j2\"\n dest: \"/etc/apache2/sites-available/{{ item }}\"\n owner: root\n group: \"{{ common_web_user }}\"\n mode: \"0640\"\n notify: restart apache\n with_items: \"{{ apache_sites }}\"\n\n- name: \"Creating apache2 config links for {{ apache_sites }}\"\n file:\n src: \"/etc/apache2/sites-available/{{ item }}\"\n dest: \"/etc/apache2/sites-enabled/{{ item }}\"\n state: link\n owner: root\n group: root\n notify: restart apache\n with_items: \"{{ apache_sites }}\"" +"/*\nCopyright 2013 Google Inc. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage common\n\nconst (\n\tSrcPath = \"/src/v1/\" // PUT, POST\n\tSrcsPath = \"/srcs/v1\" // GET\n\tRecordPath = \"/record/v1/\" // GET, DELETE\n\tDirPath = \"/dir/v1/\" // GET\n\tSearchPath = \"/search\" // GET\n\tVizPath = \"/v\" // GET\n\n\tTimeName = \"_Time\"\n\tRecordNumName = \"_RecordNum\"\n\tRegressNamePrefix = \"REGRESSION_\"\n)" +"[Rank]\nS. Brunonis Confessoris;;Duplex;;3;;vide C5\n\n[RankNewcal]\nS. Brunonis Confessoris;;Duplex optional;;2;;vide C5\n\n[Rule]\nvide C5;\nGloria\n\n[Introitus]\n!Ps 36:30-31\nv. The mouth of the just man tells of wisdom, and his tongue utters what is~\nright. The law of his God is in his heart.\n!Ps 36:1\nBe not vexed over evildoers, nor jealous of those who do wrong.\n&Gloria\nv. The mouth of the just man tells of wisdom, and his tongue utters what is~\nright. The law of his God is in his heart.\n\n[Oratio]\nMay we be aided by the intercession of St. Bruno, Your Confessor, we beseech You, O~\nLord; that we, who have grievously offended Your Majesty by sin, may, by his~\nmerits and prayers, obtain forgiveness for our offenses.\n$Per Dominum\n\n[Lectio]\nOlvasm\u00e1ny J\u00e9zus S\u00edr\u00e1k fia k\u00f6nyv\u00e9b\u0151l\n!Sir 31:8-11\nv. Boldog a gazdag, ki hiba n\u00e9lk\u00fcl tal\u00e1ltatott, \u00e9s ki az arany ut\u00e1n nem j\u00e1rt, \u00e9s nem b\u00edzott a p\u00e9nzben \u00e9s kincsekben. Kicsoda ez, \u00e9s dics\u00e9rni fogjuk \u00f6t mert csodadolgokat cselekedett \u00e9let\u00e9ben. Ki megpr\u00f3b\u00e1ltatott abban, \u00e9s t\u00f6k\u00e9letes maradt, \u00f6r\u00f6k dics\u00f6s\u00e9ge leszen; ki v\u00e9tkezhetett, \u00e9s nem v\u00e9tkezett; gonoszat cselekedhetett, \u00e9s nem cselekedett; az\u00e9rt biztos\u00edtv\u00e1k javai az \u00darban, \u00e9s alamizsn\u00e1it besz\u00e9li a szentek eg\u00e9sz gy\u00fclekezete. \n\n[Graduale]\n!Ps 91:12," +"/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage io.github.mandar2812.dynaml.kernels\n\nimport breeze.linalg.{DenseVector, norm}\nimport io.github.mandar2812.dynaml.utils\n\nclass GaussianDensityKernel\n extends DensityKernel\n with Serializable {\n private val exp = scala.math.exp _\n private val pow = scala.math.pow _\n private val sqrt = scala.math.sqrt _\n private val Pi = scala.math.Pi\n protected var bandwidth: DenseVector[Double] = DenseVector.zeros(10)\n override protected val mu = (1/4)*(1/sqrt(Pi))\n override protected val r = (1/2)*(1/sqrt(Pi))\n\n private def evalForDimension(x: Double, pilot: Double): Double =\n exp(-1*pow(x/pilot, 2)/2)/sqrt(Pi * 2)\n\n private def evalWithBandwidth(x: DenseVector[Double], b:" +"/**\n *\n */\npackage com.github.jmkgreen.morphia.converters;\n\nimport com.github.jmkgreen.morphia.mapping.MappedField;\nimport com.github.jmkgreen.morphia.mapping.MappingException;\nimport java.util.ArrayList;\nimport java.util.EnumSet;\nimport java.util.List;\n\n/**\n * @author Uwe Schaefer, (us@thomas-daily.de)\n * @author scotthernandez\n */\n@SuppressWarnings({\"unchecked\", \"rawtypes\"})\npublic class EnumSetConverter extends TypeConverter implements SimpleValueConverter {\n\n private EnumConverter ec = new EnumConverter();\n\n public EnumSetConverter() {\n super(EnumSet.class);\n }\n\n @Override\n public Object decode(Class targetClass, Object fromDBObject, MappedField optionalExtraInfo) throws MappingException {\n if (fromDBObject == null)\n return null;\n\n Class enumType = optionalExtraInfo.getSubClass();\n\n List l = (List) fromDBObject;\n if (l.isEmpty())\n return EnumSet.noneOf(enumType);\n\n ArrayList enums = new ArrayList();\n for (Object object : l) {\n enums.add(ec.decode(enumType, object));\n }\n EnumSet copyOf = EnumSet.copyOf(enums);\n return copyOf;\n }\n\n @Override\n public Object encode(Object value, MappedField optionalExtraInfo) {\n if (value == null)\n return null;\n\n ArrayList values = new ArrayList();\n\n EnumSet s = (EnumSet) value;\n Object[] array = s.toArray();\n for (int i = 0; i < array.length; i++) {\n values.add(ec.encode(array[i]));\n }\n\n return values;\n }\n}" +"#include \n\nvoid TestUnsignedInt();\nvoid TestFloat();\n\nfloat modulus(const float a, const float b);\n\nint main(int argc, char *argv[])\n{\n TestFloat();\n \n return 0;\n}\n\nvoid TestUnsignedInt()\n{\n unsigned int divideBy = 5;\n unsigned int startWith = 21;\n \n std::cout << \"21/5 = \" << 21/5 << std::endl; // = 4\n std::cout << \"21%5 = \" << 21%5 << std::endl; // = 1\n}\n\nvoid TestFloat()\n{\n float divideBy = 5.0f;\n float startWith = 21.0f;\n \n //std::cout << \"21/5 = \" << startWith/divideBy << std::endl; // = 4\n //std::cout << \"21%5 = \" << startWith%divideBy << std::endl; // Can't do this!\n \n std::cout << \"21%5 = \" << modulus(startWith,divideBy) << std::endl; // = 1\n \n}\n\nfloat modulus(const float a, const float b)\n{\n int result = static_cast( a / b );\n return a - static_cast( result ) * b;\n}" +"---\ntitle: \"Knowing grids means breaking grids\"\nexcerpt: \"Exploring what it means to develop a grid system that helps facilitate strong design with purpose.\"\nlast_modified_at: 2013-04-26\nimage: \n path: &image /assets/images/knowing-grids-feature.jpg\n width: 1280\n height: 640\n feature: *image\ntwitter:\n card: summary_large_image\ncategories: [notes]\ntags: [design, inspiration]\nsupport: false\ntoc: true\n---\n\nOf all the things to grab my attention, the grid system used in a women's health calendar was certainly not high on my list.\n\nIt's a funny story that will probably make less sense after I describe this awful analogy, but here it goes. You ever do something for so long that you start seeing it creep up in random places? Back in 1997, after I got a Nintendo 64 and played *Super Mario* all night instead of working on my 3D design projects. I started getting these crazy ideas that I could triple jump over ponds or reach the top of buildings by doing a back flip like that mustachioed plumber.\n\nSitting in 2D design and typography classes for 4 years of my life had a similar effect. It was like having a magician expose all his secrets to me. Problem is, I can no longer take these tricks at" +"add('file', 'jb_file_ajax', array(\n 'endpoint' => 'articlefiles'\n ))\n ->add('type', 'choice',\n [\n 'choices' => $fileTypes,\n 'label' => 'articlefile.type'\n ]\n )\n ->add('langCode', JournalLangCodeType::class,\n [\n 'label' => 'articlefile.langcode'\n ]\n )\n ->add('title', 'text', ['label' => 'articlefile.title'])\n ->add('description', 'textarea', [\n 'required' => false\n ]);\n }\n\n /**\n * @param OptionsResolver $resolver\n */\n public function configureOptions(OptionsResolver $resolver)\n {\n $resolver->setDefaults(\n array(\n 'data_class' => ArticleFile::class,\n 'cascade_validation' => true,\n 'attr' => [\n 'class' => 'form-validate',\n ],\n )\n );\n }\n}" +"/* eslint no-restricted-syntax: \"off\" */\n\nexport const isMessage = event => Boolean(event.type === 'message' && event.text);\n\nexport const isMessageToChannel = message => typeof message.channel === 'string' && message.channel[0] === 'C';\n\nexport const isFromUser = (event, userId) => event.user === userId;\n\nexport const messageContainsText = (message, possibleTexts) => {\n const messageText = message.text.toLowerCase();\n const texts = Array.isArray(possibleTexts) ? possibleTexts : [possibleTexts];\n for (const text of texts) {\n if (messageText.indexOf(text.toLowerCase()) > -1) {\n return true;\n }\n }\n\n return false;\n};\n\nexport const filterJokesByCategories = (jokes, categories) => jokes.filter((joke) => {\n if (joke.categories.length === 0) {\n return true;\n }\n\n for (const category of categories) {\n if (joke.categories.includes(category)) {\n return true;\n }\n }\n\n return false;\n});\n\nexport const pickRandom = arr => arr[Math.floor(Math.random() * arr.length)];" +"/**\n\nCopyright 2019 Forestry.io Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n*/\n\nimport * as React from 'react'\nimport { BoldIcon, ItalicIcon, StrikethroughIcon } from '@tinacms/icons'\n\nimport { markControl } from '../../../components/MenuHelpers'\nimport { formatKeymap } from '../../../utils'\n\nexport const ProsemirrorMenu = () => (\n <>\n \n \n \n \n)\n\nconst BoldControl = markControl({\n mark: 'strong',\n Icon: BoldIcon,\n tooltip: formatKeymap('Bold Mod-B'),\n})\n\nconst ItalicControl = markControl({\n mark: 'em',\n Icon: ItalicIcon,\n tooltip: formatKeymap('Italic Mod-I'),\n})\n\nconst StrikeControl = markControl({\n mark: 'strike',\n Icon: StrikethroughIcon,\n tooltip: 'Strike',\n})" +"/*\n\n LiCK Library for ChucK.\n Copyright (c) 2007-2020 held jointly by the individual authors.\n\n This file is part of LiCK.\n\n LiCK is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n LiCK is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with LiCK. If not, see .\n\n*/\n\npublic class BackOut extends Interpolation\n{\n fun float evaluate(float value)\n {\n value - 1.0 => float v;\n return v * v * ((1.70158 + 1.0) * v + 1.70158) + 1.0;\n }\n}" +"\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\nnamespace PHPExiftool\\Driver\\Tag\\QuickTime;\n\nuse JMS\\Serializer\\Annotation\\ExclusionPolicy;\nuse PHPExiftool\\Driver\\AbstractTag;\n\n/**\n * @ExclusionPolicy(\"all\")\n */\nclass UserDataDji extends AbstractTag\n{\n\n protected $Id = '\\\\xa9dji';\n\n protected $Name = 'UserData_dji';\n\n protected $FullName = 'QuickTime::UserData';\n\n protected $GroupName = 'QuickTime';\n\n protected $g0 = 'QuickTime';\n\n protected $g1 = 'QuickTime';\n\n protected $g2 = 'Video';\n\n protected $Type = 'undef';\n\n protected $Writable = false;\n\n protected $Description = 'User Data dji';\n\n protected $flag_Binary = true;\n}" +"#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n# 2018-11-14 Friedrich Weber \n# Add a job queue\n#\n# This code is free software; you can redistribute it and/or\n# modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE\n# License as published by the Free Software Foundation; either\n# version 3 of the License, or any later version.\n#\n# This code is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU AFFERO GENERAL PUBLIC LICENSE for more details.\n#\n# You should have received a copy of the GNU Affero General Public\n# License along with this program. If not, see .\n#\n# Heavily based on huey_consumer.py, which is licensed as follows.\n#\n# Copyright (c) 2017 Charles Leifer\n#\n# Permission is hereby granted, free of charge, to any person obtaining a copy\n# of this software and associated documentation files (the \"Software\"), to deal\n# in the Software without restriction, including without limitation the rights\n# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n# copies of" +"#include \"script_component.hpp\"\n/* ----------------------------------------------------------------------------\nFunction: CBA_fnc_directCall\n\nDescription:\n Executes a piece of code in unscheduled environment.\n\nParameters:\n _code - Code to execute \n _arguments - Parameters to call the code with. (optional) \n\nReturns:\n _return - Return value of the function \n\nExamples:\n (begin example)\n 0 spawn { {systemChat str canSuspend} call CBA_fnc_directCall; };\n -> false\n (end)\n\nAuthor:\n commy2\n---------------------------------------------------------------------------- */\n\nparams [[\"_CBA_code\", {}, [{}]], [\"_this\", []]];\n\nprivate \"_CBA_return\";\n\nisNil {\n // Wrap the _CBA_code in an extra call block to prevent problems with exitWith and apply\n _CBA_return = ([_x] apply {call _CBA_code}) select 0;\n};\n\nif (!isNil \"_CBA_return\") then {_CBA_return};" +"#!/bin/bash -e\n\n# maintainer (ask me any questions): rfree\n\nif [[ ! -r \"Doxyfile\" ]] ; then\n\techo \"Error, can not read the Doxyfile - make sure to run this script from top of monero project, where the Doxyfile file is located\"\n\texit 1\nfi\n\nwwwdir=\"$HOME/monero-www/\"\nif [[ ! -w \"$wwwdir\" ]] ; then\n\techo \"Error, can not write into wwwdir=$wwwdir. It should be a directory readable/connected to your webserver, or a symlink to such directory\"\n\texit 1\nfi\n\nif [[ ! -d \"$wwwdir/doc\" ]] ; then\n\techo \"Creating subdirs\"\n\tmkdir \"$wwwdir/doc\"\nfi\n\necho \"Generating:\"\ndoxygen Doxyfile && echo \"Backup previous version:\" && rm -rf ~/monero-www-previous && mv \"$wwwdir/doc\" ~/monero-www-previous && cp -ar doc/ \"$wwwdir/\" && echo \"Done, builded and copied to public - the doxygen docs\" && echo \"size:\" && du -Dsh \"$wwwdir/\" && echo \"files:\" && find \"$wwwdir/\" | wc -l" +"/*\n * BioJava development code\n *\n * This code may be freely distributed and modified under the\n * terms of the GNU Lesser General Public Licence. This should\n * be distributed with the code. If you do not have a copy,\n * see:\n *\n * http://www.gnu.org/copyleft/lesser.html\n *\n * Copyright for this code is held jointly by the individual\n * authors. These should be listed in @author doc comments.\n *\n * For more information on the BioJava project and its aims,\n * or to join the biojava-l mailing list, visit the home page\n * at:\n *\n * http://www.biojava.org/\n *\n */\npackage org.biojava.nbio.structure.align.quaternary;\n\n/**\n * The Quaternary Structure Relation describes the pairwise relation between two\n * quaternary structures.\n *\n * @author Aleix Lafita\n * @since 5.0.0\n *\n */\npublic enum QsRelation {\n\n\t/**\n\t * All the Subunits of one Structure have an equivalent in the other\n\t * Structure.\n\t *

    \n\t * An example of this relation is comparing an A2B2 complex with C2 symmetry\n\t * against a similar A2B2 complex with the same C2 symmetry axis (same\n\t * topology).\n\t **/\n\tEQUIVALENT,\n\n\t/**\n\t * All the Subunits of one Structure have an equivalent in the other\n\t * Structure, but the other Structure contains" +"/**\n * Copyright (c) 2013-2020 Contributors to the Eclipse Foundation\n *\n *

    See the NOTICE file distributed with this work for additional information regarding copyright\n * ownership. All rights reserved. This program and the accompanying materials are made available\n * under the terms of the Apache License, Version 2.0 which accompanies this distribution and is\n * available at http://www.apache.org/licenses/LICENSE-2.0.txt\n */\npackage org.locationtech.geowave.adapter.vector.plugin;\n\nimport org.geotools.process.factory.AnnotatedBeanProcessFactory;\nimport org.geotools.text.Text;\n\n/**\n * This is the GeoTools Factory for introducing the nga:Decimation rendering transform. GeoTools\n * uses Java SPI to inject the WPS process (see\n * META-INF/services/org.geotools.process.ProcessFactory).\n */\npublic class GeoWaveGSProcessFactory extends AnnotatedBeanProcessFactory {\n\n public GeoWaveGSProcessFactory() {\n super(\n Text.text(\"GeoWave Process Factory\"),\n \"geowave\",\n SubsampleProcess.class,\n DistributedRenderProcess.class);\n }\n}" +"* TI - TSC ADC (Touschscreen and analog digital converter)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nRequired properties:\n- mfd\n\tcompatible: Should be\n\t\t\"ti,am3359-tscadc\" for AM335x/AM437x SoCs\n\t\t\"ti,am654-tscadc\", \"ti,am3359-tscadc\" for AM654 SoCs\n- child \"tsc\"\n\tcompatible: Should be \"ti,am3359-tsc\".\n\tti,wires: Wires refer to application modes i.e. 4/5/8 wire touchscreen\n\t\t support on the platform.\n\tti,x-plate-resistance: X plate resistance\n\tti,coordinate-readouts: The sequencer supports a total of 16\n\t\t\t\tprogrammable steps each step is used to\n\t\t\t\tread a single coordinate. A single\n readout is enough but multiple reads can\n\t\t\t\tincrease the quality.\n\t\t\t\tA value of 5 means, 5 reads for X, 5 for\n\t\t\t\tY and 2 for Z (always). This utilises 12\n\t\t\t\tof the 16 software steps available. The\n\t\t\t\tremaining 4 can be used by the ADC.\n\tti,wire-config: Different boards could have a different order for\n\t\t\tconnecting wires on touchscreen. We need to provide an\n\t\t\t8 bit number where in the 1st four bits represent the\n\t\t\tanalog lines and the next 4 bits represent positive/\n\t\t\tnegative terminal on that input line. Notations to\n\t\t\trepresent the input lines and terminals resoectively\n\t\t\tis as follows:\n\t\t\tAIN0 = 0, AIN1 = 1 and so on till AIN7 = 7.\n\t\t\tXP = 0, XN = 1, YP = 2, YN = 3.\n-" +"---\ntitle: \"Registering Extensions of the .NET Framework | Microsoft Docs\"\nms.date: 11/15/2016\nms.prod: \"visual-studio-dev14\"\nms.technology: msbuild\nms.topic: conceptual\nhelpviewer_keywords: \n - \"Add References dialog box, registering extensions of the .NET Framework\"\n - \"MSBuild, registering extensions of the .NET Framework\"\n - \".NET Framework extensions, registering\"\nms.assetid: deee6f53-ea87-4b88-a120-bea589822e03\ncaps.latest.revision: 8\nauthor: mikejo5000\nms.author: mikejo\nmanager: jillfra\n---\n# Registering Extensions of the .NET Framework\n[!INCLUDE[vs2017banner](../includes/vs2017banner.md)]\n\nYou can develop an assembly that extends a specific version of the .NET Framework. To enable the assembly to appear in the Visual Studio **Add References** dialog box, you must add the folder that contains it to the system registry. \n \n For example, assume that the Trey Research company has developed a library that extends the .NET Framework 4, and wants the library assemblies to appear in the **Add References** dialog box when a project targets the .NET Framework 4. Also assume that the assemblies are 32-bit assemblies running on a 32-bit computer or 64-bit assemblies running on a 64-bit computer, and that they will be installed in the C:\\TreyResearch\\Extensions4\\ folder. \n \n Register this folder by using this key: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\\\.NETFramework\\v4.0.21006\\AssemblyFoldersEx\\TreyResearch\\\\. Give the key this default value: C:\\TreyResearch\\Extensions4. \n \n> [!NOTE]\n> The build number of the .NET Framework version may" +"// Copyright 2017-2020 Matthew D. Michelotti\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\npub struct BitGrid {\n bits: Vec,\n height: u32,\n width: u32,\n}\n\nimpl BitGrid {\n pub fn new(height: u32, width: u32) -> BitGrid {\n BitGrid {\n bits: vec![false; (height * width) as usize],\n height,\n width,\n }\n }\n\n // returns (row, col) of filled rectangle, or None if there is no room for it\n pub fn fill_rect(&mut self, height: u32, width: u32) -> Option<(u32, u32)> {\n for row in 0..(self.height - height + 1) {\n for col in 0..(self.width - width + 1) {\n if self.fill_rect_at(height, width, row, col) {\n return Some((row, col));\n }\n }\n }\n None\n }\n\n fn fill_rect_at(&mut self, height: u32, width: u32, row:" +"/*\n * Copyright 2011 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage com.google.ipc.invalidation.external.client.android2;\n\nimport com.google.ipc.invalidation.ticl.InvalidationClientCore;\nimport com.google.ipc.invalidation.ticl.android2.AndroidTiclManifest;\nimport com.google.ipc.invalidation.ticl.android2.ProtocolIntents;\nimport com.google.ipc.invalidation.ticl.proto.ClientProtocol.ClientConfigP;\nimport com.google.ipc.invalidation.util.Bytes;\n\nimport android.content.Context;\nimport android.content.Intent;\n\n/**\n * Factory for creating Android clients.\n *\n */\npublic final class AndroidClientFactory {\n /**\n * Creates a new client.\n *

    \n * REQUIRES: no client exist, or a client exists with the same type and name as provided. In\n * the latter case, this call is a no-op.\n *\n * @param context Android system context\n * @param clientType type of the client to create\n * @param clientName name of the client to create\n */\n public static void createClient(Context context, int clientType, byte[] clientName) {\n ClientConfigP config" +"import log from \"loglevel\";\nimport prompts from \"prompts\";\n\nimport { clean } from \"./clean\";\nimport { libsize } from \"./libsize\";\nimport { ammendCommit, getLernaVersion, git, replaceTag, run } from \"./utils\";\nimport { variables } from \"./variables\";\n\nexport type ReleaseType =\n | \"major\"\n | \"minor\"\n | \"patch\"\n | \"premajor\"\n | \"preminor\"\n | \"prepatch\"\n | \"prerelease\"\n | \"\";\n\nexport const RELEASE_TYPES: ReadonlyArray = [\n \"major\",\n \"minor\",\n \"patch\",\n \"premajor\",\n \"preminor\",\n \"prepatch\",\n \"prerelease\",\n];\n\nexport function toReleaseType(value: string): ReleaseType {\n if (RELEASE_TYPES.includes(value as ReleaseType)) {\n return value as ReleaseType;\n }\n\n return \"\";\n}\n\nasync function rollback(): Promise {\n log.error(\"Cancelling this release...\");\n const version = await getLernaVersion();\n git(`reset HEAD^`);\n git(`tag -d v${version}`);\n git(\"checkout .\");\n\n return process.exit(1);\n}\n\nasync function verify(): Promise {\n const { complete } = await prompts({\n type: \"confirm\",\n name: \"complete\",\n message: \"Continue the release?\",\n initial: false,\n });\n\n if (!complete) {\n await rollback();\n }\n\n log.info();\n}\n\nexport async function release(\n type: ReleaseType = \"\",\n blog: boolean = !type.startsWith(\"pre\"),\n autoYes: boolean = false\n): Promise {\n const yes = autoYes ? \" --yes\" : \"\";\n\n // first, update the version since I'll be ammending this commit and tag with\n // libsize changes, prettier changelogs, and adding the themes specifically\n // for the tag only" +"@title Support Resources\n@short Support\n@group intro\n\nResources for reporting bugs, requesting features, and getting support.\n\nOverview\n========\n\nThis document describes available support resources.\n\nThe upstream provides free support for a narrow range of problems (primarily,\nsecurity issues and reproducible bugs) and paid support for virtually anything.\n\nThe upstream does not provide free support for general problems with installing\nor configuring Phabricator. You may be able to get some help with these\nkinds of issues from the community.\n\n\nPaid Support\n============\n\nIf you'd like upstream support, see ((pacts)).\n\nThis is the only way to request features and the only way to get guaranteed\nanswers from experts quickly.\n\n\nReporting Security Vulnerabilities\n==================================\n\nThe upstream accepts, fixes, and awards bounties for reports of material\nsecurity issues with the software.\n\nTo report security issues, see @{article:Reporting Security Vulnerabilities}.\n\n\nReporting Bugs\n==============\n\nThe upstream will accept **reproducible** bug reports in modern, first-party\nproduction code running in reasonable environments. Before submitting a bug\nreport you **must update** to the latest version of Phabricator.\n\nTo report bugs, see @{article:Contributing Bug Reports}.\n\n\n\nContributing\n============\n\nPhabricator is a very difficult project to contribute to. New contributors\nwill face a high barrier to entry.\n\nIf you'd like to contribute" +"====================\nAnsible project 2.11\n====================\n\nThis release schedule includes dates for the `ansible `_ package, with a few dates for the `ansible-base `_ package as well. All dates are subject to change. See :ref:`base_roadmap_2_11` for the most recent updates on ``ansible-base``.\n\n.. contents::\n :local:\n\nRelease schedule\n=================\n\n.. note:: Dates subject to change.\n\n- ????-??-?? Ansible 2.11 alpha freeze. No net new collections allowed after this date.\n- ????-??-?? Ansible collections freeze date for content moving between collections.\n- ????-??-?? Ansible 2.11 alpha.\n- ????-??-?? Ansible 2.11.0 beta1 and feature freeze.\n\n - No new modules or major features accepted after this date. In practice this means we will freeze the semver collection versions to compatible release versions. For example, if the version of community.crypto on this date was community-crypto-2.1.0; ansible-2.11.0 could ship with community-crypto-2.1.1. It would not ship with community-crypto-2.2.0.\n\n- ????-??-?? Ansible 2.11 final freeze/rc1.\n\n - After this date only changes blocking a release are accepted.\n - Collections will only be updated to a new version if a blocker is approved. Collection owners should discuss any blockers at a community IRC meeting (before this freeze) to decide whether to bump the version of the collection for a fix. See" +"// Copyright 2016 The Serviced Authors.\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\npackage web\n\nimport (\n\t\"crypto/tls\"\n\t\"errors\"\n\t\"net\"\n\t\"sync\"\n\n\tlog \"github.com/Sirupsen/logrus\"\n\t\"github.com/control-center/serviced/utils\"\n\t\"github.com/control-center/serviced/zzk/registry\"\n)\n\nvar ErrPortServerRunning = errors.New(\"port server is already running\")\n\n// PublicPortManager manages all the port servers for a particular host id\ntype PublicPortManager struct {\n\thostID string\n\tcertFile string\n\tkeyFile string\n\tonFailure func(portNumber string, err error)\n\tmu *sync.RWMutex\n\tports map[string]*PublicPortHandler\n}\n\n// NewPublicPortManager creates a new public port manager for a host id\nfunc NewPublicPortManager(hostID, certFile, keyFile string, onFailure func(portAddr string, err error)) *PublicPortManager {\n\treturn &PublicPortManager{\n\t\thostID: hostID,\n\t\tcertFile: certFile,\n\t\tkeyFile: keyFile,\n\t\tonFailure: onFailure,\n\t\tmu: &sync.RWMutex{},\n\t\tports: make(map[string]*PublicPortHandler),\n\t}\n}\n\n// Enable implements starts the public port server at the port address" +"/*\n Z80 emulator code derived from Lin Ke-Fong source. Copyright says:\n\n Copyright (c) 2016, 2017 Lin Ke-Fong\n\n This code is free, do whatever you want with it.\n\n 2020 adapted by Fabrizio Di Vittorio for fabgl ESP32 library\n */\n\n\n#pragma once\n\n\n#include \n\n\n\n\n\n\n/* Define this macro if the host processor is big endian. */\n\n/* #define Z80_BIG_ENDIAN */\n\n/* Emulation can be speed up a little bit by emulating only the documented\n * flags.\n */\n\n/* #define Z80_DOCUMENTED_FLAGS_ONLY */\n\n/* HALT, DI, EI, RETI, and RETN instructions can be catched. When such an\n * instruction is catched, the emulator is stopped and the PC register points\n * at the opcode to be executed next. The catched instruction can be determined\n * from the Z80_STATE's status value. Keep in mind that no interrupt can be\n * accepted at the instruction right after a DI or EI on an actual processor.\n */\n\n/*\n #define Z80_CATCH_HALT\n #define Z80_CATCH_DI\n #define Z80_CATCH_EI\n #define Z80_CATCH_RETI\n #define Z80_CATCH_RETN\n */\n\n/* Undefined 0xed prefixed opcodes may be catched, otherwise they are treated\n * like NOP instructions. When one is catched, Z80_STATUS_ED_UNDEFINED is set\n * in Z80_STATE's status member and the PC register points at the 0xed prefix\n *" +"/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage org.apache.tomee.jul.handler.rotating;\n\nimport java.util.concurrent.ExecutorService;\nimport java.util.concurrent.Executors;\nimport java.util.concurrent.ThreadFactory;\nimport java.util.concurrent.TimeUnit;\nimport java.util.concurrent.atomic.AtomicInteger;\nimport java.util.logging.LogManager;\n\n// Note: don't touch this class while not needed to avoid to trigger the executor service init\n// mainly there to avoid all handlers to have their own threads\nclass BackgroundTaskRunner {\n private static final ExecutorService EXECUTOR_SERVICE;\n private static final boolean SYNCHRONOUS;\n\n static {\n final LogManager logManager = LogManager.getLogManager();\n SYNCHRONOUS = Boolean.parseBoolean(getProperty(logManager, BackgroundTaskRunner.class.getName() + \".synchronous\"));\n if (SYNCHRONOUS) {" +"--TEST--\nBug #45553 (Using XPath to return values for attributes with a namespace does not work)\n--SKIPIF--\n\n--FILE--\n\n test1\n test2\n\nXML;\n\n$x = simplexml_load_string($xml);\n$x->registerXPathNamespace(\"a\", \"http://a\");\n\n$atts = $x->xpath(\"/xml/data/@a:label\");\necho $atts[0] . \"\\n\";\n$atts = $x->xpath(\"/xml/a:data\");\necho $atts[0]->attributes() . \"\\n\";\n$atts = $x->xpath(\"/xml/a:data/@a:label\");\necho $atts[0] . \"\\n\";\n$atts = $x->xpath(\"/xml/a:data/@label\");\necho $atts[0] . \"\\n\";\n$atts = $x->xpath(\"/xml/data/@label\");\necho $atts[0] . \"\\n\";\n?>\n===DONE===\n--EXPECTF--\nI am A\nI am a:Nothing\nI am a:A\nI am a:Nothing\nI am Nothing\n===DONE===" +"// Copyright 2020 Andrew Thornton. All rights reserved.\n// Use of this source code is governed by a MIT-style\n// license that can be found in the LICENSE file.\n\npackage levelqueue\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/syndtr/goleveldb/leveldb\"\n\t\"github.com/syndtr/goleveldb/leveldb/errors\"\n)\n\nconst (\n\tuniqueQueuePrefixStr = \"unique\"\n)\n\n// UniqueQueue defines an unique queue struct\ntype UniqueQueue struct {\n\tq *Queue\n\tset *Set\n\tdb *leveldb.DB\n\tcloseUnderlyingDB bool\n}\n\n// OpenUnique opens an unique queue from the db path or creates a set if it doesn't exist.\n// The keys in the queue portion will not be prefixed, and the set keys will be prefixed with \"set-\"\nfunc OpenUnique(dataDir string) (*UniqueQueue, error) {\n\tdb, err := leveldb.OpenFile(dataDir, nil)\n\tif err != nil {\n\t\tif !errors.IsCorrupted(err) {\n\t\t\treturn nil, err\n\t\t}\n\t\tdb, err = leveldb.RecoverFile(dataDir, nil)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n\treturn NewUniqueQueue(db, []byte{}, []byte(uniqueQueuePrefixStr), true)\n}\n\n// NewUniqueQueue creates a new unique queue from a db.\n// The queue keys will be prefixed with queuePrefix and the set keys with setPrefix\n// and at close the db will be closed as per closeUnderlyingDB\nfunc NewUniqueQueue(db *leveldb.DB, queuePrefix []byte, setPrefix []byte, closeUnderlyingDB bool) (*UniqueQueue, error) {\n\tinternal, err := NewQueue(db, queuePrefix, false)" +"\"\nThis property represents exceptions that occured during other properties computation. This way tools can work witout interuptions, but users will be aware the there were some exceptions.\n\"\nClass {\n\t#name : #ReExceptionProperty,\n\t#superclass : #ReProperty,\n\t#instVars : [\n\t\t'stack',\n\t\t'message'\n\t],\n\t#category : #'Renraku-Critiques'\n}\n\n{ #category : #'instance creation' }\nReExceptionProperty class >> for: anEntity with: anException [\n\t\n\t^ self new\n\t\tinitializeSourceAnchor: (\n\t\t\tReSourceAnchor entity: anEntity);\n\t\tstack: anException signalerContext copyStack;\n\t\tmessage: anException description;\n\t\tyourself\n\t\t\n]\n\n{ #category : #actions }\nReExceptionProperty >> actions [\n\n\t^ { (RePropertyAction new\n\t\t icon: (self iconNamed: #smallDebug);\n\t\t description: 'Debug the exception';\n\t\t action: [ :prop | \n\t\t\t (OupsDebugRequest newForContext: prop stack)\n\t\t\t\t label: prop message;\n\t\t\t\t submit ];\n\t\t yourself) }\n]\n\n{ #category : #accessing }\nReExceptionProperty >> icon [\n\t^ self iconNamed: #exceptionIcon\n]\n\n{ #category : #accessing }\nReExceptionProperty >> message [\n\t^ message\n]\n\n{ #category : #accessing }\nReExceptionProperty >> message: anObject [\n\tmessage := anObject\n]\n\n{ #category : #accessing }\nReExceptionProperty >> stack [\n\t^ stack\n]\n\n{ #category : #accessing }\nReExceptionProperty >> stack: anObject [\n\tstack := anObject\n]\n\n{ #category : #accessing }\nReExceptionProperty >> title [\n\t^ '~Exception: [', message, ']'\n]" +"@function map-deep-set($map, $keys, $value)\n $maps: ($map,)\n $result: null\n\n // If the last key is a map already\n // Warn the user we will be overriding it with $value\n @if type-of(nth($keys, -1)) == \"map\"\n @warn \"The last key you specified is a map; it will be overrided with `#{$value}`.\"\n\n // If $keys is a single key\n // Just merge and return\n @if length($keys) == 1\n @return map-merge($map, ( $keys: $value ))\n\n // Loop from the first to the second to last key from $keys\n // Store the associated map to this key in the $maps list\n // If the key doesn't exist, throw an error\n @for $i from 1 through length($keys) - 1\n $current-key: nth($keys, $i)\n $current-map: nth($maps, -1)\n $current-get: map-get($current-map, $current-key)\n\n @if $current-get == null\n @error \"Key `#{$key}` doesn't exist at current level in map.\"\n\n $maps: append($maps, $current-get)\n\n // Loop from the last map to the first one\n // Merge it with the previous one\n @for $i from length($maps) through 1\n $current-map: nth($maps, $i)\n $current-key: nth($keys, $i)\n $current-val: if($i == length($maps), $value, $result)\n $result: map-merge($current-map, ($current-key: $current-val))\n\n // Return result\n @return $result\n\n@function map-deep-get($map, $keys...)\n @each $key in $keys\n $map: map-get($map, $key)\n\n @return $map\n\n@function breakpoint-min($name, $breakpoints: $grid-breakpoints)\n $min: map-get($breakpoints," +"/* Copyright 2019 The Brave Authors. All rights reserved.\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this file,\n * You can obtain one at http://mozilla.org/MPL/2.0/. */\n\n#ifndef BRAVE_CHROMIUM_SRC_NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_\n#define BRAVE_CHROMIUM_SRC_NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_\n\n#include \"../../../../net/socket/socks5_client_socket.h\"\n\n#include \n#include \n\nnamespace net {\n\nclass NET_EXPORT_PRIVATE SOCKS5ClientSocketAuth : public SOCKS5ClientSocket {\n public:\n SOCKS5ClientSocketAuth(std::unique_ptr transport_socket,\n const HostPortPair& destination,\n const NetworkTrafficAnnotationTag& traffic_annotation,\n const HostPortPair& proxy_host_port);\n ~SOCKS5ClientSocketAuth() override;\n\n private:\n bool do_auth();\n const std::string& username();\n const std::string& password();\n uint8_t auth_method() override;\n int Authenticate(int rv,\n NetLogWithSource& net_log,\n CompletionRepeatingCallback& callback) override;\n const HostPortPair proxy_host_port_;\n enum {\n STATE_INIT_WRITE = 0,\n STATE_WRITE,\n STATE_WRITE_COMPLETE,\n STATE_INIT_READ,\n STATE_READ,\n STATE_READ_COMPLETE,\n STATE_DONE,\n STATE_BAD,\n } next_state_;\n scoped_refptr iobuf_;\n std::string buffer_;\n size_t buffer_left_;\n DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocketAuth);\n};\n\n} // namespace net\n\n#endif // BRAVE_CHROMIUM_SRC_NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_" +"\ufeffusing FakeNews.Model;\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.Collections.ObjectModel;\r\nusing System.IO;\r\nusing System.Linq;\r\nusing System.Runtime.InteropServices.WindowsRuntime;\r\nusing Windows.Foundation;\r\nusing Windows.Foundation.Collections;\r\nusing Windows.UI.Xaml;\r\nusing Windows.UI.Xaml.Controls;\r\nusing Windows.UI.Xaml.Controls.Primitives;\r\nusing Windows.UI.Xaml.Data;\r\nusing Windows.UI.Xaml.Input;\r\nusing Windows.UI.Xaml.Media;\r\nusing Windows.UI.Xaml.Navigation;\r\n\r\n// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409\r\n\r\nnamespace FakeNews\r\n{\r\n ///

    \r\n /// An empty page that can be used on its own or navigated to within a Frame.\r\n /// \r\n public sealed partial class MainPage : Page\r\n {\r\n private ObservableCollection NewsItems;\r\n\r\n public MainPage()\r\n {\r\n this.InitializeComponent();\r\n NewsItems = new ObservableCollection();\r\n }\r\n\r\n private void HamburgerButton_Click(object sender, RoutedEventArgs e)\r\n {\r\n MySplitView.IsPaneOpen = !MySplitView.IsPaneOpen;\r\n }\r\n\r\n private void ListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)\r\n {\r\n if (Financial.IsSelected)\r\n {\r\n NewsManager.GetNews(\"Financial\", NewsItems);\r\n TitleTextBlock.Text = \"Financial\";\r\n }\r\n else if (Food.IsSelected)\r\n {\r\n NewsManager.GetNews(\"Food\", NewsItems);\r\n TitleTextBlock.Text = \"Food\";\r\n }\r\n }\r\n\r\n private void Page_Loaded(object sender, RoutedEventArgs e)\r\n {\r\n Financial.IsSelected = true;\r\n }\r\n }\r\n}" +"em = $em;\n $this->bus = $bus;\n\n parent::__construct();\n }\n\n protected function configure()\n {\n $this\n ->setName('app:referent-tags:update-for-districts')\n ->setDescription('Update district referent tags for adherents.')\n ;\n }\n\n protected function initialize(InputInterface $input, OutputInterface $output)\n {\n $this->io = new SymfonyStyle($input, $output);\n }\n\n protected function execute(InputInterface $input, OutputInterface $output)\n {\n foreach ($this->getAdherentIds() as $row) {\n $this->bus->dispatch(new UpdateReferentTagOnDistrictCommand($row['id']));\n }\n }\n\n private function getAdherentIds(): array\n {\n return $this->em->createQueryBuilder()\n ->select('a.id')\n ->from(Adherent::class, 'a')\n ->getQuery()\n ->getArrayResult()\n ;\n }\n}" +"# Copyright (c) 2013-2014 SUSE LLC\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of version 3 of the GNU General Public License as\n# published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, contact SUSE LLC.\n#\n# To contact SUSE about this file by physical or electronic mail,\n# you may find current contact information at www.suse.com\n\nclass Machinery::Migrate5To6 < Machinery::Migration\n desc <<-EOT\n Schema version 6 adds support for Ubuntu 14.04 systems.\n There are now three types of repositories: zypper, yum and apt\n EOT\n\n def migrate\n if @hash.key?(\"packages\")\n @hash[\"packages\"] = {\n \"_attributes\" => {\n \"package_system\" => \"rpm\"\n },\n \"_elements\" => @hash[\"packages\"]\n }\n end\n\n if @hash.key?(\"repositories\")\n if @hash[\"repositories\"].first\n repository_system = @hash[\"repositories\"].first[\"package_manager\"]\n else\n repository_system = \"zypp\"\n end\n\n @hash[\"repositories\"] = {\n \"_attributes\" => {\n \"repository_system\" => repository_system\n },\n \"_elements\" =>" +"/* Construct incremental minimum or maximum lists from an RSF file.\n\nConstructs the following set of minimum or maximum lists for each\nx2, x3, ... xn in the input RSF file:\n\nout[0] = in[0]\nout[i] = min or max of (in[i], out[i-1]) for i = 1, 2, 3, ... n1\n\nThe input file data type must be float.\nThe output file data type will be float.\n\nsflistminmax mode=min, can be used to simulate \"erosion\" for a set of \ngeological surfaces, producing a new set of surfaces that do not cross.\n\nSee also: sfminmax, sfstack.\n*/\n\n/*\nCopyright (C) 2004 University of Texas at Austin\n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if" +"/*\n * Copyright (c) 2010 Lockheed Martin Corporation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage org.eurekastreams.server.persistence.mappers.db;\n\nimport static junit.framework.Assert.assertEquals;\nimport static org.junit.Assert.assertTrue;\n\nimport org.eurekastreams.server.action.request.profile.GetRequestForGroupMembershipRequest;\nimport org.eurekastreams.server.domain.PagedSet;\nimport org.eurekastreams.server.persistence.mappers.MapperTest;\nimport org.junit.Test;\nimport org.springframework.beans.factory.annotation.Autowired;\n\n/**\n * Tests mapper.\n */\npublic class GetRequestsForGroupMembershipByGroupTest extends MapperTest\n{\n /**\n * System under test.\n */\n @Autowired\n private GetRequestsForGroupMembershipByGroup sut;\n\n /**\n * Test getting requests.\n */\n @Test\n public void testExecute()\n {\n final long groupId = 8L;\n final int startIndex = 0;\n final int endIndex = 9;\n final long personId = 4507L;\n\n GetRequestForGroupMembershipRequest request = new GetRequestForGroupMembershipRequest(groupId, null,\n startIndex, endIndex);\n\n // perform SUT\n PagedSet results = sut.execute(request);\n\n // verify\n assertEquals(\"Wrong From index\", 0, results.getFromIndex());\n assertEquals(\"Wrong To index\", 0, results.getToIndex());\n assertEquals(\"Wrong total\", 1, results.getTotal());" +"# frozen_string_literal: true\n\nrequire 'ostruct'\n\ndescribe Facter::Resolvers::PosxIdentity do\n before do\n allow(Etc).to receive(:getpwuid)\n .and_return(OpenStruct.new(name: 'test1.test2',\n passwd: '********',\n uid: 501,\n gid: 20,\n gecos: 'Test1 Test2',\n dir: '/Users/test1.test2',\n shell: '/bin/zsh',\n change: 0,\n uclass: '',\n expire: 0))\n\n allow(Etc).to receive(:getgrgid)\n .with(20)\n .and_return(OpenStruct.new(name: 'staff',\n passwd: '*',\n gid: 20,\n mem: ['root', 'test1.test2', '_serialnumberd', 'jenkins']))\n end\n\n shared_examples_for 'a resolved fact' do |fact_name, value|\n subject { Facter::Resolvers::PosxIdentity.resolve(fact_name) }\n\n it { is_expected.to eql(value) }\n end\n\n describe 'GID' do\n it_behaves_like 'a resolved fact', :gid, 20\n end\n\n describe 'GROUP' do\n it_behaves_like 'a resolved fact', :group, 'staff'\n end\n\n describe 'PRIVILEGED' do\n it_behaves_like 'a resolved fact', :privileged, false\n end\n\n describe 'UID' do\n it_behaves_like 'a resolved fact', :uid, 501\n end\n\n describe 'USER' do\n it_behaves_like 'a resolved fact', :user, 'test1.test2'\n end\nend" +"open! Import\n\nlet failwithf = Printf.failwithf\n\nmodule Stable = struct\n module V1 = struct\n module T = struct\n type t =\n | Sun\n | Mon\n | Tue\n | Wed\n | Thu\n | Fri\n | Sat\n [@@deriving bin_io, compare, hash, quickcheck]\n\n let to_string t =\n match t with\n | Sun -> \"SUN\"\n | Mon -> \"MON\"\n | Tue -> \"TUE\"\n | Wed -> \"WED\"\n | Thu -> \"THU\"\n | Fri -> \"FRI\"\n | Sat -> \"SAT\"\n ;;\n\n let to_string_long t =\n match t with\n | Sun -> \"Sunday\"\n | Mon -> \"Monday\"\n | Tue -> \"Tuesday\"\n | Wed -> \"Wednesday\"\n | Thu -> \"Thursday\"\n | Fri -> \"Friday\"\n | Sat -> \"Saturday\"\n ;;\n\n let of_string_internal s =\n match String.uppercase s with\n | \"SUN\" | \"SUNDAY\" -> Sun\n | \"MON\" | \"MONDAY\" -> Mon\n | \"TUE\" | \"TUESDAY\" -> Tue\n | \"WED\" | \"WEDNESDAY\" -> Wed\n | \"THU\" | \"THURSDAY\" -> Thu\n | \"FRI\" | \"FRIDAY\" -> Fri\n | \"SAT\" | \"SATURDAY\" -> Sat\n | _ -> failwithf \"Day_of_week.of_string: %S\" s ()\n ;;\n\n let of_int_exn i =\n match i with\n | 0 -> Sun\n | 1 -> Mon\n | 2 -> Tue\n | 3 -> Wed\n | 4 -> Thu\n | 5" +"! Copyright (C) 2009 Joe Groff.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: classes.mixin help.markup help.syntax kernel multiline roles ;\nIN: roles\n\nHELP: ROLE:\n{ $syntax \"ROLE: name slots... ;\nROLE: name < role slots... ;\nROLE: name <{ roles... } slots... ;\" }\n{ $description \"Defines a new \" { $link role } \". \" { $link tuple } \" classes which inherit this role will contain the specified \" { $snippet \"slots\" } \" as well as the slots associated with the optional inherited \" { $snippet \"roles\" } \".\"\n$nl\n\"Slot specifiers take one of the following three forms:\"\n{ $list\n { { $snippet \"name\" } \" - a slot which can hold any object, with no attributes\" }\n { { $snippet \"{ name attributes... }\" } \" - a slot which can hold any object, with optional attributes\" }\n { { $snippet \"{ name class attributes... }\" } \" - a slot specialized to a specific class, with optional attributes\" }\n}\n\"Slot attributes are lists of slot attribute specifiers followed by values; a slot attribute specifier is one of \" { $link initial: } \" or \" { $link read-only } \". See \" {" +"/*\n\tCopyright (c) 2006 Talha Tariq [ talha.tariq@gmail.com ] \n\tAll rights are reserved.\n\n\tPermission to use, copy, modify, and distribute this software \n\tfor any purpose and without any fee is hereby granted, \n\tprovided this notice is included in its entirety in the \n\tdocumentation and in the source files.\n\n\tThis software and any related documentation is provided \"as is\" \n\twithout any warranty of any kind, either express or implied, \n\tincluding, without limitation, the implied warranties of \n\tmerchantability or fitness for a particular purpose. The entire \n\trisk arising out of use or performance of the software remains \n\twith you. \n\n \t$Author:\tTalha Tariq [ talha.tariq@gmail.com ]\n\t\t\t\tuses some code from xCmd by Zoltan Csizmadia\n\t$Revision:\tTalha Tariq [ talha.tariq@gmail.com ] \t\n\t$Date: 2006/10/03 09:00:00 $ \t\t\n\t$Version History: $\t\t\t- Added ProcComs binary as a local resource for local process impersonation and communication util\n\t$TODO:\t\t\t\t\t\t- See destructor\n\t$Description: $\t\t\t\t- RemCom is RAT [Remote Administration Tool] that lets you execute processes on remote windows systems, copy files, \n\t\t\t\t\t\t\t\t process there output and stream it back. It allows execution of remote shell commands directly with full interactive console\n\t\t\t\t\t\t\t\t- Declaration of RemCom Message and Response Classes\t\n\t$Workfile: $\t\t\t\t- RemCom.h\n */\n\n#ifndef RemCom_H_INCLUDED\n#define RemCom_H_INCLUDED\n#include" +"// Copyright 2018 The gVisor Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\npackage tcp\n\nimport \"container/heap\"\n\ntype segmentHeap []*segment\n\nvar _ heap.Interface = (*segmentHeap)(nil)\n\n// Len returns the length of h.\nfunc (h *segmentHeap) Len() int {\n\treturn len(*h)\n}\n\n// Less determines whether the i-th element of h is less than the j-th element.\nfunc (h *segmentHeap) Less(i, j int) bool {\n\treturn (*h)[i].sequenceNumber.LessThan((*h)[j].sequenceNumber)\n}\n\n// Swap swaps the i-th and j-th elements of h.\nfunc (h *segmentHeap) Swap(i, j int) {\n\t(*h)[i], (*h)[j] = (*h)[j], (*h)[i]\n}\n\n// Push adds x as the last element of h.\nfunc (h *segmentHeap) Push(x interface{}) {\n\t*h = append(*h, x.(*segment))\n}\n\n// Pop removes the last element" +"/* Copyright 2018 The Chromium Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file. */\n\n/** Body modifier class, indicates when options should be visible. */\n.show-options {\n grid-template-columns: auto 306px;\n}\n\n.show-options .options {\n visibility: visible;\n}\n.show-options .settings {\n fill: #1a73e8;\n}\n\n/** Black overlay shown on smaller screens when options is visible. */\n.scrim {\n z-index: 5; /* Side panel layer */\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 256px;\n background: #00000050;\n}\n\n/** Options side panel */\n.options {\n z-index: 5; /* Side panel layer */\n grid-area: options;\n padding: 0 16px;\n overflow-y: auto;\n position: fixed;\n right: 0;\n top: 0;\n bottom: 0;\n width: 280px;\n background: #fffffff5;\n box-shadow: 0 1px 2px #3c40434d, 0 2px 6px 2px #3c404326;\n}\n\nfieldset {\n border: 0;\n padding: 0;\n margin: 1em 0;\n}\n.options fieldset:first-of-type {\n margin-top: 1em;\n}\nlegend {\n margin: 1em 0;\n padding: 0;\n}\n\n/** Toolbar */\n.form-bar {\n display: flex;\n justify-content: flex-end;\n height: 64px;\n align-items: center;\n}\n\n/** Buttons */\n.icon-button,\n.text-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n background: transparent;\n border: 0;\n}\n\n.icon-button {\n height: 40px;\n width:" +"require 'puppet/util/inifile'\n\nPuppet::Type.type(:yumrepo).provide(:inifile) do\n desc <<-EOD\n Manage yum repo configurations by parsing yum INI configuration files.\n\n ### Fetching instances\n\n When fetching repo instances, directory entries in '/etc/yum/repos.d',\n '/etc/yum.repos.d', and the directory optionally specified by the reposdir\n key in '/etc/yum.conf' will be checked. If a given directory does not exist it\n will be ignored. In addition, all sections in '/etc/yum.conf' aside from\n 'main' will be created as sections.\n\n ### Storing instances\n\n When creating a new repository, a new section will be added in the first\n yum repo directory that exists. The custom directory specified by the\n '/etc/yum.conf' reposdir property is checked first, followed by\n '/etc/yum/repos.d', and then '/etc/yum.repos.d'. If none of these exist, the\n section will be created in '/etc/yum.conf'.\n EOD\n\n PROPERTIES = Puppet::Type.type(:yumrepo).validproperties\n\n # Retrieve all providers based on existing yum repositories\n #\n # @api public\n # @return [Array] providers generated from existing yum\n # repository definitions.\n def self.instances\n instances = []\n\n virtual_inifile.each_section do |section|\n # Ignore the 'main' section in yum.conf since it's not a repository.\n next if section.name == \"main\"\n\n attributes_hash = {:name => section.name, :ensure => :present, :provider => :yumrepo}\n\n section.entries.each do |key, value|\n key = key.to_sym\n if valid_property?(key)\n attributes_hash[key] = value\n elsif key == :name\n attributes_hash[:descr]" +"# Sun\u2019s Network File System (NFS)\n\n## Homework (Measurement)\n\nIn this homework, you\u2019ll do a little bit of NFS trace analysis using real traces. The source of these traces is Ellard and Seltzer\u2019s effort [ES03]. Make sure to read the related README and download the relevant tarball from the OSTEP homework page (as usual) before starting.\n\n### Questions\n\n1. A first question for your trace analysis: using the timestamps found in the first column, determine the period of time the traces were taken from. How long is the period? What day/week/month/year was it? (does this match the hint given in the filename?) Hint: Use the tools `head -1` and `tail -1` to extract the first and last lines of the file, and do the calculation.\n\n [`strftime()`](https://www.gnu.org/software/gawk/manual/html_node/Time-Functions.html) is `gawk` extension, it's not specified in the POSIX standard. The filename is `anon-deasna-021016-1300.txt`, that's the same date.\n\n ```\n $ awk -f q1.awk anon-deasna-021016-1300.txt\n Period: 59.98 minutes\n Start time: 16 10 2002\n ```\n\n2. Now, let\u2019s do some operation counts. How many of each type of operation occur in the trace? Sort these by frequency; which operation is most frequent? Does NFS live up to its reputation?\n\n ```\n $ awk '{ a[$8]++} END {for" +"The cookie parser parses cookies and puts the cookie information on req object in the middleware. It will also decrypt signed cookies provided you know the secret.\n\nWhereas The body parser parses request bodies. Those could contain like json or url encoded form data. The form data will then appear in req.body.\n\n[Refer to Express official dox](https://expressjs.com/en/4x/api.html#req.cookies)\n\nWhen using cookie-parser middleware, this property is an object that contains cookies sent by the request. If the request contains no cookies, it defaults to {}.\n\n```js\n// Cookie: name=tj\nreq.cookies.name\n// => \"tj\"\nIf the cookie has been signed, you have to use req.signedCookies.\n```\n\nOne of the header fields in HTTP request is COOKIE. i.e, each request made to the server carries the COOKIE data stored by the browser for that particular domain. Once sent, the server needs to parse this cookie data and use it to send the appropriate response. And here\u2019s where the catch lies.\n\nNeither node.js\u2019s http interface nor express.js parse the COOKIE field for you. They are extremely minimalistic, and you need to do this by yourself. That is where cookie-parser comes in. It parses the COOKIE header for you and populates **req.cookies** with an object keyed" +"Canadian media baron Conrad Black said on Wednesday he wanted to increase his stake in Australia's oldest newspaper group, John Fairfax Holdings Ltd, to 50 percent from 25, a day after meeting the prime minister.\nHowever, Black repeated that he would sell out of Fairfax if there was no easing in Australia's current media ownership rules, which he described as \"anachronistic\".\nBlack said that although he could not rule out selling his stake to Kerry Packer, the suggested merger plan by Packer between his media empire and Fairfax was unlikely to suceed. \nBlack told shareholders at Fairfax's annual meeting that he had said to John Howard in their first meeting since Howard became prime minister that he would like to raise his stake, which is held through Hollinger International Inc.\nBlack was asked by reporters after Fairfax's meeting just how much he would want to increase his stake to, if allowed. \"Fifty percent,\" he said.\nThe media baron added that U.S. accounting rules effectively punished companies which had higher than 50 percent stakes in their associates. However, Black repeated that he would sell his Fairfax stake if he was not allowed to raise it further. \n\"If the road is truly" +"#!/bin/bash -e\n\n# Copyright 2016 tsuru authors. All rights reserved.\n# Use of this source code is governed by a BSD-style\n# license that can be found in the LICENSE file.\n\nstatus=0\nfor f in `git ls-files | xargs grep -L \"Copyright\" | grep \".go\" | grep -v vendor/`\ndo\n echo $f\n status=1\ndone\n\nif [ $status != 0 ]\nthen\n exit $status\nfi\n\ntofix=\naddallyears=\nwhile [ \"${1-}\" != \"\" ]; do\n case $1 in\n \"-f\" | \"--fix\")\n tofix=true\n ;;\n \"--all\")\n addallyears=true\n ;;\n esac\n shift\ndone\n\noldIFS=$IFS\nIFS=$(echo -en \"\\n\\b\")\n\nfunction join_space { \n IFS=\" \"\n echo \"$*\"\n}\n\nfor f in $(git ls-files | grep -v vendor/ | grep -v check-license.sh | xargs -I{} bash -c '(egrep -Ho \"Copyright [0-9 ]+\" {})')\ndo\n IFS=\":\" read file copyright <<< \"$f\"\n IFS=\" \" read copy year <<< \"$copyright\"\n if [ -z $addallyears ]; then\n expectedYears=`git log --diff-filter=A --follow --format=%ad --date=format:%Y -1 -- $file`\n else\n expectedYears=$(join_space $(git log --follow --format=%ad --date=format:%Y -- $file | sort | uniq))\n fi\n if [[ $year != $expectedYears ]];\n then\n echo \"$file - Copyright $year, created: $expectedYears\"\n if [ -z \"$tofix\" ]; then\n status=1\n else\n sed -E -i \"\" \"s/Copyright [0-9 ]+/Copyright ${expectedYears} /g\" $file\n fi\n fi" +"\n * @package PHP FedEx API wrapper\n * @subpackage Package Movement Information Service\n *\n * @property \\FedEx\\TrackService\\SimpleType\\NotificationSeverityType|string $HighestSeverity\n * @property Notification[] $Notifications\n * @property TransactionDetail $TransactionDetail\n * @property VersionId $Version\n * @property boolean $DuplicateWaybill\n * @property boolean $MoreDataAvailable\n * @property string $PagingToken\n * @property TrackNotificationPackage[] $Packages\n\n */\nclass SendNotificationsReply extends AbstractComplexType\n{\n /**\n * Name of this complex type\n *\n * @var string\n */\n protected $name = 'SendNotificationsReply';\n\n /**\n * This contains the severity type of the most severe Notification in the Notifications array.\n *\n * @param \\FedEx\\TrackService\\SimpleType\\NotificationSeverityType|string $highestSeverity\n * @return $this\n */\n public function setHighestSeverity($highestSeverity)\n {\n $this->values['HighestSeverity'] = $highestSeverity;\n return $this;\n }\n\n /**\n * Information about the request/reply such was the transaction successful or not, and any additional information relevant to the request and/or reply. There may be multiple Notifications in a reply.\n *\n * @param Notification[] $notifications\n * @return $this\n */\n public function setNotifications(array $notifications)\n {\n $this->values['Notifications'] = $notifications;\n return $this;\n }\n\n /**\n * Contains the CustomerTransactionDetail that is echoed back to the caller for matching requests and replies and a Localization element for defining the language/translation used in the reply data.\n *\n * @param" +"\nTransaction Manager\n--------------------\n\n| name | type | description |\n|---|---|---|\n| transaction.online\\_rw | int, ro | Number of active RW transactions. |\n| transaction.online\\_ro | int, ro | Number of active RO transactions. |\n| transaction.commit | int, ro | Total number of completed transactions. |\n| transaction.rollback | int, ro | Total number of transaction rollbacks. |\n| transaction.conflict | int, ro | Total number of transaction conflicts. |\n| transaction.lock | int, ro | Total number of transaction locks. |\n| transaction.latency | string, ro | Average transaction latency from begin till commit. |\n| transaction.log | string, ro | Average transaction log length. |\n| transaction.vlsn | int, ro | Current VLSN. |\n| transaction.gc | int, ro | SSI GC queue size. |" +"#!/usr/bin/env node\n\nimport commander from \"commander\";\nimport loglevel from \"loglevel\";\n\nimport { changelogs } from \"./changelogs\";\nimport { clean } from \"./clean\";\nimport { configs } from \"./configs\";\nimport { CLEAN, DEBUG, SILENT } from \"./constants\";\nimport { indexer } from \"./indexer\";\nimport { libsize } from \"./libsize\";\nimport { release, RELEASE_TYPES, toReleaseType } from \"./release\";\nimport { sandbox } from \"./sandbox\";\nimport { sassdoc } from \"./sassdoc\";\nimport { shared } from \"./shared\";\nimport { themes } from \"./themes\";\nimport { umd } from \"./umd\";\nimport { copyStyles } from \"./utils\";\nimport { variables } from \"./variables\";\nimport { watch } from \"./watch\";\n\nconst argv = process.argv.slice(2);\n\nif (argv.includes(DEBUG)) {\n loglevel.setLevel(\"debug\");\n} else if (argv.includes(SILENT)) {\n loglevel.setLevel(\"error\");\n} else {\n loglevel.setLevel(\"info\");\n}\n\nconst createCommand = (\n command: string,\n cleanable: boolean = false\n): commander.Command => {\n const instance = commander\n .command(command)\n .option(DEBUG, \"Enables the verbose logging to help debug errors.\")\n .option(SILENT, \"Disables all logging.\");\n\n if (cleanable) {\n return instance.option(\n CLEAN,\n \"Removes the existing files before executing.\"\n );\n }\n\n return instance;\n};\n\ncreateCommand(\"clean\")\n .description(\"Cleans all the distributables for all publishable packages.\")\n .action(() => clean());\n\ncreateCommand(\"styles\")\n .description(\n \"Copies all the SCSS files into the dist folder as well as creating non-webpack" +"# Using Distillery with systemd\n\n!!! warning\n You need to be aware that when running `bin/myapp upgrade `,\n this command will be executed in the *callers* environment, not\n the environment defined by the systemd unit. If you need environment\n variables to be available during the upgrade, then you need to either\n execute it with the same environment as the systemd unit, or export those\n environment variables in the calling environment.\n\nHere are two general approaches to running a Distillery release with systemd:\n\n## Run app as daemon using `start` and a `forking` Systemd service *with* pidfile\n\nProperties of this approach:\n\n * Your app will be automatically restarted if it crashes\n * Logs will be written to the `var/log` directory in your release\n * If your app is killed suddenly (on Linux this would mean receiving a `SIGKILL`,as used by \"OOM Killer\") then your app may not get a chance to remove the pidfile and so it may not be restarted. If this is a concern kill your app with `pkill -9 beam.smp` and ensure that the pifile is removed and that the systemd detects strats it again.\n\n```systemd\n[Unit]\nDescription=My App\nAfter=network.target\n\n[Service]\nType=forking\nUser=appuser\nGroup=appuser\nWorkingDirectory=/home/appuser/myapp\nExecStart=/home/appuser/myapp/bin/myapp start\nExecStop=/home/appuser/myapp/bin/myapp" +"IF message contains call AND\n IF message contains mobile THEN\n type = spam\n IF message does not contain mobile AND\n IF message contains claim THEN\n type = spam\n IF message does not contain claim AND\n IF message contains text THEN\n type = spam\n IF message does not contain text AND\n IF message contains landline THEN\n type = spam\n IF message does not contain landline AND\n IF message contains FREE THEN\n type = spam\n IF message does not contain FREE AND\n IF message contains PRIVATE THEN\n type = spam\n IF message does not contain PRIVATE AND\n IF message contains message AND\n IF message contains please THEN\n type = spam\n IF message does not contain please THEN\n type = ham\n IF message does not contain message AND\n IF message contains land THEN\n type = spam\n IF message does not contain land AND\n IF message contains SK38XH THEN\n type = spam\n IF message does not contain SK38XH AND\n IF message contains time AND\n IF message contains DARLIN THEN\n type = ham\n IF message does not contain DARLIN THEN\n type = spam\n IF message does not contain time AND\n IF message contains visit THEN\n type = spam\n IF message does not contain visit AND" +"/**\nQuaternion.\n\nCopyright:\nCopyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. \nCopyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) \nCopyright (c) 2017-2018 Godot-D contributors \n\nLicense: $(LINK2 https://opensource.org/licenses/MIT, MIT License)\n\n\n*/\nmodule godot.core.quat;\n\nimport godot.core.defs;\nimport godot.core.vector3;\nimport godot.core.basis;\n\nimport std.math;\n\n/**\nA 4-dimensional vector representing a rotation.\n\nThe vector represents a 4 dimensional complex number where multiplication of the basis elements is not commutative (multiplying i with j gives a different result than multiplying j with i).\n\nMultiplying quaternions reproduces rotation sequences. However quaternions need to be often renormalized, or else they suffer from precision issues.\n\nIt can be used to perform SLERP (spherical-linear interpolation) between two rotations.\n*/\nstruct Quat\n{\n\t@nogc nothrow:\n\t\n\treal_t x = 0;\n\treal_t y = 0;\n\treal_t z = 0;\n\treal_t w = 1;\n\t\n\tvoid set(real_t p_x, real_t p_y, real_t p_z, real_t p_w)\n\t{\n\t\tx=p_x; y=p_y; z=p_z; w=p_w;\n\t}\n\t\n\tthis(real_t p_x, real_t p_y, real_t p_z, real_t p_w)\n\t{\n\t\tx=p_x; y=p_y; z=p_z; w=p_w;\n\t}\n\t\n\t\n\treal_t length() const\n\t{\n\t\treturn sqrt(lengthSquared());\n\t}\n\t\n\tvoid normalize()\n\t{\n\t\tthis /= length();\n\t}\n\t\n\tQuat normalized() const\n\t{\n\t\treturn this / length();\n\t}\n\t\n\tQuat inverse() const\n\t{\n\t\treturn Quat( -x, -y, -z, w );\n\t}\n\t\n\tvoid setEuler(in Vector3 p_euler)\n\t{\n\t\treal_t half_a1" +"/*\n * This software is licensed under the Apache 2 license, quoted below.\n *\n * Copyright 2017 Astraea, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance with the License. You may obtain a copy of\n * the License at\n *\n * [http://www.apache.org/licenses/LICENSE-2.0]\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n */\n\npackage org.locationtech.rasterframes.encoders\n\nimport geotrellis.raster.{CellType, DataType}\nimport org.apache.spark.sql.catalyst.ScalaReflection\nimport org.apache.spark.sql.catalyst.analysis.GetColumnByOrdinal\nimport org.apache.spark.sql.catalyst.encoders.ExpressionEncoder\nimport org.apache.spark.sql.rf.VersionShims.InvokeSafely\nimport org.apache.spark.sql.types.{ObjectType, StringType}\nimport org.apache.spark.unsafe.types.UTF8String\nimport CatalystSerializer._\nimport scala.reflect.classTag\n\n/**\n * Custom encoder for GT [[CellType]]. It's necessary since [[CellType]] is a type alias of\n * a type intersection.\n * @since 7/21/17\n */\nobject CellTypeEncoder {\n def apply(): ExpressionEncoder[CellType] = {\n // We can't use StringBackedEncoder due to `CellType` being a type alias,\n // and Spark doesn't like that.\n import org.apache.spark.sql.catalyst.expressions._\n import org.apache.spark.sql.catalyst.expressions.objects._\n val ctType = ScalaReflection.dataTypeFor[DataType]\n val schema = schemaOf[CellType]\n val" +"#!/bin/bash\n###############################################################################\n#\n# Update debian repository indexes\n#\n# It actually makes maven repositories expose a debian index.\n#\n# It also create a \"virtual\" stable debian repository in which is selected only\n# stable releases (filter milestonnes and release candidates).\n# It also create a \"virtual\" lts debian repository in which is selected only\n# configured lts branch releases.\n#\n# Requirements:\n# * This script is based on scan_packages. It is provided by dpkg-dev package on Debian.\n# * The script expect to find\n# ** a \"releases\" folder containing a maven repository with the deployed\n# releases (but it's easy to modify it at the beginning of the script)\n# ** a \"snapshots\" dolder containing a maven repository with the deployed\n# snaphots (but it's easy to modify it at the beginning of the script)\n# ** make sure the \"stable\" folder exists if you want a filtered stable debian\n# repository\n# ** make sure the \"lts\" folder exists if you want a filtered lts debian\n# repository. Also make sure you configured the lts branch version\n#\n# Setup:\n# You need to set the $ROOT_REP variable to where your maven repositories are\n#" +"[![Maintenance Status][maintenance-image]](#maintenance-status)\n\n\n

    react-game-kit

    \n\n

    \n Make games with React & React Native!\n

    \n\n***\n\n\n\n\n\n\n## Install\n\n`npm install react-game-kit --save`\n\n## Get Started\n\n`react-game-kit` provides a set of helper components to make it easier to create games with React and React Native.\n\nYou'll want to begin by importing the components you need:\n\n```js\nimport { Loop, Stage } from 'react-game-kit';\n```\n\n### Loop & Stage\n\nNext, in your render method of your top level component, you'll want to put the `Loop` component at the top level, optionally followed by the `Stage` component:\n\n```js\nrender() {\n return (\n \n \n // Game specific components go here\n \n \n );\n}\n```\n\nThe `Loop` component uses `context` to pass a subscribable game tick down your component tree. The `Stage` component does the same with game scale.\n\n### World\n\nIf you intend on using physics in your game, a good next component would be the `World` component, which creates and provides a physics engine & world:\n\n```js\nrender() {\n return (\n \n \n \n // Game specific components go here\n \n \n \n );\n}\n```\n\n### Physics Bodies\n\nOnce you have a" +"#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\nfrom itertools import chain\nfrom pathlib import Path\nfrom typing import List, Tuple, Any, Set\n\nimport webstruct\n\nfrom .utils import pages_progress\n\n\nWEBSTRUCT_DATA = Path(__name__).parent / \"..\" / \"webstruct_data\"\nGAZETTEER_DATA = Path(__name__).parent / \"_data\"\n\n\nKNOWN_ENTITIES = [\n 'ORG', 'TEL', 'FAX', 'HOURS',\n 'STREET', 'CITY', 'STATE', 'ZIPCODE', 'COUNTRY',\n 'EMAIL', 'PER', 'FUNC', 'SUBJ'\n]\nCONTACT_ENTITIES = [\n 'ORG', 'TEL', 'FAX', 'HOURS',\n 'STREET', 'CITY', 'STATE', 'ZIPCODE', 'COUNTRY',\n 'SUBJ',\n]\nADDRESS_ENTITIES = [\n 'STREET', 'CITY', 'STATE', 'ZIPCODE', 'COUNTRY',\n]\n\n\ndef load_webstruct_data() -> List:\n \"\"\"\n Load training data from webstruct repository.\n \"\"\"\n wa_loader = webstruct.WebAnnotatorLoader(known_entities=KNOWN_ENTITIES)\n\n trees1 = webstruct.load_trees(\n str(WEBSTRUCT_DATA / \"corpus/business_pages/wa/*.html\"),\n loader=wa_loader,\n )\n\n trees2 = webstruct.load_trees(\n str(WEBSTRUCT_DATA / \"corpus/us_contact_pages/wa/*.html\"),\n loader=wa_loader\n )\n trees = chain(trees1, trees2)\n return list(pages_progress(\n trees,\n desc=\"Loading webstruct default annotated data\"\n ))\n\n\ndef load_countries() -> Set[str]:\n countries_path = WEBSTRUCT_DATA / 'gazetteers/countries/countries.txt'\n return set(countries_path.read_text().splitlines())" +"SUMMARY = \"OpenFlow communications protocol\"\nDESCRIPTION = \"\\\nOpen standard that enables researchers to run experimental protocols in \\\ncontained networks. OpenFlow is a communications interface between \\\ncontrol and forwarding planes of a software-defined networking architecture.\\\n\"\nHOMEPAGE = \"http://www.openflow.org\"\n\nSECTION = \"net\"\nLICENSE = \"GPLv2\"\n\nLIC_FILES_CHKSUM = \"file://COPYING;md5=e870c934e2c3d6ccf085fd7cf0a1e2e2\"\n\nSRC_URI = \"git://gitosis.stanford.edu/openflow.git;protocol=git\"\n\nDEPENDS = \"virtual/libc\"\n\nPACKAGECONFIG ??= \"openssl\"\nPACKAGECONFIG[openssl] = \"--enable-ssl,--disable-ssl, openssl openssl-native, libssl\"\n\nEXTRA_OECONF += \" \\\n KARCH=${TARGET_ARCH} \\\n ${@bb.utils.contains('PACKAGECONFIG', 'openssl', 'SSL_LIBS=\"-lssl -lcrypto\"', '', d)} \\\n \"\n\nS = \"${WORKDIR}/git\"\n\ninherit autotools-brokensep pkgconfig\n\ndo_configure_prepend() {\n ./boot.sh\n}\n\ndo_install_append() {\n # Remove /var/run as it is created on startup\n rm -rf ${D}${localstatedir}/run\n}" +"/*\n * (C) Copyright 2014 Boni Garcia (http://bonigarcia.github.io/)\n * \n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n * \n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n * \n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see .\n */\npackage io.github.bonigarcia.dualsub.gui;\n\nimport java.awt.datatransfer.DataFlavor;\nimport java.awt.datatransfer.Transferable;\nimport java.io.File;\nimport java.util.List;\n\nimport javax.swing.JList;\nimport javax.swing.TransferHandler;\n\n/**\n * ListTransferHandler.\n * \n * @author Boni Garcia (boni.gg@gmail.com)\n * @since 1.0.0\n */\npublic class ListTransferHandler extends TransferHandler {\n\n\tprivate static final long serialVersionUID = 1L;\n\n\tprivate JList list;\n\n\tpublic ListTransferHandler(JList list) {\n\t\tthis.list = list;\n\t}\n\n\t@Override\n\tpublic boolean canImport(TransferHandler.TransferSupport info) {\n\t\tif (!info.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n\n\t@Override\n\t@SuppressWarnings(\"unchecked\")\n\tpublic boolean importData(TransferHandler.TransferSupport info) {\n\t\tif (!info.isDrop()) {\n\t\t\treturn false;\n\t\t}" +"// Copyright 2017 The Go Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n// Package errd simplifies error and defer handling.\n//\n// Overview\n//\n// Package errd allows returning form a block of code without using the usual if\n// clauses, while properly intercepting errors and passing them to code called\n// at defer time.\n//\n// The following piece of idiomatic Go writes the contents of a reader to a file\n// on Google Cloud Storage:\n//\n// func writeToGS(ctx context.Context, bucket, dst string, r io.Reader) (err error) {\n// client, err := storage.NewClient(ctx)\n// if err != nil {\n// return err\n// }\n// defer client.Close()\n//\n// w := client.Bucket(bucket).Object(dst).NewWriter(ctx)\n// defer func() {\n// if r := recover(); r != nil {\n// w.CloseWithError(fmt.Errorf(\"panic: %v\", r))\n// panic(r)\n// }\n// if err != nil {\n// _ = w.CloseWithError(err)\n// } else {\n// err = w.Close()\n// }\n// }\n// _, err = io.Copy(w, r)\n// return err\n// }\n//\n// Google Cloud Storage allows files to be written atomically. This code\n//" +"class Site::Client < Site\n validates_presence_of :url, :callback_url, :secret\n\n has_many :oauth2_tokens,\n foreign_key: 'site_id',\n dependent: :destroy\n\n has_many :authorization_codes,\n foreign_key: 'site_id',\n class_name: 'Oauth2Token::AuthorizationCode'\n\n has_many :access_tokens,\n foreign_key: 'site_id',\n class_name: 'Oauth2Token::AccessToken'\n\n has_many :refresh_tokens,\n foreign_key: 'site_id',\n class_name: 'Oauth2Token::RefreshToken'\n\n before_validation :set_secret,\n on: :create\n\n after_create :set_manager\n\n scope :managed_by, lambda { |actor|\n select(\"DISTINCT sites.*\").\n joins(actor: :sent_permissions).\n merge(Contact.received_by(actor)).\n merge(Permission.where(action: 'manage', object: nil))\n }\n\n %w{ url callback_url secret }.each do |m|\n define_method m do\n config[m]\n end\n\n define_method \"#{ m }=\" do |arg|\n config[m] = arg\n end\n end\n\n # Generate a new OAuth secret for this site client\n def refresh_secret!\n set_secret\n save!\n end\n\n private\n\n def set_secret\n self.secret = SecureRandom.hex(64)\n end\n\n def set_manager\n c = sent_contacts.create! receiver_id: author.id,\n user_author: author\n\n c.relation_ids = [ ::Relation::Manager.instance.id ]\n end\nend" +"# PyZX - Python library for quantum circuit rewriting \n# and optimization using the ZX-calculus\n# Copyright (C) 2018 - Aleks Kissinger and John van de Wetering\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n\n# http://www.apache.org/licenses/LICENSE-2.0\n\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n__all__ = ['draw', 'arrange_scalar_diagram', 'draw_matplotlib', 'draw_d3', \n 'matrix_to_latex', 'print_matrix']\n\nimport os\nimport math\nimport cmath\nimport json\nfrom fractions import Fraction\nfrom typing import Dict, List, Tuple, Optional, Union, Iterable, Any, TYPE_CHECKING\nfrom typing_extensions import Literal\n\nimport numpy as np\n\ntry:\n import matplotlib.pyplot as plt\n from matplotlib import patches, lines, path\nexcept:\n plt = None\n\nfrom .utils import settings, phase_to_s, EdgeType, VertexType, FloatInt\nfrom .graph.base import BaseGraph, VT, ET\nfrom .circuit import Circuit\n\nif settings.mode == \"notebook\":\n from IPython.display import display, HTML # type: ignore\nelif settings.mode" +"/*\n * WorldEdit, a Minecraft world manipulation toolkit\n * Copyright (C) sk89q \n * Copyright (C) WorldEdit team and contributors\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see .\n */\n\npackage com.sk89q.worldedit.util.time;\n\nimport java.nio.file.Path;\nimport java.time.ZonedDateTime;\nimport javax.annotation.Nullable;\n\n/**\n * Instances of this interface try to determine an {@link ZonedDateTime} from a given\n * {@link Path}.\n */\npublic interface SnapshotDateTimeParser {\n\n /**\n * Attempt to detect an ZonedDateTime from a path.\n *\n *

    \n * The path is not guaranteed to exist.\n *

    \n *\n * @param path the path\n * @return date-time, if it can be" +"package Paws::S3::NoncurrentVersionTransition;\n use Moose;\n has NoncurrentDays => (is => 'ro', isa => 'Int');\n has StorageClass => (is => 'ro', isa => 'Str');\n1;\n\n### main pod documentation begin ###\n\n=head1 NAME\n\nPaws::S3::NoncurrentVersionTransition\n\n=head1 USAGE\n\nThis class represents one of two things:\n\n=head3 Arguments in a call to a service\n\nUse the attributes of this class as arguments to methods. You shouldn't make instances of this class. \nEach attribute should be used as a named argument in the calls that expect this type of object.\n\nAs an example, if Att1 is expected to be a Paws::S3::NoncurrentVersionTransition object:\n\n $service_obj->Method(Att1 => { NoncurrentDays => $value, ..., StorageClass => $value });\n\n=head3 Results returned from an API call\n\nUse accessors for each attribute. If Att1 is expected to be an Paws::S3::NoncurrentVersionTransition object:\n\n $result = $service_obj->Method(...);\n $result->Att1->NoncurrentDays\n\n=head1 DESCRIPTION\n\nContainer for the transition rule that describes when noncurrent\nobjects transition to the C, C,\nC, C, or C storage class.\nIf your bucket is versioning-enabled (or versioning is suspended), you\ncan set this action to request that Amazon S3 transition noncurrent\nobject versions to the C, C,\nC, C, or C storage class at\na specific period in the object's lifetime.\n\n=head1 ATTRIBUTES\n\n\n=head2 NoncurrentDays" +"from artiq.language.core import *\nfrom artiq.language.types import *\n\n\n@syscall(flags={\"nounwind\", \"nowrite\"})\ndef cache_get(key: TStr) -> TList(TInt32):\n raise NotImplementedError(\"syscall not simulated\")\n\n@syscall(flags={\"nowrite\"})\ndef cache_put(key: TStr, value: TList(TInt32)) -> TNone:\n raise NotImplementedError(\"syscall not simulated\")\n\n\nclass CoreCache:\n \"\"\"Core device cache access\"\"\"\n def __init__(self, dmgr, core_device=\"core\"):\n self.core = dmgr.get(core_device)\n\n @kernel\n def get(self, key):\n \"\"\"Extract a value from the core device cache.\n After a value is extracted, it cannot be replaced with another value using\n :meth:`put` until all kernel functions finish executing; attempting\n to replace it will result in a :class:`artiq.coredevice.exceptions.CacheError`.\n\n If the cache does not contain any value associated with ``key``, an empty list\n is returned.\n\n The value is not copied, so mutating it will change what's stored in the cache.\n\n :param str key: cache key\n :return: a list of 32-bit integers\n \"\"\"\n return cache_get(key)\n\n @kernel\n def put(self, key, value):\n \"\"\"Put a value into the core device cache. The value will persist until reboot.\n\n To remove a value from the cache, call :meth:`put` with an empty list.\n\n :param str key: cache key\n :param list value: a list of 32-bit integers\n \"\"\"\n cache_put(key, value)" +" 'staff_3',\n 'requestData' => []\n ];\n }\n\n public function handler() {\n $password = Controller::request('password');\n\n if(!Hashing::verifyPassword($password,Controller::getLoggedUser()->password)) {\n throw new RequestException(ERRORS::INVALID_PASSWORD);\n return;\n }\n\n $registrationRow = Setting::getSetting('registration');\n\n $registrationRow->value = true;\n $registrationRow->store();\n\n Response::respondSuccess();\n }\n}" +"#!/usr/bin/python\n# Copyright 2012 BrewPi\n# This file is part of BrewPi.\n\n# BrewPi is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, either version 3 of the License, or\n# (at your option) any later version.\n\n# BrewPi is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n\n# You should have received a copy of the GNU General Public License\n# along with BrewPi. If not, see .\n\nfrom __future__ import print_function\nimport sys\n\nfrom BrewPiUtil import printStdErr\nfrom BrewPiUtil import logMessage\nfrom autoSerial import find_serial_numbers\n\n# Check needed software dependencies to nudge users to fix their setup\nif sys.version_info < (2, 7):\n printStdErr(\"Sorry, requires Python 2.7.\")\n sys.exit(1)\n\n# standard libraries\nimport time\nimport socket\nimport os\nimport getopt\nfrom pprint import pprint\nimport shutil\nimport traceback\nimport urllib\nfrom distutils.version import LooseVersion\nfrom serial import SerialException\n\n# load non standard packages, exit when they are not installed\ntry:\n import" +"(function () {\n\t/* global CLASS */\n\t'use strict';\n\tCLASS({\n\t\tpackage: 'com.todomvc',\n\t\tname: 'Todo',\n\t\tproperties: [\n\t\t\t'id',\n\t\t\t{ name: 'completed', type: 'Boolean' },\n\t\t\t{ name: 'text', preSet: function (_, text) { return text.trim(); } }\n\t\t],\n\t\ttemplates: [\n\t\t\tfunction toDetailHTML() {/*\n\t\t\t\t
  • \n\t\t\t\t\t
    \n\t\t\t\t\t\t$$completed{className: 'toggle'}\n\t\t\t\t\t\t$$text{mode: 'read-only', tagName: 'label'}\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t$$text{className: 'edit'}\n\t\t\t\t
  • \n\t\t\t\t<%\n\t\t\t\t\tvar toEdit = function () { DOM.setClass(this.$, 'editing'); this.textView.focus(); }.bind(this);\n\t\t\t\t\tvar toDisplay = function () { DOM.setClass(this.$, 'editing', false); }.bind(this);\n\t\t\t\t\tthis.on('dblclick', toEdit, this.id);\n\t\t\t\t\tthis.on('blur', toDisplay, this.textView.id);\n\t\t\t\t\tthis.textView.subscribe(this.textView.ESCAPE, toDisplay);\n\t\t\t\t\tthis.setClass('completed', function () { return this.data.completed; }.bind(this), this.id);\n\t\t\t\t%>\n\t\t\t*/}\n\t\t]\n\t});\n})();" +" ;; Test file for AMD64 inline hooks.\n[BITS 64]\ndefault rel\n\n%macro HookTestCase 2\n db '---', 10\n db 'arch: AMD64', 10\n db 'name: ' ; The name of the test case.\n db %2, 10\n db '...', 10\n db ''\ntest%1:\n%endmacro\n\n%macro EndHookTestCase 0\n nop\n nop\n nop\n nop\n db '', 10\n nop\n nop\n nop\n nop\n%endmacro\n\n\nsection .text:\nstart:\n ;; The Start of the .text section is mapped at offset 0.\n ;; We mark it so it can be easily found by the profile\n ;; generation script.\n ;; Pad here by exactly 0x100 chars to ensure that __target__ is at\n ;; offset 0x100.\n db '__start__ '\n db ' '\n db ' '\n db ' '\n\ntarget:\n db '__target__'\n ;; The target for all the jumps.\n ret\n\ntemp: dq 0\n\n ;; Following are test cases for hooks.\n HookTestCase ImmediateJump, \"ImmediateJump\"\n jmp target\n EndHookTestCase\n\n HookTestCase IndirectJump, \"IndirectJump\"\n lea rax, [rel target]\n jmp rax\n EndHookTestCase\n\n HookTestCase IndirectJump2, \"IndirectJump2\"\n lea rax, [target]\n mov [temp], rax\n mov rbx, [temp]\n jmp rbx\n EndHookTestCase\n\n HookTestCase IndirectJump3, \"IndirectJump3\"\n lea rbx, [target]\n jmp rbx\n EndHookTestCase\n\n HookTestCase IndirectJump4, \"IndirectJump4\"\n lea rcx, [target]\n jmp rcx\n EndHookTestCase\n\n HookTestCase IndirectJump5, \"IndirectJump5\"\n lea rcx, [target]\n mov [start], rcx\n jmp [start]\n EndHookTestCase\n\n HookTestCase PushRet, \"PushRet\"" +"\n\n\n\n \n \n \n\n\n\n
    \n
    \n\n\n" +"name: Update Bangladesh Data\n\non:\n schedule:\n - cron: \"45 7,9 * * *\"\n\njobs:\n build:\n runs-on: ubuntu-latest\n\n services:\n selenium:\n image: selenium/standalone-firefox\n ports:\n - 4444:4444\n options: -v /dev/shm:/dev/shm\n\n steps:\n - name: Checkout repo\n uses: actions/checkout@v2\n - name: Setup Python\n uses: actions/setup-python@v1\n with:\n python-version: \"3.7\"\n - name: Install Python dependencies\n run: pip install -r requirements.txt\n - name: Fetch new data\n run: |\n python data/bangladesh-data/crawler.py\n python data/bangladesh-data/crawler_arcgis.py\n - name: Commit data files\n run: |\n git config --local user.email \"action@github.com\"\n git config --local user.name \"GitHub Action\"\n git status\n git add .\n git commit -m \"Update Bangladesh Data\" || echo \"Nothing to commit\"\n - name: Push changes\n uses: ad-m/github-push-action@master\n with:\n repository: stevenliuyi/covid19\n github_token: ${{ secrets.GITHUB_TOKEN }}" +"package org.bouncycastle.asn1.cmp;\n\nimport org.bouncycastle.asn1.ASN1EncodableVector;\nimport org.bouncycastle.asn1.ASN1Object;\nimport org.bouncycastle.asn1.ASN1Primitive;\nimport org.bouncycastle.asn1.ASN1Sequence;\nimport org.bouncycastle.asn1.DERSequence;\n\npublic class GenRepContent\n extends ASN1Object\n{\n private ASN1Sequence content;\n\n private GenRepContent(ASN1Sequence seq)\n {\n content = seq;\n }\n\n public static GenRepContent getInstance(Object o)\n {\n if (o instanceof GenRepContent)\n {\n return (GenRepContent)o;\n }\n\n if (o != null)\n {\n return new GenRepContent(ASN1Sequence.getInstance(o));\n }\n\n return null;\n }\n\n public GenRepContent(InfoTypeAndValue itv)\n {\n content = new DERSequence(itv);\n }\n\n public GenRepContent(InfoTypeAndValue[] itv)\n {\n ASN1EncodableVector v = new ASN1EncodableVector();\n for (int i = 0; i < itv.length; i++)\n {\n v.add(itv[i]);\n }\n content = new DERSequence(v);\n }\n\n public InfoTypeAndValue[] toInfoTypeAndValueArray()\n {\n InfoTypeAndValue[] result = new InfoTypeAndValue[content.size()];\n\n for (int i = 0; i != result.length; i++)\n {\n result[i] = InfoTypeAndValue.getInstance(content.getObjectAt(i));\n }\n\n return result;\n }\n\n /**\n *
    \n     * GenRepContent ::= SEQUENCE OF InfoTypeAndValue\n     * 
    \n * @return a basic ASN.1 object representation.\n */\n public ASN1Primitive toASN1Primitive()\n {\n return content;\n }\n}" +"// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include \"CoreMinimal.h\"\n#include \"ISourceControlProvider.h\"\n\nnamespace SourceControlAutomationCommon\n{\n\t/**\n\t* Helper class for receiving the results of async source control operations\n\t*/\n\tclass FAsyncCommandHelper\n\t{\n\tpublic:\n\t\tFAsyncCommandHelper(const FString& InParameter = FString())\n\t\t\t: Parameter(InParameter)\n\t\t\t, bDispatched(false)\n\t\t\t, bDone(false)\n\t\t\t, bSuccessful(false)\n\t\t{\n\t\t}\n\n\t\tvoid SourceControlOperationComplete(const FSourceControlOperationRef& Operation, ECommandResult::Type InResult)\n\t\t{\n\t\t\tbDone = true;\n\t\t\tbSuccessful = InResult == ECommandResult::Succeeded;\n\t\t}\n\n\t\tconst FString& GetParameter() const\n\t\t{\n\t\t\treturn Parameter;\n\t\t}\n\n\t\tbool IsDispatched() const\n\t\t{\n\t\t\treturn bDispatched;\n\t\t}\n\n\t\tvoid SetDispatched()\n\t\t{\n\t\t\tbDispatched = true;\n\t\t}\n\n\t\tbool IsDone() const\n\t\t{\n\t\t\treturn bDone;\n\t\t}\n\n\t\tbool IsSuccessful() const\n\t\t{\n\t\t\treturn bSuccessful;\n\t\t}\n\n\tprivate:\n\t\t/** Parameter we perform this operation with, if any */\n\t\tFString Parameter;\n\n\t\t/** Whether the async operation been issued */\n\t\tbool bDispatched;\n\n\t\t/** Whether the async operation has completed */\n\t\tbool bDone;\n\n\t\t/** Whether the operation was successful */\n\t\tbool bSuccessful;\n\t};\n}" +"/* COMPATIBILITY \n - HLSL compilers\n - Cg compilers\n*/\n\n#define brightness 1.6\n\n// VERTEX SHADER //\n\nvoid main_vertex\n(\n float4 position\t: POSITION,\n float4 color\t: COLOR,\n float2 texCoord : TEXCOORD0,\n\n uniform float4x4 modelViewProj,\n\n out float4 oPosition : POSITION,\n out float4 oColor : COLOR,\n out float2 otexCoord : TEXCOORD0\n )\n{\n oPosition = mul(modelViewProj, position);\n oColor = color;\n otexCoord = texCoord;\n}\n\nstruct output\n{\n float4 color : COLOR;\n};\n\nstruct pass_1\n{\n sampler2D texture : TEXUNIT1;\n};\n\nstruct input\n{\n float2 video_size;\n float2 texture_size;\n float2 output_size;\n float frame_count;\n float frame_direction;\n float frame_rotation;\n sampler2D texture : TEXUNIT0;\n};\n\n// FRAGMENT SHADER //\n\noutput main_fragment (\n\tfloat2 texCoord : TEXCOORD0,\n\tuniform input IN,\n\tuniform sampler2D texture : TEXUNIT0,\n\tuniform pass_1 PASSPREV3 ) \t: COLOR\n{\n\toutput OUT;\n\tfloat4 pass1 = tex2D(IN.texture, texCoord);\n\tfloat4 pass2 = tex2D(PASSPREV3.texture, texCoord);\n\t\t\n OUT.color = 1.0 - (1.0 - (pass1 * brightness)) * (1.0 - pass2);\n\n\treturn OUT;\n}" +"// Code generated by sqlc. DO NOT EDIT.\n// source: query.sql\n\npackage querytest\n\nimport (\n\t\"context\"\n)\n\nconst selectUserArg = `-- name: SelectUserArg :many\nSELECT first_name from\nusers where (? = id OR ? = 0)\n`\n\nfunc (q *Queries) SelectUserArg(ctx context.Context, id interface{}) ([]string, error) {\n\trows, err := q.db.QueryContext(ctx, selectUserArg, id)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tdefer rows.Close()\n\tvar items []string\n\tfor rows.Next() {\n\t\tvar first_name string\n\t\tif err := rows.Scan(&first_name); err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\titems = append(items, first_name)\n\t}\n\tif err := rows.Close(); err != nil {\n\t\treturn nil, err\n\t}\n\tif err := rows.Err(); err != nil {\n\t\treturn nil, err\n\t}\n\treturn items, nil\n}\n\nconst selectUserQuestion = `-- name: SelectUserQuestion :many\nSELECT first_name from\nusers where (? = id OR ? = 0)\n`\n\ntype SelectUserQuestionParams struct {\n\tColumn1 interface{}\n\tColumn2 interface{}\n}\n\nfunc (q *Queries) SelectUserQuestion(ctx context.Context, arg SelectUserQuestionParams) ([]string, error) {\n\trows, err := q.db.QueryContext(ctx, selectUserQuestion, arg.Column1, arg.Column2)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tdefer rows.Close()\n\tvar items []string\n\tfor rows.Next() {\n\t\tvar first_name string\n\t\tif err := rows.Scan(&first_name); err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\titems = append(items, first_name)" +"/* Verify that we refuse 'acc_map_data' when the \"device address [...] is\n already mapped\". */\n\n/* { dg-skip-if \"\" { *-*-* } { \"*\" } { \"-DACC_MEM_SHARED=0\" } } */\n\n#include \n#include \n#include \n\ndouble global_var;\n#pragma acc declare create (global_var)\n\nint\nmain ()\n{\n double var;\n void *d = acc_deviceptr (&global_var);\n assert (d);\n /* Try to arrange a setting such that a later 'acc_unmap_data' would find the\n device memory object still referenced elsewhere. This is not possible,\n given the semantics of 'acc_map_data'. */\n fprintf (stderr, \"CheCKpOInT\\n\");\n acc_map_data (&var, d, sizeof var);\n\n return 0;\n}\n\n\n/* { dg-output \"CheCKpOInT(\\n|\\r\\n|\\r).*\" } */\n/* { dg-output \"device address \\\\\\[\\[0-9a-fA-FxX\\]+, \\\\\\+8\\\\\\] is already mapped\" { xfail *-*-* } } TODO PR92888 */\n/* { dg-shouldfail \"TODO PR92888\" { this-really-should-fail } } */" +"\n\n\n\n

    The internal GemFire API documentation is intended to provide\ndevelopers, QA engineers, application architects, and technical\nsupport details of the implementation of GemFire. This documentation\nis not intended to be consumed by GemFire users.

    \n\n\n" +"/* SPDX-License-Identifier: Zlib */\n\n#ifndef SHORTCUTS_H\n#define SHORTCUTS_H\n\n#include \n\n/**\n * Abort the current action and return to normal mode\n *\n * @param session The used girara session\n * @param argument The used argument\n * @param event Girara event\n * @param t Number of executions\n * @return true if no error occurred otherwise false\n */\nbool sc_abort(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t);\n\n/**\n * Adjust the rendered pages to the window\n *\n * @param session The used girara session\n * @param argument The used argument\n * @param event Girara event\n * @param t Number of executions\n * @return true if no error occurred otherwise false\n */\nbool sc_adjust_window(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t);\n\n/**\n * Change the current mode\n *\n * @param session The used girara session\n * @param argument The used argument\n * @param event Girara event\n * @param t Number of executions\n * @return true if no error occurred otherwise false\n */\nbool sc_change_mode(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t);\n\n/**\n * Display a link\n *\n * @param session The used girara session\n * @param argument The used argument\n * @param event Girara event\n * @param t Number of" +"/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.apache.pdfbox.pdmodel.interactive.annotation;\n\nimport java.util.HashMap;\nimport java.util.Map;\nimport org.apache.pdfbox.cos.COSBase;\nimport org.apache.pdfbox.cos.COSDictionary;\nimport org.apache.pdfbox.cos.COSName;\nimport org.apache.pdfbox.cos.COSStream;\nimport org.apache.pdfbox.pdmodel.common.COSDictionaryMap;\nimport org.apache.pdfbox.pdmodel.common.COSObjectable;\n\n/**\n * An entry in an appearance dictionary. May contain either a single appearance stream or an appearance subdictionary.\n *\n * @author John Hewson\n */\npublic class PDAppearanceEntry implements COSObjectable\n{\n private COSDictionary entry;\n\n private PDAppearanceEntry()\n {\n }\n\n /**\n * Constructor for reading.\n * \n * @param entry\n */\n public PDAppearanceEntry(COSDictionary entry)\n {\n this.entry =" +"//\u70b9\u51fb\u6362\u4e00\u5f20\u9a8c\u8bc1\u7801\nfunction changeImg() {\n\tvar imgSrc = $(\"#imgObj\"); \n var src = imgSrc.attr(\"src\"); \n imgSrc.attr(\"src\",chgUrl(src)); \n $(\"#info\").html(\"\");\n}\n//\u65f6\u95f4\u6233 \n//\u4e3a\u4e86\u4f7f\u6bcf\u6b21\u751f\u6210\u56fe\u7247\u4e0d\u4e00\u81f4\uff0c\u5373\u4e0d\u8ba9\u6d4f\u89c8\u5668\u8bfb\u7f13\u5b58\uff0c\u6240\u4ee5\u9700\u8981\u52a0\u4e0a\u65f6\u95f4\u6233 \nfunction chgUrl(url) {\n\tvar timestamp = (new Date()).valueOf();\n\tvar dex=url.indexOf(\"drawImage\")+\"drawImage\".length;\n url = url.substring(0, dex);\n\tif ((url.indexOf(\"&\") >= 0)) {\n\t\turl = url + \"\u00d7tamp=\" + timestamp; \n\t} else {\n\t\turl = url + \"?timestamp=\" + timestamp; \n\t}\n\treturn url;\n}\n//\u9a8c\u8bc1\u7801\u9a8c\u8bc1\nfunction isRightCode() {\n\tvar code = $(\"#veryCode\").attr(\"value\");\n\t//alert(code);\n\tcode = \"c=\" + code;\n\t$.ajax( {\n\t\ttype : \"POST\",\n\t\turl : \"ResultServlet\",\n\t\tdata : code,\n\t\tsuccess : callback\n\t});\n}\n//\u9a8c\u8bc1\u4ee5\u540e\u5904\u7406\u63d0\u4ea4\u4fe1\u606f\u6216\u9519\u8bef\u4fe1\u606f\nfunction callback(data) {\n\tif(data.toString()==1)\n\t{\n\t\t$(\"#info\").html(\"xw\u7d20\u6750\u7f51\u63d0\u9192\u60a8\uff1a\u6210\u529f\u4e86\uff01\");\n\t return;\n\t}else\n\t{\n\t\t$(\"#info\").html(data);\n\t\treturn;\n\t}\n}" +"/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage tech.tablesaw.io;\n\nimport com.google.common.io.Files;\nimport java.io.File;\nimport java.io.IOException;\nimport java.io.OutputStream;\nimport java.io.StringWriter;\nimport java.io.Writer;\nimport tech.tablesaw.api.Table;\nimport tech.tablesaw.io.csv.CsvWriteOptions;\nimport tech.tablesaw.io.csv.CsvWriter;\n\npublic class DataFrameWriter {\n\n private final WriterRegistry registry;\n private final Table table;\n\n public DataFrameWriter(WriterRegistry registry, Table table) {\n this.registry = registry;\n this.table = table;\n }\n\n public void toFile(String file) throws IOException {\n toFile(new File(file));\n }\n\n public void toFile(File file) throws IOException {\n String extension = Files.getFileExtension(file.getCanonicalPath());\n DataWriter dataWriter = registry.getWriterForExtension(extension);\n dataWriter.write(table, new Destination(file));\n }\n\n public void toStream(OutputStream stream, String extension) throws IOException {\n DataWriter dataWriter = registry.getWriterForExtension(extension);\n dataWriter.write(table, new Destination(stream));\n }\n\n public void toWriter(Writer writer, String extension) throws IOException {\n DataWriter dataWriter = registry.getWriterForExtension(extension);\n dataWriter.write(table, new Destination(writer));\n }\n\n public" +"const int five = 5;\nint array[five];\n\nclass A\n {\n public:\n enum values { zero, nonzero };\n };\n\ntypedef int PRInt32;\nconst PRInt32 kDefaultStringSize = 64;\nenum eCharSize {eOneByte=0,eTwoByte=1};\nchar mBuffer_1[kDefaultStringSize << eTwoByte];\n\nchar mBuffer_2[kDefaultStringSize << A::zero];\n\n// Note that \"A::nonzero\" will be unparsed as unparsed as \"eTwoByte\"\n// because the types are equivalent. Not sure where this should be \n// fixed or if it might be an EDG issue. I expect that our name\n// mangling is using values for enums rather than names. This is\n// not a critical issue but should be fixed at some point, the \n// resulting code is still correct, but transformations would be\n// an issue.\nchar mBuffer_3[kDefaultStringSize << A::nonzero];" +"/*\n * Wazuh app - React component for show search and filter\n * Copyright (C) 2015-2020 Wazuh, Inc.\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * Find more information about this on the LICENSE file.\n */\n\nexport { BaseHandler } from './base-handler';\nexport { queryObject, IConjuntions, IOperator, QInterpreter } from './q-interpreter';\nexport { qSuggests, } from './q-handler';\nexport { SuggestHandler } from './suggest-handler';\nexport { IWzSuggestItem } from '../wz-search-bar';\nexport { filtersToObject, IFilter} from './filters-to-object';" +"== 0.7.6 [8/26/2014]\n\nNew:\n\n- Extended renderEach documentation [rprince]\n- Added bower.json file [mkoryak]\n\nFixed:\n\n- Indentation in README [crzidea]\n\n== 0.7.5 [2/22/2014]\n\nNew:\n\n- Allow for different selectors in the push location proxy and only bind them within the app's element [kevingessner]\n- Add AMD support to Handlebars [rikkert]\n- Allow template paths with query parameters [trengrj]\n- Allow JSON paths with query parameters [vicb]\n- Support for new Google Analytics [erpheus]\n- More documentation for contextMatchesOptions [PhilippSoehnlein]\n\nFixed:\n\n- Documentation for onComplete was formatted incorrectly [togakangaroo]\n- AMD issues [rikkert]\n- Hostname issues in IE [teelahti]\n- Clicking an element within a link that targets a different window should be ignored [dtretyakov]\n- Allow using jQuery in noConflict mode [vicb]\n- Test for console.log is broken in IE8 [CodeOtter]\n- When not passing a verb to `route`, the assignment of path is broken [luckydrq]\n\n== 0.7.4 [1/27/2013]\n\nFixed:\n\n- Hotfix for bad jshinting of form matching\n\n== 0.7.3 [1/27/2013]\n\nNew:\n\n- Support for asynchronous chained callbacks [deitch]\n- Make plugins AMD enabled [delrosario]\n- Mixpanel and kissmetrics plugins [jpgarcia]\n\nFixed:\n\n- Better target checking for links and forms [jamesarosen]\n- Changed $.live() to $.delegate() [smithkl42]\n\n== 0.7.2 [10/19/2012]" +"package define\n\nconst (\n\t// HealthCheckHealthy describes a healthy container\n\tHealthCheckHealthy string = \"healthy\"\n\t// HealthCheckUnhealthy describes an unhealthy container\n\tHealthCheckUnhealthy string = \"unhealthy\"\n\t// HealthCheckStarting describes the time between when the container starts\n\t// and the start-period (time allowed for the container to start and application\n\t// to be running) expires.\n\tHealthCheckStarting string = \"starting\"\n)\n\n// HealthCheckStatus represents the current state of a container\ntype HealthCheckStatus int\n\nconst (\n\t// HealthCheckSuccess means the health worked\n\tHealthCheckSuccess HealthCheckStatus = iota\n\t// HealthCheckFailure means the health ran and failed\n\tHealthCheckFailure HealthCheckStatus = iota\n\t// HealthCheckContainerStopped means the health check cannot\n\t// be run because the container is stopped\n\tHealthCheckContainerStopped HealthCheckStatus = iota\n\t// HealthCheckContainerNotFound means the container could\n\t// not be found in local store\n\tHealthCheckContainerNotFound HealthCheckStatus = iota\n\t// HealthCheckNotDefined means the container has no health\n\t// check defined in it\n\tHealthCheckNotDefined HealthCheckStatus = iota\n\t// HealthCheckInternalError means some something failed obtaining or running\n\t// a given health check\n\tHealthCheckInternalError HealthCheckStatus = iota\n\t// HealthCheckDefined means the healthcheck was found on the container\n\tHealthCheckDefined HealthCheckStatus = iota\n)" +"//\n// A rust binding for the GSL library by Guillaume Gomez (guillaume1.gomez@gmail.com)\n//\n\nuse ffi;\nuse types::Rng;\n\n/// This function returns a random variate from the logistic distribution. The distribution function is,\n///\n/// p(x) dx = { \\exp(-x/a) \\over a (1 + \\exp(-x/a))^2 } dx\n///\n/// for -\\infty < x < +\\infty.\npub fn logistic(r: &mut Rng, a: f64) -> f64 {\n unsafe { ffi::gsl_ran_logistic(ffi::FFI::unwrap_unique(r), a) }\n}\n\n/// This function computes the probability density p(x) at x for a logistic distribution with scale parameter a, using the formula given above.\npub fn logistic_pdf(x: f64, a: f64) -> f64 {\n unsafe { ffi::gsl_ran_logistic_pdf(x, a) }\n}\n\n/// This function computes the cumulative distribution functions P(x), Q(x) and their inverses for the logistic distribution with scale parameter a.\npub fn logistic_P(x: f64, a: f64) -> f64 {\n unsafe { ffi::gsl_cdf_logistic_P(x, a) }\n}\n\n/// This function computes the cumulative distribution functions P(x), Q(x) and their inverses for the logistic distribution with scale parameter a.\npub fn logistic_Q(x: f64, a: f64) -> f64 {\n unsafe { ffi::gsl_cdf_logistic_Q(x, a) }\n}\n\n/// This function computes the cumulative distribution functions P(x), Q(x) and their inverses for the logistic distribution with scale" +"7\n13\n10\n9\n7\n16\n4\n6\n8\n13\n11\n17\n7\n14\n13\n4\n10\n20\n9\n4\n9\n5\n19\n6\n4\n6\n9\n4\n11\n13\n13\n5\n14\n9\n13\n11\n9\n14\n7\n11\n5\n13\n12\n7\n7\n13\n9\n7\n9\n9\n6\n11\n9\n11\n16\n7\n17\n11\n13\n13\n9\n9\n11\n11\n11\n9\n9\n8\n9\n9\n13\n11\n11\n6\n8\n16\n16\n13\n9\n4\n6\n4\n18\n9\n8\n7\n7\n7\n11\n9\n10\n5\n5\n12\n2\n4\n5\n6\n11\n8\n9\n6\n11\n13\n20\n8\n19\n6\n13\n7\n13\n11\n11\n7\n7\n13\n16\n17\n15\n11\n13\n5\n11\n13\n18\n11\n11\n13\n19\n11\n18\n13\n19\n16\n15\n17\n7\n9\n17\n17\n8\n11\n6\n13\n9\n13\n15\n9\n15\n21\n13\n15\n15\n18\n7\n18\n11\n13\n20\n31\n10\n8\n28\n22\n9\n7\n15\n9\n7\n7\n27\n18\n42\n12\n15\n11\n13\n7\n15\n26\n20\n11\n15\n15\n13\n14\n11\n18\n11\n24\n9\n22\n21\n33\n32\n24\n18\n30\n34\n16" +"---\nTitle: Transclusion\nAdded: v2.6.0\n---\n\n# Transclusion\n\nSeveral components in ADF make use of **transclusion**, which is the technique\nof incorporating user-supplied content in the body of a standard component.\n\nIn\nmost cases, this is used to make small customizations (for example, the various\nlist components let you supply custom content to show when the list is empty).\nHowever, there are also a few \"containers\" whose entire content is set by the user\nwith the container itself being mainly for convenient display and formatting\n(for example, the [Info drawer component](../core/components/info-drawer.component.md)).\n\nYou supply the content you want to transclude between the opening and closing tags of\nthe main component. In a few cases, this content can be completely free-form as with\nthe body section of the [Login component](../core/components/login.component.md):\n\n```html\n\n
    \n
    Your extra content
    \n
    \n
    \n```\n\nMore often, though, the main component makes use of one or more sub-components to add\nstructure to the transclusion. For example, the [Login component](../core/components/login.component.md)\nalso has sub-components for the header and footer regions in addition to the free-form\ncontent of the body:\n\n```html\n\n My custom HTML for the footer\n\n```\n\n![Custom login footer example](../docassets/images/custom-footer.png)\n\nThe doc pages for the" +"#title The Borqs Alchemy Library Usage Manual\n#author Bao Haojun \n\n\nCopyright Borqs, Inc. 2009, All Rights Reserved\n\n\n* Introduction\n\nThis user manual corresponds to Borqs Alchemy Library version\n1.0.6. This is the library to be used for testing the OMS phone. The\nmain functions of this library include:\n - Initialization. Connection to the phone is established through\n usbnet; connection status callback and logging callback functions\n are saved.\n - Execution. Test commands can be sent to the phone. Refer to the\n `TCMD Reference Manual' for a complete detailed list of supported\n commands.\n - Help system. A simple help system is built-in in this library, it\n will print a simplified list of the *TCMD* commands supported by this\n library.\n\nThree files are provided for development, together with a\nsample console project. The 3 development files are:\n 1. =libalchemy.h=, the header file used for compilation\n 2. =alchemylib.lib=, the .lib file used for linking\n 3. =alchemylib.dll=, the .dll file used for running your program.\n\n\n** How to use the library\n\nYou can develop either win32 or console applications using this\nlibrary. MFC must be used, and it must be linked as a shared DLL. \n - If MFC is not used, compilation will" +"{\n \"id\": 7620,\n \"name\": \"Temple guardian\",\n \"incomplete\": true,\n \"members\": true,\n \"release_date\": \"2004-06-29\",\n \"combat_level\": 30,\n \"size\": 2,\n \"hitpoints\": 45,\n \"max_hit\": 3,\n \"attack_type\": [\n \"stab\"\n ],\n \"attack_speed\": 4,\n \"aggressive\": false,\n \"poisonous\": false,\n \"immune_poison\": false,\n \"immune_venom\": false,\n \"attributes\": [],\n \"category\": [\n \"dog\"\n ],\n \"slayer_monster\": true,\n \"slayer_level\": 1,\n \"slayer_xp\": 45.0,\n \"slayer_masters\": [\n \"turael\",\n \"spria\",\n \"mazchna\"\n ],\n \"duplicate\": false,\n \"examine\": \"Looks like a big ugly dog.\",\n \"icon\": null,\n \"wiki_name\": \"Temple guardian\",\n \"wiki_url\": \"https://oldschool.runescape.wiki/w/Temple_guardian\",\n \"attack_level\": 20,\n \"strength_level\": 20,\n \"defence_level\": 20,\n \"magic_level\": 1,\n \"ranged_level\": 1,\n \"attack_stab\": 0,\n \"attack_slash\": 0,\n \"attack_crush\": 0,\n \"attack_magic\": 0,\n \"attack_ranged\": 0,\n \"defence_stab\": 0,\n \"defence_slash\": 0,\n \"defence_crush\": 0,\n \"defence_magic\": 0,\n \"defence_ranged\": 0,\n \"attack_accuracy\": 0,\n \"melee_strength\": 0,\n \"ranged_strength\": 0,\n \"magic_damage\": 0,\n \"drops\": []\n}" +"'use strict';\n\nvar Caml_int32 = require(\"../../lib/js/caml_int32.js\");\n\nfunction f(param) {\n var exit = 0;\n switch (param.tag | 0) {\n case 0 : \n var match = param[0];\n if (match.tag) {\n var a = match[0];\n return a - a | 0;\n } else {\n var a$1 = match[0];\n return a$1 + a$1 | 0;\n }\n case 1 : \n case 2 : \n exit = 1;\n break;\n \n }\n if (exit === 1) {\n var a$2 = param[0][0];\n return Caml_int32.imul(a$2, a$2);\n }\n \n}\n\nfunction ff(c) {\n c[0] = c[0] + 1 | 0;\n var match = (1 + c[0] | 0) + 1 | 0;\n if (match > 3 || match < 0) {\n return 0;\n } else {\n return match + 1 | 0;\n }\n}\n\nexports.f = f;\nexports.ff = ff;\n/* No side effect */" +"# Copyright (C) 2010-2019 The ESPResSo project\n#\n# This file is part of ESPResSo.\n#\n# ESPResSo is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, either version 3 of the License, or\n# (at your option) any later version.\n#\n# ESPResSo is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program. If not, see .\nimport os\nimport numpy as np\n\n\ndef assert_params_match(ut_obj, inParams, outParams, msg_long=None):\n \"\"\"Check if the parameters set and gotten back match.\n Only check keys present in ``inParams``.\n \"\"\"\n if msg_long:\n msg_long = \"\\n\" + msg_long\n else:\n msg_long = \"\"\n\n for k in inParams.keys():\n ut_obj.assertIn(k, outParams)\n if isinstance(inParams[k], float):\n ut_obj.assertAlmostEqual(\n outParams[k], inParams[k], delta=1E-14,\n msg=\"Mismatching parameter {!r}{}\".format(k, msg_long))\n else:\n ut_obj.assertEqual(\n outParams[k], inParams[k],\n msg=\"Mismatching parameter {!r}{}\".format(k, msg_long))\n\n\ndef generate_test_for_class(_system, _interClass, _params):\n \"\"\"Generates test cases for checking interaction parameters set" +"waitForElementVisible($this->selector);\n }\n\n /**\n * Process PayPal auth flow\n *\n * @param null|string $parentWindow\n *\n */\n public function process($parentWindow = null)\n {\n $this->browser->selectWindow();\n $this->waitForFormLoaded();\n $this->browser->find($this->submitButton)->click();\n $this->browser->selectWindow($parentWindow);\n $this->waitForElementNotVisible($this->loader);\n }\n}" +"#' @section Uniqueness:\n#'\n#' By default the tree IDs are numbered from 1 to n, n being the number of trees found. The problem\n#' with such incremental numbering is that, while it ensures a unique ID is assigned for each tree in\n#' a given point-cloud, it also guarantees duplication of tree IDs in different tiles or chunks when\n#' processing a `LAScatalog`. This is because each file is processed independently of the others and potentially\n#' in parallel on different computers. Thus, the index always restarts at 1 on each file or chunk. Worse,\n#' in a tree segmentation process, a tree that is located exactly between 2 files will have two different\n#' IDs for its two halves.\n#'\n#' This is why we introduced some uniqueness strategies that are all imperfect and that should be seen\n#' as experimental. Please report any troubleshooting. Using a uniqueness-safe strategy ensures that\n#' trees from different files will not share the same IDs. Moreover, it also means that two halves of a tree\n#' on the edge of a processing chunk will be assigned the same ID.\n#'\n#' \\describe{\n#' \\item{incremental}{Number from 0 to n. This method" +"\nclass Foo(x: Int) {}\ncase class Bar(y: Int) extends Foo(y);\n\n\ntrait T {}\ntrait U {}\nclass C() {}\n\n\ntrait T1;\ntrait T2 {}\ntrait T5 extends T;\ntrait T6 extends T {}\ntrait T7 extends T with U;\ntrait T8 extends T with U {}\n\nclass C1();\nclass C2() {}\nclass C5() extends C();\nclass C6() extends C() {}\nclass C7() extends C() with U;\nclass C8() extends C() with U {}\n\ncase class D1();\ncase class D2() {}\ncase class D5() extends C();\ncase class D6() extends C() {}\ncase class D7() extends C() with U;\ncase class D8() extends C() with U {}\n\nobject M1;\nobject M2 {}\nobject M5 extends C();\nobject M6 extends C() {}\nobject M7 extends C() with U;\nobject M8 extends C() with U {}\n\n\n\n-----" +"//\n// Copyright 2017 Jeff Bush\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\n\n#pragma once\n\n#include \n#include \n\nusing namespace librender;\n\nconst float kShadowBias = 0.2;\n\n#define ENABLE_SHADOW 1\n#define USE_LAMBERTIAN 1\n\nstruct OutputUniforms\n{\n Matrix fMVPMatrix;\n Matrix fNormalMatrix;\n Vec3 fLightVector;\n float fAmbient;\n float fDirectional;\n Matrix fLightMatrix;\n};\n\n//\n// The Output shader interpolates normals across the surface of the triangle\n// and computes the dot product at each pixel\n//\nclass OutputShader : public Shader\n{\npublic:\n OutputShader()\n :\tShader(6, 12)\n {\n }\n\n void shadeVertices(vecf16_t *outParams, const vecf16_t *inAttribs, const void *_uniforms,\n vmask_t) const override\n {\n const OutputUniforms *uniforms = static_cast(_uniforms);\n\n // Multiply by mvp matrix\n vecf16_t coord[4];\n for (int i = 0;" +"/*\n * html-delegate.cc\n * Copyright 2018 John Lindgren and Ren\u00e9 J.V. Bertin\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice,\n * this list of conditions, and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions, and the following disclaimer in the documentation\n * provided with the distribution.\n *\n * This software is provided \"as is\" and without any warranty, express or\n * implied. In no event shall the authors be liable for any damages arising from\n * the use of this software.\n */\n\n#include \"html-delegate.h\"\n\n#include \n#include \n#include \n\n#include \n\nstatic void init_text_document (QTextDocument & doc, const QStyleOptionViewItem & option)\n{\n doc.setHtml (option.text);\n doc.setDocumentMargin (audqt::sizes.TwoPt);\n doc.setDefaultFont (option.font);\n}\n\nvoid HtmlDelegate::paint (QPainter * painter, const QStyleOptionViewItem & option_,\n const QModelIndex & index) const\n{\n QStyleOptionViewItem option = option_;\n initStyleOption (& option, index);\n\n QTextDocument doc;\n init_text_document (doc, option);\n\n QStyle * style = option.widget ? option.widget->style () : qApp->style ();\n QAbstractTextDocumentLayout::PaintContext ctx;\n\n // Painting item without text\n option.text =" +"// RUN: %locic %s --interpret > %t\n// RUN: FileCheck < %t %s\n\n// CHECK: TestClass.Create: Value = 10\n// CHECK: getValue: Value = 10\n// CHECK: TestClass.Create: Value = 15\n// CHECK: doSomething: Value = 15\n\nimport void printf(const ubyte * str, ...);\n\nclass TestClass(int value) {\n\tstatic Create(int value) {\n\t\tprintf(C\"TestClass.Create: Value = %d\\n\", value);\n\t\treturn @(value);\n\t}\n\t\n\tint getValue() {\n\t\tprintf(C\"getValue: Value = %d\\n\", @value);\n\t\treturn @value;\n\t}\n\t\n\tvoid doSomething() {\n\t\tprintf(C\"doSomething: Value = %d\\n\", @value);\n\t}\n}\n\nexport int main(unused int argc, unused ubyte ** argv) {\n\tauto testInstance = TestClass(10);\n\t\n\tauto testInstance2 = TestClass(testInstance.getValue() + 5);\n\t\n\ttestInstance2.doSomething();\n\t\n\treturn 0;\n}" +"//\n// CamImageTNProvider.m\n// CommandServiceManager\n//\n// Created by Pichaya Srifar on 9/15/11.\n// Copyright 2011 Vervata. All rights reserved.\n//\n\n#import \"CamImageTNProvider.h\"\n#import \"CameraImageThumbnailEvent.h\"\n#import \"GeoTag.h\"\n\n@implementation CamImageTNProvider\n\n@synthesize total;\n\n-(id)init {\n\tif (self = [super init]) {\n\t\ttotal = 2;\n\t\tcount = 0;\n\t}\n\treturn self;\n}\n\n-(BOOL)hasNext {\n\treturn (count < total);\n}\n\n-(id)getObject {\n\tNSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];\n\t[dateFormatter setDateFormat:@\"yyyy-MM-dd HH:mm:ss\"];\n\tNSString *dateString = [dateFormatter stringFromDate:[NSDate date]]; \n\t[dateFormatter release];\n\t\n\tCameraImageThumbnailEvent *event = [[CameraImageThumbnailEvent alloc] init];\n\t[event setEventId:count];\n\t[event setTime:dateString];\n\t\n\tGeoTag *geoTag = [[GeoTag alloc] init];\n\t[geoTag setAltitude:10];\n\t[geoTag setLat:13.55];\n\t[geoTag setLon:100.66];\n\t[event setGeo:geoTag];\n\t[geoTag release];\n\t\n\tNSString *path = [[NSBundle mainBundle] pathForResource:@\"images\" ofType:@\"jpeg\"];\n\tNSData *imageData = [NSData dataWithContentsOfFile:path];\n\t[event setMediaData:imageData];\n\t\n\tcount++;\n\tDLog(@\"getObject %@\", event);\n\treturn [event autorelease];\n}\n\n@end" +"body = array();\n\t\t$this->headers = array();\n\t\t$this->test = $test;\n\t}\n\n\t/**\n\t * Creates an instance of a mock Joomla\\Application\\AbstractApplication object.\n\t *\n\t * @return object\n\t *\n\t * @since 1.0\n\t */\n\tpublic function createMockBase()\n\t{\n\t\t// Collect all the relevant methods in JApplicationBase (work in progress).\n\t\t$methods = array(\n\t\t\t'close',\n\t\t\t'doExecute',\n\t\t\t'execute',\n\t\t\t'fetchConfigurationData',\n\t\t\t'get',\n\t\t\t'getLogger',\n\t\t\t'hasLogger',\n\t\t\t'initialise',\n\t\t\t'set',\n\t\t\t'setConfiguration',\n\t\t\t'setLogger',\n\t\t);\n\n\t\t// Create the mock.\n\t\t$mockObject = $this->test->getMock(\n\t\t\t'Joomla\\\\Application\\\\AbstractApplication',\n\t\t\t$methods,\n\t\t\t// Constructor arguments.\n\t\t\tarray(),\n\t\t\t// Mock class name.\n\t\t\t'',\n\t\t\t// Call original constructor.\n\t\t\ttrue\n\t\t);\n\n\t\treturn $mockObject;\n\t}\n\n\t/**\n\t * Creates" +"{\n \"cells\": [\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"NOTE\\n\",\n \"--\\n\",\n \"\\n\",\n \"This is a CNN version instead of PFF; for individual study; will be merged later.\\n\",\n \"\\n\",\n \"Shu Kong \\n\",\n \"\\n\",\n \"20190130\"\n ]\n },\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"Predictive Filter Flow for Non-Uniform Motion Blur Removal\\n\",\n \"================\\n\",\n \"**Author**: `Shu Kong `\\n\",\n \"\\n\",\n \"**Date**: Nov. 2018\\n\",\n \"\\n\",\n \"This is a jupyter demo for showing how to train, evaluate, and visualize the model of non-uniform motion deblur. It squeezes the following parts. Please read through, uncomment lines and run accordingly for your interest.\\n\",\n \"\\n\",\n \"- defining model architecture\\n\",\n \"- defining the loss function\\n\",\n \"- training protocal\\n\",\n \"- evaluation protocal\\n\",\n \"- analysis using PCA, k-means and t-SNE.\\n\",\n \"\\n\",\n \"\\n\",\n \"Others to notice: \\n\",\n \"- Pytorch is used for this work.\\n\",\n \"- Please manually install packages as shown below if necessary\\n\",\n \"- For the training set, the DIV2K dataset is not uploaded due to its large size. If you want to train the model using the whole training set, please download manually, chop each image into overlapping 512x512 sub-images, and put them in the corresponding folder (read through this jupyter script to see where to put them:-) For demonstration" +"# Babel Closure Elimination\n\nThis is a [Babel](https://babeljs.io/) plugin that eliminates unnecessary closures from your JavaScript in the name of performance.\n\n[![Build Status](https://travis-ci.org/codemix/babel-plugin-closure-elimination.svg)](https://travis-ci.org/codemix/babel-plugin-closure-elimination)\n\n> Note: Now requires Babel 6.\n\n# What?\n\nTurns code like this:\n```js\nfunction demo (input) {\n return input.map(item => item + 1).map(item => item + 2);\n}\n```\nInto code like this:\n```js\nfunction _ref(item) {\n return item + 1;\n}\n\nfunction _ref2(item) {\n return item + 2;\n}\n\nfunction demo(input) {\n return input.map(_ref).map(_ref2);\n}\n\n```\n\n# Why?\n\nBecause it's faster and more memory efficient in [most JavaScript engines](http://jsperf.com/closure-elimination), and means you can safely use arrow functions without a performance penalty in most cases.\n\n# Installation\n\nFirst, install via [npm](https://npmjs.org/package/babel-plugin-closure-elimination).\n```sh\nnpm install --save-dev babel-plugin-closure-elimination\n```\nThen, in your babel configuration (usually in your `.babelrc` file), add `\"closure-elimination\"` to your list of plugins:\n```json\n{\n \"plugins\": [\"closure-elimination\"]\n}\n```\n\n\n# License\n\nPublished by [codemix](http://codemix.com/) under a permissive MIT License, see [LICENSE.md](./LICENSE.md)." +"---\npage_type: sample\ndescription: \"A file data scanner example. Typically, anti-virus filters are of this type.\"\nlanguages:\n- cpp\nproducts:\n- windows\n- windows-wdk\n---\n\n# Scanner File System Minifilter Driver\n\nThe Scanner minifilter is an example for developers who intend to write filters that examine data in files. Typically, antivirus products fall into this category.\n\n## Universal Windows Driver Compliant\n\nThis sample builds a Universal Windows Driver. It uses only APIs and DDIs that are included in OneCoreUAP.\n\n## Design and Operation\n\nThe Scanner minifilter comprises both kernel-mode and user-mode components. The kernel-mode component recognizes appropriate moments for scanning a file's data and passes it to the user-mode component for further validation. The user-mode component creates a number of threads that await validation requests and corresponding data from the kernel-mode component. After scanning the data for occurrences of a \"foul\" string, the user-mode component sends an appropriate response to the kernel-mode component.\n\nThe kernel-mode component scans files with specific extensions only. The file is first scanned on a successful open. If the file was opened with write access, it is scanned again before a close. Scanning is also performed on data that is about to be written to a" +"\"\"\"\nGiven a binary tree, return the level order traversal of its nodes' values.\n(ie, from left to right, level by level).\n\nFor example:\nGiven binary tree {3,9,20,#,#,15,7},\n 3\n / \\\n 9 20\n / \\\n 15 7\nreturn its level order traversal as:\n[\n [3],\n [9,20],\n [15,7]\n]\n\"\"\"\n\n# Definition for a binary tree node.\n# class TreeNode(object):\n# def __init__(self, x):\n# self.val = x\n# self.left = None\n# self.right = None\n\nclass Solution(object):\n def levelOrder(self, root):\n \"\"\"\n :type root: TreeNode\n :rtype: List[List[int]]\n \"\"\"\n res = []\n if root is None:\n return res\n queue = []\n queue.append(root)\n while queue:\n n = len(queue)\n level = []\n for i in range(n):\n root = queue.pop(0)\n if root.left is not None:\n queue.append(root.left)\n if root.right is not None:\n queue.append(root.right)\n level.append(root.val)\n res.append(level[:])\n return res" +"\ufeffusing Eto.Forms;\n\nnamespace Eto.Forms\n{\n\t/// \n\t/// Cell for controls to show and bind a int value to a progress bar.\n\t/// \n\t[Handler(typeof(ProgressCell.IHandler))]\n\tpublic class ProgressCell : SingleValueCell\n\t{\n\t\t/// \n\t\t/// Initializes a new instance of the class.\n\t\t/// \n\t\t/// Index of the column to bind to.\n\t\tpublic ProgressCell(int column)\n\t\t{\n\t\t\tBinding = new ColumnBinding(column);\n\t\t}\n\n\t\t/// \n\t\t/// Initializes a new instance of the class with the specified property to bind to.\n\t\t/// \n\t\t/// Property to bind the value of the progress bar to.\n\t\t/// True to ignore case for the property, false to be case sensitive. Default is true.\n\t\tpublic ProgressCell(string property, bool ignoreCase = true)\n\t\t{\n\t\t\tBinding = Eto.Forms.Binding.Property(property, ignoreCase);\n\t\t}\n\n\t\t/// \n\t\t/// Initializes a new instance of the class.\n\t\t/// \n\t\tpublic ProgressCell()\n\t\t{\n\t\t}\n\n\t\t/// \n\t\t/// Handler interface for the .\n\t\t/// \n\t\tpublic new interface IHandler : SingleValueCell.IHandler\n\t\t{\n\t\t}\n\t}\n}" +"/*\n * Copyright (C) 2013 Canonical, Ltd.\n * Copyright (C) 2019 UBports Foundation\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; version 3.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see .\n */\n\nimport QtQuick 2.4\n\nItem {\n id: showable\n\n property bool available: true\n property bool shown: true\n\n /* If your showable supports on demand content creation/destruction,\n set this to false when destroyed and true when ready to be shown.\n NOTE: You should load your content when \"required\" is true and\n destroy when \"required\" is false\n */\n property bool created: true\n property bool required\n property bool __shouldShow: false\n property bool __skipShowAnimation: false\n property bool __skipHideAnimation: false\n\n property list hides\n property var showAnimation\n property var hideAnimation\n\n // automatically set the" +"\ufeffusing System;\nusing System.Collections.Generic;\nusing System.ComponentModel.Composition;\nusing System.Globalization;\nusing MadsKristensen.EditorExtensions.Settings;\nusing Microsoft.CSS.Core;\nusing Microsoft.VisualStudio.Utilities;\nusing Microsoft.CSS.Core.Checker;\nusing Microsoft.CSS.Core.Parser;\nusing Microsoft.CSS.Core.TreeItems.Selectors;\n\nnamespace MadsKristensen.EditorExtensions.Css\n{\n [Export(typeof(ICssItemChecker))]\n [Name(\"StarSelectorErrorTagProvider\")]\n [Order(After = \"Default Declaration\")]\n internal class StarSelectorErrorTagProvider : ICssItemChecker\n {\n public ItemCheckResult CheckItem(ParseItem item, ICssCheckerContext context)\n {\n SimpleSelector sel = (SimpleSelector)item;\n\n if (!WESettings.Instance.Css.ValidateStarSelector || !sel.IsValid || context == null)\n return ItemCheckResult.Continue;\n\n if (sel.Text == \"*\")\n {\n //string afterStar = sel.Text.Length > index + 1 ? sel.Text.Substring(index + 1) : null;\n //if (afterStar == null || !afterStar.Trim().StartsWith(\"html\", StringComparison.OrdinalIgnoreCase))\n //{\n string errorMessage = string.Format(CultureInfo.InvariantCulture, Resources.PerformanceDontUseStarSelector);\n\n SimpleErrorTag tag = new SimpleErrorTag(sel, errorMessage);\n\n context.AddError(tag);\n //}\n }\n\n return ItemCheckResult.Continue;\n }\n\n\n public IEnumerable ItemTypes\n {\n get { return new[] { typeof(SimpleSelector) }; }\n }\n }\n}" +"{\n \"cells\": [\n {\n \"cell_type\": \"code\",\n \"execution_count\": null,\n \"metadata\": {},\n \"outputs\": [],\n \"source\": [\n \"tuple # Tuples are another important data type, pervasive in Python without you even knowing it (at first)\"\n ]\n },\n {\n \"cell_type\": \"code\",\n \"execution_count\": null,\n \"metadata\": {\n \"scrolled\": true\n },\n \"outputs\": [],\n \"source\": [\n \"1, 2, 3, 'a', 'b', 'c' # You're using tuples just by putting commas in between a bunch of values\"\n ]\n },\n {\n \"cell_type\": \"code\",\n \"execution_count\": null,\n \"metadata\": {},\n \"outputs\": [],\n \"source\": [\n \"type((1, 2, 3, 'a', 'b', 'c')) # YOu can confirm this fact, but when you do you HAVE TO use the normally optional parenthesis.\"\n ]\n },\n {\n \"cell_type\": \"code\",\n \"execution_count\": null,\n \"metadata\": {},\n \"outputs\": [],\n \"source\": [\n \"atuple = 1, 2, 3, 'a', 'b', 'c' # The fact you usually don't need the parenthesis leads to extremely PYTHONIC coding style.\\n\",\n \"atuple\"\n ]\n },\n {\n \"cell_type\": \"code\",\n \"execution_count\": null,\n \"metadata\": {},\n \"outputs\": [],\n \"source\": [\n \"atuple = (1, 2, 3, 'a', 'b', 'c') # This is the same as doing this, a more official way to create a tuple.\\n\",\n \"atuple\"\n ]\n },\n {\n \"cell_type\": \"code\",\n \"execution_count\": null,\n \"metadata\": {},\n \"outputs\": [],\n \"source\": [\n \"atuple = tuple((1, 2, 3, 'a', 'b'," +"package Selenium::Remote::Finders;\n$Selenium::Remote::Finders::VERSION = '1.36';\nuse strict;\nuse warnings;\n\n# ABSTRACT: Handle construction of generic parameter finders\nuse Try::Tiny;\nuse Carp qw/carp/;\nuse Moo::Role;\nuse namespace::clean;\n\n\nsub _build_find_by {\n my ( $self, $by ) = @_;\n\n return sub {\n my ( $driver, $locator ) = @_;\n my $strategy = $by;\n\n return try {\n return $driver->find_element( $locator, $strategy );\n }\n catch {\n carp $_;\n return 0;\n };\n }\n}\n\n1;\n\n__END__\n\n=pod\n\n=encoding UTF-8\n\n=head1 NAME\n\nSelenium::Remote::Finders - Handle construction of generic parameter finders\n\n=head1 VERSION\n\nversion 1.36\n\n=head1 DESCRIPTION\n\nThis package just takes care of setting up parameter finders - that\nis, the C versions of the find element\nfunctions. You probably don't need to do anything with this package;\ninstead, see L documentation\nfor the specific finder functions.\n\n=head1 SEE ALSO\n\nPlease see those modules/websites for more information related to this module.\n\n=over 4\n\n=item *\n\nL\n\n=back\n\n=head1 BUGS\n\nPlease report any bugs or feature requests on the bugtracker website\nL\n\nWhen submitting a bug or request, please include a test-file or a\npatch to an existing test-file that illustrates the bug or desired\nfeature.\n\n=head1 AUTHORS\n\nCurrent Maintainers:\n\n=over 4\n\n=item *\n\nDaniel Gempesaw \n\n=item *" +"/*\n * Copyright 2001-2013 Artima, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage org.scalatest\n\nimport SharedHelpers._\nimport org.scalatest.funsuite.AnyFunSuite\n\nclass BigSuiteSuite extends AnyFunSuite {\n test(\"a BigSuite(Some(0)) has 100 tests\") {\n val bs = new BigSuite(Some(0), Map.empty)\n assert(bs.expectedTestCount(Filter()) === 100)\n }\n test(\"a BigSuite(Some(0)) has no nested suites\") {\n val bs = new BigSuite(Some(0), Map.empty)\n assert(bs.nestedSuites.size === 0)\n }\n test(\"a BigSuite(Some(1)) has 1 nested suite\") {\n val bs = new BigSuite(Some(1), Map.empty)\n assert(bs.nestedSuites.size === 1)\n }\n test(\"a BigSuite(Some(1))'s 1 nested suite has no nested suites\") {\n val bs = new BigSuite(Some(1), Map.empty)\n assert(bs.nestedSuites.head.nestedSuites.size === 0)\n }\n test(\"a BigSuite(Some(2)) has 2 nested suites\") {\n val bs = new BigSuite(Some(2), Map.empty)\n assert(bs.nestedSuites.size === 2)\n }\n test(\"a BigSuite(Some(1))'s 2 nested suites" +"Namespaces are a way to group related code and to avoid name clashes and are generally present in all but the most trivial code base.\n\nThe syntax is as follows:\n\n```csharp\nnamespace MyNameSpace\n{\n public class MyClass {}\n\n public class OtherClass {}\n}\n```\n\nTypes enclosed in namespaces are referred to outside the scope of the namespace by prefixing the type name with the dot syntax. Alternatively, and more usually, you can place a `using` directive at the top of the file (or within a namespace) and type can be used without the prefix. Within the same namespace there is no need to qualify type names.\n\n```csharp\nnamespace MySpace\n{\n public class MyClass {}\n\n public class Foo\n {\n public void Bar()\n {\n var baz = new MyClass();\n }\n }\n}\n\npublic class Qux\n{\n public void Box()\n {\n var nux = new MySpace.MyClass();\n }\n}\n\nnamespace OtherSpace\n{\n using MySpace;\n\n public class Tix\n {\n public void Jeg()\n {\n var lor = new MyClass();\n }\n }\n}\n```\n\nYou can alias a namespace with the syntax `using MyAlias = MySpace;` and then use the alias anywhere that the namespace could be used." +"/*\n * Dice heroes is a turn based rpg-strategy game where characters are dice.\n * Copyright (C) 2016 Vladislav Protsenko\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see .\n */\n\npackage com.vlaaad.dice;\n\nimport com.vlaaad.dice.api.purchases.IPurchaseListener;\nimport com.vlaaad.dice.game.config.purchases.PurchaseInfo;\n\n/**\n * Created 20.05.14 by vlaaad\n */\npublic class PurchaseListener implements IPurchaseListener {\n\n private final DiceHeroes diceHeroes;\n\n public PurchaseListener(DiceHeroes diceHeroes) {\n this.diceHeroes = diceHeroes;\n }\n\n @Override public void onPurchase(PurchaseInfo info) {\n info.apply(diceHeroes.userData);\n diceHeroes.save();\n }\n @Override public void onPurchaseFailed(String message) {}\n}" +"/*\nCopyright 2015 Google Inc. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n http://www.apache.org/licenses/LICENSE-2.0\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n#include \"graphd/graphd.h\"\n#include \"graphd/graphd-read.h\"\n\n#include \n#include \n#include \n#include \n#include \n\n/* graphd-iterate.c -- a variant of graphd-read that doesn't\n * \tactually read anything, but instead runs a set of\n * \ttrials on the cursor generated for a constraint.\n */\nstatic int iterate_failed_find(graphd_request *greq, pdb_iterator *it,\n pdb_id id, int err_expected, char const *file,\n int line) {\n int err;\n graphd_handle *graphd = graphd_request_graphd(greq);\n pdb_handle *pdb = graphd->g_pdb;\n pdb_id id_tmp;\n char ibuf[42], buf[200];\n\n id_tmp = id;\n err = pdb_iterator_find_nonstep(pdb, it, id, &id_tmp);\n if (err == err_expected) return 0;\n\n if (err == 0) {\n graphd_request_errprintf(\n greq, false,\n \"SYSTEM TESTFAIL [%s:%d] FIND(%s, %llx): expected \"\n \"error \\\"%s\\\", got %s (%s)\",\n file, line, pdb_iterator_to_string(pdb, it," +"import rule, { ruleName, messages } from \"..\";\n\n// always-intermediate\ntestRule(rule, {\n ruleName,\n config: [\"always-intermediate\"],\n syntax: \"scss\",\n fix: true,\n\n accept: [\n {\n code: `a {\n @if ($x == 1) {}\n width: 10px;\n }`,\n description: \"always-intermediate (no @else at all).\"\n },\n {\n code: `a {\n @if ($x == 1) { }\n @else { }\n width: 10px;\n }`,\n description:\n \"always-intermediate (not an intermediate @else, newline after).\"\n },\n {\n code: `a {\n @if ($x == 1) {} @else {}width: 10px;\n }`,\n description:\n \"always-intermediate (not an intermediate @else, no whitespace after).\"\n },\n {\n code: `a {\n @if ($x == 1) {} @else if ($x ==2) {\n\n } @else {}\n\n width: 10px;\n }`,\n description:\n \"always-intermediate (an intermediate @else, has space after).\"\n },\n {\n code: `a {\n @if ($x == 1) { } @else if ($x ==2) { } @else { }\n\n width: 10px;\n }`,\n description:\n \"always-intermediate (an intermediate @else, single-line, has space after).\"\n },\n {\n code: `a {\n @if ($x == 1) { } @else ($x ==2) {}@include x;\n }`,\n description:\n \"always-intermediate (@else followed by non-@else at-rule, no space after).\"\n },\n {\n code: \"@if ($x == 1) {} @else ($x ==2) {}\",\n description: \"always-intermediate (single line, nothing after).\"\n },\n {\n // TODO: should warn on" +"/*\n Copyright 2017 Vector Creations Ltd\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n */\n\n#import \"RecentsViewController.h\"\n\n/**\n The `RoomsViewController` screen is the view controller displayed when `Rooms` tab is selected.\n */\n@interface RoomsViewController : RecentsViewController\n\n/**\n Scroll the next room with missed notifications to the top.\n */\n- (void)scrollToNextRoomWithMissedNotifications;\n\n\n@end" +"# # Hello!\n#\n# This lab teaches basic Ruby function syntax.\n#\n# ## Open a terminal in this directory\n#\n# cd 00_hello\n#\n# This directory is the starting point for this exercise. It contains a spec file and you'll be adding a ruby file to (eventually) make the specs pass.\n#\n# ## Run the test\n#\n# rake\n#\n# ## Watch it fail\n#\n# You should see an error. **Don't get scared!** Try to read it and figure out what the computer wants to tell you. Somewhere on the first line it should say something like\n#\n# no such file to load -- test-first-teaching/hello/hello (LoadError)\n#\n# That means that it is looking for a file called `hello.rb` and can't find it.\n#\n# ## Create hello.rb\n#\n# Open up `hello.rb` in a text editor. Save it. Run the test again.\n#\n# rake\n#\n# ## Watch it fail\n#\n# Now you should see an error like this:\n#\n# the hello function\n# says hello (FAILED - 1)\n#\n# Failures:\n#\n# 1) the hello function says hello\n# Failure/Error: hello.should == \"Hello!\"\n# NameError:\n# undefined" +"#!/usr/bin/env bash\nset -evx\n\nif [ \"$TARGET\" = \"Scala.JS\" ]; then\n sbt scala212 \\\n js/compile \\\n js/test:compile \\\n coreJS/fastOptJS \\\n cacheJS/fastOptJS \\\n testsJS/test:fastOptJS \\\n js/test:fastOptJS \\\n js/test\nelif [ \"$TARGET\" = \"ScalaNative\" ]; then\n curl -f https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x\n\n sbt scala212 \\\n launcher-native_03/publishLocal \\\n launcher-native_040M2/publishLocal \\\n cli/pack\n\n modules/cli/target/pack/bin/coursier bootstrap \\\n -S \\\n -o native-echo \\\n io.get-coursier:echo_native0.3_2.11:1.0.1\n\n if [ \"$(./native-echo -n foo a)\" != \"foo a\" ]; then\n echo \"Error: unexpected output from native test bootstrap.\" 1>&2\n exit 1\n fi\nelif [ \"$TARGET\" = \"Website\" ]; then\n amm-runner website.sc generate\nelse\n sbt scalaFromEnv \\\n jvmProjects/compile \\\n jvmProjects/test:compile\n\n if [ \"$(uname)\" == \"Darwin\" ]; then\n IT=\"testsJVM/it:test\" # doesn't run proxy-tests in particular\n else\n IT=\"jvmProjects/it:test\"\n fi\n\n ./scripts/with-redirect-server.sh \\\n ./modules/tests/handmade-metadata/scripts/with-test-repo.sh \\\n sbt scalaFromEnv jvmProjects/test \"$IT\"\n\n sbt scalaFromEnv evictionCheck compatibilityCheck\nfi" +"#\n# Distributed authoring and versioning (WebDAV)\n#\n# Required modules: mod_alias, mod_auth_digest, mod_authn_core, mod_authn_file,\n# mod_authz_core, mod_authz_user, mod_dav, mod_dav_fs,\n# mod_setenvif\n\n# The following example gives DAV write access to a directory called\n# \"uploads\" under the ServerRoot directory.\n#\n# The User/Group specified in httpd.conf needs to have write permissions\n# on the directory where the DavLockDB is placed and on any directory where\n# \"Dav On\" is specified.\n\nDavLockDB \"@@ServerRoot@@/var/DavLock\"\n\nAlias /uploads \"@@ServerRoot@@/uploads\"\n\n\n Dav On\n\n AuthType Digest\n AuthName DAV-upload\n # You can use the htdigest program to create the password database:\n # htdigest -c \"@@ServerRoot@@/user.passwd\" DAV-upload admin\n AuthUserFile \"@@ServerRoot@@/user.passwd\"\n AuthDigestProvider file\n\n # Allow universal read-access, but writes are restricted\n # to the admin user.\n \n Require method GET POST OPTIONS\n Require user admin\n \n\n\n#\n# The following directives disable redirects on non-GET requests for\n# a directory that does not include the trailing slash. This fixes a \n# problem with several clients that do not appropriately handle \n# redirects for folders with DAV methods.\n#\nBrowserMatch \"Microsoft Data Access Internet Publishing Provider\" redirect-carefully\nBrowserMatch \"MS FrontPage\" redirect-carefully\nBrowserMatch \"^WebDrive\" redirect-carefully\nBrowserMatch \"^WebDAVFS/1.[01234]\" redirect-carefully\nBrowserMatch \"^gnome-vfs/1.0\" redirect-carefully\nBrowserMatch \"^XML Spy\" redirect-carefully\nBrowserMatch \"^Dreamweaver-WebDAV-SCM1\" redirect-carefully" +"langcode: en\nstatus: true\ndependencies:\n config:\n - taxonomy.vocabulary.tags\n module:\n - taxonomy\n - user\nid: recipe_collections\nlabel: 'Recipe Collections'\nmodule: views\ndescription: ''\ntag: ''\nbase_table: taxonomy_term_field_data\nbase_field: tid\ndisplay:\n default:\n display_plugin: default\n id: default\n display_title: Master\n position: 0\n display_options:\n access:\n type: perm\n options:\n perm: 'access content'\n cache:\n type: tag\n options: { }\n query:\n type: views_query\n options:\n disable_sql_rewrite: false\n distinct: false\n replica: false\n query_comment: ''\n query_tags: { }\n exposed_form:\n type: basic\n options:\n submit_button: Apply\n reset_button: false\n reset_button_label: Reset\n exposed_sorts_label: 'Sort by'\n expose_sort_order: true\n sort_asc_label: Asc\n sort_desc_label: Desc\n pager:\n type: some\n options:\n items_per_page: 16\n offset: 0\n style:\n type: grid\n options:\n grouping: { }\n columns: 4\n automatic_width: false\n alignment: vertical\n col_class_default: true\n col_class_custom: ''\n row_class_default: true\n row_class_custom: ''\n row:\n type: fields\n fields:\n name:\n id: name\n table: taxonomy_term_field_data\n field: name\n entity_type: taxonomy_term\n entity_field: name\n label: ''\n alter:\n alter_text: false\n make_link: false\n absolute: false\n trim: false\n word_boundary: false\n ellipsis: false\n strip_tags: false\n html: false\n hide_empty: false\n empty_zero: false\n type: string\n settings:\n link_to_entity: true\n plugin_id: term_name\n relationship: none\n group_type: group\n admin_label: ''\n exclude: false\n element_type: ''\n element_class: ''\n element_label_type: ''\n element_label_class: ''\n element_label_colon: true\n element_wrapper_type: ''\n element_wrapper_class: ''\n element_default_classes: true\n empty: ''\n hide_alter_empty: true\n click_sort_column: value\n group_column: value\n group_columns: { }\n group_rows: true\n delta_limit: 0\n delta_offset:" +"/* See license.txt for terms of usage */\n\n/*************************************************************************************************/\n/* Errors */\n\n.errorTable {\n margin: 8px;\n font-size: 13px;\n}\n\n.errorProperty {\n color: gray;\n font-style:italic;\n}\n\n.errorMessage {\n color: red;\n}\n\n.errorRow:hover {\n background: #EFEFEF;\n cursor: pointer;\n}\n\n/*************************************************************************************************/\n/* Context Menu */\n\n.errorOptionsTarget {\n width: 11px;\n height: 10px;\n background: url(images/contextMenuTarget.png) no-repeat;\n visibility: collapse;\n}\n\n.errorOptionsTarget:hover {\n background-image: url(images/contextMenuTargetHover.png);\n}\n\n/**\n * The context menu target is visible only if the user is hovering mouse over\n * the error entry and if the error is associated with a target HAR object\n */\n.errorRow:hover > .errorOptions.hasTarget > .errorOptionsTarget {\n visibility: visible;\n}" +"package org.basex.io.random;\n\nimport static org.basex.data.DataText.*;\n\nimport java.io.*;\nimport java.nio.channels.*;\nimport java.util.*;\n\nimport org.basex.core.*;\nimport org.basex.data.*;\nimport org.basex.io.*;\nimport org.basex.io.in.DataInput;\nimport org.basex.io.out.DataOutput;\nimport org.basex.util.*;\n\n/**\n * This class stores the table on disk and reads it page-wise.\n *\n * @author BaseX Team 2005-20, BSD License\n * @author Christian Gruen\n * @author Tim Petrowsky\n */\npublic final class TableDiskAccess extends TableAccess {\n /** Buffer manager. */\n private final Buffers buffers = new Buffers();\n /** File storing all pages. */\n private final RandomAccessFile file;\n /** Bitmap storing free (=0) and used (=1) pages. */\n private BitArray usedPages;\n /** File lock. */\n private FileLock lock;\n\n /** First pre values (ascending order); will be initialized with the first update. */\n private int[] fPreIndex;\n /** Page index; will be initialized with the first update. */\n private int[] pageIndex;\n /** Total number of pages. */\n private int pages;\n /** Number of used pages. */\n private int used;\n\n /** Pointer to current page. */\n private int page = -1;\n /** Pre value of the first entry in the current page. */\n private int firstPre = -1;\n /** First pre value of the next page. */\n private int nextPre = -1;\n\n /**\n * Constructor.\n * @param meta meta data" +"/*\n * Hibernate, Relational Persistence for Idiomatic Java\n *\n * License: GNU Lesser General Public License (LGPL), version 2.1 or later\n * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html\n */\n\npackage org.hibernate.cache.ehcache.test.domain;\n\nimport java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Set;\n\npublic class Person {\n\n\tprivate Long id;\n\tprivate int age;\n\tprivate String firstname;\n\tprivate String lastname;\n\tprivate List events = new ArrayList(); // list semantics, e.g., indexed\n\tprivate Set emailAddresses = new HashSet();\n\tprivate Set phoneNumbers = new HashSet();\n\tprivate List talismans = new ArrayList(); // a Bag of good-luck charms.\n\n\tpublic Person() {\n\t\t//\n\t}\n\n\tpublic List getEvents() {\n\t\treturn events;\n\t}\n\n\tprotected void setEvents(List events) {\n\t\tthis.events = events;\n\t}\n\n\tpublic void addToEvent(Event event) {\n\t\tthis.getEvents().add(event);\n\t\tevent.getParticipants().add(this);\n\t}\n\n\tpublic void removeFromEvent(Event event) {\n\t\tthis.getEvents().remove(event);\n\t\tevent.getParticipants().remove(this);\n\t}\n\n\tpublic int getAge() {\n\t\treturn age;\n\t}\n\n\tpublic void setAge(int age) {\n\t\tthis.age = age;\n\t}\n\n\tpublic String getFirstname() {\n\t\treturn firstname;\n\t}\n\n\tpublic void setFirstname(String firstname) {\n\t\tthis.firstname = firstname;\n\t}\n\n\tpublic Long getId() {\n\t\treturn id;\n\t}\n\n\tpublic void setId(Long id) {\n\t\tthis.id = id;\n\t}\n\n\tpublic String getLastname() {\n\t\treturn lastname;\n\t}\n\n\tpublic void setLastname(String lastname) {\n\t\tthis.lastname = lastname;\n\t}\n\n\tpublic Set getEmailAddresses() {\n\t\treturn" +"###\n# app configuration\n# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html\n###\n\n[app:main]\nuse = egg:bundling_example\n\npyramid.reload_templates = false\npyramid.debug_authorization = false\npyramid.debug_notfound = false\npyramid.debug_routematch = false\npyramid.default_locale_name = en\n\n# build result directory\nstatics.dir = %(here)s/static\n# intermediate directory for build process\nstatics.build_dir = %(here)s/static_build\n\n###\n# wsgi server configuration\n###\n\n[server:main]\nuse = egg:waitress#main\nlisten = *:6543\n\n###\n# logging configuration\n# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html\n###\n\n[loggers]\nkeys = root, bundling_example\n\n[handlers]\nkeys = console\n\n[formatters]\nkeys = generic\n\n[logger_root]\nlevel = WARN\nhandlers = console\n\n[logger_bundling_example]\nlevel = WARN\nhandlers =\nqualname = bundling_example\n\n[handler_console]\nclass = StreamHandler\nargs = (sys.stderr,)\nlevel = NOTSET\nformatter = generic\n\n[formatter_generic]\nformat = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s" +"package com.richardradics.commons.util;\n\nimport android.graphics.Color;\n\nimport java.util.Random;\n\n/**\n * Created by Richard Radics on 2014.12.11..\n */\npublic class ColorUtil {\n\n private static Random randomGenerator = new Random();\n\n\n /**\n * Gets a random darker color.\n * @return\n */\n public static int getRandomDarkColor(){\n int randColor = getRandomColor();\n return darker(randColor, 0.75f);\n }\n\n\n /**\n * Retuns a darker color from a specified color by the factor.\n * @param color\n * @param factor\n * @return\n */\n public static int darker (int color, float factor) {\n int a = Color.alpha( color );\n int r = Color.red( color );\n int g = Color.green( color );\n int b = Color.blue( color );\n\n return Color.argb( a,\n Math.max( (int)(r * factor), 0 ),\n Math.max( (int)(g * factor), 0 ),\n Math.max( (int)(b * factor), 0 ) );\n }\n\n\n /**\n * Returns a random color.\n * @return\n */\n public static int getRandomColor(){\n return Color.rgb(randomGenerator.nextInt(255), randomGenerator.nextInt(255), randomGenerator.nextInt(255));\n }\n\n}" +"!*** Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n!*** See https://llvm.org/LICENSE.txt for license information.\n!*** SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\n! more derived type parameters in modules\n\tmodule md\n\t type tscope\n\t integer :: scope\n\t real :: junk\n\t end type\n\t type (tscope), parameter :: local = tscope(2,3.333)\n\t type (tscope), parameter :: global = tscope(1,4.444)\n\tend module\n\tsubroutine sub(a,x)\n\t use md\n\t real,parameter::l = local%junk\n\t real,parameter::g = global%junk\n\t integer,parameter::mm = local%scope\n\t real array(local%scope)\n\t real a\n\t integer x\n\t select case(x)\n\t case(local%scope)\n\t a = l\n\t case(global%scope)\n\t a = g\n\t case default\n\t a = 0.0\n\t end select\n\tend subroutine\n\n\tprogram p\n\t use md\n\t type(tscope)::m\n\t parameter(n=3)\n\t real result(n)\n\t real expect(n)\n\t data expect/3.333,4.444,0.000/\n\t call sub(result(1),local%scope)\n\t call sub(result(2),global%scope)\n\t call sub(result(3),0)\n\t call check(result, expect, n)\n\tend" +"---\nlayout: \"docs\"\npage_title: \"State\"\nsidebar_current: \"docs-state-purpose\"\ndescription: |-\n Terraform must store state about your managed infrastructure and configuration. This state is used by Terraform to map real world resources to your configuration, keep track of metadata, and to improve performance for large infrastructures.\n---\n\n# Purpose of Terraform State\n\nState is a necessary requirement for Terraform to function. It is often\nasked if it is possible for Terraform to work without state, or for Terraform\nto not use state and just inspect cloud resources on every run. This page\nwill help explain why Terraform state is required.\n\nAs you'll see from the reasons below, state is required. And in the scenarios\nwhere Terraform may be able to get away without state, doing so would require\nshifting massive amounts of complexity from one place (state) to another place\n(the replacement concept).\n\n## Mapping to the Real World\n\nTerraform requires some sort of database to map Terraform config to the real\nworld. When you have a resource `resource \"aws_instance\" \"foo\"` in your\nconfiguration, Terraform uses this map to know that instance `i-abcd1234`\nis that resource.\n\nFor some providers like AWS, Terraform could theoretically use something like\nAWS tags. Early prototypes of" +"/*\nModule : AADATE.CPP\nPurpose: Implementation for the algorithms which convert between the Gregorian and Julian calendars and the Julian Day\nCreated: PJN / 29-12-2003\nHistory: PJN / 10-11-2004 1. Fix for CAADate::Get so that it works correctly for propalactive calendar dates\n PJN / 15-05-2005 1. Fix for CAADate::Set(double JD, bool bGregorianCalendarCalendar) not setting the m_bGregorianCalendarCalendar\n member variable correctly. \n PJN / 26-01-2006 1. After a bug report from Ing. Taras Kapuszczak that a round trip of the date 25 January 100 as \n specified in the Gregorian calendar to the Julian day number and then back again produces the\n incorrect date 26 January 100, I've spent some time looking into the 2 key Meeus Julian Day\n algorithms. It seems that the algorithms which converts from a Calendar date to JD works ok for\n propalactive dates, but the reverse algorithm which converts from a JD to a Calendar date does not.\n Since I made the change in behaviour to support propalactive Gregorian dates to address issues\n with the Moslem calendar (and since then I have discovered further unresolved bugs in the Moslem\n calendar algorithms and advised people to check out my AA+ library instead), I am now reverting\n these changes so that" +"# Form Component\n\nThis is the base component all other components must be wrapped by the fvl-form component.\n\n### Template\n\n```vue\n\n \n\n```\n\n### Import Name\n\n```js\nimport { FvlForm } from 'formvuelar'\n```\n\n### Properties\n\n| Property | Description | Type | Default | Required |\n| --------- | ----------------------------------------------- | ------- | ------- | -------- |\n| url | The url the form will be sent to | String | | **true** |\n| data | The form object holding the data to transmit | Object | {} | |\n| method | `get`\\|`post`\\|`put`\\|`patch`\\|`delete` | String | POST | |\n| multipart | Set to true if you want to upload files | Boolean | false | |\n| headers | Optional headers will be added to axios request | Object | {} | |\n\n### Events\n\n| Property | Description | Return Value |\n| ---------------- | ---------------------------------------------- | --------------------------- |\n| @success | Request was successfully | Axios response object |\n| @error | Request status did not return 200 | Axios response error object |\n| @upload-progress | Returns the current upload progress in percent | `0-100` |" +"/*\n * Copyright (C) 2018 Tran Le Duy\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see .\n */\n\npackage com.duy.ide.javaide.setting;\n\nimport android.content.Context;\nimport android.content.SharedPreferences;\nimport android.preference.PreferenceManager;\n\nimport com.duy.ide.R;\nimport com.jecelyin.editor.v2.Preferences;\n\n\npublic class IdePreferenceManager {\n private static final String KEY_SET_DEFAULT = \"set_default_values\";\n\n public static void setDefaultValues(Context context) {\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);\n if (sharedPreferences.getBoolean(KEY_SET_DEFAULT, false)) {\n return;\n }\n sharedPreferences.edit().putBoolean(KEY_SET_DEFAULT, true).apply();\n\n PreferenceManager.setDefaultValues(context, R.xml.preference_compiler, false);\n PreferenceManager.setDefaultValues(context, R.xml.preference_editor, false);\n PreferenceManager.setDefaultValues(context, R.xml.preference_logcat, false);\n\n Preferences preferences = Preferences.getInstance(context);\n //default theme\n preferences.setAppTheme(1);\n preferences.setEditorTheme(\"allure-contrast.json.properties\");\n\n }\n}" +"#!/bin/sh\n#\n# Author: Tyrone Hattingh\n# web2py issue: http://code.google.com/p/web2py/issues/detail?id=867\n#\n# 1) vi web2py-scheduler\n# 2) Paste in the above\n# 3) Add in the following 2 lines in the web2py-scheduler file\n# (required for centos i believe):\n#\n# # chkconfig: 2345 90 10\n# # description: web2py-scheduler\n#\n# 4) make it executable with\n#\n# chmod 755 web2py-scheduler\n#\n# 5) add it to startup with\n#\n# chkconfig --add web2py-scheduler\n#\n\nDAEMON=/usr/local/bin/python\nPARAMETERS=\"/var/www/html/web2py/web2py.py -K init\"\nLOGFILE=/var/log/web2py-scheduler.log\n\nstart() {\n echo -n \"starting up $DAEMON\"\n RUN=`$DAEMON $PARAMETERS > $LOGFILE 2>&1`\n if [ \"$?\" -eq 0 ]; then\n echo \" Done.\"\n else\n echo \" FAILED.\"\n fi\n}\nstop() {\n killall $DAEMON\n}\nstatus() {\n killall -0 $DAEMON\n if [ \"$?\" -eq 0 ]; then\n echo \"Running.\"\n else\n echo \"Not Running.\"\n fi\n}\ncase \"$1\" in\n start)\n start\n ;;\n restart)\n stop\n sleep 2\n start\n ;;\n stop)\n stop\n ;;\n status)\n status\n ;;\n *)\n echo \"usage : $0 start|restart|stop|status\"\n ;;\nesac\nexit 0" +"# Pathfinder Auto Mode\n# automatically advances to new image/sound\n# press and hold the touch screen to toggle sound on and off\n# by John Park for Adafruit and Sugru\n# MIT License\nimport time\nimport board\nimport displayio\nimport neopixel\nfrom adafruit_pyportal import PyPortal\n\n# ===========User Settings=============\nsound_mode = 1 # 0 is silent, 1 is normal\neye_mode = 1 # 0 is always red, 1 changes per emote\nslide_speed = 1.0 # number of seconds to pause, 0 will go as fast as it can\n# =======end User Settings=============\n\ni = 0 # emote image index\ndisplay = board.DISPLAY\n\npixel = neopixel.NeoPixel(board.D4, 1, brightness=0.2, auto_write=False)\nPINK = (200, 0, 50)\nRED = (255, 0, 0)\nYELLOW = (255, 150, 0)\nORANGE = (255, 75, 0)\nWHITE = (100, 100, 100)\nCYAN = (0, 255, 255)\nGREEN = (0, 235, 20)\nBLUE = (0, 0, 255)\nPURPLE = (180, 0, 255)\nBLACK = (0, 0, 0)\nGREY = (10, 10, 10)\n\nif eye_mode is not 0:\n colors = [PINK, RED, ORANGE, CYAN, YELLOW, GREEN, WHITE, RED, PURPLE, GREEN, GREY]\nelse:\n colors = [RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED]\n\npixel.fill(colors[0])\npixel.show()\n\nemote_img = [" +"FROM ubuntu:18.04\nMAINTAINER Intrigue Team \nENV DEBIAN_FRONTEND noninteractive\n\nUSER root\n\n# Get up to date\nRUN apt-get -y update && apt-get -y install sudo\n\n# Set us up!\nWORKDIR /core\n\n# Set up intrigue\nENV BUNDLE_JOBS=12\nENV PATH /root/.rbenv/bin:$PATH\nENV IDIR=/core\nENV DEBIAN_FRONTEND=noninteractive\n\n# create a volume\nVOLUME /data\n\n# copy intrigue code\nCOPY . /core/\n\n# install intrigue-specific software & config\nRUN /bin/bash /core/util/bootstrap-worker.sh\n\n# Remove the config file so one generates on startup (useful when testing)\nRUN if [ -e /core/config/config.json ]; then rm /core/config/config.json; fi\n\n# Expose the port\nEXPOSE 7777\n\nRUN chmod +x /core/util/start-worker.sh\nENTRYPOINT [\"/core/util/start-worker.sh\"]" +"% Generated by roxygen2: do not edit by hand\n% Please edit documentation in R/moga.R\n\\name{moga}\n\\alias{moga}\n\\title{Make Oxygen Great Again}\n\\usage{\nmoga(path, ..., force.fields = NULL, dry.run = TRUE, overwrite = FALSE)\n}\n\\arguments{\n\\item{path}{character path to R file}\n\n\\item{\\dots}{arguments to be passed to new makeOxygen}\n\n\\item{force.fields}{character, vector a field names that are in current header that are to be updated Default: NULL}\n\n\\item{dry.run}{boolean, write lines to console the output, Default: TRUE}\n\n\\item{overwrite}{boolean, overwrite contents of input file, Default: FALSE}\n}\n\\value{\ncharacter\n}\n\\description{\nUpdate/append an R file that has roxygen2 headers already with updated information\n}\n\\details{\nCross references fields already in the roxygen2 header and adds any new ones from the updated call.\nTo force a change to a field add field name to force.fields.\n}\n\\examples{\n\n# We want to update the contents of the Roxygen2 with the new parameter \"b\"\n# without touching the other fields\n\n# Before\n cat(readLines(system.file('example_moga.R',package = 'sinew')),sep = '\\n')\n\n# After\n moga(system.file('example_moga.R',package = 'sinew'))\n \n}\n\\concept{populate}" +"\ufeff// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\n\nusing System.Diagnostics;\nusing System.Runtime.InteropServices;\nusing Microsoft.CodeAnalysis.Text;\n\nnamespace Microsoft.CodeAnalysis\n{\n /// \n /// Information decoded from well-known custom attributes applied on a module.\n /// \n internal class CommonModuleWellKnownAttributeData : WellKnownAttributeData\n {\n #region DebuggableAttribute\n private bool _hasDebuggableAttribute;\n public bool HasDebuggableAttribute\n {\n get\n {\n VerifySealed(expected: true);\n return _hasDebuggableAttribute;\n }\n set\n {\n VerifySealed(expected: false);\n _hasDebuggableAttribute = value;\n SetDataStored();\n }\n }\n #endregion\n\n #region DefaultCharSetAttribute\n\n private byte _defaultCharacterSet;\n\n internal CharSet DefaultCharacterSet\n {\n get\n {\n VerifySealed(expected: true);\n Debug.Assert(HasDefaultCharSetAttribute);\n return (CharSet)_defaultCharacterSet;\n }\n set\n {\n VerifySealed(expected: false);\n Debug.Assert(IsValidCharSet(value));\n _defaultCharacterSet = (byte)value;\n SetDataStored();\n }\n }\n\n internal bool HasDefaultCharSetAttribute\n {\n get { return _defaultCharacterSet != 0; }\n }\n\n internal static bool IsValidCharSet(CharSet value)\n {\n return value >= Cci.Constants.CharSet_None && value <= Cci.Constants.CharSet_Auto;\n }\n #endregion\n }\n}" +"\ufeffusing System;\r\nusing System.Linq;\r\nusing System.IO;\r\n\r\nnamespace Snappy.Sharp\r\n{\r\n public static class Snappy\r\n {\r\n internal const int LITERAL = 0;\r\n internal const int COPY_1_BYTE_OFFSET = 1; // 3 bit length + 3 bits of offset in opcode\r\n internal const int COPY_2_BYTE_OFFSET = 2;\r\n internal const int COPY_4_BYTE_OFFSET = 3;\r\n\r\n public static int MaxCompressedLength(int sourceLength)\r\n {\r\n var compressor = new SnappyCompressor();\r\n return compressor.MaxCompressedLength(sourceLength);\r\n }\r\n\r\n public static byte[] Compress(byte[] uncompressed)\r\n {\r\n var target = new SnappyCompressor();\r\n var result = new byte[target.MaxCompressedLength(uncompressed.Length)];\r\n var count = target.Compress(uncompressed, 0, uncompressed.Length, result);\r\n return result.Take(count).ToArray();\r\n }\r\n\r\n public static void Compress(Stream uncompressed, SnappyStream compressed)\r\n {\r\n throw new NotImplementedException();\r\n }\r\n\r\n public static int GetUncompressedLength(byte[] compressed, int offset = 0)\r\n {\r\n var decompressor = new SnappyDecompressor();\r\n return decompressor.ReadUncompressedLength(compressed, offset)[0];\r\n }\r\n\r\n public static byte[] Uncompress(byte[] compressed)\r\n {\r\n throw new NotImplementedException();\r\n }\r\n\r\n public static void Uncompress(SnappyStream compressed, StreamWriter uncompressed)\r\n {\r\n throw new NotImplementedException();\r\n }\r\n }\r\n}" +"define([\n './path',\n './special_attr_path',\n '../../tools'\n], function(Path, SpecialAttrPath, tools) {\n 'use strict';\n\n Path.ellipse = function(x, y, radiusX, radiusY) {\n return new Path(new Ellipse(x, y, radiusX, radiusY).segments()).attr({\n x: x,\n y: y\n });\n };\n\n /**\n * Creates an ellipse\n *\n * @constructor\n * @name Ellipse\n * @memberOf module:path\n * @extends module:path.SpecialAttrPath\n * @param {Number} x The x coordinate of the center of the ellipse\n * @param {Number} y The y coordinate of the center of the ellipse\n * @param {Number} radiusX The x (horizonal) radius\n * @param {Number} radiusY The y (vertical) radius\n */\n function Ellipse(x, y, radiusX, radiusY) {\n\n SpecialAttrPath.call(this, {\n radiusX: 0,\n radiusY: 0\n });\n\n this.attr({\n x: x,\n y: y,\n radiusX: radiusX,\n radiusY: radiusY\n });\n\n }\n\n /** @lends module:path.Ellipse.prototype **/\n var proto = Ellipse.prototype = Object.create(SpecialAttrPath.prototype);\n\n /**\n * Generates shape as per Ellipse's properties in _attributes\n *\n * @private\n */\n proto._make = function() {\n\n var attr = this._attributes,\n radiusX = attr.radiusX,\n radiusY = attr.radiusY;\n\n this\n .moveTo(radiusX, 0)\n .arcTo(radiusX, radiusY, 0, 0, 0, -radiusX, 0)\n .arcTo(radiusX, radiusY, 0, 0, 0, radiusX, 0);\n\n };\n\n return Ellipse;\n\n});" +"/*\n * Copyright (C) 2010-2101 Alibaba Group Holding Limited.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage com.alibaba.otter.manager.biz.statistics.delay;\n\n/**\n * @author jianghang 2011-11-21 \u4e0b\u534803:07:35\n * @version 4.0.0\n */\npublic interface DelayCounter {\n\n public Long incAndGet(Long pipelineId, Long number);\n\n public Long decAndGet(Long pipelineId, Long number);\n\n public Long setAndGet(Long pipelineId, Long number);\n}" +"/**\n * A Lexical analyser\n * @module lexer\n */\n\n/**\n * The base Token class. Contains the token type,\n * the raw string of the token, and the offset into the input line.\n */\nexport interface Token {\n type: string;\n raw: string;\n offset: number;\n}\n\n/**\n * A Lexical rule for a terminal. Consists of a RegExp and an action.\n */\nexport interface Rule {\n name: string,\n r: RegExp;\n fn: (Lexer, RegExpExecArray) => any\n}\n\n/**\n * A Lexer instance, parsing a given file. Usually you should use a LexicalGrammar to\n * create one of these.\n *\n * @class\n * @param {string} source the source code to parse\n * @param rules the rules of this lexer.\n */\n\nexport class Lexer {\n position: number = 0;\n constructor(public source: string, public rules: Rule[], private maxLength) {\n }\n\n /** Returns the next token in this lexer, or null if at the end. If the match fails, throws an Error. */\n scan(): Token {\n let token = null,\n length = 0;\n if (this.position < this.source.length) {\n if (this.source !== undefined && this.source.length < this.maxLength) {\n // TODO: Consider using vscode setting for tokenisation max length\n this.rules.forEach(rule => {\n rule.r.lastIndex = this.position;\n const x =" +"close all; clc; clear;\r\n\r\naddpath(genpath('./.'));\r\nfolder = './.'; % Put the image pairs in this folder\r\nfilepaths = dir(fullfile(folder, '*.png'));\r\n\r\nfor i = 1:2:size(filepaths)\r\n I1 = im2double(imread(fullfile(folder,filepaths(i).name))); % reference image\r\n I2 = im2double(imread(fullfile(folder,filepaths(i+1).name))); % target image\r\n\r\n s = 2; % s = len1/len2, len1&lend2 are the focal length of captured image (len1>len2)\r\n r = 1 - 1/s; % Scale\r\n I2_zoom = warpImg(I2,[-r,0,0,0]);\r\n \r\n tau0 = zeros(6,1);\r\n iter = 3; % number of iterations\r\n\r\n [I2_t,tau] = align_l(I2_zoom,I1,tau0,iter);\r\n [I2_t_l] = luminance_transfer(I1,I2_t); % transfer luminance\r\n [I2_t_c] = color_transfer(I1,I2_t); % transfer color\r\n\r\n % where you save the image\r\n imwrite(I1, ['./.', filepaths(i).name]) \r\n imwrite(I2_t_c, ['./.', filepaths(i+1).name])\r\nend" +"Exercise nbextension history\n----------------------------\n\nUpdate december 30, 2015:\n(@jfbercher) Updated to jupyter notebook 4.1.x\n\nUpdate december 22, 2015:\n(@jfbercher)\n Added the metadata solution_first to mark the beginning of an exercise. It is now possible to have several consecutive exercises. \n\nOctober 21-27,2015: \n(@jfbercher)\n\n1- the extension now works with the multicell API, that is\n - several cells can be selected either via the rubberband extension \n - or via Shift-J (select next) or Shift-K (select previous) keyboard shortcuts\n(probably Shit-up and down will work in a near future) \nNote: previously, the extension required the selected cells to be marked with a \"selected\" key in metadata. This is no more necessary with the new API.\nThen clicking on the toolbar button turns these cells into a \"solution\" which is hidden by default ** Do not forget to keep the Shift key pressed down while clicking on the menu button (otherwise selected cells will be lost)** \n2- the \"state\" of solutions, hidden or shown, is saved and restored at reload/restart. We use the \"solution\" metadata to store the current state.\n3- A small issue (infinite loop when a solution was defined at the bottom edge of the notebook have been corrected)\n4- Added a" +"/*\n * Copyright (C) 2016 Nishant Srivastava\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage com.github.nisrulz.sensey;\n\nimport android.content.Context;\nimport android.view.MotionEvent;\nimport android.view.ScaleGestureDetector;\n\n/**\n * The type Pinch scale detector.\n */\npublic class PinchScaleDetector {\n\n private class ScaleGestureListener implements ScaleGestureDetector.OnScaleGestureListener {\n\n @Override\n public boolean onScale(ScaleGestureDetector scaleGestureDetector) {\n\n float scaleFactor = scaleGestureDetector.getScaleFactor();\n if (scaleFactor > 1) {\n countOfScaleIn += 1;\n if (eventOccurred != 1 && countOfScaleIn > 2) {\n eventOccurred = 1;\n pinchScaleListener.onScale(scaleGestureDetector, true);\n }\n } else {\n countOfScaleOut += 1;\n if (eventOccurred != 2 && countOfScaleOut > 2) {\n eventOccurred = 2;\n pinchScaleListener.onScale(scaleGestureDetector, false);\n }\n }\n return true;\n }\n\n @Override\n public boolean onScaleBegin(ScaleGestureDetector scaleGestureDetector) {\n pinchScaleListener.onScaleStart(scaleGestureDetector);\n countOfScaleOut = 0;\n countOfScaleIn = 0;\n eventOccurred = 0;\n return true;" +"RPS-BLAST 2.2.18 [Mar-02-2008]\n\nDatabase: CDD.v.2.13 \n 24,083 sequences; 5,982,884 total letters\n\nSearching..................................................done\n\nQuery= lcl|YP_134044.1|Plus1 F 4437 4742 NC_006391 hypothetical\nprotein {Haloarcula marismortui ATCC 43049}\n (101 letters)\n\n ***** No hits found ******\n\n\nQuery= lcl|YP_134045.1|Plus1 F 4742 5065 NC_006391 transcription\nregulator {Haloarcula marismortui ATCC 43049}\n (107 letters)\n\n ***** No hits found ******\n\n\nQuery= lcl|YP_134046.1|Plus1 F 5275 5808 NC_006391 hypothetical\nprotein {Haloarcula marismortui ATCC 43049}\n (177 letters)\n\n ***** No hits found ******\n\n\n Database: CDD.v.2.13\n Posted date: Nov 8, 2007 6:30 PM\n Number of letters in database: 5,982,884\n Number of sequences in database: 24,083\n \nLambda K H\n 0.308 0.126 0.352 \n\nGapped\nLambda K H\n 0.267 0.0606 0.140 \n\n\nMatrix: BLOSUM62\nGap Penalties: Existence: 11, Extension: 1\nNumber of Sequences: 24083\nNumber of Hits to DB: 200,397,591\nNumber of extensions: 14170162\nNumber of successful extensions: 17150\nNumber of sequences better than 1.0e-005: 6\nNumber of HSP's gapped: 17124\nNumber of HSP's successfully gapped: 29\nLength of database: 5,982,884\nNeighboring words threshold: 11\nWindow for multiple hits: 40\nX1: 15 ( 6.7 bits)\nX2: 38 (14.6 bits)\nX3: 64 (24.7 bits)\nS1: 40 (20.8 bits)\nS2: 102 (43.3 bits)" +";;; ess-r-syntax.el --- Utils to work with R code\n\n;; Copyright (C) 2015-2020 Free Software Foundation, Inc.\n;; Author: Lionel Henry \n;; Created: 12 Oct 2015\n;; Maintainer: ESS-core \n\n;; This file is part of GNU Emacs.\n\n;;; License:\n;;\n;; This program is free software; you can redistribute it and/or modify\n;; it under the terms of the GNU General Public License as published by\n;; the Free Software Foundation, either version 3 of the License, or\n;; (at your option) any later version.\n;;\n;; This program is distributed in the hope that it will be useful,\n;; but WITHOUT ANY WARRANTY; without even the implied warranty of\n;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n;; GNU General Public License for more details.\n;;\n;; You should have received a copy of the GNU General Public License\n;; along with this program. If not, see\n;; \n\n;;; Commentary:\n\n;; API is not yet stable.\n\n;;; Code:\n\n(require 'ess-utils)\n(require 'regexp-opt)\n\n(eval-when-compile\n (require 'cl-lib))\n\n\f\n;;*;; Utils\n\n;; The three following wrappers return t if successful, nil on error\n(defun ess-backward-sexp (&optional N)\n (ess-forward-sexp (- (or N 1))))\n\n(defun ess-forward-sexp (&optional N)\n (or N" +"/*\n * WekaDeeplearning4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * WekaDeeplearning4j is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with WekaDeeplearning4j. If not, see .\n *\n * VGG16.java\n * Copyright (C) 2017-2018 University of Waikato, Hamilton, New Zealand\n */\n\npackage weka.dl4j.zoo;\n\nimport org.deeplearning4j.nn.conf.CacheMode;\nimport org.deeplearning4j.nn.graph.ComputationGraph;\nimport org.deeplearning4j.zoo.ZooModel;\nimport weka.core.OptionMetadata;\nimport weka.dl4j.Preferences;\nimport weka.dl4j.PretrainedType;\nimport weka.dl4j.zoo.keras.VGG;\n\n/**\n * A WEKA version of DeepLearning4j's VGG16 ZooModel.\n * Pretrained weights notes:\n * VGG16 CIFAR10 - Download link possibly broken on DL4J end?\n * The downloaded zip for these weights is only 10mb vs 513mb for Imagenet\n *\n * @author Steven Lang\n * @author Rhys Compton\n */\npublic class Dl4jVGG extends AbstractZooModel {\n\n private static final long serialVersionUID = -4741420712433849216L;" +"---\nid: version-2.4.0-functions-runtime\ntitle: Configure Functions runtime\nsidebar_label: \"Admin: Configure Functions runtime\"\noriginal_id: functions-runtime\n---\nThis guide is used for administrator. \n\nPulsar Functions support the following methods to run functions.\n\n- *Thread*: Invoke functions in threads in Functions Worker.\n- *Process*: Invoke functions in processes forked by Functions Worker.\n- *Kubernetes*: Submit functions as Kubernetes StatefulSets by Functions Worker.\n\n#### Note\n> Pulsar supports adding labels to the Kubernetes StatefulSets and services while launching functions, which facilitates selecting the target Kubernetes objects.\n\n## Configure thread runtime\nIt is easy to configure *Thread* runtime. In most cases, you do not need to configure anything. You can customize the thread group name with the following settings:\n\n```yaml\nthreadContainerFactory:\n threadGroupName: \"Your Function Container Group\"\n```\n\n*Thread* runtime is only supported in Java function.\n\n## Configure process runtime\nWhen you enable *Process* runtime, you do not need to configure anything.\n\n```yaml\nprocessContainerFactory:\n # the directory for storing the function logs\n logDirectory:\n # change the jar location only when you put the java instance jar in a different location\n javaInstanceJarLocation:\n # change the python instance location only when you put the python instance jar in a different location\n pythonInstanceLocation:\n # change the extra dependencies location:" +"package com.gameloft9.demo.dataaccess.dao.system;\n\nimport com.gameloft9.demo.dataaccess.model.system.SysRoleTest;\nimport com.gameloft9.demo.dataaccess.model.system.SysUserRoleTest;\nimport org.apache.ibatis.annotations.Param;\n\nimport java.util.List;\n\npublic interface SysUserRoleTestMapper {\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table SYS_USER_ROLE_TEST\n *\n * @mbggenerated Mon Dec 04 14:08:33 CST 2017\n */\n int deleteByPrimaryKey(String id);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table SYS_USER_ROLE_TEST\n *\n * @mbggenerated Mon Dec 04 14:08:33 CST 2017\n */\n int insert(SysUserRoleTest record);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table SYS_USER_ROLE_TEST\n *\n * @mbggenerated Mon Dec 04 14:08:33 CST 2017\n */\n int insertSelective(SysUserRoleTest record);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table SYS_USER_ROLE_TEST\n *\n * @mbggenerated Mon Dec 04 14:08:33 CST 2017\n */\n SysUserRoleTest selectByPrimaryKey(String id);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table SYS_USER_ROLE_TEST\n *\n * @mbggenerated Mon Dec 04 14:08:33 CST 2017\n */\n int updateByPrimaryKeySelective(SysUserRoleTest record);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table SYS_USER_ROLE_TEST\n *\n * @mbggenerated Mon Dec 04 14:08:33 CST 2017\n */\n int updateByPrimaryKey(SysUserRoleTest record);" +"/*\n * Copyright (c) 2013 ARM/Linaro\n *\n * Authors: Daniel Lezcano \n * Lorenzo Pieralisi \n * Nicolas Pitre \n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\n * Maintainer: Lorenzo Pieralisi \n * Maintainer: Daniel Lezcano \n */\n#include \n#include \n#include \n#include \n\n#include \n#include \n#include \n#include \n#include \n#include \n\n#include \"dt_idle_states.h\"\n\nstatic int bl_enter_powerdown(struct cpuidle_device *dev,\n\t\t\t struct cpuidle_driver *drv, int idx);\n\n/*\n * NB: Owing to current menu governor behaviour big and LITTLE\n * index 1 states have to define exit_latency and target_residency for\n * cluster state since, when all CPUs in a cluster hit it, the cluster\n * can be shutdown. This means that when a single CPU enters this state\n * the exit_latency and target_residency values are somewhat overkill.\n * There is no notion of cluster states in the menu governor, so CPUs\n * have to define CPU states where possibly the cluster will be shutdown\n * depending on the state of other CPUs. idle states entry and exit happen\n *" +"--- cvs-1.11.21/src/diff.c.old\t2005-05-27 19:17:03.000000000 +0200\n+++ cvs-1.11.21/src/diff.c\t2005-12-15 15:22:05.000000000 +0100\n@@ -955,14 +955,16 @@\n \t /* The first revision does not exist. If EMPTY_FILES is\n true, treat this as an added file. Otherwise, warn\n about the missing tag. */\n-\t if( use_rev2 == NULL || RCS_isdead( vers->srcfile, use_rev2 ) )\n+\t if( use_rev2 == NULL || RCS_isdead( vers->srcfile, use_rev2 ) ) {\n \t\t/* At least in the case where DIFF_REV1 and DIFF_REV2\n \t\t * are both numeric (and non-existant (NULL), as opposed to\n \t\t * dead?), we should be returning some kind of error (see\n \t\t * basicb-8a0 in testsuite). The symbolic case may be more\n \t\t * complicated.\n \t\t */\n-\t\treturn DIFF_SAME;\n+\t\terror (0, 0, \"no revision in file %s or missing file %s\", finfo->fullname, finfo->fullname);\n+\t\treturn DIFF_ERROR;\n+\t }\n \t if( empty_files )\n \t\treturn DIFF_ADDED;\n \t if( use_rev1 != NULL )" +"# Sharing your project\n\nOnce you've made your project, you can save it the cloud, share it, or embed it on another website.\n\n* Click **More...**, then **Embed Project**:\n* Click **Publish project**. This will make the project publicly available\n* You will then see this information:\n\n## Sharing the URL\n\nYou can share the URL for the project with other people, and they will be able to visit that page to see your project, download it, or edit it. \n\n### ~hint\n\n**Developers:** This page supports [OEmbed](https://oembed.com/).\n\n### ~\n\n## Embedding into a blog or web site\n\nRather than just sharing the link, you can also embed the project so that your visitors can use the simulator, edit blocks or code, or download the project without having to leave your site.\n\n### General instructions\n\nSelect the kind of embedding you would like.\n\n* **Screenshot** - a lightweight screenshot of the blocks that links to the snippet\n* **Editor** - embedded editor with minimal UI\n* **Simulator** - embedded simulator only\n* **Command line** - specific instructions to unpack the project using the [command line](/cli) tools\n\nCopy the HTML for embedding the page from the publish dialog. It will look like" +"- breadcrumb_title _(\"Operations\")\n- page_title _(\"Operations\")\n- @content_class = \"limit-container-width\" unless fluid_layout\n\n-# normally expanded_by_default? is used here, but since this is the only panel\n-# in this settings page, let's leave it always open by default\n- expanded = true\n\n%section.settings.as-serverless-domain.no-animate#js-serverless-domain-settings{ class: ('expanded' if expanded) }\n .settings-header\n %h4\n = _('Serverless domain')\n %button.btn.btn-default.js-settings-toggle{ type: 'button' }\n = expanded ? _('Collapse') : _('Expand')\n %p\n = _('Set an instance-wide domain that will be available to all clusters when installing Knative.')\n .settings-content\n - if Gitlab.config.pages.enabled\n = render 'form'\n - else\n .card\n .card-header\n = s_('GitLabPages|Domains')\n .nothing-here-block\n = s_(\"GitLabPages|Support for domains and certificates is disabled. Ask your system's administrator to enable it.\")" +"/*\n * Copyright (C) 2006 TopCoder Inc., All Rights Reserved.\n */\npackage com.topcoder.xmi.writer.transformers.diagram.elementtransformers;\n\nimport org.w3c.dom.Document;\nimport org.w3c.dom.Node;\n\nimport com.topcoder.diagraminterchange.GraphicPrimitive;\nimport com.topcoder.xmi.writer.XMITransformException;\nimport com.topcoder.xmi.writer.transformers.diagram.Diagram2XMITransformer;\n\n/**\n *

    \n * Provides the XMI transformation strategy for instances of the {@link GraphicPrimitive} class.\n *

    \n *

    \n * GraphicPrimitiveTransformer implements the DiagramInterchangeElementTransformer interface.\n * It is used to convert the instance of the {@link GraphicPrimitive} class into their XMI representation.\n *

    \n *

    \n * This is performed by the transform method, taking the element and XML document, and returning a Node of XML that\n * conforms to the XSD for the given object.\n *

    \n *

    \n * The XMI representation of the node will have the similar structure below:
    \n *

    \n *  <UML:GraphicPrimitive visible="false" xmi.id="0f981485-cf54-49b1-a6f9-a644476f22ad">\n *      ...\n *  </UML:GraphicPrimitive>\n * 
    \n *

    \n *

    \n * In addition, the default no-arg constructor is provided.\n *

    \n *

    \n * Thread-safety:\n * This class is does not handle its own thread safety, it is possible the document and element\n * objects may be altered by other threads during execution. It does however not modify the element in any way, and\n * only uses the document to create XML elements.\n *

    \n *" +"StartChar: uni0311\nEncoding: 441 785 324\nWidth: 0\nFlags: MW\nAnchorPoint: \"top_accent\" 158 570 mark 0\nLayerCount: 2\nFore\nSplineSet\n194 519 m 0\n 191 542 188 579 152 579 c 0\n 111 579 83 560 71 526 c 0\n 67 515 56 498 46 498 c 0\n 36 498 32 508 32 516 c 0\n 32 577 95 636 169 636 c 0\n 201 636 241 607 241 566 c 0\n 241 533 228 498 208 498 c 0\n 201 498 195 511 194 519 c 0\nEndSplineSet\nValidated: 1\nSubstitution2: \"Smallcaps subtable\" uni0311.sc\nSubstitution2: \"'case' Case-Sensitive Forms lookup 6 subtable\" uni0311.cap\nEndChar" +"---\n3ip: 9\ntitle: Ghost Threads: Ephemeral Threads on 3box\nauthor: Ghilia Weldesselasie @ghiliweld\ndiscussions-to: https://github.com/3box/3box/issues/675\nstatus: Draft\ncreated: 2019-08-17\nrequires: 3IP 1\n---\n\n## Simple Summary\nEphemeral messages on 3box, for when we don't want messages to persist (like in Persistent Threads).\n\n## Abstract\nCurrently 3Box supports building chat like system though the threads api. However, for building things like trollboxes, or online lists, etc. threads are not the best fit. Ipfs has a feature called pubsub, which is a system for passing messages between peers. Pubsub can be used to create an ephemeral chat system where messages are not persisted anywhere in the network, rather they are just sent across once and seen by anyone online at that point. \n\n## Motivation\nOne could create Threads and delete message we don't want persisted, but if we already know we don't want to persist any messages in a chat it makes more sense to simply use pubsub and not save messages from the get-go. Which is why we're working on this new standard for ephemeral messaging.\n\n## Specification\n\n### Room Discovery\n\nEach pubsub room on ipfs has a name that serves as a topic between peers. To distinguish between different" +"# PointLight\n\n\u70b9\u5149\u6e90\uff0c\u7ee7\u627f\u81ea [BaseLight](./BaseLight)\u3002\n\n## \u6784\u9020\u51fd\u6570\n\n```javascript\nnew G3D.PointLight(scene);\n```\n\n### \u53c2\u6570\n\n| \u540d\u79f0 | \u7c7b\u578b | \u63cf\u8ff0 |\n| ----- | --------- | -------------- |\n| scene | G3D.Scene | \u5149\u6e90\u6240\u5c5e\u7684\u573a\u666f |\n\n## \u5c5e\u6027\n\n| \u540d\u79f0 | \u7c7b\u578b | \u63cf\u8ff0 |\n| position | {x: Number, y: Number, z: Number} | \u4f4d\u7f6e |\n| radius | Number | \u5149\u6e90\u534a\u5f84\uff0c\u5373\u6807\u51c6\u5f3a\u5ea6\u4f4d\u7f6e\u8ddd\u5149\u6e90\u7684\u8ddd\u79bb |\n| castShadow | boolean | \u4ea7\u751f\u9634\u5f71\uff0c\u9ed8\u8ba4\u4e3a false |\n| castShadowFov | Number | \u4ea7\u751f\u9634\u5f71\u7684\u89c6\u573a\u89d2\uff0c\u9ed8\u8ba4\u4e3a 60 |\n\n## \u793a\u4f8b\n\n```javascript\nconst light = new PointLight(scene);\nlight.color = {r: 255, g: 0, b: 0};\nlight.position = {x : 3, y : 4, z : 0};\nlight.radius = 5;\n```" +"using System;\nusing System.Diagnostics;\nusing System.IO;\nusing System.Reflection;\nusing System.Security.Principal;\n\nnamespace ServiceUninstall\n{\n public static class ServiceHelper\n {\n private static string ReadarrExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, \"Readarr.Console.exe\");\n\n private static bool IsAnAdministrator()\n {\n WindowsPrincipal principal = new WindowsPrincipal(WindowsIdentity.GetCurrent());\n return principal.IsInRole(WindowsBuiltInRole.Administrator);\n }\n\n public static void Run(string arg)\n {\n if (!File.Exists(ReadarrExe))\n {\n Console.WriteLine(\"Unable to find Readarr.exe in the current directory.\");\n return;\n }\n\n if (!IsAnAdministrator())\n {\n Console.WriteLine(\"Access denied. Please run as administrator.\");\n return;\n }\n\n var startInfo = new ProcessStartInfo\n {\n FileName = ReadarrExe,\n Arguments = arg,\n UseShellExecute = false,\n RedirectStandardOutput = true,\n RedirectStandardError = true,\n CreateNoWindow = true\n };\n\n var process = new Process { StartInfo = startInfo };\n process.OutputDataReceived += OnDataReceived;\n process.ErrorDataReceived += OnDataReceived;\n\n process.Start();\n\n process.BeginErrorReadLine();\n process.BeginOutputReadLine();\n\n process.WaitForExit();\n }\n\n private static void OnDataReceived(object sender, DataReceivedEventArgs e)\n {\n Console.WriteLine(e.Data);\n }\n }\n}" +"/*\n * Copyright 2018-present Open Networking Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage org.onosproject.workflow.api;\n\nimport com.google.common.base.MoreObjects;\n\nimport java.util.HashSet;\nimport java.util.Objects;\nimport java.util.Set;\n\nimport static org.onosproject.workflow.api.CheckCondition.check;\n\n/**\n * Class for event timeout task.\n */\npublic final class EventTimeoutTask extends HandlerTask {\n\n /**\n * Event type (Class name of event).\n */\n private final String eventType;\n\n /**\n * Set of Event hint value for finding target event.\n */\n private final Set eventHintSet = new HashSet<>();\n\n /**\n * Constructor of EventTimeoutTask.\n * @param builder builder of EventTimeoutTask\n */\n private EventTimeoutTask(Builder builder) {\n super(builder);\n this.eventType = builder.eventType;\n this.eventHintSet.addAll(builder.eventHintSet);\n }\n\n /**\n * Gets event type (Class name of event).\n * @return event type\n */\n public String eventType() {\n return eventType;" +"/*\n * Copyright 2018 Patches Klinefelter\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage com.isupatches.wisefy.callbacks\n\n/**\n * Callbacks for finding a nearby SSID on a device.\n *\n * @see [BaseCallback]\n * @see [com.isupatches.wisefy.WiseFy.searchForSSID]\n *\n * @author Patches\n * @since 3.0\n */\ninterface SearchForSSIDCallbacks : BaseCallback {\n\n /**\n * Called when WiseFy has successfully found an access point with a matching SSID.\n *\n * @param ssid The found SSID\n *\n * @author Patches\n * @since 3.0\n */\n fun ssidFound(ssid: String)\n\n /**\n * Called when WiseFy times out trying to find an access point with a matching SSID.\n *\n * @author Patches\n * @since 3.0\n */\n fun ssidNotFound()\n}" +"# Changelog\n\nAll notable changes to `laravel-google-calendar` will be documented in this file\n\n## 3.1.0 - 2020-09-08\n\n- add support for Laravel 8\n\n## 3.0.0 - 2020-08-24\n\n- add support for OAuth2 authentication, source property on events (#163)\n\n## 2.6.2 - 2020-07-19\n\n- allow `CarbonImmutable` date (#160)\n\n## 2.6.1 - 2020-04-17\n\n- revert changes of previous release\n\n## 2.6.0 - 2020-04-17\n\n- make factory more flexible\n\n## 2.5.3 - 2020-04-17\n\n- make factory more flexible\n\n## 2.5.2 - 2020-04-14\n\n- add quick save (#147)\n\n## 2.5.1 - 2020-04-01\n\n- allow usage of Carbon immutable (#141)\n\n## 2.5.0 - 2020-03-03\n\n- add support for Laravel 7\n\n## 2.4.0 - 2020-02-20\n\n- allow passing array of credentials (#139)\n\n## 2.3.2 - 2019-12-16\n- Fixed fetching more than 250 results of calendar events (#133)\n\n## 2.3.1 - 2019-12-15\n- Add getter for calendar ID per event (#131)\n\n## 2.3.0 - 2019-09-04\n- Laravel 6 compatibility; dropped support for older versions\n\n## 2.2.2 - 2019-02-27\n- allow carbon v2\n\n## 2.2.1 - 2018-09-27\n- `listEvents` now returns events sorted chronologically\n\n## 2.2.0 - 2018-01-10\n- add ability to add query params\n\n## 2.1.1 - 2017-10-16\n- improve sorting\n\n## 2.1.0 - 2017-10-15\n- add" +"/*\n * Copyright 2012-2019 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.springframework.boot.autoconfigure.jms.activemq;\n\nimport org.apache.activemq.ActiveMQConnectionFactory;\n\n/**\n * Callback interface that can be implemented by beans wishing to customize the\n * {@link ActiveMQConnectionFactory} whilst retaining default auto-configuration.\n *\n * @author Stephane Nicoll\n * @since 1.5.5\n */\n@FunctionalInterface\npublic interface ActiveMQConnectionFactoryCustomizer {\n\n\t/**\n\t * Customize the {@link ActiveMQConnectionFactory}.\n\t * @param factory the factory to customize\n\t */\n\tvoid customize(ActiveMQConnectionFactory factory);\n\n}" +"using System;\r\nusing System.Collections.Generic;\r\nusing Server.Items;\r\n\r\nnamespace Server.Mobiles\r\n{\r\n\tpublic class SBMiner: SBInfo\r\n\t{\r\n\t\tprivate List m_BuyInfo = new InternalBuyInfo();\r\n\t\tprivate IShopSellInfo m_SellInfo = new InternalSellInfo();\r\n\r\n\t\tpublic SBMiner()\r\n\t\t{\r\n\t\t}\r\n\r\n\t\tpublic override IShopSellInfo SellInfo { get { return m_SellInfo; } }\r\n\t\tpublic override List BuyInfo { get { return m_BuyInfo; } }\r\n\r\n\t\tpublic class InternalBuyInfo : List\r\n\t\t{\r\n\t\t\tpublic InternalBuyInfo()\r\n\t\t\t{\r\n\t\t\t\tAdd( new GenericBuyInfo( typeof( Bag ), 6, 20, 0xE76, 0 ) );\r\n\t\t\t\tAdd( new GenericBuyInfo( typeof( Candle ), 6, 10, 0xA28, 0 ) );\r\n\t\t\t\tAdd( new GenericBuyInfo( typeof( Torch ), 8, 10, 0xF6B, 0 ) );\r\n\t\t\t\tAdd( new GenericBuyInfo( typeof( Lantern ), 2, 10, 0xA25, 0 ) );\r\n\t\t\t\t//Add( new GenericBuyInfo( typeof( OilFlask ), 8, 10, 0x####, 0 ) );\r\n\t\t\t\tAdd( new GenericBuyInfo( typeof( Pickaxe ), 25, 10, 0xE86, 0 ) );\r\n\t\t\t\tAdd( new GenericBuyInfo( typeof( Shovel ), 12, 10, 0xF39, 0 ) );\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tpublic class InternalSellInfo : GenericSellInfo\r\n\t\t{\r\n\t\t\tpublic InternalSellInfo()\r\n\t\t\t{\r\n\t\t\t\tAdd( typeof( Pickaxe ), 12 );\r\n\t\t\t\tAdd( typeof( Shovel ), 6 );\r\n\t\t\t\tAdd( typeof( Lantern ), 1 );\r\n\t\t\t\t//Add( typeof( OilFlask ), 4 );\r\n\t\t\t\tAdd( typeof( Torch ), 3 );\r\n\t\t\t\tAdd( typeof( Bag ), 3 );\r\n\t\t\t\tAdd( typeof( Candle ), 3 );\r\n\t\t\t}\r\n\t\t}" +"\n \u3000\u4e94 \u4e4b\u540e \u80a1\u5e02 \u706b\u7206 \u8fde\u7eed \u5929\u5927 \u4e00\u4e3e \u7a81\u7834 \u4e94\u5927 \u6295\u8d44\u8005 \u878d\u901a \u57fa\u91d1 \u7ba1\u7406 \u516c\u53f8 \u9996\u5e2d \u5206\u6790\u5e08 \u878d\u901a \u884c\u4e1a \u666f\u6c14 \u57fa\u91d1 \u7ecf\u7406 \u51af\u5b87\u8f89 \u8868\u793a \u706b\u7206 \u57fa\u672c\u9762 \u91cd\u4e8e \u6700\u91cd\u8981 \u9009\u80a1 \n \u6295\u8d44\u8005 \u660e\u767d \u575a\u6301 \n \u3000\u51af \u8868\u793a \u57fa\u91d1 \u7ecf\u7406 \u540c\u6837 \u82e6\u82e6 \u575a\u6301 \u7ecf\u9a8c \u53bb\u5e74 \u878d\u901a \u884c\u4e1a \u7814\u7a76\u5458 \u5b9e\u5730 \u8c03\u7814 \u63a8\u8350 \u5e7f\u8239 \u56fd\u9645 \u5f53\u65f6 \u53d7\u7d2f \u94a2\u6750 \u4ef7\u683c \u8fde\u5e74 \u4e0a\u6da8 \u56fd\u5185 \u9020\u8239\u4e1a \u4e00\u76f4 \u5904\u4e8e \u4e0b\u964d \u901a\u9053 \u5e7f\u8239 \u56fd\u9645 \u4e1a\u7ee9 \u60c5\u51b5 \u7406\u60f3 \u6ca1\u6709 \u4e00\u5bb6 \u57fa\u91d1 \u770b\u597d \u6295\u8d44 \u5e7f\u8239 \u56fd\u9645 \u9999\u6e2f \u5e02\u573a \u4e00\u76f4 \u4f4e\u8ff7 \n \u516c\u53f8 \u53ec\u5f00 \u4e13\u9898 \u8bba\u8bc1\u4f1a \u6fc0\u70c8 \u8ba8\u8bba \u516c\u53f8 \u5185\u90e8 \u5f62\u6210 \u5171\u8bc6 \u9020\u8239\u4e1a \u6b63\u5904\u4e8e \u884c\u4e1a \u666f\u6c14 \u5468\u671f \u62d0\u70b9 \u5e7f\u8239 \u56fd\u9645 \u8ba2\u5355 \u60c5\u51b5 \u672a\u6765 \u4e1a\u7ee9 \u5927\u5e45\u5ea6 \u63d0\u5347 \u878d\u901a \u884c\u4e1a \u666f\u6c14 \u57fa\u91d1 \u57fa\u91d1 \u901a\u4e7e \u51b3\u5b9a \u91cd\u4ed3 \u4ecb\u5165 \n \u5176\u540e \u76f8\u5f53 \u65f6\u95f4 \u878d\u901a \u57fa\u91d1 \u4e00\u5bb6 \u673a\u6784 \u770b\u597d \u5e7f\u8239 \u56fd\u9645 \u4ef7\u683c \u4f9d\u7136 \u4f4e\u8ff7 \u53bb\u5e74 \u60c5\u51b5 \u53d8\u5f97 \u4ef7\u683c \u6700\u4f4e \u4e0b\u8dcc \u4ef7\u683c 60% \u5de6\u53f3 \u5f53\u65f6 \u62e5\u6709 \u4e0a\u5e02\u516c\u53f8 \u80a1\u4ef7 \u666e\u904d \u63a5\u8f68 \u4f4e\u4e8e \u4e0d\u5728\u5c11\u6570 \u57fa\u91d1 \u7ecf\u7406 \u5b87\u8f89 \u5766\u627f \u611f\u5230 \u538b\u529b \u5de8\u5927 \u575a\u6301 \u4e0b\u6765 \u516c\u53f8 \u57fa\u672c\u9762 \u4e86\u89e3 \u6e05\u695a \u76f8\u4fe1 \u6700\u7ec8 \u5e02\u573a \u8ba4\u53ef \n \u3000\u51af \u5f88\u5feb \u7ed3\u675f \u96be\u71ac \u65e5\u5b50 \u9999\u6e2f \u5e02\u573a \u7ec8\u4e8e \u8ba4\u8bc6\u5230 \u5e7f\u8239 \u56fd\u9645 \u6295\u8d44 \u4ef7\u503c \u7387\u5148 \u5e26\u52a8 \u8fc5\u901f \u8d70\u9ad8 \u8fdb\u5165 \u5e7f\u8239 \u56fd\u9645 \u4ef7\u683c \u8d85\u8fc7 \u76ee\u524d \u5e7f\u8239 \u56fd\u9645 \u80a1\u6539 \u505c\u724c \u505c\u724c \u6536\u62a5 \u53bb\u5e74 \u4ef7\u683c \u76f8\u6bd4 \u51fa\u5934 \u878d\u901a \u65d7\u4e0b \u57fa\u91d1 \u5e7f\u8239 \u56fd\u9645 \u83b7\u5229 \u8d85\u8fc7 100% \n \u5e02\u573a \u5df2\u7ecf \u80fd\u591f" +"const Edge = require('../lib/edge.js')\nconst t = require('tap')\n\n// slight hack to snapshot the getters\n// would be nice if tcompare.format showed these by default,\n// but it's tricky to know when to show non-iterables and\n// when not to. Really, it'd be best if class getters were\n// iterable by default, or had some syntax to allow it, but\n// that's outside my sphere of direct influence, and using\n// Object.defineProperty(this, 'foo', { get ... }) is a pita.\nt.formatSnapshot = obj =>\n obj instanceof Edge ? {\n ...obj,\n spec: obj.spec,\n name: obj.name,\n type: obj.type,\n valid: obj.valid,\n error: obj.error,\n from: obj.from,\n to: obj.to,\n peer: obj.peer,\n dev: obj.dev,\n optional: obj.optional,\n workspace: obj.workspace,\n missing: obj.missing,\n peerLocal: obj.peerLocal,\n invalid: obj.invalid,\n __proto__: { constructor: Edge },\n } : obj\n\nconst reset = node => {\n node.edgesOut = new Map()\n node.edgesIn = new Set()\n}\n\n// mock nodes\nconst top = {\n edgesOut: new Map(),\n edgesIn: new Set(),\n package: { name: 'top', version: '1.2.3' },\n isTop: true,\n parent: null,\n resolve (n) {\n return n === 'a' ? a : n === 'b' ? b : null\n },\n addEdgeOut (edge) {\n this.edgesOut.set(edge.name, edge)\n },\n addEdgeIn (edge) {\n this.edgesIn.add(edge)\n },\n}\n\nconst a = {\n edgesOut:" +"/**\n * Node Native Module for Lib Sodium\n *\n * @Author Pedro Paixao\n * @email paixaop at gmail dot com\n * @License MIT\n */\n#include \"node_sodium.h\"\n#include \"crypto_streams.h\"\n\n// Generate the binding methods for each algorithm\nCRYPTO_STREAM_DEF(salsa20)\nCRYPTO_STREAM_DEF_IC(salsa20)\nCRYPTO_STREAM_DEF(xsalsa20)\nCRYPTO_STREAM_DEF_IC(xsalsa20)\nCRYPTO_STREAM_DEF(salsa208)\nCRYPTO_STREAM_DEF(salsa2012)\nCRYPTO_STREAM_DEF(chacha20)\nCRYPTO_STREAM_DEF_IC(chacha20)\n\n// chacha_ietf uses the same key length as crypto_stream_chacha20_KEYBYTES\n// Libsodium does not define it, lets define it here so we don't get compilation errors\n// when expanding the macros\n// #define crypto_stream_chacha20_ietf_KEYBYTES crypto_stream_chacha20_KEYBYTES\n//#define crypto_stream_chacha20_ietf_NONCEBYTES crypto_stream_chacha20_IETF_NONCEBYTES\nCRYPTO_STREAM_DEF(chacha20_ietf)\nCRYPTO_STREAM_DEF_IC(chacha20_ietf)\n\n\n/**\n * Register function calls in node binding\n */\nvoid register_crypto_streams(Napi::Env env, Napi::Object exports) { \n \n METHODS(xsalsa20);\n EXPORT(crypto_stream_xsalsa20_xor_ic);\n PROPS(xsalsa20);\n \n METHODS(salsa20);\n EXPORT(crypto_stream_salsa20_xor_ic);\n PROPS(salsa20);\n \n METHODS(salsa208);\n PROPS(salsa208);\n \n METHODS(salsa2012);\n PROPS(salsa2012);\n \n METHODS(chacha20);\n EXPORT(crypto_stream_chacha20_xor_ic);\n PROPS(chacha20);\n \n METHODS(chacha20_ietf);\n EXPORT(crypto_stream_chacha20_ietf_xor_ic);\n PROPS(chacha20_ietf);\n}" +"---\ntitle: \u0424\u0430\u0439\u043b\u044b \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438\n---\n\u0418\u043d\u043e\u0433\u0434\u0430 \u0432\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0435\u0442 \u0432 \u0432\u0430\u0448\u0438\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u0445, \u0438\u043b\u0438 \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043c\u0435\u0441\u0442\u0430\u0445. \u0414\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0432 Hexo 3 \u0432\u0432\u0435\u0434\u0435\u043d\u044b \u043d\u043e\u0432\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0434\u0430\u043d\u043d\u044b\u0445. \u042d\u0442\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 YAML \u0438\u043b\u0438 JSON \u0444\u0430\u0439\u043b\u044b \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0439 \u043f\u0430\u043f\u043a\u0438 `source/_data`, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435.\n\n\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c `menu.yml` \u0432 \u043f\u0430\u043f\u043a\u0443 `source/_data`.\n\n``` yaml\nHome: /\nGallery: /gallery/\nArchives: /archives/\n```\n\n\u0418 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445:\n\n```\n<% for (var link in site.data.menu) { %>\n \"> <%= link %> \n<% } %>\n```\n\n\u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u043e \u0432:\n\n```\n Home \n Gallery \n Archives \n```" +"#include \n#include \n#include \n\nusing namespace std;\n\nconst int HEIHGT = 100;\nconst int WIDTH = 2 * 100000;\n\nstruct Mirror {\n int a, b, c;\n\n Mirror(int a, int b, int c): a(a), b(b), c(c) {\n }\n\n bool operator<(const Mirror& o) const {\n return a < o.a;\n }\n};\n\nint getId(const vector& v, int x) {\n int i = upper_bound(v.begin(), v.end(), Mirror(x, x, x)) - v.begin();\n --i;\n if (i < 0 || x > v[i].b) {\n i = -1;\n }\n /*\n printf(\"getId(%p, %d) = (%d, %d, %d)\\n\", &v, x,\n i == -1 ? -1 : v[i].a,\n i == -1 ? -1 : v[i].b,\n i == -1 ? -1 : v[i].c);\n */\n return i;\n}\n\nint intdiv(int num, int den) {\n if (num % den == 0) {\n return num / den;\n } else {\n int ret = num / den;\n if (ret % 2 == 0) {\n ++ret;\n }\n return ret;\n }\n}\n\nint main() {\n char type;\n int h1, h2, n, a, b, c;\n vector up, down;\n\n scanf(\"%d%d%d\", &h1, &h2, &n);\n for (int i = 0; i < n; ++i) {\n scanf(\"%d %c%d%d\", &c, &type, &a, &b);\n if (type == 'T') {\n up.push_back(Mirror(2 * a, 2 *" +"\ufeff# Implementing and Managing Application Services\r\n# Lab: Implementing Azure Logic Apps\r\n \r\n### Scenario\r\n \r\nAdatum Corporation wants to implement custom monitoring of changes to a resource group.\r\n\r\n\r\n### Objectives\r\n \r\nAfter completing this lab, you will be able to:\r\n\r\n- Create an Azure logic app \r\n\r\n- Configure integration of an Azure logic app and an Azure event grid\r\n\r\n### Lab Setup\r\n \r\nEstimated Time: 45 minutes\r\n\r\nUser Name: **Student**\r\n\r\nPassword: **Pa55w.rd**\r\n\r\n\r\n## Exercise 1: Set up the lab environment that consists of an Azure storage account and an Azure logic app \r\n \r\nThe main tasks for this exercise are as follows:\r\n\r\n1. Create an Azure storage account\r\n\r\n1. Create an Azure logic app \r\n\r\n1. Create an Azure AD service principal \r\n\r\n1. Assign the Reader role to the Azure AD service principal \r\n\r\n1. Register the Microsoft.EventGrid resource provider \r\n\r\n\r\n#### Task 1: Create a storage account in Azure\r\n\r\n1. From the lab virtual machine, start Microsoft Edge and browse to the Azure portal at [**http://portal.azure.com**](http://portal.azure.com) and sign in by using the Microsoft account that has the Owner role in the target Azure subscription.\r\n \r\n1. From Azure Portal, create a new storage account with the following settings: \r\n\r\n - Subscription: the name of the target Azure subscription" +"/*\n *\n * Copyright (c) 2013 - 2020 Lijun Liao\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.xipki.ocsp.server.type;\n\nimport java.util.List;\n\n/**\n * ASN.1 Extensions.\n *\n * @author Lijun Liao\n * @since 2.2.0\n */\n\npublic class Extensions extends ASN1Type {\n\n private final List extensions;\n\n private final int bodyLen;\n\n private final int encodedLen;\n\n public Extensions(List extensions) {\n int len = 0;\n for (Extension m : extensions) {\n len += m.getEncodedLength();\n }\n\n this.bodyLen = len;\n this.encodedLen = getLen(bodyLen);\n this.extensions = extensions;\n }\n\n @Override\n public int getEncodedLength() {\n return encodedLen;\n }\n\n @Override\n public int write(byte[] out, int offset) {\n int idx = offset;\n idx += writeHeader((byte) 0x30, bodyLen, out, idx);\n for (Extension m : extensions) {\n idx += m.write(out," +"\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\nnamespace PHPExiftool\\Driver\\Tag\\ExifIFD;\n\nuse JMS\\Serializer\\Annotation\\ExclusionPolicy;\nuse PHPExiftool\\Driver\\AbstractTag;\n\n/**\n * @ExclusionPolicy(\"all\")\n */\nclass MSDocumentTextPosition extends AbstractTag\n{\n\n protected $Id = 37681;\n\n protected $Name = 'MSDocumentTextPosition';\n\n protected $FullName = 'Exif::Main';\n\n protected $GroupName = 'ExifIFD';\n\n protected $g0 = 'EXIF';\n\n protected $g1 = 'IFD0';\n\n protected $g2 = 'Image';\n\n protected $Type = '?';\n\n protected $Writable = false;\n\n protected $Description = 'MS Document Text Position';\n\n protected $local_g1 = 'ExifIFD';\n\n protected $flag_Binary = true;\n}" +"---\nTitle: Verordnung \u00fcber Stoffe mit pharmakologischer Wirkung\njurabk: PharmStV\nlayout: default\norigslug: pharmstv\nslug: pharmstv\n\n---\n\n# Verordnung \u00fcber Stoffe mit pharmakologischer Wirkung (PharmStV)\n\nAusfertigungsdatum\n: 1977-08-03\n\nFundstelle\n: BGBl I: 1977, 1479\n\nNeugefasst durch\n: Bek. v. 8.7.2009 I 1768\n\n\n## \u00a7 1\n\nDie in Anlage 1 aufgef\u00fchrten Stoffe d\u00fcrfen den in dieser Anlage\nbezeichneten Tieren f\u00fcr die dort genannten Anwendungsgebiete nicht\nzugef\u00fchrt werden.\n\n\n## \u00a7 2\n\nDie in den Anlagen 2 und 3 aufgef\u00fchrten Stoffe, deren Anwendung nicht\nnach \u00a7 1 ausgeschlossen ist, d\u00fcrfen Tieren, die der Gewinnung von\nLebensmitteln dienen, nur zugef\u00fchrt werden, wenn diese Tiere in den\nAnlagen bezeichnet sind. Die Stoffe d\u00fcrfen nur f\u00fcr die dort genannten\nAnwendungsgebiete unter den dort aufgef\u00fchrten Bedingungen zugef\u00fchrt\nwerden, sofern sie\n\n1. als Fertigarzneimittel f\u00fcr die in den Anlagen 2 und 3 genannten\n Anwendungsgebiete zugelassen sind und\n\n\n2. entsprechend der dem Fertigarzneimittel beiliegenden\n Gebrauchsinformation angewendet werden.\n\n\n\n\n\n## \u00a7 3\n\n(1) Lebensmittel, die von Tieren gewonnen wurden, denen Stoffe\nentgegen \u00a7 1 in Verbindung mit Anlage 1 oder entgegen \u00a7 2 in\nVerbindung mit Anlage 2 oder 3 zugef\u00fchrt worden sind, d\u00fcrfen nicht in\nden Verkehr gebracht werden.\n\n(2) Die in Anlage 1 genannten Stoffe d\u00fcrfen f\u00fcr eine nach" +"assertThat(\n\t\t\tJHtmlEmail::cloak('admin@joomla.org'),\n\t\t\t$this->StringContains('assertThat(\n\t\t\tJHtmlEmail::cloak('admin@joomla.org', false),\n\t\t\t$this->StringContains('assertThat(\n\t\t\tJHtmlEmail::cloak('admin@joomla.org', true, 'administrator@joomla.org'),\n\t\t\t$this->StringContains('assertThat(\n\t\t\tJHtmlEmail::cloak('admin@joomla.org', true, 'Joomla! Administrator', false),\n\t\t\t$this->StringContains('createXXXQuery methods.\n *\n * @author Jonathan Fuerth \n */\npublic abstract class TypedQueryFactory {\n protected final Class actualResultType;\n protected final ImmutableBiMap> parameters;\n\n\n public TypedQueryFactory(\n Class actualResultType,\n ErraiParameter[] parameters) {\n this.actualResultType = Assert.notNull(actualResultType);\n\n ImmutableBiMap.Builder> pb = ImmutableBiMap.builder();\n for (Parameter p : parameters) {\n pb.put(p.getName(), p);\n }\n this.parameters = pb.build();\n }\n\n /**\n * Creates an instance of the TypedQuery associated with this factory if its\n * result type is assignable to the given type.\n *" +"// Copyright 2019 the V8 project authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\nload('test/mjsunit/wasm/wasm-module-builder.js');\n\n// Construct a big table switch. The code size will overflow 4096 bytes.\nconst NUM_CASES = 3073;\n\nlet body = [];\n// Add one block, so we can jump to this block or to the function end.\nbody.push(kExprBlock);\nbody.push(kWasmStmt);\n\n// Add the big BrTable.\nbody.push(kExprLocalGet, 0);\nbody.push(kExprBrTable, ...wasmSignedLeb(NUM_CASES));\nfor (let i = 0; i < NUM_CASES + 1; i++) {\n body.push(i % 2);\n}\n\n// End the block.\nbody.push(kExprEnd);\n\n// Create a module for this.\nlet builder = new WasmModuleBuilder();\nbuilder.addFunction('main', kSig_v_i).addBody(body).exportFunc();\nlet instance = builder.instantiate();\ninstance.exports.main(0);" +"! Copyright (C) 2007, 2008 Phil Dawes, 2013 John Benediktsson\n! See http://factorcode.org/license.txt for BSD license.\nUSING: combinators fry io io.files io.streams.string kernel\nmake math memoize namespaces sbufs sequences sequences.private\nunicode ;\nIN: csv\n\nSYMBOL: delimiter\n\nCHAR: , delimiter set-global\n\n create(String serverList, SessionType sessionType, int zkSessionTimeoutMillis) {\n // Create a normal ZK client\n boolean canBeReadOnly = sessionType == SessionType.AllowReadOnly;\n\n CompletableFuture future = new CompletableFuture<>();\n try {\n CompletableFuture internalFuture = new CompletableFuture<>();" +"\ufeff// DefaultScopeReport.cs\n//\n// Copyright 2010 Microsoft Corporation\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Reflection;\nusing NUglify.Helpers;\nusing NUglify.JavaScript;\nusing NUglify.JavaScript.Syntax;\n\nnamespace NUglify\n{\n public sealed class DefaultScopeReport : IScopeReport\n {\n #region fields\n\n private TextWriter m_writer;\n private bool m_useReferenceCounts;\n\n #endregion\n\n #region IScopeReport Members\n\n public string Name\n {\n get { return \"Default\"; }\n }\n\n public void CreateReport(TextWriter writer, GlobalScope globalScope, bool useReferenceCounts)\n {\n if (writer != null && globalScope != null)\n {\n m_writer = writer;\n m_useReferenceCounts = useReferenceCounts;\n\n // output global scope report\n WriteScopeReport(globalScope);\n\n // generate a flat array of function scopes ordered by context line start\n var scopes = GetAllFunctionScopes(globalScope);\n\n // for each function scope, output a scope report" +"---\ntitle: Bind Selection to Model Field with Checkbox Column\npage_title: Bind Selection to Model Field | Kendo UI Grid for jQuery\ndescription: \"An example on how to select a row with a checkbox column that is bound to a model field in the Kendo UI Grid for jQuery.\"\nprevious_url: /controls/data-management/grid/how-to/Selection/grid-selection-to-model-field\nslug: howto_bind_selection_to_model_field\ntags: grid, bind, selection, model, field, checkbox, column\ncomponent: grid\ntype: how-to\nres_type: kb\n---\n\n## Environment\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    ProductProgress Kendo UI Grid
    Operating SystemAll
    BrowserAll
    Browser VersionAll
    \n\n## Description\n\nHow can I select a row with a checkbox column that is bound to a model field in the Kendo UI Grid for jQuery?\n\n## Solution\n\nYour project might require you to select a Kendo UI Grid row by using a checkbox which is bound to a field from the model.\n\nAfter the user checks or unchecks the checkbox, an `update` request initiates and it updates the Boolean field in the model.\n\nThe following example demonstrates how `SelectAll` that is located in the header updates the Boolean field in all pages. This approach is suitable for scenarios with a limited number of records.\n\n```dojo\n\n\n\n
    \n
    \n \"Tom\n
    \n
    \n

    \n Just a moment, hm? We are working tirelessly to give you the latest and greatest updates on Animal Crossing.\n We will be back in a few minutes. Yes, yes, really. Assuredly!\n

    \n
    \n
    \n\n" +"function [pos, tri] = mesh_sphere(n, method)\n\n% MESH_SPHERE creates spherical mesh, with approximately nvertices vertices\n%\n% Use as\n% [pos, tri] = mesh_sphere(numvertices, method)\n%\n% The input parameter 'n' specifies the (approximate) number of vertices.\n% Once log4((n-2)/10) is an integer, the mesh will be based on an icosahedron.\n% Once log4((n-2)/4) is an integer, the mesh will be based on a refined octahedron.\n% Once log4((n-2)/2) is an integer, the mesh will be based on a refined tetrahedron.\n% Otherwise, an msphere will be used. If n is empty, or undefined, a 12 vertex\n% icosahedron will be returned.\n%\n% The input parameter 'method' defines which function to use when an refined\n% icosahedron, octahedron or tetrahedron is not possible, and can be 'msphere'\n% (default), or 'ksphere'.\n%\n% See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_ICOSAHEDRON\n\n% Copyright (C) 2002, Robert Oostenveld\n% Copyright (C) 2019, Robert Oostenveld and Jan-Mathijs Schoffelen\n%\n% This file is part of FieldTrip, see http://www.fieldtriptoolbox.org\n% for the documentation and details.\n%\n% FieldTrip is free software: you can redistribute it and/or modify\n% it under the terms of the GNU General Public License as published by\n% the Free Software" +"\n\n\n\n \n System.err\n \n \n \n %.-1level%date{MMdd HH:mm:ss.SSS} [%thread, %logger{0}] %message %xThrowable%n\n \n \n \n\n \n \n\n \n \n \n" +"@managing_products\nFeature: Changing associations of an existing product\n In order to change associations of my product\n As an Administrator\n I want to be able to change associations of an existing product\n\n Background:\n Given the store has a product association type \"Accessories\"\n And the store has \"LG G3\", \"LG headphones\" and \"LG earphones\" products\n And I am logged in as an administrator\n\n @ui @javascript\n Scenario: Changing associated products of a product association\n Given the product \"LG G3\" has an association \"Accessories\" with product \"LG headphones\"\n When I want to modify the \"LG G3\" product\n And I associate as \"Accessories\" the \"LG earphones\" product\n And I save my changes\n Then I should be notified that it has been successfully edited\n And this product should have an association \"Accessories\" with products \"LG headphones\" and \"LG earphones\"\n\n @ui @javascript\n Scenario: Removing an associated product of a product association\n Given the product \"LG G3\" has an association \"Accessories\" with products \"LG headphones\" and \"LG earphones\"\n When I want to modify the \"LG G3\" product\n And I remove an associated product \"LG earphones\" from \"Accessories\"\n And I save my changes\n Then I should be notified that it has been successfully edited\n And this product should have" +"import store from './store'\n\n//app.js\nApp({\n onLaunch: function () {\n // \u5c55\u793a\u672c\u5730\u5b58\u50a8\u80fd\u529b\n var logs = wx.getStorageSync('logs') || []\n logs.unshift(Date.now())\n wx.setStorageSync('logs', logs)\n\n // \u767b\u5f55\n wx.login({\n success: res => {\n // \u53d1\u9001 res.code \u5230\u540e\u53f0\u6362\u53d6 openId, sessionKey, unionId\n }\n })\n\n setTimeout(function(){\n store.data.motto = '\u6210\u529f\u5728 app.js \u8fdb\u884c\u66f4\u65b0'\n //\u8fd9\u91cc\u53ea\u80fd\u7528 store.update \u800c\u4e0d\u662f this.update\n store.update()\n },10000)\n\n // \u83b7\u53d6\u7528\u6237\u4fe1\u606f\n wx.getSetting({\n success: res => {\n if (res.authSetting['scope.userInfo']) {\n // \u5df2\u7ecf\u6388\u6743\uff0c\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528 getUserInfo \u83b7\u53d6\u5934\u50cf\u6635\u79f0\uff0c\u4e0d\u4f1a\u5f39\u6846\n wx.getUserInfo({\n success: res => {\n // \u53ef\u4ee5\u5c06 res \u53d1\u9001\u7ed9\u540e\u53f0\u89e3\u7801\u51fa unionId\n this.globalData.userInfo = res.userInfo\n\n // \u7531\u4e8e getUserInfo \u662f\u7f51\u7edc\u8bf7\u6c42\uff0c\u53ef\u80fd\u4f1a\u5728 Page.onLoad \u4e4b\u540e\u624d\u8fd4\u56de\n // \u6240\u4ee5\u6b64\u5904\u52a0\u5165 callback \u4ee5\u9632\u6b62\u8fd9\u79cd\u60c5\u51b5\n if (this.userInfoReadyCallback) {\n this.userInfoReadyCallback(res)\n }\n }\n })\n }\n }\n })\n },\n globalData: {\n userInfo: null\n }\n})" +"Changes in Traitlets\n====================\n\nTraitlets 5.0\n-------------\n\n5.0.4\n*****\n\n- Support deprecated use of byte-literals for bytes on the command-line: ``ipython kernel --Session.key=\"b'abc'\"``. The `b` prefix is no longer needed in traitlets 5.0, but is supported for backward-compatibility\n- Improve output of configuration errors, especially when help output would make it hard to find the helpful error message\n\n5.0.3\n*****\n\n- Fix regression in handling `--opt=None` on the CLI for configurable traits\n with `allow_none=True`\n\n5.0.2\n*****\n\n- Fix casting bytes to unicode\n\n5.0.0\n*****\n\n\n(This is an in-progress changelog, please let us know if something is missing/or could be phrased better)\n\nTraitlets 5.0 is a new version of traitlets that accumulate changes over a period of more close to four years; A number of\ninternal refactoring made the internal code structure cleaner and simpler, and greatly improved the diagnostic error\nmessages as well has help and documentation generation.\n\nWe expect no code change needed for any consumer of the Python API (ipywidgets, and alike),\nthough CLI argument parsing have seen a complete rewrite,\nso if you have an application that does use the parsing logic of traitlets you may see changes in behavior,\nand now have access to more features." +"===========================\nWagtail 2.0.1 release notes\n===========================\n\n.. contents::\n :local:\n :depth: 1\n\n\nWhat's new\n==========\n\n * Added error notification when running the ``wagtail`` command on Python <3.4 (Matt Westcott)\n * Added error handling to the Draftail editor (Thibaud Colas)\n\nBug fixes\n~~~~~~~~~\n\n * Draftail now supports features specified via the ``WAGTAILADMIN_RICH_TEXT_EDITORS`` setting (Todd Dembrey)\n * Password reset form no longer indicates whether the email is recognised, as per standard Django behaviour (Bertrand Bordage)\n * ``UserAttributeSimilarityValidator`` is now correctly enforced on user creation / editing forms (Tim Heap)\n * Editing setting object with no site configured no longer crashes (Harm Zeinstra)\n * Creating a new object with inlines while mandatory fields are empty no longer crashes (Bertrand Bordage)" +"/**\n * Class CommandInvoker. Takes all CLI operations and calls certain CLI operation depends of variables.\n */\nclass CommandInvoker {\n /**\n * Sets CLI operations (functions).\n * @constructor\n *\n * @param addModule - The function for creating a new module.\n * @param deleteModule - The function for deleting existing module.\n * @param chooseStack - The function for choosing stack of technologies.\n * @param deleteStack - The function for delete stack of technologies.\n */\n constructor(addModule, deleteModule, chooseStack, deleteStack) {\n this.addModule = addModule;\n this.deleteModule = deleteModule;\n this.chooseStack = chooseStack;\n this.deleteStack = deleteStack;\n }\n\n /**\n * Calls CLI operation with correct location.\n *\n * @param func - The func to call.\n * @param location - The location for a new module [client|server|both].\n * @param args - The function for deleting existing module.\n */\n static runCommand(func, { location, ...args }) {\n const runFunc = packageName => func({ ...args, packageName });\n\n if (location === 'both') {\n runFunc('client');\n runFunc('server');\n } else {\n runFunc(location);\n }\n }\n\n /**\n * Runs operation (function) for creating a new module.\n */\n runAddModule(args, options, logger) {\n runOperation(this.addModule, args, options, logger);\n }\n\n /**\n * Runs operation (function) for deleting existing module.\n */\n runDeleteModule(args, options, logger) {\n runOperation(this.deleteModule, args, options, logger);\n }\n\n /**\n *" +"# Building forms with FormState\n\n## Basic\n\nWhen using ``, you express your form's component tree as a function of the generated field state objects provided by `` into its `children` function as `formDetails`.\n\n```typescript\ninterface FormDetails {\n fields: FieldDescriptors;\n dirty: boolean;\n valid: boolean;\n submitting: boolean;\n errors: RemoteError[];\n reset(): void;\n submit(): void;\n}\n```\n\nThe `formDetails` object passed into `children` contains a `fields` dictionary, which includes all the state and handlers you need to render your form.\n\n```typescript\ninterface FieldState {\n name: string;\n initialValue: Value;\n value: Value;\n dirty: boolean;\n error?: any;\n onBlur(): void;\n}\n```\n\nThe simplest way to use `` is to pass it some `initialValues` and render some `input`s in its `children` render prop.\n\n```typescript\nimport FormState from '@shopify/react-form-state';\n\nfunction MyComponent() {\n return (\n \n {formDetails => {\n const {fields} = formDetails;\n const {title, description} = fields;\n\n return (\n
    \n \n {\n // our onChange expects just a value, no event needed\n title.onChange(currentTarget.value);\n }}\n />\n\n \n {\n description.onChange(currentTarget.value);\n }}\n />\n \n );\n }}\n
    \n );\n}\n```\n\n## Reducing boilerplate with custom inputs\n\nThe previous" +"\n\n \n \n Advanced HTML text: Task 1\n \n \n\n \n \n\n \n
    \n\n

    Advanced HTML Animals

    \n\n Llama\n Tall, wooly quadraped, pointy ears. Sometimes rideable, but grumpy and spits a lot. Big fan of list items.\n Anaconda\n A very large constrictor snake; travels rapidly by way of anchors to sneak up on his prey.\n Hiphopapotamus\n His description is bottomless.\n\n
    \n\n \n\n \n\n
    \n \n
    \n \n \n" +"#\n# Copyright (C) 2019 - present Instructure, Inc.\n#\n# This file is part of Canvas.\n#\n# Canvas is free software: you can redistribute it and/or modify it under\n# the terms of the GNU Affero General Public License as published by the Free\n# Software Foundation, version 3 of the License.\n#\n# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY\n# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR\n# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more\n# details.\n#\n# You should have received a copy of the GNU Affero General Public License along\n# with this program. If not, see .\n#\n\nmodule Messages::SubmissionCommentForTeacher\n class SummaryPresenter < Presenter\n include TextHelper\n\n def subject\n if anonymous?\n I18n.t(\n \"Anonymous Submission Comment: Student (%{user_id}), %{assignment_title}, %{course_name}\",\n assignment_title: assignment.title,\n course_name: course.name,\n user_id: submission.anonymous_id\n )\n else\n I18n.t(\n \"Submission Comment: %{user_name}, %{assignment_title}, %{course_name}\",\n assignment_title: assignment.title,\n course_name: course.name,\n user_name: submission.user.short_name\n )\n end\n end\n\n def body\n if anonymous?\n if anonymous_author_id.present?\n I18n.t(\n \"Student (%{author_id}) just made a new comment on the anonymous submission for Student (%{user_id}) for %{assignment_title}\",\n assignment_title: assignment.title,\n author_id: anonymous_author_id,\n user_id: submission.anonymous_id\n )\n else\n I18n.t(\n \"Someone just made" +"#!/usr/bin/env bash\n\n#!/bin/bash\n\nnchains=20 # number of chains to create\nnentries=0 # number of entries to add to each chain\n\nfa1=$(factom-cli importaddress Fs3E9gV6DXsYzf7Fqx1fVBQPQXV695eP3k5XbmHEZVRLkMdD9qCK)\n\nec1=$(factom-cli importaddress Es3LB2YW9bpdWmMnNQYb31kyPzqnecsNqmg5W4K7FKp4UP6omRTa)\n\necho \"Buying\" 1000 $fa1 $ec1\nfactom-cli buyec $fa1 $ec1 100\nsleep 5s\n\naddentries() {\n # create a random datafile\n\tdatalen=$(shuf -i 100-9900 -n 1)\n\tdatafile=$(mktemp)\n\tbase64 /dev/urandom | head -c $datalen > $datafile\n\n\techo \"Entry Length \" $datalen \" bytes, file name: \" $datafile\n\n\tlet y=$(shuf -i 30-120 -n 1)\n\techo \"sleep\" $y \" seconds before writing entries\"\n\tsleep $y\n\tfor ((i=0; i; // regions of file that have already been loaded.\n numNetworkRequests: number; // track this for debugging/testing\n\n constructor(url: string) {\n super();\n this.url = url;\n this.fileLength = -1; // unknown\n this.chunks = [];\n this.numNetworkRequests = 0;\n }\n\n getBytes(start: number, length: number): Q.Promise {\n if (length < 0) {\n return Q.reject(`Requested <0 bytes (${length}) from ${this.url}`);\n }\n\n // If the remote file length is known, clamp the request to fit within it.\n var stop = start + length - 1;\n if (this.fileLength != -1) {\n stop = Math.min(this.fileLength - 1, stop);\n }\n\n // First check the cache.\n var buf = this.getFromCache(start, stop);\n if (buf) {\n return Q.when(buf);\n }\n\n // TODO: handle partial overlap of request w/ cache.\n\n // Need to fetch from the network.\n return this.getFromNetwork(start, stop);\n }\n\n // Read the entire file -- not recommended for large files!\n getAll():" +"/**\n * Copyright 2015, GeoSolutions Sas.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar Layers = require('../../../../utils/cesium/Layers');\nvar Cesium = require('../../../../libs/cesium');\n\nconst {isEqual} = require('lodash');\nconst assign = require('object-assign');\n\nLayers.registerType('marker', {\n create: (options, map) => {\n const style = assign({}, {\n point: {\n pixelSize: 5,\n color: Cesium.Color.RED,\n outlineColor: Cesium.Color.WHITE,\n outlineWidth: 2\n }\n }, options.style);\n\n const point = map.entities.add(assign({\n position: Cesium.Cartesian3.fromDegrees(options.point.lng, options.point.lat)\n }, style));\n return {\n detached: true,\n point: point,\n remove: () => {\n map.entities.remove(point);\n }\n };\n },\n update: function(layer, newOptions, oldOptions, map) {\n if (!isEqual(newOptions.point, oldOptions.point)) {\n layer.remove();\n return this.create(newOptions, map);\n }\n return null;\n }\n});" +"# -*- coding: utf-8 -*-\n\n\"\"\"\nModule for API-related calls.\n\"\"\"\n\ntry:\n from urllib import parse as urlparse\nexcept ImportError:\n import urlparse\n\n\ndef hostname_tld_migration(hostname):\n \"\"\"\n Migrate transifex.net to transifex.com.\n\n :param hostname: The hostname to migrate (if needed).\n :returns: A hostname with the transifex.com domain (if needed).\n \"\"\"\n parts = urlparse.urlparse(hostname)\n if parts.hostname.endswith('transifex.net'):\n hostname = hostname.replace('transifex.net', 'transifex.com', 1)\n return hostname\n\n\ndef hostname_ssl_migration(hostname):\n \"\"\"\n Migrate Transifex hostnames to use HTTPS.\n\n :param hostname: The hostname to migrate (if needed).\n :returns: A https hostname (if needed).\n \"\"\"\n parts = urlparse.urlparse(hostname)\n is_transifex = (\n parts.hostname[-14:-3] == '.transifex.' or\n parts.hostname == 'transifex.net' or\n parts.hostname == 'transifex.com'\n )\n is_https = parts.scheme == 'https'\n if is_transifex and not is_https:\n if not parts.scheme:\n hostname = 'https:' + hostname\n else:\n hostname = hostname.replace(parts.scheme, 'https', 1)\n return hostname\n\n\ndef visit_hostname(hostname):\n \"\"\"\n Have a chance to visit a hostname before actually using it.\n\n :param hostname: The original hostname.\n :returns: The hostname with the necessary changes.\n \"\"\"\n for processor in [hostname_ssl_migration, hostname_tld_migration, ]:\n hostname = processor(hostname)\n return hostname" +"\ufeff\"Filed out from Dolphin Smalltalk 7\"!\r\n\r\nShell subclass: #TranscriptShell\r\n\tinstanceVariableNames: 'outputWindow buffer bufferProtect'\r\n\tclassVariableNames: ''\r\n\tpoolDictionaries: ''\r\n\tclassInstanceVariableNames: 'DefaultExtent FlashOnOutput'!\r\nTranscriptShell guid: (GUID fromString: '{87b4c6c5-026e-11d3-9fd7-00a0cc3e4a32}')!\r\nTranscriptShell comment: 'TranscriptShell is a that implements the Transcript notification logging window.\r\n\r\nNote that although TranscriptShell is a development tool, it is not dependent on the Development System package to operate. Among the Dolphin development tools it is unusual in that its model is not SmalltalkSystem, which means that it has to reproduce some of the functionality normally implemented there.\r\n\r\nInstance Variables:\r\n\tworkspacePresenter\t\t displaying the contents of the Transcript.\r\n\tbuffer\t\t\t for accepting logging information.\r\n\tbufferProtect\t\t protecting the buffer.\r\n\r\n'!\r\n!TranscriptShell categoriesForClass!MVP-Presenters!MVP-Resources-IDE Tools! !\r\n!TranscriptShell methodsFor!\r\n\r\n<< anObject\r\n\t\"Store the argument, or the elements of the argument if it is a , as the next element or elements of the receiver.\"\r\n\r\n\tanObject appendToStream: self.\r\n\t^self!\r\n\r\naddToCommandRoute: route\r\n\t\"Update the , path, with the receiver's contribution to the command path\r\n\theld by the , route. Answer self to have the command policy decide where\r\n\tto go next.\r\n\tImplementation Note: We want to include the development system if it is present.\"\r\n\r\n\troute \r\n\t\tappendPresenter: self;\r\n\t\tappendTarget: Smalltalk developmentSystem!\r\n\r\nalertUser\r\n\t\"Private - Attempt to catch the" +"// Copyright 2017 The Periph Authors. All rights reserved.\n// Use of this source code is governed under the Apache License, Version 2.0\n// that can be found in the LICENSE file.\n\npackage bcm283xsmoketest\n\nimport (\n\t\"errors\"\n\t\"flag\"\n\t\"fmt\"\n\n\t\"periph.io/x/periph/conn/gpio\"\n\t\"periph.io/x/periph/conn/gpio/gpioreg\"\n\t\"periph.io/x/periph/host/bcm283x\"\n)\n\n// Benchmark is imported by periph-smoketest.\ntype Benchmark struct {\n\tshort bool\n\tp *bcm283x.Pin\n\tpull gpio.Pull\n}\n\n// Name implements the SmokeTest interface.\nfunc (s *Benchmark) Name() string {\n\treturn \"bcm283x-benchmark\"\n}\n\n// Description implements the SmokeTest interface.\nfunc (s *Benchmark) Description() string {\n\treturn \"Benchmarks bcm283x functionality\"\n}\n\n// Run implements the SmokeTest interface.\nfunc (s *Benchmark) Run(f *flag.FlagSet, args []string) error {\n\tname := f.String(\"p\", \"\", \"Pin to use\")\n\tf.BoolVar(&s.short, \"short\", false, \"Skip many partially redundant benchmarks\")\n\tif err := f.Parse(args); err != nil {\n\t\treturn err\n\t}\n\n\tif f.NArg() != 0 {\n\t\tf.Usage()\n\t\treturn errors.New(\"unsupported flags\")\n\t}\n\tif !bcm283x.Present() {\n\t\tf.Usage()\n\t\treturn errors.New(\"this smoke test can only be run on a bcm283x based host\")\n\t}\n\tif *name == \"\" {\n\t\tf.Usage()\n\t\treturn errors.New(\"-p is required\")\n\t}\n\tp := gpioreg.ByName(*name)\n\tif p == nil {\n\t\treturn fmt.Errorf(\"invalid pin %q\", *name)\n\t}\n\tif r, ok := p.(gpio.RealPin); ok {\n\t\tp = r.Real()\n\t}\n\tvar ok bool" +" Auth::user()->id,\n 'time' => Carbon::now(),\n ]\n );\n parent::__construct($error . ' ' . $message, $code);\n }\n}" +"[System.Collections.ArrayList]$queue = @()\n# isEmpty?\nif ($queue.Count -eq 0) {\n \"isEmpty? result : the queue is empty\"\n} else {\n \"isEmpty? result : the queue is not empty\"\n}\n\"the queue contains : $queue\"\n$queue += 1 # push\n\"push result : $queue\"\n$queue += 2 # push\n$queue += 3 # push\n\"push result : $queue\"\n\n$queue.RemoveAt(0) # pop\n\"pop result : $queue\"\n\n$queue.RemoveAt(0) # pop\n\"pop result : $queue\"\n\nif ($queue.Count -eq 0) {\n \"isEmpty? result : the queue is empty\"\n} else {\n \"isEmpty? result : the queue is not empty\"\n}\n\"the queue contains : $queue\"" +"\n\n\n# Local Repository's Event Mapper Connector\n\nThe Event Mapper connector provides a common API for\nspecific implementations of OMRS Event Mappers to implement.\n\nEvent mappers are needed in [repository proxy](../../../../admin-services/docs/concepts/repository-proxy.md)\nservers if the third party technology that it is\nintegrating into the open metadata repository cohort\nalso has its own mechanisms for maintaining metadata.\n\nThe event mapper's role is to notify the cohort of any changes to\nthe metadata mastered in the third party repository\nthat has occurred through the third party technology's own mechanisms.\n\nSince each event mapper is tied to a third party\ntechnology, core Egeria does not supply any implementations of\nthis connector. There are, however, the following\nimplementations available:\n\n* **[Event Mapper for Apache Atlas](https://github.com/odpi/egeria-connector-hadoop-ecosystem)**\n* **[Event Mapper for IBM Information Governance Catalog](https://github.com/odpi/egeria-connector-ibm-information-server)**\n\n\n----\nReturn to [repository services connectors](.).\n\n\n----\nLicense: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),\nCopyright Contributors to the ODPi Egeria project." +"function syscall(stub, n) {\n switch (n) {\n default:\n console.error(\"NYI syscall\", arguments);\n throw new Error(\"NYI syscall\");\n break;\n \n \n case /*brk*/ 45:\n return 0;\n case /*mmap2*/ 192:\n var instance = stub.instance;\n var memory = instance.exports.memory;\n var requested = arguments[3];\n if (!stub.memory) {\n stub.memory = {\n object: memory,\n currentPosition: memory.buffer.byteLength,\n };\n }\n var cur = stub.memory.currentPosition;\n if (cur + requested > memory.buffer.byteLength) {\n var need = Math.ceil((cur + requested - memory.buffer.byteLength) / 65536);\n memory.grow(need);\n }\n stub.memory.currentPosition += requested;\n return cur;\n }\n}\n\nfunction createWasmceptionStub() {\n var imports = {\n env: {\n __syscall0: (n) => syscall(stub, n),\n __syscall1: (n,a) => syscall(stub, n, a),\n __syscall2: (n,a,b) => syscall(stub, n, a, b),\n __syscall3: (n,a,b,c) => syscall(stub, n, a, b, c),\n __syscall4: (n,a,b,c,d) => syscall(stub, n, a, b, c, d),\n __syscall5: (n,a,b,c,d,e) => syscall(stub, n, a, b, c, d, e),\n __syscall6: (n,a,b,c,d,e,f) => syscall(stub, n, a, b, c, d, e, f),\n },\n };\n var stub = {\n imports,\n instance: null,\n memory: null,\n };\n return stub;\n}" +"---\ntitle: 'Day 421: 100% safe.'\ndate: 2018-03-16 15:43:00 -07:00\nfile: \"/uploads/Day-421.mp3\"\npost: Day 421\nduration: '00:03:46'\nlength: 4567303\n---\n\n**Friday, March 16, 2018**\n\n**Subscribe:** [Get the Daily Update in your inbox for free.](https://whatthefuckjusthappenedtoday.com/subscribe/)\n\n1/ Trump plans to remove national security adviser H.R. McMaster and is currently considering potential replacements.\n\n2/ Trump is on track to hire multiple cable news personalities to fill out his cabinet.\n\n3/ John Kelly, whose departure has been rumored to be imminent, has settled on a temporary truce with Trump.\n\n4/ Stormy Daniels was threatened with \"physical harm\" in response to her claims that she had an affair with Trump in 2006.\n\n**NOTABLES.**\n\n* Ivanka Trump will meet with South Korean Foreign Minister Kang Kyung-wha.\n\n* Vanessa Trump filed for divorce from Trump Jr.\n\n* All seven U.S. troops aboard a military helicopter that crashed in western Iraq on Thursday are dead.\n\n* Rep. Louise Slaughter died Friday at age 88, while serving her 16th term in the House of Representatives.\n\n* The 5th Circuit Court of Appeals tossed out a rule that required financial advisers to act in the best interest of their clients.\n\n* A resolution denouncing white nationalists and neo-Nazis died in" +"[Module Metadata]\nAUTHOR=Sarah Edwards/mac4n6.com/@iamevltwin\nMODULE_NOTES=Health Indoor Time of Day\n\n[Database Metadata]\nDATABASE=healthdb_secure.sqlite\nPLATFORM=IOS\nVERSIONS=10,11,12,13\n\n[Query Metadata]\nQUERY_NAME=health_workout_timeofday\nACTIVITY=Health Workout Time of Day\nKEY_TIMESTAMP=START DATE\n\n[SQL Query 11,12,13]\nQUERY=\n\tSELECT\n\t DATETIME(SAMPLES.START_DATE + 978307200, 'UNIXEPOCH') AS \"START DATE\",\n\t DATETIME(SAMPLES.END_DATE + 978307200, 'UNIXEPOCH') AS \"END DATE\",\n\t\tCASE METADATA_VALUES.NUMERICAL_VALUE \n\t\t\tWHEN 0.0 THEN \"NIGHT\" \n\t WHEN 1.0 THEN \"DAY\" \n\t\tEND \"TIME OF DAY\",\n\t CASE WORKOUTS.ACTIVITY_TYPE \n\t WHEN 63 THEN \"HIGH INTENSITY INTERVAL TRAINING (HIIT)\" \n\t WHEN 37 THEN \"INDOOR / OUTDOOR RUN\" \n\t WHEN 3000 THEN \"OTHER\" \n\t WHEN 52 THEN \"INDOOR / OUTDOOR WALK\" \n\t WHEN 20 THEN \"FUNCTIONAL TRAINING\" \n\t WHEN 13 THEN \"INDOOR CYCLE\" \n\t WHEN 16 THEN \"ELLIPTICAL\" \n\t WHEN 35 THEN \"ROWER\" \n\t\t\tELSE \"UNKNOWN\" || \"-\" || WORKOUTS.ACTIVITY_TYPE \n\t END \"WORKOUT TYPE\", \n\t\tWORKOUTS.DURATION / 60.00 AS \"DURATION (IN MINUTES)\", \n\t\tWORKOUTS.TOTAL_ENERGY_BURNED AS \"CALORIES BURNED\", \n\t\tWORKOUTS.TOTAL_DISTANCE AS \"DISTANCE IN KILOMETERS\",\n\t\tWORKOUTS.TOTAL_DISTANCE*0.621371 AS \"DISTANCE IN MILES\", \n\t\tWORKOUTS.TOTAL_BASAL_ENERGY_BURNED AS \"TOTAL BASEL ENERGY BURNED\", \n\t\t CASE WORKOUTS.GOAL_TYPE \n\t\t WHEN 2 THEN \"MINUTES\" \n\t\t WHEN 0 THEN \"OPEN\" \n\t\t END \"GOAL TYPE\",\n\t\tWORKOUTS.GOAL AS \"GOAL\", \n\t\tWORKOUTS.TOTAL_FLIGHTS_CLIMBED AS \"FLIGHTS CLIMBED\", \n\t\tWORKOUTS.TOTAL_W_STEPS AS \"STEPS\" \n\tFROM\n\t SAMPLES \n\t LEFT OUTER JOIN\n\t METADATA_VALUES \n\t ON METADATA_VALUES.OBJECT_ID = SAMPLES.DATA_ID \n\t LEFT OUTER JOIN\n\t METADATA_KEYS \n\t ON METADATA_KEYS.ROWID = METADATA_VALUES.KEY_ID \n\t LEFT OUTER JOIN\n\t WORKOUTS \n\t ON WORKOUTS.DATA_ID = SAMPLES.DATA_ID \n\tWHERE\n\t WORKOUTS.ACTIVITY_TYPE NOT NULL AND KEY IS \"_HKPrivateWorkoutWasInDaytime\"\n\n[SQL Query 10]\nQUERY=" +"#------------------------\n# Configuration file for hva.\n#------------------------\n\n# directory to store VM local data.\nconfig.vm_data_dir = '/home/wakame/wakame-vdc/tmp/instances'\n\n# Decides what kind of edge networking will be used. If omitted, the default 'netfilter' option will be used\nconfig.edge_networking = 'openflow'\n\n# netfilter and openflow\nconfig.enable_subnet = false\nconfig.enable_gre = true\n\n# display netfitler commands\nconfig.verbose_openflow = false\n\n# Directory used by Open vSwitch daemon for run files\nconfig.ovs_run_dir = '/home/wakame/wakame-vdc/ovs/var/run/openvswitch'\n\n# Path for ovs-ofctl\nconfig.ovs_ofctl_path = '/home/wakame/wakame-vdc/ovs/bin/ovs-ofctl'\n\n# Trema base directory\nconfig.trema_dir = '/home/wakame/wakame-vdc/trema'\nconfig.trema_tmp = '/home/wakame/wakame-vdc/tmp/trema'\n\ndc_network('public') {\n bridge_type 'ovs'\n interface 'eth0'\n bridge 'br0'\n}\n\ndc_network('null1') {\n bridge_type 'ovs'\n interface 'eth0'\n bridge 'br0'\n}\n\ndc_network('null2') {\n bridge_type 'ovs'\n interface 'eth0'\n bridge 'br0'\n}\n\ndc_network('management') {\n bridge_type 'ovs'\n interface 'eth0'\n bridge 'br0'\n}" +"{\n \"cells\": [\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"# FloPy\\n\",\n \"\\n\",\n \"### SWI2 Example 4. Upconing Below a Pumping Well in a Two-Aquifer Island System\\n\",\n \"\\n\",\n \"This example problem is the fourth example problem in the SWI2 documentation (http://pubs.usgs.gov/tm/6a46/) and simulates transient movement of the freshwater-seawater interface beneath an island in response to recharge and groundwater withdrawals. The island is 2,050$\\\\times$2,050 m and consists of two 20-m thick aquifers that extend below sea level. The aquifers are confined, storage changes are not considered (all MODFLOW stress periods are steady-state), and the top and bottom of each aquifer is horizontal. The top of the upper aquifer and the bottom of the lower aquifer are impermeable.\\n\",\n \"\\n\",\n \"The domain is discretized into 61 columns, 61 rows, and 2 layers, with respective cell dimensions of 50 m (`DELR`), 50 m (`DELC`), and 20 m. A total of 230 years is simulated using three stress periods with lengths of 200, 12, and 18 years, with constant time steps of 0.2, 0.1, and 0.1 years, respectively. \\n\",\n \"\\n\",\n \"The horizontal and vertical hydraulic conductivity of both aquifers are 10 m/d and 0.2 m/d, respectively. The effective porosity is 0.2 for both aquifers. The" +"package net.oschina.app.bean;\r\n\r\nimport java.io.IOException;\r\nimport java.io.InputStream;\r\nimport java.io.Serializable;\r\nimport java.util.ArrayList;\r\nimport java.util.List;\r\n\r\nimport net.oschina.app.AppException;\r\nimport net.oschina.app.common.StringUtils;\r\n\r\nimport org.xmlpull.v1.XmlPullParser;\r\nimport org.xmlpull.v1.XmlPullParserException;\r\n\r\nimport android.util.Xml;\r\n\r\n/**\r\n * \u65b0\u95fb\u5b9e\u4f53\u7c7b\r\n * @author liux (http://my.oschina.net/liux)\r\n * @version 1.0\r\n * @created 2012-3-21\r\n */\r\npublic class News extends Entity{\r\n\t\r\n\tpublic final static String NODE_ID = \"id\";\r\n\tpublic final static String NODE_TITLE = \"title\";\r\n\tpublic final static String NODE_URL = \"url\";\r\n\tpublic final static String NODE_BODY = \"body\";\r\n\tpublic final static String NODE_AUTHORID = \"authorid\";\r\n\tpublic final static String NODE_AUTHOR = \"author\";\r\n\tpublic final static String NODE_PUBDATE = \"pubDate\";\r\n\tpublic final static String NODE_COMMENTCOUNT = \"commentCount\";\r\n\tpublic final static String NODE_FAVORITE = \"favorite\";\r\n\tpublic final static String NODE_START = \"news\";\r\n\t\r\n\tpublic final static String NODE_SOFTWARELINK = \"softwarelink\";\r\n\tpublic final static String NODE_SOFTWARENAME = \"softwarename\";\r\n\t\r\n\tpublic final static String NODE_NEWSTYPE = \"newstype\";\r\n\tpublic final static String NODE_TYPE = \"type\";\r\n\tpublic final static String NODE_ATTACHMENT = \"attachment\";\r\n\tpublic final static String NODE_AUTHORUID2 = \"authoruid2\";\r\n\t\r\n\tpublic final static int NEWSTYPE_NEWS = 0x00;//0 \u65b0\u95fb\r\n\tpublic final static int NEWSTYPE_SOFTWARE = 0x01;//1 \u8f6f\u4ef6\r\n\tpublic final static int NEWSTYPE_POST = 0x02;//2 \u5e16\u5b50\r\n\tpublic final static int NEWSTYPE_BLOG = 0x03;//3 \u535a\u5ba2\r\n\r\n\tprivate String title;\r\n\tprivate String url;\r\n\tprivate String body;\r\n\tprivate String author;\r\n\tprivate int authorId;" +"{-# LANGUAGE ScopedTypeVariables #-}\n{-# LANGUAGE OverloadedStrings #-}\nmodule Check.Checker where\n\nimport qualified Data.Aeson as A\nimport qualified Data.ByteString.Lazy.Char8 as BS\nimport Control.Exception\nimport Check.Solution\nimport System.Exit\n\noutput = BS.putStrLn . A.encode . A.object\nhandleOk = output [\"status\" A..= (\"ok\" :: String), \"result\" A..= (\"__check_0__\" :: String)]\nhandleSuccess res = output [\"status\" A..= (\"success\" :: String), \"result\" A..= res]\nhandleFailure res args = output [\"status\" A..= (\"failure\" :: String), \"result\" A..= res, \"arguments\" A..= args]\nhandleRuntimeError e = output [\"status\" A..= (\"error\" :: String), \"result\" A..= show e]\n\ntest :: IO ()\ntest = do\n let expected1 = 2\n let res1 = expected1 == solution 1 1\n\n (if res1\n then handleSuccess res1\n else handleFailure res1 (\"[1, 1]\" :: String))\n `catch` \\(e ::ErrorCall) -> handleRuntimeError e\n\n let expected2 = 8\n let res2 = expected2 == solution 5 3\n\n (if res2\n then handleSuccess res2\n else handleFailure res2 (\"[5, 3]\" :: String))\n `catch` \\(e ::ErrorCall) -> handleRuntimeError e\n\n let final_res = [res1, res2]\n\n (if and final_res\n then handleOk\n else output [])\n `catch` \\(e ::ErrorCall) -> handleRuntimeError e" +"Add definition of MSG_WAITFORONE and MSG_CMSG_CLOEXEC\n\nFrom yocto:\nhttp://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/uclibc/uclibc-0.9.33/define-MSG_CMSG_CLOEXEC.patch\n\nUpstream-Status: Pending\n\nIndex: git/libc/sysdeps/linux/common/bits/socket.h\n===================================================================\n--- git.orig/libc/sysdeps/linux/common/bits/socket.h\t2012-01-26 23:23:21.537456132 -0800\n+++ git/libc/sysdeps/linux/common/bits/socket.h\t2012-01-26 23:25:10.125461388 -0800\n@@ -235,8 +235,15 @@\n #define\tMSG_ERRQUEUE\tMSG_ERRQUEUE\n MSG_NOSIGNAL\t= 0x4000, /* Do not generate SIGPIPE. */\n #define\tMSG_NOSIGNAL\tMSG_NOSIGNAL\n- MSG_MORE\t\t= 0x8000 /* Sender will send more. */\n+ MSG_MORE\t\t= 0x8000, /* Sender will send more. */\n #define\tMSG_MORE\tMSG_MORE\n+ MSG_WAITFORONE = 0x10000, /* Wait for at least one packet to return.*/\n+#define MSG_WAITFORONE MSG_WAITFORONE\n+\n+ MSG_CMSG_CLOEXEC = 0x40000000 /* Set close_on_exit for file\n+ descriptor received through\n+ SCM_RIGHTS. */\n+#define MSG_CMSG_CLOEXEC MSG_CMSG_CLOEXEC\n };" +"#!/usr/bin/env ruby\n# vim: set nosta noet ts=4 sw=4:\n#\n# Script to automatically move partitioned tables and their indexes\n# to a separate area on disk.\n#\n# Mahlon E. Smith \n#\n# Example use case:\n#\n# - You've got a heavy insert table, such as syslog data.\n# - This table has a partitioning trigger (or is manually partitioned)\n# by date, to separate incoming stuff from archival/report stuff.\n# - You have a tablespace on cheap or slower disk (maybe even\n# ZFS compressed, or some such!)\n#\n# The only assumption this script makes is that your tables are dated, and\n# the tablespace they're moving into already exists.\n#\n# A full example, using the syslog idea from above, where each child\n# table is date partitioned by a convention of \"syslog_YEAR-WEEKOFYEAR\":\n#\n# syslog # <--- parent\n# syslog_2012_06 # <--- inherited\n# syslog_2012_07 # <--- inherited\n# syslog_2012_08 # <--- inherited\n# ...\n#\n# You'd run this script like so:\n#\n# ./warehouse_partitions.rb -F syslog_%Y_%U\n#\n# Assuming this was week 12 of the year, tables syslog_2012_06 through\n# syslog_2012_11 would start sequentially migrating into the tablespace\n# called 'warehouse'." +"Namespaces\n========================\n\nWhen generating with a target language of \"scala\" (the default), scrooge will\nfirst look for and use a \"scala\" namespace declaration. If no scala namespace\nis specified, scrooge will then fall back to any \"java\" namespace declaration,\nand lastly to the catch-all \"*\" namespace.\n\nApache's thrift generator, prior to version 0.9, will actually abort with a\nparse error if it encounters a \"scala\" namespace declaration (or for any\nlanguage but a few known languages that it supports). This means that adding a\n\"scala\" namespace declaration to your thrift file, while optimal for scrooge\nusers, will render your thrift file unparseable by many versions of apache's\nthrift generator.\n\nTo allow for backwards-compatibility with Apache's thrift generator, scrooge\nsupports a special comment-based namespace declaration that Apache's thrift\ngenerator will ignore. To use this syntax, use the line comment character '#',\nimmediately followed by '@'. Apache's thrift generator will treat the\nremaining text as a line comment, but scrooge will interprent any following\nnamespace declaration as if not commented-out. For example:\n\n::\n\n namespace java com.twitter.tweetservice.thriftjava\n #@namespace scala com.twitter.tweetservice.thriftscala" +"// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nusing Microsoft.Protocols.TestTools.StackSdk.Asn1;\n\nnamespace Microsoft.Protocols.TestTools.StackSdk.ActiveDirectory.Adts.Asn1CodecV2\n{\n /*\n SubstringFilter_substrings_element ::= CHOICE {\n initial [0] LDAPString,\n any [1] LDAPString,\n final [2] LDAPString }\n */\n public class SubstringFilter_substrings_element : Asn1Choice\n {\n [Asn1ChoiceIndex]\n public const long initial = 0;\n [Asn1ChoiceElement(initial), Asn1Tag(Asn1TagType.Context, 0)]\n protected LDAPString field0 { get; set; }\n \n [Asn1ChoiceIndex]\n public const long any = 1;\n [Asn1ChoiceElement(any), Asn1Tag(Asn1TagType.Context, 1)]\n protected LDAPString field1 { get; set; }\n \n [Asn1ChoiceIndex]\n public const long final = 2;\n [Asn1ChoiceElement(final), Asn1Tag(Asn1TagType.Context, 2)]\n protected LDAPString field2 { get; set; }\n \n public SubstringFilter_substrings_element()\n : base()\n {\n }\n \n public SubstringFilter_substrings_element(long? choiceIndex, Asn1Object obj)\n : base(choiceIndex, obj)\n {\n }\n }\n}" +"# Sharing GPU Resources\n\nOften times, teams are running big ML models on instances with GPU resources.\n\nGPU instances are expensive! You want to make sure that you're utilizing the GPUs you're paying for!\n\n## Without configuration\n\n[To deploy a pipeline that relies on GPU](gpus.md), you'll already have set the `gpu` resource requirement in the pipeline specification. But Pachyderm workers by default are long lived ... the worker is spun up and waits for new input. That works great for pipelines that are processing a lot of new incoming commits.\n\nFor ML workflows, especially during the development cycle, you probably will see lower volume of input commits. Which means that you could have your pipeline workers 'taking' the GPU resource as far as k8s is concerned, but 'idling' as far as you're concerned.\n\nLet's use an example.\n\nLet's say your cluster has a single GPU node with 2 GPUs. Let's say you have a pipeline running that requires 1 GPU. You've trained some models, and found the results were surprising. You suspect your feature extraction code, and are delving into debugging that stage of your pipeline. Meanwhile, the worker you've spun up for your GPU training job is sitting idle," +"// SPDX-License-Identifier: Apache-2.0\n\npackage firrtl.passes\npackage clocklist\n\nimport firrtl._\nimport firrtl.ir._\nimport wiring.Lineage\nimport Utils._\nimport memlib.AnalysisUtils._\n\nobject ClockListUtils {\n\n /** Returns a list of clock outputs from instances of external modules\n */\n def getSourceList(moduleMap: Map[String, DefModule])(lin: Lineage): Seq[String] = {\n val s = lin.foldLeft(Seq[String]()) {\n case (sL, (i, l)) =>\n val sLx = getSourceList(moduleMap)(l)\n val sLxx = sLx.map(i + \"$\" + _)\n sL ++ sLxx\n }\n val sourceList = moduleMap(lin.name) match {\n case ExtModule(i, n, ports, dn, p) =>\n val portExps = ports.flatMap { p => create_exps(WRef(p.name, p.tpe, PortKind, to_flow(p.direction))) }\n portExps.filter(e => (e.tpe == ClockType) && (flow(e) == SinkFlow)).map(_.serialize)\n case _ => Nil\n }\n val sx = sourceList ++ s\n sx\n }\n\n /** Returns a map from instance name to its clock origin.\n * Child instances are not included if they share the same clock as their parent\n */\n def getOrigins(\n connects: Connects,\n me: String,\n moduleMap: Map[String, DefModule]\n )(lin: Lineage\n ): Map[String, String] = {\n val sep = if (me == \"\") \"\" else \"$\"\n // Get origins from all children\n val childrenOrigins = lin.foldLeft(Map[String, String]()) {\n case (o, (i, l)) =>\n o ++ getOrigins(connects, me + sep + i, moduleMap)(l)\n }\n // If I have a clock," +"# -*- coding: utf-8 -*-\n# Copyright (C) 2012 Anaconda, Inc\n# SPDX-License-Identifier: BSD-3-Clause\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nimport logging\nimport sys\n\nfrom .common import check_non_admin, specs_from_args\nfrom .install import handle_txn\nfrom ..base.context import context\nfrom ..core.envs_manager import unregister_env\nfrom ..core.link import PrefixSetup, UnlinkLinkTransaction\nfrom ..core.prefix_data import PrefixData\nfrom ..core.solve import Solver\nfrom ..exceptions import CondaEnvironmentError, CondaValueError\nfrom ..gateways.disk.delete import rm_rf, path_is_clean\nfrom ..models.match_spec import MatchSpec\n\nlog = logging.getLogger(__name__)\n\n\ndef execute(args, parser):\n\n if not (args.all or args.package_names):\n raise CondaValueError('no package names supplied,\\n'\n ' try \"conda remove -h\" for more details')\n\n prefix = context.target_prefix\n check_non_admin()\n\n if args.all and prefix == context.default_prefix:\n msg = \"cannot remove current environment. deactivate and run conda remove again\"\n raise CondaEnvironmentError(msg)\n\n if args.all and path_is_clean(prefix):\n # full environment removal was requested, but environment doesn't exist anyway\n\n # .. but you know what? If you call `conda remove --all` you'd expect the dir\n # not to exist afterwards, would you not? If not (fine, I can see the argument\n # about deleting people's work in envs being a very bad thing indeed), but if\n # being careful is the goal it would still be nice if after `conda remove --all`\n # to be able to" +"# LogicTest: 5node\n\n# Ensure that cost-based-optimizer uses an index with zone constraints that most\n# closely matches the gateway's locality. Use \"retry\" option, since it can take\n# a bit of time for gossip to refresh the zone.\n\nstatement ok\nCREATE TABLE t (\n k INT PRIMARY KEY,\n v STRING,\n INDEX secondary (k) STORING (v),\n INDEX tertiary (k) STORING (v),\n FAMILY (k, v)\n);\n\n# ------------------------------------------------------------------------------\n# Put table in dc2 and secondary index in dc1 so that the gateway matches the\n# secondary index rather the primary index.\n# ------------------------------------------------------------------------------\n\nstatement ok\nALTER TABLE t CONFIGURE ZONE USING constraints='[+region=test,+dc=dc2]'\n\nstatement ok\nALTER INDEX t@secondary CONFIGURE ZONE USING constraints='[+region=test,+dc=dc1]'\n\nquery TTT retry\nEXPLAIN SELECT * FROM t WHERE k=10\n----\n\u00b7 distribution full\n\u00b7 vectorized true\nscan \u00b7 \u00b7\n\u00b7 missing stats \u00b7\n\u00b7 table t@secondary\n\u00b7 spans [/10 - /10]\n\nquery T retry\nEXPLAIN (OPT, CATALOG) SELECT * FROM t\n----\nTABLE t\n \u251c\u2500\u2500 k int not null\n \u251c\u2500\u2500 v string\n \u251c\u2500\u2500 crdb_internal_mvcc_timestamp decimal [hidden] [system]\n \u251c\u2500\u2500 tableoid oid [hidden] [system]\n \u251c\u2500\u2500 FAMILY fam_0_k_v (k, v)\n \u251c\u2500\u2500 INDEX primary\n \u2502 \u251c\u2500\u2500 k int not null\n \u2502 \u2514\u2500\u2500 ZONE\n \u2502 \u2514\u2500\u2500 constraints: [+region=test,+dc=dc2]\n \u251c\u2500\u2500 INDEX secondary\n \u2502 \u251c\u2500\u2500 k" +"#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n#\n# An example of a standalone application using the internal API of Gunicorn.\n#\n# $ python standalone_app.py\n#\n# This file is part of gunicorn released under the MIT license.\n# See the NOTICE for more information.\n\nfrom __future__ import unicode_literals\n\nimport multiprocessing\n\nimport gunicorn.app.base\n\nfrom gunicorn.six import iteritems\n\n\ndef number_of_workers():\n return (multiprocessing.cpu_count() * 2) + 1\n\n\ndef handler_app(environ, start_response):\n response_body = b'Works fine'\n status = '200 OK'\n\n response_headers = [\n ('Content-Type', 'text/plain'),\n ]\n\n start_response(status, response_headers)\n\n return [response_body]\n\n\nclass StandaloneApplication(gunicorn.app.base.BaseApplication):\n\n def __init__(self, app, options=None):\n self.options = options or {}\n self.application = app\n super(StandaloneApplication, self).__init__()\n\n def load_config(self):\n config = dict([(key, value) for key, value in iteritems(self.options)\n if key in self.cfg.settings and value is not None])\n for key, value in iteritems(config):\n self.cfg.set(key.lower(), value)\n\n def load(self):\n return self.application\n\n\nif __name__ == '__main__':\n options = {\n 'bind': '%s:%s' % ('127.0.0.1', '8080'),\n 'workers': number_of_workers(),\n }\n StandaloneApplication(handler_app, options).run()" +"package org.cache2k;\n\n/*\n * #%L\n * cache2k API\n * %%\n * Copyright (C) 2000 - 2020 headissue GmbH, Munich\n * %%\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * #L%\n */\n\n/**\n * Specialized version of {@link KeyValueStore} for long keys.\n *\n * @author Jens Wilke\n * @since 1.2\n * @deprecated will be removed in version 2.0\n */\npublic interface LongKeyValueStore extends\n AdvancedKeyValueSource, LongKeyValueSource {\n\n /**\n * Insert or update a value associated with the given key.\n *\n * @see Cache#put(Object, Object)\n * @param key key with which the specified value is associated\n * @param value value to be associated with the specified key\n * @since 1.2\n */\n void put(long key, V value);\n\n /**\n * Remove a" +"package org.wicketstuff.openlayers3.api.format;\n\nimport java.io.Serializable;\n\n/**\n * Provides an object that models a GeoJSON format for providing feature data.\n */\npublic class GeoJsonFormat extends FeatureFormat implements Serializable {\n\n /**\n * The default projection for this format.\n */\n private String defaultProjection;\n\n /**\n * The geometry name to use when creating features.\n */\n private String geometryName;\n\n /**\n * Creates a new instance.\n */\n public GeoJsonFormat() {\n this(null, null);\n }\n\n /**\n * Creates a new instance.\n *\n * @param defaultProjection\n * Default projection for this format\n * @param geometryName\n * The name to use when creating features\n */\n public GeoJsonFormat(final String defaultProjection, final String geometryName) {\n super();\n\n this.defaultProjection = defaultProjection;\n this.geometryName = geometryName;\n }\n\n /**\n * Returns the default projection.\n *\n * @return String with the projection\n */\n public String getDefaultProjection() {\n return defaultProjection;\n }\n\n /**\n * Sets the default projection.\n *\n * @param defaultProjection\n * New value\n */\n public void setDefaultProjection(String defaultProjection) {\n this.defaultProjection = defaultProjection;\n }\n\n /**\n * Sets the default projection.\n *\n * @param defaultProjection\n * New value\n * @return This instance\n */\n public GeoJsonFormat defaultProjection(String defaultProjection) {\n this.defaultProjection = defaultProjection;\n return this;\n }\n\n /**\n * Returns the geometry name.\n */\n public String getGeometryName() {\n return geometryName;\n }\n\n /**\n * Sets" +"//! A segment time achieved for a segment. It is tagged with an index. Only\n//! segment times with an index larger than 0 are considered times actually\n//! achieved by the runner, while the others are artifacts of route changes and\n//! similar algorithmic changes.\n\nuse super::output_time;\nuse livesplit_core::Time;\n\n/// type\npub type SegmentHistoryElement = (i32, Time);\n/// type\npub type NullableSegmentHistoryElement = SegmentHistoryElement;\n/// type\npub type OwnedSegmentHistoryElement = Box;\n\n/// Accesses the index of the segment history element.\n#[no_mangle]\npub extern \"C\" fn SegmentHistoryElement_index(this: &SegmentHistoryElement) -> i32 {\n this.0\n}\n\n/// Accesses the segment time of the segment history element.\n#[no_mangle]\npub extern \"C\" fn SegmentHistoryElement_time(this: &SegmentHistoryElement) -> *const Time {\n output_time(this.1)\n}" +"// Licensed to Elasticsearch B.V under one or more agreements.\n// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.\n// See the LICENSE file in the project root for more information\n\nusing System;\nusing System.Runtime.Serialization;\n\nnamespace Nest\n{\n\t/// \n\t/// Filters intervals produced by any rules by their relation to the intervals produced by another rule\n\t/// \n\t[ReadAs(typeof(IntervalsFilter))]\n\tpublic interface IIntervalsFilter\n\t{\n\t\t/// \n\t\t/// Produces intervals that appear after an interval from the filter role\n\t\t/// \n\t\t[DataMember(Name = \"after\")]\n\t\tIntervalsContainer After { get; set; }\n\n\t\t/// \n\t\t/// Produces intervals that appear before an interval from the filter role\n\t\t/// \n\t\t[DataMember(Name = \"before\")]\n\t\tIntervalsContainer Before { get; set; }\n\n\t\t/// \n\t\t/// Produces intervals that are contained by an interval from the filter rule\n\t\t/// \n\t\t[DataMember(Name = \"contained_by\")]\n\t\tIntervalsContainer ContainedBy { get; set; }\n\n\t\t/// \n\t\t/// Produces intervals that contain an interval from the filter rule\n\t\t/// \n\t\t[DataMember(Name = \"containing\")]\n\t\tIntervalsContainer Containing { get; set; }\n\n\t\t/// \n\t\t/// Produces intervals that are not contained by an interval from the filter rule\n\t\t/// \n\t\t[DataMember(Name = \"not_contained_by\")]\n\t\tIntervalsContainer NotContainedBy { get; set; }\n\n\t\t/// \n\t\t/// Produces intervals" +"{\n \"cells\": [\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"# Regression Week 3: Assessing Fit (polynomial regression)\"\n ]\n },\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"In this notebook you will compare different regression models in order to assess which model fits best. We will be using polynomial regression as a means to examine this topic. In particular you will:\\n\",\n \"* Write a function to take an SArray and a degree and return an SFrame where each column is the SArray to a polynomial value up to the total degree e.g. degree = 3 then column 1 is the SArray column 2 is the SArray squared and column 3 is the SArray cubed\\n\",\n \"* Use matplotlib to visualize polynomial regressions\\n\",\n \"* Use matplotlib to visualize the same polynomial degree on different subsets of the data\\n\",\n \"* Use a validation set to select a polynomial degree\\n\",\n \"* Assess the final fit using test data\\n\",\n \"\\n\",\n \"We will continue to use the House data from previous notebooks.\"\n ]\n },\n {\n \"cell_type\": \"markdown\",\n \"metadata\": {},\n \"source\": [\n \"# Fire up graphlab create\"\n ]\n },\n {\n \"cell_type\": \"code\",\n \"execution_count\": null,\n \"metadata\": {\n \"collapsed\": true\n },\n \"outputs\": [],\n \"source\": [\n \"import graphlab\"\n ]\n }," +"window.ParsleyConfig = window.ParsleyConfig || {};\n\n(function ($) {\n window.ParsleyConfig = $.extend( true, {}, window.ParsleyConfig, {\n messages: {\n // parsley //////////////////////////////////////\n\t\tdefaultMessage: \"Th\u00f4ng tin n\u00e0y kh\u00f4ng h\u1ee3p l\u1ec7.\"\n , type: {\n email: \"Email kh\u00f4ng h\u1ee3p l\u1ec7.\"\n , url: \"Url kh\u00f4ng h\u1ee3p l\u1ec7.\"\n , urlstrict: \"Y\u00eau c\u1ea7u nh\u1eadp \u0111\u1ecba ch\u1ec9 url.\"\n , number: \"Y\u00eau c\u1ea7u nh\u1eadp gi\u00e1 tr\u1ecb ki\u1ec3u s\u1ed1.\"\n , digits: \"Y\u00eau c\u1ea7u nh\u1eadp v\u00e0o c\u00e1c ch\u1eef s\u1ed1.\"\n , dateIso: \"Y\u00eau c\u1ea7u nh\u1eadp ng\u00e0y th\u00e1ng theo chu\u1ea9n sau (YYYY-MM-DD).\"\n , alphanum: \"Y\u00eau c\u1ea7u nh\u1eadp ch\u1eef c\u00e1i ho\u1eb7c ch\u1eef s\u1ed1.\"\n }\n , notnull: \"Th\u00f4ng tin n\u00e0y ch\u01b0a nh\u1eadp.\"\n , notblank: \"Th\u00f4ng tin n\u00e0y kh\u00f4ng \u0111\u01b0\u1ee3c \u0111\u1ec3 tr\u1ed1ng.\"\n , required: \"Th\u00f4ng tin n\u00e0y l\u00e0 b\u1eaft bu\u1ed9c.\"\n , regexp: \"Th\u00f4ng tin n\u00e0y kh\u00f4ng h\u1ee3p l\u1ec7.\"\n , min: \"Gi\u00e1 tr\u1ecb n\u00e0y ph\u1ea3i l\u1edbn h\u01a1n %s.\"\n , max: \"Gi\u00e1 tr\u1ecb n\u00e0y ph\u1ea3i nh\u1ecf h\u01a1n %s.\"\n , range: \"Gi\u00e1 tr\u1ecb n\u00e0y ph\u1ea3i n\u1eb1m trong kho\u1ea3ng t\u1eeb %s \u0111\u1ebfn %s.\"\n , minlength: \"Chu\u1ed7i nh\u1eadp v\u00e0o qu\u00e1 ng\u1eafn. Y\u00eau c\u1ea7u t\u1ed1i thi\u1ec3u %s k\u00fd t\u1ef1.\"\n , maxlength: \"Chu\u1ed7i nh\u1eadp v\u00e0o qu\u00e1 d\u00e0i. Y\u00eau c\u1ea7u t\u1ed1i \u0111a %s k\u00fd t\u1ef1.\"\n , rangelength: \"Chu\u1ed7i nh\u1eadp v\u00e0o kh\u00f4ng h\u1ee3p l\u1ec7. Y\u00eau c\u1ea7u \u0111\u1ed9 d\u00e0i trong kho\u1ea3ng t\u1eeb %s \u0111\u1ebfn %s k\u00fd t\u1ef1.\"" +"use core::pin::Pin;\nuse core::task::{Context, Poll};\nuse core::future::Future;\n\nuse crate::stream::Stream;\n\n#[doc(hidden)]\n#[allow(missing_debug_implementations)]\npub struct NthFuture<'a, S> {\n stream: &'a mut S,\n n: usize,\n}\n\nimpl Unpin for NthFuture<'_, S> {}\n\nimpl<'a, S> NthFuture<'a, S> {\n pub(crate) fn new(stream: &'a mut S, n: usize) -> Self {\n Self { stream, n }\n }\n}\n\nimpl<'a, S> Future for NthFuture<'a, S>\nwhere\n S: Stream + Unpin + Sized,\n{\n type Output = Option;\n\n fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll {\n let next = futures_core::ready!(Pin::new(&mut *self.stream).poll_next(cx));\n match next {\n Some(v) => match self.n {\n 0 => Poll::Ready(Some(v)),\n _ => {\n self.n -= 1;\n cx.waker().wake_by_ref();\n Poll::Pending\n }\n },\n None => Poll::Ready(None),\n }\n }\n}" +"# uraster\n\nMicro simple software rasterizer in a single C++11 header file. Does not use OpenGL. Pure C++11. \n\nMostly useful as a way of teaching how the rendering pipeline in hardware works.\n\n![Image from uraster](https://raw.githubusercontent.com/Steve132/uraster/master/example/screenshot.jpg)\n\nA day ago, I saw this post [Asking how to create a software renderer](http://www.reddit.com/r/GraphicsProgramming/comments/2whjam/creating_a_software_renderer/).\n\nI started writing my response, and it looked something like this:\n\n> One should not create a software rasterizer unless they are giant masochists. However, if you were to do it, and first you need to ....\n \nAfter a while I stopped. After writing my tutorial on how to make a C++ rasterizer in english, I realized it was nearly unreadable.\n\nNew idea: I'll just write the tutorial in pseudocode. Then, I looked at the pseudocode. It was unreadable because it wasn't *quite* a language\n\nNew idea: I'll write the skeleton of the header with comments explaining what to put in the code! I did this.\n\nSurely you can see where this is going. \n\nI ended up actually filling in the code, and implementing a simple rasterization pipeline all in one C++11 header standalone header file. The interface is similar to a dramatically simplified version of OpenGL2.0 with shader support, that"