content
stringlengths
10
4.9M
The first scientific test on what is believed to be the remains of the Apostle Paul appears to confirm that they are genuine, the pope said. It was the second major discovery concerning St Paul announced by the Vatican in as many days. We’ll tell you what’s true. You can form your own view. From 15p €0.18 $0.18 $0.27...
def execute(self, job_name: str): raise Exception("Unsupported")
/** * Created by ilya on 3/28/16. */ public class SspyRowParser implements RowParser<SspyData> { @Override public SspyData parseRow(List<DataSample> samples, String rowStr) { String[] values = rowStr.split(" "); SspyData rowData = new SspyData(); rowData.counter = Long.parseLong(value...
n = int(raw_input()) h = map(int, raw_input().split()) d = [0]*1005 m = 0 c = 0 for hi in h: if d[hi]==0: c+=1 d[hi] += 1 if d[hi]>m: m = d[hi] print m, c
// whether or not a type is a C string, i.e. char pointer bool is_c_string(const cppast::cpp_type& type) { if (type.kind() != cppast::cpp_type_kind::pointer_t) return false; auto& pointee = cppast::remove_cv(static_cast<const cppast::cpp_pointer_type&>(type).pointee()); if (pointee.kind() != cppast:...
/********************************************************************************** * * StringTokenizer.h * * This file is part of Jam * * Copyright (c) 2014-2019 <NAME>. * Copyright (c) 2014-2019 Jam contributors (cf. AUTHORS.md) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of...
Interleukin-6 Receptor Antagonists in Critically Ill Patients with Covid-19 Abstract Background The efficacy of interleukin-6 receptor antagonists in critically ill patients with coronavirus disease 2019 (Covid-19) is unclear. Methods We evaluated tocilizumab and sarilumab in an ongoing international, multifactorial, ...
/** * Normalize separate character. Separate character should be '/' always. */ private String normalizeSeparateChar(final String pathName) { String normalizedPathName = pathName.replace(File.separatorChar, '/'); normalizedPathName = normalizedPathName.replace('\\', '/'); return normal...
// GetUser function defined to retrieve a user by id func GetUser(u uint) *User { user := &User{} GetDB().Table("users").Where("id = ?", u).First(user) if user.Email == "" { return nil } user.Password = "" return user }
<reponame>zhgo/example<filename>backend/collab/issue.go // Copyright 2014 The zhgo 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 collab import ( "github.com/zhgo/db" "time" ) // Entity struct type IssueEntity struct { ...
<reponame>JonnyBurger/tics import tics from './dist/index'; export default tics;
// Generated by the gRPC C++ plugin. // If you make any local change, they will be lost. // source: ads.proto #include "ads.pb.h" #include "ads.grpc.pb.h" #include <functional> #include <grpcpp/impl/codegen/async_stream.h> #include <grpcpp/impl/codegen/async_unary_call.h> #include <grpcpp/impl/codegen/channel_interfa...
def __clearWindowProperties(self): if self.windowPrc: unloadPrcFile(self.windowPrc) self.windowPrc = None WindowProperties.clearDefault()
import * as THREE from 'three'; import { OSMUtils } from '../../../garden-osm-utils/js/OSMUtils'; import { GORoad } from './GORoad'; import { GOLane } from './GOLane'; import { catarc_014 } from '../temp/tempdata' if (THREE && THREE.Curve) { let _THREE_Curve_computeFrenetFrames = (THREE.Curve as any).prototype.c...
The World Boxing Council, which has been at the forefront of drug testing among boxing's sanctioning organizations, completed implementation of its Clean Boxing Program on Tuesday and dropped a number of notable fighters from its rankings for failing to enroll. Among the 25 boxers the WBC dumped from its October ratin...
Analysis of cell division by time‐lapse cinematographic studies of hydrocortisone‐treated embryonic lung fibroblasts Hydrocortisone is a modulator of cell division and has been shown to prolong the replicative in vitro life span of human embryonic lung fibroblasts. Time lapse cinematography was used to analyze the pro...
def uw_validate(value, key, choices): if choices == "int": try: int(value) except ValueError: raise forms.ValidationError("Value must be an int") elif value not in choices: raise forms.ValidationError( "Value for %s was %s, must be one of: %s" ...
[np_storybar title=”John Ivison: Backbench revolt the closest thing to a revolution Harper’s seen yet” link=”http://fullcomment.nationalpost.com/2013/03/26/john-ivison-backbench-revolt-the-closest-thing-to-a-revolution-harpers-seen-yet/”%5D It may not rank alongside the storming of the Bastille but a gathering of 20 o...
<reponame>pulsar-chem/BPModule<filename>test/old/Old2/modules/BPTest.py #!/usr/bin/env python3 import os import sys import traceback import array # Add the pulsar path thispath = os.path.dirname(os.path.realpath(__file__)) psrpath = os.path.join(os.path.dirname(thispath), "../", "modules") parent = os.path.join(os.p...
<reponame>ostseegloeckchen/basics<filename>Primzahlen_finden_for.py<gh_stars>0 #Schleife mit for-Anweisung n=int(input("Zahl: ")) for i in range(2,n): if n%i==0: print(n,"==",i,"*",n//i) break if i==n-1: print(n,"ist eine Primzahl") #Schleife mit if-Anweisung n=int(inp...
/** * <pre> * Ensures the model with the specified id is loaded in this TAS cluster * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.ibm.watson.tas.proto.TasRuntimeOuterClass.ModelStatusInfo> ensureLoaded( com.ibm.watson.tas.proto.TasRuntimeOuterClass.EnsureLoadedReq...
def create_response(self, msg_id, source, content): with db.guarded_session() as session: result = session.execute( '''INSERT INTO `response` (`source`, `message_id`, `content`, `created`) VALUES (:source, :message_id, :content, now())''', { ...
def make_delete(self) -> 'DeleteQuery': return DeleteQuery(self)
/** The debug world contains every single block and block state that exists in the game, so let's test it. */ @Test public void testDebugWorld() throws IOException, URISyntaxException, InterruptedException { Set<Block> missingBlocks = new HashSet<>(); RenderSettings settings = new RenderSettings(); settings.regi...
/// Add the absolute values of two variables into result. pub fn add_abs(&self, other: &Self) -> Self { debug_assert!(!self.is_nan()); debug_assert!(!other.is_nan()); // copy these values into local vars for speed in inner loop let var1_ndigits = self.ndigits; let var2_ndigits = ...
import math N = int(input()) x = math.ceil(math.sqrt(N)) ans = [0]*N def f(x,y,z): return x**2+y**2+z**2+x*y+y*z+z*x for i in range(1,x): for j in range(i,x): for k in range(j,x): s = f(i,j,k) t = len(set([i,j,k])) if N >= s: if t == 3: ...
<gh_stars>0 # Copyright (c) 2021 <NAME>, MIT License """ mplotter: matplotlib plotter. Plotting helpers and styles for matplotlib & TeX projects. """ from .saving import * from .sizing import * from .styling import * from . import saving from . import sizing from . import styling from . import annotating from . impor...
<reponame>f3n9/qcloudcli<gh_stars>0 # -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class OfflineDeviceRequest(Request): def __init__(self): super(OfflineDeviceRequest, self).__init__( 'bm', 'qcloudcliV1', 'OfflineDevice', 'bm.api.qcloud.com') def get_instanceIds(self):...
<reponame>bosschaert/jclouds /** * * Copyright (C) 2010 Cloud Conscious, LLC. <<EMAIL>> * * ==================================================================== * 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 ...
package nst.projekat.domain; import javax.persistence.*; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.util.Set; @Entity public class Event implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long eventID; @NotNull priva...
<gh_stars>0 # 1. Создать программно файл в текстовом формате, записать в него построчно данные, вводимые пользователем. Об # окончании ввода данных свидетельствует пустая строка. FILE_NAME = 'task_1_data.txt' with open(FILE_NAME, 'w', encoding='utf-8') as f: while True: current_input = input('Type to save...
export const proProps = { contents: { type: [Array, String] }, noticeIcon: { type: String }, loop: { type: Boolean, default: true }, arrow: { type: Boolean, default: true }, autoplay: { type: Number, default: 1000 }, touchable: { type: Boolean, default: fals...
<filename>src/main/java/mil/dds/anet/search/ISubscriptionSearcher.java package mil.dds.anet.search; import mil.dds.anet.beans.Person; import mil.dds.anet.beans.Subscription; import mil.dds.anet.beans.lists.AnetBeanList; import mil.dds.anet.beans.search.SubscriptionSearchQuery; public interface ISubscriptionSearcher {...
def to_dict(self): result = { 'ticker': self.ticker, 'market_price': str(self.get_market_price()), 'price_history': [datum.to_dict() for datum in self.price_history]} top_ask = self.get_top_ask() if top_ask is not None: result['top_ask'] = top_ask....
<gh_stars>10-100 #pragma once #include<cstdlib> #include "vector.h" double dot(const vector& x, const vector& y) { double sum=0; unsigned int n=x.n; double *restrict xcoefs=x.coefs; double *restrict ycoefs=y.coefs; #pragma acc kernels present(xcoefs,ycoefs) { for(int i=0;i<n;i++) { sum+=xcoefs[i]...
/** * @author Sanju Thomas */ public class MarkLogicJsonWriter extends MarkLogicWriter implements Writer { private static final Logger logger = LoggerFactory.getLogger(MarkLogicJsonWriter.class); private static final ObjectMapper MAPPER = new ObjectMapper(); private static final String URL ...
def lazy_pgettext(context, string, **variables): from speaklater import make_lazy_string return make_lazy_string(pgettext, context, string, **variables)
/*! \brief En/disable the rescaler When enabled is true an event filter is installed for the canvas, otherwise the event filter is removed. \param on true or false \sa isEnabled(), eventFilter() */ void QwtPlotRescaler::setEnabled(bool on) { if ( d_data->isEnabled != on ) { d_data->isEnabled...
/* -*- Mode: C; c-basic-offset:4 ; -*- */ /* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2017 The University of Tennessee and The University * ...
def add_2d_ellipse(position, cov, ax, legend=None ): minor_axis_length, major_axis_length, alpha = get_ellipse_angle_rep(cov, rads=False) if legend: ellipse = Ellipse(position, 2*major_axis_length, ...
/** * The test suite for {@link ApiConfig}. * * @author Feng Zheng * @version 1.0 * @since 1.0 */ public class ApiConfigTest { /** * Tests {@link ApiConfig#ApiConfig()} is private. * * @throws NoSuchMethodException the no-such-method exception * @throws IllegalAccessException the illegal acce...
import { IsNotEmpty, IsAlphanumeric, IsAscii } from 'class-validator'; export class SupplierDto { @IsAlphanumeric() @IsNotEmpty() idCompany: string; @IsAscii() @IsNotEmpty() supplierName: string; }
package com.ibm.sbt.opensocial.domino.oauth.clients; import com.ibm.sbt.opensocial.domino.oauth.DominoOAuth2Client; /** * A {@link DominoOAuth2Client} for Connections. * */ public class ConnectionsOAuth2Client extends DominoOAuth2Client { /** * Creates a new DominoOAuth2Client for Connections. * @param autho...
/** * Expand the address prefix for the checksum computation. */ static byte[] expandPrefix(String prefix) { byte[] ret = new byte[prefix.length() + 1]; byte[] prefixBytes = prefix.getBytes(); for (int i = 0; i < prefix.length(); ++i) { ret[i] = (byte) (prefixBytes[i] & 0x1...
def ordenamiento_por_mezcla(lista): if len(lista) > 1: medio = len(lista) // 2 izquierda = lista[:medio] derecha = lista[medio:] print(f'lista: {lista}') print(f'Izquierda: {izquierda}') print(f'Derecha: {derecha}') print(f'mitad: {medio}') ordenami...
export * from './l10n-ua.dictionary';
FILE - In this May 28, 2013, file photo, an outdoors sign for Walmart is seen in Duarte, Calif. After enduring a severe winter that chilled business, Wal-Mart is trying to lure shoppers into its stores with the biggest weapon in its arsenal: a big sale. The world’s largest retailer is offering up to 50 percent on mor...
<filename>resthub-common/src/main/java/org/resthub/common/view/ResponseView.java<gh_stars>1-10 package org.resthub.common.view; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) public @interface ResponseView { public Class<?> value(); }
#include <stdio.h> #include <string.h> typedef struct { int b, tx; int time; } TOWER; TOWER queue[400]; int head, tail; void enq(TOWER t) { queue[(tail++) % 400] = t; } void deq(TOWER *t) { *t = queue[(head++) % 400]; } int main(void) { TOWER first, temp; int building[2][100]; char v[2...
// SendChannelInvite asynchronously sends a channel invite to a remote cluster. The remote cluster is // expected to create a new channel with the same channel id, and respond with status OK. // If an error occurs on the remote cluster then an ephemeral message is posted to in the channel for userId. func (scs *Service...
int XXX(int x){ int tmp; int ret = 0; while(x){ tmp = x%10; x/=10; if(ret>(int)0x7fffffff/10||ret<(int)0x7fffffff/-10) return 0; ret = ret*10+tmp; } return ret; }
#include<bits/stdc++.h> #include<bits/extc++.h> using namespace std; using namespace __gnu_pbds; typedef long long ll; int main() { ll n; cin>>n; vector<ll> a(n),b(n); for(ll i=0;i<n;i++) cin>>a[i]; for(ll i=0;i<n;i++) cin>>b[i]; vector<ll>dpa(n),dpb(n); dpa[0]=a[0]; dpb[0]=b[0]; f...
<gh_stars>1000+ /*- * << * DBus * == * Copyright (C) 2016 - 2019 Bridata * == * 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 * ...
/** * @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a> * @author <a href="mailto:bill@burkecentral.com">Bill Burke</a> * @version $Revision: 1 $ */ public class LDAPFederationProvider implements UserFederationProvider { private static final Logger logger = Logger.getLogger(LDAPFederationProvi...
/** * The test main * @param args ignored */ public static void main(String[] args) { Instance[] instances = { new Instance(new DenseVector(new double[] {100,1,0,0,0,0,0,0}), new Instance(1)), new Instance(new DenseVector(new double[] {0,0,10,10,100,0,0,0}), new Instan...
<filename>src/resolvers/Line.ts import { Context } from '../types'; import { getStations, getDirections } from '../services/soap'; import { LineResolvers } from '../types/graphql'; const Line: LineResolvers = { stations: async ({ id }, args, ctx: Context) => { const stations = await getStations(ctx.client, { ...
// TODO: Renable this rule for the file or turn it off everywhere /* eslint-disable react/display-name */ import { StyleConstants } from "../../../Common/Constants"; import { FunctionComponent, useState, useEffect } from "react"; import * as React from "react"; import { DefaultButton, IButtonStyles } from "office-ui-f...
/** * <p> * A {@link org.apache.mahout.cf.taste.model.JDBCDataModel} backed by a PostgreSQL database and * accessed via JDBC. It may work with other JDBC databases. By default, this class * assumes that there is a {@link javax.sql.DataSource} available under the JNDI name * "jdbc/taste", which gives access to a da...
def write_jsons(data, path, filenames): if not isinstance(data, (list, tuple)): raise TypeError('`data` must be list or tuple') elif not isinstance(path, str): raise TypeError('`path` must be str') elif not isinstance(filenames, (list, tuple)): raise TypeError('`filenames` must be li...
from tkinter import * import os paste = os.path.dirname(__file__) def teste(): print('') def new_cont(): exec(open(paste+r'\062.py').read(), {'x':1}) app = Tk() app.title('Menu de Opções') app.geometry('700x450') app.configure(background='#dde') barra_de_menu = Menu(app) menu_contatos = Menu(barra_de_menu,...
<gh_stars>1-10 # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License")...
/** * <p>Title: MyJavaTools: Files handling Tools</p> * <p>Description: Miscellaneous file-handling tools. * Good for Java 1.4 and up.</p> * <p>Copyright: This is public domain; * The right of people to use, distribute, copy or improve the contents of the * following may not be restricted.</p> * * @version 1.4 ...
Adrenergic system in high altitude residents. Heart rate (HR) response to isoproterenol (ISO) infusion (IP) is decreased in normal sea level (SL) natives exposed to high altitude (HA). Since norepinephrine plasma concentration is higher in HA hypoxia, a downregulation of beta-adrenoceptors (beta AR) was evoked. We exp...
// Scatter returns a DataflowScatterWorkload // description is TBD func (obj *dataflowWorkloadItem) Scatter() DataflowScatterWorkload { if obj.obj.Scatter == nil { obj.SetChoice(DataflowWorkloadItemChoice.SCATTER) } if obj.scatterHolder == nil { obj.scatterHolder = &dataflowScatterWorkload{obj: obj.obj.Scatter} ...
Kotaku East East is your slice of Asian internet culture, bringing you the latest talking points from Japan, Korea, China and beyond. Tune in every morning from 4am to 8am. In Spaceballs, one of the greatest movies ever made, Mel Brooks huffs canned air. The movie features a made up brand called "Perri-Air", but that ...
import java.util.*; public class Main{ public static void main(String []args){ Scanner scn=new Scanner(System.in); int n=scn.nextInt(); String s=scn.nextLine(); s=scn.nextLine(); int min=Integer.MAX_VALUE; int count=0; for(int i=0;i<n-3;i++){ ...
Zwitterionic polypeptides: Chemoenzymatic synthesis and loosening function for cellulose crystals. A polypeptide with a GlyHisGly repeating sequence containing zwitterionic structures that effectively interact with cellulose was synthesized by chemoenzymatic polymerization followed by postfunctionalization of the side...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** package ram import ( "context" "reflect" "github.com/pkg/errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) // Provides a RAM role attachm...
package rule import ( "fmt" "strings" "github.com/Antuans-Tavern/ecommerce-backend/pkg/lang" ut "github.com/go-playground/universal-translator" "github.com/go-playground/validator/v10" "gorm.io/gorm" ) func exists(db *gorm.DB) func(validator.FieldLevel) bool { return func(fl validator.FieldLevel) bool { par...
Esophageal and Mediastinal Lesions Following Multielectrode Duty‐Cycled Radiofrequency Pulmonary Vein Isolation: Simple Equals Safe? The development of esophageal lesions following atrial fibrillation (AF) ablation has frequently been reported. Mediastinal tissue layers and the posterior wall of the left atrium are in...
def assert_is_not(expected, actual, message=None, extra=None): assert expected is not actual, _assert_fail_message( message, expected, actual, "is", extra )
#include <stdio.h> int main() { puts("Enter four integers:"); int a,b,c,d; scanf("%d %d %d %d",&a,&b,&c,&d); if (a<b){int t=a;a=b;b=t;} if (c<d){int t=c;c=d;d=t;} if (a>c) printf("Largest: %d\n",a); else printf("Largest: %d\n",c); if (b<d) printf("Smallest: %d\n",b); else printf("Smallest: %d\n",d); return 0...
def tricks_generate_yaml(args): import yaml python_paths = path_split(args.python_path) add_to_sys_path(python_paths) output = StringIO() for trick_path in args.trick_paths: TrickClass = load_class(trick_path) output.write(TrickClass.generate_yaml()) content = output.getvalue() ...
def grid_2d_via_mask_from( mask_2d: np.ndarray, pixel_scales: (float, float), sub_size: int, origin: (float, float) = (0.0, 0.0), ) -> np.ndarray: grid_2d_slim = grid_2d_slim_via_mask_from( mask_2d=mask_2d, pixel_scales=pixel_scales, sub_size=sub_size, origin=origin ) return grid_2d_...
/// Return a copy of this node, but remove any potential private key /// material contained in the `Node`. pub(in crate::treesync) fn node_without_private_key(&self) -> Option<Node> { if let Some(node) = self.node() { match node { Node::LeafNode(leaf_node) => Node::LeafNode(LeafNode:...
def main_convert_exb(args): exb_path = args[0] eaf_path = args[1] duration = ( None if len(args) <= 2 else ast.literal_eval(args[2])) duration_str = ( repr(None) if duration is None else '{:.3f}s'.format(duration)) log.debug( '\nexb_path:\n{}' '\neaf_path:\n{}' ...
A honey wagon (vacuum truck) in Cambridge Bay A honeywagon is the slang term for a "vacuum truck" for collecting and carrying human excreta.[1] These vehicles may be used to empty the sewage tanks of buildings, aircraft lavatories and at campgrounds and marinas as well as portable toilets. The folk etymology behind th...
#include <bitthunder.h> #include <string.h> #include <lib/putc.h> #include "../../../../arch/arm/mach/lpc11xx/timer.h" void SetDutyCycle(BT_HANDLE hTimer, BT_u32 ulDutyCycle){ BT_LPC11xx_TIMER_CONFIG oTimerConfig; oTimerConfig.Control = 0; oTimerConfig.ExtMatchControl = 0; oTimerConfig.CaptureControl = 0; oT...
<gh_stars>1-10 #include "../HeaderFile/ctlno.h" #include "../HeaderFile/client.h" #include "../HeaderFile/unixhead.h" #include "../HeaderFile/pthread_pool.h" void* pthread_download_file(void* arg) { int sock_fd = *(int*)arg; char buf[4096]; while(1) { memset(buf,0,sizeof(buf)); int len;...
/** * RpnCalculatorFactorialTests * * Thanks Brett L. Schuchert for TDD tutorial (https://vimeo.com/10570537) */ public class RpnCalculatorFactorialTests { private RpnCalculator calculator; @BeforeEach public void init() { calculator = new RpnCalculator(); } @Test @Tag("UNITARIO"...
def _query_qualifiers(self, function_name, long_name, rule_id, extraction_id): cursor = self._connection.cursor() stmt = ("SELECT vocabulary_id, concept_code, value_as_string, value_as_number, value_as_concept_id " "FROM categorization_function_qualifiers " "WHERE functio...
#ifndef async_task_h__ #define async_task_h__ #include <type_traits> #include "common/async_tasker.h" #include "common/job_type_enums.h" #include <boost/preprocessor/facilities/overload.hpp> #include <boost/preprocessor/cat.hpp> #include <boost/preprocessor/facilities/empty.hpp> #define _STATE_CHECK_MACRO_1(_arg_) ...
Arizona #NeverTrump Senator Jeff Flake – Supports Hillary’s VP Pick Guest post by Joe Hoft After consistent criticisms of Republican Presidential Candidate Donald Trump, Republican Senator Jeff Flake from Arizona tweeted yesterday his approval for Hillary Clinton’s newly announced Democrat Vice President Candidate Ti...
<gh_stars>0 from action_handlers.action_handler import ActionHandler, Action from telegram import InlineQueryResultArticle, InputTextMessageContent from telegram.inlinekeyboardmarkup import InlineKeyboardMarkup from telegram.inlinekeyboardbutton import InlineKeyboardButton from settings import EnvSettings import consta...
def testDecryptElement(self): settings = OneLogin_Saml2_Settings(self.loadSettingsJSON()) key = settings.get_sp_key() xml_nameid_enc = b64decode(self.file_contents(join(self.data_path, 'responses', 'response_encrypted_nameid.xml.base64'))) dom_nameid_enc = parseString(xml_nameid_enc) ...
Evaluation of circuit performance of T-shaped tunnel FET This study investigates the analogue performance of a III–V tunnelling field-effect transistor (TFET). To explore the circuit performance of the TFET, a T-shaped TFET (TTFET) structure is investigated and its performance parameters are compared with a 14 nm simu...
<gh_stars>1-10 // Copyright Banrai LLC. All rights reserved. Use of this source code is // governed by the license that can be found in the LICENSE file. package ui import ( "bytes" "database/sql" "fmt" "github.com/Banrai/TeamWork.io/server/database" "io" "net/http" "strings" ) const NO_SUCH_MESSAGE = "There ...
/** * Created by IntelliJ IDEA. * User: Admin * Date: 27.11.11 * Time: 22:45 * To change this template use File | Settings | File Templates. */ public class AppHttpStatus { public static String getReasonPhrase(int code, String defaultPhrase) { switch (code) { case 404: retu...
The Institute for Data Center Professionals at Marist College is pleased to offer an on line COBOL Application Programming Certificate beginning in the Fall of 2014. The demand for COBOL knowledge and skills will likely continue long into the future as an estimated 200 Billion lines of COBOL code continues to run major...
An empirical centre assignment in RBF network for quantification of anaesthesia using wavelet-domain features The assessment of the hypnotic state of the brain is crucial to the process of an operation under general anaesthesia. A noninvasive method of quantifying depth of anaesthesia is through analysis of electroenc...
package com.zbar.lib; /** * 使用Zbar解析二维码 * * 注:加载JNI库时,其包路径必须与JNI库编译打包时一致,否则会报错 */ public class ZbarManager { static { // 加载zbar库 System.loadLibrary("zbar"); } /** * 本地解码方法 * * @param data * @param width * @param height * @param isCrop * @param x * @param y ...
/** * Demo code for API usage. */ public class DemoCode { private void init() { String applicationId = "my_app"; String transactionServiceGroup = "my_tx_group"; TMClient.init(applicationId, transactionServiceGroup); RMClientAT.init(applicationId, transactionServiceGroup); } ...
def _sys_apply_linear(self, mode, do_apply, vois=(None, ), gs_outputs=None, rel_inputs=None): if mode == 'fwd': sol_vec, rhs_vec = self.dumat, self.drmat for voi in vois: rhs_vec[voi].vec[:] = 0.0 else: sol_vec, rhs_vec = self...
#ifndef __TRACE_H__ #define __TRACE_H__ #include <string> #include <cstdarg> #include <cstdio> #include <string> #include <stack> #define ATTR(attr) "\033[" attr "m" #define REATTR(attr) "\033[0m" ATTR(attr) #define AND ";" #define RESET "0" #define BOLD "1" #define DARKER "2" #define UNDERLINE "4" ...
/** * Nur um compilieren anzustossen */ public class CompileTest { static Platform platform = TestFactory.initPlatformForTest( new String[] {"engine"}, new PlatformFactoryHeadless()); @Test public void testSegmentedPath() { } }
def structuredattribute_properties(cls): return cls._namespace_GVF1O('GVF1_0153')
def GetTestLocation(self, test_name): test_locations = self.test_results_json.get('test_locations') if not test_locations: error_str = 'test_locations not found.' return None, error_str test_location = test_locations.get(test_name) if not test_location: error_str = 'test_location not f...
<filename>src/Aula09ex24.py nome = str(input('Nome completo? ')).strip() print('Nome tem Silva? {}'.format('silva' in nome.lower()))
<gh_stars>1-10 package com.bukhmastov.cdoitmo.object.schedule; import com.bukhmastov.cdoitmo.model.schedule.exams.SExams; public interface ScheduleExams extends Schedule<SExams> { String TYPE = "exams"; }
def mayaClosedEvent(): for libraryWidget in studiolibrary.LibraryWidget.instances(): libraryWidget.saveSettings()