text
stringlengths
2
99.1k
meta
dict
#!/usr/bin/jjs -fv var cmd = "docker build -t airhacks/openliberty-webprofile7 ." var System = Java.type("java.lang.System"); $EXEC(cmd, System.in, System.out, System.err);
{ "pile_set_name": "Github" }
#include "caml/address_class.h" value caml_is_in_static_data(value v) { return(Val_bool(Is_in_static_data(v))); }
{ "pile_set_name": "Github" }
/* Package phpv contains all required types and interfaces for storing Goro values, context or compiled PHP code. */ package phpv
{ "pile_set_name": "Github" }
export interface Environment { buildId: string; sourceBranch: string; createdTimeUtc: string; status: string; lastUpdatedOn?: string; hostname?: string; pullRequestTitle?: string; }
{ "pile_set_name": "Github" }
yandex_music.QueueItem ====================== .. autoclass:: yandex_music.QueueItem :members: :show-inheritance:
{ "pile_set_name": "Github" }
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <TVKit/TVCollectionView.h> @interface _TVInertiaContainingCollectionView : TVCollectionView { } - (_Bool)_containsInertiaSelectionChanges; @end
{ "pile_set_name": "Github" }
{ "category" : "VMMaker-Plugins", "classinstvars" : [ ], "classvars" : [ "MaxBits", "StateNoMoreData" ], "commentStamp" : "<historical>", "instvars" : [ "zipCollection", "zipReadLimit", "zipPosition", "zipState", "zipBitBuf", "zipBitPos", "zipSource", "zipSourcePos", "zipSourceLimit", "zipLitTable", "zipDistTable", "zipCollectionSize", "zipLitTableSize", "zipDistTableSize", "readStreamInstSize" ], "name" : "InflatePlugin", "pools" : [ ], "super" : "InterpreterPlugin", "type" : "normal" }
{ "pile_set_name": "Github" }
// Animated Icons // -------------------------- .#{$fa-css-prefix}-spin { animation: fa-spin 2s infinite linear; } .#{$fa-css-prefix}-pulse { animation: fa-spin 1s infinite steps(8); } @keyframes fa-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
{ "pile_set_name": "Github" }
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @interface ChatRoomUtils : NSObject { } + (void)onAddChatroomMemberTooMuch:(id)arg1 delegate:(id)arg2; + (void)onNeedUpgradeChatRoom:(id)arg1 delegate:(id)arg2 tag:(int)arg3; + (void)bindCardUpgradeChatRoom:(id)arg1 ViewController:(id)arg2 forScene:(int)arg3; + (void)openVerifyContactProfile:(id)arg1 forChatRoom:(id)arg2 inViewController:(id)arg3 delegate:(id)arg4; + (void)genFildsOfContact:(id)arg1 toContact:(id)arg2; + (void)openContactProfile:(id)arg1 ofChatRoomContact:(id)arg2 inViewController:(id)arg3 delegate:(id)arg4 searchScene:(int)arg5; + (void)openContactProfile:(id)arg1 ofChatRoomContact:(id)arg2 inViewController:(id)arg3 delegate:(id)arg4; + (void)openAddContactWithMemberList:(id)arg1 inViewController:(id)arg2 delegate:(id)arg3; @end
{ "pile_set_name": "Github" }
server{ listen 8080; location / { return 200 "Welcome to this authenticated web service.\n"; } }
{ "pile_set_name": "Github" }
source "https://rubygems.org" # Specify your gem's dependencies in ahoy_email.gemspec gemspec gem "actionmailer", "~> 6.0.0" gem "activerecord", "~> 6.0.0"
{ "pile_set_name": "Github" }
require_relative '../../spec_helper' require 'matrix' describe "Matrix.new" do it "is private" do Matrix.should have_private_method(:new) end end
{ "pile_set_name": "Github" }
// This file is plain wrong, broken and horrible. // The problem is Apple's ld fails to resolve some global variables in the static libraries we link into dyld. // I have confirmed the problem even on macOS. // // If the sought-after symbol is defined (really defined) in a static library, then ld fails to find it. // When it is defined in an object file passed on the command line, ld has no problem. void* __cleanup; char __gdtoa_locks[32]; void* _libkernel_functions[16];
{ "pile_set_name": "Github" }
username,first_name,last_name,department,photo_url john,John,Doe,,https://placehold.it/100x100 janet,Janet,Doe,,https://placehold.it/100x100
{ "pile_set_name": "Github" }
// // NSMutableParagraphStyle+ZZFLEX.m // Masonry // // Created by 李伯坤 on 2019/8/30. // #import "NSMutableParagraphStyle+ZZFLEX.h" @implementation NSMutableParagraphStyle (ZZFLEX) + (ZZMutableParagraphStyleChainModel *)zz_create; { ZZMutableParagraphStyleChainModel *object = [[ZZMutableParagraphStyleChainModel alloc] initWithObject:nil]; return object; } - (ZZMutableParagraphStyleChainModel *)zz_setup { ZZMutableParagraphStyleChainModel *object = [[ZZMutableParagraphStyleChainModel alloc] initWithObject:self]; return object; } @end
{ "pile_set_name": "Github" }
# Transaction ## Entities |Name|Description| |---|---| |[SMAAccruePeriodLine](SMAAccruePeriodLine.cdm.json)|| |[SMAPreServiceOrderLine](SMAPreServiceOrderLine.cdm.json)|| |[SMAServiceBOMChange](SMAServiceBOMChange.cdm.json)|| |[SMAServiceLevelAgreementLog](SMAServiceLevelAgreementLog.cdm.json)|| |[SMAServiceLevelAgreementLogTable](SMAServiceLevelAgreementLogTable.cdm.json)|| |[SMAServiceLevelAgreementReason](SMAServiceLevelAgreementReason.cdm.json)|| |[SMAServiceOrderReason](SMAServiceOrderReason.cdm.json)||
{ "pile_set_name": "Github" }
from spacy.lang.de import German nlp = German() doc = nlp("David Bowie hat das Label PER") # Schlage den Hash für das String-Label "PER" nach person_hash = nlp.vocab.strings["PER"] print(person_hash) # Schlage person_hash nach, um den String zu erhalten person_string = nlp.vocab.strings[person_hash] print(person_string)
{ "pile_set_name": "Github" }
// Copyright (C) MongoDB, Inc. 2017-present. // // Licensed under the Apache License, Version 2.0 (the "License"); you may // not use this file except in compliance with the License. You may obtain // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 package tag // import "go.mongodb.org/mongo-driver/tag" // Tag is a name/vlaue pair. type Tag struct { Name string Value string } // NewTagSetFromMap creates a new tag set from a map. func NewTagSetFromMap(m map[string]string) Set { var set Set for k, v := range m { set = append(set, Tag{Name: k, Value: v}) } return set } // NewTagSetsFromMaps creates new tag sets from maps. func NewTagSetsFromMaps(maps []map[string]string) []Set { sets := make([]Set, 0, len(maps)) for _, m := range maps { sets = append(sets, NewTagSetFromMap(m)) } return sets } // Set is an ordered list of Tags. type Set []Tag // Contains indicates whether the name/value pair exists in the tagset. func (ts Set) Contains(name, value string) bool { for _, t := range ts { if t.Name == name && t.Value == value { return true } } return false } // ContainsAll indicates whether all the name/value pairs exist in the tagset. func (ts Set) ContainsAll(other []Tag) bool { for _, ot := range other { if !ts.Contains(ot.Name, ot.Value) { return false } } return true }
{ "pile_set_name": "Github" }
// // UIEdgeInsets.swift // FBSnapshotTestCase // // Created by Daniel Huri on 4/21/18. // import UIKit extension UIEdgeInsets { var hasVerticalInsets: Bool { return top > 0 || bottom > 0 } }
{ "pile_set_name": "Github" }
= render partial: 'webui/project/breadcrumb_items' %li.breadcrumb-item.active{ 'aria-current' => 'page' } Maintenance Incidents
{ "pile_set_name": "Github" }
<li> No bios yet. </li>
{ "pile_set_name": "Github" }
//--metadoc State copyright Steve Dekorte 2002 //--metadoc State license BSD revised #include "IoState.h" #include "IoObject.h" IoObject *IoState_currentCoroutine(IoState *self) { return self->currentCoroutine; } void IoState_setCurrentCoroutine_(IoState *self, IoObject *coroutine) { self->currentCoroutine = coroutine; self->currentIoStack = IoCoroutine_rawIoStack(coroutine); Collector_setMarkBeforeSweepValue_(self->collector, coroutine); } void IoState_yield(IoState *self) { IoMessage_locals_performOn_(self->yieldMessage, self->lobby, self->lobby); }
{ "pile_set_name": "Github" }
// Allow GitHub image rendering :imagesdir: ../../../images [[ga-opennms-operation-daemon-config-files-syslogd]] ==== Syslogd [options="header, autowidth"] |=== | Internal Daemon Name | Reload Event | _Syslogd_ | `uei.opennms.org/internal/reloadDaemonConfig -p 'daemonName Syslogd'` |=== Syslogd reload event stops and starts daemon and loads all the syslogd configuration changes. Syslog daemon can be reloaded with following shell command on karaf. [source] ---- $ ssh -p 8101 admin@localhost ... admin@opennms> opennms:reload-daemon syslogd ----
{ "pile_set_name": "Github" }
#source: plt2.s #as: --32 #ld: -z now -melf_i386 #readelf: -SW #target: i?86-*-* #... +\[ *[0-9]+\] \.plt +PROGBITS +[0-9a-f]+ +[0-9a-f]+ +0+30 +.* +AX +0 +0 +16 #pass
{ "pile_set_name": "Github" }
// +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=github.com/openshift/origin/pkg/route/apis/route // +k8s:defaulter-gen=TypeMeta // +k8s:openapi-gen=true // +groupName=route.openshift.io // Package v1 is the v1 version of the API. package v1
{ "pile_set_name": "Github" }
import _plotly_utils.basevalidators class UidValidator(_plotly_utils.basevalidators.StringValidator): def __init__(self, plotly_name="uid", parent_name="scattermapbox", **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, edit_type=kwargs.pop("edit_type", "plot"), role=kwargs.pop("role", "info"), **kwargs )
{ "pile_set_name": "Github" }
class COwnerDrawMenu : public CMenu { public: COwnerDrawMenu(); ~COwnerDrawMenu(); virtual void MeasureItem(LPMEASUREITEMSTRUCT mis); virtual void DrawItem(LPDRAWITEMSTRUCT dis); protected: void DrawItem1(LPDRAWITEMSTRUCT dis); void DrawItem2(LPDRAWITEMSTRUCT dis); };
{ "pile_set_name": "Github" }
august -- a pupil of ingmar bergman's -- manages to tell a tragic tale while avoiding the heavy-laden angst of a bergman film .
{ "pile_set_name": "Github" }
# gesture_app A new Flutter application. ## Getting Started For help getting started with Flutter, view our online [documentation](https://flutter.io/).
{ "pile_set_name": "Github" }
// run // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main func main() { if ; false {} // compiles; should be an error (should be simplevardecl before ;) }
{ "pile_set_name": "Github" }
// an example CommonJs module // content is omitted for brevity exports.readFile = function() {}; // using module.exports would be equivalent, // webpack doesn't care which syntax is used // AMD modules are also possible and equivalent to CommonJs modules
{ "pile_set_name": "Github" }
namespace ImageEncoder { enum ImageFormat { PNG = 1, JPEG = 2, // 3 and 4 are reserved for GIF and BMP ICO = 5, } }
{ "pile_set_name": "Github" }
regenerate: go install github.com/gogo/protobuf/protoc-min-version go install github.com/gogo/protobuf/protoc-gen-gogoslick protoc-min-version --version="3.0.0" --proto_path=.:$(GOPATH)/src/:$(GOPATH)/src/github.com/gogo/protobuf/protobuf/ \ --gogoslick_out=Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types:. timefail.proto
{ "pile_set_name": "Github" }
# Generated by Django 2.0.6 on 2018-06-13 15:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('people', '0014_auto_20180613_1527'), ] operations = [ migrations.AddField( model_name='person', name='show_hireable', field=models.BooleanField(default=False), ), ]
{ "pile_set_name": "Github" }
#version 120 attribute mat4 vWorld; attribute vec3 vPosition; attribute vec2 vTexcoord; uniform mat4 view; uniform mat4 proj; varying vec2 fTexcoord; varying float fDepth; void main() { fTexcoord = vTexcoord; vec4 screen_position = proj * view * vWorld * vec4(vPosition, 1); fDepth = screen_position.z / screen_position.w; gl_Position = screen_position; }
{ "pile_set_name": "Github" }
procedure Procedure_Declaration;
{ "pile_set_name": "Github" }
The pattern "(null)" does not match the hostname domain.com The pattern "example.com domain.com" matches the hostname domain.com The pattern "example.com other.com" does not match the hostname domain.com The pattern "example.com,domain.com" matches the hostname domain.com The pattern "example.com,domain.com" does not match the hostname otherdomain.com The pattern "example.com, *.domain.com" matches the hostname sub.domain.com The pattern "example.com, *.domain.com" matches the hostname domain.com The pattern "example.com, .domain.com" matches the hostname domain.com The pattern "*" matches the hostname domain.com
{ "pile_set_name": "Github" }
--- title: Azure Artifacts - Sprint 154 Update description: See the Sprint 154 feature update for Azure Artifacts, including next steps. author: gloridelmorales ms.author: glmorale ms.technology: devops-release-notes ms.date: 07/01/2019 --- # Azure Artifacts - Sprint 154 Update ## Features [!INCLUDE [sprint-154-update-links](../includes/artifacts/sprint-154-update-links.md)] [!INCLUDE [sprint-154-update](../includes/artifacts/sprint-154-update.md)] [!INCLUDE [nextsteps](../includes/nextsteps.md)] Thanks, Biju Venugopal
{ "pile_set_name": "Github" }
# ansi-regex [![Build Status](https://travis-ci.org/sindresorhus/ansi-regex.svg?branch=master)](https://travis-ci.org/sindresorhus/ansi-regex) > Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) ## Install ```sh $ npm install --save ansi-regex ``` ## Usage ```js var ansiRegex = require('ansi-regex'); ansiRegex().test('\u001b[4mcake\u001b[0m'); //=> true ansiRegex().test('cake'); //=> false '\u001b[4mcake\u001b[0m'.match(ansiRegex()); //=> ['\u001b[4m', '\u001b[0m'] ``` *It's a function so you can create multiple instances. Regexes with the global flag will have the `.lastIndex` property changed for each call to methods on the instance. Therefore reusing the instance with multiple calls will not work as expected for `.test()`.* ## License MIT © [Sindre Sorhus](http://sindresorhus.com)
{ "pile_set_name": "Github" }
{ "name": "pair Networks, Inc.", "displayName": "pair Networks", "properties": [ "ghanaweb.com", "pair.com", "pairserver.com" ], "prevalence": { "tracking": 0, "nonTracking": 0.000101, "total": 0.000101 } }
{ "pile_set_name": "Github" }
package com.univocity.trader.exchange.binance.futures.impl; import com.univocity.trader.exchange.binance.futures.impl.utils.JsonWrapper; @FunctionalInterface public interface RestApiJsonParser<T> { T parseJson(JsonWrapper json); }
{ "pile_set_name": "Github" }
{ "name": "LiquidCarbon", "black": "#000000", "red": "#ff3030", "green": "#559a70", "yellow": "#ccac00", "blue": "#0099cc", "purple": "#cc69c8", "cyan": "#7ac4cc", "white": "#bccccc", "brightBlack": "#000000", "brightRed": "#ff3030", "brightGreen": "#559a70", "brightYellow": "#ccac00", "brightBlue": "#0099cc", "brightPurple": "#cc69c8", "brightCyan": "#7ac4cc", "brightWhite": "#bccccc", "background": "#303030", "foreground": "#afc2c2" }
{ "pile_set_name": "Github" }
--- id: welcome title: Welcome author: Atul R authorTitle: Maintainer @NodeGui authorURL: https://github.com/master-atul authorImageURL: https://avatars2.githubusercontent.com/u/4029423?s=460&v=4 authorTwitter: masteratul94 tags: [nodegui, hello] --- This is the new blog site for NodeGui. This will be updated soon.
{ "pile_set_name": "Github" }
object Test { def test[CC[+X] <: Iterable[X], A](xs: CC[A]): CC[A] = xs val xs = test(List(1,2)) val xs2: List[Int] = test(List(1,2)) }
{ "pile_set_name": "Github" }
# $NetBSD: Makefile,v 1.4 1995/03/21 11:59:28 cgd Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= arithmetic MAN= arithmetic.6 HIDEGAME=hidegame .include <bsd.prog.mk>
{ "pile_set_name": "Github" }
"use strict"; function parseHost(urlObj, options) { // TWEAK :: condition only for speed optimization if (options.ignore_www) { var host = urlObj.host.full; if (host) { var stripped = host; if (host.indexOf("www.") === 0) { stripped = host.substr(4); } urlObj.host.stripped = stripped; } } } module.exports = parseHost;
{ "pile_set_name": "Github" }
// // Lexer.swift // SavannaKit iOS // // Created by Louis D'hauwe on 04/02/2018. // Copyright © 2018 Silver Fox. All rights reserved. // import Foundation public protocol Lexer { func lexerForInput(_ input: String) -> Lexer func getSavannaTokens() -> [Token] }
{ "pile_set_name": "Github" }
[Unit] Description=Entropy Daemon based on the HAVEGE algorithm Documentation=man:haveged(8) http://www.issihosts.com/haveged/ [Service] Type=forking PIDFile=/run/haveged.pid EnvironmentFile=/etc/haveged.conf ExecStart=/usr/sbin/haveged -w ${WATERMARK} -v 1 -p /run/haveged.pid -r 0 [Install] WantedBy=multi-user.target
{ "pile_set_name": "Github" }
public interface Queue<E> { int getSize(); boolean isEmpty(); void enqueue(E e); E dequeue(); E getFront(); }
{ "pile_set_name": "Github" }
require 'mocha/parameter_matchers/equals' module Mocha module ObjectMethods def to_matcher # :nodoc: Mocha::ParameterMatchers::Equals.new(self) end end end class Object include Mocha::ObjectMethods end
{ "pile_set_name": "Github" }
-2458173121:LMT:0:6720 348884520:SAST:0:5400 1248312600:SAST:0:7200 15721200:SAST:1:10800 15728400:SAST:0:7200 15721200:SAST:1:10800 1:SAST:0:7200
{ "pile_set_name": "Github" }
/// <summary> /// this enum describes the type of step a mob/player should have /// </summary> public enum StepType { None, Barefoot, Claw, Shoes, Suit, Heavy, Clown }
{ "pile_set_name": "Github" }
#include <QGuiApplication> #include <QQmlApplicationEngine> int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/qml/main.qml"))); return app.exec(); }
{ "pile_set_name": "Github" }
<button ${data.rootAttrs} w-onclick="handleClick" w-bind w-body></button>
{ "pile_set_name": "Github" }
class Customer < ActiveResource::Base self.site = "http://37s.sunrise.i:3000" end
{ "pile_set_name": "Github" }
#include "foo.h" void non_modular_use_of_implicit_dtor() { implicit_dtor d1; uninst_implicit_dtor d2; } void use_of_instantiated_declaration_without_definition() { inst<int>(); } void call_always_inline() { always_inl(); }
{ "pile_set_name": "Github" }
var a = 0 def direct(f: Int => Unit) = () direct(/*start*/a = _/*end*/) // Int => Unit
{ "pile_set_name": "Github" }
local b = import 'b.jsonnet'; local a(x) = import 'a.jsonnet'; // Not a proper import! true
{ "pile_set_name": "Github" }
# frozen_string_literal: true module Api module V1 class InventoryStatusItemSerializer < ActiveModel::Serializer type :inventory_status_items attributes :status, :icon end end end
{ "pile_set_name": "Github" }
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <QuartzCore/CAShapeLayer.h> @class CAGradientLayer, NSArray, NSString; @interface TSKGradientShapeLayer : CAShapeLayer { CAGradientLayer *_gradient; CAShapeLayer *_shapeMask; } @property(retain, nonatomic) CAShapeLayer *shapeMask; // @synthesize shapeMask=_shapeMask; @property(retain, nonatomic) CAGradientLayer *gradient; // @synthesize gradient=_gradient; - (void)p_flatten; - (void)p_createGradientTreeIfNeeded; - (BOOL)isGradientTree; @property(copy) NSString *type; @property struct CGPoint endPoint; @property struct CGPoint startPoint; @property(copy) NSArray *locations; @property(copy) NSArray *colors; - (void)setLineDashPattern:(id)arg1; - (void)setLineDashPhase:(double)arg1; - (void)setLineJoin:(id)arg1; - (void)setLineCap:(id)arg1; - (void)setMiterLimit:(double)arg1; - (void)setLineWidth:(double)arg1; - (void)setStrokeEnd:(double)arg1; - (void)setStrokeStart:(double)arg1; - (void)setStrokeColor:(struct CGColor *)arg1; - (void)setFillRule:(id)arg1; - (void)setFillColor:(struct CGColor *)arg1; - (void)setPath:(struct CGPath *)arg1; - (void)setDelegate:(id)arg1; - (void)dealloc; @end
{ "pile_set_name": "Github" }
module VERIFICATION imports TEST endmodule module TEST-4-SPEC imports VERIFICATION rule <k> add(f(X), f(3)) => end </k> <a> 2 |-> 3 M => ?_ </a> endmodule
{ "pile_set_name": "Github" }
p edge 20 23 e 1 10 e 3 19 e 3 0 e 4 2 e 5 0 e 6 11 e 6 18 e 8 13 e 9 5 e 9 4 e 10 7 e 11 1 e 12 7 e 14 8 e 14 15 e 16 15 e 16 0 e 16 13 e 17 12 e 17 2 e 18 8 e 19 15 e 19 13
{ "pile_set_name": "Github" }
# SPDX-License-Identifier: GPL-2.0-only EROFS_VERSION = "1.0" ccflags-y += -DEROFS_VERSION=\"$(EROFS_VERSION)\" obj-$(CONFIG_EROFS_FS) += erofs.o erofs-objs := super.o inode.o data.o namei.o dir.o utils.o erofs-$(CONFIG_EROFS_FS_XATTR) += xattr.o erofs-$(CONFIG_EROFS_FS_ZIP) += decompressor.o zmap.o zdata.o
{ "pile_set_name": "Github" }
// This header file is in the public domain. #ifndef Arduino_h #define Arduino_h #include "WProgram.h" #include "pins_arduino.h" #endif
{ "pile_set_name": "Github" }
.PHONY: all all: clean $(JAVAC) -processor org.checkerframework.checker.nullness.NullnessChecker Issue502.java # TODO: This test is rather unstable, as Expected.txt relies on # @SideEffectFree being constant #12(). $(JAVAP) -v Issue502.class | grep "RuntimeVisibleAnnotations:" -A 2 > Out.txt 2>&1 diff -u Expected.txt Out.txt clean: rm -f Issue502.class Out.txt
{ "pile_set_name": "Github" }
require "test_helper" class ConversionsTestCase < Test::Unit::TestCase def setup LLVM.init_x86 end def test_trunc_to integer_conversion_assertion(:trunc, LLVM::Int32.from_i(257), LLVM::Int8, LLVM_UNSIGNED, 1) integer_conversion_assertion(:trunc, LLVM::Int32.from_i(123), LLVM::Int1, LLVM_UNSIGNED, 1) integer_conversion_assertion(:trunc, LLVM::Int32.from_i(122), LLVM::Int1, LLVM_UNSIGNED, 0) end def test_zext_to integer_conversion_assertion(:zext, LLVM::Int16.from_i(257), LLVM::Int32, LLVM_UNSIGNED, 257) end def test_sext_to integer_conversion_assertion(:sext, LLVM::Int1.from_i(1), LLVM::Int32, LLVM_SIGNED, -1) integer_conversion_assertion(:sext, LLVM::Int8.from_i(-1), LLVM::Int16, LLVM_UNSIGNED, 65535) end def test_fptrunc_to float_conversion_assertion(:fp_trunc, LLVM::Double(123.0), LLVM::Float, 123.0) end def test_fpext_to float_conversion_assertion(:fp_ext, LLVM::Float(123.0), LLVM::Double, 123.0) float_conversion_assertion(:fp_ext, LLVM::Float(123.0), LLVM::Float, 123.0) end def test_fptoui_to different_type_assertion(:fp2ui, LLVM::Double(123.3), LLVM::Int32, :integer, 123) different_type_assertion(:fp2ui, LLVM::Double(0.7), LLVM::Int32, :integer, 0) different_type_assertion(:fp2ui, LLVM::Double(1.7), LLVM::Int32, :integer, 1) end def test_fptosi_to different_type_assertion(:fp2si, LLVM::Double(-123.3), LLVM::Int32, :integer, -123) different_type_assertion(:fp2si, LLVM::Double(0.7), LLVM::Int32, :integer, 0) different_type_assertion(:fp2si, LLVM::Double(1.7), LLVM::Int32, :integer, 1) end def test_uitofp_to different_type_assertion(:ui2fp, LLVM::Int32.from_i(257), LLVM::Float, :float, 257.0) different_type_assertion(:ui2fp, LLVM::Int8.from_i(-1), LLVM::Double, :float, 255.0) end def test_sitofp_to different_type_assertion(:si2fp, LLVM::Int32.from_i(257), LLVM::Float, :float, 257.0) different_type_assertion(:si2fp, LLVM::Int8.from_i(-1), LLVM::Double, :float, -1.0) end def test_bitcast_to different_type_assertion(:bit_cast, LLVM::Int8.from_i(255), LLVM::Int8, :integer, -1) end def test_int64 integer_conversion_assertion(:zext, LLVM::Int64.from_i(2**62 + 123), LLVM::Int64, LLVM_SIGNED, 2**62 + 123) integer_conversion_assertion(:zext, LLVM::Int64.from_i(-2**62 - 123), LLVM::Int64, LLVM_SIGNED, -2**62 - 123) integer_conversion_assertion(:zext, LLVM::Int64.from_i(2**63 + 123), LLVM::Int64, LLVM_UNSIGNED, 2**63 + 123) end def integer_conversion_assertion(operation, operand, return_type, signed, expected_result) result = run_conversion_operation(operation, operand, return_type) assert_equal expected_result, result.to_i(signed) end def float_conversion_assertion(operation, operand, return_type, expected_result) result = run_conversion_operation(operation, operand, return_type) assert_in_delta expected_result, result.to_f(return_type), 0.001 end def different_type_assertion(operation, operand, return_type, assertion_type, expected_result) result = run_conversion_operation(operation, operand, return_type) if assertion_type == :integer assert_equal expected_result, result.to_i else assert_in_delta expected_result, result.to_f(return_type), 0.001 end end def run_conversion_operation(operation, operand, return_type) run_function([], [], return_type) do |builder, function, *arguments| entry = function.basic_blocks.append builder.position_at_end(entry) builder.ret(builder.send(operation, operand, return_type)) end end end
{ "pile_set_name": "Github" }
{ "notes": "", "support": { "Android Browser": "y 4.4", "Baidu Browser": "y 7.12", "Blackberry Browser": "y 10", "Chrome": "y 30", "Chrome for Android": "y 74", "Edge": "y 75", "Firefox": "y 16", "Firefox for Android": "y 66", "IE": "n 11", "IE Mobile": "n 11", "KaiOS Browser": "y 2.5", "Opera": "y 17", "Opera Mini": "n all", "Opera Mobile": "y 46", "QQ Browser": "y 1.2", "Safari": "n TP", "Samsung Internet": "y 4", "UC Browser for Android": "y 11.8", "iOS Safari": "n 13" }, "url": "https://www.w3.org/TR/vibration/" }
{ "pile_set_name": "Github" }
JSDOC.PluginManager.registerPlugin( "JSDOC.tagParamConfig", { onDocCommentTags: function(comment) { var currentParam = null; var tags = comment.tags; for (var i = 0, l = tags.length; i < l; i++) { if (tags[i].title == "param") { if (tags[i].name.indexOf(".") == -1) { currentParam = i; } } else if (tags[i].title == "config") { tags[i].title = "param"; if (currentParam == null) { tags[i].name = "arguments"+"."+tags[i].name; } else if (tags[i].name.indexOf(tags[currentParam].name+".") != 0) { tags[i].name = tags[currentParam].name+"."+tags[i].name; } currentParam != null //tags[currentParam].properties.push(tags[i]); } else { currentParam = null; } } } } );
{ "pile_set_name": "Github" }
import { browser, by, element } from 'protractor'; export class AppPage { navigateTo() { return browser.get('/'); } getTitleText() { return element(by.css('app-root h1')).getText(); } }
{ "pile_set_name": "Github" }
/// Author: /// Created: 2008-06-22 /// Last Modified: 2012-03-04 /// /// The use and distribution terms for this software are covered by the /// Common Public License 1.0 (http://opensource.org/licenses/cpl.php) /// which can be found in the file CPL.TXT at the root of this distribution. /// By using this software in any fashion, you are agreeing to be bound by /// the terms of this license. /// /// You must not remove this notice, or any other, from this software. using System; using System.Data; using System.Configuration; namespace mojoPortal.Data { public static class DBPayPalLog { /// <summary> /// Inserts a row in the mp_PayPalLog table. Returns rows affected count. /// </summary> /// <param name="rowGuid"> rowGuid </param> /// <param name="createdUtc"> createdUtc </param> /// <param name="siteGuid"> siteGuid </param> /// <param name="userGuid"> userGuid </param> /// <param name="storeGuid"> storeGuid </param> /// <param name="cartGuid"> cartGuid </param> /// <param name="requestType"> requestType </param> /// <param name="apiVersion"> apiVersion </param> /// <param name="rawResponse"> rawResponse </param> /// <param name="token"> token </param> /// <param name="payerId"> payerId </param> /// <param name="transactionId"> transactionId </param> /// <param name="paymentType"> paymentType </param> /// <param name="paymentStatus"> paymentStatus </param> /// <param name="pendingReason"> pendingReason </param> /// <param name="reasonCode"> reasonCode </param> /// <param name="currencyCode"> currencyCode </param> /// <param name="exchangeRate"> exchangeRate </param> /// <param name="cartTotal"> cartTotal </param> /// <param name="payPalAmt"> payPalAmt </param> /// <param name="taxAmt"> taxAmt </param> /// <param name="feeAmt"> feeAmt </param> /// <param name="settleAmt"> settleAmt </param> /// <returns>int</returns> public static int Create( Guid rowGuid, DateTime createdUtc, Guid siteGuid, Guid userGuid, Guid storeGuid, Guid cartGuid, string requestType, string apiVersion, string rawResponse, string token, string payerId, string transactionId, string paymentType, string paymentStatus, string pendingReason, string reasonCode, string currencyCode, decimal exchangeRate, decimal cartTotal, decimal payPalAmt, decimal taxAmt, decimal feeAmt, decimal settleAmt, string providerName, string returnUrl, string serializedObject, string pdtProviderName, string ipnProviderName, string response) { SqlParameterHelper sph = new SqlParameterHelper(ConnectionString.GetWriteConnectionString(), "mp_PayPalLog_Insert", 29); sph.DefineSqlParameter("@RowGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, rowGuid); sph.DefineSqlParameter("@CreatedUtc", SqlDbType.DateTime, ParameterDirection.Input, createdUtc); sph.DefineSqlParameter("@SiteGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, siteGuid); sph.DefineSqlParameter("@UserGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, userGuid); sph.DefineSqlParameter("@StoreGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, storeGuid); sph.DefineSqlParameter("@CartGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, cartGuid); sph.DefineSqlParameter("@RequestType", SqlDbType.NVarChar, 255, ParameterDirection.Input, requestType); sph.DefineSqlParameter("@ApiVersion", SqlDbType.NVarChar, 50, ParameterDirection.Input, apiVersion); sph.DefineSqlParameter("@RawResponse", SqlDbType.NVarChar, -1, ParameterDirection.Input, rawResponse); sph.DefineSqlParameter("@Token", SqlDbType.NVarChar, 50, ParameterDirection.Input, token); sph.DefineSqlParameter("@PayerId", SqlDbType.NVarChar, 50, ParameterDirection.Input, payerId); sph.DefineSqlParameter("@TransactionId", SqlDbType.NVarChar, 50, ParameterDirection.Input, transactionId); sph.DefineSqlParameter("@PaymentType", SqlDbType.NVarChar, 10, ParameterDirection.Input, paymentType); sph.DefineSqlParameter("@PaymentStatus", SqlDbType.NVarChar, 50, ParameterDirection.Input, paymentStatus); sph.DefineSqlParameter("@PendingReason", SqlDbType.NVarChar, 255, ParameterDirection.Input, pendingReason); sph.DefineSqlParameter("@ReasonCode", SqlDbType.NVarChar, 50, ParameterDirection.Input, reasonCode); sph.DefineSqlParameter("@CurrencyCode", SqlDbType.NVarChar, 50, ParameterDirection.Input, currencyCode); sph.DefineSqlParameter("@ExchangeRate", SqlDbType.Decimal, ParameterDirection.Input, exchangeRate); sph.DefineSqlParameter("@CartTotal", SqlDbType.Decimal, ParameterDirection.Input, cartTotal); sph.DefineSqlParameter("@PayPalAmt", SqlDbType.Decimal, ParameterDirection.Input, payPalAmt); sph.DefineSqlParameter("@TaxAmt", SqlDbType.Decimal, ParameterDirection.Input, taxAmt); sph.DefineSqlParameter("@FeeAmt", SqlDbType.Decimal, ParameterDirection.Input, feeAmt); sph.DefineSqlParameter("@SettleAmt", SqlDbType.Decimal, ParameterDirection.Input, settleAmt); sph.DefineSqlParameter("@ProviderName", SqlDbType.NVarChar, 255, ParameterDirection.Input, providerName); sph.DefineSqlParameter("@ReturnUrl", SqlDbType.NVarChar, 255, ParameterDirection.Input, returnUrl); sph.DefineSqlParameter("@SerializedObject", SqlDbType.NVarChar, -1, ParameterDirection.Input, serializedObject); sph.DefineSqlParameter("@PDTProviderName", SqlDbType.NVarChar, 255, ParameterDirection.Input, pdtProviderName); sph.DefineSqlParameter("@IPNProviderName", SqlDbType.NVarChar, 255, ParameterDirection.Input, ipnProviderName); sph.DefineSqlParameter("@Response", SqlDbType.NVarChar, 255, ParameterDirection.Input, response); int rowsAffected = sph.ExecuteNonQuery(); return rowsAffected; } /// <summary> /// Updates a row in the mp_PayPalLog table. Returns true if row updated. /// </summary> /// <param name="rowGuid"> rowGuid </param> /// <param name="createdUtc"> createdUtc </param> /// <param name="siteGuid"> siteGuid </param> /// <param name="userGuid"> userGuid </param> /// <param name="storeGuid"> storeGuid </param> /// <param name="cartGuid"> cartGuid </param> /// <param name="requestType"> requestType </param> /// <param name="apiVersion"> apiVersion </param> /// <param name="rawResponse"> rawResponse </param> /// <param name="token"> token </param> /// <param name="payerId"> payerId </param> /// <param name="transactionId"> transactionId </param> /// <param name="paymentType"> paymentType </param> /// <param name="paymentStatus"> paymentStatus </param> /// <param name="pendingReason"> pendingReason </param> /// <param name="reasonCode"> reasonCode </param> /// <param name="currencyCode"> currencyCode </param> /// <param name="exchangeRate"> exchangeRate </param> /// <param name="cartTotal"> cartTotal </param> /// <param name="payPalAmt"> payPalAmt </param> /// <param name="taxAmt"> taxAmt </param> /// <param name="feeAmt"> feeAmt </param> /// <param name="settleAmt"> settleAmt </param> /// <returns>bool</returns> public static bool Update( Guid rowGuid, DateTime createdUtc, Guid siteGuid, Guid userGuid, Guid storeGuid, Guid cartGuid, string requestType, string apiVersion, string rawResponse, string token, string payerId, string transactionId, string paymentType, string paymentStatus, string pendingReason, string reasonCode, string currencyCode, decimal exchangeRate, decimal cartTotal, decimal payPalAmt, decimal taxAmt, decimal feeAmt, decimal settleAmt) { SqlParameterHelper sph = new SqlParameterHelper(ConnectionString.GetWriteConnectionString(), "mp_PayPalLog_Update", 23); sph.DefineSqlParameter("@RowGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, rowGuid); sph.DefineSqlParameter("@CreatedUtc", SqlDbType.DateTime, ParameterDirection.Input, createdUtc); sph.DefineSqlParameter("@SiteGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, siteGuid); sph.DefineSqlParameter("@UserGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, userGuid); sph.DefineSqlParameter("@StoreGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, storeGuid); sph.DefineSqlParameter("@CartGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, cartGuid); sph.DefineSqlParameter("@RequestType", SqlDbType.NVarChar, 255, ParameterDirection.Input, requestType); sph.DefineSqlParameter("@ApiVersion", SqlDbType.NVarChar, 50, ParameterDirection.Input, apiVersion); sph.DefineSqlParameter("@RawResponse", SqlDbType.NVarChar, -1, ParameterDirection.Input, rawResponse); sph.DefineSqlParameter("@Token", SqlDbType.NVarChar, 50, ParameterDirection.Input, token); sph.DefineSqlParameter("@PayerId", SqlDbType.NVarChar, 50, ParameterDirection.Input, payerId); sph.DefineSqlParameter("@TransactionId", SqlDbType.NVarChar, 50, ParameterDirection.Input, transactionId); sph.DefineSqlParameter("@PaymentType", SqlDbType.NVarChar, 10, ParameterDirection.Input, paymentType); sph.DefineSqlParameter("@PaymentStatus", SqlDbType.NVarChar, 50, ParameterDirection.Input, paymentStatus); sph.DefineSqlParameter("@PendingReason", SqlDbType.NVarChar, 255, ParameterDirection.Input, pendingReason); sph.DefineSqlParameter("@ReasonCode", SqlDbType.NVarChar, 50, ParameterDirection.Input, reasonCode); sph.DefineSqlParameter("@CurrencyCode", SqlDbType.NVarChar, 50, ParameterDirection.Input, currencyCode); sph.DefineSqlParameter("@ExchangeRate", SqlDbType.Decimal, ParameterDirection.Input, exchangeRate); sph.DefineSqlParameter("@CartTotal", SqlDbType.Decimal, ParameterDirection.Input, cartTotal); sph.DefineSqlParameter("@PayPalAmt", SqlDbType.Decimal, ParameterDirection.Input, payPalAmt); sph.DefineSqlParameter("@TaxAmt", SqlDbType.Decimal, ParameterDirection.Input, taxAmt); sph.DefineSqlParameter("@FeeAmt", SqlDbType.Decimal, ParameterDirection.Input, feeAmt); sph.DefineSqlParameter("@SettleAmt", SqlDbType.Decimal, ParameterDirection.Input, settleAmt); int rowsAffected = sph.ExecuteNonQuery(); return (rowsAffected > 0); } /// <summary> /// Deletes a row from the mp_PayPalLog table. Returns true if row deleted. /// </summary> /// <param name="rowGuid"> rowGuid </param> /// <returns>bool</returns> public static bool Delete(Guid rowGuid) { SqlParameterHelper sph = new SqlParameterHelper(ConnectionString.GetWriteConnectionString(), "mp_PayPalLog_Delete", 1); sph.DefineSqlParameter("@RowGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, rowGuid); int rowsAffected = sph.ExecuteNonQuery(); return (rowsAffected > 0); } public static bool DeleteByCart(Guid cartGuid) { SqlParameterHelper sph = new SqlParameterHelper(ConnectionString.GetWriteConnectionString(), "mp_PayPalLog_DeleteByCart", 1); sph.DefineSqlParameter("@CartGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, cartGuid); int rowsAffected = sph.ExecuteNonQuery(); return (rowsAffected > 0); } public static bool DeleteBySite(Guid siteGuid) { SqlParameterHelper sph = new SqlParameterHelper(ConnectionString.GetWriteConnectionString(), "mp_PayPalLog_DeleteBySite", 1); sph.DefineSqlParameter("@SiteGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, siteGuid); int rowsAffected = sph.ExecuteNonQuery(); return (rowsAffected > 0); } public static bool DeleteByStore(Guid storeGuid) { SqlParameterHelper sph = new SqlParameterHelper(ConnectionString.GetWriteConnectionString(), "mp_PayPalLog_DeleteByStore", 1); sph.DefineSqlParameter("@StoreGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, storeGuid); int rowsAffected = sph.ExecuteNonQuery(); return (rowsAffected > 0); } /// <summary> /// Gets an IDataReader with one row from the mp_PayPalLog table. /// </summary> /// <param name="rowGuid"> rowGuid </param> public static IDataReader GetOne(Guid rowGuid) { SqlParameterHelper sph = new SqlParameterHelper(ConnectionString.GetReadConnectionString(), "mp_PayPalLog_SelectOne", 1); sph.DefineSqlParameter("@RowGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, rowGuid); return sph.ExecuteReader(); } /// <summary> /// Gets an IDataReader with rows from the mp_PayPalLog table. /// </summary> /// <param name="rowGuid"> rowGuid </param> public static IDataReader GetByCart(Guid cartGuid) { SqlParameterHelper sph = new SqlParameterHelper(ConnectionString.GetReadConnectionString(), "mp_PayPalLog_SelectByCart", 1); sph.DefineSqlParameter("@CartGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, cartGuid); return sph.ExecuteReader(); } /// <summary> /// Gets an IDataReader with one row from the mp_PayPalLog table. /// </summary> /// <param name="rowGuid"> rowGuid </param> public static IDataReader GetSetExpressCheckout(string token) { SqlParameterHelper sph = new SqlParameterHelper(ConnectionString.GetReadConnectionString(), "mp_PayPalLog_SelectSetExpressCheckoutByToken", 1); sph.DefineSqlParameter("@Token", SqlDbType.NVarChar, 50, ParameterDirection.Input, token); return sph.ExecuteReader(); } public static IDataReader GetMostRecentLog(Guid cartGuid, string requestType) { SqlParameterHelper sph = new SqlParameterHelper(ConnectionString.GetReadConnectionString(), "mp_PayPalLog_SelectNewestLog", 2); sph.DefineSqlParameter("@CartGuid", SqlDbType.UniqueIdentifier, ParameterDirection.Input, cartGuid); sph.DefineSqlParameter("@RequestType", SqlDbType.NVarChar, 255, ParameterDirection.Input, requestType); return sph.ExecuteReader(); } ///// <summary> ///// Gets a count of rows in the mp_PayPalLog table. ///// </summary> //public static int GetCount() //{ // return Convert.ToInt32(SqlHelper.ExecuteScalar( // GetConnectionString(), // CommandType.StoredProcedure, // "mp_PayPalLog_GetCount", // null)); //} ///// <summary> ///// Gets an IDataReader with all rows in the mp_PayPalLog table. ///// </summary> //public static IDataReader GetAll() //{ // return SqlHelper.ExecuteReader( // GetConnectionString(), // CommandType.StoredProcedure, // "mp_PayPalLog_SelectAll", // null); //} ///// <summary> ///// Gets a page of data from the mp_PayPalLog table. ///// </summary> ///// <param name="pageNumber">The page number.</param> ///// <param name="pageSize">Size of the page.</param> ///// <param name="totalPages">total pages</param> //public static IDataReader GetPage( // int pageNumber, // int pageSize, // out int totalPages) //{ // totalPages = 1; // int totalRows // = GetCount(); // if (pageSize > 0) totalPages = totalRows / pageSize; // if (totalRows <= pageSize) // { // totalPages = 1; // } // else // { // int remainder; // Math.DivRem(totalRows, pageSize, out remainder); // if (remainder > 0) // { // totalPages += 1; // } // } // SqlParameterHelper sph = new SqlParameterHelper(GetConnectionString(), "mp_PayPalLog_SelectPage", 2); // sph.DefineSqlParameter("@PageNumber", SqlDbType.Int, ParameterDirection.Input, pageNumber); // sph.DefineSqlParameter("@PageSize", SqlDbType.Int, ParameterDirection.Input, pageSize); // return sph.ExecuteReader(); //} } }
{ "pile_set_name": "Github" }
############################################################# # # SAWMAN # ############################################################# SAWMAN_VERSION = 1.4.16 SAWMAN_SOURCE = SaWMan-$(SAWMAN_VERSION).tar.gz SAWMAN_SITE = http://www.directfb.org/downloads/Extras SAWMAN_INSTALL_STAGING = YES SAWMAN_DEPENDENCIES = directfb $(eval $(autotools-package))
{ "pile_set_name": "Github" }
// Copyright © 2019 Banzai Cloud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // +build !linux package kubernetes import ( "io" "emperror.dev/errors" ) func (r *Runtime) installRuntime(w io.Writer) error { return errors.Errorf("unsupported operating system") }
{ "pile_set_name": "Github" }
struct A { void * vA; A() : vA {nullptr} {} }; struct B { void * vB {nullptr}; B() {} }; struct C { void * vC {nullptr}; C() : vC {nullptr} {} };
{ "pile_set_name": "Github" }
LIBRARY api-ms-win-gaming-tcui-l1-1-1.dll EXPORTS CheckGamingPrivilegeSilently@16 CheckGamingPrivilegeWithUI@24
{ "pile_set_name": "Github" }
{ "name": "BTCPay Server Documentation", "short_name": "BTCPay Docs", "icons": [ { "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, { "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" } ], "theme_color": "#ffffff", "background_color": "#ffffff", "display": "standalone" }
{ "pile_set_name": "Github" }
FROM multiarch/ubuntu-core:armhf-bionic WORKDIR /src RUN apt update \ && apt install --no-install-recommends -y ninja-build clang++-9 cmake \ && apt -y clean
{ "pile_set_name": "Github" }
# SQL Server demo with Polybase with HDFS (using Azure Blog Storage) This demo is an example of creating and using an external table for HDFS using Azure Blog Storage. ## Requirements - Install SQL Server 2019 Polybase. - Choose to install the Java option. - Enable Polybase using the following T-SQL statement: exec sp_configure @configname = 'polybase enabled', @configvalue = 1; RECONFIGURE [ WITH OVERRIDE ] ; - Create an Azure Storage container to hold the hdfs data. - For further information look at the documentation at https://docs.microsoft.com/en-us/sql/relational-databases/polybase/polybase-configure-azure-blob-storage. ## Demo Steps - Run all the T-SQL commands in **hdfs_external_table.sql**. You will need to edit the appropriate details to point to your Azure storage container including the credential and location for the data source.
{ "pile_set_name": "Github" }
# Bad IRI : good escape, bad charcater {<http://example/\u0020> <http://example/p> <http://example/o> .}
{ "pile_set_name": "Github" }
battre@chromium.org bauerb@chromium.org gab@chromium.org pam@chromium.org # COMPONENT: UI>Browser>Preferences
{ "pile_set_name": "Github" }
package com.cgutman.adblib; /** * This interface specifies the required functions for AdbCrypto to * perform Base64 encoding of its public key. * @author Cameron Gutman */ public interface AdbBase64 { /** * This function must encoded the specified data as a base 64 string, without * appending any extra newlines or other characters. * @param data Data to encode * @return String containing base 64 encoded data */ public String encodeToString(byte[] data); }
{ "pile_set_name": "Github" }
admin::groups: - FooBar1 an_hash: test2: true test3: another: "level"
{ "pile_set_name": "Github" }
predicate fzn_if_then_else_var_opt_bool(array[int] of var bool: c, array[int] of var opt bool: x, var opt bool: y) = let { array[index_set(c)] of var bool: d; } in forall(i in index_set(c)) (if i > min(index_set(c)) then d[i] = (not c[i-1] /\ d[i-1]) else d[i] = true endif) /\ forall (i in index_set(c)) (c[i] /\ d[i] -> y=x[i]);
{ "pile_set_name": "Github" }
PHA + LDA $45 + PHA Part of code storing some zeropage variables on the stack, not even in the same order - trivial, not copyrightable.
{ "pile_set_name": "Github" }
@import '../../scss/global/variables'; .footer { background: $light-blue; font-size: $scaledown-1; padding: $scaleup-4 0; a { color: $slate-80; &:hover { color: $primary; } } ul { display: flex; justify-content: center; @media (max-width: $width-mobile) { flex-wrap: wrap; } } li { @media (max-width: $width-mobile) { margin: 0 $scale-base-up-04 $scale-base-down-02; } &::after { content: ' | '; display: inline-block; margin: 0 $scale-base-up-05; @media (max-width: $width-mobile) { display: none; } } } li:last-of-type { &::after { display: none; } } } .footer-logo { display: block; margin: 0 auto 20px; height: 28px; width: 28px; background: url('https://sendgrid.com/brand/sg-mark.svg') no-repeat center center; background-size: 34px; }
{ "pile_set_name": "Github" }
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-12-19 12:35 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('CMDB', '0036_auto_20181213_1404'), ] operations = [ migrations.AlterUniqueTogether( name='networkcard_assets', unique_together=set([('host', 'macaddress', 'ip')]), ), ]
{ "pile_set_name": "Github" }
{ "author": { "edges": [ { "node": { "id": "1", "name": "Ned Stark", "books": { "edges": [ { "node": { "id": "1", "title": "Libro One", "authors": { "edges": [ { "node": { "id": "1", "name": "Ned Stark" } } ] } } } ] } } } ] } }
{ "pile_set_name": "Github" }
error[E0054]: cannot cast as `bool` --> $DIR/cast-rfc0401-2.rs:6:13 | LL | let _ = 3 as bool; | ^^^^^^^^^ help: compare with zero instead: `3 != 0` error: aborting due to previous error For more information about this error, try `rustc --explain E0054`.
{ "pile_set_name": "Github" }
/** * @file util * @author xxx */ export function test() { if (process.env.NODE_DEV === 'dev') { console.log('dev', 'https://smartapp.baidu.com/test'); console.log('dv', 'https://my.baidu.com/test'); } }
{ "pile_set_name": "Github" }
{ "name": "Cofense Triage", "description": "Use the Cofense Triage integration to manage reports and attachments.", "support": "partner", "currentVersion": "1.1.5", "author": "Cofense", "url": "https://cofense.com/contact-support/", "email": "support@cofense.com", "created": "2020-04-14T00:00:00Z", "categories": [ "Data Enrichment & Threat Intelligence" ], "tags": [], "useCases": [], "keywords": [], "githubUser": [ "elebow" ] }
{ "pile_set_name": "Github" }
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Aws.WafV2.Inputs { public sealed class WebAclRuleStatementOrStatementStatementOrStatementStatementByteMatchStatementFieldToMatchBodyGetArgs : Pulumi.ResourceArgs { public WebAclRuleStatementOrStatementStatementOrStatementStatementByteMatchStatementFieldToMatchBodyGetArgs() { } } }
{ "pile_set_name": "Github" }
ADD_GEMRB_PLUGIN (STOImporter STOImporter.cpp)
{ "pile_set_name": "Github" }
Version: 1.0 RestoreWorkspace: No SaveWorkspace: No AlwaysSaveHistory: Default EnableCodeIndexing: Yes UseSpacesForTab: Yes NumSpacesForTab: 2 Encoding: UTF-8 RnwWeave: Sweave LaTeX: XeLaTeX AutoAppendNewline: Yes StripTrailingWhitespace: Yes BuildType: Package PackageUseDevtools: Yes PackageInstallArgs: --no-multiarch --with-keep.source PackageRoxygenize: rd,collate,namespace
{ "pile_set_name": "Github" }
foo
{ "pile_set_name": "Github" }
AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions TYPE: lookup VERSION: 4.0.0 DEFAULT: array('td' => true, 'th' => true) --DESCRIPTION-- <p> When %AutoFormat.RemoveEmpty and %AutoFormat.RemoveEmpty.RemoveNbsp are enabled, this directive defines what HTML elements should not be removede if they have only a non-breaking space in them. </p> --# vim: et sw=4 sts=4
{ "pile_set_name": "Github" }
public function {{ method }}() { return null; }
{ "pile_set_name": "Github" }
const {App} = require('jovo-framework'); const { GoogleAssistant } = require('jovo-platform-googleassistant'); const { Alexa } = require('jovo-platform-alexa'); const app = new App(); app.use( new GoogleAssistant(), new Alexa() ); app.setHandler({ async LAUNCH() { let foo = false; let bar = true; this.$speech .addText('HelloWorld') .addBreak('100ms', false) .addAudio('http://www.any.url/test.mp3', 'Text') .addText('Foo', foo) .addText('Bar', bar) .addText(['Text1', 'Text2', 'Text3']) .addBreak(['500ms', '1s']) .addAudio(['url1', 'url2', 'url3']) .addText('Good Bye.'); return this.tell(this.$speech); }, }); module.exports.app = app;
{ "pile_set_name": "Github" }
__ace_shadowed__.define('ace/snippets/csharp', ['require', 'exports', 'module' ], function(require, exports, module) { exports.snippetText = ""; exports.scope = "csharp"; });
{ "pile_set_name": "Github" }
interface val VCSBuilder fun val apply(kind: String): VCS ? class val CorralVCSBuilder let _env: Env new val create(env: Env) => _env = env fun val apply(kind: String): VCS ? => """ Returns a VCS instance for any given VCS by name. """ // TODO: this shouldn't be partial. That's a smell that // a constructor can be partial match kind | "git" => GitVCS(_env)? | "hg" => HgVCS | "bzr" => BzrVCS | "svn" => SvnVCS else NoneVCS end
{ "pile_set_name": "Github" }
Pod::Spec.new do |s| s.name = 'LMJDropdownMenu' s.version = '2.1.0' s.summary = 'An easy way to use dropdown-nemu' s.homepage = 'https://github.com/JerryLMJ/LMJDropdownMenu' s.license = {:type => 'MIT', :file => 'LICENSE' } s.authors = {'JerryLMJ' => 'limingjie_mail@163.com'} s.platform = :ios, '8.0' s.source = {:git => 'https://github.com/JerryLMJ/LMJDropdownMenu.git', :tag => s.version} s.source_files = 'LMJDropdownMenu/**/*' s.requires_arc = true end
{ "pile_set_name": "Github" }
/** * @project: Overload * @author: Overload Tech. * @licence: MIT */ #pragma once #include <functional> #include "OvMaths/API/export.h" namespace OvMaths::Internal { /** * The TransformNotifier is a simple notification system used by transform to send notifications to his children */ class API_OVMATHS TransformNotifier { public: /** * Notifications that the transform can send */ enum class ENotification { TRANSFORM_CHANGED, TRANSFORM_DESTROYED }; /** * The NotificationHandler is a function callback that takes a ENotification in parameters */ using NotificationHandler = std::function<void(ENotification)>; /** * The ID of a NotificationHandler * This value is needed to remove a NotificationHandler from a Notifier */ using NotificationHandlerID = uint64_t; /** * Add a NotificationHandler to the Notifier. The NotificationHandler will receive * every notifications sent by this Notifier. * This method also return a NotificationHandlerID needed to remove the handler later * @param p_notificationHandler */ NotificationHandlerID AddNotificationHandler(NotificationHandler p_notificationHandler); /** * Notify children (NotificationHandler) by sending the given notification * @param p_notification */ void NotifyChildren(ENotification p_notification); /** * Remove a NotificationHandler to the Notifier using the NotificationHandlerID generated * by the "AddNotificationHandler" method. * This method returns true on success (NotificationHandler removed) * @param p_notificationHandlerID */ bool RemoveNotificationHandler(const NotificationHandlerID& p_notificationHandlerID); private: std::unordered_map<NotificationHandlerID, NotificationHandler> m_notificationHandlers; NotificationHandlerID m_availableHandlerID = 0; }; }
{ "pile_set_name": "Github" }