text stringlengths 3 1.05M |
|---|
.oo-ui-icon-bigger {
background-image: /* @embed */ url(themes/mediawiki/images/icons/bigger-ltr.png);
}
.oo-ui-icon-bigger-invert {
background-image: /* @embed */ url(themes/mediawiki/images/icons/bigger-ltr-invert.png);
}
.oo-ui-icon-smaller {
background-image: /* @embed */ url(themes/mediawiki/images/icons/small... |
// Copyright 2009 The Closure Library Authors. All Rights Reserved.
//
// 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 requ... |
namespace Cuemon.Extensions.Xunit.Hosting
{
internal static class HostFixtureExtensions
{
internal static bool HasValidState(this IHostFixture fixture)
{
return fixture.ConfigureServicesCallback != null && fixture.Host != null && fixture.ServiceProvider != null && fixture.ConfigureH... |
"""
SpatialDescriptormodel utils
----------------------------
Group different commmon utils to improve the usability for common tasks.
"""
import numpy as np
from pySpatialTools.Retrieve import CircRetriever, KRetriever
from pySpatialTools.FeatureManagement.Descriptors import Interpolator,\
DummyDescriptor, NullP... |
describe("module:ng.filter:limitTo", function() {
beforeEach(function() {
browser.get("./examples/example-example57/index.html");
});
var numLimitInput = element(by.model('numLimit'));
var letterLimitInput = element(by.model('letterLimit'));
var limitedNumbers = element(by.binding('numbers | limitTo:numL... |
package io.netty.channel.nio;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufAllocator;
import io.netty.buffer.ByteBufUtil;
import io.netty.buffer.Unpooled;
import io.netty.channel.AbstractChannel;
import io.netty.channel.Channel;
import io.netty.channel.ChannelException;
import io.netty.channel.Channe... |
using asio::ip::udp;
class udp_daytime_server
{
public:
udp_daytime_server(asio::io_context& io_context)
: socket_(io_context, udp::endpoint(udp::v4(), 13))
{
start_receive();
}
private:
void start_receive()
{
socket_.async_receive_from(
asio::buffer(recv_buffer_), remote_endpoint_,
... |
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title>class ActiveSupport::MessageVerifier::InvalidSignature - Rails Framework Documentation</title>
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
<script type="text/javascript">
var r... |
FROM biocontainers/biocontainers:vdebian-buster-backports_cv1
MAINTAINER biocontainers <biodocker@gmail.com>
LABEL software="emboss-lib" \
base_image="biocontainers/biocontainers:vdebian-buster-backports_cv1" \
container="emboss-lib" \
about.summary="EMBOSS Libraries" \
about.home="http://emboss.... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FST - Lucca Saldivar Alvarez-Calderon</title>
<meta name="description" content="Keep track of the statistics... |
#include "cbase.h"
#include "player.h"
#include "gamerules.h"
#include "items.h"
#include "ammodef.h"
#include "eventlist.h"
#include "npcevent.h"
#include "asw_pickup.h"
#include "asw_shareddefs.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
IMPLEMENT_SERVERCLASS_ST(CASW_... |
' 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 Microsoft.CodeAnalysis.VisualBasic
Imports Roslyn.Test.Utilities
Imports Microsoft.VisualStudio.LanguageServices.UnitTests.ProjectSystemShim.Framework
... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_signal_set</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../index.html" title="Asio">
<link rel="up" ... |
(function ($) {
$.extend($.summernote.lang, {
'pt-PT': {
font: {
bold: 'Negrito',
italic: 'Itálico',
underline: 'Sublinhado',
clear: 'Remover estilo da fonte',
height: 'Altura da linha',
name: 'Fonte',
strikethrough: 'Riscado',
size: 'Tamanho d... |
package com.typesafe.config;
/**
* A set of options related to resolving substitutions. Substitutions use the
* <code>${foo.bar}</code> syntax and are documented in the <a
* href="https://github.com/typesafehub/config/blob/master/HOCON.md">HOCON</a>
* spec.
* <p>
* Typically this class would be used with the me... |
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Projac.Sql;
namespace Projac.SQLite.Tests
{
public partial class SQLiteSyntaxTests
{
[TestCaseSource(typeof(SQLiteSyntaxTestCases), "NonQueryStatementCases")]
public void NonQueryStatementReturnsExpectedInstance(... |
import numpy
import adam
import theano
import theano.tensor as T
from collections import OrderedDict
from theano_extensions import ProbsGrabber
def sharedX(value, name=None, borrow=False, dtype=None):
if dtype is None:
dtype = theano.config.floatX
return theano.shared(theano._asarray(value, dtype=dtype... |
#include <stdio.h>
#include "motor.h"
const char* epos_motor_errors[] = {
"success",
"error setting EPOS motor parameters",
};
void epos_motor_init(epos_motor_p motor, epos_device_p dev, epos_motor_type_t
type, float max_current) {
motor->dev = dev;
motor->type = type;
motor->max_cont_current = 0.5*ma... |
package org.apache.calcite.sql.type;
import org.apache.calcite.rel.type.RelDataType;
import org.apache.calcite.rel.type.RelDataTypeFactory;
import org.apache.calcite.rel.type.RelProtoDataType;
import org.apache.calcite.sql.SqlOperatorBinding;
/**
* A {@link SqlReturnTypeInference} which always returns the same SQL ... |
World VII
Blade
|
/**
* @constructor
* @extends {WebInspector.JavaScriptSourceFrame}
* @param {WebInspector.ScriptsPanel} scriptsPanel
* @param {WebInspector.UISourceCode} uiSourceCode
*/
WebInspector.SnippetJavaScriptSourceFrame = function(scriptsPanel, uiSourceCode)
{
WebInspector.JavaScriptSourceFrame.call(this, scriptsPan... |
#ifndef AccessibilityMediaControls_h
#define AccessibilityMediaControls_h
#if ENABLE(VIDEO)
#include "AccessibilitySlider.h"
#include "MediaControlElements.h"
namespace WebCore {
class AccessibilityMediaControl : public AccessibilityRenderObject {
public:
static PassRefPtr<AccessibilityObject> create(Render... |
//%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... |
import {expect} from 'chai';
import {Map, List, fromJS} from 'immutable';
import {productMeta, productOptions, sectors, getDataForQuery, filterProductQuery} from '../src/products'
import {filterProducts, productFilter, filterOptions, filterOption} from '../src/product_helper';
describe('products', () => {
var NUM_... |
namespace peloton {
namespace test {
//===--------------------------------------------------------------------===//
// Garbage Collection Tests
//===--------------------------------------------------------------------===//
class GarbageCollectionTests : public PelotonTest {};
void UpdateTuple(storage::DataTable *tab... |
<?php
/**
* Model is the customized base model class.
* All model classes for this application should extend from this base class.
*/
class Model extends CActiveRecord
{
}
|
package bolt
import (
"fmt"
"os"
"syscall"
"time"
"unsafe"
)
// LockFileEx code derived from golang build filemutex_windows.go @ v1.5.1
var (
modkernel32 = syscall.NewLazyDLL("kernel32.dll")
procLockFileEx = modkernel32.NewProc("LockFileEx")
procUnlockFileEx = modkernel32.NewProc("UnlockFileEx")
)
con... |
.class final Lcom/android/internal/statusbar/StatusBarIcon$1;
.super Ljava/lang/Object;
.source "StatusBarIcon.java"
# interfaces
.implements Landroid/os/Parcelable$Creator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/internal/statusbar/StatusBarIcon;
.end annotation
... |
package version
import (
"fmt"
"strings"
)
// These constants determine the current version of this module.
//
//
// For our release process, we enforce the following rules:
// * Tagged releases use a tag that is identical to String.
// * Tagged releases never reference a commit where the String
// contains "devel"... |
<?xml version="1.0" encoding="UTF-8"?>
<workingSetManager>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1395775088587_0" label="Window Working Set" name="Aggregate for window 1395775088586"/>
</workingSetManager> |
Functions
=========
.. contents::
.. module:: renderdoc
Capture File Access
-------------------
.. autofunction:: renderdoc.OpenCaptureFile
Target Control
--------------
.. autofunction:: renderdoc.EnumerateRemoteTargets
.. autofunction:: renderdoc.CreateTargetControl
Remote Servers
--------------
.. autofuncti... |
@interface KWBlock : NSObject
#pragma mark - Initializing
- (id)initWithBlock:(void (^)(void))block;
+ (id)blockWithBlock:(void (^)(void))block;
#pragma mark - Calling Blocks
- (void)call;
@end
#pragma mark - Creating Blocks
KWBlock *theBlock(void (^block)(void));
KWBlock *lambda(void (^block)(void));
|
module.exports = {
color: "green"
}; |
<?php
namespace Kunstmaan\AdminListBundle\AdminList\FilterType\DBAL;
use Symfony\Component\HttpFoundation\Request;
/**
* StringFilterType
*/
class StringFilterType extends AbstractDBALFilterType
{
/**
* @param Request $request The request
* @param array &$data The data
* @param string $un... |
package com.socialize.api;
import com.socialize.api.SocializeApi.RequestType;
import com.socialize.auth.AuthProviderData;
/**
* @author Jason Polites
*/
public class SocializeAuthRequest extends SocializeRequest {
private String consumerKey;
private String consumerSecret;
private String udid;
private String a... |
package com.google.common.truth.codegen;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Marks an element as incompatible with j2objc transpiler.
*/
@Retention(RetentionPolicy.SOURCE)
@interface J2ObjCIncompatible {
String value();
}
|
package com.intellij.coverage.view;
import com.intellij.ide.util.treeView.NodeDescriptor;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiNamedElement;
public class CoverageViewDescriptor extends NodeDescriptor {
private final Object myClassOrPackage;
public CoverageViewDescriptor(final ... |
Preprocessors in Karma allow you to do some work with your files before
they get served to the browser. The configuration of these happens in the `preprocessors` block
within the configuration file:
```javascript
preprocessors: {
'**/*.coffee': ['coffee'],
'**/*.html': ['html2js']
},
```
Note: Most of the preproc... |
void index_add(MEX_DEF_INPUT){
//1 - Add or update an index entry from an in-memory struct
//
// libgit(25,1,...
//
// int git_index_add(git_index *index, const git_index_entry *source_entry);
}
void index_add_all(MEX_DEF_INPUT){
//2 - Add or update index entries matching files in the worki... |
STATISTIC(NumOpenExtRemoved,
"Number of open_existential_addr instructions removed");
STATISTIC(NumSimplify, "Number of instructions simplified or DCE'd");
STATISTIC(NumCSE, "Number of instructions CSE'd");
using namespace swift;
//===-------------------------------------------------------------------... |
<?php
Yii::import("ext.yiigems.widgets.common.AppWidget");
class TimePicker extends AppWidget {
/**
* @var string the id of the widget container element.
*/
public $id;
/**
* @var string the name of the element.
* This may be required for form binding.
*/
public $name;
... |
<!DOCTYPE html>
<!--
Copyright (c) 2014 Intel Corporation.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of works must retain the original copyright notice, this lis
of conditions and the following dis... |
Shindo.tests('Fog::Compute[:xenserver] | unplug_pbd request', ['xenserver']) do
compute = Fog::Compute[:xenserver]
# Creating a new SR automatically plugs the PBD
# We need the SR available for this to work, so create it first
ref = compute.create_sr compute.hosts.first.reference,
'FOG... |
package org.eclipse.bpel.ui.actions.editpart;
import org.eclipse.bpel.model.BPELPackage;
import org.eclipse.bpel.model.CatchAll;
import org.eclipse.bpel.ui.BPELEditor;
import org.eclipse.bpel.ui.BPELUIPlugin;
import org.eclipse.bpel.ui.IBPELUIConstants;
import org.eclipse.bpel.ui.Messages;
import org.eclipse... |
package io.debezium.connector.mysql;
import static io.debezium.junit.EqualityCheck.LESS_THAN;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.math.BigDecimal;
import java... |
package org.influxdb.querybuilder;
import java.util.ArrayList;
import java.util.List;
import org.influxdb.querybuilder.clauses.AndConjunction;
import org.influxdb.querybuilder.clauses.Clause;
import org.influxdb.querybuilder.clauses.ConjunctionClause;
import org.influxdb.querybuilder.clauses.OrConjunction;
public cla... |
<include src="user.html" repeat="{{users}}"><p>Hello, {{name}}.</p></include> |
<f:if condition="{model.showElement}">
<f:format.raw>{model.additionalArguments.content}</f:format.raw>
</f:if> |
form.fo_login_widget { margin:0; padding:0; border:none; position:relative; _padding-top:2px; display:block; background:url(../images/default/bg_login.gif) no-repeat; width:195px; height:264px;}
*:first-child+html body .login_default { padding-top:2px;}
.login_default legend { display:none; width:0; height:0; overflow:... |
<!DOCTYPE html>
<div contenteditable test='empty'>
<table contenteditable=false>
<tr><td></td></tr>
</table>
</div>
<div contenteditable test='with empty span'>
<table contenteditable=false>
<tr><td><span></span></td></tr>
</table>
</div>
<div contenteditable test='with editable empty span'>
<table ... |
{% extends "site_base.html" %}
{% load i18n %}
{% load sitetree %}
{% load url from future %}
{% block body_outer %}
<div class="row">
<div class="span12">
<div class="page-head">
<h2>{% trans "Session Detail" %}</h2>
{% block breadcrumbs %}{% sitetree_breadcrum... |
<?php
/**
* ALIPAY API: koubei.marketing.data.customreport.query request
*
* @author auto create
* @since 1.0, 2019-01-07 20:51:15
*/
class KoubeiMarketingDataCustomreportQueryRequest
{
/**
* 自定义数据报表数据查询接口
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminal... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const base64VLQ = require("./base64-vlq");
const getNumberOfLines = require("./helpers").getNumberOfLines;
const getUnfinishedLine = require("./helpers").getUnfinishedLine;
const LINE_MAPPING = ";AACA";
... |
LEVEL = ../../../..
LIBRARYNAME = LLVMAArch64AsmParser
# Hack: we need to include 'main' ARM target directory to grab private headers
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
include $(LEVEL)/Makefile.common
|
require 'spec_helper'
module Cuporter
describe TagReport do
context "#report_node" do
context "empty input" do
it "should not raise an error" do
tag_report = TagReport.new(:input_file_pattern => "fixtures/empty_file.feature", :filter_args => {})
expect do
@report = t... |
/**
* Talisman metrics/eudex
* =======================
*
* JavaScript implementation of the distance & similarity functions using
* Eudex hashes.
*
* [Reference]:
* https://github.com/ticki/eudex
*
* [Author]:
* @ticki (https://github.com/ticki)
*
* [Tags]: metric, string metric.
*/
import eudex from '../... |
(function($) {
$.fn.asmSelect = function(customOptions) {
var options = {
listType: 'ol', // Ordered list 'ol', or unordered list 'ul'
sortable: true, // Should the list be sortable?
highlightFeature: false, // Use the highlight feature?
animate: false, // Animate the the adding/... |
<?php
namespace Symfony\Component\Workflow\Tests;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Workflow\DefinitionBuilder;
use Symfony\Component\Workflow\Transition;
class DefinitionBuilderTest extends TestCase
{
/**
* @expectedException \Symfony\Component\Workflow\Exception\InvalidArgumentExceptio... |
/**
* This is a multi-pane, application-oriented UI layout style that supports multiple nested panels, automatic bars
* between regions and built-in {@link Ext.panel.Panel#collapsible expanding and collapsing} of regions.
*
* This class is intended to be extended or created via the `layout:'border'` {@link Ext.con... |
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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:/... |
public final class $(type-name)SeqHolder
{
public $(scoped-actual-type-name) value[] = null;
public $(type-name)SeqHolder()
{
}
public $(type-name)SeqHolder($(scoped-actual-type-name)[] initialValue)
{
value = initialValue;
}
}
|
#region License
// Copyright (c) 2007 James Newton-King
//
// 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,... |
"""
this is a sample shows twc-naive-bayes train and test by a sample in str
"""
import math
import pickle
import sys,os
sys.path.append(os.path.join(os.getcwd(), '../'))
from pymining.math.matrix import Matrix
from pymining.math.text2matrix import Text2Matrix
from pymining.nlp.segmenter import Segmenter
from pyminin... |
using namespace std;
using namespace json_spirit;
BOOST_AUTO_TEST_SUITE(rpc_tests)
static Array
createArgs(int nRequired, const char* address1=NULL, const char* address2=NULL)
{
Array result;
result.push_back(nRequired);
Array addresses;
if (address1) addresses.push_back(address1);
if (address2) a... |
"""This module contains some decorators that can be used to support
the page models. For example for an action that needs a page to be fully
loaded, the @require_loaded decorator will make sure the page is loaded
before the call is invoked.
This pattern is also useful for waiting for certain asynchronous events
to happ... |
.navicon-comments {
background-image:url(images/menu.comments.png) !important;
}
.navicon-comments:hover {
background-position:0 -30px !important;
} |
namespace DuiLib {
/////////////////////////////////////////////////////////////////////////////////////
//
typedef CControlUI* (CALLBACK* FINDCONTROLPROC)(CControlUI*, LPVOID);
class UILIB_API CControlUI
{
public:
CControlUI();
virtual ~CControlUI();
public:
virtual CDuiString GetName() const;
virt... |
package gov.nasa.ensemble.emf.util;
import gov.nasa.ensemble.emf.transaction.AbstractTransactionUndoableOperation;
import gov.nasa.ensemble.emf.transaction.TransactionUtils;
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.edit.domain.EditingDomain;
public class CommandUndoableOperation extends... |
package testrunner_test
import (
. "github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/ginkgo/testrunner"
"github.com/onsi/ginkgo/ginkgo/testsuite"
. "github.com/onsi/gomega"
"testing"
)
func strAddr(s string) interface{} {
return &s
}
func boolAddr(s bool) interface{} {
return &s
}
func intAddr(s int) interfac... |
# -*- coding: us-ascii -*-
# module to create Makefile for extension modules
# invoke like: ruby -r mkmf extconf.rb
require 'rbconfig'
require 'fileutils'
require 'shellwords'
# :stopdoc:
class String
# Wraps a string in escaped quotes if it contains whitespace.
def quote
/\s/ =~ self ? "\"#{self}\"" : "#{sel... |
// No error
declare const c1: boolean;
declare const c2: number;
declare const c3, c4 :string, c5: any;
declare module M {
const c6;
const c7: number;
} |
require "bindata/base_primitive"
module BinData
# Counts the number of bytes remaining in the input stream from the current
# position to the end of the stream. This only makes sense for seekable
# streams.
#
# require 'bindata'
#
# class A < BinData::Record
# count_bytes_remaining :bytes_rema... |
namespace fs = boost::filesystem;
bool parseArgs(int argc, char* argv[], unsigned int* width, unsigned int* height)
{
for(int i = 1; i < argc; i++)
{
if(strcmp(argv[i], "--resolution") == 0)
{
if(i >= argc - 2)
{
std::cerr << "Invalid resolution supplied.";
return false;
}
*width = atoi(argv... |
package org.kaaproject.kaa.demo.smarthousedemo.command;
public class EndpointCommandKey {
String fqn;
String endpontKey;
public EndpointCommandKey(String fqn, String endpontKey) {
this.fqn = fqn;
this.endpontKey = endpontKey;
}
@Override
public int hashCode() {
... |
require 'rubygems/remote_fetcher'
require 'rubygems/user_interaction'
require 'rubygems/errors'
require 'rubygems/text'
##
# SpecFetcher handles metadata updates from remote gem repositories.
class Gem::SpecFetcher
include Gem::UserInteraction
include Gem::Text
FILES = {
:all => 'specs',
:lates... |
package session
import (
"net/http"
"github.com/gorilla/context"
"github.com/gorilla/securecookie"
"github.com/gorilla/sessions"
)
type store struct {
store sessions.Store
}
func NewStore(secure bool, maxAgeSeconds int, secrets ...string) Store {
values := [][]byte{}
for _, secret := range secrets {
values... |
import * as angular from "angular";
import * as ngTranslate from "angular-translate";
import {consts} from "./tooltip.const";
import {TooltipService} from "./tooltip.service";
import {TooltipProvider} from "./tooltip.provider";
import {TooltipDirective} from "./tooltip.directive";
console.log(`>>> REGISTER ng-module '... |
module FFI
# @private
class Generator
def initialize(ffi_name, rb_name, options = {})
@ffi_name = ffi_name
@rb_name = rb_name
@options = options
@name = File.basename rb_name, '.rb'
file = File.read @ffi_name
new_file = file.gsub(/^( *)@@@(.*?)@@@/m) do
@constants... |
#include "SNTPModule.h"
/**
* \author Darryn Campbell (DCC, JRQ768)
* \date November 2009
*/
BOOL CSNTPModule::onInit(PPBSTRUCT pPBStructure)
{
wcscpy (m_szModName, L"SNTP");
return TRUE;
}
/**
* \author Darryn Campbell (DCC, JRQ768)
* \date November 2009
*/
BOOL CSNTPModule::onAttachInstance(PPBSTRUCT pPBStructu... |
#ifndef CDM_h
#define CDM_h
#if ENABLE(ENCRYPTED_MEDIA_V2)
#include <wtf/Forward.h>
#include <wtf/PassRefPtr.h>
#include <wtf/Uint8Array.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
class CDM;
class CDMPrivateInterface;
class CDMSession;
class MediaPlayer;
typedef PassOwnPtr<CDMPrivateInterface> (*Crea... |
Clazz.declarePackage ("JM");
Clazz.load (["JM.BioPolymer"], "JM.CarbohydratePolymer", null, function () {
c$ = Clazz.declareType (JM, "CarbohydratePolymer", JM.BioPolymer);
Clazz.makeConstructor (c$,
function (monomers) {
Clazz.superConstructor (this, JM.CarbohydratePolymer, []);
this.set (monomers);
this.type ... |
import itertools
from app.questionnaire.path_finder import PathFinder
from app.templating.summary.group import Group
def build_summary_rendering_context(schema, sections, answer_store, metadata, schema_context):
"""
Build questionnaire summary context containing metadata and content from the answers of the q... |
@class CCPieView;
@protocol CCPieViewDataSource <NSObject>
@required
- (NSInteger)numberOfPiePieces;
- (NSNumber *)pieView:(CCPieView *)pie valueForPiece:(NSInteger)index;
- (NSString *)pieView:(CCPieView *)pie titleForPiece:(NSInteger)index;
@optional
- (NSColor *)colorForPiePiece:(NSInteger)index;
- (NSString *)p... |
import copy
import shlex
import unittest
from typing import Any, Dict
from unittest import mock
from unittest.mock import MagicMock
from uuid import UUID
import pytest
from parameterized import parameterized
from airflow.exceptions import AirflowException
from airflow.providers.apache.beam.hooks.beam import BeamComma... |
using content::BrowserThread;
namespace {
const char kHelpAppFormat[] =
"chrome-extension://honijodknafkokifofgiaalefdiedpko/oobe.html?id=%d";
} // namespace
namespace chromeos {
///////////////////////////////////////////////////////////////////////////////
// HelpApp, public:
HelpAppLauncher::HelpAppLaunch... |
package com.reactnativenavigation.anim;
public interface FabAnimator {
void show();
void hide();
}
|
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2022] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... |
#include "config.h"
#include "modules/quota/DeprecatedStorageQuota.h"
#include "core/dom/ExceptionCode.h"
#include "core/dom/ExecutionContext.h"
#include "modules/quota/DeprecatedStorageQuotaCallbacksImpl.h"
#include "modules/quota/StorageErrorCallback.h"
#include "modules/quota/StorageQuotaClient.h"
#include "modul... |
#ifndef _MACHINE_CONS_H_
#define _MACHINE_CONS_H_
struct consdev;
struct tty;
typedef void cn_probe_t(struct consdev *);
typedef void cn_init_t(struct consdev *);
typedef void cn_term_t(struct consdev *);
typedef void cn_grab_t(struct consdev *);
typedef void cn_ungrab_t(struct consdev *);
typedef int cn_getc_t(str... |
$(function() {
var FADE_TIME = 150; // ms
var TYPING_TIMER_LENGTH = 400; // ms
var COLORS = [
'#e21400', '#91580f', '#f8a700', '#f78b00',
'#58dc00', '#287b00', '#a8f07a', '#4ae8c4',
'#3b88eb', '#3824aa', '#a700ff', '#d300e7'
];
// Initialize varibles
var $window = $(window);
var $usernameInpu... |
namespace my_namespace {
class UserDefinedType {
public:
UserDefinedType() = default;
void Append(absl::string_view str) { value_.append(str.data(), str.size()); }
const std::string& Value() const { return value_; }
friend void AbslFormatFlush(UserDefinedType* x, absl::string_view str) {
x->Append(str);
... |
'use strict';
'require rpc';
'require uci';
'require form';
'require network';
function parse_portvalue(section_id) {
var ports = L.toArray(uci.get('network', section_id, 'ports'));
for (var i = 0; i < ports.length; i++) {
var m = ports[i].match(/^(\d+)([tu]?)/);
if (m && m[1] == this.option)
return m[2] ||... |
cask :v1 => 'feed-the-beast' do
version :latest
sha256 :no_check
# cursecdn.com is the official download host per the vendor homepage
url 'http://ftb.cursecdn.com/FTB2/launcher/FTB_Launcher.zip'
name 'Feed the Beast'
homepage 'http://www.feed-the-beast.com/'
license :apache
app 'Feed The Beast.app'
... |
package dynamodb
import (
"bytes"
"hash/crc32"
"io"
"io/ioutil"
"math"
"strconv"
"time"
"github.com/awslabs/aws-sdk-go/aws"
"github.com/awslabs/aws-sdk-go/internal/apierr"
)
func init() {
initService = func(s *aws.Service) {
s.DefaultMaxRetries = 10
s.RetryRules = func(r *aws.Request) time.Duration {
... |
CREATE SCHEMA doctrine_tests;
CREATE SCHEMA test_create_database;
CREATE SCHEMA test_drop_database;
GRANT ALL PRIVILEGES ON doctrine_tests.* to travis@'%';
GRANT ALL PRIVILEGES ON test_create_database.* to travis@'%';
GRANT ALL PRIVILEGES ON test_drop_database.* to travis@'%';
|
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.php.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/php-project/1">
<name>Csv2Csv</name>
</data>
</configuration>
</project>
|
package scheduler
import (
"fmt"
"k8s.io/api/core/v1"
clientset "k8s.io/client-go/kubernetes"
"k8s.io/kubernetes/pkg/apis/core/helper"
v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/fields"
"k8s.io/apimachinery/pkg/labels"
"k8s.io... |
namespace base {
class Value;
}
namespace net {
class AddressList;
class BoundNetLog;
class HostCache;
class HostResolverProc;
class NetLog;
// This class represents the task of resolving hostnames (or IP address
// literal) to an AddressList object.
//
// HostResolver can handle multiple requests at a time, so when... |
<header class="common-header J_commonHeaderWrapper header-wrap">
<div class="container"> <a class="logo" href="/"> <img src="/img/logo.png" alt="Atpress"> </a>
<div class="triggers"> <a class="headericon-header-search J_searchTrigger" href="javascript:void(0)"></a> <a class="headericon-header-menu J_menuTrigger" ... |
#include <linux/syscalls.h>
#include <linux/fs.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/kmod.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
/*
* Handling of filesystem drivers list.
* Rules:
* Inclusion to/removals from/scanni... |