text
stringlengths
3
1.05M
declare function foo<T>(arr: T[]): T; foo([]).bar; //// [inferentiallyTypingAnEmptyArray.js] foo([]).bar;
package org.zstack.utils; import org.zstack.utils.logging.CLogger; import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; /** */ public class TimeUtils { private static CLogger logger = Utils.getLogger(TimeUtils.class); public static boolean loopExecuteUntilTimeoutIgnoreExceptionAndRet...
var Waterline = require('../../lib/waterline'), assert = require('assert'); describe('Waterline Collection', function() { var User, status = 0; before(function(done) { var adapter_1 = { registerCollection: function(collection, cb) { status++; cb(); } }; var adapter_2...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_INIT_H #define BITCOIN_INIT_H #include <string> class CSchedule...
/*! * Module dependencies. */ var SchemaType = require('../schematype'); /** * Boolean SchemaType constructor. * * @param {String} path * @param {Object} options * @inherits SchemaType * @api private */ function SchemaBoolean (path, options) { SchemaType.call(this, path, options); }; /*! * Inherits from...
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd"> <!-- Copyright © 1991-2013 Unicode, Inc. CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) For terms of use, see http://www.unicode.org/copyright.html --> <ldml> <identity> ...
package navigation; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; public class Dijkstra { public static ArrayList<Integer> dijkstra(int startPoint, int endPoint){ ArrayList<Nodes> nodeList = NodeList.getInstance(); //The nodes HashSet<Integer...
using Cirrious.CrossCore; using Cirrious.CrossCore.Plugins; namespace Cheesebaron.MvxPlugins.SMS { public class PluginLoader : IMvxPluginLoader { public static readonly PluginLoader Instance = new PluginLoader(); public void EnsureLoaded() { var manager = Mvx.Resolve<IMvxPl...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography; namespace Pluralsight.Crypto...
using content::BrowserThread; using sync_datatype_helper::test; namespace extension_settings_helper { namespace { std::string ToJson(const Value& value) { std::string json; base::JSONWriter::WriteWithOptions(&value, base::JSONWriter::OPTIONS_PRETTY_PRINT, ...
title: Spree 0.70.0 section: version --- # Summary This 0.70.0 release is the first Spree release to support Rails 3.1 and contains several exciting new features including a complete overhaul of the theming system and major improvements to the Promotions system. *** We're always looking for more help with the Spree ...
package org.apache.wicket.extensions.rating; import org.apache.wicket.AttributeModifier; import org.apache.wicket.Component; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.ajax.markup.html.AjaxFallbackLink; import org.apache.wicket.markup.head.CssHeaderItem; import org.apache.wicket.markup....
""" Copyright (c) 2020 Alex Forencich 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...
package org.gradle.test.performance.mediummonolithicjavaproject.p180; public class Production3611 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
/* * 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 * distribut...
package master import ( "net" "reflect" "sort" "strings" "testing" "time" apiv1 "k8s.io/api/core/v1" extensionsapiv1beta1 "k8s.io/api/extensions/v1beta1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/util/diff" utilnet "k8s.io/apimachinery/...
package org.robolectric.shadows; import android.content.Context; import android.os.Build; import android.os.PowerManager; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RuntimeEnvironment; import org.robolectric.TestRunners; import org.robolectric.annotation.Co...
require 'formula' class Eventlog < Formula homepage 'http://www.balabit.com/downloads/files/eventlog/' url 'http://www.balabit.com/downloads/files/syslog-ng/sources/3.4.3/source/eventlog_0.2.13.tar.gz' sha1 '113e54ef2c4d0d4b23ee65fa502915ceea18b7e6' def install system "./configure", "--disable-debug", "--...
package org.drools.guvnor.client.common; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.ui.Image; import com.google.gwt.user.client.ui.TextArea; import com.google.gwt.user.client.ui.Widget; import org.drools.guvnor.client.messages.ConstantsCore; import org.drools.guvnor.client.resources.Ima...
r""" Shows the most positive words in UTF8 encoded, '\n' delimited text directly received the network every 5 seconds. The streaming data is joined with a static RDD of the AFINN word list (http://neuro.imm.dtu.dk/wiki/AFINN) Usage: network_wordjoinsentiments.py <hostname> <port> <hostname> and <port> describe ...
<?xml version="1.0" encoding="UTF-8"?> <problems> <problem> <file>Test.form</file> <line>1</line> <description>Hardcoded string literal</description> </problem> </problems>
<mat-card *ngIf="profile" style="display: inline-block;"> <mat-card-header> <div mat-card-avatar style="background-size: cover;" [style.background-image]="'url(' + profile.info.avatar_url + ')'"></div> <mat-card-title>{{ profile.info.name }}</mat-card-title> <mat-card-subtitle>{{ profile.info.ema...
package com.gemstone.gemfire.cache30; import java.util.*; import com.gemstone.gemfire.cache.*; import com.gemstone.gemfire.distributed.internal.membership.InternalDistributedMember; import com.gemstone.gemfire.internal.cache.DistributedRegion; import com.gemstone.gemfire.internal.cache.StateFlushOperation; import d...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Form - Spider HTML Form Parser</title> </head> <body> <form action="http://example.org" method="%%METHOD%%"> <input type="text" name="field1" value="Text 1" /> <input type="text" name="field2" value="Text 2" /> <input type="submit" name="submit" value="Submit...
DEPLOY_ARCHIVE_DIR="/tmp/heroku-deploy/$CODEBUILD_LOG_PATH" HEROKU_VERSION=$CODEBUILD_LOG_PATH APP_NAME=$HEROKU_APP_NAME # Your app's name in heroku goes here echo "Deploying Heroku Version $HEROKU_VERSION" URL_BLOB=`curl -s -n -X POST https://api.heroku.com/apps/$APP_NAME/sources \ -H 'Accept: application/vnd.herok...
USE [VipunenTK] GO IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[f_koulutukseen_sijoittuneet_6v]') AND type in (N'U')) ALTER TABLE [dbo].[f_koulutukseen_sijoittuneet_6v] DROP CONSTRAINT IF EXISTS [FK_f_koulutukseen_sijoittuneet6v_syntymavuosi_id_d_kausi] GO IF EXISTS (SELECT * FROM sys.obj...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CompiladorGargar.Sintactico.Gramatica; namespace CompiladorGargar.Semantico.Arbol.Nodos { class NodoVis: NodoArbolSemantico { public NodoVis(NodoArbolSemantico nodoPadre, ElementoGramatica elem) : ...
module Fog module Compute class HPV2 class Real # Retrieve VNC console for the specified instance # # ==== Parameters # * 'server_id'<~String> - UUId of instance to get console output from # * 'type'<~String> - Type of the vnc console, defaults to 'novnc' # ==...
require 'digest' require 'digest/sha2.so' module Digest # # A meta digest provider class for SHA256, SHA384 and SHA512. # class SHA2 < Digest::Class # call-seq: # Digest::SHA2.new(bitlen = 256) -> digest_obj # # Creates a new SHA2 hash object with a given bit length. # # Valid bit len...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using OpenQA.Selenium; namespace Selenium.Internal.SeleniumEmulation { /// <summary> /// Provides methods for selecting a window. /// </summary> internal class WindowSelector { private ...
package com.hilton.vulcan; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; public class FragmentTab extends Fragment { public static final String EXTRA_TITLE = "title"; ...
@interface ViewController () - (NSArray*)loadApplications; - (void)launchApplication:(NSString*)action; - (void)grow; @end @implementation ViewController @synthesize scroll; @synthesize pageControl = _pageControl; @synthesize backButton = _backButton; - (void)viewDidLoad { [super viewDidLoad]; // Do any a...
package crypto import ( "errors" "path/filepath" "github.com/spf13/viper" ) func (node *nodeImpl) initConfiguration(name string) (err error) { // Set logger prefix := eTypeToString(node.eType) // Set configuration node.conf = &configuration{prefix: prefix, name: name} if err = node.conf.init(); err != nil...
package com.pg85.otg.gen.biome.layers; import java.util.ArrayList; import java.util.List; import com.pg85.otg.gen.biome.layers.type.DiagonalCrossSamplingLayer; import com.pg85.otg.gen.biome.layers.util.LayerSampleContext; public class BiomeIsleLayer implements DiagonalCrossSamplingLayer { public static class IslesL...
var parse_memory_value = function( value ) { if( value !== Number( value ) ) { var units = 'BKMGTPEZY'; var match = value.match( /^(\d+([,\.]\d+)?) (\w)\w?$/ ); var value = parseFloat( match[1] ) * Math.pow( 1024, units.indexOf( match[3].toUpperCase() ) ); } return value; }; var generate_bar...
/****************************** 3RD PARTY PLUGIN CUSTOMIZATION ******************************/ /*** Bootstrap Colorpicker ***/ .input-group.color .input-group-btn i { position: absolute; display: block; cursor: pointer; width: 20px; height: 20px; right: 6px; } .colorpicker.dropdown-menu { ...
<div ng-controller="SelectOptGroupController" class="md-padding"> <div> <h1 class="md-title">Pick your pizza below</h1> <div layout="row"> <md-input-container> <label>Size</label> <md-select ng-model="size"> <md-option ng-repeat="size in sizes" value="{{size}}">{{size}}</md-opt...
<idea-plugin version="2"> <extensions defaultExtensionNs="com.intellij"> <moduleBuilder builderClass="org.rust.ide.idea.RsModuleBuilder"/> <projectStructureDetector implementation="RsProjectStructureDetector"/> </extensions> </idea-plugin>
//----------------------------------------------------------------------- // <copyright file="RemoteNodeShutdownAndComesBackSpec.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.n...
.chart.vis-grouped-column-chart { overflow: hidden; }
extern int __DontCacheOSTZ( void ); extern int __CacheOSTZ( void ); extern void __parse_tz( char * tz );
var Iconv = require("iconv").Iconv; module.exports = changeCharsetToUtf8; /** * Re-code a string from given charset to utf8. */ function changeCharsetToUtf8(buffer, charset){ if (charset != "utf8") { var iconv = new Iconv(charset, "UTF-8//TRANSLIT//IGNORE"); return iconv.convert((buffer || ""))....
package io.spring.cloud.samples.brewery.common.model; public class Ingredient { private IngredientType type; private Integer quantity; public Ingredient(IngredientType type, Integer quantity) { this.type = type; this.quantity = quantity; } public Ingredient() { } public I...
Package.describe({ summary: "a replica of a core package", version: "1.0.0" });
<!--继承的父类模板位于:Application\Home\View\default\Addons\param.html --> <extend name="param"/> <block name="css"> <link href="{:ADDON_PUBLIC_PATH}/css/diy.css?v={:SITE_VERSION}" rel="stylesheet" type="text/css"> </block> <!--参数配置模块 一般情况widget里的param.html继承此模板后只需要重写baseSetting代码块即可--> <block name="baseSetting"> <form i...
struct pio_desc *gpiolib_export(unsigned int gpio_num) { int ret; struct pio_desc *desc = malloc(sizeof(struct pio_desc)); if (!desc) return NULL; ret = syscall(SYSCALL_PIO_EXPORT, gpio_num, desc); if (ret < 0) { free(desc); desc = NULL; } return desc; } EXPORT_SYMBOL(gpiolib_export); int gpiolib_set_o...
<span id="video-anchor" class="h2 jumpTo-anchor">Video</span> <!-- <div class="right"> <a class="btn btn-primary" href="video">Isolate</a> </div> --> <div class="box-column clear"> <video controls="controls" poster="http://sandbox.thewikies.com/vfe-generator/images/big-buck-bunny_poster.jpg" width="100%" height="...
require 'spec_helper' describe RuboCop::Cop::Metrics::CyclomaticComplexity, :config do subject(:cop) { described_class.new(config) } context 'when Max is 1' do let(:cop_config) { { 'Max' => 1 } } it 'accepts a method with no decision points' do inspect_source(cop, ['def method_name', ...
layout: docs title: Toasts description: Push notifications to your visitors with a toast, a lightweight and easily customizable alert message. group: components toc: true --- Toasts are lightweight notifications designed to mimic the push notifications that have been popularized by mobile and desktop operating systems...
require 'rack/request' require 'rack/utils' module Rack # Rack::Response provides a convenient interface to create a Rack # response. # # It allows setting of headers and cookies, and provides useful # defaults (a OK response containing HTML). # # You can use Response#write to iteratively generate your r...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:dita="http://dita-ot.sourceforge.net" xmlns:if="ant:if" xmlns:unless="ant:unless" name="dita2termchecker-xliff"> <target name="dita2termchecker-xliff" depends="termchecker-xliff.init, html5.init, build-init, preprocess, ...
#pragma once #include <memory> #include <string> #include "envoy/common/pure.h" #include "envoy/config/typed_config.h" #include "common/protobuf/protobuf.h" namespace Envoy { namespace Config { /** * TypedMetadata interface. */ class TypedMetadata { public: class Object { public: virtual ~Object() = defa...
package org.apache.activemq.openwire.v1; import org.apache.activemq.command.ActiveMQTextMessage; /** * Test case for the OpenWire marshalling for ActiveMQTextMessage NOTE!: This * file is auto generated - do not modify! if you need to make a change, please * see the modify the groovy scripts in the under src/gram...
(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...
<html> <head> <script> function generateErrors(number) { for (var i = 0; i < number; ++i) console.error("This is an error."); } function generateLogs(number) { for (var i = 0; i < number; ++i) console.log("This is a log."); } function generateWar...
package org.zstack.test.storage.primary; import junit.framework.Assert; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.zstack.core.cloudbus.CloudBus; import org.zstack.core.componentloader.ComponentLoader; import org.zstack.core.db.DatabaseFacade; import org.zstack.header.c...
 #pragma once #include <aws/migration-hub-refactor-spaces/MigrationHubRefactorSpaces_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> namespace Aws { namespace MigrationHubRefactorSpaces { namespace Model { enum class ErrorCode { NOT_SET, INVALID_RESOURCE_STATE, RESOURCE_LIMIT_EXCEEDED, ...
""" PyPasteLib A Python library to format and paste text. Copyright (c) 2013 Frédéric Massart - FMCorz.net Licensed under The MIT License Redistributions of files must retain the above copyright notice. http://github.com/FMCorz/PyPasteLib """ import pasters def Paster(paster, **kwargs): classname = '%sPaster...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Customize · Bootstrap</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <!-- Le styles --> <link href="assets/css/bootstr...
FROM balenalib/rpi-alpine:3.13-run # remove several traces of python RUN apk del python* # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 # install python dependencies RUN apk add --no-cache ca-certificates ...
package DDG::Spice::Newint; # ABSTRACT: Returns a list of New Internationalist magazines. use strict; use DDG::Spice; triggers startend => "newint", "new internationalist magazine", "new internationalist"; spice to => 'https://digital.newint.com.au/issues.json?utf8=✓&query=$1'; spice wrap_jsonp_callback => 1; handl...
using System.Linq; using Microsoft.CodeAnalysis.CodeRefactorings; using Microsoft.CodeAnalysis; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Formatting; namespace RefactoringEssentials.CSharp.CodeRefactorings { [ExportCo...
namespace media { // Specification of whether and how the stream is encrypted (in whole or part). class MEDIA_EXPORT EncryptionScheme { public: // Algorithm and mode used for encryption. CIPHER_MODE_UNENCRYPTED indicates // no encryption. enum CipherMode { CIPHER_MODE_UNENCRYPTED, CIPHER_MODE_AES_CTR, ...
<!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.6.0_31) on Mon Jul 22 15:25:23 PDT 2013 --> <TITLE> Uses of Class org.apache.hadoop.mapred.TextOutputFormat.LineRecordWriter (Hadoop 1.2.1 API) </TITLE> ...
<?xml version="1.0" encoding="UTF-8"?> <project-shared-configuration> <!-- This file contains additional configuration written by modules in the NetBeans IDE. The configuration is intended to be shared among all the users of project and therefore it is assumed to be part of version control checkout. Without this co...
universe.if
'use strict'; /** * Small utility that can be used as an error handler. You cannot just pass * `console.error` as a failure callback - it's not properly bound. If passes an * `Error` object, it will print the message and stack. */ var logError = function(...args: $ReadOnlyArray<mixed>) { if (args.length === 1 ...
import os import sys import xml.dom.minidom from git_config import GitConfig, IsId from project import RemoteSpec, Project, MetaProject, R_HEADS, HEAD from error import ManifestParseError MANIFEST_FILE_NAME = 'manifest.xml' LOCAL_MANIFEST_NAME = 'local_manifest.xml' class _Default(object): """Project defaults with...
package com.intellij.internal.statistic.eventLog; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; @ApiStatus.Internal public class EventLogInternalSendConfig implements EventLogSendConfig { private final String myRecorderId; private final String myDeviceId; private final ...
"no use strict"; ;(function(window) { if (typeof window.window != "undefined" && window.document) { return; } window.console = function() { var msgs = Array.prototype.slice.call(arguments, 0); postMessage({type: "log", data: msgs}); }; window.console.error = window.console.warn = window.console.log = wind...
> ⚠️ Spotijack will not work on macOS 10.15 (Catalina) because Audio Hijack Pro > no longer runs. There is an experimental build [on this > branch][recording-experiment-branch] that removes the need for Audio Hijack > Pro. [recording-experiment-branch]: https://github.com/alexjohnj/spotijack/tree/exp/recording Spotij...
#ifndef __PAL_INTERFACE_H__ #define __PAL_INTERFACE_H__ #ifdef TARGET_LINUX #include <linux/slab.h> #endif #ifdef TARGET_LINUX typedef char char8_t; typedef long long int addr_t; #else typedef CHAR8 char8_t; typedef CHAR16 char16_t; typedef UINT8 uint8_t; typedef UINT16 uint16_t; typedef UI...
from tests import *
<div> <!--单个issue--> <textarea id="tmpl-issue-list-cell"> <div class="row" ng-class="getDelayClass(issue)" ng-click="onClickIssue($event, issue)"> <div class="issue-status" data-selected="{{issue.status}}" data-name="issue:status" ng-click="onClickStatus($event, issue)"> <i c...
package hydrograph.ui.propertywindow.widgets.listeners; import org.apache.commons.lang.StringUtils; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Combo; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.M...
/* * File putiltst.c (Tests the API in putil) * * Modification History: * * Date Name Description * 07/12/2000 Madhu Creation ******************************************************************************* */ #include "unicode/utypes.h" #include "cintltst.h" #include "cmemory.h" #include...
<?php namespace Symfony\Component\HttpFoundation; /** * Response represents an HTTP response in JSON format. * * Note that this class does not force the returned JSON content to be an * object. It is however recommended that you do return an object as it * protects yourself against XSSI and JSON-JavaScript Hij...
namespace pangolin { void videoviewer_signal_quit(int) { pango_print_info("Caught signal. Program will exit after any IO is complete.\n"); pangolin::QuitAll(); } VideoViewer::VideoViewer(const std::string& window_name, const std::string& input_uri, const std::string& output_uri) : window_name(window_name)...
class StaticJsonBuffer_ParseArray_Tests : public testing::Test { protected: void with(JsonBuffer& jsonBuffer) { _jsonBuffer = &jsonBuffer; } void whenInputIs(const char* json) { strcpy(_jsonString, json); } void parseMustSucceed() { EXPECT_TRUE(_jsonBuffer->parseArray(_jsonString).success()); ...
package com.google.security.zynamics.binnavi.ZyGraph.Menus.Actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import com.google.common.base.Preconditions; import com.google.security.zynamics.binnavi.Gui.GraphWindows.CGraphModel; import com.google.security.zynamics.binnavi.Gui.GraphWindow...
import { OuterSubscriber } from '../OuterSubscriber'; import { subscribeToResult } from '../util/subscribeToResult'; export function takeUntil(notifier) { return (source) => source.lift(new TakeUntilOperator(notifier)); } class TakeUntilOperator { constructor(notifier) { this.notifier = notifier; } ...
for start, end, name in self.talks: if hour >= start and hour < end: return name
package com.github.mauricio.async.db.postgresql.exceptions class ColumnDecoderNotFoundException(kind: Int) extends IllegalArgumentException("There is no decoder available for kind %s".format(kind))
package openshiftkubeapiserver import ( "net/http" "strings" "github.com/golang/glog" genericapiserver "k8s.io/apiserver/pkg/server" kubecontrolplanev1 "github.com/openshift/api/kubecontrolplane/v1" osinv1 "github.com/openshift/api/osin/v1" "github.com/openshift/origin/pkg/cmd/openshift-apiserver/openshiftap...
#include <linux/init.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/log2.h> #include <sound/core.h> #include <sound/timer.h> #if defined(CONFIG_RTC) || defined(CONFIG_RTC_MODULE) #include <linux/mc146818rtc.h> #define RTC_FREQ 1024 /* default frequency */ #define NANO_SEC 1000000000L /*...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Headers</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" title="Boost.Regex...
% test Assign function TestAssignSamples2BlocksByLabel() unigram = [5 9 20 1 8 7]; nSampleInBlock = 5; label = []; for i=1:length(unigram) label = [label ones(1,unigram(i))*i]; end label = label(randperm(length(label))); nBlock = ceil(length(label)/nSampleInBlock); refill = 0; DEBUG=1; AssignSamples2BlocksByLab...
// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: indeximport.proto /* Package indeximport is a generated protocol buffer package. It is generated from these files: indeximport.proto It has these top-level messages: IndexQueries */ package indeximport import testing "testing" import math_rand "math/ra...
#include "config.h" #if ENABLE(MICRODATA) #include "JSMicroDataItemValue.h" #include "JSNode.h" #include <runtime/JSArray.h> using namespace JSC; namespace WebCore { JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, MicroDataItemValue* itemValue) { if (!itemValue) return jsNull(); if...
namespace Timewhale { SpriteShader::SpriteShader() { m_vertexShader = 0; m_pixelShader = 0; m_layout = 0; m_matrixBuffer = 0; m_sampleState = 0; } SpriteShader::SpriteShader(const SpriteShader& other) { } SpriteShader::~SpriteShader() { } bool SpriteShader::Initialize() { auto renderer = RenderSystem::get()...
package com.maddyhome.idea.copyright.options; import com.intellij.openapi.util.DefaultJDOMExternalizer; import com.intellij.openapi.util.DifferenceFilter; import com.intellij.openapi.util.InvalidDataException; import com.intellij.openapi.util.WriteExternalException; import org.jdom.Element; public class LanguageOpt...
(function($) { "use strict"; // Start of use strict // Smooth scrolling using jQuery easing $('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function() { if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { var target = $(this.ha...
#ifndef BT_UNIFORM_SCALING_SHAPE_H #define BT_UNIFORM_SCALING_SHAPE_H #include "btConvexShape.h" #include "bullet/BulletCollision//BroadphaseCollision/btBroadphaseProxy.h" // for the types ///The btUniformScalingShape allows to re-use uniform scaled instances of btConvexShape in a memory efficient way. ///Istead of...
//************************************************** //**Work inspired by multiple jquery swipe plugins** //**Done by Yohai Ararat *************************** //************************************************** (function($) { $.spotSwipe = { version: '1.0.0', enabled: 'ontouchstart' in document.documentElem...
package org.dcm4chex.archive.web.maverick.model; import org.dcm4che.dict.Tags; /** * @author franz.willer * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public abstract class BasicFilterModel extends BasicDatasetModel { p...
package org.quicktheories.api; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; import org.quicktheories.api.Tuple4; import org.quicktheories.api.Tuple5; import nl.jqno.equalsverifier.EqualsVerifier; public class Tuple4Test { @Test public void shouldPrependDataToFromTuple5() { ...
package org.keycloak.social.linkedin; import java.net.MalformedURLException; import java.net.URL; import java.net.URLDecoder; import org.codehaus.jackson.JsonNode; import org.jboss.logging.Logger; import org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider; import org.keycloak.broker.oidc.OAuth2IdentityProviderCo...
<h1 class="unboxed">What is the meaning of the columns?</h1> <div class="row"> <div class="col-md-12"> <div class="box"> <div class="alert alert-info" ng-show="mode=='aliases'"> You're now prompted to configure which column in the source data contains the preferred name of the e...
<?xml version="1.0" encoding="utf-8"?> <!-- --> <alpha xmlns:android="http://schemas.android.com/apk/res/android" android:duration="100" android:fromAlpha="0.0" android:interpolator="@android:anim/accelerate_interpolator" android:toAlpha="1.0"/>