content
stringlengths
10
4.9M
import { customElement, useView, PLATFORM } from 'aurelia-framework'; import { bindable } from 'aurelia-typed-observable-plugin'; /** * @selector mdc-card */ @useView(PLATFORM.moduleName('./mdc-card.html')) @customElement('mdc-card') export class MdcCard { /** * Removes the shadow and displays a hairline strok...
/** * @author Guzanov Alexander */ public class TestQuestionHelper extends TestCase { public void testQuestions() { String questions = QuestionsHelper.getQuestions(1); assertEquals(1, questions.length()); questions = QuestionsHelper.getQuestions(2); assertEquals(3, questions.lengt...
If you rely on a third-party alarm app on your phone to wake you up, there's a big tweak coming in the Windows 10 Creators Update that should make working around the "Quiet Hours" setting much easier. As confirmed on the Windows developer Uservoice , third-party alarm apps will be able to break through Quiet Hours in t...
/** * Main pointer event support implementation class. Made for browser without * pointer event support. * * @since 7.2 * @author Vaadin Ltd */ public class PointerEventSupportImpl { /** * @return true if the pointer events are supported, false otherwise */ protected boolean isSupported() { ...
#ifndef CUCKOO_FILTER_DEBUG_H_ #define CUCKOO_FILTER_DEBUG_H_ #include <stdio.h> // for perror namespace cuckoofilter { #ifndef DEBUG //#define DEBUG #endif #define debug_level (DEBUG_ERRS | DEBUG_CUCKOO) #ifdef DEBUG // extern unsigned int debug; /* * a combination of DEBUG_ERRS, DEBUG_CUCKOO, DEBUG_TABLE, DEB...
// TokenFromProviders will try the cosign OIDC providers to get an // oidc token from them. func (d *defaultImpl) TokenFromProviders(ctx context.Context, logger *logrus.Logger) (string, error) { if !d.IdentityProvidersEnabled(ctx) { logger.Warn("No OIDC provider enabled. Token cannot be obtained autmatically.") re...
<filename>src/main/java/com/github/zlbovolini/mercadolivre/product/ProductImage.java package com.github.zlbovolini.mercadolivre.product; import org.hibernate.validator.constraints.URL; import javax.persistence.*; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import ...
#!/usr/bin/env python ''' Learning 2 x 3 bar and stripe using Born Machine. ''' import numpy as np import pdb, os, fire import scipy.sparse as sps from qcbm import train from qcbm.testsuit import load_barstripe np.random.seed(2) try: os.mkdir('data') except: pass # the testcase used in this program. depth = ...
MICA—A toolbox for masked independent component analysis of fMRI data Independent component analysis (ICA) is a widely used technique for investigating functional connectivity (fc) in functional magnetic resonance imaging data. Masked independent component analysis (mICA), that is, ICA restricted to a defined region o...
//GetStrategy get specified Strategy details information //Args: // name: strategy name // ID: strategy ID //return: // strategy: specified configset, nil if not exist // error: error info if that happened func (operator *AccessOperator) GetStrategy(cxt context.Context, appName, name string) (*common.Strategy, error) {...
<reponame>mwhittemore2/vocab_manager from abc import ABC from nltk.tokenize import word_tokenize from .standard import Tokenizer class Language(ABC): """ Representation of a language with tokenization capabilities. """ def __init__(self, language): """ Initializes the language represe...
/** * A simple XML utility class for reading configuration elements * * @author <a href="mailto:manik@jboss.org">Manik Surtani (manik@jboss.org)</a> * @since 4.0 */ public class XmlConfigHelper { private static final Log log = LogFactory.getLog(XmlConfigHelper.class); /** * Returns the contents of a spe...
/* * Copyright (c) 2017-2021 Morwenn * SPDX-License-Identifier: MIT */ //===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Ide...
def update_entity(self, cls, name, **kwargs): entity = cls.query(cls.name == name).get() logging.info('Updating ' + name) if entity: for attr, value in kwargs.iteritems(): if hasattr(entity, attr): setattr(entity, attr, value) entity.pu...
The Courier-Journal’s Larry Muhammad quoted me four times today but didn’t include my name or a link to my original article In the first five paragraphs of “An iced coffee war is brewing” in today’s Louisville Courier-Journal, Larry Muhammad quoted one of my articles for Louisville.com, “Navigating Bardstown Road’s no...
/** * JUnit test for {@link Coverage} */ public class CoverageTest extends AbstractJacocoTestBase { @Test public void testPercentageCalculation() throws Exception { Coverage c = new Coverage(1, 2); assertEquals(67, c.getPercentage()); } @Test public void testUninitialized() throws Exce...
<reponame>jridgewell/minx<gh_stars>1-10 export type VNode = import('preact').VNode; export type ModuleLoader = ( specifier: string, importer: SourceTextModule, ) => SourceTextModule; export class SourceTextModule { link(loader: ModuleLoader): Promise<undefined>; evaluate(): Promise<undefined>; status: |...
def localIntegSource(self, index=0): if self._integrations[index].srev == 0: return "%s#%d" % (self._integrations[index].localFile, self._integrations[index].erev) return "%s#%d,%d" % (self._integrations[index].localFile, self._integrations[index].srev + 1, self....
<filename>example/src/pages/carousel/index.tsx import React, { Component } from "react"; import { Block, View, Switch, Picker } from "@tarojs/components"; import { Carousel, Loading } from "mini-ui"; // eslint-disable-next-line @typescript-eslint/no-unused-vars import { IndicatorType, IndicatorPosition } from "mini-ui/...
// NewMiddleware creates a new authentication middleware func NewMiddleware(config *Config) (*Middleware, error) { if err := config.Valid(); err != nil { return nil, err } mux := http.NewServeMux() config.mux = mux m := &Middleware{ Config: config, } mux.HandleFunc(m.CallbackPath, m.authorizeCallback) mux.H...
/** * An Accounting calendar system. * <p> * This chronology defines the rules of a proleptic 52/53-week Accounting calendar system. * This calendar system follows the rules as laid down in <a href="https://www.irs.gov/publications/p538">IRS Publication 538</a> * and the <a href="https://www.ifrs.org/">Internation...
/** * A queue backed by MySQL * <p> * CREATE TABLE IF NOT EXISTS queue ( * id int(10) unsigned NOT NULL AUTO_INCREMENT, * queue_name varchar(255) NOT NULL, -- Queue name * inserted timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, -- Time the row was inserted * inserted_by var...
Saudi Arabian Airlines and Emirates suspend flights to Pakistan RIYADH: Saudi Arabian Airlines, also known as Saudia, on Wednesday suspended all flights to Pakistan in response to increased military tensions between India and its neighbor over Kashmir. “It is a standard procedure that we take under such circumstances...
Smoking cessation interventions among hospitalized patients: what have we learned? BACKGROUND We conducted a structured review of controlled studies on inpatient hospital-based smoking cessation interventions. METHODS Electronic searches were conducted with two different search engines, and reference sections of art...
// uint16 reads a uint16 and advances both our current and our current // accumulator (which allows us to know how far to seek to the beginning of the // next IFD when it's time to jump). func (ife *IfdTagEnumerator) uint16() (value uint16, err error) { defer func() { if state := recover(); state != nil { err = s...
<gh_stars>1-10 // Copyright 2020 ChainSafe Systems // SPDX-License-Identifier: Apache-2.0, MIT //! This module implements network version 12 or actorv4 state migration //! Please read https://filecoin.io/blog/posts/filecoin-network-v12/ //! to learn more about network version 12 migration. //! This is more or less a d...
def plot_old_versus_new_ani(dataframe, column_pair_lists): if 'frac of query aligned (1)' in dataframe.columns: dataframe['% of query aligned (1)'] = \ dataframe['frac of query aligned (1)']*100 else: print ('"frac of query aligned (1)" not found') if 'frac of query aligned (2)' ...
<filename>src/main/java/org/gridmodel/index/IndexTree.java package org.gridmodel.index; import java.util.NavigableMap; import java.util.Set; import java.util.function.Function; /** * Represents the behavior of an index tree. * Index tree is the memory representation of an index, built as a associative array of * ...
package net.kimleo.rec.v2.model.impl; import net.kimleo.rec.common.concept.Mapped; import net.kimleo.rec.v2.model.Source; import net.kimleo.rec.v2.model.mapper.ResultSetMapper; import net.kimleo.rec.v2.stream.adapter.GeneratingSpliteratorAdapter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.sq...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
<filename>src/card/SkillCard.java<gh_stars>0 package card; import lib.Room; import people.Person; import skills.Skill; public abstract class SkillCard extends Card{ private int id; private boolean placed; public SkillCard(int t,int p) { super(t,p); } abstract public Skil...
This article is from the archive of our partner . A former Drug Enforcement Administration agent says he was blocked from doing drug busts in the suburban parts of Washington, D.C. -- as in, the parts where white people live. U.S. Marshal Matthew Fogg, who is black, says "I personally witnessed racially biased enforce...
/** * Created with IntelliJ IDEA. * User: yzhang * Date: 1/16/13 * Time: 3:17 PM */ public class DustColorSettingsPage implements ColorSettingsPage { private static final AttributesDescriptor[] DESCRIPTORS = new AttributesDescriptor[]{ new AttributesDescriptor("Dust Tag", DustSyntaxHighlighter.TAG), ...
# Importing modules import dash from dash import html from dash import dcc import pandas as pd import plotly.graph_objs as go import numpy as np from .import_fun import import_adata import sys from .layout import make_layout import scanpy as sc from pathlib import Path from anndata import AnnData # Function for runnin...
def as_bindings(self) -> devices.OneSidedResistiveDeviceParameter: if not isinstance(self.unit_cell_devices, list): raise ConfigError('unit_cell_devices should be a list of devices') onesided_parameters = parameters_to_bindings(self) device_parameter0 = self.unit_cell_devices[0].as_b...
A glorious synagogue was inaugurated in the German city of Speyer on the anniversary of the Kristallnacht pogrom . The previous shul was destroyed By the Nazis exactly 73 years ago, in 1938. The synagogue's rebirth marks the revival of Jewish life in the country which gave the world one of the darkest times in human h...
// NewS3Client creates a new S3 client. func NewS3Client(config *aws.Config, bucketName string) S3Store { return S3Store{ s3: s3.New(session.New(config)), bucketName: bucketName, } }
def position_choices(): choices = [] for wo in WidgetOrder.query.all(): choices.append((wo.position, wo.position)) return choices
def init_grid(self): raise NotImplementedError('Transcription {0} does not implement method' 'init_grid.'.format(self.__class__.__name__))
text = input() result = text[0].upper() + text[1:] print(result)
def resample(self, dimensions, method='linear'): new_maps = [] for i in range(0, len(self)): new_maps.append(self._get_map(i).resample(dimensions, method=method)) return MapCubed(new_maps)
Chelsea Clinton’s new children’s book sings the praises of famous women and has a title inspired by a political sweetheart of feminists. And no, it’s not her mother. The new children’s picture book by the daughter of former President Bill Clinton and former Secretary of State Hillary Clinton boasts the title, “She Pe...
/** * @author 'Mystic Flow */ public class FightCave { private Player player; private Wave wave; private int startTime = -1; private boolean startedFightWave; private boolean started; private static Random r = new Random(); public static ArrayList<Player> IN_CAVES = new ArrayList<>(); ...
/** * This helper class is used to parse StopWatches from log message. * * @author Alex Devine */ public class StopWatchParser { /** * The default regex used to parse StopWatches from Strings. The following is true of the * capturing groups of this pattern: * <ol> * <li> The start time in m...
// handles roughly the errors following the missing of a requested page to be rendered func failOnUnkownPage(man manifest, page string) { if len(man.Pages[page]) == 0 { panic("The requested page `" + page + "` is not defined inside the manifest") } }
def hash_a_container(obj, truncate=False): hashval = hasher() for key, val in sorted(obj.items()): hashval.update(str(hash(key)).encode()) hashval.update(str(hash(val)).encode()) hash_hex = hashval.hexdigest() hash_hex = hash_hex[:14] if truncate else hash_hex return int(hash_hex, 16...
/** * Alert ABPing maintainer that a major configuration has happened * * @param subj Mail Subject */ private void alert(String subj) { String mesg = sbLog.toString(); String s = "ABPing[" + hostNames.get(0) + "]: "; if ((previousConfigURL == Conf...
package dispatch import ( "log" "../http/websocket" "./context" ) func dispatchWebSocketOpen(ctx *context.DispatchContext, webSocket *websocket.WebSocket) error { log.Printf("websocket [ %s ] established to remote [ %s ]\n", webSocket.Id, webSocket.RemoteAddr()) return nil }
<reponame>zperk13/destiny-rs use std::sync::Once; mod model; mod manifest; mod membership; mod api; mod hash; static INIT_ENV_LOG: Once = Once::new(); pub(crate) fn init_log() { INIT_ENV_LOG.call_once(|| { env_logger::init(); }); }
/* * Copyright 2017, RWTH Aachen. All rights reserved. * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup drivers_shtcx * * @{ * @file * @brief Register definiti...
def cross_product(a,b): return (a.conjugate()*b).imag try: while True: P = list(map(float,input().split())) a, b, c, p = [complex(P[i*2],P[i*2+1]) for i in range(4)] S = cross_product(p-a,p-b) T = cross_product(p-b,p-c) U = cross_product(p-c,p-a) if S*T > 0 and T*U ...
def lookup_plot_div(self, plot, producer): div_file = self._cached_div_file(plot) cache_timestamp = self.cache_timestamp(div_file) if cache_timestamp < self.newest_dependency(plot.input_files): plot_div = producer() folder = os.path.dirname(div_file) os.makedi...
#include<bits/stdc++.h> using namespace std; int main() { int n, k, l, c, d, p, nl, np; cin>>n>>k>>l>>c>>d>>p>>nl>>np; // 1 4 5 5 3 10 3 1 -> int ml = k*l; int t = ml/nl; int li = c*d; int s = p/np; int r = min(min(t, li), s) / n; cout<<r; return 0; }
/* * Copyright (c) 1991, 1992 <NAME> <<EMAIL>> * Copyright (c) 1993 <NAME> <<EMAIL>> * Copyright (c) 1993, 1994, 1995, 1996 <NAME> <<EMAIL>> * Copyright (c) 1996-1999 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted prov...
/** * Converts this Jackson-friendly adapted person object into the model's {@code Event} object. * * @throws IllegalValueException if there were any data constraints violated in the adapted event. */ @Override public Task toModelType() throws IllegalValueException { final Set<Tag> event...
/// Instantiate a new Tokenizer from the given file pub fn from_file<P: AsRef<Path>>(file: P) -> Result<Self> { let file = File::open(file)?; let buf = BufReader::new(file); Ok(serde_json::from_reader(buf)?) }
The top leadership in Iran has instructed its atomic research organization to prepare to reopen nuclear sites shuttered by the nuclear agreement. I can't wait for those Iran sanctions to "snap back" into place. Can you? If Iran goes through with this, it will scuttle the agreement and force President Obama to reimpos...
def dloops2txt(dloops, fout): with open(fout, "w") as fo: header = [ "loopId", "chrA", "startA", "endA", "chrB", "startB", "endB", "distance(bp)", "centerA", "centerB", ...
/** * Returns the next random {@code long}, but does not debit entropy. * * @return a pseudorandom {@code long} with all possible values equally likely. */ protected long nextLongNoEntropyDebit() { lock.lock(); try { return super.nextLong(); } finally { lock.unlock(); } }
/* * These are necessary to sync communications between fe/be processes doing * COPY rel TO stdout * * or * * COPY rel FROM stdin * */ void SendCopyBegin() { pq_putnchar("B", 1); pq_flush(); }
<reponame>qingqibing/mqtt_cpp // Copyright <NAME> 2019 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include "test_main.hpp" #include <mqtt_server_cpp.hpp> #include "test_settings.hpp" #include "test_ctx_i...
<gh_stars>0 // main.go package main import ( EndPoint1 "demo3/EndPoint" "demo3/Server" "demo3/Tool" "demo3/Transport" "errors" "fmt" httpTransport "github.com/go-kit/kit/transport/http" "github.com/gorilla/mux" "net/http" "os" "os/signal" "syscall" ) // 服务发布 // 服务发布 func main() { // 1.先创建我们最开始定义的Server...
<filename>legal-api/tests/unit/resources/v2/test_business_parties.py # Copyright © 2021 Province of British Columbia # # 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....
// initApp init kratos application. func initApp(*conf.Server, *conf.Data, log.Logger) (*kratos.App, func(), error) { panic(wire.Build( server.ProviderSet, data.ProviderSet, biz.ProviderSet, service.ProviderSet, newApp, )) }
// AddFlags adds common/default flags for both the kube and cloud Controller Manager Server to the // specified FlagSet. Any common changes should be made here. Any individual changes should be made in that controller. func (o *GenericControllerManagerOptions) AddFlags(fs *pflag.FlagSet) { fs.StringVar(&o.Master, "mas...
In the last seven months, Apple's share value has fallen by more than 43 percent.Apple ( NASDAQ: AAPL ) enjoyed its highest ever closing price on 19 September 2012, when a single share was valued at $702.10.Since then, the firm's value has slid considerably, despite publishing FY2012 results in October that showed a 61...
/** * Gets the urls in a list of Resources. * @param resources collection of resources. * @return collection of urls. */ public static Collection<String> resourcesToUrls(Collection<Resource> resources) { ImmutableList.Builder<String> resourceUrls = ImmutableList.builder(); for (Resource resource : r...
def fragment_tokenizer(gold_fragments, filename, start, end, boundary_th=0.5): tmp = gold_fragments[(gold_fragments.filename == filename)].sort_values(by=['start']) included_frames = np.maximum(0, np.minimum(tmp.end + 1, end + 1) - np.maximum(tmp.start, start)) if sum(included_frames > 0) == 1: retu...
/* COMPUTE THE TRANSPOSE OF A SPARSE MOD2 MATRIX. */ void mod2sparse_transpose ( mod2sparse *m, mod2sparse *r ) { mod2entry *e; int i; if (mod2sparse_rows(m)!=mod2sparse_cols(r) || mod2sparse_cols(m)!=mod2sparse_rows(r)) { fprintf(stderr, "mod2sparse_transpose: Matrices have incompatible dimension...
<gh_stars>0 /* * Copyright 2007 - 2020 <NAME>. * * 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 l...
Design of aircraft cabin testbed for stress free air travel experiment The paper presents an aircraft cabin testbed that is designed and built for the stress free air travel experiment. The project is funded by European Union in the aim of improving air travel comfort during long haul flight. The testbed is used to te...
import { ErrorLike } from './schema/errors'; import { MergeSchemaParameters, SchemaParameters, SchemaResolveType, SchemaReturnType, SchemaValidatorFunction, } from './schema/io'; import Validator, { ValidatorProxy } from './Validator'; import compiler from './schema/compiler'; import { either as eitherSchema,...
/** * This method determines the duck's barcode position 1, 2, or 3 (0 if no valid duck found). * * @param targetInfo specifies the detected duck's target info. * @return duck's barcode position. */ private int determineDuckPosition(FtcTensorFlow.TargetInfo targetInfo) ...
Louis van Gaal hopes to sign the Argentina defender Marcos Rojo from Sporting Lisbon for £16m and is renewing his interest in Ángel di María after the Real Madrid forward’s proposed transfer to Paris Saint-Germain fell through. The Dutchman is also considering a move for Ajax’s Daley Blind, all of which underlines the ...
def make_basis(params, time_axis): basis_matrix = numpy.matrix(numpy.zeros((len(metabolite_name_list), len(time_axis) * 2))) for i, metabolite_name in enumerate(metabolite_name_list): gaussian = suspect.basis.gaussian(time_axis, params["{}_freque...
//=============================================================================== // FILE: EM85FxxxN_I2C.h // // TITLE: EM85FxxxN_I2C Device definitions // // Author: <NAME> (<NAME>) // // Date: 2017/03/15 //=============================================================================== #ifndef EM85FxxxN_I2C_H #d...
import java.util.Scanner; public class A { static long sim(long eat) { long K = k; long eaten = 0L; while (K > 0) { // System.out.println(K); K -= eat; if (K < 0) { eaten += K; } eaten += eat; K -= K / 10; } return eaten; } static boolean check(long mid) { retur...
package io.github.kaiso.lygeum.core.spi; import io.github.kaiso.lygeum.core.entities.Change; import io.github.kaiso.lygeum.core.entities.CommitEntity; import io.github.kaiso.lygeum.core.entities.PropertyValueEntity; import java.util.List; public interface VersionningService { CommitEntity commit(String envCode, St...
Implementation and evaluation of a text-to-speech synthesis system for turkish In this paper, a diphone based Text-to-Speech (TTS) system for the Turkish language is presented. Turkish is the official language of Turkey, where it is the native language of 70 million people and it is also widely spoken in Asia (Azerbai...
<gh_stars>1-10 import type { Router } from "mediasoup/lib/types" import type { Socket } from "socket.io" import sendRoomUpdate from "./helpers/sendRoomUpdate" import Peer from "./Peer" import type { RoomInfo, UserMeta } from "./types" import debugm from "debug" const debug = debugm("app:Room") interface RoomConstructPa...
#include <iterator> template <class T> class num_iterator { T i; public: explicit num_iterator(T position = 0) : i{position} {} T operator*() const { return i; } num_iterator & operator++() { ++i; return *this; } bool operator!=(const num_iterator & other) const { retu...
/** * the Cut needs to further split if and only if there is an additional selection between root and leaf * * @return */ private boolean needsSplit() { if (length < subtreeStepsize) { return false; } for (int i = rootDimension; i < leafDimension; i++) { ...
Rhona Applebaum, Coca-Cola’s chief scientist and health officer, is stepping down from the company. The news follows reports that Applebaum helped set up a nonprofit research group tasked with downplaying the role of sugary drinks in the obesity epidemic and highlighting the benefits of exercise. In August, The New Y...
package org.dbflute.erflute.editor.view.editmanager; import org.dbflute.erflute.editor.model.diagram_contents.element.node.note.WalkerNote; import org.eclipse.gef.GraphicalEditPart; import org.eclipse.gef.tools.CellEditorLocator; import org.eclipse.gef.tools.DirectEditManager; import org.eclipse.jface.viewers.TextCell...
package latency import ( "testing" "time" ) func TestLatency(t *testing.T) { l := New() time.Sleep(time.Millisecond * 10) if secs := int(l.Seconds() * 1000); secs < 10 { t.Fatal("Seconds failed") } }
class WithAngle: """Mixin adding a cell angle.""" @staticmethod def defaults() -> DefaultsType: return dict(angle=0.0)
package mantlemint import ( "github.com/tendermint/tendermint/state" tendermint "github.com/tendermint/tendermint/types" ) type Mantlemint interface { Inject(*tendermint.Block) error Init(*tendermint.GenesisDoc) error LoadInitialState() error GetCurrentHeight() int64 GetCurrentBlock() *tendermint.Block GetCur...
/** * Creates the expand button, which reveals more specific student information, namely the events * <p> * This method creates a dialog box (as a notification) which has all of a student's events and data, allowing * for a more in-depth review of a student * * @param student The Student t...
def _get_command_loop(): while True: try: command = api.get_pending_command() except Exception as e: print('Unable to get command, error is ' + str(e)) sleep(30) continue if command is None: continue elif command['Type']...
<gh_stars>0 {- | Module : RecamanGenerator.hs Description : Module implements the Recaman sequence generation algorithm Copyright : (c) <NAME> License : MIT License Maintainer : <EMAIL> Stability : provisional Portability : portable For more information, follow the link below. http://oeis.org/A00...
#include<stdio.h> #include<stdlib.h> #include<string.h> #include<math.h> #define FOR(n) for(int i=0;i<n;i++) #define FORJ(n) for(int j=0;j<n;j++) #define PRN(n) printf("%d\n",n) #define PRF(n) printf("%lf\n",n) #define PRL(n) printf("%lld\n",n) #define PRS(s) printf("%s\n",s) #define PRC(c) printf("%c",c) #define mod 1...
The remains of a young boy, ceremonially buried some 12,600 years ago in Montana, have revealed the ancestry of one of the earliest populations in the Americas, known as the Clovis culture. Published in this issue of Nature, the boy’s genome sequence shows that today’s indigenous groups spanning North and South Americ...
Hot-Carrier-Related Increase in Drain Resistance and Its Suppression by Reducing Contaminants in InP-Based HEMTs We examined the issue of reliability of InP-based high-electron mobility transistors (HEMTs), focusing on the increase of drain resistance Rd. In investigations of the mechanism of Rd increase, we took note...
<reponame>AgoraCloud/server-edu import { BadRequestException } from '@nestjs/common'; /** * An exception that is thrown when a token is expired */ export class TokenExpiredException extends BadRequestException { constructor(id: string) { super(`Token with id ${id} is expired`); } }
<filename>BubbleBobbleGame/BBLevel.h #pragma once #include <LiberoScene.h> #include <GridComponent.h> #include "BB_LevelParser.h" #include "LiberoMath.h" #include "GameObject.h" #include "IEvent.h" using namespace Libero; class BBLevel final : public Libero::LiberoScene { public: LIBEROSCENE(BBLevel); BBLevel(size...
/** \brief Initialize this module. */ void cinfo_init(void) { if (idmanager_getIsDAGroot() == TRUE) return; cinfo_vars.desc.path0len = sizeof(cinfo_path0) - 1; cinfo_vars.desc.path0val = (uint8_t * )(&cinfo_path0); cinfo_vars.desc.path1len = 0; cinfo_vars.desc.path1val = NULL; cinfo_vars.desc....
While mainstream media have represented the Mexican government’s willingness to negotiate a wage hike with farm workers as a clear victory, farm workers themselves say there is a long way to go. (Photo: Wonderlane/Flickr) The farm workers of the San Quintin Valley have gotten the federal government to commit to facili...
/* * This class enriches the average delay registered in a county during * a time window with the name of the county. (Used in combination with AvgDelayCalculator) * */ public class WindowedCountyAvgDelayCalculator extends ProcessWindowFunction<Double, WindowedCountyAvgDelay , String, TimeWindow> { @Override p...
/*========================================================================= * * Copyright NumFOCUS * * 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 * * https://www.apache.o...
RANCHI: Union railway minister Suresh Prabhu launched three key railway projects in the state and Odisha on Sunday and pledged to weave an intricate railway network in mineral-rich Jharkhand by 2018.Prabhu opened the 16.5km third line between Sini and Rajkharsawan under Chakradharpur division of South Eastern Railway ....