text stringlengths 3 1.05M |
|---|
bool TryToReadDouble(double&);
bool TryToReadNatural(int&);
#endif |
package com.netflix.hystrix.contrib.javanica.cache;
import com.google.common.base.Predicate;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Iterables;
import com.netflix.hystrix.contrib.javanica.command.ExecutionType;
import com.netflix.hystrix.contrib.javanica.command.MethodExecutio... |
//
// NSArray+Collector.h
// Collector
//
// Created by Michaël Fortin on 12-07-09.
// Copyright (c) 2012 irradiated.net. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CollectorBlockTypes.h"
@interface NSArray (Collector)
#pragma mark Creating Other Instances
/**
* Returns an array that i... |
"""Extractors for configuration and job-xml nodes"""
import unittest
from unittest import mock
from unittest.mock import call
from xml.etree import ElementTree as ET
from o2a.converter.exceptions import ParseException
from o2a.utils.config_extractors import (
extract_properties_from_configuration_node,
TAG_JOB... |
package org.apache.tinkerpop.gremlin.hadoop.structure.io;
import org.apache.tinkerpop.gremlin.FeatureRequirementSet;
import org.apache.tinkerpop.gremlin.structure.T;
import org.apache.tinkerpop.gremlin.structure.Vertex;
import org.apache.tinkerpop.gremlin.structure.VertexProperty;
import org.apache.tinkerpop.gremlin.... |
package org.elasticsearch.xpack.sql.jdbc;
import java.sql.SQLException;
import java.util.List;
interface Cursor {
List<JdbcColumnInfo> columns();
default int columnSize() {
return columns().size();
}
boolean next() throws SQLException;
Object column(int column);
/**
* Number... |
/**
* Module dependencies.
*/
var mongoose = require('mongoose')
, env = process.env.NODE_ENV || 'development'
, config = require('../../config/config')[env]
, Schema = mongoose.Schema
, jsdom = require("jsdom")
, moment = require('moment')
, AWS = require('aws-sdk')
AWS.config.update(config.aws)
/... |
<?php
namespace Symfony\Component\Security\Core\Encoder;
/**
* A generic encoder factory implementation
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
class EncoderFactory implements EncoderFactoryInterface
{
private $encoders;
public function __construct(array $encoders)
{
$this... |
@interface NSFileHandle (DVTNSFileHandleAdditions)
- (BOOL)dvt_writeFormat:(id)arg1;
- (BOOL)dvt_writeFormat:(id)arg1 arguments:(struct __va_list_tag [1])arg2;
- (BOOL)dvt_writeString:(id)arg1;
- (BOOL)dvt_writeString:(id)arg1 error:(id *)arg2;
- (BOOL)dvt_writeData:(id)arg1 error:(id *)arg2;
- (id)dvt_duplicateFileHan... |
import logging
import virtool.account.api
import virtool.analyses.api
import virtool.caches.api
import virtool.dev.api
import virtool.downloads.api
import virtool.genbank.api
import virtool.groups.api
import virtool.history.api
import virtool.hmm.api
import virtool.http.root
import virtool.http.ws
import virtool.index... |
import React from 'react'
import PropTypes from 'prop-types'
import { Icon } from 'patternfly-react'
const SECTION_OPENED_ICON = {
false: {
type: 'fa',
name: 'angle-right',
},
true: {
type: 'fa',
name: 'angle-down',
},
}
/*
* React implementation of https://www.patternfly.org/pattern-library/... |
(function () {
//Going sloppy to avoid 'use strict' string cost, but strict practices should
//be followed.
/*jslint sloppy: true */
/*global setTimeout: false */
var requirejs, require, define;
(function (undef) {
var main, req,
defined = {},
waiting = {},
config = {},
defining = ... |
package micc.theguardiansapp;
import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import micc.theguardiansapp.R;
/**
* A simple {@link Fragment} subclass.
... |
package org.ihtsdo.sct.drugmatch.check.extension.danish;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import org.ihtsdo.sct.drugmatch.check.CheckRule;
import org.ihtsdo.sct.drugmatch.check.CheckValidation;
/**
* Danish "Check" validation.
* <p>
* "Rules for check of:"
* <ul>
* <... |
package com.opensymphony.xwork2.validator;
import com.opensymphony.xwork2.validator.annotations.ConditionalVisitorFieldValidator;
import com.opensymphony.xwork2.validator.annotations.ConversionErrorFieldValidator;
import com.opensymphony.xwork2.validator.annotations.CustomValidator;
import com.opensymphony.xwork2.val... |
package sts_test
import (
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/sts"
)
var svc = sts.New(unit.Session, &aws.Config{
Region: aws.String("mock-region"),
})
func TestUnsignedRequest_AssumeRoleWithSAML(t *testing.T) {
req, _ := svc... |
<!-- -*- mode: c++ -*-
Regular expression benchmark: execute RegExp.test repeatedly,
compiling the regex once before the test starts.
Adapted from http://umsu.de/jsperf/index2.php
2004-11-11 / lth -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>RegExp benc... |
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from absl.testing import absltest
from future.builtins import range
from grr_response_core.lib.util import collection
class FlattenTest(absltest.TestCase):
def testList(self):
flattened = collection... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package erp.mfin.form;
import erp.data.SDataConstants;
import erp.data.SDataConstantsSys;
import erp.data.SDataUtilities;
import erp.lib.SLibConstants;
import erp.lib.SLibTimeUtilities;
import erp.lib.SLibUtilities;
imp... |
namespace base {
class MessageLoopProxy;
}
namespace media {
// This is a helper class to proxy a VideoCapture::EventHandler. In the renderer
// process, the VideoCaptureImpl calls its handler on a "Video Capture" thread,
// this class allows seamless proxying to another thread ("main thread"), which
// would be the ... |
<?php
$lang['upload_userfile_not_set'] = "Unable to find a post variable called userfile.";
$lang['upload_file_exceeds_limit'] = "The uploaded file exceeds the maximum allowed size in your PHP configuration file.";
$lang['upload_file_exceeds_form_limit'] = "The uploaded file exceeds the maximum size allowed by the sub... |
package org.springframework.scheduling;
/**
* @author Juergen Hoeller
* @since 09.10.2004
*/
public class TestMethodInvokingTask {
public int counter = 0;
private Object lock = new Object();
public void doSomething() {
this.counter++;
}
public void doWait() {
this.counter++;
// wait until stop is c... |
import { Observable } from '../Observable';
import { Operator } from '../Operator';
import { Subscriber } from '../Subscriber';
import { EmptyError } from '../util/EmptyError';
import { Observer, MonoTypeOperatorFunction, TeardownLogic } from '../types';
/**
* Returns an Observable that emits the single item emitted... |
namespace fs = boost::filesystem;
FileData* findOrCreateFile(SystemData* system, const boost::filesystem::path& path, FileType type)
{
// first, verify that path is within the system's root folder
FileData* root = system->getRootFolder();
bool contains = false;
fs::path relative = removeCommonPath(path, root->ge... |
/**
The YUI module contains the components required for building the YUI seed file.
This includes the script loading mechanism, a simple queue, and the core
utilities for the library.
@module yui
@main yui
@submodule yui-base
**/
/*jshint eqeqeq: false*/
if (typeof YUI != 'undefined') {
YUI._YUI = YUI;
}
/**
The... |
<?php
namespace Symfony\Component\Mailer\Exception;
/**
* @author Konstantin Myakshin <molodchick@gmail.com>
*/
class IncompleteDsnException extends InvalidArgumentException
{
}
|
declare class foo();
function foo() {}
|
package org.apache.camel.scala
package dsl
import builder.RouteBuilder
import org.apache.camel.scala.test.Cat
import org.junit.Test
import org.junit.Assert.assertNull
/**
* Test for setting the message header from the Scala DSL
*/
class RemoveHeaderTest extends ScalaTestSupport {
@Test
def testSetHeaderThenRe... |
<?php
namespace mrssoft\engine;
use yii;
use yii\bootstrap\BootstrapAsset;
use yii\web\AssetBundle;
use yii\web\YiiAsset;
class Asset extends AssetBundle
{
public $sourcePath = __DIR__ . '/assets';
public $css = [
'css/admin-bootstrap.min.css',
'css/admin.css',
];
public $depends = ... |
A sax-style parser for XML and HTML.
Designed with [node](http://nodejs.org/) in mind, but should work fine in
the browser or other CommonJS implementations.
## What This Is
* A very simple tool to parse through an XML string.
* A stepping stone to a streaming HTML parser.
* A handy way to deal with RSS and other mo... |
Description
===========
This cookbook provides an easy way to install Composer, a dependency manager for PHP.
More information?
http://getcomposer.org/
Requirements
============
## Cookbooks:
This cookbook recommends the following cookbooks:
* php
* windows
### Depending on your environment, these recommended co... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>DM_SETCURSORPOS</title>
<meta http-equiv="Content-Type" Content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../styles/styles.css">
<script language="javascript" src='../../links.js' type="text/javascr... |
#import "PNPresenceWhereNowParser.h"
#import "PNDictionary.h"
#pragma mark Interface implementation
@implementation PNPresenceWhereNowParser
#pragma mark - Identification
+ (NSArray<NSNumber *> *)operations {
return @[@(PNWhereNowOperation)];
}
+ (BOOL)requireAdditionalData {
return NO;
}
#p... |
Yandex.Radio music downloader - Chrome extension. репозиторий расширения, созданный для хранения архивов прошлых версий.
https://github.com/ms27/YaRD/tree/gh-pages - для большей инфы и исходников
|
#include "mlir-hlo/utils/cycle_detector.h"
#include <algorithm>
#include "llvm/ADT/DenseSet.h"
namespace mlir {
namespace {
using NodeSet = llvm::DenseSet<int32_t>;
using OrderedNodeSet = OrderedSet<int32_t>;
template <typename T>
struct VecStruct {
typedef llvm::SmallVector<T, 4> type;
};
template <typename ... |
import unittest
"""solution to the array pair sum problem"""
def array_pair_sum_iterative(arr, k):
"""
returns the array of pairs using an iterative method.
complexity: O(n^2)
"""
result = []
for i in range(len(arr)):
for j in range(i + 1, len(arr)):
if arr[i] + arr[j] ==... |
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="GENERATOR" content="VSdocman - documentation generator; htt... |
/*!
* Qoopido.js library v3.5.4, 2014-9-30
* https://github.com/dlueth/qoopido.js
* (c) 2014 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(n){window.qoopido.register("proxy",n,["./base","./function/unique/uuid"])}(function(n){"use strict";return n.base.extend({_constructor:function(t,u){var r=Array.prototyp... |
namespace BASE_HASH_NAMESPACE {
#if !defined(OS_ANDROID)
// The GNU C++ library provides identity hash functions for many integral types,
// but not for |long long|. This hash function will truncate if |size_t| is
// narrower than |long long|. This is probably good enough for what we will
// use it for.
#define DEF... |
module MongoLite
module Document
def self.included(base)
base.extend MongoLite::Document::ClassMethods
base.send(:include, MongoLite::Document::InstanceMethods)
#Set default db collection
base.set_collection
base.instance_variable_set('@_fields', {})
base.send :field, :_id, :... |
class TwilioController < ApplicationController
skip_before_filter :verify_authenticity_token #no web form token
before_filter :verify_account
def sms
@_session= Session.where(phone_number: params[:From]).first_or_initialize
if twilio_params[:Body].upcase== 'START'.freeze
@_session.update!(state: 'g... |
/**
* Sea.js @VERSION | seajs.org/LICENSE.md
*/
(function(global, undefined) {
// Avoid conflicting when `sea.js` is loaded multiple times
if (global.seajs) {
return
}
var seajs = global.seajs = {
// The current version of Sea.js being used
version: "@VERSION"
}
var data = seajs.data = {}
/**
* util-lang.... |
package org.jbox2d.callbacks;
import org.jbox2d.common.Vec2;
public interface ParticleRaycastCallback {
/**
* Called for each particle found in the query. See
* {@link RayCastCallback#reportFixture(org.jbox2d.dynamics.Fixture, Vec2, Vec2, float)} for
* argument info.
*
* @param index
* @param poi... |
<?php
class Google_Service_Classroom_Announcement extends Google_Collection
{
protected $collection_key = 'materials';
public $alternateLink;
public $assigneeMode;
public $courseId;
public $creationTime;
public $creatorUserId;
public $id;
protected $individualStudentsOptionsType = 'Google_Service_Clas... |
package org.cucina.engine.model;
import org.apache.commons.collections.CollectionUtils;
import org.cucina.core.model.PersistableEntity;
import org.cucina.core.model.Versioned;
import org.cucina.core.validation.Delete;
import org.cucina.core.validation.Update;
import org.cucina.engine.validation.WorkflowExists;
import ... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android">
<TableLayout android:shrinkColumns="1" />
<TableLayout android:shrinkColumns="\ 2147483647" />
<TableLayout android:shrinkColumns="\ 2147483648" />
<TableLayout android:shrinkColumns="\ 55555... |
using iSukces.Code.Interfaces;
namespace EqualityGeneratorSample
{
[Auto.EqualityGeneratorAttribute]
[Auto.ComparerGeneratorAttribute(nameof(Normal), nameof(NullLikeEmpty))]
public partial class ClassWithStrings
{
public string Normal { get; set; }
[Auto.NullIsEmptyAttribute]
... |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
//*********************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationMo... |
package github
import (
"net/http"
"testing"
)
func TestUsersService_PromoteSiteAdmin(t *testing.T) {
setup()
defer teardown()
mux.HandleFunc("/users/u/site_admin", func(w http.ResponseWriter, r *http.Request) {
testMethod(t, r, "PUT")
w.WriteHeader(http.StatusNoContent)
})
_, err := client.Users.Promote... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0-rc) on Wed Aug 11 07:23:23 PDT 2004 -->
<TITLE>
IllegalFormatCodePointException (Java 2 Platform SE 5.0)
</TITLE>
<meta name="collection" content="ap... |
package org.apache.cassandra.concurrent;
public interface IExecutorMBean
{
/**
* Get the current number of running tasks
*/
public int getActiveCount();
/**
* Get the number of completed tasks
*/
public long getCompletedTasks();
/**
* Get the number of tasks waiting to b... |
FROM balenalib/asus-tinker-board-fedora:30-run
ENV NODE_VERSION 15.7.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.pool.sks-keyservers... |
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.geom.Polygon');
goog.require('ol.interaction.Draw');
goog.require('ol.layer.Tile');
goog.require('ol.layer.Vector');
goog.require('ol.source.OSM');
goog.require('ol.source.Vector');
goog.require('ol.style.Circle');
goog.require('ol.style.Fill');
goog.req... |
"""
Missing Person Registry
@author: nursix
"""
module = request.controller
prefix = request.controller
resourcename = request.function
if prefix not in deployment_settings.modules:
raise HTTP(404, body="Module disabled: %s" % prefix)
MISSING = str(T("Missing"))
FOUND = str(T("Found"))
DETAILS = str(T("... |
"""
flask.testsuite.reqctx
~~~~~~~~~~~~~~~~~~~~~~
Tests the request context.
:copyright: (c) 2012 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
import flask
import unittest
try:
from greenlet import greenlet
except ImportError:
greenlet = None
from flask.testsuite im... |
// Copyright 2014 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.
package org.chromium.mojo.bindings;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
import java.... |
+++
title = "Remove Trailing Slash"
[menu.side]
name = "RemoveTrailingSlash"
parent = "middleware"
weight = 5
+++
## RemoveTrailingSlash Middleware
RemoveTrailingSlash middleware removes a trailing slash from the request URI.
### Configuration
```go
TrailingSlashConfig struct {
// Status code to be used whe... |
<PackageItem xmlns:tcm="http://www.tridion.com/ContentManager/5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.sdltridion.com/ContentManager/ImportExport/Package/2013">
<Dependencies>
<Dependency dependencyType="Publication" itemUrl="/webdav/500%20Example%20Site%20%28Legacy%29" linkName="Location... |
namespace Microsoft.Azure.Management.DataLake.Store.Models
{
using Microsoft.Azure;
using Microsoft.Azure.Management;
using Microsoft.Azure.Management.DataLake;
using Microsoft.Azure.Management.DataLake.Store;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime;
... |
"use strict";
const conversions = require("webidl-conversions");
const utils = require("./utils.js");
const impl = utils.implSymbol;
function ElementContentEditable() {
throw new TypeError("Illegal constructor");
}
Object.defineProperty(ElementContentEditable, "prototype", {
value: ElementContentEditable.protot... |
package apiserver
import (
"encoding/json"
"fmt"
"io/ioutil"
"net"
"net/http"
"strconv"
"time"
"github.com/GoogleCloudPlatform/kubernetes/pkg/probe"
)
// TODO: this basic interface is duplicated in N places. consolidate?
type httpGet interface {
Get(url string) (*http.Response, error)
}
type Server stru... |
#ifndef WebVibrationProxy_h
#define WebVibrationProxy_h
#if ENABLE(VIBRATION)
#include "APIObject.h"
#include "MessageReceiver.h"
#include "WebVibrationProvider.h"
#include <wtf/Forward.h>
namespace WebKit {
class WebPageProxy;
class WebVibrationProxy : public TypedAPIObject<APIObject::TypeVibration>, private Co... |
package org.gdg.frisbee.android.fragment;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.preference.CheckBoxPreference;
import android.preference.ListPreference;
import android.preference.Preference;
import android.preference.PreferenceFragment;
import android.su... |
<div class="row">
<h1 class="col-sm-9">
Hadiah untuk tiap penyelanggara
</h1>
<div class="col-sm-3 button-container centered">
<a href="<%= hoc_uri('/#join') %>"><button class="signup-button">Sign up for a chance to win</button></a>
</div>
</div>
<% if @country == 'us' %>
## One classroom will win ... |
<div
ui-grid-column-resizer
ng-if="grid.options.enableColumnResizing"
class="ui-grid-column-resizer"
col="col"
position="right"
render-index="renderIndex"
unselectable="on">
</div> |
function [appData, handles, ERRORFLG] = Confocal2ColorALExSolnMultDataPhotonRecoloring2(...
appData, handles)
%
% Photon recoloring simulation. Allow simulation of conformational and
% photophysical dynamics using an empirical burst size distribution and
% photon arrival times.
%
%
%
% Edited:
% KGryte ... |
#include "fsl_common.h"
/* This is not needed for mbed */
#if 0
#include "fsl_debug_console.h"
#ifndef NDEBUG
#if (defined(__CC_ARM)) || (defined(__ICCARM__))
void __aeabi_assert(const char *failedExpr, const char *file, int line)
{
PRINTF("ASSERT ERROR \" %s \": file \"%s\" Line \"%d\" \n", failedExpr, file, li... |
//-----------------------------------------------------------------------
// <copyright file="ResizablePoolCell.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyrigh... |
binary
======
Unpack multibyte binary values from buffers and streams.
You can specify the endianness and signedness of the fields to be unpacked too.
This module is a cleaner and more complete version of
[bufferlist](https://github.com/substack/node-bufferlist)'s binary module that
runs on pre-allocated buffers inst... |
using System;
namespace BoxTest
{
internal struct MyBool { public bool val; }
internal struct MyInt { public int val; }
internal struct ArgInfo
{
public MyBool m_flag;
public MyInt m_num;
}
internal class Test
{
protected object Fibonacci(object args)
{
... |
package cache
import (
"errors"
"sync"
"k8s.io/apimachinery/pkg/util/sets"
)
// PopProcessFunc is passed to Pop() method of Queue interface.
// It is supposed to process the element popped from the queue.
type PopProcessFunc func(interface{}) error
// ErrRequeue may be returned by a PopProcessFunc to safely re... |
package com.amazonaws.util;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Locale;
import java.util.concurrent.TimeUnit;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import org.joda.t... |
<?php
/**
* @see Zend_Service_DeveloperGarden_Response_BaseType
*/
#require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
/**
* @category Zend
* @package Zend_Service
* @subpackage DeveloperGarden
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @autho... |
<?php
namespace Symfony\Component\Intl\ResourceBundle;
/**
* Gives access to ICU data.
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
interface ResourceBundleInterface
{
/**
* Returns the list of locales that this bundle supports.
*
* @return string[] A list of locale codes
*/
... |
'use strict';
/* Groups Controller */
ngApp.lazy.controller('groupsCtrl', function($scope, $log, $location, $routeParams, GroupFactory) {
var vm = this;
vm.isLoading = false;
vm.obj = {};
vm.allObj = [];
vm.save = save;
vm.get = get;
vm.update = update;
vm.addEdit = addEdit;
vm.remove = remove;
function ... |
// vim: ts=4 sts=4 sw=4 expandtab
//Add semicolon to prevent IIFE from being passed as argument to concated code.
;
// UMD (Universal Module Definition)
// see https://github.com/umdjs/umd/blob/master/returnExports.js
(function (root, factory) {
'use strict';
/*global define, exports, module */
if (type... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <inttypes.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_bufmgr.h"
#include "intel_batchbuffer.h"
#include "intel_chipset.h"
#incl... |
/**
* Takes input from stdin and outputs event objects to stdout
*
* Try it by running
*
* ./bin/streamstash examples/basic.js
*
* Type a message and hit enter
*/
//Pause all inputs if the number of in process events exceeds the highWatermark
streamStash.highWaterMark = 1000
//Unpause all inputs after th... |
MAKEFLAGS=-r
# The source directory tree.
srcdir := ..
abs_srcdir := $(abspath $(srcdir))
# The name of the builddir.
builddir_name ?= .
# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
quiet=
else
quiet=quiet_
endif
# Specify BUILDTYPE=Release on the command line for a release bui... |
@-webkit-keyframes oo-ui-progressBarWidget-slide {
from {
margin-right: -40%;
}
to {
margin-right: 100%;
}
}
@-moz-keyframes oo-ui-progressBarWidget-slide {
from {
margin-right: -40%;
}
to {
margin-right: 100%;
}
}
@-ms-keyframes oo-ui-progressBarWidget-slide {
from {
margin-right: -40%;
}
to {
... |
package v1alpha1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type PodSecurityConfiguration struct {
metav1.TypeMeta
Defaults PodSecurityDefaults `json:"defaults"`
Exemptions PodSecurityExemptions `json:"exemptions"`
}
type... |
import { exhaust } from '../../operator/exhaust';
declare module '../../Observable' {
interface Observable<T> {
exhaust: typeof exhaust;
}
}
|
/**
* @module Ink.Autoload
* @version 1
* Create Ink UI components easily
*/
Ink.createModule('Ink.Autoload', 1, ['Ink.Dom.Selector_1', 'Ink.Util.Array_1', 'Ink.Dom.Loaded_1', 'Ink.UI.SmoothScroller_1', 'Ink.UI.Close_1', 'Ink.UI.Drawer_1'], function( Selector, InkArray, Loaded, Scroller, Close, Drawer ){
'use ... |
require 'curb'
module Selenium
module WebDriver
module Remote
module Http
#
# An alternative to the default Net::HTTP client.
#
# This can be used for the Firefox and Remote drivers if you have Curb
# installed.
#
# @example Using Curb
# re... |
/*
* comm.c
*
* Created on: 22 nov 2012
* Author: benjamin
*/
#include "ch.h"
#include "hal.h"
#include "comm_usb.h"
#include "usb_uart.h"
// Settings
#define PACKET_HANDLER 0
// Private variables
#define SERIAL_RX_BUFFER_SIZE 2048
static uint8_t serial_rx_buffer[SERIAL_RX_BUFFE... |
<?php
namespace Magento\Sitemap\Model\ResourceModel;
/**
* Sitemap resource model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Sitemap extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
{
/**
* Init resource model
*
* @return void
*/
protected functi... |
<?php include W3TC_INC_DIR . '/options/common/header.php'; ?>
<div id="wufoo-m5pom8z0qy59rm"></div>
<form>
<script type="text/javascript">var m5pom8z0qy59rm;(function(d, t) {
var s = d.createElement(t);
var options = {
'userName':'w3edge',
'formHash': w3tc_support_form_hash,
'autoResize':true,
'height':'1145',
'... |
describe('pixi/display/DisplayObjectContainer', function () {
'use strict';
var expect = chai.expect;
var DisplayObjectContainer = PIXI.DisplayObjectContainer;
it('Module exists', function () {
expect(DisplayObjectContainer).to.be.a('function');
});
it('Confirm new instance', function... |
cask :v1 => 'uncrustifyx' do
version '0.4.3'
sha256 '017c0781ce05db59c1a3fe52a140166df55aa2d87286a7cf5ba5e3eb6b06c7df'
url "https://github.com/ryanmaxwell/UncrustifyX/releases/download/#{version}/UncrustifyX-#{version}.zip"
appcast 'https://github.com/ryanmaxwell/UncrustifyX/releases.atom'
homepage 'https://... |
YUI.add('gesture-simulate', function (Y, NAME) {
/**
* Simulate high-level user gestures by generating a set of native DOM events.
*
* @module gesture-simulate
* @requires event-simulate, async-queue, node-screen
*/
var NAME = "gesture-simulate",
// phantomjs check may be temporary, until we determine if ... |
package com.intellij.openapi.vcs;
import com.intellij.openapi.extensions.ExtensionPointName;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Comparing;
import com.intellij.util.containers.ContainerUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
... |
module Trustification
module EmailValidation
unless Object.constants.include? "CONSTANTS_DEFINED"
CONSTANTS_DEFINED = true # sorry for the C idiom
end
def self.included(recipient)
recipient.extend(ClassMethods)
recipient.class_eval do
include InstanceMethods
end
en... |
cask 'glyphs' do
version '2.6.1,1215'
sha256 'eb3dd43e1ff991502b64be665d28bf7464596423dc9fc4bdd862cbe516bd2b09'
url "https://updates.glyphsapp.com/Glyphs#{version.major_minor_patch}-#{version.after_comma}.zip"
appcast "https://updates.glyphsapp.com/appcast#{version.major}.xml"
name 'Glyphs'
homepage 'https... |
cask 'flirc' do
version :latest
sha256 :no_check
url 'https://flirc.tv/software/release/gui/mac/Flirc.dmg'
name 'Flirc'
homepage 'https://flirc.tv'
license :gratis
app 'Flirc.app'
end
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt-->
<title>Function awe_webview_get_zoom</title>
<link rel="stylesheet" type="text/css" href="../../styles/ddox.css"/>
<link re... |
"""Module for the custom Django loadactivities command."""
import os.path
from django.core.management.base import BaseCommand
from django.conf import settings
from utils.BaseLoader import BaseLoader
from utils.LoaderFactory import LoaderFactory
from utils.errors.MissingRequiredFieldError import MissingRequiredFieldErr... |
'use strict';
var ReactDOMFeatureFlags = {
useCreateElement: false
};
module.exports = ReactDOMFeatureFlags; |
#include <aws/kendra/model/TextDocumentStatistics.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace kendra
{
namespace Model
{
TextDocumentStatistics::TextDocumentStatistics() :
m_indexedTextDocuments... |
from datetime import timedelta
from django.http.response import HttpResponseRedirect
from django.shortcuts import render
from django.utils import timezone
from pos.models.stock import Category, FoodLog, Order, OrderLine
def active_orders(request):
# Fetch orders without status ARCHIVED/DONE and order them.
... |
local i = nil
local i, uids_key = next(KEYS, i)
local i, changes_key = next(KEYS, i)
local i, deleted_key = next(KEYS, i)
local i, unseen_key = next(KEYS, i)
local i, max_modseq_key = next(KEYS, i)
local uid = tonumber(ARGV[1])
local mode = ARGV[2]
local flag_set = cmsgpack.unpack(ARGV[3])
local message_str = redis.c... |