text stringlengths 3 1.05M |
|---|
/**********
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
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>File Manager</title>
<link rel="stylesheet" type="text/css" href="styles/reset.css" />
<link rel="stylesheet" type="text/css" href="scripts/jquery.filetree/jqueryFileTree.css" />
<link rel="stylesheet" type="text... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>windows::random_access_handle_service::async_read_some_at</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="h... |
UINS_CAT = 100
WIN_REG_SEARCH_FAIL = 101
UNIMPL_APP = 200
SYS_ERR = 300
TIME_OUT = 400
DIM_INCO_FILE_FMT = 500 #incorrect file format for dimension
DIM_FILE_VAL_INCO = 501 #Value coming from dimension file is incorrect
#__errorTable : Defines all the errors in the system. Add a new error code and
# error... |
#include "glTypes.h"
#include "useful_things.h"
#include "GL/freeglut.h"
//#include "GL/glui.h"
#include "Scene.h"
#include "Window.h"
#include <iostream>
using namespace std;
Scene scene( 3 );
// Derpalicious
//GLUI *glui;
// Window ID numbers
GLuint IDmainWindow;
GLuint IDviewWindow;
GLuint IDcmdWindow;
col4f co... |
#ifndef itkCompositeTransformIOHelper_h
#define itkCompositeTransformIOHelper_h
#include "itkTransformIOBase.h"
#include "itkCompositeTransform.h"
namespace itk
{
/** \class CompositeTransformIOHelperTemplate
* \brief An adapter that adapts CompositeTransform into the
* TransformReader/Writer
*
* The stumbli... |
function die() {
echo "$@"
exit 1
}
# Find enlistment root
cd $(dirname $0) >/dev/null
SDK=$(git rev-parse --show-toplevel) ||
die "Could not access git"
# Build all samples
cd $SDK/samples
for SAMPLE in *; do
if [[ -d $SAMPLE ]]; then
cd $SAMPLE
ant clean ||
die "Error running 'ant clean' on sa... |
using namespace llvm;
namespace {
// This class overrides the default list implementation of printing so we
// can pretty print the list of debug counter options. This type of
// dynamic option is pretty rare (basically this and pass lists).
class DebugCounterList : public cl::list<std::string, DebugCounter> {
privat... |
package fake
import (
"context"
"k8s.io/api/extensions/v1beta1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
core "k8s.io/client-go/testing"
)
func (c *FakeDeployments) Rollback(ctx context.Context, deploymentRollback *v1beta1.DeploymentRollback, opts metav1.CreateOptions) error {
action := core.CreateAction... |
@interface CALMonthViewLayout ()
@property(nonatomic, strong)NSDictionary *lineRects;
@end
@implementation CALMonthViewLayout
////////////////////////////////////////////////////////////////////////////////////////////////////
- (instancetype)init
{
if(self = [super init])
{
[self registerClass:[CAL... |
ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"], function(require, exports, module) {
"use strict";
var oop = require("./lib/oop");
var lang = require("./lib/lang");
var EventEmitter = require("./lib/event... |
import math
import socket
import threading
import time
from bottle import route, run
hostname = socket.gethostname()
hostport = 9000
keepworking = False # boolean to switch worker thread on or off
# thread which maximizes CPU usage while the keepWorking global is True
def workerthread():
# outer loop to run wh... |
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
namespace VsChromium.Core.Collections {
public class LinearGrowthPolicy : ICollectionGrowthPolicy {
private readonly int _step;
public LinearG... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>posix::basic_descriptor::close (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" ... |
package org.apache.gobblin.restli;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.List;
import java.util.Properties;
import java.util.Random;
import java.util.Set;
import java.util.concurrent.Executors;
import org.apache.gobblin.util.ConfigUtils;
import org.slf4j.Logger;
import com.googl... |
<!--
Copyright (c) 2019 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Distribution License v. 1.0, which is available at
http://www.eclipse.org/org/documents/edl-v10.php.
SPDX-License-Identifier: BS... |
<?php
namespace Symfony\Component\Security\Tests\Http;
use Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler;
use Symfony\Component\Security\Core\SecurityContextInterface;
use Symfony\Component\HttpKernel\HttpKernelInterface;
class DefaultAuthenticationFailureHandlerTest extends \P... |
package types
import (
"errors"
"path"
"github.com/coreos/ignition/config/validate/report"
)
var (
ErrPathRelative = errors.New("path not absolute")
)
type Path string
func (p Path) MarshalJSON() ([]byte, error) {
return []byte(`"` + string(p) + `"`), nil
}
func (p Path) Validate() report.Report {
if !path.... |
import netCDF4,re
from netCDF4 import Dataset
def get(filename):
nc = Dataset(filename,'r')
print nc.date, '\n', nc.description,'\n'
print 'Select Simulation: \n\n'
for i,g in enumerate(nc.groups): print i , ' - ', g
group = tuple(nc.groups)[0]#[int(input('Enter Number \n'))]
print group, 'took... |
/*
*
* 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
* d... |
<!DOCTYPE html>
<html>
<head>
<script src="http://localhost:8000/security/xssAuditor/resources/utilities.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
testRunner.waitUntilDone();
testRunner.setXSSAuditorEnabled(true);
}
</script>
</head>
<bo... |
CKEDITOR.plugins.setLang("pagebreak","sl",{alt:"Prelom strani",toolbar:"Vstavi prelom strani"}); |
class AwsElasticache < Formula
desc "Client for Amazon ElastiCache web service"
homepage "https://aws.amazon.com/developertools/2310261897259567"
url "https://s3.amazonaws.com/elasticache-downloads/AmazonElastiCacheCli-2014-09-30-1.12.000.zip"
version "1.12.000"
sha256 "0aee0849a78c8129ed16e99706dde34972c02ed... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
using Microsoft.Win32.SafeHandles... |
@interface MRCRepoSettingsAvatarTableViewCell : MRCTableViewCellStyleValue1
@property (strong, nonatomic, readonly) UIImageView *imageView;
@end
|
/* =========================================================
* bootstrap-pincode-input.js
*
* =========================================================
* Created by Ferry Kranenburg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... |
@(text: String, teams: Paginator[lila.team.Team])(implicit ctx: Context)
@team.list(
name = trans.search.str() + " \"" + text + "\"",
teams = teams,
next = teams.nextPage map { n => routes.Team.search(text, n) },
tab = "all",
search = text)
|
<annotation>
<folder>GreenBall</folder>
<filename>GreenBall_371.jpg</filename>
<path>C:\Users\sasha\Google Drive\Machine Learning\Newest Stuff\images_4_alex\GreenBall\GreenBall_371.jpg</path>
<source>
<database>Unknown</database>
</source>
<size>
<width>1024</width>
<height>576</height>
<depth>3</depth>
... |
/*!
* Qoopido.js library v3.6.4, 2015-4-29
* https://github.com/dlueth/qoopido.js
* (c) 2015 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(n){window.qoopido.register("function/unique/string",n)}(function(){"use strict";function n(n){var t="",e=0;for(n=parseInt(n,10)||12;n>e;e++)t+=r[parseInt(Math.random()*(... |
// +build linux
package utils
import (
"fmt"
"os"
"golang.org/x/sys/unix"
)
// MaxSendfdLen is the maximum length of the name of a file descriptor being
// sent using SendFd. The name of the file handle returned by RecvFd will never
// be larger than this value.
const MaxNameLen = 4096
// oobSpace is the size... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
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 t... |
var
esPhinx;
(function ($) {
"use strict";
var
nodes = [],
mappedListeners = {},
mapped = function (node) {
var
index = nodes.indexOfEquivalence(node);
return mappedListeners[index];
},
mapEventListener = function (node, e... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Installation Instructions : CodeIgniter User ... |
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage;
using osu.Game.Database;
using System;
namespace osu.Game.M... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Linq;
using Xunit;
namespace System.IO.Tests
{
public class FileStream_ReadByte : FileSystemTest
{
[Fact]... |
title: neon-animation
summary: "A short guide to neon-animation and neon-animated-pages"
tags: ['animation','core-animated-pages']
elements: ['neon-animation','neon-animated-pages']
updated: 2015-05-26
---
# neon-animation
`neon-animation` is a suite of elements and behaviors to implement pluggable animated transitio... |
package apiversions
import (
"github.com/gophercloud/gophercloud"
"github.com/gophercloud/gophercloud/pagination"
)
// List lists all the Cinder API versions available to end-users.
func List(c *gophercloud.ServiceClient) pagination.Pager {
return pagination.NewPager(c, listURL(c), func(r pagination.PageResult) pa... |
Tutorial
########
This tutorial is intended to introduce you to the CodeIgniter framework
and the basic principles of MVC architecture. It will show you how a
basic CodeIgniter application is constructed in step-by-step fashion.
In this tutorial, you will be creating a **basic news application**. You
will begin by wr... |
[](https://david-dm.org/Monpoke/scotip_nodeSpas)
[](https://travis-ci.org/Monpoke/scotip_nodeSpas)
# ScotIP
*ScotIP* is a software which allows companies to create thei... |
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Cycle=e()}}(function(){var define,module,exports;retu... |
package org.openflow.protocol;
import junit.framework.TestCase;
public class OFMessageContextStoreTest extends TestCase {
public void testStoreAndGet() {
OFMessage msg = new OFMessage();
OFMessageContextStore<String> store = new OFMessageContextStore<String>(msg, this.getName());
String ... |
<div class="ui-select-container selectize-control single" ng-class="{'open': $select.open}">
<div class="selectize-input"
ng-class="{'focus': $select.open, 'disabled': $select.disabled, 'selectize-focus' : $select.focus}"
ng-click="$select.open && !$select.searchEnabled ? $select.toggle($event) : $selec... |
<div>
<mat-card class="demo-mat-card">
<mat-toolbar color="primary">Basic</mat-toolbar>
<mat-card-content class="demo-mat-card-content">
<button mat-raised-button (click)="toggleFocus(basicFocusTrap)">
{{basicFocusTrap && basicFocusTrap.enabled ? "Disable" : "Enable"}} FocusTrap
</button>
... |
/* THIS FILE IS LICENSED UNDER THE MIT LICENSE AS OUTLINED IMMEDIATELY BELOW:
*
* 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 ... |
package thirdpartyresourcedata
import (
"encoding/json"
"reflect"
"testing"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/expapi"
)
type Foo struct {
api.TypeMeta `json:",inline"`
api.ObjectMeta `json:"metadata,omitempty" description:"standard object metadata"`
SomeField string `json:"someField"`
... |
"use strict";
var ReactElement = require('ReactElement');
var ReactIOSNativeComponent = require('ReactIOSNativeComponent');
// See also ReactIOSNativeComponent
type ReactIOSNativeComponentViewConfig = {
validAttributes: Object;
uiViewClassName: string;
}
/**
* @param {string} config iOS View configuration.
*... |
package org.apache.phoenix.jdbc;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;
import java.util.concurrent.Executor;
import java.util.logging.Logger;
/**
* Interfaces to be implemented by classes that need to be "JDK7" compliant,
* but also run in JDK6
*/
public final class Jdbc7S... |
using MeTLLib.Providers.Connection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Ninject;
using MeTLLib;
using System.Net;
using System.Text;
namespace MeTLLibTests
{
[TestClass()]
public class ResourceUploaderIntegrationTest
{
private TestContext testContex... |
<?php
namespace Fuel\Core;
class Cache_Storage_Redis extends \Cache_Storage_Driver
{
/**
* @const string Tag used for opening & closing cache properties
*/
const PROPS_TAG = 'Fuel_Cache_Properties';
/**
* @var array driver specific configuration
*/
protected $config = array();
/*
* @var Redi... |
unless os.windows?
describe user('root') do
it { should exist }
skip 'This is an example test, replace with your own test.'
end
end
describe port(80) do
it { should_not be_listening }
skip 'This is an example test, replace with your own test.'
end
|
description('Tests for ES6 class syntax "super"');
var baseMethodValue = {};
var valueInSetter = null;
class Base {
constructor() { }
baseMethod() { return baseMethodValue; }
chainMethod() { return 'base'; }
static staticMethod() { return 'base3'; }
}
class Derived extends Base {
constructor() { ... |
from compressor.utils import staticfiles
from compressor.storage import CompressorFileStorage
class CompressorFinder(staticfiles.finders.BaseStorageFinder):
"""
A staticfiles finder that looks in COMPRESS_ROOT
for compressed files, to be used during development
with staticfiles development file server... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
/**
* Created by NoName on 6/1/2015.
*/
/**
* 5. Youngest person
*
* Write a function that finds the youngest person in a given array of people and prints his/hers full name
* Each person has properties firstname, lastname and age.
* */
function buildPerson(fname, lname, age) {
return {
firstName: f... |
/**
* Selfbits API V2
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 2.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the cl... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>containers: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... |
package com.siyeh.ig.classmetrics;
import com.intellij.psi.PsiClass;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiTypeParameter;
import com.siyeh.InspectionGadgetsBundle;
import com.siyeh.ig.BaseInspectionVisitor;
import org.jetbrains.annotations.NotNull;
public class ClassNestingDepthInspection
... |
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"time"
"github.com/hybridgroup/gobot"
"github.com/hybridgroup/gobot/platforms/firmata"
"github.com/hybridgroup/gobot/platforms/gpio"
)
type TravisResponse struct {
ID int `json:"id"`
Slug string `json:"slu... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SutherlandHodgmanClipping.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Provides polygon clipping by the Sutherland-Hodgman... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace System.Dynamic.Utils
{
internal sealed class ReferenceEqualityComparer<T> : IEq... |
package translate_test
import (
"fmt"
"cloud.google.com/go/translate"
"golang.org/x/net/context"
"golang.org/x/text/language"
)
func Example_NewClient() {
ctx := context.Background()
client, err := translate.NewClient(ctx)
if err != nil {
// TODO: handle error.
}
// Use the client.
// Close the client w... |
'use strict';
var gzipSize = require('gzip-size');
var prettyBytes = require('pretty-bytes');
var chalk = require('chalk');
function format(size) {
return chalk.green(prettyBytes(size));
}
module.exports = function (max, min, useGzip) {
if (max == null || min == null) {
throw new Error('`max` and `min` required')... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... |
DATE_FORMAT = 'j F Y'
TIME_FORMAT = 'h:ia'
DATETIME_FORMAT = 'j F Y h:ia'
# YEAR_MONTH_FORMAT =
MONTH_DAY_FORMAT = 'j F'
SHORT_DATE_FORMAT = 'j M Y'
SHORT_DATETIME_FORMAT = 'j M Y h:ia'
FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/lib... |
package gov.va.med.pharmacy.peps.external.common.preencapsulation.servlet.test.integration.atp;
import gov.va.med.pharmacy.peps.external.common.preencapsulation.test.OrderCheckTestCase;
/**
* Test the message bean using the MockVistACall object.
*/
public class Atp1014Test extends OrderCheckTestCase {
/**... |
/*global todomvc */
'use strict';
/**
* Directive that executes an expression when the element it is applied to loses focus
*/
todomvc.directive('todoBlur', function () {
return function (scope, elem, attrs) {
elem.bind('blur', function () {
scope.$apply(attrs.todoBlur);
});
scope.$on('$destroy', function... |
<div>
<header>
<h1>Breeze Todos</h1>
<h2>with Knockout & Require</h2>
<form data-bind="submit: addItem">
<input type="text" data-bind="value: newTodoDescription, valueUpdate: 'afterkeydown'" placeholder="What needs to be done?">
</form>
</header>
<section>
... |
[](https://travis-ci.org/Howard Yang/NibBinding)
[](http://cocoapods.org/pods/NibBinding)
[](htt... |
namespace Merchello.Web.Models.Ui
{
using System;
using System.Collections.Generic;
/// <summary>
/// Defines a checkout summary.
/// </summary>
/// <typeparam name="TBillingAddress">
/// The type of the <see cref="ICheckoutAddressModel"/> for billing
/// </typeparam>
/// <typepara... |
namespace Alembic {
namespace AbcGeom {
namespace ALEMBIC_VERSION_NS {
//! \brief The Matrix identifier hint.
//! Some 3d packages (like Maya) may have certain transformation operations
//! that aren't supported in other packages. MatrixHint is meant to
//! help with reading back into applications that natively suppo... |
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test.js"></script>
<script src="../resources/multiple-fields-ax-aria-attributes.js"></script>
</head>
<body>
<input id="test" type="month" value="2012-10">
<script>
description('This test checks aria-help attribute of fields in multiple fields week input ... |
// Code generated by informer-gen. DO NOT EDIT.
package v1beta1
import (
time "time"
eventsv1beta1 "k8s.io/api/events/v1beta1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
watch "k8s.io/apimachinery/pkg/watch"
internalinterfaces "k8s.io/client-go/informers/internalinter... |
class Integer
#
# Bencodes the Integer object. Bencoded integers are represented
# as +ixe+, where +x+ is the integer with an optional
# hyphen prepended, indicating negativity.
#
# 42.bencode #=> "i42e"
# -7.bencode #=> "i-7e"
def bencode
"i#{self}e"
end
end
|
package com.intellij.openapi.util.registry;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.editor.EditorFactory;
import com.intellij.openapi.project.DumbAware;
public class ShowRegistryAction extends AnAction implements DumbAwar... |
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="org.eclipse.ui.texteditor.FindReplaceDialog">
<item value="false" key="isRegEx"/>
<item value="pid" key="selection"/>
<item value="false" key="casesensitive"/>
<item value="false" key="incremental"/>
<item value="true" key="wrap... |
function CookieTest(name) {
TestCase.call(this,name);
}
CookieTest.prototype = new TestCase();
CookieTest.prototype.setUp = function() {
var mockWindow = new String('mockWindow');
mockWindow.closed = false;
this.browserBot = new MozillaBrowserBot(mockWindow);
this.browserBot.getCurrentWindow = func... |
function resolveMemberExpressions(object = {}, property = {}) {
if (object.type === 'JSXMemberExpression') {
return `${resolveMemberExpressions(object.object, object.property)}.${property.name}`;
}
return `${object.name}.${property.name}`;
}
/**
* Returns the tagName associated with a JSXElement.
*/
expor... |
export HUBOT_ADAPTER=hubot-irc
export HUBOT_NAME=myhubot
bin/hubot
|
<!-- $Id: EXTENDING.html 198 2002-09-04 01:17:32Z darren $ -->
<html>
<head>
<title>Exuberant Ctags: Adding support for a new language</title>
</head>
<body>
<h1>How to Add Support for a New Language to Exuberant Ctags</h1>
<p>
<b>Exuberant Ctags</b> has been designed to make it very easy to add your own
c... |
ES5Harness.registerTest( {
id: "15.4.4.22-8-c-1",
path: "TestCases/chapter15/15.4/15.4.4/15.4.4.22/15.4.4.22-8-c-1.js",
description: "Array.prototype.reduceRight throws TypeError when Array is empty and initialValue is not present",
test: function testcase() {
function callbackfn(prevVal, curVal, idx, obj)
{
... |
// 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, modify, merge, publish, distribute, sublicense, and/o... |
/* eslint-disable ava/no-ignored-test-files */
import test from 'ava'
import mojang from '..'
const {
MOJANG_USERNAME,
MOJANG_PASSWORD,
MOJANG_CLIENT_TOKEN,
MOJANG_ANSWER1,
MOJANG_ANSWER2,
MOJANG_ANSWER3
} = process.env
const delay = ms => new Promise(resolve => setTimeout(resolve, ms))
test('security i... |
The system will perform a periodic check on the configuration files, configured by `configuration-file-refresh-period`, with the default at 5000, in milliseconds.
Once the configuration file is changed (broker.xml) the following modules will be reloaded automatically:
- Address Settings
- Security Settings
- JMS Queu... |
use strict;
use Bio::SeqIO;
use Getopt::Std;
use FindBin qw($Bin);
use lib "$Bin/../modules";
use read_FASTA;
### rfarrer@broadinstitute.org
# Opening commands
my $usage = "Usage: $0 -a <current_order_isolate1> -b <name_isolate2> -s <aligncoords.spans> > new_order_isolate2\n
Optional: -f fasta for isolate2 (will incl... |
var ss_IFormattable = function#? DEBUG IFormattable$##() { };
ss_IFormattable.prototype = {
format: null
};
ss.registerInterface(global, 'ss.IFormattable', ss_IFormattable);
ss.format = function#? DEBUG ss$format##(obj, fmt) {
if (typeof(obj) === 'number')
return ss.formatNumber(obj, fmt);
else if (ss.isDate(obj... |
#include <iconv.h>
#include <stdlib.h>
#include <string.h>
#include "config.h"
#ifdef __CYGWIN__
#include <cygwin/version.h>
#endif
#if ENABLE_EXTRA
/*
* Consider all system dependent encodings, for any system,
* and the extra encodings.
*/
#define USE_AIX
#define USE_OSF1
#define USE_DOS
#define USE_EXTRA
#els... |
package com.twitter.finagle.exp.swift
import org.junit.runner.RunWith
import org.scalatest.FunSuite
import org.scalatest.junit.JUnitRunner
import org.apache.thrift.TApplicationException
import com.twitter.finagle.Thrift
import com.twitter.util.{Future, Await}
@RunWith(classOf[JUnitRunner])
class EndToEndTest extends ... |
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="10dip">
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_pare... |
#ifndef __SIM_TLB_HH__
#define __SIM_TLB_HH__
#include "base/misc.hh"
#include "mem/request.hh"
#include "sim/fault_fwd.hh"
#include "sim/sim_object.hh"
class ThreadContext;
class MasterPort;
class BaseTLB : public SimObject
{
protected:
BaseTLB(const Params *p)
: SimObject(p)
{}
public:
e... |
/* govuk_frontend_toolkit includes */
@-ms-viewport {
width: device-width; }
@-o-viewport {
width: device-width; }
@font-face {
font-family: GDS-Logo;
src: local("HelveticaNeue"), local("Helvetica Neue"), local("Arial"), local("Helvetica"); }
@-ms-viewport {
width: device-width; }
@-o-viewport {
width: ... |
<tool id="gatk2_realigner_target_creator" name="Realigner Target Creator" version="@VERSION@.1">
<description>for use in local realignment</description>
<macros>
<import>gatk2_macros.xml</import>
</macros>
<expand macro="requirements" />
<expand macro="version_command" />
<command interpreter="python">
... |
gradle clean build installDist
docker build -t incapture/watchserver .
|
<!DOCTYPE HTML>
<html>
<head>
<script src="/js-test-resources/js-test.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script type="text/javascript">
description("Tests whether WebSocket correctly aborts the connection when it receives a frame with too long payload.");
window.jsTestI... |
package com.jaquadro.minecraft.storagedrawers.block.tile;
import com.jaquadro.minecraft.storagedrawers.StorageDrawers;
import com.jaquadro.minecraft.storagedrawers.api.inventory.IDrawerInventory;
import com.jaquadro.minecraft.storagedrawers.api.security.ISecurityProvider;
import com.jaquadro.minecraft.storagedrawers.a... |
#include "TTBuffer.h"
#include "TTSampleMatrix.h"
#define thisTTClass TTBuffer
#define thisTTClassName "buffer"
#define thisTTClassTags "dspLibrary, audio, buffer"
TTHashPtr gTTBufferNameMap = NULL;
// TODO: we likely need second hash table to track all SampleMatrices for status and destructor
TTObjectBasePtr... |
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
Active Record Callbacks
=======================
This guide teaches you how to hook into the life cycle of your Active Record
objects.
After reading this guide, you will know:
* The life cycle of Active Record objects.
* How ... |
from __future__ import absolute_import
import logging
import os
import optparse
import warnings
import sys
import re
from pip.exceptions import InstallationError, CommandError, PipError
from pip.utils import get_installed_distributions, get_prog
from pip.utils import deprecation, dist_is_editable
from pip.vcs import... |
@interface MWMSideButtons : NSObject
+ (MWMSideButtons *)buttons;
@property (nonatomic) BOOL zoomHidden;
@property (nonatomic) BOOL hidden;
@property (nonatomic, readonly) UIView *view;
- (instancetype)init __attribute__((unavailable("init is not available")));
- (instancetype)initWithParentView:(UIView *)view;
- (... |
using namespace llvm;
using namespace std;
namespace {
/// Insert a mock CUDescriptor with the specified producer
void insertCUDescriptor(Module *M, StringRef File, StringRef Dir,
StringRef Producer) {
DIBuilder B(*M);
B.createCompileUnit(dwarf::DW_LANG_C99, File, Dir, Producer, false, "",... |
using WebKit::WebBindings;
namespace webkit_glue {
bool SerializeNPIdentifier(NPIdentifier identifier, Pickle* pickle) {
const NPUTF8* string;
int32_t number;
bool is_string;
WebBindings::extractIdentifierData(identifier, string, number, is_string);
if (!pickle->WriteBool(is_string))
return false;
if... |