text stringlengths 3 1.05M |
|---|
class ScoreboardsController < ApplicationController
before_action :set_assessment
before_action :set_assessment_breadcrumb, only: [:edit]
before_action :set_scoreboard, except: [:create]
rescue_from ActionView::MissingTemplate do |_exception|
redirect_to("/home/error_404")
end
action_auth_level :create... |
package javax.swing.event;
import java.util.EventListener;
/**
* The listener that's notified when the selection in a TreeSelectionModel
* changes.
* For more information and examples see
* <a
href="http://java.sun.com/docs/books/tutorial/uiswing/events/treeselectionlistener.html">How to Write a Tree Selection... |
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager.Resources;
namespace Azure.ResourceManager.Resources.Models
{
internal partial class ArmDeploymentListResult
{
internal static ArmDeploymentListResult DeserializeArmDeploymentListResult(JsonElement e... |
<?php
include_once 'phing/parser/ExpatParseException.php';
/**
* This is an abstract class all SAX handler classes must extend
*
* @author Andreas Aderhold <andi@binarycloud.com>
* @copyright © 2001,2002 THYRELL. All rights reserved
* @version $Revision: 526 $
* @package phing.parser
*/
abstract class... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_45) on Wed Jul 15 13:29:00 CEST 2015 -->
<title>Authentication.Login</title>
<meta name="date" content="2015-07-15">
<link rel="stylesheet" typ... |
module.exports = function (grunt) {
'use strict';
// Force use of Unix newlines
grunt.util.linefeed = '\n';
RegExp.quote = function (string) {
return string.replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&');
};
var fs = require('fs');
var path = require('path');
var npmShrinkwrap = require('npm-shrinkwra... |
<?php
namespace Cake\TestSuite\Constraint\Response;
/**
* HeaderContains
*
* @internal
*/
class HeaderContains extends HeaderEquals
{
/**
* Checks assertion
*
* @param mixed $other Expected content
* @return bool
*/
public function matches($other)
{
return mb_strpos($... |
package api_server
import (
"fmt"
"github.com/go-openapi/strfmt"
apiclient "github.com/kubeflow/pipelines/backend/api/go_http_client/visualization_client"
params "github.com/kubeflow/pipelines/backend/api/go_http_client/visualization_client/visualization_service"
model "github.com/kubeflow/pipelines/backend/api/... |
class MrbParser
class Error < StandardError; end
end
|
<?php
namespace Cerad\Bundle\ProjectBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads a... |
from zounds.spectral import dct_basis
import torch
from torch.autograd import Variable
class DctTransform(object):
def __init__(self, use_cuda=False):
super(DctTransform, self).__init__()
self.use_cuda = use_cuda
self._init_caches()
def _init_caches(self):
self._basis_cache = ... |
<?php
namespace Doctrine\DBAL\Platforms\Keywords;
/**
* SAP Sybase SQL Anywhere 11 reserved keywords list.
*
* @author Steve Müller <st.mueller@dzh-online.de>
*/
class SQLAnywhere11Keywords extends SQLAnywhereKeywords
{
/**
* {@inheritdoc}
*/
public function getName()
{
return 'SQLA... |
"use strict";
//# sourceMappingURL=push-notification.type.js.map |
#ifndef FREERDP_SETTINGS_H
#define FREERDP_SETTINGS_H
#include <freerdp/api.h>
#include <freerdp/types.h>
/* Performance Flags */
#define PERF_FLAG_NONE 0x00000000
#define PERF_DISABLE_WALLPAPER 0x00000001
#define PERF_DISABLE_FULLWINDOWDRAG 0x00000002
#define PERF_DISABLE_MENUANIMA... |
"""Simple datastore view and interactive console, for use in dev_appserver."""
import cgi
import collections
import csv
import cStringIO
import datetime
import decimal
import logging
import math
import mimetypes
import os
import os.path
import pickle
import pprint
import random
import sys
import time
import tr... |
/**
* delay.js
*
* Helper that returns a promise that resolves after a delay.
*
* @author Brian Cavalier
* @author John Hann
*/
(function(define) {
define(function(require) {
var when = require('./when');
/**
* @deprecated Use when(value).delay(ms)
*/
return function delay(msec, value) {
r... |
<html>
<head>
<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
var fooRef;
function storeFunctionRefAndNavigateIFrame()
{
var frame = document.getElementById... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2... |
#import "FlashRuntimeExtensions.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface MPBitmapDataUtils : NSObject
+ (UIImage*) getUIImageFromFREBitmapData:(FREBitmapData2) bitmapData;
@end |
'use strict';
/**
* Factory for Orderheader
*/
orderheaderModule.factory('Orderheader', ['$http', 'restURL', function($http, restURL) {
// REST Service URL to manage orderheader
var entityURL = restURL + '/orderheader';
/**
* Validate orderheader
* @param orderheader orderheader
* @throws val... |
+function ($) {
'use strict';
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
// ============================================================
function transitionEnd() {
var el = document.createElement('bootstrap')
var transEndEventNames = {
WebkitTransition : 'webkitTransitio... |
"""
Multi-part parsing for file uploads.
Exposes one class, ``MultiPartParser``, which feeds chunks of uploaded data to
file upload handlers for processing.
"""
from __future__ import unicode_literals
import base64
import cgi
import sys
from django.conf import settings
from django.core.exceptions import SuspiciousMu... |
module Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10
module Models
#
# Collection of jobs.
#
class JobCollection
include MsRestAzure
include MsRest::JSONable
# @return [Array<Job>] The list of jobs.
attr_accessor :value
# @return [String] The value of next lin... |
'use strict';
var fs = require('fs');
var path = require('path');
var libpath = process.env.TEST_COV ? '../lib-cov/' : '../lib/';
var detector = require(libpath + 'detector');
var handlers = {};
var types = require(libpath + 'types');
// load all available handlers
types.forEach(function (type) {
handlers[type] =... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
typeof define === 'function' && define.amd ? define(factory) :
(factory());
}(this, (function () { 'use strict';
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source c... |
require 'kontena/plugin_manager'
describe Kontena::PluginManager::Uninstaller do
let(:subject) { described_class.new('foo') }
let(:installed) { double(name: 'double', base_dir: '/tmp') }
let(:command) { double }
before(:each) do
allow(subject).to receive(:installed).with('foo').and_return(installed)
end... |
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({name: 'checkmark'})
export class CheckmarkPipe implements PipeTransform {
transform(input: boolean) {
return input ? '\u2713' : '\u2718';
}
}
|
module Aws
module Plugins
# @seahorse.client.option [required, Credentials] :credentials Your
# AWS credentials. The following locations will be searched in order
# for credentials:
#
# * `:access_key_id`, `:secret_access_key`, and `:session_token` options
# * ENV['AWS_ACCESS_KEY_ID'... |
int main() {
// test realloc with less memory
{
void* memory = ba_alloc(10);
// give the memory some value
stpcpy(memory, "123456789");
memory = ba_resize(memory, 8);
// should be reachable memory and preserve same value (go to 8 because
// this will be missing... |
package fakes
import (
"bytes"
"sync"
)
type FakeSoftLayerClient struct {
DoRawHttpRequestStub func(path string, requestType string, requestBody *bytes.Buffer) ([]byte, int, error)
doRawHttpRequestMutex sync.RWMutex
doRawHttpRequestArgsForCall []struct {
path string
requestType string
r... |
<?php
namespace Zend\Server\Reflection;
/**
* Return value reflection
*
* Stores the return value type and description
*/
class ReflectionReturnValue
{
/**
* Return value type
* @var string
*/
protected $type;
/**
* Return value description
* @var string
*/
protecte... |
package org.wso2.carbon.identity.oauth2.token.handlers.grant.saml;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.joda.time.DateTime;
import org.opensaml.DefaultBootstrap;
import org.opensaml.saml1.core.Assertion;
import ... |
class StatusTrayWin : public StatusTray {
public:
StatusTrayWin();
~StatusTrayWin();
// Exposed for testing.
LRESULT CALLBACK WndProc(HWND hwnd,
UINT message,
WPARAM wparam,
LPARAM lparam);
protected:
// Overriden from StatusT... |
layout: section
title: "Chemin critique du rendu"
description: "Optimisation du chemin critique du rendu en affichant en priorité le contenu associé à la première action que l'utilisateur souhaite effectuer sur une page."
introduction: "L'optimisation du chemin critique du rendu est essentielle pour améliorer les perfo... |
<p><strong>diff</strong> program output for this 100KB <a href="iofile.php?test=<?=$SelectedTest;?>&file=input">input file</a> (generated with the fasta program N = 10000) with this <a href="iofile.php?test=<?=$SelectedTest;?>&lang=<?=$SelectedLang;?>&file=output">output file</a> to check your program is co... |
// ZAP: 2012/03/15 Changed the first letter of the method OptionsChanged to lower case.
// ZAP: 2013/03/03 Issue 546: Remove all template Javadoc comments
// ZAP: 2013/05/02 Removed redundant public modifiers from interface method declarations
package org.parosproxy.paros.extension;
import org.parosproxy.paro... |
#ifndef QuotedPrintable_h
#define QuotedPrintable_h
#include <wtf/Vector.h>
namespace WebCore {
void quotedPrintableEncode(const Vector<char>&, Vector<char>&);
void quotedPrintableEncode(const char*, size_t, Vector<char>&);
void quotedPrintableDecode(const Vector<char>&, Vector<char>&);
void quotedPrintableDecode... |
namespace boost {
namespace interprocess {
namespace ipcdetail {
//!This class implements the simple sequential fit algorithm with a simply
//!linked list of free buffers.
//!This class is intended as a base class for single segment and multi-segment
//!implementations.
template<class MutexFamily, class VoidPointer>
c... |
// Generated by xsd compiler for android/java
// DO NOT CHANGE!
package ebay.apis.eblbasecomponents;
import java.io.Serializable;
import com.leansoft.nano.annotation.*;
/**
*
* Contains summary information about the items the seller is selling.
*
*/
public class MyeBaySellingSummaryType implements Serializable ... |
// Copyright 2019 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.
// This file is autogenerated by
// java_cpp_enum.py
// From
// ../../base/metrics/histogram_base.h
package org.chromium.base.metrics;
import a... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package com.cloudera.sqoop.mapreduce.db;
/**
* Implement DBSplitter over text strings.
*
* @deprecated use org.apache.sqoop.mapreduce.db.TextSplitter instead.
* @see org.apache.sqoop.mapreduce.db.TextSplitter
*/
public class TextSplitter extends org.apache.sqoop.mapreduce.db.TextSplitter {
}
|
START_ATF_NAMESPACE
CNationSettingDataGB::CNationSettingDataGB()
{
using org_ptr = void (WINAPIV*)(struct CNationSettingDataGB*);
(org_ptr(0x14022be10L))(this);
};
void CNationSettingDataGB::ctor_CNationSettingDataGB()
{
using org_ptr = void (WINAPIV*)(struct CNationSettingDa... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>colour.quality Package — Colour 0.3.3 documentation</title>
<link rel="stylesheet" href="_static/basic.css" type="text/css" />
<link rel="st... |
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
require "merb-core/two-oh"
startup_merb(:log_level => :fatal)
Dir[File.join(File.dirname(__FILE__), "controllers/**/*.rb")].each do |f|
require f
end
describe Merb::Test::MultipartRequestHelper do
describe "#dispatch_multipart_to" do
... |
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/** @noinspection UnusedDeclaration*/
class GenericsTest98 {
public static void main(String[] args) throws Exception{
List<Movable<? extends Serializable>> list = new ArrayList<Movable<? extends Serializable>> ();
Facto... |
layout: post
date: 2017-10-28
title: "Atelier Aimée wedding gowns 2012 - Marion and Chiara wedding dresses Sleeveless Floor-Length Sheath/Column"
category: Atelier Aimée
tags: [Atelier Aimée,Sheath/Column,Sweetheart,Floor-Length,Sleeveless]
---
### Atelier Aimée wedding gowns 2012 - Marion and Chiara wedding dresses
Ju... |
namespace cc {
namespace {
gfx::Rect ToRoundedIntRect(gfx::RectF rect_f) {
return gfx::Rect(gfx::ToRoundedInt(rect_f.x()),
gfx::ToRoundedInt(rect_f.y()),
gfx::ToRoundedInt(rect_f.width()),
gfx::ToRoundedInt(rect_f.height()));
}
void NinePatchLayerLayoutTest(g... |
package org.apache.hadoop.hdfs.server.protocol;
import org.apache.hadoop.classification.InterfaceAudience;
/**
* Information that describes a journal
*/
@InterfaceAudience.Private
public class JournalInfo {
private final int layoutVersion;
private final String clusterId;
private final int namespaceId;
pub... |
// Copyright 2021 Google LLC
//
// 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 ... |
package rapture.util;
/**
* Given a script name looking like "authority/name", split it into authority
* and name
*
* @author amkimian
*
*/
public class ScriptNameHelper {
private String authority;
private String name;
public ScriptNameHelper(String fullName) {
int pIndex = fullName.inde... |
using namespace seqan;
int main() {
typedef Graph<Directed<> > TGraph;
typedef VertexDescriptor<TGraph>::Type TVertexDescriptor;
typedef EdgeDescriptor<TGraph>::Type TEdgeDescriptor;
typedef Size<TGraph>::Type TSize;
///Graph creation: 9 directed edges (0,1), (0,2), ...
TSize numEdges = 9;
TVertexDescriptor edge... |
<?php
namespace HWI\Bundle\OAuthBundle\Tests\OAuth\ResourceOwner;
use HWI\Bundle\OAuthBundle\OAuth\ResourceOwner\FacebookResourceOwner;
use HWI\Bundle\OAuthBundle\Test\OAuth\ResourceOwner\GenericOAuth2ResourceOwnerTestCase;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\OptionsResolver\Exceptio... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.qrcode_zxing.view.VerticalSeekBar
android:id="@+id/verticalSeekBar"
android:layout_width="match_paren... |
/**
* @license Angulartics v0.14.15
* (c) 2013 Luis Farzati http://luisfarzati.github.io/angulartics
* License: MIT
*/
!function(a){"use strict";a.module("angulartics.woopra",["angulartics"]).config(["$analyticsProvider",function(a){a.registerPageTrack(function(a){woopra.track("pv",{url:a})}),a.registerEventTrack(f... |
<?php
namespace PicoFeed\Client;
/**
* @author Bernhard Posselt
*/
class ForbiddenException extends ClientException
{
}
|
require 'spec_helper'
require 'page-object/elements'
describe PageObject::Elements::TableCell do
context "interface" do
it "should register with tag_name :td" do
expect(::PageObject::Elements.element_class_for(:td)).to eql ::PageObject::Elements::TableCell
end
it "should register with tag_name :t... |
package org.wso2.carbon.apimgt.core.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.wso2.carbon.apimgt.core.api.APIGateway;
import org.wso2.carbon.apimgt.core.api.APILifecycleManager;
import org.wso2.carbon.apimgt.core.api.APIMgtAdminService;
import org.wso2.carbon.apimgt.core.api.APIPublis... |
<?php
/**
* WYSIWYG widget options form
*
* @category Mage
* @package Mage_Adminhtml
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_Widget_Block_Adminhtml_Widget_Chooser extends Mage_Adminhtml_Block_Template
{
/**
* Chooser source URL getter
*
* @return string
... |
module Azure::ContainerRegistry::Mgmt::V2019_04_01
module Models
#
# Base properties for updating any task step.
#
class TaskStepUpdateParameters
include MsRestAzure
@@discriminatorMap = Hash.new
@@discriminatorMap["Docker"] = "DockerBuildStepUpdateParameters"
@@discriminator... |
/* Pager widget (beta) for TableSorter 4/20/2014 (v2.16.0) */
/*jshint browser:true, jquery:true, unused:false */
;(function($){
"use strict";
var tsp,
ts = $.tablesorter;
ts.addWidget({
id: "pager",
priority: 55, // load pager after filter widget
options : {
// output default: '{page}/{totalPages}'
// possibl... |
package pl.newicom.dddd.test.support
import com.typesafe.config.{Config, ConfigFactory}
import akka.actor.ActorSystem
object TestConfig {
val config = ConfigFactory.parseString(
"""akka.loggers = ["akka.testkit.TestEventListener"]
|akka.loglevel = DEBUG
|akka.actor.debug.autoreceive = "on"
|ak... |
using namespace b9;
/// ( number -- 0 )
extern "C" void b9_prim_print_number(ExecutionContext *context) {
auto number = context->pop();
assert(number.isInt48());
std::cout << number << std::endl;
context->push(Om::Value(Om::AS_INT48, 0));
}
/// ( string -- 0 )
extern "C" void b9_prim_print_string(ExecutionCon... |
package com.base.framework.ui;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.TextUtils;
import android.view.LayoutInflater;
import androi... |
import sys, os
import exceptions, optparse
import libxml2
opa = optparse.OptionParser()
opa.add_option("-b", "--base", action="store", type="string", dest="baseDir",
default="",
help="""The base directory; i.e. the parent folder of the
"nisttest", "suntest" and "msxsdtest" directories.""")
opa.add_... |
package org.apache.tez.analyzer.plugins;
import java.io.File;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.util.StringInterner;
import org.apache.hadoop.util.ToolRunner;
import org.apache... |
package com.google.maps.android;
import com.google.android.gms.maps.model.LatLng;
import junit.framework.Assert;
import junit.framework.TestCase;
import java.lang.String;
import java.lang.reflect.Array;
import java.util.List;
import java.util.ArrayList;
public class PolyUtilTest extends TestCase {
private sta... |
define("JBrowse/View/Export/BED", [ 'dojo/_base/declare',
'dojo/_base/array',
'JBrowse/View/Export'
],
function( declare, array, ExportBase ) {
return declare( ExportBase,
/**
* @lends JBrowse.View.Export.BED.prototype
*/
{
/**
* Data export driver for BED format.
*... |
RHDatagram::RHDatagram(RHGenericDriver& driver, uint8_t thisAddress)
:
_driver(driver),
_thisAddress(thisAddress)
{
}
////////////////////////////////////////////////////////////////////
// Public methods
bool RHDatagram::init()
{
bool ret = _driver.init();
if (ret)
setThisAddress(_thisAddress);
... |
app_prod.controller('AmountController', ['$scope', '$rootScope', function($scope,$rootScope) {
$scope.amounts = [
{
addCart:false,
isDisabled_addcart:false
}
];
this.amount = parseInt(this.amount);
$scope.disableClick_addCart = function(num) {
console.log(num);
if(!$scope.amounts[num].isDisabled_addcart){... |
class SkBitmap;
// Decodes an image in a sandboxed process.
class ImageDecoder : public content::UtilityProcessHostClient {
public:
class Delegate {
public:
// Called when image is decoded.
// |decoder| is used to identify the image in case of decoding several
// images simultaneously.
virtual vo... |
//
// Copyright (c) 2018 DDN. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
import _ from "@iml/lodash-mixins";
import highland from "highland";
import socketStream from "../socket/socket-stream.js";
import serversToApiObjects from "./serve... |
Groepen toewijzen aan projecten

|Nummer|Requirement|
|:---|:---|
|12.1.1|Systeem geeft de optie om groepen toe te wijzen aan project|
|12.1.2|Systeem toont lijst met mogelijke projecten|
|12.1.3|Indien project-docent maar een projec... |
The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
<table class="table"
data-toggle="table"
data-search="true"
data-show-toggle="true"
data-show-columns="true"
data-mobile-responsive="true">
<thead>
<tr>
<th>Name</th>
<th>Attribute</th>
... |
import * as webdriver from "./index";
declare namespace ie {
/**
* A WebDriver client for Microsoft's Internet Explorer.
*/
class Driver extends webdriver.WebDriver {
/**
* @param {(capabilities.Capabilities|Options)=} opt_config The configuration
* options.
... |
import { Component } from '@angular/core'
@Component({
selector: 'forgera-app',
// moduleId: module.id,
templateUrl: 'app.component.html',
styleUrls: ['app.component.scss'],
})
export class AppComponent {
}
|
package org.apache.spark.sql
import java.util.Locale
import org.apache.spark.sql.catalyst.expressions.aggregate.PivotFirst
import org.apache.spark.sql.functions._
import org.apache.spark.sql.internal.SQLConf
import org.apache.spark.sql.test.SharedSQLContext
import org.apache.spark.sql.types._
class DataFramePivotS... |
/* DOM Level2 Events implemented as described here:
*
* http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html
*
*/
var core = require("./core").dom.level2.core,
utils = require("../utils"),
defineGetter = utils.defineGetter,
defineSetter = utils.defineSetter,
inheritFrom = utils.inhe... |
package org.jf.dexlib2.writer.builder;
import com.google.common.collect.Maps;
import org.jf.dexlib2.iface.Annotation;
import org.jf.dexlib2.writer.AnnotationSection;
import org.jf.dexlib2.writer.builder.BuilderEncodedValues.BuilderEncodedValue;
import javax.annotation.Nonnull;
import java.util.Collection;
import ja... |
<?php
/**
* Helper for data directory upgrade
*
* @access private
*/
class Elgg_Upgrades_Helper2013022000 {
const RELATIONSHIP_SUCCESS = '2013022000';
const RELATIONSHIP_FAILURE = '2013022000_fail';
/**
* @var int Site GUID
*/
protected $siteGuid;
/**
* @var string DB table prefix
*/
protected $dbP... |
require("../common-tap.js")
var test = require("tap").test
var npm = require("../../lib/npm.js")
// this is the narrowest way to replace a function in the module cache
var found = true
var remoteGitPath = require.resolve('../../lib/cache/add-remote-git.js')
require("module")._cache[remoteGitPath] = {
id: remoteGitPa... |
package dk.troelssiggaard.iacontacts.sensors;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.util.Log;
import java.util.LinkedList;
import dk.troelssiggaard.iaconta... |
package com.coillighting.udder.geometry.wave;
import com.coillighting.udder.geometry.Crossfade;
/** A sinusoidally interpolated signal that continuously oscillates from start
* to end, then discontinuously jumps back to the start value.
*/
public class SharkfinWave extends WaveBase {
public SharkfinWave(doub... |
// Copyright (c) 2018-2022 Dr. Colin Hirsch and Daniel Frey
// Copyright (c) 2021 Daniel Deptford
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <sstream>
#include <string>
#include <unordered_map>
#in... |
<!DOCTYPE html>
<html lang="en-gb" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Flex component - UIkit documentation</title>
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link... |
package com.kotcrab.vis.ui.widget.spinner;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.utils.Array;
import com.kotcrab.vis.ui.util.InputValidator;
import com.kotcrab.vis.ui.widget.VisValidatableTextField;
/**
* {@link Spinner} model allowing to browse through items from object {@link Array}.
*... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (1.8.0_40) on Fri Aug 14 13:04:45 CST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>DiskLruCache.Editor</title>
... |
.charsheet label {
display: inline-block;
width: 75px;
text-align: right;
}
.charsheet input {
display: inline-block;
width: 165px;
}
.sheet-col strong.sheet-dee {
font-size: 1.4em;
font-weight: bold;
padding-right: 4px;
}
.charsheet input.sheet-short {
width: 3.5em;
}
.charsheet {
background-image: ur... |
require File.expand_path('../../../../spec_helper', __FILE__)
require File.expand_path('../shared/constants', __FILE__)
describe "Digest::SHA384#digest" do
it "returns a digest" do
cur_digest = Digest::SHA384.new
cur_digest.digest().should == SHA384Constants::BlankDigest
# add something to check that t... |
using namespace v8;
using namespace GenApi_3_0_Basler_pylon_v5_0;
using namespace GenICam_3_0_Basler_pylon_v5_0;
Nan::Persistent<FunctionTemplate> SelectorDigitWrap::prototype;
Nan::Persistent<Function> SelectorDigitWrap::constructor;
// Supported implementations
// ISelectorDigit()
// ISelectorDigit(ISelectorDigit& ... |
'''
Created on 2017/11/14.
@author: chk01
'''
import tensorflow as tf
from tensorflow.python.framework import ops
import numpy as np
import math
import matplotlib.pyplot as plt
import scipy.io as scio
import os
def init_sets(X, Y, file, distribute):
m = X.shape[0]
permutation = list(np.random.permutation(m))... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("2.... |
import * as ts from 'typescript';
import { AotPlugin } from './plugin';
import { TypeScriptFileRefactor } from './refactor';
import { LoaderContext } from './webpack';
export declare function removeModuleIdOnlyForTesting(refactor: TypeScriptFileRefactor): void;
export declare function _getModuleExports(plugin: AotPlugi... |
/*! Keep this pinned comment */
declare var v: number;
// Don't keep this comment.
declare var y: number; |
using System.Collections.Generic;
using Orchard.Data.Conventions;
namespace Orchard.Core.Settings.Metadata.Records {
public class ContentTypeDefinitionRecord {
public ContentTypeDefinitionRecord() {
ContentTypePartDefinitionRecords = new List<ContentTypePartDefinitionRecord>();
... |
<!--
# license: Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Abp.Text.Formatting
{
internal class FormatStringTokenizer
{
public List<FormatStringToken> Tokenize(string format, bool includeBracketsForDynamicValues = false)
{
var tokens = new List<FormatStringToken>()... |
(function() {
var extend,
__slice = [].slice,
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
extend = function() {
var args, key, object, replacement, result, value, _i, _len, _ref;
object = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1)... |
class InMemoryTabRestoreService : public TabRestoreService {
public:
// Creates a new TabRestoreService and provides an object that provides the
// current time. The TabRestoreService does not take ownership of
// |time_factory|.
InMemoryTabRestoreService(Profile* profile,
TimeFacto... |
var assert = require("assert"),
vows = require("vows"),
databank = require("databank"),
Step = require("step"),
URLMaker = require("../lib/urlmaker").URLMaker,
modelBatch = require("./lib/model").modelBatch,
Databank = databank.Databank,
DatabankObject = databank.DatabankObject;
var suite =... |