text
stringlengths
3
1.05M
using System.Collections.Generic; using Orchard.Localization; namespace Orchard.Layouts.Framework.Elements { public class CategoryDescriptor { public CategoryDescriptor() { Elements = new List<ElementDescriptor>(); } public CategoryDescriptor(string name, LocalizedString displ...
<?php namespace Tree\Fixture\Closure; use Gedmo\Mapping\Annotation as Gedmo; use Doctrine\ORM\Mapping as ORM; /** * @Gedmo\Tree(type="closure") * @Gedmo\TreeClosure(class="CategoryClosure") * @ORM\Entity(repositoryClass="Gedmo\Tree\Entity\Repository\ClosureTreeRepository") */ class Category { /** * @ORM...
[![Travis CI](https://travis-ci.org/amaslenn/AMWorkoutAssist.svg)](https://travis-ci.org/amaslenn/AMWorkoutAssist/builds) # My Workout Assistent **Telegram Bot** ([@AMWorkoutAssist](http://telegram.me/AMWorkoutBot)) for writing workout data to Google spreadsheet Works only with my doc, so mostly useless for anyone ...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2018 Red Hat, Inc. and/or its affiliates. ~ ~ Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0 --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance...
import logging import threading import traceback from configobj import ConfigObj import time class Handler(object): """ Handlers process metrics that are collected by Collectors. """ def __init__(self, config=None, log=None): """ Create a new instance of the Handler class """ ...
int should_return_one() { return 0; }
#ifndef ScriptHeapSnapshot_h #define ScriptHeapSnapshot_h #include <wtf/RefCounted.h> #include <wtf/text/WTFString.h> namespace WebCore { typedef uint32_t SnapshotObjectId; class ScriptHeapSnapshot : public RefCounted<ScriptHeapSnapshot> { public: class OutputStream { public: virtual ~OutputStream...
package org.apache.camel.processor.async; import org.apache.camel.ContextTestSupport; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.builder.RouteBuilder; /** * @version */ public class AsyncEndpointRecipientList4Test extends ContextTestSupport { private static l...
/* ocsp_srv.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2001. */ /* ==================================================================== * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or wi...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Segment Concept</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" href="../../../index.html" titl...
namespace browser_sync { ModelSafeGroup MockUIModelWorker::GetModelSafeGroup() { return GROUP_UI; } bool MockUIModelWorker::CurrentThreadIsWorkThread() { return true; } ModelSafeGroup MockDBModelWorker::GetModelSafeGroup() { return GROUP_DB; } bool MockDBModelWorker::CurrentThreadIsWorkThread() { return true; } Mock...
import random import string from oscar.core.loading import get_model Account = get_model('oscar_accounts', 'Account') def generate(size=12, chars=None): """ Generate a new account code :size: Length of code :chars: Character set to choose from """ if chars is None: chars = string.as...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
package org.apache.camel.component.mllp; /** * Raised when a MLLP Producer or consumer encounter an error transmitting data */ public class MllpWriteException extends MllpException { public MllpWriteException(String message, byte[] hl7Message) { super(message, hl7Message); } public MllpWriteExc...
package s3manager import ( "bytes" "crypto/md5" "fmt" "io" "os" "regexp" "strings" "testing" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/awstesting/integration" "github.com/aws/aws-sdk-go/service/s3" "g...
package yaml import ( "io" ) // Set the reader error and return 0. func yaml_parser_set_reader_error(parser *yaml_parser_t, problem string, offset int, value int) bool { parser.error = yaml_READER_ERROR parser.problem = problem parser.problem_offset = offset parser.problem_value = value return false } // Byte ...
import os.path from mimetypes import guess_type VERSION = (0, 3, 6) __version__ = '.'.join(map(str, VERSION)) def _lazy_load(fn): _cached = [] def _decorated(): if not _cached: _cached.append(fn()) return _cached[0] def clear(): while _cached: _cached.pop...
<?php namespace Aws\Kinesis\Exception; use Aws\Exception\AwsException; /** * Represents an error interacting with the Amazon Kinesis service. */ class KinesisException extends AwsException {}
== HEAD * Improve the Apache compression configuration (#1012, #1173). * Add a HiDPI example media query (#1127). * Add bundled docs (#1154). * Add MIT license (#1139). * Update to Normalize.css 1.0.1. * Separate Normalize.css from the rest of the CSS (#1160). * Improve `console.log` protection (#1107). * Replace hot ...
cask "gingko" do version "2.4.15" sha256 "bb1367b0a07a80872be253eda0519ec801e0b96b04d59c5bff3f825cf9e380c4" url "https://github.com/gingko/client/releases/download/v#{version}/Gingko-#{version}-mac.zip", verified: "github.com/gingko/client/" name "Gingko" desc "Word processor that shows structure and c...
namespace NLog.Targets { using Config; using Layouts; /// <summary> /// Represents target that supports string formatting using layouts. /// </summary> public abstract class TargetWithLayoutHeaderAndFooter : TargetWithLayout { /// <summary> /// Initializes a new instance of ...
from core.db.rlsmanager import RowLevelSecurityManager from django.db.models import signals from django.contrib.auth.models import User from django.test import TestCase import factory from mock import patch class RowLevelSecurityManagerTests(TestCase): @factory.django.mute_signals(signals.pre_save) def setUp...
package org.apache.zeppelin.interpreter.remote; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import org.apache.zeppelin.interpreter.InterpreterContextRunner; import org.apache.zeppelin.interpreter.InterpreterException; import org.slf4j.Logger; import org.slf4j....
namespace node { class JSStream : public StreamBase, public AsyncWrap { public: static void Initialize(v8::Local<v8::Object> target, v8::Local<v8::Value> unused, v8::Local<v8::Context> context); ~JSStream(); void* Cast() override; bool IsAlive() override; ...
API: `Route` (component) ========================= Configuration component to declare your application's routes and entry view hierarchy. Props ----- ### `name` The name of the route, used in the `Link` component and the router's transition methods. ### `path` The path used in the URL. If left undefined, the path...
package com.wci.umls.server.jpa.algo.release; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; import java.util.UUID; import org.apache.log4j.Logge...
package org.apereo.portal.events.tincan.om; public class LrsStatement { private final LrsActor actor; private final LrsVerb verb; private final LrsObject object; public LrsStatement(LrsActor actor, LrsVerb verb, LrsObject object) { this.actor = actor; this.verb = verb; this.ob...
<?php /** * @package dompdf * @link http://www.dompdf.com/ * @author Benj Carson <benjcarson@digitaljunkies.ca> * @author Fabien Ménager <fabien.menager@gmail.com> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License * @version $Id: dompdf.cls.php 468 2012-02-05 10:51:40Z fabi...
<person gender="male"> <firstname>Foo</firstname> <lastname>Bar</lastname> </person>
// // cocos2d loader plugins. // // This helper file should be required after jsb_cocos2d.js // cc._emptyLoader = { load : function(realUrl, url){ return null; } }; cc.loader.register([ "mp3", "ogg", "wav", "mp4", "m4a", "font", "eot", "ttf", "woff", ...
package api import ( "net/http" "github.com/coreos/fleet/client" "github.com/coreos/fleet/log" "github.com/coreos/fleet/registry" "github.com/coreos/fleet/version" ) func NewServeMux(reg registry.Registry, tokenLimit int) http.Handler { sm := http.NewServeMux() cAPI := &client.RegistryClient{Registry: reg} ...
namespace Vriska { class INativeSocket { public: static const int Error = -1; static const int Disconnected = 0; protected: static const unsigned int MaxClients = 5; public: virtual ~INativeSocket() {} virtual bool operator==(INativeSocket const &) const = 0; virtual bool operator...
namespace extensions { class ManifestPermission; // UIOverrides is associated with "chrome_ui_overrides" manifest key, and // represents manifest settings to override aspects of the Chrome user // interface. struct UIOverrides : public Extension::ManifestData { UIOverrides(); virtual ~UIOverrides(); static con...
<?php /* * This file is part of PHP CS Fixer. * * (c) Fabien Potencier <fabien@symfony.com> * Dariusz Rumiński <dariusz.ruminski@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Symfony\CS\Tokenizer; use Symfony\CS\Uti...
package org.basex.http.restxq; import static org.basex.http.web.WebText.*; import static org.basex.util.Token.*; import java.util.*; import java.util.regex.*; import javax.servlet.http.*; import org.basex.http.*; import org.basex.http.web.*; import org.basex.query.*; import org.basex.query.func.inspect.*; import or...
package org.apache.hadoop.hbase.filter; import java.nio.charset.Charset; import java.nio.charset.IllegalCharsetNameException; import java.util.Arrays; import java.util.regex.Pattern; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.classification.Int...
using System; using NUnit.Framework; using Xyperico.Agres.Serialization; namespace Xyperico.Agres.Tests { [TestFixture] public class AbstractAggregateTests : TestHelper { [Test] public void WhenNoTypesAreRegisteredInSerializerItThrowsOnSerialization() { AbstractSerializer s = new...
require 'grpc' include GRPC::Core::StatusCodes describe GRPC::ActiveCall do ActiveCall = GRPC::ActiveCall Call = GRPC::Core::Call CallOps = GRPC::Core::CallOps WriteFlags = GRPC::Core::WriteFlags before(:each) do @pass_through = proc { |x| x } @server_tag = Object.new @tag = Object.new @cl...
Follow the [Marid Integration](https://www.opsgenie.com/docs/marid/marid-integration) guide Edit `etc/marid.conf` or `etc/marid-proxy.conf` accordingly. Please note that both `etc/marid-proxy.conf` and `docker-compose-proxy.yml` contains proxy configuration. ## Build $ docker-compose build ## Run docker-...
package org.apache.camel.model.dataformat; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElementRef; import org.apache.ca...
#include <dae.h> #include <dae/daeDom.h> #include <dom/domCg_surface_type.h> #include <dae/daeMetaCMPolicy.h> #include <dae/daeMetaSequence.h> #include <dae/daeMetaChoice.h> #include <dae/daeMetaGroup.h> #include <dae/daeMetaAny.h> #include <dae/daeMetaElementAttribute.h> daeElementRef domCg_surface_type::create(DAE...
[![build status](https://secure.travis-ci.org/jprichardson/node-jsonfile.png)](http://travis-ci.org/jprichardson/node-jsonfile) Node.js - jsonfile ================ Easily read/write JSON files. Why? ---- Writing `JSON.stringify()` and then `fs.writeFile()` and `JSON.parse()` with `fs.readFile()` enclosed in `try/...
require 'chefspec' require 'chefspec/berkshelf' def stub_resources Chef::Node.any_instance.stub(:save) end at_exit { ChefSpec::Coverage.report! }
/** * Classes related to Spring's {@link org.springframework.context.ApplicationContext}. */ package org.springframework.boot.context;
import unicodedata import sys from setuptools.extern import six # HFS Plus uses decomposed UTF-8 def decompose(path): if isinstance(path, six.text_type): return unicodedata.normalize('NFD', path) try: path = path.decode('utf-8') path = unicodedata.normalize('NFD', path) path = ...
<?php namespace Zend\Code\Reflection\DocBlock\Tag; class ReturnTag implements TagInterface, PhpDocTypedTagInterface { /** * @var array */ protected $types = array(); /** * @var string */ protected $description = null; /** * @return string */ public function get...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import IconButton from 'material-ui/IconButton'; import EditIcon from 'material-ui/svg-icons/editor/mode-edit'; import TrashIcon from 'material-ui/svg-icons/ac...
package com.baidubce.services.ipv6Gateway.model; import com.baidubce.auth.BceCredentials; import com.baidubce.model.AbstractBceRequest; public class DeleteIpv6RateLimitRuleRequest extends AbstractBceRequest { private String gatewayId; private String rateLimitRuleId; private String clientToken; pub...
// -*- C++ -*- // Copyright (C) 2005-2013 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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...
<?php namespace GoIntegro\Hateoas\JsonApi\Serializer; // Mocks. use Codeception\Util\Stub; class PaginationMetadataSerializerTest extends \PHPUnit_Framework_TestCase { const RESOURCE_TYPE = 'resources'; public function testSerializingPaginatedDocument() { /* Given... (Fixture) */ $size ...
"""Utility to compare (NumPy) version strings. The NumpyVersion class allows properly comparing numpy version strings. The LooseVersion and StrictVersion classes that distutils provides don't work; they don't recognize anything like alpha/beta/rc/dev versions. """ import re __all__ = ['NumpyVersion'] class NumpyV...
package edu.samplu.krad.library.validation; import org.junit.Test; import edu.samplu.common.SmokeTestBase; /** * @author Kuali Rice Team (rice.collab@kuali.org) */ public class DemoLibraryValidationRegexBasedConstraintsSmokeTest extends SmokeTestBase { /** * /kr-krad/kradsampleapp?viewId=Demo-Configurat...
import codecs import os from setuptools import setup def read(*parts): return codecs.open(os.path.join(os.path.dirname(__file__), *parts), encoding='utf-8').read() setup( name='django-basic-models-behaviors', version=__import__('basic_models_behaviors').__version__, description='Tiny app to provide ...
// Copyright 2014 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...
<?xml version="1.0"?> <doc> <assembly> <name>System.Reactive.Linq</name> </assembly> <members> <member name="T:System.Reactive.Joins.NamespaceDoc"> <summary> The <b>System.Reactive.Joins</b> namespace contains classes used to express join patterns over observable sequ...
<?php /** * @license MIT * @license http://opensource.org/licenses/MIT */ namespace Slim\PDO\Clause; /** * Class LimitClause. * * @author Fabian de Laender <fabian@faapz.nl> */ class LimitClause extends ClauseContainer { /** * @var null */ private $limit = null; /** * @param $number...
/*! formstone v0.5.9 [carousel.css] 2015-04-28 | MIT License | formstone.it */ /** * @class * @name .fs-carousel-element * @type element * @description Target elmement */ /** * @class * @name .fs-carousel * @type element * @description Base widget class */ /** * @class * @name .fs-carousel.fs-e...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
Since intermediaries are a common part of HTTP infrastructure some responses to gRPC requests may be received that do not include the grpc-status header. In some cases mapping error codes from an intermediary allows the gRPC client to behave more appropriately to the error situation without overloading the semantics of...
#pageslide { /* These styles MUST be included. Do not change. */ display: none; position: absolute; position: fixed; top: 0; height: 100%; z-index: 999999; /* Specify the width of your pageslide here */ width: 800px; padding: 25px 20px 20px 20px; /* These styles are...
void test_one_input(const std::vector<uint8_t> &buffer) { FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size()); CScript script = ConsumeScript(fuzzed_data_provider); while (fuzzed_data_provider.remaining_bytes() > 0) { switch (fuzzed_data_provider.ConsumeIntegralInRange(0, 7)) { ...
/* * ModeShape (http://www.modeshape.org) * * 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 o...
<?php class openpnePermissionTask extends sfProjectPermissionsTask { protected $opFailed = array(); protected function configure() { $this->namespace = 'openpne'; $this->name = 'permission'; $this->addOptions(array( new sfCommandOption('application', null, sfCommandO...
#include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <sys/un.h> #include <dlfcn.h> #include <pthread.h> #include <errno.h> #include <signal.h> #include <string.h> #include <hardware/sensors.h> #include <utils/Log.h> int usage(void) { fprintf(stderr, "sens start [sensors.gmin.so]\n"); fprintf(st...
/* sf_log2.c -- float version of s_log2.c. * Modification of sf_exp10.c by Yaakov Selkowitz 2009. */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy...
@import XCTest; @import ResearchKit.Private; #import "ORKConsentSectionFormatter.h" #import "ORKConsentSignatureFormatter.h" #import "ORKHTMLPDFWriter.h" @interface ORKMockHTMLPDFWriter : ORKHTMLPDFWriter @property (nonatomic, copy) NSString *html; @property (nonatomic, copy) void (^completionBlock)(NSData *, NS...
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/white" android:pathData="M4.5,14.5V13.5H...
import argparse import re import sys import textwrap parser = argparse.ArgumentParser(description=textwrap.dedent(""" Takes an input SIL fragment and changes all SSA variables into FileCheck variables. """)) parser.add_argument('input', type=argparse.FileType('r'), help='Input file. \'-\' for stdi...
<?php namespace Doctrine\ORM\Cache; /** * Defines a region that supports multi-get reading. * * With one method call we can get multipe items. * * @since 2.5 * @author Asmir Mustafic */ interface MultiGetRegion { /** * Get all items from the cache indentifed by $keys. * It returns NULL if so...
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $searchModel backend\models\EmployeePreviousDetailsSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Employee Previous Details'); $this->params['breadcrumbs'][] = $...
<?php namespace Oro\Bundle\ApiBundle\Form\Extension; use Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; /** * Registers all validation related options for all form types * and adds t...
================= Assembly Scanning ================= Autofac can use conventions to find and register components in assemblies. You can scan and register individual types or you can scan specifically for :doc:`Autofac modules <../configuration/modules>`. Scanning for Types ================== Otherwise known as conv...
#ifndef _SAMD21E15BU_ #define _SAMD21E15BU_ /** * \ingroup SAMD21_definitions * \addtogroup SAMD21E15BU_definitions SAMD21E15BU definitions * This file defines all structures and symbols for SAMD21E15BU: * - registers and bitfields * - peripheral base address * - peripheral ID * - PIO definitions */ /...
<!-- - me page - ranran[vivi] & bq-hentai | 02/02/2017 --> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="../style/normalize.css"> <link rel="stylesheet" type="text/css" href="../style/base.css"> <link rel="stylesheet" type="text...
ScriptConsole::ScriptConsole(QWidget *parent) : QTextEdit(parent), m_commandIndex(0) { setObjectName("ScriptConsole"); m_prompt = ">> "; append(m_prompt); moveCursor(QTextCursor::EndOfLine); m_engine = new ScriptEngine(); connect(m_engine, SIGNAL(evaluationDone()), this, SLOT(onEvaluationDone())); ...
<?php namespace Symfony\Cmf\Bundle\CoreBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Cmf\Bundle\CoreBundle\DependencyInjection\Compiler\RequestAwarePass; use Symfony\Cmf\Bundle\CoreBundle\DependencyInjection\Compiler\AddPublishedVoter...
wdi.RunQueue = $.spcExtend(wdi.DomainObject, { tasks: null, isRunning: false, init: function() { this.tasks = []; }, getTasksLength: function() { return this.tasks.length; }, add: function(fn, scope, endCallback, params) { this.tasks.push({ fn: fn, scope: scope, fnFinish: endCallb...
namespace asio { template <typename Service> inline Service& use_service(io_service& ios) { // Check that Service meets the necessary type requirements. (void)static_cast<io_service::service*>(static_cast<Service*>(0)); (void)static_cast<const io_service::id*>(&Service::id); return ios.service_registry_->temp...
package org.jivesoftware.openfire.user; import gnu.inet.encoding.Stringprep; import gnu.inet.encoding.StringprepException; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.dom4j.Element; import org.jivesoftware.openfire.XMP...
package com.dremio.common.utils.protos; import java.util.List; import java.util.UUID; import com.dremio.exec.proto.ExecProtos.FragmentHandle; import com.dremio.exec.proto.UserBitShared.QueryId; /* Helper class around the QueryId protobuf */ public class QueryIdHelper { /* Generate a UUID from the two parts of t...
<stix:STIX_Package xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:cybox="http://cybox.mitre.org/cybox-2" xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" xmlns:example="http://example.com" xmlns:incident="http://stix.mitre.org/Incident-1" xmlns:ta="http://stix.mitre.org/ThreatActor-1"...
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, national...
package io.cattle.platform.extension.dynamic.process; import static io.cattle.platform.core.model.tables.ExternalHandlerExternalHandlerProcessMapTable.EXTERNAL_HANDLER_EXTERNAL_HANDLER_PROCESS_MAP; import static io.cattle.platform.core.model.tables.ExternalHandlerProcessTable.EXTERNAL_HANDLER_PROCESS; import io.cattle...
export class RequestError extends Error { constructor(message, response) { super(message); } } export class RequestErrorJSON extends Error { constructor(message){ super(message); } } export function getHeaders() { let windowHeaders = {}; return windowHeaders; } export function get(url, headers) {...
<!-- This file is auto-generated from fboinvalidate_test_generator.py DO NOT EDIT! --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>WebGL FBO Invalidate Conformance Tests</title> <link rel="stylesheet" href="../../../../resources/js-test-style.css"/> <script src="../../../...
var hbs = require('express-hbs'), utils = require('./utils'), input_password; input_password = function () { var output = utils.inputTemplate({ type: 'password', name: 'password', className: 'private-login-password', extras: 'autofocus="autofocus" place...
package org.waveprotocol.box.server.persistence.mongodb; import com.google.common.collect.ImmutableSet; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.DBCursor; import com.mongodb.DBObject; import com.mongodb.MongoException; import com.mongodb.WriteConce...
#import <QuartzCore/QuartzCore.h> #import "TiErrorController.h" #import "TiApp.h" #import "TiBase.h" #import "TiUtils.h" @implementation TiErrorController -(id)initWithError:(NSString*)error_ { if (self = [super init]) { error = [error_ retain]; } return self; } -(void)dealloc { RELEASE_TO_NIL(titleLabe...
"""A simple completer for the qtconsole""" # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. from qtpy import QtCore, QtGui, QtWidgets import ipython_genutils.text as text class CompletionPlain(QtWidgets.QWidget): """ A widget for tab completion, navigable by ...
using System; using System.Collections.Generic; using System.Threading; using BosunReporter.Infrastructure; namespace BosunReporter.Metrics { public class Counter : BosunMetric, ILongCounter { public long Value = 0; public override string MetricType => "counter"; protected override I...
using Postulate.Orm.Abstract; using Postulate.Orm.Attributes; using Postulate.Orm.Enums; using Postulate.Orm.Extensions; using ReflectionHelper; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data; using System.Linq; using System.Reflection; namespace ...
package org.apache.hive.hplsql; import java.math.BigDecimal; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.util.ArrayList; import org.antlr.v4.runtime.ParserRuleContext; public class Cmp implements Runnable { Exec exec;...
* { display: block } :root { margin: 50px; } channel > title { font-size: x-large; text-align: center; } channel > title:after { display: block; padding: 50px; content: "This is an RSS feed, designed to be read in an RSS application"; background-color: grey; color: white; } item { margin: 25px 0 20p...
var Sprint; (function() { "use strict" var d = document var domMethods = { afterbegin: function(el) { this.insertBefore(el, this.firstChild) }, afterend: function(el) { var parent = this.parentElement parent && parent.insertBefore(el, this.nextSibling) }, beforebegin: fun...
package com.facebook.buck.rules; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import org.junit.Test; /** * Unit test for {@link TestResultSummary}. */ public class TestResultSummaryTe...
#include <arch/machine.h> static inline word_t readACR(void) { word_t ACR; asm volatile ("mrc p15,0,%0,c1,c0,1" : "=r"(ACR)); return ACR; } static inline void writeACR(word_t ACR) { asm volatile ("mcr p15,0,%0,c1,c0,1" : : "r"(ACR)); } void initL2Cache(void) { cleanInvalidateL1Caches(); /*...
<?xml version="1.0" encoding="UTF-8"?> <code_scheme name="ReduxFramework"> <JSCodeStyleSettings> <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" /> </JSCodeStyleSettings> <PHPCodeStyleSettings> <option name="INDENT_CODE_IN_PHP_TAGS" value="true" /> <option name="ALIGN_KEY_VALUE_PAIRS" ...
.. _basics.subclassing: ******************* Subclassing ndarray ******************* .. automodule:: numpy.doc.subclassing
<!doctype html> <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> <!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]--> <!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!...
(function () { 'use strict'; const controller = function (Base, $scope, $element) { class InfoTooltipController extends Base { constructor() { super(); this.hovered = false; } hoverIn() { this.hovered = true; ...