text
stringlengths
2
99.1k
meta
dict
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Invoke a Comprehend Model from Amazon Aurora" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "conda_python3", "language": "python", "name": "conda_python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.6.5" } }, "nbformat": 4, "nbformat_minor": 4 }
{ "pile_set_name": "Github" }
## ## POP3 specific settings ## protocol pop3 { # Don't try to set mails non-recent or seen with POP3 sessions. This is # mostly intended to reduce disk I/O. With maildir it doesn't move files # from new/ to cur/, with mbox it doesn't write Status-header. #pop3_no_flag_updates = no # Support LAST command which exists in old POP3 specs, but has been removed # from new ones. Some clients still wish to use this though. Enabling this # makes RSET command clear all \Seen flags from messages. #pop3_enable_last = no # If mail has X-UIDL header, use it as the mail's UIDL. #pop3_reuse_xuidl = no # Keep the mailbox locked for the entire POP3 session. #pop3_lock_session = no # POP3 requires message sizes to be listed as if they had CR+LF linefeeds. # Many POP3 servers violate this by returning the sizes with LF linefeeds, # because it's faster to get. When this setting is enabled, Dovecot still # tries to do the right thing first, but if that requires opening the # message, it fallbacks to the easier (but incorrect) size. #pop3_fast_size_lookups = no # POP3 UIDL (unique mail identifier) format to use. You can use following # variables, along with the variable modifiers described in # doc/wiki/Variables.txt (e.g. %Uf for the filename in uppercase) # # %v - Mailbox's IMAP UIDVALIDITY # %u - Mail's IMAP UID # %m - MD5 sum of the mailbox headers in hex (mbox only) # %f - filename (maildir only) # %g - Mail's GUID # # If you want UIDL compatibility with other POP3 servers, use: # UW's ipop3d : %08Xv%08Xu # Courier : %f or %v-%u (both might be used simultaneosly) # Cyrus (<= 2.1.3) : %u # Cyrus (>= 2.1.4) : %v.%u # Dovecot v0.99.x : %v.%u # tpop3d : %Mf # # Note that Outlook 2003 seems to have problems with %v.%u format which was # Dovecot's default, so if you're building a new server it would be a good # idea to change this. %08Xu%08Xv should be pretty fail-safe. # #pop3_uidl_format = %08Xu%08Xv # Permanently save UIDLs sent to POP3 clients, so pop3_uidl_format changes # won't change those UIDLs. Currently this works only with Maildir. #pop3_save_uidl = no # What to do about duplicate UIDLs if they exist? # allow: Show duplicates to clients. # rename: Append a temporary -2, -3, etc. counter after the UIDL. #pop3_uidl_duplicates = allow # POP3 logout format string: # %i - total number of bytes read from client # %o - total number of bytes sent to client # %t - number of TOP commands # %p - number of bytes sent to client as a result of TOP command # %r - number of RETR commands # %b - number of bytes sent to client as a result of RETR command # %d - number of deleted messages # %m - number of messages (before deletion) # %s - mailbox size in bytes (before deletion) # %u - old/new UIDL hash. may help finding out if UIDLs changed unexpectedly #pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s # Maximum number of POP3 connections allowed for a user from each IP address. # NOTE: The username is compared case-sensitively. #mail_max_userip_connections = 10 # Space separated list of plugins to load (default is global mail_plugins). #mail_plugins = $mail_plugins # Workarounds for various client bugs: # outlook-no-nuls: # Outlook and Outlook Express hang if mails contain NUL characters. # This setting replaces them with 0x80 character. # oe-ns-eoh: # Outlook Express and Netscape Mail breaks if end of headers-line is # missing. This option simply sends it if it's missing. # The list is space-separated. #pop3_client_workarounds = }
{ "pile_set_name": "Github" }
// Distributed under the terms of the MIT license // Test case submitted to project by https://github.com/practicalswift (practicalswift) // Test case found by fuzzing struct B<T where g: a { struct Q<I : j { enum b { { { } } enum b { var _ = { { } typealias d }
{ "pile_set_name": "Github" }
const modern = require('../../src/modern'); const compress = require('compression'); module.exports = { name: 'compress', options: { __root: 'compress', compress: { default: {}, type: Object } }, // The whole plugin won't be loaded if the option is false before: ctx => modern(compress(ctx.options.compress))(ctx) };
{ "pile_set_name": "Github" }
require('../proof')(module, __dirname)
{ "pile_set_name": "Github" }
#!/bin/sh do_sysinfo_mvebu() { . /lib/mvebu.sh mvebu_board_detect } boot_hook_add preinit_main do_sysinfo_mvebu
{ "pile_set_name": "Github" }
pyzmq==16.0.2 ; python_version == '2.7' gevent<1.2.0 ; python_version == '2.7' zerorpc>=0.4.0,<0.5 ; python_version == '2.7' -r reqs-base.txt
{ "pile_set_name": "Github" }
if app_server? || util? include_recipe "clamav::install" end
{ "pile_set_name": "Github" }
[Unit] Description=Daily Log2Ram writing activities After=log2ram.service [Service] ExecStart=/bin/systemctl reload log2ram.service
{ "pile_set_name": "Github" }
require('../../../modules/es7.string.trim-left'); module.exports = require('../../../modules/_entry-virtual')('String').trimLeft;
{ "pile_set_name": "Github" }
function($mpt){ var anns = this.meta.$mod$ans$; if (typeof(anns) === 'function') { anns = anns(); this.meta.$mod$ans$=anns; } if (anns) for (var i=0; i < anns.length; i++) { if (is$(anns[i],$mpt.Annotation$annotated))return true; } return false; }
{ "pile_set_name": "Github" }
Git v1.7.1.3 Release Notes ========================== This is primarily to backport support for the new "add.ignoreErrors" name given to the existing "add.ignore-errors" configuration variable. The next version, Git 1.7.4, and future versions, will support both old and incorrect name and the new corrected name, but without this backport, users who want to use the new name "add.ignoreErrors" in their repositories cannot use older versions of Git.
{ "pile_set_name": "Github" }
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ module.exports = function(updatedModules, renewedModules) { var unacceptedModules = updatedModules.filter(function(moduleId) { return renewedModules && renewedModules.indexOf(moduleId) < 0; }); if(unacceptedModules.length > 0) { console.warn("[HMR] The following modules couldn't be hot updated: (They would need a full reload!)"); unacceptedModules.forEach(function(moduleId) { console.warn("[HMR] - " + moduleId); }); } if(!renewedModules || renewedModules.length === 0) { console.log("[HMR] Nothing hot updated."); } else { console.log("[HMR] Updated modules:"); renewedModules.forEach(function(moduleId) { console.log("[HMR] - " + moduleId); }); var numberIds = renewedModules.every(function(moduleId) { return typeof moduleId === "number"; }); if(numberIds) console.log("[HMR] Consider using the NamedModulesPlugin for module names."); } };
{ "pile_set_name": "Github" }
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-$(GradleVersion)-all.zip
{ "pile_set_name": "Github" }
// Exports the "noneditable" plugin for usage with module loaders // Usage: // CommonJS: // require('tinymce/plugins/noneditable') // ES2015: // import 'tinymce/plugins/noneditable' require('./plugin.js');
{ "pile_set_name": "Github" }
Use this README file to introduce your application and point to useful places in the API for learning more. Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.
{ "pile_set_name": "Github" }
#include <ap_int.h> /* Sample structure for streaming. You can use this for the demo. struct DTYPE { float data; ap_uint<1> last; }; */ typedef float DTYPE; #define SIZE 1024 /* SIZE OF DFT */ void dft(DTYPE real_sample[SIZE], DTYPE imag_sample[SIZE],DTYPE real_op[SIZE], DTYPE imag_op[SIZE]); //void dft(DTYPE *, DTYPE *,DTYPE *, DTYPE *); use this for doing the demo//
{ "pile_set_name": "Github" }
using System.IO; using Ohana3DS_Rebirth.Ohana.Containers; namespace Ohana3DS_Rebirth.Ohana.Models.PocketMonsters { class GR { /// <summary> /// Loads a GR map model from Pokémon. /// </summary> /// <param name="data">The data</param> /// <returns>The Model group with the map meshes</returns> public static RenderBase.OModelGroup load(Stream data) { RenderBase.OModelGroup models; OContainer container = PkmnContainer.load(data); models = BCH.load(new MemoryStream(container.content[1].data)); return models; } } }
{ "pile_set_name": "Github" }
module Cryptoexchange::Exchanges module Gate class Market < Cryptoexchange::Models::Market NAME = 'gate' API_URL = 'http://data.gate.io/api2/1' def self.trade_page_url(args={}) "https://gate.io/trade/#{args[:base]}_#{args[:target]}" end end end end
{ "pile_set_name": "Github" }
--TEST-- BZ2 with strings --SKIPIF-- <?php if (!extension_loaded("bz2")) print "skip"; ?> --FILE-- <?php // $Id$ error_reporting(E_ALL); # This FAILS $blaat = <<<HEREDOC This is some random data HEREDOC; # This Works: (so, is heredoc related) #$blaat= 'This is some random data'; $blaat2 = bzdecompress(bzcompress($blaat)); $tests = <<<TESTS \$blaat === \$blaat2 TESTS; include(dirname(__FILE__) . '/../../../tests/quicktester.inc'); --EXPECT-- OK
{ "pile_set_name": "Github" }
#!/bin/bash if [ -z "$1" ]; then echo "This script must be called with an argument" >&2 exit 1 fi /usr/local/bin/mine $(script/find_spec_or_impl.rb $1)
{ "pile_set_name": "Github" }
package main // import "github.com/hashicorp/vault" import ( "os" "github.com/hashicorp/vault/command" ) func main() { os.Exit(command.Run(os.Args[1:])) }
{ "pile_set_name": "Github" }
S : "a" S "a" ; : "a" S ; : "b" S ; : "a" ; : "b" ; : ;
{ "pile_set_name": "Github" }
package modern.challenge; public class Fruit<T, Q> { }
{ "pile_set_name": "Github" }
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. @import '../../protocol/css/includes/lib'; @import '../../protocol/css/components/article';
{ "pile_set_name": "Github" }
FROM openresty/openresty:trusty RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf COPY static /usr/share/nginx/html
{ "pile_set_name": "Github" }
# name: H8300 GCC section test case # ld: --gc-sections # objdump: -d --no-show-raw-insn .*: file format .* Disassembly of section .text: 00000100 <_functionWeUse>: 100: mov.l er6,@-er7 104: mov.l er7,er6 106: subs #4,er7 108: mov.w r0,@\(0xfffe:16,er6\) 10c: mov.w @\(0xfffe:16,er6\),r2 110: mov.w r2,r0 112: adds #4,er7 114: mov.l @er7\+,er6 118: rts 0000011a <_start>: 11a: mov.l er6,@-er7 11e: mov.l er7,er6 120: mov.w #0x4b,r0 124: jsr @0x100:24 128: mov.w r0,r2 12a: mov.w r2,r0 12c: mov.l @er7\+,er6 130: rts
{ "pile_set_name": "Github" }
require('../../modules/es6.regexp.match'); module.exports = require('../../modules/$.wks')('match');
{ "pile_set_name": "Github" }
// // RMAddLocaleWindowController.h // Connecter // // Created by Markus on 26.02.14. // Copyright (c) 2014 Realmac Software. All rights reserved. // #import <Cocoa/Cocoa.h> @class RMAppMetaData; @interface RMAddLocaleWindowController : NSWindowController @property (nonatomic, weak, readonly) RMAppMetaData *metaData; @property (nonatomic, readonly) NSArray *filteredLocales; - (id)initWithMetaData:(RMAppMetaData*)metaData; @end
{ "pile_set_name": "Github" }
using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace AvaloniaDemo.Views.Views { public class DashboardView : UserControl { public DashboardView() { this.InitializeComponent(); } private void InitializeComponent() { AvaloniaXamlLoader.Load(this); } } }
{ "pile_set_name": "Github" }
'use strict' var process = require('./process') try { module.exports = setImmediate } catch (ex) { module.exports = process.nextTick }
{ "pile_set_name": "Github" }
// Distributed under the terms of the MIT license // Test case submitted to project by https://github.com/practicalswift (practicalswift) // Test case found by fuzzing protocol B { struct B { init { let a { func a ( = { class A { enum B { class case ,
{ "pile_set_name": "Github" }
name=Caller of Gales image=https://magiccards.info/scans/en/cn2/103.jpg image_updated=2017-08-29 value=2.761 rarity=C type=Creature subtype=Merfolk,Wizard cost={U} pt=1/1 ability={1}{U}, {T}: Target creature gains flying until end of turn. timing=main oracle={1}{U}, {T}: Target creature gains flying until end of turn.
{ "pile_set_name": "Github" }
#include <ApplicationServices/ApplicationServices.r>
{ "pile_set_name": "Github" }
class IncludesMath include Math end
{ "pile_set_name": "Github" }
.user-form { .row { margin: 0; } .btn-toolbar { margin: 48px -12px 12px; } } .user-form__firstName { padding: 0 12px 0 0; } .user-form__lastName { padding: 0 0 0 12px; } .user-form__groups { label { color: #444f6c; } }
{ "pile_set_name": "Github" }
version: 1 n_points: 4 { 468.115 356.685 468.115 858.122 941.695 858.122 941.695 356.685 }
{ "pile_set_name": "Github" }
--- name: Feature request about: Suggest an idea for this project --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here.
{ "pile_set_name": "Github" }
--- name: Feature request about: Suggest an idea for this project --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here.
{ "pile_set_name": "Github" }
--- name: Feature request about: Suggest an idea for this project --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here.
{ "pile_set_name": "Github" }
// @flow export {EditorState} from 'prosemirror-state'; export {default as RichTextEditor} from './ui/RichTextEditor'; export {default as convertFromHTML} from './convertFromHTML'; export {default as convertFromJSON} from './convertFromJSON'; export {default as convertToJSON} from './convertToJSON'; export {default as createEmptyEditorState} from './createEmptyEditorState'; export {default as isEditorStateEmpty} from './isEditorStateEmpty'; export {default as uuid} from './ui/uuid';
{ "pile_set_name": "Github" }
/** @file * * Copyright (c) 2015-2016, Linaro. All rights reserved. * Copyright (c) 2015-2016, Hisilicon Limited. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause-Patent * **/ #ifndef __DW_USB_PROTOCOL_H__ #define __DW_USB_PROTOCOL_H__ // // Protocol GUID // #define DW_USB_PROTOCOL_GUID { 0x109fa264, 0x7811, 0x4862, { 0xa9, 0x73, 0x4a, 0xb2, 0xef, 0x2e, 0xe2, 0xff }} // // Protocol interface structure // typedef struct _DW_USB_PROTOCOL DW_USB_PROTOCOL; #define USB_HOST_MODE 0 #define USB_DEVICE_MODE 1 #define USB_CABLE_NOT_ATTACHED 2 typedef EFI_STATUS (EFIAPI *DW_USB_GET_SERIAL_NO) ( OUT CHAR16 *SerialNo, OUT UINT8 *Length ); typedef EFI_STATUS (EFIAPI *DW_USB_PHY_INIT) ( IN UINT8 Mode ); struct _DW_USB_PROTOCOL { DW_USB_GET_SERIAL_NO Get; DW_USB_PHY_INIT PhyInit; }; extern EFI_GUID gDwUsbProtocolGuid; #endif /* __DW_USB_PROTOCOL_H__ */
{ "pile_set_name": "Github" }
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _IP6T_OPTS_H #define _IP6T_OPTS_H #include <linux/types.h> #define IP6T_OPTS_OPTSNR 16 struct ip6t_opts { __u32 hdrlen; /* Header Length */ __u8 flags; /* */ __u8 invflags; /* Inverse flags */ __u16 opts[IP6T_OPTS_OPTSNR]; /* opts */ __u8 optsnr; /* Nr of OPts */ }; #define IP6T_OPTS_LEN 0x01 #define IP6T_OPTS_OPTS 0x02 #define IP6T_OPTS_NSTRICT 0x04 /* Values for "invflags" field in struct ip6t_rt. */ #define IP6T_OPTS_INV_LEN 0x01 /* Invert the sense of length. */ #define IP6T_OPTS_INV_MASK 0x01 /* All possible flags. */ #endif /*_IP6T_OPTS_H*/
{ "pile_set_name": "Github" }
type: log paths: {{ range $i, $path := .paths }} - {{$path}} {{ end }} exclude_files: [".gz$"] processors: - add_fields: target: '' fields: ecs.version: 1.5.0
{ "pile_set_name": "Github" }
def uninstall(distro, purge=False): packages = [ 'ceph-common', 'ceph-base', 'ceph-radosgw', 'python-module-cephfs', 'python-module-rados', 'python-module-rbd', 'python-module-rgw', ] distro.packager.remove(packages)
{ "pile_set_name": "Github" }
require('../../modules/es6.reflect.set-prototype-of'); module.exports = require('../../modules/$.core').Reflect.setPrototypeOf;
{ "pile_set_name": "Github" }
--- -api-id: M:Windows.UI.Xaml.Controls.ColumnDefinition.#ctor -api-type: winrt method --- <!-- Method syntax public ColumnDefinition() --> # Windows.UI.Xaml.Controls.ColumnDefinition.ColumnDefinition ## -description Initializes a new instance of the [ColumnDefinition](columndefinition.md) class. ## -remarks ## -examples ## -see-also
{ "pile_set_name": "Github" }
require "bundler/gem_tasks" require "rake/testtask" task :default => %i[test] Rake::TestTask.new(:test) do |test| test.libs << 'test' test.test_files = FileList['test/**/*_test.rb'] - FileList["test/deprecation/*_test.rb"] test.verbose = true end
{ "pile_set_name": "Github" }
require 'rails_helper' RSpec.describe Protip, type: :model do let(:protip) {Fabricate(:protip)} it 'should respond to ownership instance methods' do expect(protip).to respond_to :owned_by? expect(protip).to respond_to :owner? end end
{ "pile_set_name": "Github" }
use ron::de::from_str; #[test] fn test_char() { let de: char = from_str("'Փ'").unwrap(); assert_eq!(de, 'Փ'); } #[test] fn test_string() { let de: String = from_str("\"My string: ऄ\"").unwrap(); assert_eq!(de, "My string: ऄ"); }
{ "pile_set_name": "Github" }
'use strict'; var isImplemented = require('../../../../array/#/keys/is-implemented'); module.exports = function (a) { a(isImplemented(), true); };
{ "pile_set_name": "Github" }
ttk_add_vtk_module()
{ "pile_set_name": "Github" }
/* SITE-SPECIFIC TAB STYLING */ body.profile #tab_profile a, body.projects #tab_projects a, body.notices #tab_notices a { color: #000; /* selected tab text colour */ } body.profile #tab_profile, body.projects #tab_projects, body.notices #tab_notices { margin: 0; /* to compensate for border */ padding: 5px 0 5px; background-color: #DEF; /* selected tab colour */ border-left: 1px solid #000; /* tab border */ border-top: 1px solid #000; /* tab border */ border-right: 1px solid #000; /* tab border */ }
{ "pile_set_name": "Github" }
/guide/getting-started /guide/v8/getting-started /guide/differences-to-react /guide/v8/differences-to-react /guide/switching-to-preact /guide/v8/switching-to-preact /guide/types-of-components /guide/v8/types-of-components /guide/api-reference /guide/v8/api-reference /guide/forms /guide/v8/forms /guide/linked-state /guide/v8/linked-state /guide/external-dom-mutations /guide/v8/external-dom-mutations /guide/extending-component /guide/v8/extending-component /guide/unit-testing-with-enzyme /guide/v8/unit-testing-with-enzyme /guide/progressive-web-apps /guide/v8/progressive-web-apps /content/* /content/*
{ "pile_set_name": "Github" }
const createServer = require("fs-remote/createServer"); // createServer returns a net.Server const server = createServer(); server.listen(3000, () => { console.log("fs-remote server is listening on port 3000"); });
{ "pile_set_name": "Github" }
[ { "type": "mapgen", "om_terrain": [ "mil_outpost_utlc" ], "//": "underground top left corner", "method": "json", "weight": 250, "object": { "fill_ter": "t_concrete_floor", "rows": [ "########################", "########################", "########################", "##----------------------", "##| ", "##| ", "##| MMM------------", "##| MM.MM...........", "##| MM...MMllllll....", "##| MM.....MM.........", "##| MM..ggg..MMllll....", "##| *...gHg...M........", "##| MM..ggg..MM----ffff", "##| MM.....MM |....", "##| MM...MM |.Z..", "##| MM.MM |....", "##| MMM -----", "##| ", "##| ", "##---- -------", "#####| |######", "#####--- |######", "#######| --------######", "#######| |#############" ], "palettes": [ "mil_outpost_underground" ], "terrain": { "H": "t_plut_generator" } } } ]
{ "pile_set_name": "Github" }
--- MainSourceFile: no.cpp Diagnostics: - DiagnosticName: test-no DiagnosticMessage: Message: Fix FilePath: $(path)/no.cpp FileOffset: 94 Replacements: - FilePath: $(path)/no.cpp Offset: 94 Length: 3 ReplacementText: 'auto ' ...
{ "pile_set_name": "Github" }
package { public dynamic class Dummy6 { } }
{ "pile_set_name": "Github" }
/** @author Dustin Neß (dness.de) */ func Definition(proplist def) { def.MeshTransformation = Trans_Scale(60); } public func Construction() { SetProperty("MeshTransformation", Trans_Mul(Trans_Rotate(RandomX(-35, 35),0, 10), GetID().MeshTransformation)); }
{ "pile_set_name": "Github" }
import IIdentifiable from './Identifiable.interface' abstract class Storable implements IIdentifiable { constructor(data: any) { $.extend(this, data); } public abstract getId(): string; public abstract save(); public abstract remove(); } export default Storable;
{ "pile_set_name": "Github" }
{% extends "base.html" %} {% block title %}{{ username }}: {{ artist }}{% endblock %} {% block tagline %}This is {{ username }}'s history for <em>{{ artist }}</em>.{% endblock %} {% block content %} <img class="resizeable_graph" src="/graph/{{ username }}/artist/{{ artist }}/" /> <div class="export"> Export:&nbsp; <!-- <a href="../../export/artist/{{ artist }}.xls" title="This data in XLS"> <img src="/static/images/page_excel.png" alt="This data in XLS" /> </a> --> <a href="../../export/artist/{{ artist }}.csv" title="This data in CSV"> <img src="/static/images/page_white_text.png" alt="This data in CSV" /> </a> <a href="../../export/artist/{{ artist }}.json" title="This data in JSON"> <img src="/static/images/page.png" alt="This data in JSON" /> </a> </div> {% endblock %}
{ "pile_set_name": "Github" }
// This file is automatically generated. // Please do not change this file! interface CssExports { 'description': string; 'header': string; 'icon': string; 'masterworked': string; 'metric': string; 'name': string; 'value': string; } export const cssExports: CssExports; export default cssExports;
{ "pile_set_name": "Github" }
StartChar: Odieresis.sc Encoding: 66251 -1 1534 Width: 560 VWidth: 0 Flags: HW LayerCount: 2 Fore Refer: 1409 -1 N 1 0 0 1 0 0 2 EndChar
{ "pile_set_name": "Github" }
from ..fast_exp import fast_exp import numpy as np def test_fast_exp(): X = np.linspace(-5, 0, 5000, endpoint=True) # Ground truth Y = np.exp(X) # Approximation at double precision _y_f64 = np.array([fast_exp['float64_t'](x) for x in X]) # Approximation at single precision _y_f32 = np.array([fast_exp['float32_t'](x) for x in X.astype('float32')], dtype='float32') for _y in [_y_f64, _y_f32]: assert np.abs(Y - _y).mean() < 3e-3
{ "pile_set_name": "Github" }
require 'mxx_ru/binary_unittest' path = 'test/so_5/mchain/adv_select_mthread_read' MxxRu::setup_target( MxxRu::BinaryUnittestTarget.new( "#{path}/prj.ut.rb", "#{path}/prj.rb" ) )
{ "pile_set_name": "Github" }
// Before class ExampleComponent extends React.Component { // highlight-range{1-10} componentWillMount() { this.setState({ subscribedValue: this.props.dataSource.value, }); // This is not safe; it can leak! this.props.dataSource.subscribe( this.handleSubscriptionChange ); } componentWillUnmount() { this.props.dataSource.unsubscribe( this.handleSubscriptionChange ); } handleSubscriptionChange = dataSource => { this.setState({ subscribedValue: dataSource.value, }); }; }
{ "pile_set_name": "Github" }
#this is a comment # this is a second comment COFF 8 4 0 -1 -1 0 0.9 0.0 0.0 #red 0 -1 0 0.0 0.0 0.9 #blue 1 -1 0 0.9 0 0#red 1 0 0 0 0 0.9 #blue 1 1 0 0.9 0 0 #red 0 1 0 0 0 0.9 #blue -1 1 0 0.9 0 0 #red -1 0 0 0 0 0.9 #blue 3 0 1 7 0.9 0 0 #red 3 1 2 3 0.9 0 0 #red 3 5 6 7 0.9 0 0 #red 5 1 3 4 5 7 0 0 0.9 #blue
{ "pile_set_name": "Github" }
Bash history reverse search Clear the terminal instantly Clear bash history Find any Unix / Linux command Terminal based browser
{ "pile_set_name": "Github" }
zreladdr-$(CONFIG_ARCH_H720X) := 0x40008000
{ "pile_set_name": "Github" }
#!/usr/bin/env python3 import sys from testrunner import run def testfunc(child): child.expect_exact("Predicted class: cat") if __name__ == "__main__": sys.exit(run(testfunc))
{ "pile_set_name": "Github" }
import unittest from TTS.tts.utils.text import phonemes class SymbolsTest(unittest.TestCase): def test_uniqueness(self): #pylint: disable=no-self-use assert sorted(phonemes) == sorted(list(set(phonemes))), " {} vs {} ".format(len(phonemes), len(set(phonemes)))
{ "pile_set_name": "Github" }
'use strict'; module.exports = function (str, sep) { if (typeof str !== 'string') { throw new TypeError('Expected a string'); } sep = typeof sep === 'undefined' ? '_' : sep; return str .replace(/([a-z\d])([A-Z])/g, '$1' + sep + '$2') .replace(/([A-Z]+)([A-Z][a-z\d]+)/g, '$1' + sep + '$2') .toLowerCase(); };
{ "pile_set_name": "Github" }
sp_api::decl_runtime_apis! { pub trait Api { fn test(data: u64); } pub trait Api2 { fn test(data: u64); } } struct MockApi; struct MockApi2; sp_api::mock_impl_runtime_apis! { impl Api<Block> for MockApi { fn test(data: u64) {} } impl Api2<Block> for MockApi2 { fn test(data: u64) {} } } fn main() {}
{ "pile_set_name": "Github" }
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ export { registerHelpers } from './elasticsearch'; export { getRandomString } from './random';
{ "pile_set_name": "Github" }
{ "replace": false, "values": [ "techreborn:diamond_nugget" ] }
{ "pile_set_name": "Github" }
// Weathers.co // var http = require("http.js"); function http_test1() { var host = "community-zippopotamus.p.mashape.com"; // httpbin.org log("Host: " + host); if (host === null) { return; } function logHTTP(obj) { log("HTTP Status Code: " + obj.httpStatus); log("Headers: " + JSON.stringify(obj.headers)); } http.request({ host : host, port : 80, path : "/us/ma/belmont" }, function(response) { log("HTTP Response ready ..."); response.on("data", function(data) { log("**************") log("Response data:"); logHTTP(response); log(data); log("**************") }); response.on("end", function() { log("**********************") log("*** Response complete"); logHTTP(response); log("**********************") }) }); } http_test1();
{ "pile_set_name": "Github" }
require('./_typed-array')('Int8', 1, function (init) { return function Int8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; });
{ "pile_set_name": "Github" }
Name: Logger for Redux URL: https://github.com/LogRocket/redux-logger License: MIT License File: /brave/node_modules/redux-logger/LICENSE
{ "pile_set_name": "Github" }
{ "required" : true , "$schema" : "http://json-schema.org/draft-03/schema" , "type" : "object" , "properties" : { "Users" : { "type" : "string" , "required" : false } , "Administrators" : { "type" : "string" , "required" : false } , "Developers" : { "type" : "string" , "required" : false } } }
{ "pile_set_name": "Github" }
AIFAD stands for --Automated Induction of Functions over Algebraic Datatypes-- and improves decision tree learning by supporting significantly more complex kinds of data. This allows users to more conveniently describe the data they want to have learnt, which can improve accuracy and complexity of resulting models. WWW: https://mmottl.github.io/aifad
{ "pile_set_name": "Github" }
require('../../modules/es6.typed.float32-array'); module.exports = require('../../modules/_core').Float32Array;
{ "pile_set_name": "Github" }
1 3 a a a
{ "pile_set_name": "Github" }
}))}(document, Math));
{ "pile_set_name": "Github" }
require('../../modules/es7.math.degrees'); module.exports = require('../../modules/_core').Math.degrees;
{ "pile_set_name": "Github" }
# coding=utf-8 from flask_redis import FlaskRedis from flask_cache import Cache redis_store = FlaskRedis() cache = Cache()
{ "pile_set_name": "Github" }
// untested sections: 2 package matchers import ( "fmt" "github.com/onsi/gomega/format" ) type BeTrueMatcher struct { } func (matcher *BeTrueMatcher) Match(actual interface{}) (success bool, err error) { if !isBool(actual) { return false, fmt.Errorf("Expected a boolean. Got:\n%s", format.Object(actual, 1)) } return actual.(bool), nil } func (matcher *BeTrueMatcher) FailureMessage(actual interface{}) (message string) { return format.Message(actual, "to be true") } func (matcher *BeTrueMatcher) NegatedFailureMessage(actual interface{}) (message string) { return format.Message(actual, "not to be true") }
{ "pile_set_name": "Github" }
idVendor: 0x28B9 iManufacturer: USB idProduct: 0x0002 iProduct: Smart Card Reader bcdDevice: 1.00 (firmware release?) bLength: 9 bDescriptorType: 4 bInterfaceNumber: 0 bAlternateSetting: 0 bNumEndpoints: 3 bulk-IN, bulk-OUT and Interrupt-IN bInterfaceClass: 0x0B [Chip Card Interface Device Class (CCID)] bInterfaceSubClass: 0 bInterfaceProtocol: 0 bulk transfer, optional interrupt-IN (CCID) Can't get iInterface string CCID Class Descriptor bLength: 0x36 bDescriptorType: 0x21 bcdCCID: 1.10 bMaxSlotIndex: 0x00 bVoltageSupport: 0x02 3.0V dwProtocols: 0x0000 0x0002 T=1 dwDefaultClock: 3.580 MHz dwMaximumClock: 14.320 MHz bNumClockSupported: 0 (will use whatever is returned) IFD does not support GET CLOCK FREQUENCIES request: Resource temporarily unavailable dwDataRate: 9600 bps dwMaxDataRate: 1250000 bps bNumDataRatesSupported: 0 (will use whatever is returned) IFD does not support GET_DATA_RATES request: Resource temporarily unavailable dwMaxIFSD: 254 dwSynchProtocols: 0x00000000 dwMechanical: 0x00000000 No special characteristics dwFeatures: 0x00020000 02.... Short APDU level exchange dwMaxCCIDMessageLength: 512 bytes bClassGetResponse: 0x00 bClassEnvelope: 0x00 wLcdLayout: 0x0000 bPINSupport: 0x00 bMaxCCIDBusySlots: 1
{ "pile_set_name": "Github" }
p edge 20 25 e 1 5 e 2 13 e 2 14 e 3 5 e 3 16 e 6 13 e 6 0 e 7 14 e 7 12 e 7 16 e 8 12 e 8 16 e 9 11 e 9 14 e 10 4 e 10 16 e 11 1 e 14 12 e 15 17 e 15 0 e 17 12 e 18 7 e 18 0 e 19 4 e 19 0
{ "pile_set_name": "Github" }
[subject:New message - {site}] Hello, {nickname}. The site «{site}» You received a new private message from <a href="{user_url}">{user_nickname}</a>. -- Best regards, {site} <small>This letter is sent automatically, please do not reply</small>
{ "pile_set_name": "Github" }
// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. // +build mipsle,linux package unix const ( SizeofPtr = 0x4 SizeofLong = 0x4 ) type ( _C_long int32 ) type Timespec struct { Sec int32 Nsec int32 } type Timeval struct { Sec int32 Usec int32 } type Timex struct { Modes uint32 Offset int32 Freq int32 Maxerror int32 Esterror int32 Status int32 Constant int32 Precision int32 Tolerance int32 Time Timeval Tick int32 Ppsfreq int32 Jitter int32 Shift int32 Stabil int32 Jitcnt int32 Calcnt int32 Errcnt int32 Stbcnt int32 Tai int32 _ [44]byte } type Time_t int32 type Tms struct { Utime int32 Stime int32 Cutime int32 Cstime int32 } type Utimbuf struct { Actime int32 Modtime int32 } type Rusage struct { Utime Timeval Stime Timeval Maxrss int32 Ixrss int32 Idrss int32 Isrss int32 Minflt int32 Majflt int32 Nswap int32 Inblock int32 Oublock int32 Msgsnd int32 Msgrcv int32 Nsignals int32 Nvcsw int32 Nivcsw int32 } type Stat_t struct { Dev uint32 Pad1 [3]int32 Ino uint64 Mode uint32 Nlink uint32 Uid uint32 Gid uint32 Rdev uint32 Pad2 [3]int32 Size int64 Atim Timespec Mtim Timespec Ctim Timespec Blksize int32 Pad4 int32 Blocks int64 Pad5 [14]int32 } type Dirent struct { Ino uint64 Off int64 Reclen uint16 Type uint8 Name [256]int8 _ [5]byte } type Flock_t struct { Type int16 Whence int16 _ [4]byte Start int64 Len int64 Pid int32 _ [4]byte } const ( FADV_DONTNEED = 0x4 FADV_NOREUSE = 0x5 ) type RawSockaddr struct { Family uint16 Data [14]int8 } type RawSockaddrAny struct { Addr RawSockaddr Pad [96]int8 } type Iovec struct { Base *byte Len uint32 } type Msghdr struct { Name *byte Namelen uint32 Iov *Iovec Iovlen uint32 Control *byte Controllen uint32 Flags int32 } type Cmsghdr struct { Len uint32 Level int32 Type int32 } const ( SizeofIovec = 0x8 SizeofMsghdr = 0x1c SizeofCmsghdr = 0xc ) const ( SizeofSockFprog = 0x8 ) type PtraceRegs struct { Regs [32]uint64 Lo uint64 Hi uint64 Epc uint64 Badvaddr uint64 Status uint64 Cause uint64 } type FdSet struct { Bits [32]int32 } type Sysinfo_t struct { Uptime int32 Loads [3]uint32 Totalram uint32 Freeram uint32 Sharedram uint32 Bufferram uint32 Totalswap uint32 Freeswap uint32 Procs uint16 Pad uint16 Totalhigh uint32 Freehigh uint32 Unit uint32 _ [8]int8 } type Ustat_t struct { Tfree int32 Tinode uint32 Fname [6]int8 Fpack [6]int8 } type EpollEvent struct { Events uint32 PadFd int32 Fd int32 Pad int32 } const ( POLLRDHUP = 0x2000 ) type Sigset_t struct { Val [32]uint32 } const _C__NSIG = 0x80 type Termios struct { Iflag uint32 Oflag uint32 Cflag uint32 Lflag uint32 Line uint8 Cc [23]uint8 Ispeed uint32 Ospeed uint32 } type Taskstats struct { Version uint16 Ac_exitcode uint32 Ac_flag uint8 Ac_nice uint8 _ [4]byte Cpu_count uint64 Cpu_delay_total uint64 Blkio_count uint64 Blkio_delay_total uint64 Swapin_count uint64 Swapin_delay_total uint64 Cpu_run_real_total uint64 Cpu_run_virtual_total uint64 Ac_comm [32]int8 Ac_sched uint8 Ac_pad [3]uint8 _ [4]byte Ac_uid uint32 Ac_gid uint32 Ac_pid uint32 Ac_ppid uint32 Ac_btime uint32 _ [4]byte Ac_etime uint64 Ac_utime uint64 Ac_stime uint64 Ac_minflt uint64 Ac_majflt uint64 Coremem uint64 Virtmem uint64 Hiwater_rss uint64 Hiwater_vm uint64 Read_char uint64 Write_char uint64 Read_syscalls uint64 Write_syscalls uint64 Read_bytes uint64 Write_bytes uint64 Cancelled_write_bytes uint64 Nvcsw uint64 Nivcsw uint64 Ac_utimescaled uint64 Ac_stimescaled uint64 Cpu_scaled_run_real_total uint64 Freepages_count uint64 Freepages_delay_total uint64 Thrashing_count uint64 Thrashing_delay_total uint64 Ac_btime64 uint64 } type cpuMask uint32 const ( _NCPUBITS = 0x20 ) const ( CBitFieldMaskBit0 = 0x1 CBitFieldMaskBit1 = 0x2 CBitFieldMaskBit2 = 0x4 CBitFieldMaskBit3 = 0x8 CBitFieldMaskBit4 = 0x10 CBitFieldMaskBit5 = 0x20 CBitFieldMaskBit6 = 0x40 CBitFieldMaskBit7 = 0x80 CBitFieldMaskBit8 = 0x100 CBitFieldMaskBit9 = 0x200 CBitFieldMaskBit10 = 0x400 CBitFieldMaskBit11 = 0x800 CBitFieldMaskBit12 = 0x1000 CBitFieldMaskBit13 = 0x2000 CBitFieldMaskBit14 = 0x4000 CBitFieldMaskBit15 = 0x8000 CBitFieldMaskBit16 = 0x10000 CBitFieldMaskBit17 = 0x20000 CBitFieldMaskBit18 = 0x40000 CBitFieldMaskBit19 = 0x80000 CBitFieldMaskBit20 = 0x100000 CBitFieldMaskBit21 = 0x200000 CBitFieldMaskBit22 = 0x400000 CBitFieldMaskBit23 = 0x800000 CBitFieldMaskBit24 = 0x1000000 CBitFieldMaskBit25 = 0x2000000 CBitFieldMaskBit26 = 0x4000000 CBitFieldMaskBit27 = 0x8000000 CBitFieldMaskBit28 = 0x10000000 CBitFieldMaskBit29 = 0x20000000 CBitFieldMaskBit30 = 0x40000000 CBitFieldMaskBit31 = 0x80000000 CBitFieldMaskBit32 = 0x100000000 CBitFieldMaskBit33 = 0x200000000 CBitFieldMaskBit34 = 0x400000000 CBitFieldMaskBit35 = 0x800000000 CBitFieldMaskBit36 = 0x1000000000 CBitFieldMaskBit37 = 0x2000000000 CBitFieldMaskBit38 = 0x4000000000 CBitFieldMaskBit39 = 0x8000000000 CBitFieldMaskBit40 = 0x10000000000 CBitFieldMaskBit41 = 0x20000000000 CBitFieldMaskBit42 = 0x40000000000 CBitFieldMaskBit43 = 0x80000000000 CBitFieldMaskBit44 = 0x100000000000 CBitFieldMaskBit45 = 0x200000000000 CBitFieldMaskBit46 = 0x400000000000 CBitFieldMaskBit47 = 0x800000000000 CBitFieldMaskBit48 = 0x1000000000000 CBitFieldMaskBit49 = 0x2000000000000 CBitFieldMaskBit50 = 0x4000000000000 CBitFieldMaskBit51 = 0x8000000000000 CBitFieldMaskBit52 = 0x10000000000000 CBitFieldMaskBit53 = 0x20000000000000 CBitFieldMaskBit54 = 0x40000000000000 CBitFieldMaskBit55 = 0x80000000000000 CBitFieldMaskBit56 = 0x100000000000000 CBitFieldMaskBit57 = 0x200000000000000 CBitFieldMaskBit58 = 0x400000000000000 CBitFieldMaskBit59 = 0x800000000000000 CBitFieldMaskBit60 = 0x1000000000000000 CBitFieldMaskBit61 = 0x2000000000000000 CBitFieldMaskBit62 = 0x4000000000000000 CBitFieldMaskBit63 = 0x8000000000000000 ) type SockaddrStorage struct { Family uint16 _ [122]int8 _ uint32 } type HDGeometry struct { Heads uint8 Sectors uint8 Cylinders uint16 Start uint32 } type Statfs_t struct { Type int32 Bsize int32 Frsize int32 _ [4]byte Blocks uint64 Bfree uint64 Files uint64 Ffree uint64 Bavail uint64 Fsid Fsid Namelen int32 Flags int32 Spare [5]int32 _ [4]byte } type TpacketHdr struct { Status uint32 Len uint32 Snaplen uint32 Mac uint16 Net uint16 Sec uint32 Usec uint32 } const ( SizeofTpacketHdr = 0x18 ) type RTCPLLInfo struct { Ctrl int32 Value int32 Max int32 Min int32 Posmult int32 Negmult int32 Clock int32 } type BlkpgPartition struct { Start int64 Length int64 Pno int32 Devname [64]uint8 Volname [64]uint8 _ [4]byte } const ( BLKPG = 0x20001269 ) type XDPUmemReg struct { Addr uint64 Len uint64 Size uint32 Headroom uint32 Flags uint32 _ [4]byte } type CryptoUserAlg struct { Name [64]int8 Driver_name [64]int8 Module_name [64]int8 Type uint32 Mask uint32 Refcnt uint32 Flags uint32 } type CryptoStatAEAD struct { Type [64]int8 Encrypt_cnt uint64 Encrypt_tlen uint64 Decrypt_cnt uint64 Decrypt_tlen uint64 Err_cnt uint64 } type CryptoStatAKCipher struct { Type [64]int8 Encrypt_cnt uint64 Encrypt_tlen uint64 Decrypt_cnt uint64 Decrypt_tlen uint64 Verify_cnt uint64 Sign_cnt uint64 Err_cnt uint64 } type CryptoStatCipher struct { Type [64]int8 Encrypt_cnt uint64 Encrypt_tlen uint64 Decrypt_cnt uint64 Decrypt_tlen uint64 Err_cnt uint64 } type CryptoStatCompress struct { Type [64]int8 Compress_cnt uint64 Compress_tlen uint64 Decompress_cnt uint64 Decompress_tlen uint64 Err_cnt uint64 } type CryptoStatHash struct { Type [64]int8 Hash_cnt uint64 Hash_tlen uint64 Err_cnt uint64 } type CryptoStatKPP struct { Type [64]int8 Setsecret_cnt uint64 Generate_public_key_cnt uint64 Compute_shared_secret_cnt uint64 Err_cnt uint64 } type CryptoStatRNG struct { Type [64]int8 Generate_cnt uint64 Generate_tlen uint64 Seed_cnt uint64 Err_cnt uint64 } type CryptoStatLarval struct { Type [64]int8 } type CryptoReportLarval struct { Type [64]int8 } type CryptoReportHash struct { Type [64]int8 Blocksize uint32 Digestsize uint32 } type CryptoReportCipher struct { Type [64]int8 Blocksize uint32 Min_keysize uint32 Max_keysize uint32 } type CryptoReportBlkCipher struct { Type [64]int8 Geniv [64]int8 Blocksize uint32 Min_keysize uint32 Max_keysize uint32 Ivsize uint32 } type CryptoReportAEAD struct { Type [64]int8 Geniv [64]int8 Blocksize uint32 Maxauthsize uint32 Ivsize uint32 } type CryptoReportComp struct { Type [64]int8 } type CryptoReportRNG struct { Type [64]int8 Seedsize uint32 } type CryptoReportAKCipher struct { Type [64]int8 } type CryptoReportKPP struct { Type [64]int8 } type CryptoReportAcomp struct { Type [64]int8 } type LoopInfo struct { Number int32 Device uint32 Inode uint32 Rdevice uint32 Offset int32 Encrypt_type int32 Encrypt_key_size int32 Flags int32 Name [64]int8 Encrypt_key [32]uint8 Init [2]uint32 Reserved [4]int8 } type TIPCSubscr struct { Seq TIPCServiceRange Timeout uint32 Filter uint32 Handle [8]int8 } type TIPCSIOCLNReq struct { Peer uint32 Id uint32 Linkname [68]int8 } type TIPCSIOCNodeIDReq struct { Peer uint32 Id [16]int8 }
{ "pile_set_name": "Github" }
# Blender MTL File: 'None' # Material Count: 1 newmtl Standard Ns 96.078431 Ka 0.000000 0.000000 0.000000 Kd 0.690196 0.690196 0.690196 Ks 0.012549 0.012549 0.012549 Ni 1.000000 d 1.000000 illum 2 map_Kd grid_fabric.jpg
{ "pile_set_name": "Github" }
new Array(); new Array(1); new Array(1, 2, 3);
{ "pile_set_name": "Github" }
new Array(); new Array(1); new Array(1, 2, 3);
{ "pile_set_name": "Github" }
import { Component } from '@angular/core'; @Component({ selector: 'demo-tabs-vertical-pills', templateUrl: './vertical-pills.html' }) export class DemoTabsVerticalPillsComponent {}
{ "pile_set_name": "Github" }
import React from 'react'; function connect(WrappedComponent, select) { return function(props) { const selectors = select(props); return <WrappedComponent {...props} {...selectors} />; }; } export default connect;
{ "pile_set_name": "Github" }
{ "images" : [ { "idiom" : "universal", "filename" : "icon_default_phiz.png", "scale" : "1x" }, { "idiom" : "universal", "filename" : "icon_default_phiz@2x.png", "scale" : "2x" }, { "idiom" : "universal", "filename" : "icon_default_phiz@3x.png", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" } }
{ "pile_set_name": "Github" }
#include <iostream> #include <vector> using namespace std; int main(){ int N, num, score, sum; cin >> N; vector<int> v(N + 1); for(int i = 0; i < N; i++){ cin >> num >> score; v[num] += score; } int max = v[1], t = 1; for(int i = 2; i <= N; i++){ if(max < v[i]){ max = v[i]; t = i; } } cout << t << " " << max; return 0; }
{ "pile_set_name": "Github" }
## team.members.prefs:update ### summary updated prefs of the other members of this team ### channel team ### response ```json { "isMute": true, "alias": "ALICE", "_teamId": "5513d3457931dc303563f374", "_userId": "5513d3457931dc303563f372" } ```
{ "pile_set_name": "Github" }
package client import ( "context" "encoding/json" "net/url" "github.com/docker/docker/api/types" "github.com/docker/docker/api/types/filters" ) // NetworkList returns the list of networks configured in the docker host. func (cli *Client) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error) { query := url.Values{} if options.Filters.Len() > 0 { filterJSON, err := filters.ToParamWithVersion(cli.version, options.Filters) if err != nil { return nil, err } query.Set("filters", filterJSON) } var networkResources []types.NetworkResource resp, err := cli.get(ctx, "/networks", query, nil) if err != nil { return networkResources, err } err = json.NewDecoder(resp.body).Decode(&networkResources) ensureReaderClosed(resp) return networkResources, err }
{ "pile_set_name": "Github" }
; RUN: opt < %s -constprop -S | \ ; RUN: not grep "ret i1 false" @b = external global [2 x { }] ; <[2 x { }]*> [#uses=2] define i1 @f() { %tmp.2 = icmp eq { }* getelementptr ([2 x { }], [2 x { }]* @b, i32 0, i32 0), getelementptr ([2 x { }], [2 x { }]* @b, i32 0, i32 1) ; <i1> [#uses=1] ret i1 %tmp.2 }
{ "pile_set_name": "Github" }