text stringlengths 3 1.05M |
|---|
//
// NSString+UniqueIdentifier.h
//
// Copyright © 2018 Ulysses GmbH & Co. KG
//
// 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 ri... |
using namespace seqan;
// set parameters
unsigned const minimalLength = 12;
float const errorRate = 0.05;
//unsigned const qGramLength = 8;
CharString const filename = "ministellar.out";
typedef int TScoreValue;
TScoreValue const matchScore = 1;
TScoreValue const mismatchScore = -2;
TScoreValue const gapScore = -2;
... |
<?php
class Papi_Lib_Core_Page_Test extends WP_UnitTestCase {
public function setUp() {
parent::setUp();
$this->post_id = $this->factory->post->create();
}
public function tearDown() {
parent::tearDown();
unset( $this->post_id );
}
public function test_papi_get_page() {
$page = papi_get_page( $this->... |
set -e
tmpdir=`mktemp -d`
mkdir -p $tmpdir/usr/lib/lua/luci && rsync -a luci-wrtbwmon/luasrc/ $_
rsync -a luci-wrtbwmon/root/ $tmpdir
rsync -a luci-wrtbwmon/htdocs/ $tmpdir/www
# this automatically sets the version based on the tag name, if it exists
if [[ ! -z "${TRAVIS_TAG}" ]]; then
sed -i "s/Version: .*/Version... |
namespace gfx {
class ShadowValue;
struct VectorIcon;
} // namespace gfx
namespace views {
class ImageView;
class Label;
} // namespace views
namespace keyboard_shortcut_viewer {
// Displays a keyboard shortcut component (such as a modifier or a key) as a
// rounded-corner bubble which can contain either text, ico... |
package eventhub
import sbt._
import sbt.Keys._
import sbt.Tests
import java.io.{BufferedReader, InputStreamReader, FileInputStream, File}
import java.nio.charset.Charset
import java.util.Properties
import com.typesafe.sbteclipse.plugin.EclipsePlugin.EclipseKeys
import spray.revolver.RevolverPlugin._
import sbtassembl... |
int main(void)
{
// Packet receive buffer
volatile uint8_t packet[16];
// Start HFCLK from crystal oscillator. The radio needs crystal to function correctly.
NRF_CLOCK->TASKS_HFCLKSTART = 1;
while (NRF_CLOCK->EVENTS_HFCLKSTARTED == 0);
// Configure radio with 2Mbit Nordic proprietary mode
NRF_RADIO-... |
/*!
* jquery.instagramFeed
*
* @version 1.2.2
*
* @author Javier Sanahuja Liebana <bannss1@gmail.com>
* @contributor csanahuja <csanahuja@gmail.com>
*
* https://github.com/jsanahuja/jquery.instagramFeed
*
*/
(function($){
var defaults = {
'host': "https://www.instagram.com/",
'username': '... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Web Tutorials</title>
<!--... |
<?php
namespace Google\Service\Datastore;
class GoogleDatastoreAdminV1MigrationStateEvent extends \Google\Model
{
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getSt... |
(function() {
'use strict';
// dynamic header directive
angular
.module('evalai')
.directive('dynHeader', dynHeader);
function dynHeader() {
var directive = {
link: link,
templateUrl: 'dist/views/web/partials/dyn-header.html',
transclude: true... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!-- namespace必须指向Dao接口 -->
<mapper namespace="org.betelnut.examples.showcase.repository.mybatis.TeamMybatisDao">
<resultMap id="teamDetailMap" type="Team">
<id propert... |
package org.apache.hive.service.cli.operation;
import java.io.File;
import java.util.EnumSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.ScheduledE... |
#pragma once
#include "JSFunction.h"
#include "MacroAssemblerCodeRef.h"
#include <wtf/SentinelLinkedList.h>
namespace JSC {
struct Instruction;
struct LLIntCallLinkInfo : public BasicRawSentinelNode<LLIntCallLinkInfo> {
LLIntCallLinkInfo()
{
}
~LLIntCallLinkInfo()
{
if (isOnList())... |
"use strict";
export default class ParameterExpression {}
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>topology: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
package Example
import (
flatbuffers "github.com/google/flatbuffers/go"
)
type AbilityT struct {
Id uint32
Distance uint32
}
func AbilityPack(builder *flatbuffers.Builder, t *AbilityT) flatbuffers.UOffsetT {
if t == nil { return 0 }
return CreateAbility(builder, t.Id, t.Distance)
}
func (rcv *Ability) UnPackTo(... |
Ti=Shares
sec=Subject to the terms and conditions of {_this_Agreement}, and in reliance upon the representations, warranties, and covenants contained in {_this_Agreement}, at the {_Closing}, {_Buyer} shall purchase the {_Shares} from {_Sellers}, and {_Sellers} shall sell and transfer the {_Shares} to {_Buyer}, free an... |
package com.palmelf.test.system;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Set;
import com.palmelf.eoffice.model.system.AppFunction;
import com.palmelf.eoffice.model.system.AppRole;
import com.palmelf.eoffice.service.system.AppFunctionService;
import com.palmelf.eoffice.service.system.AppR... |
namespace mojo {
template <>
struct PLATFORM_EXPORT StructTraits<blink::mojom::SerializedBlobDataView,
scoped_refptr<blink::BlobDataHandle>> {
static bool IsNull(const scoped_refptr<blink::BlobDataHandle>& input) {
return !input;
}
static void SetToNull(scoped_refptr<blin... |
<html>
<head>
<link rel="stylesheet" href="../../resources/fontIcons/icons.css" type="text/css" />
<style>
html,body{
width: 100%;
height: 100%;
margin: 0;
overflow: hidden;
font... |
FROM balenalib/jetson-xavier-nx-devkit-emmc-fedora:34-build
# 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
RUN dnf install -y \
python3-pip \
python3-dbus \
&& dnf clean all
# install "virtualenv", si... |
using OODPatternLab.Command.State;
using System;
namespace OODPatternLab.Command.Remote
{
public class CommandFactory
{
public ICommand CreateCommand(string commandName)
{
if (commandName.Equals("TurnOnLight"))
{
return new LightsOnCommand(StateStore.The... |
package com.softwaremill.react.kafka;
import kafka.serializer.Decoder;
import kafka.serializer.Encoder;
import scala.collection.JavaConverters;
import scala.collection.immutable.HashMap;
import java.util.Map;
/**
* Builder class wrapping Consumer & Producer properties creation in Java API.
*/
public class Properti... |
all: index.html index.pdf
disnix-soap-client.1: ../scripts/disnix-soap-client
env CLASSPATH=../bin:../jargs.jar help2man --output=$@ --no-info --name 'Provides access to the disnix-service through the SOAP protocol' --libtool "$(SHELL) ../scripts/disnix-soap-client"
disnix-soap-client.1.xml: disnix-soap-client.1
do... |
TARGET=/opt/nfc_lock
NFCUSER=hacklab
echo "Stop services.."
service gatekeeper stop
service keyserver stop
service card_watcher stop
echo "Install files.."
install -dm 700 -o $NFCUSER $TARGET/bin
install -m 700 -o $NFCUSER python/keyserver.py $TARGET/bin
install -m 600 -o $NFCUSER python/usergpio.py $TARGET/bin
insta... |
/**
* \author Morten Kjaergaard
*/
#pragma once
#include <map>
#include <boost/function.hpp>
#include <boost/bind.hpp>
#include <boost/make_shared.hpp>
#include <boost/signal.hpp>
#include <darc/id.hpp>
#include <darc/network/outbound_data.hpp>
#include <darc/network/service_header_packet.hpp>
#include <darc/buff... |
"""Test utils for tensorflow."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import collections
from collections import OrderedDict
import contextlib
import functools
import gc
import itertools
import math
import os
import random
import re
import tempfil... |
wait=11
echo "start waiting ${wait}..."
sleep $wait
echo "after ${wait} sec"
exit ${wait}
|
<?php
namespace App\Controller\Staff;
use App\Controller\Staff\StaffAppController;
class JudgesController extends StaffAppController
{
}
|
require 'spec_helper'
describe V2::CatalogsController do
describe '#show' do
let(:make_request) { get :show }
it_behaves_like 'a controller action that requires basic auth'
context 'when the basic-auth credentials are correct' do
before { authenticate }
it_behaves_like 'a controller action... |
<?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, Versi... |
package com.kynerix.server.users;
/**
* Permissions
*/
public enum Permission {
MANAGE_SETTINGS, MANAGE_RULES, MANAGE_USERS
}
|
<?php
require_once(TOOLKIT . '/class.event.php');
Class eventnew_page extends Event{
const ROOTELEMENT = 'new-page';
public $eParamFILTERS = array(
);
public static function about(){
return array(
'name' => 'New Page',
'author' => array(
'name' => 'Aaron Garcia',
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Roles Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used in roles throughout the system.
| Regardless where it i... |
BookmarkMenu::BookmarkMenu(Renderer *Backend, QWidget *parent) : QWidget(parent), ui(new Ui::BookmarkMenu()), BACKEND(Backend){
ui->setupUi(this);
connect(ui->closeButton, &QPushButton::clicked, parent, [=]() { static_cast<QSplitter*>(parent)->setSizes(QList<int>() << 0 << this->width()); });
connect(ui->closeBut... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>group-theory: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... |
set -eu
# Repositories to push the release branch and the release tag.
: ${RELEASE_REPOSITORIES:="https://github.com/bazelbuild/bazel"}
# Repositories to push the master branch
: ${MASTER_REPOSITORIES:="https://github.com/bazelbuild/bazel https://bazel.googlesource.com/bazel"}
# Name of the default editor
: ${EDITOR... |
import { Events, IEventEmitter } from "event/EventEmitter";
import Component from "newui/component/Component";
import { TerrainType } from "tile/ITerrain";
import { IPaintSection } from "../panel/PaintPanel";
export default class TerrainPaint extends Component implements IPaintSection {
event: IEventEmitter<this, E... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Scripta Mycol. , Tartu 20: 37 (2004)
#### Original name
Dasyscyphus incrustatus Raitv., 1968
### Remarks
null |
<?php
define('LICENSE', 'MIT License');
define('COPYRIGHT', 'Copyright © 2010 Leigh McCulloch');
define('ATTRIBUTE', '<a href="http://github.com/leighmcculloch/thearmslocker">The Arms Locker</a>'
.', <a href="http://jquery.com">jQuery</a>'
.', <a href="http://jqueryui.com">jQuery UI</a>'
.', <a hre... |
<?php
/**
* Memory Adapter
*
* @author Andres Gutierrez <andres@phalconphp.com>
* @author Eduar Carvajal <eduar@phalconphp.com>
* @author Wenzel Pünter <wenzel@phelix.me>
* @version 1.2.6
* @package Phalcon
*/
namespace Phalcon\Mvc\Model\MetaData;
use \Phalcon\Mvc\Model\MetaData;
use \Phalcon\Mvc\Model\Exception;
use ... |
NSString *const kGetMerchantInfoPath = @"/merchant_mobile_payments/generate_token_api_parameters";
NSString *const kSendPaymentPath = @"/merchant_mobile_payments/pay";
NSString *const kApiVersion = @"api_version";
NSString *const kAccountId = @"account_id";
@implementation EPMerchantApi
+ (void)getMerchantDataWithSuc... |
package cn.lamppa.aether.service.impl;
import cn.lamppa.aether.dao.QuestionBaseDao;
import cn.lamppa.aether.dao.QuestionKnowledgeDao;
import cn.lamppa.aether.domain.*;
import cn.lamppa.aether.enums.QuestionAuditStatus;
import cn.lamppa.aether.enums.QuestionType;
import cn.lamppa.aether.enums.QuestionsTables;
import cn... |
package com.github.earkhipenko.shoppinst;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute o... |
document.registerElement('about-header', require('@about/header'))
|
export { Method } from './method.enum';
export { Status } from './status-codes.object';
|
namespace ui {
class GtkSurface1 {
public:
explicit GtkSurface1(gtk_surface1* surface1);
GtkSurface1(const GtkSurface1&) = delete;
GtkSurface1& operator=(const GtkSurface1&) = delete;
~GtkSurface1();
void RequestFocus();
private:
wl::Object<gtk_surface1> surface1_;
};
} // namespace ui
#endif // UI... |
#pragma once
#ifndef T_PARAM_INCLUDED
#define T_PARAM_INCLUDED
#include "tpersist.h"
#include "tsmartpointer.h"
#include <set>
#undef DVAPI
#undef DVVAR
#ifdef TPARAM_EXPORTS
#define DVAPI DV_EXPORT_API
#define DVVAR DV_EXPORT_VAR
#else
#define DVAPI DV_IMPORT_API
#define DVVAR DV_IMPORT_VAR
#endif
class TParamObse... |
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager.HybridContainerService.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.HybridContainerService
{
public partial class ProvisionedClusterData : IUtf8JsonSerializable
{
void ... |
using System;
using SystemsRx.Pools;
using EcsRx.Components.Database;
using EcsRx.Components.Lookups;
namespace EcsRx.Entities
{
public class DefaultEntityFactory : IEntityFactory
{
public IIdPool IdPool { get; }
public IComponentDatabase ComponentDatabase { get; }
public IComponentTyp... |
unless defined?(Motion::Project::Config)
raise "This file must be required within a RubyMotion project Rakefile."
end
Motion::Project::App.setup do |app|
case Motion::Project::App.template
when :android
app.files.concat(Dir.glob(File.join(File.dirname(__FILE__), "android/*.rb")))
Dir.glob(File.join... |
// Copyright 2015 The Bazel 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 required by appl... |
<?php
namespace SpsBundle\Tests\Entity;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
class WezelTest extends KernelTestCase
{
/**
* @var \Doctrine\ORM\EntityManager
*/
private $em;
/**
* {@inheritDoc}
*/
public function setUp()
{
self::bootKernel();
... |
from sys import argv
indentation = ' '*int(argv[1])
number_of_bits = int(argv[2])
number_of_operators = int(argv[3])
paulis = ['I','X','Z','Y']
from random import choice
for i in xrange(number_of_operators):
operator = ''.join(choice(paulis) for _ in xrange(number_of_bits))
first_character = ',' if i != 0 e... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/acti... |
import { takeLatest, call, put } from 'redux-saga/effects';
import axios from 'axios';
import delay from 'delay';
import {
START_NOTIFICATION_LISTENING,
RECEIVED_NOTIFICATION,
ERROR_RECEIVED_NOTIFICATION,
} from '../actiontypes';
// watcher saga
export function* startNotificationListening() {
yield ta... |
#ifndef __RPCNDR_H_VERSION__
#define __RPCNDR_H_VERSION__ (475)
#endif
#ifndef __RPCNDR_H__
#define __RPCNDR_H__
#ifdef __REQUIRED_RPCNDR_H_VERSION__
#if (475 < __REQUIRED_RPCNDR_H_VERSION__)
#error incorrect <rpcndr.h> version. Use the header that matches with the MIDL compiler.
#endif
#endif
#include <pshpack8.h>... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pl">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>com.google.code.sbt.compiler.sbt013 (SBT Compiler for SBT 0.13 1.0.0-beta5 API)</title>
<link rel="s... |
sectionid: Contact Me
sectionclass: h1
is-parent: no
title: Contact Me
---
<b>Email:</b> info(AT)facialavm.com
<b>Twitter:</b> emilyeye
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="generator" content="HelpNDoc Professional Edition 6.8.0.521">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="favicon.ico"/>
<... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>icharate: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
'*******************************************************************************************'
' '
' Download Free Evaluation Version From: https://bytescout.com/download/web-installer '
' ... |
module MnoEnterprise::Concerns::Controllers::Jpi::V1::Impac::DashboardTemplatesController
extend ActiveSupport::Concern
#==================================================================
# Included methods
#==================================================================
# 'included do' causes the include... |
@interface GroupedDrawerStyledViewController ()
@end
#pragma mark-
#pragma mark- Life Cycle methods
@implementation GroupedDrawerStyledViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.drawerViewManager = [[MADrawerManagerView alloc]initWithFrame:CGRectMake((self.navigationController.navigati... |
'use strict';
/**
* Return the internal package name associated with a provided standalone package name.
*
* @module @stdlib/namespace/standalone2pkg
*
* @example
* var standalone2pkg = require( '@stdlib/namespace/standalone2pkg' );
*
* var v = standalone2pkg( '@stdlib/math-base-special-sin' );
* // returns '@stdlib... |
var mongoose=require("mongoose");
var feedbackSchema=mongoose.Schema({
q1:{
type:String,
required:true
},
q2:{
type:String,
required:true
},
q3:{
type:String,
required:true
},
q4:{
type:String,
required:true
},
q5:{
type:String,
required:true
},
q6:{
type:String,
required:true
},
... |
package org.schema.api.model.thing.intangible;
import org.schema.api.model.thing.intangible.Intangible;
import org.schema.api.model.thing.intangible.ParcelDelivery;
import org.schema.api.model.thing.intangible.enumeration.OrderStatus;
import org.schema.api.model.thing.intangible.OrderItem;
public class OrderItem exte... |
import {
fromParallel,
ParallelGeneratorType,
} from "linq-to-typescript"
import { asAsync, itAsync, itEnumerableAsync, itParallel } from "../TestHelpers"
describe("eachAsync", () => {
itEnumerableAsync("Basic", async (asEnumerable) => {
const values = [1, 2, 3, 4, 5]
let count = 0
... |
//
// Modification of MTLabel to support setting of state and shadow attributes
//
// Copyright 2012 Dillion Tan
//
// 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
//
// ht... |
import * as React from 'react';
import appStore from '../stores/app';
import InputGroup from './forms/Input-Group';
const DefaultStyleEditor = () => (
<div>
<h2>Default Style Editor</h2>
<dl>
<InputGroup
identifier="defaultStylesRowMarginBottom"
labelHtml="post row default margin bott... |
import Float64Array = require( '@stdlib/array/float64' );
import ndarray = require( '@stdlib/ndarray/ctor' );
import incrpcorrdistmat = require( './index' );
// TESTS //
// The function returns an accumulator function...
{
let buffer = new Float64Array( 4 );
let shape = [ 2, 2 ];
let strides = [ 2, 1 ];
// Cr... |
<?php
/* TwigBundle:Exception:error.txt.twig */
class __TwigTemplate_fe36eb3a0be30f40c54658a652144d84bf3e9464c2efff719642421507710bde extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
// Copyright 2017 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 io.flutter.plugins.androidalarmmanager;
import android.content.Context;
import android.util.Log;
import io.flutter.embedding.engine.FlutterEngine... |
package com.y;
import de.greenrobot.event.EventBus;
/**
* Created by zf on 2015/5/13.
*/
public class BgTask implements Runnable {
private static transient boolean cancel = false;
private static long time = 99;
public BgTask() {
EventBus.getDefault().register(this);
}
@Override
p... |
<?php
$sql = "SELECT * FROM user_relationships where user_id='$rws[user_id]'";
$result = mysqli_query($database,$sql) or die(mysqli_error($database));
while(true)
{
$relationship_data = mysqli_fetch_array($result);
if($relationship_data==NULL)
break;
$sql = "SELECT * FROM family where family_id='$relation... |
SYNONYM
#### According to
Integrated Taxonomic Information System
#### Published in
null
#### Original name
null
### Remarks
null |
#include "lib.h"
/*
º¯Êý£ºMyExec
²ÎÊý£º
cmd ÒªÖ´ÐеijÌÐò
parameter ´«µÝ¸ø³ÌÐòµÄ²ÎÊý
Filename stderrÖØ¶¨ÏòµÄÊä³öÎļþÃû
·µ»ØÖµ
µ÷ÓóÌÐòµÄ·µ»ØÖµ
*/
#include <windows.h>
int MyExec(char *cmd, char *parameter, char *FileName)
{
PROCESS_INFORMATION pro_info;
... |
namespace ModernMewgibot.Models
{
class Regular
{
public string Username { get; set; }
}
}
|
// Copyright 2013 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.chrome.browser.infobar;
import android.content.Context;
import android.graphics.Color;
import android.text.SpannableString;
import a... |
from cdm.commands.command import Command
class Install(Command):
subcommand = "install"
|
require('onyx');
require('enyo-ilib');
/**
* Contains the declaration for the {@link module:onyx/i18n/TimePicker~TimePicker} kind.
* @module onyx/i18n/TimePicker
*/
var
kind = require('enyo/kind'),
Signals = require('enyo/Signals');
var
dateFactory = require('enyo-ilib/DateFactory'),
DateFmt = require('enyo-ilib... |
using System;
using System.Collections.Generic;
using System.Device.Location;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace GpsTest.Cmd
{
class Program
{
static GeoCoordinateWatcher watcher = new GeoCoordinateWatcher();
s... |
@interface GTMCalculatedRangeStopPrivate : NSObject {
id item_; // the item (STRONG)
CGFloat position_; //
}
+ (id)stopWithObject:(id)item position:(CGFloat)inPosition;
- (id)initWithObject:(id)item position:(CGFloat)inPosition;
- (id)item;
- (CGFloat)position;
@end
GTM_INLINE BOOL FPEqual(CGFloat a, CGFloat b) {
... |
define(["where/builds/node", "app-config", "common/util"], function (node, config, util) {
"use strict";
var my = {};
var revisionString = util.getQueryVariable("revision"),
startJob = util.getQueryVariable("startJob") || config.startJob;
my.revision = parseInt(revisionString, 10);
my.data = node.create... |
// Generated source file. Do not edit.
// Created by: genmatuops.cpp $Revision: 1.7 $ Dec 29 2009 14:04:38
#ifndef BZ_MATUOPS_H
#define BZ_MATUOPS_H
BZ_NAMESPACE(blitz)
#ifndef BZ_MATEXPR_H
#error <blitz/matuops.h> must be included via <blitz/matexpr.h>
#endif
/****************************************************... |
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace TwitchDesktop.ViewModel.ViewModels
{
public class BaseViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void NotifyPropertyChanged([CallerM... |
#include <crypto/internal/hash.h>
#include <crypto/scatterwalk.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/scatterlist.h>
#include <linux/string.h>
#if defined(CONFIG_FIPS_FMP)
extern bool in_fmp_fips_err(void);
#endif
struct hmac_ctx {
str... |
sidebar_label: Page.addScriptTag
---
# Page.addScriptTag() method
Adds a `<script>` tag into the page with the desired URL or content.
#### Signature:
```typescript
class Page {
addScriptTag(
options: FrameAddScriptTagOptions
): Promise<ElementHandle<HTMLScriptElement>>;
}
```
## Parameters
| Parameter | ... |
import { deepStrictEqual, fail, ok, strictEqual } from 'assert';
import { isWindows } from 'vs/base/common/platform';
import { ITerminalProfile, ProfileSource } from 'vs/platform/terminal/common/terminal';
import { ITerminalConfiguration, ITerminalProfiles } from 'vs/workbench/contrib/terminal/common/terminal';
impor... |
package org.uclab.mm.icl.llc.AER.jh;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import org.uclab.mm.icl.llc.LLCManager.ContextLabel;
import org.uclab.mm.icl.llc.MachineLearningTools.ExtClassification;
import org.uclab.mm.icl.llc.MachineLearningTools.classification.Classif... |
FROM balenalib/artik530-alpine:3.12-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-certific... |
RSpec::Expectations lets you express expected outcomes on an object in an
example.
```ruby
expect(account.balance).to eq(Money.new(37.42, :USD))
```
## Install
If you want to use rspec-expectations with rspec, just install the rspec gem
and RubyGems will also install rspec-expectations for you (along with
rspec-core... |
package style
import "image/color"
type Shape int
/* values for Shape type */
const (
CIRCLE = iota
SQUARE = iota
)
/* generic style data */
type Style struct {
/* see specific style types for use */
Size float64
Color color.Color
}
/* style data for individual points */
type PointStyle struct ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<!-- Pin-it button Rendered by WP Pinterest 1.0 || http://techably.com/wp-pinterest-wordpress-plugin/ -->
<head profile="http://gmpg.org/xfn/11">
<meta h... |
<!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_29) on Fri Feb 24 12:45:53 EET 2012 -->
<TITLE>
Uses of Class com.aware.KeepAlive.KeepAliveProvider.KeepAliveContent
</TITLE>
<META NAME="date" CONT... |
input="output/finished.txt"
# Convert the $input file into an array
readarray file_to_array < $input
i=1
declare -A Price_array
for x in "${file_to_array[@]}"
do
# If the line contains a SKU, create a sku variable
if [[ $x == *"SKU"* ]]; then
sku=$(echo $x | sed 's/SKU : mat=//' | sed 's/&sku=.*//')
... |
"use strict";
class LarxModel {
constructor() {
this.vertices = [];
this.colors;
this.normals;
this.texCoords;
this.indices = [];
this.shininess = 0;
this.opacity = 1.0;
this.specularWeight = 1.0;
this.faceCount = 0;
this.vertexCount = 0;
this.bounds;
this.frustumBounds;
}
setBounds() {... |
package com.nlp.turkish.lemmatizer.gui;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.Rectangle;
import java.awt.TextField;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import ... |