content stringlengths 10 4.9M |
|---|
The RACE for children act at one year: progress in pediatric development of molecularly targeted oncology drugs
ABSTRACT Background The Research to Accelerate Cures and Equity (RACE) for Children Act of 2017 authorized the Food and Drug Administration (FDA) to require pediatric clinical trials for new oncology drugs w... |
In recent years there have been a number of mass shootings in the United States. Some of these can be explained in simple terms of human evil, for example the Washington Sniper case of 2002 – the handiwork of John Allen Muhammad and his teenage sidekick. Muhammad had a rational if bizarre motive for his crimes. Others ... |
from entity.product import Product
from repo.base_repo import BaseRepo
class ProductRepo(BaseRepo):
def __init__(self):
super().__init__()
def create_new(self, data):
product = Product(
productCode=data['productCode'],
productName=data['productName'],
produ... |
<filename>stelvio-presentation-java/src/main/java/no/stelvio/presentation/security/eai/AuthenticationFailureException.java
package no.stelvio.presentation.security.eai;
import no.stelvio.common.security.SecurityException;
/**
* Thrown to indicate that an authentication failure has occurred.
*
* @see Securi... |
def plot_per_category(labels, dd, loaded_model):
for k, v in tqdm(dd.items()):
for kk, vv in v.items():
if len(vv['x']) > 0:
vv['predicted'] = loaded_model.predict(vv['x'])
for i, l in enumerate(labels):
auto_corr = []
var_by_category = []
for vc in VI... |
// Copyright (c) 2018 The VeChainThor developers
// Distributed under the GNU Lesser General Public License v3.0 software license, see the accompanying
// file LICENSE or <https://www.gnu.org/licenses/lgpl-3.0.html>
package chain_test
import (
"testing"
"github.com/ethereum/go-ethereum/crypto"
"github.com/stretc... |
France's Rafale fighter jets took part in the raid on a jihadist training centre situated in the Kirkuk region of northern Iraq (AFP Photo/)
Paris (AFP) - The international coalition currently battling the Islamic State group in Iraq dropped around 70 bombs on an arsenal and jihadist training centre in a large-scale o... |
##############################################################################################################################################################
##############################################################################################################################################################
""... |
The brand of rice that purportedly caused a family to fall ill was tested and found to be authentic, despite claims that it was fake, the Agri-Food & Veterinary Authority (AVA) says.
SINGAPORE: A brand of rice that purportedly caused a family to fall ill was tested and found to be authentic, despite claims that it was... |
U2RS: an upgradable universal relation system
The two proposed advantages of the universal relation model are that it can deal with the logical navigation problem and the database structure upgrading problem . Most previous research has concentrated on the first advantage, to relieve the end-user from logical navigat... |
Exploration on film-forming condition of soy protein isolate and associated Maillard reaction products
The influences of different p H( 10,11,12),temperatures( 70,80,90 ℃) and glycerol concentrations( 0~ 3.0 m L/100 m L) on the film-forming properties of soy protein isolate( SPI,6 g /100 m L),the Maillard reaction pro... |
<filename>src/many/src/server/module/_6_ledger_commands.rs
use crate::{Identity, ManyError};
use many_macros::many_module;
mod send;
pub use send::*;
#[many_module(name = LedgerCommandsModule, id = 6, namespace = ledger, many_crate = crate)]
pub trait LedgerCommandsModuleBackend: Send {
fn send(&mut self, sender... |
def finalize(self, **kwargs):
self.set_title(
"PosTag plot for {}-token corpus".format(
(sum(self.pos_tag_counts_.values()))
)
)
self.ax.set_xticks(range(len(self.pos_tag_counts_)))
self.ax.set_xticklabels(list(self.pos_tag_counts_.keys()), rotatio... |
<reponame>MrAwesomeRocks/caelus-cml<filename>src/libraries/core/fvMesh/extendedStencil/faceToCell/extendedFaceToCellStencil.hpp
/*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------... |
//
// Copyright (C) Microsoft Corporation 2005
// IHV UI Extension sample
//
#ifndef _IHVSAMPLEEXTUI_H_
#define _IHVSAMPLEEXTUI_H_
#include "precomp.h"
// object ref count
extern long g_objRefCount;
//lock count on server
extern long g_serverLock;
#define IHV_KEY_LENGTH 64
#define MAX_IHV_CIPHER... |
<reponame>ThyMajesty/obsp2pwebcam<filename>obsp2pwebcamstreamingtool/src/app/home/home.routes.ts
import { Routes } from '@angular/router';
import { HomeComponent } from "./home.component";
import { ReceiverComponent } from "./receiver/receiver.component";
import { SenderComponent } from "./sender/sender.component";
ex... |
package org.litespring.stereotype;
import java.lang.annotation.*;
@Target({ElementType.CONSTRUCTOR,ElementType.FIELD, ElementType.METHOD,ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Autowired {
boolean required() default true;
}
|
/**
* @return true if game is training mode
*/
public boolean isTrainingMode() {
if (optionsDialog == null)
optionsDialog = new OptionsDialog();
return optionsDialog.isTrainingMode();
} |
It’s the eternal question for pet owners: Does your dog understand what you’re saying? Even if Fido doesn’t “get” your words, surely he gets your tone when you let loose about another accident on the carpet. But a new imaging study shows that dogs’ brains respond to actual words, not just the tone in which they’re said... |
import datetime
import ib_insync as ibapi
from ib_insync.contract import ContractDescription
import pandas as pd
import rx
import rx.disposable as disposable
import datetime as dt
import numpy as np
import json
from bson import json_util
from enum import Enum
from typing import List, Dict, Tuple, Callable, Optional, S... |
/**
* A utility class to help with building Order objects.
*/
public class OrderBuilder {
public static final String DEFAULT_CLIENTID = "2";
public static final String DEFAULT_DESCRIPTION = "shoes";
public static final String DEFAULT_DATE = "2020-12-12 2359";
public static final String DEFAULT_ADDRESS... |
def BeamSearchDecode(self, src_encs, src_enc_paddings):
raise NotImplementedError('Abstract method') |
Characterization of bacterial microbiota compositions along the intestinal tract in pigs and their interactions and functions
In addition to its value in meat production, the pig is an interesting animal model for human digestive tract studies due to its physiological similarities. The aim of this study was to describ... |
SAN FRANCISCO – A group of Filipino American activists in San Francisco came to the defense of a Chinese American who they say is being wrongly accused by the Philippine military as a rebel and enemy of the state.
Brandon Lee is a Chinese American who married a Filipina and raised a family in Ifugao province after an ... |
<filename>demo/src/r_db_storage.py
import psycopg2
from loguru import logger
from typing import Any, Dict, Tuple
class postgresDB():
"""The PostgreSQL datastore used for the demo application.
Attributes:
uri_params: A dictionary with the URI parameters for db connection.
"""
def __init__(self... |
<reponame>10088/alipay-sdk-java-all<filename>src/main/java/com/alipay/api/domain/AlipayInsDataAuthorizationQueryModel.java<gh_stars>0
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 查询用户授权信息
*
* @author auto create
* @since 1.0, 20... |
import turtle
import math
import random
wn = turtle.Screen()
wn.bgcolor("black")
turtle1 = turtle.Turtle()
turtle1.speed(0)
turtle1.color("white")
rotate = int(360)
def drawCircles(t, size):
for i in range(10):
t.circle(size)
size = size - 4
def drawSpecial(t, size, repeat):
for i in range(... |
package ipfix
import (
"encoding/binary"
"fmt"
"io"
)
func intDescribed(n int, singular, plural string) string {
if n == 1 {
return fmt.Sprintf("1 %v", singular)
}
return fmt.Sprintf("%v %v", n, plural)
}
func fieldDescribed(n uint16) string {
return intDescribed(int(n), "field", "fields")
}
// unmarshalF... |
<filename>guacamole-common/src/test/java/org/apache/guacamole/io/ReaderGuacamoleReaderTest.java<gh_stars>100-1000
/*
* 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 copyrig... |
/*
* Copyright 2015-2019 CNRS-UM LIRMM, CNRS-AIST JRL
*/
#ifndef _H_ADDREMOVECONTACTTASK_H_
#define _H_ADDREMOVECONTACTTASK_H_
#include <mc_rbdyn/Robots.h>
#include <mc_solver/BoundedSpeedConstr.h>
#include <mc_tasks/MetaTask.h>
#include <mc_tasks/api.h>
#include <Tasks/QPTasks.h>
namespace mc_rbdyn
{
struct Cont... |
# -*- coding: utf-8 -*-
from .BaseTest import BaseTest
class HTMLTranslatorOverridesTest(BaseTest):
def test_alert_link_class(self):
"""
Test .alert-link is added to links inside an alert
"""
self.do_component_fixture_test_with_real_sphinx('HTMLTranslatorOverrides', 'alert-link-cla... |
Reconstructed quality improvement with a stochastic gradient descent optimization algorithm for a spherical hologram.
The spherical holography is a promising technology to realize a true three-dimensional (3D) display. Compared to plane holography and cylindrical holography, it has an unlimited field of view, which ca... |
from sys import stdin
from collections import Counter
n = int(stdin.readline())
a = list(map(int, stdin.readline().split()))
d = dict(Counter(a))
if len(d) > 3:
print(-1)
else:
val = sorted(d.keys())
if len(val) == 1:
print(0)
elif len(val) == 2:
diff = val[1] - val[0]
... |
<filename>src/web-client/src/components/ErrorBox/styles.ts
import { cretaeStyle } from '../../styles/createStyle';
interface IErrorBoxClassNames {
errorBox: string;
}
export const getErrorBoxStyles = cretaeStyle<IErrorBoxClassNames>({
errorBox: {
padding: 6,
color: 'red',
background: '... |
// https://atcoder.jp/contests/abc151/tasks/abc151_f
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define REP(i, n) FOR(i, 0, n)
#define FOR(i, s, n) for (int i = (s), i##_len = (n); i < i##_len; ++i)
#define ALL(obj) (obj).begin(), (obj).end()
#define ALLR(obj) (obj).rbegin(), (obj).rend()
#defi... |
<filename>public/node_modules/svelte/types/compiler/utils/flatten.d.ts
export declare function flatten<T>(nodes: T[][], target?: T[]): T[];
export declare function flatten<T>(nodes: T[], target?: T[]): T[];
|
<gh_stars>0
#pragma once
#ifndef NYAA_RESOURCE_AI_DEF_H_
#define NYAA_RESOURCE_AI_DEF_H_
#include "base/base.h"
#include <string_view>
namespace nyaa {
namespace res {
#define DECLARE_AI_KINDS(V) \
V(NONE) \
V(STUPID) \
V(HAND_OFF) \
V(FOLLOW)
struct AI {
... |
<gh_stars>1-10
import Field, { FieldType } from "./field";
import { BASE_CONTINENTAL_CRUST_THICKNESS, BASE_OCEANIC_CRUST_THICKNESS } from "./crust";
import Plate from "./plate";
import getGrid from "./grid";
const MAX_CONTINENTAL_CRUST_RATIO = 0.5;
const TOOL_RADIUS = 0.25 ;
const SHELF_WIDTH = 0.13;
const MAIN_TOOL_R... |
/// Gets the application id associated with the token.
pub async fn fetch_application_id(client: &Client) -> Result<ApplicationId, anyhow::Error> {
client
.current_user_application()
.exec()
.await?
.model()
.await
.map_err(From::from)
.map(|app| app.id)
} |
<gh_stars>1-10
package com.vibbra.challenge.repository;
import com.vibbra.challenge.domain.TaskList;
import org.springframework.data.repository.CrudRepository;
public interface TaskListRepository extends CrudRepository<TaskList, Long> {
} |
// GetMultiDimensional returns a MultiDimensional if it exists.
func GetMultiDimensional(buf json.RawMessage) (*MultiDimensional, error) {
v := &MultiDimensional{}
if err := json.Unmarshal(buf, v); err != nil {
return nil, err
}
return v, nil
} |
<gh_stars>0
#include <iostream>
using namespace std;
int main(){
int a,b,c,d,e,f,g,h;
cin>>a>>b>>c>>d>>e>>f>>g>>h;
if(a+b+c+d>e+f+g+h){
cout<<"Gunnar";
}
else if (a+b+c+d==e+f+g+h)
{
cout<<"Tie";
}
else{
cout<<"Emma";
}
return 0;
} |
<reponame>InterTurstCo/ActiveFrame5
package ru.intertrust.cm.core.config.gui.action;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;
/**
* @author Sergey.Okolot
* Created on 22.09.2014 13:19.
*/
@Root(name = "simple-action")
public class SimpleActionConfig extends ActionConfi... |
// Unsubscribe cancels the subscription. Sends to the publisher's input channel that
// happen after this method returns will not be delivered to this subscription's channel;
// earlier sends are concurrent and might be delivered.
func (s *StringSubscription) Unsubscribe() {
s.publisher.unsubscribe(s)
s.publisher = n... |
/**
* Enable to focus specific object in Multiview Editor
* The default implementation opens the XML View
*/
@Override
public void showElement(Object element) {
Object target = null;
if (element instanceof SessionFactory ||
element instanceof Security) {
o... |
<reponame>AlfredoCU/Go-Gorutines
package main
import (
"bufio"
"fmt"
"os"
"strconv"
"time"
)
func main() {
var (
opc = ""
condition = true
flag = make(chan bool)
scan = bufio.NewScanner(os.Stdin)
processId uint64
newProcess *Process
processIdCreate uint64
processIdDelete string
process []*... |
<filename>control/control_gazebo_models.py<gh_stars>0
import rospy
from gazebo_msgs.msg import ModelStates
from geometry_msgs.msg import Pose, Twist
import sys
def pose_publisher():
vehicle_type = sys.argv[1]
row_num = int(sys.argv[2])
column_num = int(sys.argv[3])
vehicle_num = row_num * column_num
... |
def save_state(self, direct=None, save=True, hdf5=False):
state = self._backend._parameters_dict
if not save:
return state
path = '/NetData/' + direct + '/parameters/'
import os
import torch
origin_path = os.getcwd()
if 'NetData' not in os.listdir(os.g... |
<gh_stars>0
/// <reference types="node" />
import http = require("http");
import https = require("https");
import Contracts = require("../Declarations/Contracts");
import RequestParser = require("./RequestParser");
/**
* Helper class to read data from the requst/response objects and convert them into the telemetry con... |
def str_to_uuid(in_uuid: Union[str, uuid.UUID]) -> uuid.UUID:
if isinstance(in_uuid, str):
return uuid.UUID(in_uuid)
return in_uuid |
package Engine.Animation;
public abstract class Animation
{
protected int delay;
protected Type type;
public Animation(int delay, Type type)
{
this.delay = delay;
this.type = type;
}
abstract void start();
}
|
<reponame>tlaitinen/servant-cookie-token-auth-example<filename>src/Api/PrivateCookie.hs
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE... |
/**
* Creates the type of an {@link org.apache.calcite.util.NlsString}.
*
* <p>The type inherits the The NlsString's {@link Charset} and
* {@link SqlCollation}, if they are set, otherwise it gets the system
* defaults.
*
* @param typeFactory Type factory
* @param str String
* @return ... |
<reponame>tiagoaguiar31/biotope-resource-loader
import getResourceElements from './getResourceElements';
describe('#getResourceElements', () => {
test('returns empty array for non existent resource elements', () => {
const resourceElements = getResourceElements(undefined);
expect(Object.keys(resou... |
// CloneJob create a Kube job to clone a postgres instance
func CloneJob(clientset *kubernetes.Clientset, fromNamespace string, from string, toNamespace string, to string, password string) error {
command := fmt.Sprintf("pg_dumpall -h %s.%s.svc.cluster.local -U postgres | psql -h %s.%s.svc.cluster.local -U postgres", ... |
package io.jmix.ui.app.valuespicker.selectvalue;
import com.google.common.base.Strings;
import io.jmix.core.*;
import io.jmix.core.metamodel.datatype.Datatype;
import io.jmix.core.metamodel.datatype.DatatypeRegistry;
import io.jmix.core.metamodel.datatype.TimeZoneAwareDatatype;
import io.jmix.core.metamodel.model.Meta... |
Games, Learning, and Society: Building a Field.
Computer and video games have recently attracted significant attention from educators as a medium for learning. Clark's (2007) critique of the "Serious Games" movement provides a set of useful guidelines for moving that particular industry forward. This article argues fo... |
An Overview of AI-Assisted Design-on-Simulation Technology for Reliability Life Prediction of Advanced Packaging
Several design parameters affect the reliability of wafer-level type advanced packaging, such as upper and lower pad sizes, solder volume, buffer layer thickness, and chip thickness, etc. Conventionally, th... |
/**
* Use for duplicate tasks.
* Only one task at most can wait to be executed.
*/
public class LimitExecutor implements Executor {
private Runnable mActive;
private Runnable mWaiting;
public synchronized void execute(final Runnable r) {
if (mActive == null) {
mActive = wrapTask(r);
... |
Validation of a new spatially-explicit process-based model (HETEROFOR) to simulate structurally and compositionally complex stands in eastern North-America.
10 Process-based forest growth models with spatially explicit representation are a relevant tool to investigate innovative silviculture practices and/or climate c... |
class Gene_splice_modeler:
"""
Builds supertranscipts.
object instance members:
gene_id : str
alignments : list of Node_alignment objects
"""
def __init__(self, gene_id, node_path_obj_list):
"""
initialize alignments list with simple single 'alignment' obje... |
Hello Intrepid Explorers of the Omniverse!
We have just rolled out a new server update that has made a number of changes to the Community Menu that aims to help your community level explorations and help you locate an even greater wealth of amazing community content!
Here’s a brief rundown of the changes that we have... |
<gh_stars>1-10
import { MessageEmbed } from "discord.js";
import { ICommand } from "wokcommands";
import axios from "axios";
export default {
category: 'Random',
description: 'Shows information on a colour',
aliases: ['colour', 'hex', 'rgb'],
slash: false,
testOnly: false,
callback: asyn... |
def validate(self, interface):
warnings = []
for data_value in self.values.values():
if data_value.name not in interface.parameters:
del self.values[data_value.name]
for parameter in interface.parameters.values():
if parameter.name in self.values:
... |
/* This function is designed to be called from within the stream handler to
* update the output channel's expiration timer and the stream interface's
* Tx flags based on the channel's flags. It needs to be called only once
* after the channel's flags have settled down, and before they are cleared,
* though it doesn... |
/**
* @brief Create dir involved in path
*
* @param[in] fn file name
*
* @return poiner to the dynamically allocated new entry
* NULL if no space for the entry
*/
static int ramfs_entry_dir_new(const char *path)
{
int i = 0;
int flag = 0;
char dir_buf[RAMFS_PATH_MAX];
ramfs_entry... |
// Handle a click in the fold margin. This is mostly taken from SciTE.
void QsciScintilla::foldClick(int lineClick, int bstate)
{
bool shift = bstate & Qt::ShiftModifier;
bool ctrl = bstate & Qt::ControlModifier;
if (shift && ctrl)
{
foldAll();
return;
}
int levelClick = SendSci... |
<reponame>GaloisInc/JavaFE<gh_stars>0
/**
** Test that we handle local redefinition errors properly
**/
/*
* First test redeclaring formal parameters:
*
* (local variables have the same behavior.)
*/
class B {
void f (int i) { // declare parameter
class C {
void f (int i) { // error - hides parameter ... |
<gh_stars>0
//#include <rtthread.h>
#include "shell.h"
#include "common.h"
#include "param_config.h"
#if defined(CFG_SUPPORT_BLE) && defined(BEKEN_ATE)
#include "ble_api.h"
#if (CFG_BLE_VERSION == BLE_VERSION_5_x)
#include "app_ble.h"
#endif
#include "ble_pub.h"
#if (CFG_BLE_VERSION == BLE_VERSION_4_2)
#define BUILD... |
//! nip object implementation
use failure::Error;
use futures::Stream;
use git2::{Blob, Commit, ObjectType, Odb, OdbObject, Oid, Tag, Tree};
use ipfs_api::IpfsClient;
use tokio::runtime::current_thread;
use std::{collections::BTreeSet, io::Cursor};
use crate::{
constants::{NIP_HEADER_LEN, NIP_PROTOCOL_VERSION},
... |
/**
* Utilities to work with Amazon S3 Objects.
*/
public class S3Utils {
Logger log = LoggerFactory.getLogger("S3Utils");
/**
* Get the {@link S3Object} that represent this Path or her first child if this path not exists
*
* @param s3Path {@link S3Path}
* @return {@link S3Object}
* ... |
// writeVOX writes a vox file from the base voxels.
func writeVOX(f io.Writer, base binvox.WhiteVoxelMap) error {
header := gl.VOXHeader{Magic: [4]byte{'V', 'O', 'X', ' '}, Version: 150}
if err := binary.Write(f, binary.LittleEndian, &header); err != nil {
return fmt.Errorf("header: %v", err)
}
chunk := gl.VOXChu... |
#include<bits/stdc++.h>
using namespace std;
int n, m;
vector<int>v[100001];
int a[100001];
int ans=0;
void dfs(int node, int parent, int curr, int maxi){
bool non_leaf=false;
for(int i=0;i<v[node].size();i++){
if(v[node][i]!=parent){
non_leaf=true;
int x=((a[v[node]... |
//links the product to the supplier
private String addProductsToDB(int prodID){
String dbSuccess = "";
try
{
ProductSupplierDB.LinkProductSuppliers(selectedSuppId, prodID);
dbSuccess = "Link Successful";
} catch (Exception e) {
e.printStackTrace();
... |
<filename>servelet-demo/src/main/java/today/sumu/exception/ErrorHandler.java<gh_stars>0
package today.sumu.exception;
import com.alibaba.fastjson.JSON;
import jdk.nashorn.internal.parser.JSONParser;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequ... |
package opts
import (
"fmt"
"io/ioutil"
"os"
"path/filepath"
"reflect"
"regexp"
"strings"
"testing"
)
func TestStrings(t *testing.T) {
//config
type Config struct {
Foo string
Bar string
}
c := &Config{}
//flag example parse
err := testNew(c).parse([]string{"/bin/prog", "--foo", "hello", "--bar", "w... |
The days may be getting shorter and the weather chillier, but don't let that keep you from enjoying the last few weeks of summer in Denver. This week's list of the 21 best events in Denver includes plenty to do in the great outdoors, including a bike race and music festival, an arts festival in Breckenridge and more, p... |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
int main(){
uint32_t m, n;
uint32_t t;
uint32_t *lights;
lights = (uint32_t*)calloc(t, sizeof(uint32_t));
scanf("%d", &t);
for(size_t i = 0; i < t; i++){
scanf("%d %d", &n, &m);
lights[i]... |
#include<stdio.h>
#include<string.h>
main()
{
int i,j,n,s=0;
char word[1001];
gets(word);
n=strlen(word);
for(i=0;i<n;i++)
{
if(n==2)
{
break;
}
for(j=0;j<i;j++)
{
if(word[i]==word[j])
{
... |
Vladimir Putin’s Fierce Bark Isn’t Backed Up by Russia’s Feeble Economic Bite
Russian President Vladimir Putin used the United Nations General Assembly meeting to flex his muscles on Syria, justifying his military buildup there by blaming the United States for failing to stanch the crisis. The Kremlin’s strongman also... |
First thing’s first: Yes, Josh Hutcherson would still like to play Spider-Man. We talked to the 22-year-old Hunger Games star last week on the eve of his new Project Imagination collaboration with director-producer Ron Howard, and we brought up his previous superhero aspirations.
When Hutcherson was 18 — a year before... |
UACAP: A Unified Auxiliary Channel Authentication Protocol
Authenticating spontaneous interactions between devices and users is challenging for several reasons: the wireless (and therefore invisible) nature of device communication, the heterogeneous nature of devices, and lack of appropriate user interfaces in mobile ... |
Mutations affecting transport of the hexitols D-mannitol, D-glucitol, and galactitol in Escherichia coli K-12: isolation and mapping
Mutants of Escherichia coli K-12 unable to grow on any of the three naturally occurring hexitols D-manitol, D-glucitol, and galactitol and, among these specifically, mutants with altered... |
package org.yarlithub.yschool.analytics.core;
import org.yarlithub.yschool.repository.model.obj.yschool.ClassroomModule;
/**
* Created with IntelliJ IDEA.
* User: kana
* Date: 11/27/13
* Time: 6:27 PM
* To change this template use File | Settings | File Templates.
*/
//TODO: redo due to database change to subje... |
import { ElementRef } from '@angular/core';
import { SkyPopoverAdapterService } from './popover-adapter.service';
describe('SkyPopoverAdapterService', () => {
let adapter: SkyPopoverAdapterService;
let callerElement: any;
let popoverArrowElement: any;
beforeEach(() => {
callerElement = {
getBoundin... |
<reponame>glowing-chemist/Bell
#include "VulkanShader.hpp"
#include "VulkanRenderDevice.hpp"
#include "Core/BellLogging.hpp"
#include <filesystem>
#include <fstream>
#include <iterator>
#include <windows.h>
#include <dxc/dxcapi.h>
VulkanShader::VulkanShader(RenderDevice* device, const std::string& path) :
Shad... |
<filename>libgpos/server/src/unittest/gpos/error/CLoggerTest.cpp<gh_stars>100-1000
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2010 Greenplum, Inc.
//
// @filename:
// CLoggerTest
//
// @doc:
// Unit test for logger classes.
//------------------... |
def smooth(x, window_len=7, window='hanning'):
if len(x) < window_len:
raise ValueError("Input vector length must be >= window length.")
if window_len < 3:
raise ValueError("Window length must be at least 3.")
if not window_len % 2:
window_len += 1
print("Window length rese... |
Requirements and ideas for the neutron instrumentation of the IFMIF test facilities
IFMIF will be an accelerator-based neutron source, currently under engineering design phase, with the purpose of testing and fully qualify fusion candidate materials. Fission chambers were identified as good candidates to control on-li... |
import { Page, RelationInfo } from '@foxpage/foxpage-types';
import { createContentInstance } from '@/content';
describe('content/main', () => {
it('createContentInstance test', () => {
const page = require('@@/data/page.json');
const relations = {
page: [page],
} as RelationInfo & { page: Page[] ... |
/**
* Global configurations for the transport client underneath.
*/
public static final class GlobalClientConfigurationProperties extends ClientConfigurationProperties {
private final GlobalHttpClientConfigurationProperties http = new GlobalHttpClientConfigurationProperties();
private final G... |
The Secretome of Phanerochaete chrysosporium and Trametes versicolor Grown in Microcrystalline Cellulose and Use of the Enzymes for Hydrolysis of Lignocellulosic Materials
The ability of white-rot fungi to degrade polysaccharides in lignified plant cell walls makes them a suitable reservoir for CAZyme prospects. Howev... |
<filename>packages/snyk-protect/test/unit/explore-node-modules.spec.ts
import * as path from 'path';
import { findPhysicalModules } from '../../src/lib/explore-node-modules';
describe(findPhysicalModules.name, () => {
it('works with no matching physical modules', () => {
const fixtureFolderRelativePath = '../fix... |
/// Runs the core and clears all breakpoints
pub fn run_core(session: Arc<Mutex<Session>>) -> Result<()> {
let mut session_lock = session.lock().unwrap();
let mut core = session_lock.core(0)?;
log::info!("Clearing breakpoints and entering run state");
core.clear_all_hw_breakpoints()?;
core.run()?;
... |
package io.opensphere.analysis.base.model;
import io.opensphere.analysis.binning.criteria.TimeBinType;
/** Bin type enum. */
public enum BinType
{
/** Range. */
RANGE("Range"),
/** Unique. */
UNIQUE("Unique"),
/** Periodic, primarily for time data. */
PERIOD("Period");
/... |
<gh_stars>100-1000
// Copyright (c) 2018 Cisco and/or its affiliates.
//
// 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 re... |
/**
* A view that handles buttons inside it according to a status.
*/
public class ButtonSwitcher extends FrameLayout {
public static final int NOT_INITIALIZED = -1;
public static final int STATUS_NO_BUTTON = 0;
public static final int STATUS_INSTALL = 1;
public static final int STATUS_CANCEL = 2;
... |
It's Friday and I don't know if you've noticed with my diaries but Friday is my favorite day to talk about how much Governor Tom Corbett (R. PA) sucks. Just when you thought he couldn't get any worse, he proves us wrong time and time again:
http://www.thejanedough.com/...
“What I hear all the time coming out of the a... |
// listFiles lists files in the given directory, returning a map of relative
// path to modification time.
func (w *Workdir) listFiles(dir string) (map[string]string, error) {
files := make(map[string]string)
absDir := w.AbsPath(dir)
if err := filepath.Walk(absDir, func(fp string, info os.FileInfo, err error) error ... |
The combined fortune of Britain's richest 1,000 people has hit a new high of £519bn – equivalent to a third of the nation's economic output, and double the figure of five years ago.
The worth of Britain's rich elite is up 15.4% from last year's total of £450bn, according to the Sunday Times Rich List.
Philip Beresfor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.