text
stringlengths
27
775k
/* Copyright 2020 The OneFlow 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 applicable law or agre...
using System.Diagnostics; using System.Runtime.CompilerServices; #nullable enable namespace Couchbase.Core.Diagnostics.Tracing { /// <summary> /// An implementation of <see cref="IRequestTracer"/> that measures the duration of child spans /// and the total duration of the parent span - it is used to gener...
-- OPTIONS UPDATE `sys_options_types` SET `caption`='_bx_googletagman_adm_stg_cpt_type' WHERE `name`='bx_googletagman';
using Microsoft.Maui.Graphics; namespace MagicGradients.Builder { public interface IGradientFactory { ILinearGradient Construct(LinearGradientBuilder builder); IRadialGradient Construct(RadialGradientBuilder builder); IGradientStop CreateStop(Color color, Offset? offset = null); } ...
""" Module of tests for user forms """ from ..mocks.users import VALID_USER from ..mocks.signs import VALID_YEAR_SIGN_OBJ, VALID_YEAR_SIGN_REQUEST class TestUserForms: """ Tests form for signup/login """ def test_fetch_signup_form_succeeds(self, client, init_db): """ Should return an ...
--- layout: team-member title: "Christopher Burton" job-title: Engagement Manager order: 5 skills: - Operational Excellence & Execution - Revenue & Sales - Finance & Accounting - Data, Analytics, & Information Technology team-image: Christopher-Burton.jpg has-bio: N ---
<?php /* osCommerce Online Merchant $osCommerce-SIG$ Copyright (c) 2009 osCommerce (http://www.oscommerce.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v2 (1991) as published by the Free Software Foundation. */ require('inclu...
import FakeLocalStorageService from '../../../../shared/infra/cache/fakes/FakeLocalStorage'; import { CharacterModel } from '../../models/Character.model'; import SaveFavoriteCharacterService from '../SaveFavoriteCharacter.service'; let fakeLocalStorageService: FakeLocalStorageService; let saveFavoriteCharacterService...
<?php namespace Modules\Semestres\Repositories\Eloquent; use Modules\Semestres\Repositories\SemestresRepository; use Modules\Core\Repositories\Eloquent\EloquentBaseRepository; class EloquentSemestresRepository extends EloquentBaseRepository implements SemestresRepository { }
import Field from '../Field'; module.exports = Field.create({ displayName: 'TextField', statics: { type: 'Text', }, });
var now$1 = unstable_now; var commitTime = 0; var profilerStartTime = -1; function getCommitTime() { return commitTime; } function recordCommitTime() { commitTime = now$1(); } function startProfilerTimer(fiber) { profilerStartTime = now$1(); if (fiber.actualStartTime < 0) { f...
<?php declare(strict_types=1); namespace Acme\DemoSuites\ImplicitDefaultTestSuite\TestHasTimeout; use Amp\Delayed; use Cspray\Labrador\AsyncUnit\Attribute\Test; use Cspray\Labrador\AsyncUnit\Attribute\Timeout; use Cspray\Labrador\AsyncUnit\TestCase; use Generator; class MyTestCase extends TestCase { #[Test] ...
package tacos import org.junit.jupiter.api.extension.ExtendWith import org.springframework.boot.test.context.SpringBootTest @ExtendWith() @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) class HomePageBrowserTest { // TODO: 参考 ch01\tacos\src\test\java\tacos\HomePageBrowserTest.java 写测试...
package CBIL::ISA::StudyAssayEntity::Extract; use base qw(CBIL::ISA::StudyAssayEntity::MaterialEntity); use strict; sub getParents { return ["Sample"]; } 1;
import React from 'react'; import styled from 'styled-components'; import Header from './Header'; const MessageBox = styled.div` margin: 0 auto; margin-top: 20px; padding: 40px; text-align: center; background-color: paleVioletRed; color: linen; border-radius: 20px; width: 400px; `; const AnotherPage =...
class SpectraSymbol < ArduinoPlugin # jdbarnhart # 20080729 # # crazy experiment in progress # purpose # # retain last reading after finger is removed from spectrasymbol # soft pot # # use # two steps # # one # declare :device => :sensor # example: # input_pin 1, :as => :sensor_one, :device => :spectra ...
// Copyright © 2015 Gerald Rosenberg. // Use of this source code is governed by a BSD-style // license that can be found in the License.md file. // package enums import ( "fmt" "github.com/grosenberg/enum" ) // The Coins rich enum set var ( PENNY = &Coin{enum.Enum{Desc: "penny"}, 1, true} NICKEL = &Co...
set -ex # server node examples/server/gql2ts.js cp dist/*.umd.* examples/server/public/graphql # client npm install --prefix examples/client node examples/client/gql2ts.static.js tsc --project examples/client/tsconfig.json --incremental --tsBuildInfoFile build/examples.client.tsbuildinfo cp dist/*.umd.* examples/clie...
/// The qualifier for temperatures to include sub-zero temperatures. enum TemperatureQualifier { /// The value represents situation when no qualifier is provided. none._instance(''), /// The value represents situation when sub-zero temperature is reported. minus._instance('M'); final String _value; const...
--- redirect_from: - /mt8870 - /MT8870 permalink: /BasicaoDaEletronica/ComponentesEletronicos/MT8870 title: TRIAC - Componentes Eletronicos layout: categorylist category: ComponentesEletronicos share: true --- The MT8870D/MT8870D-1 is a complete DTMF receiver integrating both the bandsplit filter and digital decod...
2020年11月03日20时数据 Status: 200 1.保安认错人给杨迪助理打伞 微博热度:2466267 2.伙同现女友用去世前女友病历骗捐款 微博热度:1362061 3.天猫双11 微博热度:1328400 4.苹果宣布11月11日再开发布会 微博热度:1294738 5.李诚儒不去演员请就位了 微博热度:1196386 6.幸福三重奏婚姻观好赞 微博热度:1174418 7.王岳伦退出李湘关联公司 微博热度:1138574 8.华为外籍副总裁去世 微博热度:822272 9.心动的信号 微博热度:777226 10.外交部回应中国侵占尼泊尔领土报道 微博热度:768174 11...
package com.aahzbrut.theater.service.impl import com.aahzbrut.theater.dto.SeatResponse import com.aahzbrut.theater.mapper.impl.SeatResponseMapper import com.aahzbrut.theater.service.SeatsService import com.aahzbrut.theater.service.TheaterService import org.springframework.stereotype.Service import javax.transaction.Tr...
using System.Collections.Generic; #pragma warning disable 1591 namespace Facility.Definition.Swagger { public class SwaggerSecurityScheme { public string Type { get; set; } public string Description { get; set; } public string Name { get; set; } public string In { get; set; } public string Flow { get; ...
const Router = require('@koa/router'); // Koa 的路由在被 use 时是无法指定前缀的, 需要在定义时就指定前缀 const router = Router({ prefix: '/api/app' }); const appController = require('../controllers/appController'); // 组装路由 router.post('/adminAddAppId', appController.adminAddAppId); router.post('/getAdminAppIdList', appController.getAdminApp...
# SigninX An automatic sign in system. ## Guide Clone to local directory, and create a new file `app.py` in it. ```py from main import SigninX sx = SigninX(database='data.db') ``` ### Add a site ```py sx.add('siteName', { 'method': 'get', 'url': 'https://example.com/signin', 'result': 'res.json()', '...
#!/bin/bash git config --global user.name "Christoffer Nissen" git config --global user.email christoffer.nissen@gmail.com
/* * Copyright 2021 Azavea * * 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 wr...
package nl.jovmit.friends.domain.user data class Friend( val user: User, val isFollower: Boolean )
from setuptools import setup import sys import wx APP = "batchcalc/zbc.py" AUTHOR = "Lukasz Mentel" AUTHOR_EMAIL = "lmmentel@gmail.com" DESCRIPTION = "Script for calculating batch composition of zeoliteis" LICENSE = open('LICENSE.txt').read() NAME = "batchcalc" URL = "https://bitbucket.org/lukaszmentel/batchcalc" VER...
<?php namespace Dimsav\Backup\Element; abstract class AbstractElement implements Element { protected $extractionDir; protected $extractedFiles = array(); public function setExtractionDir($dir) { $this->validateExtractionDir($dir); $this->extractionDir = realpath($dir); } /** ...
# mattdev.io My Portfolio built with [gatsby.js](https://www.gatsbyjs.org/)!
<?php namespace App; use Illuminate\Database\Eloquent\Model; use App; class Product extends Model { // protected $table ='product'; public $timestamps = false; public function firstimage() { return $this->hasOne('\App\Image','product_id','id'); } public function images(){ return $this->hasM...
#!/bin/bash yum -y update yum -y install yum-plugin-fastestmirror rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm yum --enablerepo=elrepo-kernel install kernel-ml -y sudo grub2-set-default 0 sudo grub2-mkconfig -o /boot/grub2/grub.cfg...
/* DESCRIPTION Base functionality for current application scripts. NOTES This script should imported in the top of all scripts. */ // If true logs will be printed in the console. var logConsole = true; /** * Generate random unique */ function generateRandomUnique() { var text =...
--- title: "Joint Semantic Utterance Classification and Slot Filling with Recursive Neural Networks" collection: publications permalink: /publication/2014-12-10-0050 abstract: 'In recent years, continuous space models have proven to be highly effective at language processing tasks ranging from paraphrase detection to l...
def Value(s1,s2): print(s1+s2) Value("3","4")
<?php namespace APP\Models; use CodeIgniter\Model; class MachineBreakdownModel extends Model{ protected $table='machine_breakdown'; protected $allowedFields = [ 'barcode_machine', 'tgl', 'machine_brand', 'machine_type', 'type', 'machine_sn', 'status' ...
package org.dnal.api.beancopier; import java.util.Date; import org.dnal.api.Transaction; import org.dnal.core.DType; import org.dnal.core.DValue; /** * Common code for converting to and from scalar values. * @author ian * */ public class ScalarStringConvert { public String toString(DValue dval) { return dva...
package com.ellisiumx.elrankup.essentials; import com.ellisiumx.elcore.account.CoreClient; import com.ellisiumx.elcore.account.CoreClientManager; import com.ellisiumx.elcore.command.CommandBase; import com.ellisiumx.elcore.command.CommandCenter; import com.ellisiumx.elcore.permissions.Rank; import com.ellisiumx.elcore...
--- Name: Ganapathi Subramanian institution: ValueLabs image: GanapathiSubramanian.jpg quote: Trust your instincts github: GanapathiSubramanian ---
// IGNORE_BACKEND_FIR: JVM_IR const val y = "cde" fun foo(x : String) : String { when (x) { "abc", "${y}" -> return "abc_cde" "e" + "fg", "ghi" -> return "efg_ghi" } return "other" } // 1 LOOKUPSWITCH
@file:Suppress("MemberVisibilityCanBePrivate", "unused") package io.sellmair.disposer import io.reactivex.* import io.reactivex.disposables.Disposable import io.sellmair.disposer.internal.LockedDisposer /** * A Disposer is parent of multiple [Disposable] objects that will be disposed * once the disposer receives ...
class ConvertSpamWavesToUtf8mb4 < ActiveRecord::Migration[5.2] def change execute 'ALTER TABLE `spam_waves` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin' end end
package heroku import ( "net/http" "github.com/bgentry/heroku-go" "github.com/remind101/empire" "golang.org/x/net/context" ) type Formation heroku.Formation type PatchFormation struct { *empire.Empire } type PatchFormationForm struct { Updates []struct { Process empire.ProcessType `json:"process"` // Ref...
using Microsoft.AspNetCore.Builder; using OwaspHeaders.Core.Models; namespace OwaspHeaders.Core.Extensions { /// <summary> /// Extension methods to allow us to easily build the middleware /// </summary> public static class SecureHeadersMiddlewareExtensions { /// <summary> /// Builds...
<?php namespace App\Modules\Buyers\Controllers\Admin\Auth; use Validator; use Illuminate\Http\Request; use HZ\Illuminate\Mongez\Managers\ApiController; class RegisterController extends ApiController { /** * Create new users * * @return mixed */ public function index(Request $request) {...
import { Input } from '@contember/schema' import Model from '@contember/schema/dist/src/schema/model' import { ObjectNode } from '../../inputProcessing' export class OrderByHelper { public static appendDefaultOrderBy( entity: Model.Entity, objectNode: ObjectNode<Input.ListQueryInput>, defaultOrderBy: Model.Orde...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; namespace achihapi.ViewModels { public class HomeDefViewModel : BaseViewModel { public Int32? ID { get; set; } [Required] [MaxLength(50)] ...
Gem::Specification.new do |s| s.name = "jruby-activemq" s.summary = 'Client jars from apache-activemq distribution' s.description = 'Client jars from apache-activemq distribution' s.authors = ['Brad Pardee'] s.email = ['bradpardee@gmail.com'] s.homepage = 'http://github.com/ets-berke...
package dev.dres.api.rest.types.audit import dev.dres.run.audit.AuditLogEntry /** * A collection of [AuditLogEntry]s with pagination information */ data class AuditLogPage( val index: Int = 0, val entries: List<AuditLogEntry>, val timestamp: Long = System.currentTimeMillis(), ...
def isfloat(x): try: float(x) return True except: return False
extern crate docopt; extern crate flac; extern crate hound; extern crate rustc_serialize; use docopt::Docopt; use flac::{ErrorKind, StreamReader}; use std::env; use std::fs; use std::io; use std::path::{Path, PathBuf}; const USAGE: &'static str = " Usage: decode <input> <output> decode <input>... <dir> ...
/**  * Describes the available lands  *  * @author Joe Cavanagh  */ module.exports = [{ name: 'Plains', color: 'W', tapped: false, scry: false, pain: false, shock: false, basic: true },{ name: 'Island', color: 'U', tapped: false, scry: false, pain: false, shock: fals...
library graphlib.alg.tarjan; import "dart:math" as Math; import "../graph.dart" show Graph; List<List> tarjan(Graph g) { var index = 0; final stack = [], visited = {}, // node id -> { onStack, lowlink, index } results = []; dfs(v) { final entry = visited[v] = { "onStack": true, "low...
import { createClinic, updateClinic } from "../controllers/ClinicController"; import { NewClinicEntry } from "../types"; /** * @description holds clinic mutations */ export const ClinicMutation = { createClinic: { // eslint-disable-next-line @typescript-eslint/no-explicit-any resolve: async(_par...
import { PageRendererProps } from "gatsby" import React, { ReactNode, useContext } from "react" import styled, { ThemeProvider } from "styled-components" import Footer from "../components/footer" import Navigation from "../components/navigation" import GlobalStyles from "../styles/utils/globalStyles" import darkTheme ...
WITH list_position_details AS (:list_position_details), grouped_list_position_details AS ( SELECT fpl_team_list_id, JSONB_AGG(list_position_details.*) AS list_positions FROM list_position_details GROUP BY fpl_team_list_id ) SELECT rounds.deadline_time, waiver_deadline, permissions.*, grouped_list_position_d...
package co.netguru.baby.monitor.client.feature.communication.pairing import android.os.Bundle import android.view.View import androidx.activity.OnBackPressedCallback import androidx.navigation.fragment.findNavController import co.netguru.baby.monitor.client.R import co.netguru.baby.monitor.client.common.base.BaseFragm...
CREATE TABLE "MEDIA_RELATIONS" ( "MEDIA_RELATIONS_ID" NUMBER NOT NULL ENABLE, "MEDIA_ID" NUMBER NOT NULL ENABLE, "MEDIA_RELATIONSHIP" VARCHAR2(40 CHAR) NOT NULL ENABLE, "CREATED_BY_AGENT_ID" NUMBER NOT NULL ENABLE, "RELATED_PRIMARY_KEY" NUMBER NOT NULL ENABLE, CONSTRAINT "PK_MEDIA_RELATIONS" PRIMARY K...
import React from "react" import { Switch, Route } from "react-router-dom" import Home, { UserPage, UsersPage, CounterPage, AddUserPage, LoginPage } from "../../../pages" const Switcher = () => ( <Switch> <Route path="/user"> <UserPage /> </Route> <Route pat...
Function Get-SCAPEActionName { Param( [int]$MessageId ) switch ($MessageId) { 30006 { return "Created" } 30007 { return "Modified" } 30008 { return "Deleted" } 30226 { return "Created" } 30227 { return "Modified" } 30228 { return "Deleted" } 30...
mod error; mod types; pub use crate::error::{Error, ParseError, Result}; pub use crate::types::{ AudioDataHeader, Header, MetaData, SeekFlag, SoundFormat, SoundRate, SoundSize, SoundType, TagHeader, TagType, VideoCodecId, VideoDataHeader, VideoFrameType, }; #[macro_use] mod cfg; cfg_io_tokio! { pub mod t...
// Copyright (c) 2013, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #include "db/write_thread.h...
<?php declare(strict_types=1); namespace Keboola\DbExtractor\TableResultFormat\Metadata\Builder; use Keboola\DbExtractor\TableResultFormat\Exception\InvalidArgumentException; use Keboola\DbExtractor\TableResultFormat\Exception\InvalidStateException; use Keboola\DbExtractor\TableResultFormat\Metadata\ValueObject\Colu...
using System; using System.Reflection; using Jbpc.Common.Excel.Proxies; using NUnit.Framework; namespace Jbpc.Common.UnitTests.Excel { [TestFixture] public class ExcelTests { [Test] public void CreateWorkBook() { var workbook = ExcelOperationsProxy.NewWorkbook; ...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using DiscountAPI.Core.Repositories; using DiscountAPI.Infrasturcture.Context; using Microsoft.EntityFrameworkCore; namespace DiscountAPI.Infrasturcture.Repositories { public class Reposi...
import 'package:covid_cubit/model/covid_data.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:covid_cubit/cubit/covid_data_cubit.dart'; import 'package:covid_cubit/widgets/data_container.dart'; class SearchScreen extends StatefulWidget { const SearchScre...
package org.batfish.representation.cumulus_nclu; import com.google.common.testing.EqualsTester; import org.junit.Test; /** Tests for {@link org.batfish.representation.cumulus_nclu.BgpNeighborSourceInterface} */ public class BgpNeighborSourceInterfaceTest { @Test public void testEquals() { BgpNeighborSourceIn...
/* eslint-disable testing-library/no-node-access */ import { render } from "@testing-library/react"; import { GoogleTagManager } from "./GoogleTagManager"; describe("GoogleTagManager", () => { it("should render GTM script", () => { render(<GoogleTagManager />); const scriptSources = Array.prototype.slice .ca...
export const globalStyles = { primaryColor: '#1f59bb', secondaryColor: 'rgba(53, 151, 245, 0.1)', };
namespace CHD.Settings.Controller { public interface ISettingsFactory { ISettings LoadSettings( string filePath ); } }
import { api } from '../http/api.js'; export const monitor = { recordPerformance: (options, data) => { api.report(options, data); }, recordError: (options, data) => { api.report(options, data); } };
package maniac.lee.shardy.sqlparser; import com.alibaba.druid.sql.SQLUtils; import com.alibaba.druid.sql.ast.SQLExpr; import com.alibaba.druid.sql.ast.SQLStatement; import com.alibaba.druid.sql.ast.expr.SQLBinaryOpExpr; import com.alibaba.druid.sql.ast.expr.SQLIdentifierExpr; import com.alibaba.druid.sql.ast.expr.SQLI...
""" * Assignment: Loop Dict Reverse * Required: no * Complexity: easy * Lines of code: 9 lines * Time: 13 min English: 1. Define: a. `features: list[tuple]` - measurements b. `labels: list[int]` - species c. `label_encoder: dict[int, str]` dictionary with encoded (as numbers) sp...
package org.apache.spark.sql.arangodb.datasource import com.arangodb.model.OverwriteMode import org.apache.spark.sql.arangodb.commons.ArangoDBConf import org.apache.spark.sql.arangodb.datasource.BaseSparkTest.arangoDatasource import org.apache.spark.sql.types._ import org.apache.spark.sql.{DataFrame, SaveMode} import ...
target = 3574406403731 i = 2 while i <= target if (target % i == 0) puts i target /= i else i+=1 end end
"use strict"; const bunyan = require("bunyan"); // // Logger // let opts = { name: "App" }; if (process.env.NODE_ENV === 'development') { opts.src = true; opts.level = "trace"; } const logger = bunyan(opts); module.exports = logger;
package eu.tsalliance.auth.exception.account; import eu.tsalliance.apiutils.exception.ApiException; import org.springframework.http.HttpStatus; public class InvalidCredentialsException extends ApiException { public InvalidCredentialsException() { super("Password and Email or Username do not match.", Http...
using System; using System.Threading.Tasks; using HtmlAgilityPack; using Microsoft.Playwright; using Microsoft.Extensions.Logging; using IndiegalaFreebieNotifier.Model; namespace IndiegalaFreebieNotifier.Module { class Scraper : IDisposable { private readonly ILogger<Scraper> _logger; private readonly string url...
// Original bug: KT-34199 inline class Optional<out T> @Deprecated( message = "Not type-safe, use factory method", replaceWith = ReplaceWith("Inlined.of(_value)") ) constructor(private val _value: Any?) { val value: T? get() = @Suppress("UNCHECKED_CAST") if (isPresent) _valu...
module Config where import qualified GHC.Generics as G import qualified Data.Yaml as Y import qualified Network.Socket as N import Orphans data Config = Config { urlbase :: String , smtpFrom :: String , smtpServer :: String , smtpPort :: N.PortNumber , smtpUser :: String , smtpPassword :: String } deriving (...
# CircuitPython_10_Tone_10_Button This example program uses pre-rendered samples from Audacity, 10 buttons, and a mixer.
<?php namespace common\enums; /** * 状态枚举 * * Class StatusEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class MemberEnum extends BaseEnum { const MEMBER_TOURIST_NO = 0; const MEMBER_TOURIST_YES = 1; const MEMBER_BOOK_STATUS_UNANSWERED = 0; const MEMBER_BOOK_STATUS_REPLY ...
import React from 'react'; import PropTypes from 'prop-types'; import { INDENT_MULTIPLIER } from './../../../Common/defaults'; /** * Custom cell renderer component used by DictLog and DictMatch assertions. * * It renders the cells with the following content: * * {icon} {mainText} {subText} * * Where: * - icon...
#! /bin/bash set -e # shellcheck disable=SC2034 TOP_DIR="$(dirname "$(realpath "${BASH_SOURCE[0]}")")" LLVM_VERSION="${LLVM_VERSION:-"none"}" if [[ "${LLVM_VERSION}" = "none" ]]; then echo "No LLVM version specified, skipping LLVM reinstallation" exit 0 fi # https://apt.llvm.org/ LLVM_INSTALL_SCRIPT="${TO...
using System; using System.Threading.Tasks; using System.ComponentModel; namespace MetroitCore.IO { /// <summary> /// データの変換を表します。 /// </summary> public abstract class ConverterBase<T> where T : IConvertParameter, new() { /// <summary> /// /// </summary> public T P...
import React, { Component } from 'react' import * as d3 from 'd3' import { AxisProps } from './types' class Axis extends Component<AxisProps> { private axisContainer = React.createRef<SVGGElement>(); componentDidMount() { this.renderAxis() } renderAxis = () => { const { orient, scale } = this.props ...
package ofdm import chisel3._ import chisel3.util.Decoupled import dsptools.numbers._ class QPSKDemodUnit[T <: Data : Real](protoIn: DspComplex[T], protoOut: T) extends MultiIOModule { val in = IO(Input(protoIn)) val out = IO(Output(Vec(2, protoOut))) out(0) := in.real out(1) := in.imag } class QPSKDemod[T ...
// Copyright (c) 2016-2021 Association of Universities for Research in Astronomy, Inc. (AURA) // For license information see LICENSE or https://opensource.org/licenses/BSD-3-Clause package seqexec.server.altair import cats.{ Eq, Show } import cats.syntax.all._ import seqexec.model.`enum`.Instrument import seqexec.ser...
function eval_float(p1) { push(cadr(p1)); evalf(); floatf(); }
import Ember from 'ember'; import { Ability } from 'ember-can'; export default Ability.extend({ canPaginate: Ember.computed('session.permissions', function() { return this.get('session').hasPermission('keeko/core', 'country-paginate'); }), canRead: Ember.computed('session.permissions', function() { return this....
import Route from './route' // Collects routes and indexes them by name. Is shared between the RequestMatcher and the // UrlGenerator. Provides nice methods to make it easy to create route objects, by starting with // the name of pattern. // // Example: // // const routes = new RouteCollection() // routes.named('foo')...
# Linux The art of using PC like a human being. `2020/11/14, Jaroslav Langer, using linux mint 19` ## Contents <!-- omit in toc --> - [Terminal](#terminal) - [Copy and past in terminal](#copy-and-past-in-terminal) - [Linux directory structure](#linux-directory-structure) - [Type special characters](#type-speci...
/* * <summary></summary> * <author>He Han</author> * <email>hankcs.cn@gmail.com</email> * <create-date>2014/9/10 15:39</create-date> * * <copyright file="NSDictionary.java" company="上海林原信息科技有限公司"> * Copyright (c) 2003-2014, 上海林原信息科技有限公司. All Right Reserved, http://www.liNSunsoft.com/ * This source is su...
<?php namespace Dvsa\Olcs\Api\Service\Permits\Allocate; use Dvsa\Olcs\Api\Entity\Permits\IrhpPermitRange; interface RangeMatchingCriteriaInterface { /** * Whether the specified range instance matches the stored criteria * * @param IrhpPermitRange $irhpPermitRange * * @return bool */...
const loaderUtils = require('loader-utils'); module.exports = function () {}; module.exports.pitch = function (remainingRequest) { this.cacheable(); const loaders = this.getOptions(); const keysValues = Object.keys(loaders).map((key) => { const loader = Array.isArray(loaders[key]) ? loaders[key].join(...
 CREATE VIEW Nasdaq_PctAverages AS WITH data AS ( SELECT [Ticker] , [Date] , LEAD([Date]) OVER (PARTITION BY Ticker ORDER BY Date) "Next Open Date" , [High] , [Low] , [Open] , [Close] , LEAD([Open]) OVER (PARTITION BY Ticker ORDER BY Date) "Next Open" ,...
import { Injectable } from "@angular/core"; import { Group } from "../models/group"; import { GroupmeService } from "./groupme.service"; import { HttpClient } from "@angular/common/http"; import { Chat } from "../models/chat"; import { Message } from "../models/message"; import { Member } from "../models/member"; impor...
import LineSelector from "./LineSelector.js"; import SectionInput from "./SectionInput.js"; import SectionList from "./SectionList.js"; export default function SectionManager({ id, $target, isShow, stations, lines, updateSection }) { this.$container = document.createElement("div"); this.$container.className = "sec...
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// CreditBankTraining Data Structure. /// </summary> public class CreditBankTraining : AlipayObject { /// <summary> /// 获取时间,格式yyyy-mm-dd HH:mm:ss /// </summary> ...