text
stringlengths
2
99k
meta
dict
module Pageflow module Generators class InstallGenerator < Rails::Generators::Base desc "Installs Pageflow and generates the necessary migrations." def generate_all generate 'active_admin:install User --skip-users' generate 'active_admin:devise User --no-default-user' generat...
{ "pile_set_name": "Github" }
.. _example-latex-matrix-writer: LaTeX matrix ------------------------------------------- |LatexMatrixWriter| class can writes a table with LaTeX ``array`` environment to the |stream| from a matrix of data. :Sample Code 1: .. code-block:: python import pytablewriter def main(): write...
{ "pile_set_name": "Github" }
/* * wrjpgcom.c * * Copyright (C) 1994-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains a very simple stand-alone application that inserts * user-supplied text as a COM (comment)...
{ "pile_set_name": "Github" }
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29709.97 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tsugumi_shell", "Tsugumi_shell\Tsugumi_shell.vcxproj", "{C5E469AF-A1ED-4B35-98EF-128D984D7A73}" EndP...
{ "pile_set_name": "Github" }
Filter 1: ON PK Fc 31 Hz Gain 7.1 dB Q 1.41 Filter 2: ON PK Fc 62 Hz Gain 1.3 dB Q 1.41 Filter 3: ON PK Fc 125 Hz Gain -1.2 dB Q 1.41 Filter 4: ON PK Fc 250 Hz Gain -3.1 dB Q 1.41 Filter 5: ON PK Fc 500 Hz Gain -1.0 dB Q 1.41 Filter 6: ON PK Fc 1000 Hz Gain -1.1 dB Q 1.41 Filter 7: ON PK Fc 2000 Hz Gain -0.9 dB Q 1.41 ...
{ "pile_set_name": "Github" }
.t-d-panel { display: flex; flex-direction: column; height: 100%; position: relative; .canvas { width: 100%; } .t-d-layer { min-height: 100px; display: flex; justify-content: center; align-items: center; transition: all 2s; position: relative; flex-wrap: wrap; &:nth-...
{ "pile_set_name": "Github" }
// check-pass // Here we check that a `:vis` macro matcher subsititued for the empty visibility // (`VisibilityKind::Inherited`) is accepted when used before an enum variant. fn main() {} macro_rules! mac_variant { ($vis:vis MARKER) => { enum Enum { $vis Unit, $vis Tuple(u8, u16)...
{ "pile_set_name": "Github" }
<?php /* * This file is part of the Goteo Package. * * (c) Platoniq y Fundación Goteo <fundacion@goteo.org> * * For the full copyright and license information, please view the README.md * and LICENSE files that was distributed with this source code. */ namespace Goteo\Application\Event; use Symfony\Component\E...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="VcsDirectoryMappings"> <mapping directory="" vcs="" /> <mapping directory="$PROJECT_DIR$" vcs="Git" /> </component> </project>
{ "pile_set_name": "Github" }
// Copyright 2011 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 misspell import ( "io" // "log" "strings" ) // StringReplacer replaces a list of strings with replacements. // It is safe for concurrent use by mul...
{ "pile_set_name": "Github" }
--- title: "ark restore get" layout: docs --- Get restores ### Synopsis Get restores ``` ark restore get [flags] ``` ### Options ``` -h, --help help for get --label-columns stringArray a comma-separated list of labels to be displayed as columns -o, --output string ...
{ "pile_set_name": "Github" }
{ "images" : [ { "idiom" : "iphone", "scale" : "1x" }, { "idiom" : "iphone", "filename" : "GroundBotGoodWalk_5_01_100.png", "scale" : "2x" }, { "idiom" : "iphone", "filename" : "GroundBotGoodWalk_5_01_180.png", "scale" : "3x" }, { "idio...
{ "pile_set_name": "Github" }
require('../modules/es7.symbol.async-iterator'); require('../modules/es7.symbol.observable'); module.exports = require('../modules/_core').Symbol;
{ "pile_set_name": "Github" }
var metadata = require('./_metadata'); var anObject = require('./_an-object'); var getPrototypeOf = require('./_object-gpo'); var ordinaryHasOwnMetadata = metadata.has; var toMetaKey = metadata.key; var ordinaryHasMetadata = function (MetadataKey, O, P) { var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); if ...
{ "pile_set_name": "Github" }
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'justify', 'it', { block: 'Giustifica', center: 'Centra', left: 'Allinea a sinistra', right: 'Allinea a destra' });
{ "pile_set_name": "Github" }
/* Copyright (c) 2016, TU Dresden 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 and the follow...
{ "pile_set_name": "Github" }
var isArray = require('./'); var test = require('tape'); test('is array', function(t){ t.ok(isArray([])); t.notOk(isArray({})); t.notOk(isArray(null)); t.notOk(isArray(false)); var obj = {}; obj[0] = true; t.notOk(isArray(obj)); var arr = []; arr.foo = 'bar'; t.ok(isArray(arr)); t.end(); });
{ "pile_set_name": "Github" }
--- title: "Content Handler" source_url: 'https://github.com/SenseNet/sensenet/docs/content-handler.md' category: Development version: v6.0 tags: [content type, content type definition, inheritance, type system, handler, business logic] --- # Content Handler The Content Handler defines custom "code behind" business l...
{ "pile_set_name": "Github" }
package units // Base2Bytes is the old non-SI power-of-2 byte scale (1024 bytes in a kilobyte, // etc.). type Base2Bytes int64 // Base-2 byte units. const ( Kibibyte Base2Bytes = 1024 KiB = Kibibyte Mebibyte = Kibibyte * 1024 MiB = Mebibyte Gibibyte = Mebibyt...
{ "pile_set_name": "Github" }
.languageProfileItemDragSource { padding: 4px 0; } .languageProfileItemPlaceholder { width: 100%; height: 36px; border: 1px dotted #aaa; border-radius: 4px; } .languageProfileItemPlaceholderBefore { margin-bottom: 8px; } .languageProfileItemPlaceholderAfter { margin-top: 8px; }
{ "pile_set_name": "Github" }
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>SchemeUserState</key> <dict> <key>InAppNotify.xcscheme</key> <dict> <key>orderHint</key> <integer>0</integer> </dict> <key>InApp...
{ "pile_set_name": "Github" }
require File.expand_path("#{File.dirname(__FILE__)}/../../spec_helper") module RR module WildcardMatchers describe Boolean do attr_reader :matcher before do @matcher = Boolean.new end describe "#wildcard_match?" do context "when passed a Boolean" do it "returns...
{ "pile_set_name": "Github" }
/** * 例如trust = [[1,3],[1,4],[2,3],[2,4],[4,3]] * 逆邻接表 入度 * 1 * 2 * 3=>1->2->4 * 4=>1->2 * * 邻接表 出度 * 1=>3->4 * 2=>3->4 * 3 * 4=>3 * 3的出度为0 入度为N - 1所以3是法官 */ class Solution { private LinkedList<Integer> adj[];//邻接表 计算出度 private LinkedList<Integer> i_adj[];//逆邻接表 计算入度 public int findJudge(int N, int[][] ...
{ "pile_set_name": "Github" }
import React from 'react'; import { mountWithContexts } from '../../../testUtils/enzymeHelpers'; import AddDropDownButton from './AddDropDownButton'; describe('<AddDropDownButton />', () => { const dropdownItems = [ { key: 'inventory', label: 'Inventory', url: `inventory/inventory/add/`, },...
{ "pile_set_name": "Github" }
#!/usr/bin/env bash # # 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 "Licen...
{ "pile_set_name": "Github" }
<!doctype html> <html lang="en"> <head> <title>Code coverage report for index.js</title> <meta charset="utf-8"> <link rel="stylesheet" href="../prettify.css"> <link rel="stylesheet" href="../base.css"> <style type='text/css'> div.coverage-summary .sorter { background-image: url(....
{ "pile_set_name": "Github" }
//===-- llvm/CodeGen/AllocationOrder.cpp - Allocation Order ---------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
{ "pile_set_name": "Github" }
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 3 of the License, or // (at your option) any later version. // // Moodle ...
{ "pile_set_name": "Github" }
// @strict: true // @declaration: true type Item = { value: string }; type ItemMap<T> = { [P in keyof T]: Item }; declare let x0: keyof any; declare let x1: { [P in any]: Item }; declare let x2: { [P in string]: Item }; declare let x3: { [P in keyof any]: Item }; declare let x4: ItemMap<any>; // Repro fr...
{ "pile_set_name": "Github" }
"use strict"; exports.__esModule = true; var _classCallCheck2 = require("babel-runtime/helpers/classCallCheck"); var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); var _binding = require("../binding"); var _binding2 = _interopRequireDefault(_binding); var _babelTypes = require("babel-types"); var t...
{ "pile_set_name": "Github" }
Models that are used for testing Pyomo performance.
{ "pile_set_name": "Github" }
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc --> <title>AttributeList (Java SE 12 &amp; JDK 12 )</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="keywords" content="org.xml.sax.AttributeList interface"> <meta name="keywords" content="getLength...
{ "pile_set_name": "Github" }
Data source: http://rosettacode.org/wiki/Introspection
{ "pile_set_name": "Github" }
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example29-debug</title> <script src="../../../angular.js"></script> </head> <body ng-app=""> <button ng-mouseleave="count = count + 1" ng-init="count=0"> Increment (when mouse leaves) </button> count: {{coun...
{ "pile_set_name": "Github" }
/* * This file is part of Splice Machine. * Splice Machine is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the Free Software Foundation, either * version 3, or (at your option) any later version. * Splice Machine is distributed i...
{ "pile_set_name": "Github" }
import os import subprocess import tempfile from conans.client.tools.oss import OSInfo from conans.errors import ConanException from conans.util.env_reader import get_env from conans.util.files import decode_text from conans.util.files import load, mkdir, rmdir, save from conans.util.log import logger from conans.util...
{ "pile_set_name": "Github" }
$archer_image: "/assets/img/hero/archer.png"; $knight_image: "/assets/img/hero/knight.png"; $wizard_image: "/assets/img/hero/wizard.png"; .archer-icon { background-image: url($archer_image); background-size: cover; } .knight-icon { background-image: url($knight_image); background-size: cover; } .wiza...
{ "pile_set_name": "Github" }
{ "cells": [ { "cell_type": "code", "execution_count": 67, "metadata": {}, "outputs": [], "source": [ "import torch\n", "from torch.autograd import Variable\n", "from fastai.rnn_reg import *\n", "import numpy as np" ] }, { "cell_type": "code", "execution_count": 34, "me...
{ "pile_set_name": "Github" }
<html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html>
{ "pile_set_name": "Github" }
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
{ "pile_set_name": "Github" }
/* * Copyright 2018 LINE Corporation * * LINE Corporation licenses this file to you 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
{ "pile_set_name": "Github" }
--- title: "turtl" layout: cask --- {{ content }}
{ "pile_set_name": "Github" }
![](assets/2019-12-04-20-03-09.png) 论文地址: https://papers.nips.cc/paper/3964-double-q-learning.pdf 本论文是由DeepMind发表于2015年NIPS的一篇论文,作者Hasselt。 >前言: Q-Learning算法由于受到大规模的动作值过估计(overestimation)而出现不稳定和效果不佳等现象的存在,而导致overestimation的主要原因来自于最大化值函数(max)逼近,该过程目标是为了最大的累计期望奖励,而在这个过程中产生了正向偏差。而本文章作者巧妙的是使用了两个估计器(double estimator)去计算...
{ "pile_set_name": "Github" }
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports System.Composition Imports Analyzer.Utilities Imports Microsoft.CodeAnalysis Imports Microsoft.CodeAnalysis.CodeRefactorings Imports Microsoft.CodeAna...
{ "pile_set_name": "Github" }
.. Copyright (C) 2016-2017 Robin Schneider <ypid@riseup.net> .. Copyright (C) 2016-2017 DebOps <https://debops.org/> .. SPDX-License-Identifier: GPL-3.0-only .. _apt_cacher_ng__ref_getting_started: Getting started =============== .. include:: ../../../includes/global.rst .. only:: html .. contents:: :loca...
{ "pile_set_name": "Github" }
/* spkltc.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Table of constant values */ static integer c__0 = 0; static integer c__6 = 6; static doublereal c_b19 = -1.; /* $Procedure SPKLTC ( S/P Kernel, ligh...
{ "pile_set_name": "Github" }
// Copyright 2018 The Terraformer 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...
{ "pile_set_name": "Github" }
package client import ( "fmt" "io" "net/url" "os" "runtime" "github.com/Sirupsen/logrus" Cli "github.com/docker/docker/cli" "github.com/docker/docker/opts" "github.com/docker/docker/pkg/promise" "github.com/docker/docker/pkg/signal" "github.com/docker/docker/runconfig" "github.com/docker/libnetwork/resolv...
{ "pile_set_name": "Github" }
/* Built-in method references for those with the same name as other `lodash` methods. */ var nativeMax = Math.max, nativeMin = Math.min; /** * Gets the view, applying any `transforms` to the `start` and `end` positions. * * @private * @param {number} start The start of the view. * @param {number} end The end ...
{ "pile_set_name": "Github" }
/* * Copyright (C) 2014 The Android Open Source Project * * 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 app...
{ "pile_set_name": "Github" }
define [ 'jquery', 'underscore', 'backbone', 'i18n', 'spectrum' ], ($, _, Backbone, i18n) -> t = i18n.namespaced('views.Tree.show.tag_list') addSpectrum = ($els) -> $els.filter(':not(.spectrum)').each -> $input = $(this) $input .addClass('spectrum') .spectrum({ preferredFo...
{ "pile_set_name": "Github" }
=== Go === Contributors: godaddy, richtabor, eherman24, jrtashjian Tags: block-styles, custom-colors, custom-logo, custom-menu, e-commerce, editor-style, one-column, theme-options, threaded-comments, translation-ready, wide-blocks Requires at least: 5.0 Tested up to: 5.5 Requires PHP: 5.6.0 Stable tag: 1.3.6 Lic...
{ "pile_set_name": "Github" }
# frozen_string_literal: true require "rails_helper" describe Alchemy::Admin::ContentsHelper do let(:element) { build_stubbed(:alchemy_element, name: "article") } let(:content) { mock_model("Content", essence_partial_name: "essence_text") } describe "content_label" do let(:content) do Alchemy::Conten...
{ "pile_set_name": "Github" }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>Description of gui_check_dirname</title> <meta name="keywords" content="gui_check_dirname"> <meta name="description" content="check whether the the given edit fiel...
{ "pile_set_name": "Github" }
if (attribute(ranktags,yhosted).contains == 1, query(yhostedboost), 0) + if (queryTermCount ~= 1, 123879 + nativeRank * 451704, 0) + if (queryTermCount ~= 2, 103329 + nativeRank * 1117919, 0) + if (queryTermCount ~= 3, if (nativeFieldMatch(title,abstract,body) > nativeRank * 10, 118069 + nativeRank * 15423636...
{ "pile_set_name": "Github" }
<?xml version="1.0" standalone="no" ?> <!DOCTYPE pov SYSTEM "/usr/share/cgc-docs/replay.dtd"> <pov> <cbid>service</cbid> <replay> <read><delim>\x0a</delim><match><data>2D Particle Simulator\x0a</data></match></read> <read><delim>\x0a</delim><match><data>Enter the number of particles to simulate \x281-10\x29:\x0a</data>...
{ "pile_set_name": "Github" }
<!DOCTYPE html> <html> <head> <title>QUnit Test Suite</title> <link rel="stylesheet" href="../qunit/qunit.css" type="text/css" media="screen"> <script type="text/javascript" src="../qunit/qunit.js"></script> <script type="text/javascript" src="test.js"></script> <script type="text/javascript" src="same.js"></scrip...
{ "pile_set_name": "Github" }
//===- TableGenBackends.h - Declarations for LLVM TableGen Backends -------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
{ "pile_set_name": "Github" }
prefix=/usr exec_prefix=/usr libdir=${exec_prefix}/lib includedir=${prefix}/include Name: glesv2 Description: Vivante OpenGL ES 2.0 library Requires.private: libdrm x11 xext xdamage xfixes xcb Version: 8.0 Libs: -L${libdir} -lGLESv2 -lEGL -lGAL Libs.private: -lpthread -lrt Cflags: -I${includedir}
{ "pile_set_name": "Github" }
// // Switch.swift // RxSwift // // Created by Krunoslav Zaher on 3/12/15. // Copyright © 2015 Krunoslav Zaher. All rights reserved. // extension ObservableType { /** Projects each element of an observable sequence into a new sequence of observable sequences and then transforms an observable sequence...
{ "pile_set_name": "Github" }
'use strict'; module.exports = function (cb) { var stdin = process.stdin; var ret = ''; if (stdin.isTTY) { setImmediate(cb, ''); return; } stdin.setEncoding('utf8'); stdin.on('readable', function () { var chunk; while (chunk = stdin.read()) { ret += chunk; } }); stdin.on('end', function () { ...
{ "pile_set_name": "Github" }
/* * Copyright 2011, The Android Open Source Project * * 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 applica...
{ "pile_set_name": "Github" }
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.data.dpc.alisis.olapprocessor /// </summary> public class AlipayDataDpcAlisisOlapprocessorRequest : IAlipayRequest<AlipayDataDpcAlisisO...
{ "pile_set_name": "Github" }
using System; using Org.BouncyCastle.Math; using Org.BouncyCastle.Math.EC; using Org.BouncyCastle.Security; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Digests; using Org.BouncyCastle.Crypto.Parameters; namespace Org.BouncyCastle.Crypto.Signers { /** * EC-DSA as described in X9.62 */ ...
{ "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 ...
{ "pile_set_name": "Github" }
package server import ( "crypto/tls" "flag" "fmt" "math" "net" "net/http" _ "net/http/pprof" // anonymous import to get the pprof handler registered "time" "github.com/gorilla/mux" grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware" otgrpc "github.com/opentracing-contrib/go-grpc" "github.com/op...
{ "pile_set_name": "Github" }
svg.image { rect, path, ellipse { fill: #0096BD !important; } margin-right: 0.5rem; } .align-wrapper { text-align: center; } .title { display: inline; font-size: 1.6rem; vertical-align: middle; color: #0096BD; &:hover { text-decoration: none; } }
{ "pile_set_name": "Github" }
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import "package:expect/expect.dart"; class A { final x; const A(this.x); const A.named([this.x])...
{ "pile_set_name": "Github" }
100000 165 65535 123 83
{ "pile_set_name": "Github" }
/** * An abstraction for slicing an arraybuffer even when * ArrayBuffer.prototype.slice is not supported * * @api public */ module.exports = function(arraybuffer, start, end) { var bytes = arraybuffer.byteLength; start = start || 0; end = end || bytes; if (arraybuffer.slice) { return arraybuffer.slice(st...
{ "pile_set_name": "Github" }
// Copyright 2018 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 imports import ( "fmt" "io/ioutil" "os" "path/filepath" "sort" "strconv" "strings" ) func ScanDir(dir string, tags map[string]bool) ([]string, ...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> <longdescription> A quasiquoter for raw string literals - that is, string literals ...
{ "pile_set_name": "Github" }
var convert = require('./convert'), func = convert('wrapperReverse', require('../wrapperReverse'), require('./_falseOptions')); func.placeholder = require('./placeholder'); module.exports = func;
{ "pile_set_name": "Github" }
#include "StdAfx.h" static CModuleInfo mi; static CModuleInfo::THTMLEnginePtr g_pHTMLEngine; static mir_cs g_lmParsers; typedef std::map<std::string, MWindowList> THandles; static THandles g_ahWindowLists; MWindowList CModuleInfo::GetWindowList(const std::string& rsKey, bool bAllocateIfNonExist /*= true*/) { MWindo...
{ "pile_set_name": "Github" }
/************************************************ sockport.h - $Author$ created at: Fri Apr 30 23:19:34 JST 1999 ************************************************/ #ifndef SOCKPORT_H #define SOCKPORT_H #ifdef HAVE_STRUCT_SOCKADDR_SA_LEN # define VALIDATE_SOCKLEN(addr, len) ((addr)->sa_len == (len)) #else # de...
{ "pile_set_name": "Github" }
using UnityEditor; using UnityEditor.AnimatedValues; using UnityEngine; namespace Polyglot { public abstract class LocalizedEditor<T> : Editor where T : class, ILocalize { private Vector2 scroll; private AnimBool showAutoComplete; public virtual void OnEnable() { sh...
{ "pile_set_name": "Github" }
body{margin:0px;padding:0px;} a{color:#333;outline: none;} a:hover{color:#FF6800; star:expression(this.onFocus=this.blur());} .clear{clear:both;} ul{margin:0px;padding:0px;} .checkbox{background:none;border:none} .break{white-space:normal;overflow:auto;} .bottom{vertical-align:bottom;} .tr span,#action a{marg...
{ "pile_set_name": "Github" }
<!DOCTYPE html> <html> <head> <title>Test geometry functions</title> </script> </head> <body> <div id="status">Running...</div> <script src="geometry.js"></script> <script> var asserts = 0; function assertEqual(a, b) { var ok = true; if (typeof a == 'number' ...
{ "pile_set_name": "Github" }
<!-- /* ** Copyright (c) 2012 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the ** "Materials"), to deal in the Materials without restriction, including ** without limitation the rights to use, copy, ...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2011 Erin Catto http://box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, * including ...
{ "pile_set_name": "Github" }
K 13 svn:mime-type V 24 application/octet-stream END
{ "pile_set_name": "Github" }
import React from 'react'; import { Badge, Card, Container, Avatar } from "flwww"; import BadgeCount from "./BadgeCount"; import DotBadge from "./DotBadge"; const Badges = (props) => { return ( <Container> <Card> <h1>Badge</h1> <Badge count={ 5 } > <Avatar src="https://images.unsplash.c...
{ "pile_set_name": "Github" }
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is built by mktables from e.g. UnicodeData.txt. # Any changes made here will be lost! # # This file supports: # \p{InSupplementalPunctuation} (and fuzzy permutations) # # Meaning: Block 'Supplemental Punctuation' # return <<'END'; 2E00 2E7F Supplemental Punctu...
{ "pile_set_name": "Github" }
export const delay = (ms) => new Promise((f) => setTimeout(f, ms)); const defaults = { maxRetry: Infinity, interval: 500, intervalMultiplicator: 1.1 }; export function retry(f, options = defaults) { const { maxRetry, interval, intervalMultiplicator } = { ...defaults, ...options }; function rec(remainingTry...
{ "pile_set_name": "Github" }
/** @file * Copyright (c) 2019, Arm Limited or its affiliates. All rights reserved. * SPDX-License-Identifier : Apache-2.0 * * 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://...
{ "pile_set_name": "Github" }
// COCOA class implementation file //Id: OptOMirror.cc //CAT: Model // // History: v1.0 // Pedro Arce #include "Alignment/CocoaModel/interface/OptOMirror.h" #include "Alignment/CocoaModel/interface/LightRay.h" #include "Alignment/CocoaModel/interface/ALIPlane.h" #include "Alignment/CocoaModel/interfac...
{ "pile_set_name": "Github" }
class AddFieldsToPrivilege < ActiveRecord::Migration def self.up add_column :privileges, :description, :text create_defaults end def self.down remove_column :privileges, :description end def self.create_defaults Privilege.reset_column_information Privilege.create :name => 'ExaminationC...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes a...
{ "pile_set_name": "Github" }
[FileVersion] Version=7.0 [Compiler] A=8 B=0 C=1 D=1 E=0 F=0 G=1 H=1 I=1 J=0 K=0 L=1 M=0 N=1 O=1 P=1 Q=1 R=1 S=0 T=0 U=0 V=1 W=1 X=1 Y=1 Z=1 ShowHints=1 ShowWarnings=1 UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; NamespacePrefix= SymbolDeprecated=1 SymbolLibrary=1 SymbolPlatform=...
{ "pile_set_name": "Github" }
/* Byte-wise substring search, using the Two-Way algorithm. Copyright (C) 2008-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Eric Blake <ebb9@byu.net>, 2008. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Genera...
{ "pile_set_name": "Github" }
/* N-D triangle smoothing as a linear operator */ /* Copyright (C) 2004 University of Texas at Austin 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 (...
{ "pile_set_name": "Github" }
/* * LiquidBounce Hacked Client * A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge. * https://github.com/CCBlueX/LiquidBounce/ */ package net.ccbluex.liquidbounce.ui.client.clickgui.style.styles; import net.ccbluex.liquidbounce.api.minecraft.client.gui.IFontRenderer; impor...
{ "pile_set_name": "Github" }
var convert = require('./convert'), func = convert('trimEnd', require('../trimEnd')); func.placeholder = require('./placeholder'); module.exports = func;
{ "pile_set_name": "Github" }
package io.onedev.server.plugin.report.html; import java.io.File; import java.nio.charset.StandardCharsets; import java.util.concurrent.Callable; import org.apache.wicket.behavior.AttributeAppender; import org.apache.wicket.markup.ComponentTag; import org.apache.wicket.markup.head.IHeaderResponse; import org.apache.w...
{ "pile_set_name": "Github" }
// Copyright (c) 2015-2018 Robert Rypuła - https://audio-network.rypula.pl 'use strict'; function getSamplePerPeriodFromIndex(index) { var step = (frequencyBinSamplePerPeriodMax - frequencyBinSamplePerPeriodMin) / frequencyBinSize; return frequencyBinSamplePerPeriodMax - step * index; } function getFrequency...
{ "pile_set_name": "Github" }
using FSO.Client.Controllers.Panels; using FSO.Client.Model; using FSO.Client.Regulators; using FSO.Client.UI.Controls; using FSO.Client.UI.Framework; using FSO.Client.UI.Panels; using FSO.Client.UI.Screens; using FSO.Common.DataService; using FSO.Common.DataService.Model; using FSO.Common.Enum; using FSO.Common.Utils...
{ "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...
{ "pile_set_name": "Github" }
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # region Description """ apple_mitm.py: MiTM Apple devices (apple_mitm) Author: Vladimir Ivanov License: MIT Copyright 2020, Raw-packet Project """ # endregion # region Import from raw_packet.Utils.base import Base from raw_packet.Utils.utils import Utils from raw_packet...
{ "pile_set_name": "Github" }
// Protocol Buffers for Go with Gadgets // // Copyright (c) 2016, The GoGo Authors. All rights reserved. // http://github.com/gogo/protobuf // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributio...
{ "pile_set_name": "Github" }