text stringlengths 2 99.9k | meta dict |
|---|---|
import { shallow } from 'avoriaz'
import withBreakpoint from '@/components/withBreakpoint'
describe('<with-breakpoint />', () => {
it('should contain an empty currentBreakpoint', () => {
const breakpoint = shallow(withBreakpoint)
expect(breakpoint.vm.$data.currentBreakpoint).to.equal('small')
})
it('sho... | {
"pile_set_name": "Github"
} |
// Copyright 2008 Google Inc.
// All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions a... | {
"pile_set_name": "Github"
} |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<script src="./dist/pageA.bundle.js"></script>
</body>
</html> | {
"pile_set_name": "Github"
} |
[1, 2, 3]
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<... | {
"pile_set_name": "Github"
} |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* 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://mozil... | {
"pile_set_name": "Github"
} |
import Scheduler from "./scheduler.js";
export interface SpeedActor {
getSpeed: () => number;
}
/**
* @class Speed-based scheduler
*/
export default class Speed<T extends SpeedActor = SpeedActor> extends Scheduler<T> {
/**
* @param {object} item anything with "getSpeed" method
* @param {bool} repeat... | {
"pile_set_name": "Github"
} |
## A Class Decorator that Adds a copy() Method
Originally published: 2013-02-14 20:43:19
Last updated: 2013-02-14 20:43:20
Author: Eric Snow
Here's a class decorator that adds a rudimentary copy() method onto the decorated class. Use it like this:
@copiable
class SomethingDifferent:
def... | {
"pile_set_name": "Github"
} |
(ns clojure-hadoop.config
(:require [clojure-hadoop.imports :as imp]
[clojure-hadoop.load :as load])
(:import (org.apache.hadoop.io.compress
DefaultCodec GzipCodec LzoCodec)))
;; This file defines configuration options for clojure-hadoop.
;;
;; The SAME options may be given either on the ... | {
"pile_set_name": "Github"
} |
package xmlutil
import (
"encoding/base64"
"encoding/xml"
"fmt"
"io"
"reflect"
"strconv"
"strings"
"time"
"github.com/aws/aws-sdk-go/private/protocol"
)
// UnmarshalXML deserializes an xml.Decoder into the container v. V
// needs to match the shape of the XML expected to be decoded.
// If the shape doesn't ... | {
"pile_set_name": "Github"
} |
/* Copyright JS Foundation and other contributors, http://js.foundation
*
* 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 r... | {
"pile_set_name": "Github"
} |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ic... | {
"pile_set_name": "Github"
} |
// Copyright 2017 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 cryptobyte
import (
"errors"
"fmt"
)
// A Builder builds byte strings from fixed-length and length-prefixed values.
// Builders either allocate spac... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2019 Confluent Inc.
*
* Licensed under the Confluent Community License (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.confluent.io/confluent-community-license
*
* Unless required by applicable law or a... | {
"pile_set_name": "Github"
} |
---
govuk::apps::manuals_publisher::mongodb_name: 'govuk_content_production'
govuk::apps::manuals_publisher::mongodb_nodes:
- 'shared-documentdb'
govuk::apps::manuals_publisher::mongodb_username: "%{hiera('shared_documentdb_user')}"
govuk::apps::manuals_publisher::mongodb_password: "%{hiera('shared_documentdb_passwo... | {
"pile_set_name": "Github"
} |
/*
Copyright The Kubernetes Authors.
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, softw... | {
"pile_set_name": "Github"
} |
local mType = Game.createMonsterType("Crypt Shambler")
local monster = {}
monster.description = "a crypt shambler"
monster.experience = 195
monster.outfit = {
lookType = 100,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 330
monster.maxHealth = 330
mon... | {
"pile_set_name": "Github"
} |
// Package systemd/journal implements a client for the journal system. package journal
package journal
import (
"encoding/binary"
"errors"
"fmt"
"net"
"runtime"
"strings"
"sync"
)
// The path to the journald socket.
const systemdSocket = "/run/systemd/journal/socket"
var errMissingEquals = errors.New("journal... | {
"pile_set_name": "Github"
} |
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:... | {
"pile_set_name": "Github"
} |
TAP_DANCE_ENABLE = yes
| {
"pile_set_name": "Github"
} |
<table class="dijit dijitReset dijitInline dijitLeft"
cellspacing='0' cellpadding='0' role="presentation"
><tbody role="presentation"><tr role="presentation"
><td class="dijitReset dijitStretch dijitButtonNode" data-dojo-attach-point="buttonNode" data-dojo-attach-event="ondijitclick:__onClick,onkeydown:_onButton... | {
"pile_set_name": "Github"
} |
import { Rule } from '@angular-devkit/schematics';
import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
import { Schema } from './schema';
import * as sampleDetails from './sample-details';
export default function (options: Schema): Rule {
return componentBuilder(options, sampleDetails);
}
| {
"pile_set_name": "Github"
} |
// Acorn is a tiny, fast JavaScript parser written in JavaScript.
//
// Acorn was written by Marijn Haverbeke, Ingvar Stepanyan, and
// various contributors and released under an MIT license.
//
// Git repositories for Acorn are available at
//
// http://marijnhaverbeke.nl/git/acorn
// https://github.com/marijn... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2013-2020 Automatak, LLC
*
* Licensed to Green Energy Corp (www.greenenergycorp.com) and Automatak
* LLC (www.automatak.com) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Green Energy Co... | {
"pile_set_name": "Github"
} |
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations \u0026 Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": n... | {
"pile_set_name": "Github"
} |
/*
* Minimal debug/trace/assert driver definitions for
* Broadcom 802.11 Networking Adapter.
*
* $Copyright Open Broadcom Corporation$
*
* $Id: wl_dbg.h 472390 2014-04-23 23:32:01Z $
*/
#ifndef _wl_dbg_h_
#define _wl_dbg_h_
/* wl_msg_level is a bit vector with defs in wlioctl.h */
extern uint32 wl_msg_level;
... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<title>ZINSZ-Funktion</title>
<meta charset="utf-8" />
<meta name="description" content="" />
<link type="text/css" rel="stylesheet" href="../editor.css" />
<script type="text/javascript" src="../callback.js"></script>
<script type="text/javascript" src="../search... | {
"pile_set_name": "Github"
} |
<?php
/**
* @file
* Search query extender and helper functions.
*/
/**
* Do a query on the full-text search index for a word or words.
*
* This function is normally only called by each module that supports the
* indexed search (and thus, implements hook_update_index()).
*
* Results are retrieved in two logic... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, and... | {
"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
let a{struct d<A{struct B{func a<g{func b<T where g.e:P{
| {
"pile_set_name": "Github"
} |
//! moment.js locale configuration
//! locale : kazakh (kk)
//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'functi... | {
"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"
@class NSData, NSDictionary, NSError, NSString, NSXMLParser;
@protocol NSXMLParserDelegate <NSObject>
@optional
- (void)parser:(NSXMLParser *)arg1 validation... | {
"pile_set_name": "Github"
} |
FILE(GLOB Eigen_UmfPackSupport_SRCS "*.h")
INSTALL(FILES
${Eigen_UmfPackSupport_SRCS}
DESTINATION ${INCLUDE_INSTALL_DIR}/Eigen/src/UmfPackSupport COMPONENT Devel
)
| {
"pile_set_name": "Github"
} |
before1, before2 {
declaration: value;
&:nested1, & :nested2 {
declaration: value;
}
& :nested3, &:nested4 {
declaration: value;
}
}
before1, before2 {
declaration: value;
:nested1, &:nested2 {
declaration: value;
}
nested3, & nested4 {
declaration: value;
}
}
before1, before2 {
... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jul 6 2018 12:02:43).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <SketchModel/MSBitmapLayer.h>
@interface MSBitmapLayer (DataApplicable)
- (void)applyData:(id)arg1 fromDataSupplier:(id)arg2 i... | {
"pile_set_name": "Github"
} |
<Window x:Class="ExampleBrowser.Examples.TriangularizationDemo.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:HelixToolkit="clr-namespace:HelixToolkit.Wpf;assembly=HelixToolkit.Wpf"
xmlns:tri... | {
"pile_set_name": "Github"
} |
/**
* Prim's algorithm is a greedy algorithm that finds a minimum
* spanning tree for a connected weighted undirected graph.
*
* @example
*
* var Prim = require('path-to-algorithms/src/graphs/spanning-trees/prim');
* var Graph = Prim.Graph;
* var Edge = Prim.Edge;
* var Vertex = Prim.Vertex;
*
* var graph, e... | {
"pile_set_name": "Github"
} |
module.exports = require('./dist/config')
| {
"pile_set_name": "Github"
} |
Generator of Nit extern classes to wrap Objective-C services.
# Description
_objcwrapper_ is a tool to help access Objective-C classes and methods from Nit.
It generates Nit code composed of extern classes and extern methods from the Objective-C FFI.
The code should be valid Nit, but it may need some tweaking by hand... | {
"pile_set_name": "Github"
} |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* t... | {
"pile_set_name": "Github"
} |
using System;
using System.Transactions;
using Abp.Data;
using Abp.Dependency;
using Abp.Domain.Uow;
using Abp.EntityFrameworkCore;
using Abp.Extensions;
using Abp.MultiTenancy;
using Microsoft.EntityFrameworkCore;
namespace Abp.Zero.EntityFrameworkCore
{
public abstract class AbpZeroDbMigrator<TDbContext> : IAbp... | {
"pile_set_name": "Github"
} |
/*---------------------------------------------------------------------------*\
OneFLOW - LargeScale Multiphysics Scientific Simulation Environment
Copyright (C) 2017-2020 He Xin and the OneFLOW contributors.
-------------------------------------------------------------------------------
License
This file i... | {
"pile_set_name": "Github"
} |
/**
* Select2 Portuguese (Portugal) translation
*/
(function ($) {
"use strict";
$.extend($.fn.select2.defaults, {
formatNoMatches: function () { return "Nenhum resultado encontrado"; },
formatInputTooShort: function (input, min) { var n = min - input.length; return "Introduza " + n + " carac... | {
"pile_set_name": "Github"
} |
//@flow
import React from 'react';
import { pick } from '../../libs/utils'
import { PropTypes } from '../../libs';
import BasePicker from './BasePicker'
import DateRangePanel from './panel/DateRangePanel'
import type { DateRangePickerProps } from './Types';
export default class DateRangePicker extends BasePicker {
... | {
"pile_set_name": "Github"
} |
#import <Foundation/Foundation.h>
@interface PodsDummy_ZMJGanttChart_iOS9_3 : NSObject
@end
@implementation PodsDummy_ZMJGanttChart_iOS9_3
@end
| {
"pile_set_name": "Github"
} |
# This file is just a pointer to the file
#
# "Library/./maCalcDB/setAlgebra13Inequalities/ur_ab_7_1.pg"
#
# You may want to change your problem set to use that problem
# directly, especially if you want to make a copy of the problem
# for modification.
DOCUMENT();
includePGproblem("Library/./maCalcDB/setAlgebra13Ineq... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2019-2020 Unbounded Systems, LLC
*
* 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 l... | {
"pile_set_name": "Github"
} |
=pod
=head1 NAME
openssl-rsautl,
rsautl - RSA utility
=head1 SYNOPSIS
B<openssl> B<rsautl>
[B<-help>]
[B<-in file>]
[B<-out file>]
[B<-inkey file>]
[B<-keyform PEM|DER|ENGINE>]
[B<-pubin>]
[B<-certin>]
[B<-sign>]
[B<-verify>]
[B<-encrypt>]
[B<-decrypt>]
[B<-rand file...>]
[B<-writerand file>]
[B<-pkcs>]
[B<-ssl>]
[... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2008-2013 Various Authors
* Copyright 2004 Timo Hirvonen
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later ... | {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | {
"pile_set_name": "Github"
} |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not... | {
"pile_set_name": "Github"
} |
#
# Copyright (C) 2010-2017 Samuel Abels
# The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files
# (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy,... | {
"pile_set_name": "Github"
} |
/* Interface to GNU libc specific functions for version information.
Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License... | {
"pile_set_name": "Github"
} |
/* Area: ffi_call, closure_call
Purpose: Check structure alignment of sint16.
Limitations: none.
PR: none.
Originator: <hos@tamanegi.org> 20031203 */
/* { dg-do run } */
#include "ffitest.h"
typedef struct cls_struct_align {
unsigned char a;
signed short b;
unsigned char c;
} cls_struct_align;
cl... | {
"pile_set_name": "Github"
} |
/*!
* jQuery UI Effects Blind 1.10.3
* http://jqueryui.com
*
* Copyright 2013 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/blind-effect/
*
* Depends:
* jquery.ui.effect.js
*/
(function( $, undefined ) {
var rvertical = /u... | {
"pile_set_name": "Github"
} |
#
# Text, formatting for JXDatePicker
#
JXDatePicker.linkFormat=Today is {0,date}
# Issue #945-swingx: force a default fallback here not the right thing to
# for locales which do not have a properties file. In that case the
# language defaults provide a better fit
#JXDatePicker.longFormat=EEE MM/dd/yyyy
#JXDate... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
require 'open-uri'
class PgpAnnotationjob
include Sidekiq::Worker
sidekiq_options queue: :pgp, retry: 5, unique: true
def perform()
puts "Running PgpAnnotationJob\n"
known_snps = {}
Snp.find_each do |s| known_snps[s.name] = true end
pgp_file = open('http://eviden... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2014 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "A... | {
"pile_set_name": "Github"
} |
<?php
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Migrations\Migration;
class CreateModulesConfigMovimentoGeralTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::unprepared(
... | {
"pile_set_name": "Github"
} |
Stormhammers - Archon's Shield Light 'Mechs - ED:Dark Age
@Light IndustrialMechs - ED-DA, 3
Wight WGT-1LAW/SC, 3
Locust LCT-5W2, 4
Nyx NX-80, 5
Firestarter FS9-M2, 6
Wolfhound WLF-5, 5
Spider SDR-7K, 4
Uller (Kit Fox) Prime, 3
Crimson Hawk (Standard), 2
Blade BLD-7R, 1
| {
"pile_set_name": "Github"
} |
ceaaf3204fdf3167f56829156d5f6397b7ad79ce32320bbbc4e405973fa8d0c11c722ab89913ae870aeff06054efe37aa38047a3c6060ce45124e94c51fcd3fa
| {
"pile_set_name": "Github"
} |
void simple () {
var texture = Twitter.no_avatar;
var cache = new Cb.AvatarCache ();
assert (cache.get_n_entries () == 0);
cache.add (1337, texture, "some_url");
assert (cache.get_n_entries () == 1);
cache.increase_refcount_for_texture (texture);
assert (cache.get_n_entries () == 1);
cache.decrease_r... | {
"pile_set_name": "Github"
} |
/*
* This set (target) cpu specific macros:
* - Possible values:
* NPY_CPU_X86
* NPY_CPU_AMD64
* NPY_CPU_PPC
* NPY_CPU_PPC64
* NPY_CPU_PPC64LE
* NPY_CPU_SPARC
* NPY_CPU_S390
* NPY_CPU_IA64
* ... | {
"pile_set_name": "Github"
} |
'use strict';
export default function DSElementHandler(commandStack, eventBus, modeling) {
commandStack.registerHandler('element.colorChange', element_colorChange);
commandStack.registerHandler('shape.removeGroupWithChildren', removeGroupWithChildren);
function element_colorChange() {
this.preExecute = fun... | {
"pile_set_name": "Github"
} |
# Design
**Home → Design**
This page allows you to configure the display of all your home automation in a very fine way.
It takes time but its only limit is your imagination.
> **Tip**
>
> It is possible to go directly to a design thanks to the submenu.
> **IMPORTANT**
>
> All actions are done by right clicking on t... | {
"pile_set_name": "Github"
} |
using System;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using LanguageExt.Common;
using LanguageExt.Interfaces;
using static LanguageExt.Prelude;
namespace LanguageExt
{
/// <summary>
/// Atoms provide a way to manage shared, synchronous, independent state wi... | {
"pile_set_name": "Github"
} |
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'codesnippet', 'bg', {
button: 'Въвеждане на блок с код',
codeContents: 'Съдържание на кода',
emptySnippetError: 'Блока с код не м... | {
"pile_set_name": "Github"
} |
/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_AMD_H
#define BOOST_PREDEF_HARDWARE_SIMD_X86_AMD_H
#include <boost/... | {
"pile_set_name": "Github"
} |
@mixin badge-color($color) {
border-color: $color;
color: $color;
}
| {
"pile_set_name": "Github"
} |
SELECT 1 as a \gset
\echo :a \\ SELECT :a; \unset a
SELECT 'test' \g testfile.txt
\! cat testfile.txt
SELECT current_timestamp;
\watch 3
| {
"pile_set_name": "Github"
} |
package dev.olog.media.widget
import android.content.Context
import android.util.AttributeSet
import android.widget.SeekBar
import androidx.appcompat.widget.AppCompatSeekBar
import dev.olog.media.R
import dev.olog.media.model.PlayerPlaybackState
import kotlinx.coroutines.flow.Flow
class CustomSeekBar(
context: Co... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"filename" : "bus.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "bus@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : ... | {
"pile_set_name": "Github"
} |
#!/bin/sh
# Modify this script to pass the necessary parameters to
# the configure of the captive package you're configuring
prefix="@prefix@"
exec_prefix="@exec_prefix@"
HOST_OS=@HOST_OS@
if [ "@VS_CROSS_COMPILE@" = "1" ]; then
CROSS="--host ${HOST_OS}"
# needed for mingw32 cross-compile to work
case $HOST_OS... | {
"pile_set_name": "Github"
} |
package com.leanote.android.networking;
import com.android.volley.RequestQueue;
import com.wordpress.rest.RestClient;
public class RestClientFactory {
private static RestClientFactoryAbstract sFactory;
public static RestClient instantiate(RequestQueue queue) {
return instantiate(queue, RestClient.RES... | {
"pile_set_name": "Github"
} |
#include "dxvk_device.h"
namespace dxvk {
DxvkUnboundResources::DxvkUnboundResources(DxvkDevice* dev)
: m_sampler (createSampler(dev)),
m_buffer (createBuffer(dev)),
m_bufferView (createBufferView(dev, m_buffer)),
m_image1D (createImage(dev, VK_IMAGE_TYPE_1D, 1)),
m_image2D... | {
"pile_set_name": "Github"
} |
//
// Created by getroot on 20. 1. 16.
//
#pragma once
#include "base/info/host.h"
#include "base/info/info.h"
#include "host_metrics.h"
#include <shared_mutex>
#define MonitorInstance mon::Monitoring::GetInstance()
#define HostMetrics(info) mon::Monitoring::GetInstance()->GetHostMetrics(info);
#define Applicat... | {
"pile_set_name": "Github"
} |
/**
* The MIT License (MIT)
* Copyright (c) 2018 Rudi Theunissen
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to us... | {
"pile_set_name": "Github"
} |
/**
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations an... | {
"pile_set_name": "Github"
} |
sha256:281f1790d69d56469bf102ed5a3943515acd00de3953aeb2e9d90c87c1dd11fe
| {
"pile_set_name": "Github"
} |
// bdlmt_fixedthreadpool.h -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... | {
"pile_set_name": "Github"
} |
#
# Makefile for the PowerPC 85xx linux kernel.
#
obj-$(CONFIG_SMP) += smp.o
obj-y += common.o
obj-$(CONFIG_MPC8540_ADS) += mpc85xx_ads.o
obj-$(CONFIG_MPC8560_ADS) += mpc85xx_ads.o
obj-$(CONFIG_MPC85xx_CDS) += mpc85xx_cds.o
obj-$(CONFIG_MPC8536_DS) += mpc8536_ds.o
obj-$(CONFIG_MPC85xx_DS) += mpc85xx_ds.o
obj-$(CONF... | {
"pile_set_name": "Github"
} |
import React from 'react';
import renderer from 'react-test-renderer';
import View from '../../src/components/View';
it('renders correctly', () => {
const tree = renderer.create(<View />).toJSON();
expect(tree).toMatchSnapshot();
});
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://w... | {
"pile_set_name": "Github"
} |
#include <core.p4>
#define V1MODEL_VERSION 20200408
#include <v1model.p4>
header ethernet_t {
bit<48> dstAddr;
bit<48> srcAddr;
bit<16> etherType;
}
struct metadata {
}
struct headers {
@name(".ethernet")
ethernet_t ethernet;
@name(".inner_ethernet")
ethernet_t inner_ethernet;
}
parser... | {
"pile_set_name": "Github"
} |
user_data = {}
base_data = dict(image='http://u.fashiocdn.com/images/users/0/0/6/O/J/5.jpg',
image_thumb='http://u.fashiocdn.com/images/users/0/0/6/O/J/5.jpg')
user_data['no_email'] = {'first_name': 'Thierry', 'last_name': 'Schellenbach', 'verified': True, 'name': 'Thierry Schellenbach', 'gender': '... | {
"pile_set_name": "Github"
} |
//
// AppDelegate.h
// FLWebView
//
// Created by Steve Richey on 11/21/14.
// Copyright (c) 2014 Float Mobile Learning. Shared under an MIT license. See license.md for details.
//
#import <UIKit/UIKit.h>
/*
* This class isn't really used in this project.
*/
@interface AppDelegate : UIResponder <UIApplicationDel... | {
"pile_set_name": "Github"
} |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__malloc_wchar_t_cpy_64b.c
Label Definition File: CWE127_Buffer_Underread__malloc.label.xml
Template File: sources-sink-64b.tmpl.c
*/
/*
* @description
* CWE: 127 Buffer Under-read
* BadSource: Set data pointer to before the allocated memory buffe... | {
"pile_set_name": "Github"
} |
import tensorflow as tf
from tensorflow.contrib import slim
from frontends import resnet_utils
resnet_arg_scope = resnet_utils.resnet_arg_scope
@slim.add_arg_scope
def bottleneck(inputs, depth, depth_bottleneck, stride, rate=1,
outputs_collections=None, scope=None):
"""Bottleneck residual unit vari... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
... | {
"pile_set_name": "Github"
} |
// ***************************************************************************
// *
// * Copyright (C) 2010 International Business Machines
// * Corporation and others. All Rights Reserved.
// * Tool: com.ibm.icu.dev.tool.cldr.LDML2ICUConverter.java
// * Source File:<path>/common/main/bg_BG.xml
// *
// **************... | {
"pile_set_name": "Github"
} |
/* Copyright (C) 2004 Garrett A. Kajmowicz
This file is part of the uClibc++ Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your optio... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>StringBuilderExample</name>
<source-roots>
... | {
"pile_set_name": "Github"
} |
/* Script for --shared -z combreloc -z now -z relro: shared library, combine & sort relocs */
OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips",
"elf32-tradlittlemips")
OUTPUT_ARCH(mips)
ENTRY(__start)
SECTIONS
{
/* Read-only sections, merged into text segment: */
. = 0 + SIZEOF_HEADERS;
.reginfo ... | {
"pile_set_name": "Github"
} |
/*
Copyright 2008 Intel Corporation
Use, modification and distribution are subject to the Boost Software License,
Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt).
*/
#ifndef BOOST_POLYGON_BOOLEAN_OP_HPP
#define BOOST_POLYGON_BOOLEAN_OP_HPP
namespace... | {
"pile_set_name": "Github"
} |
<?php
namespace App\ViewFunctions;
use App\Config;
use Tightenco\Collect\Support\Collection;
class Asset extends ViewFunction
{
/** @var string The function name */
protected $name = 'asset';
/** @var Config The application configuration */
protected $config;
/** Create a new Asset object. */
... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
* This file is licensed under the Licensed under the MIT license:
* http://opensource.org/licenses/MIT
*/
namespace Icewind\Streams;
/**
* Wrapper that provides callbacks for write, read and close
*
* The following options should be passed in... | {
"pile_set_name": "Github"
} |
{
"name": "container-training-pub-sub-server",
"version": "0.0.1",
"dependencies": {
"express": "^4.16.2",
"socket.io": "^2.0.4"
}
}
| {
"pile_set_name": "Github"
} |
package pbservice
const (
OK = "OK"
ErrNoKey = "ErrNoKey"
ErrWrongServer = "ErrWrongServer"
)
type Err string
// Put or Append
type PutAppendArgs struct {
Key string
Value string
// You'll have to add definitions here.
// Field names must start with capital letters,
// otherwise RPC will... | {
"pile_set_name": "Github"
} |
<?php defined('SYSPATH') OR die('No direct access allowed.');
$lang['query_methods_not_allowed'] = 'Query methods kunnen niet gebruikt worden via ORM'; | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.