content
stringlengths
10
4.9M
<filename>pkg/gather/doc.go // Package gather contains platform specific methods for gathering console // logs. package gather
param = [{ 'bootstrap': True, 'max_depth': 10, 'max_features': 'sqrt', 'min_samples_leaf': 1, 'min_samples_split': 10, 'n_estimators': 749 }, { 'bootstrap': True, 'max_depth': 10, 'max_features': 'sqrt', 'min_samples_leaf': 1, ...
<filename>mdw-hub/src/com/centurylink/mdw/hub/servlet/TestCaseServlet.java package com.centurylink.mdw.hub.servlet; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.servlet.ServletException; import javax.servlet.anno...
// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/builtins/builtins-utils-gen.h" #include "src/builtins/builtins.h" #include "src/code-stub-assembler.h" namespace v8 { namespace internal ...
def _opt_select(nodes, c_puct=C_PUCT): total_count = 0 for i in range(nodes.shape[0]): total_count += nodes[i][1] action_scores = np.zeros(nodes.shape[0]) for i in range(nodes.shape[0]): action_scores[i] = nodes[i][0] + c_puct * nodes[i][2] * \ (np.sqrt(total_count) / (1 ...
/** * SerDeValue class: * This is used so that the value to serialize is specified * as a property, so that the type information gets included in * the serialized String. */ private static class SerDeValue { // Name of the field used in the intermediate JSON representation private static fi...
<filename>src/core/abstracts/exchange-with-credit.abstract.ts import { UpdateResult } from "typeorm"; export abstract class IExchangeWithCreditRepository<T>{ abstract createExchangeWithCredit(exchange: T): Promise<T> abstract getIdByExchange(exchange: T): Promise<Number> abstract updateExchangeBooks(id: ...
THE DANGERS OF MYSTICISM By Aleister Crowley Publication in Class C With comments by Frater Apollonius 4°=7 A∴A∴ Affectionately inscribed to Arthur Edward Waite Do what thou wilt shall be the whole of the Law. In its splintering, the original Order of the Golden Dawn had produced several groups that turned the...
// Convert images to thumbnails. public class ThumbnailTransformer implements Drafty.Transformer { protected List<PromisedReply<Void>> components = null; public PromisedReply<Void> completionPromise() { if (components == null) { return new PromisedReply<>((Void) null); } ret...
#pragma once #include "swVec3.h" class swRay { public: swRay() = default; swRay(const swVec3 &o, const swVec3 &d, float t = 0, float nt = 0, float xt = FLT_MAX) : orig(o), dir(d), tm(t), minT(nt), maxT(xt) {} swVec3 origin() const { return orig; } swVec3 direction() const { return di...
/** * Hash, Counting, Bucket * * Runtime: 10 ms, faster than 62.55% of Java online submissions for Top K Frequent Elements. * Memory Usage: 41.7 MB, less than 42.94% of Java online submissions for Top K Frequent Elements. */ public int[] topKFrequent(int[] nums, int k) { /* key: number value: count of n...
/** * Unit tests for AbstractCommandNode. * */ public final class AbstractSoyCommandNodeTest extends TestCase { public void testGetTagString() { DummyNode dn = new DummyNode(8, "blah blah"); assertEquals("{dummy blah blah}", dn.getTagString()); assertEquals("{dummy blah blah}", dn.toSourceString());...
<reponame>dbrodie/rex #[derive(Copy, Clone, Debug)] pub enum Style { Default, Selection, Hint, StatusBar, InputLine, InputLineError, MenuShortcut, MenuEntry, MenuTitle } #[derive(Copy, Clone, Debug)] pub enum KeyPress { Key(char), Shortcut(char), Left, Right, Up,...
/* * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use thi...
/** * Message from client > server requesting events about job progress. */ @JsonTypeName("job-progress-listen") public static class ListenProgress extends Payload { private final JobId id; @JsonCreator public ListenProgress(@JsonProperty("id") JobId id) { super(); this.id = id; } ...
<reponame>LotuxPunk/K9<gh_stars>0 package com.vandendaelen.k9.objects.blocks; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.item.Item; import java.util.Random; public class BlockOres extends BlockBase { private Item toDrop; private int min...
def causal_estimation(cpi, rate): data = cpi.join(rate.rename(columns={'Uruguay': 'usd_uyu'})) data = data.rename( columns={'Uruguay': 'cpi_uy', 'United States': 'cpi_usa'}) data['raw_q'] = data.cpi_uy / data.cpi_usa data['instant_mean_coef'] = data.usd_uyu / data.raw_q data['mean_coef'] = d...
// CopyFromModel copies model data to entity func (p *Backup) CopyFromModel(m *model.Backup) { p.ID = m.ID p.ProjectID = m.ProjectID p.FileName = m.FileName p.StorageFilePath = m.StorageFilePath p.Time = m.Time p.Type = m.Type p.Length = m.Length }
import express from 'express'; import { body } from 'express-validator'; import { signupUserHandler } from '../../controller/account/signup.controller'; import validation from '../../middleware/validationResult'; const router = express.Router(); router.post( '/api/v1/users/signup', [ body('username').isLengt...
n, k = map(int, input().split()) s = list(input()) group_num = 1 tmp_char = s[0] for index in range(1, len(s)): if s[index] == tmp_char: continue else: tmp_char = s[index] group_num += 1 group_num = max(1, group_num - (k-1)*2) if group_num >= 3: group_num -= 2 elif group_num == 2: ...
<reponame>andipaetzold/zwiftmap import { Chip } from "@react-md/chip"; import { MenuItemInputToggle } from "@react-md/form"; import { List, SimpleListItem } from "@react-md/list"; import { FilterListSVGIcon } from "@react-md/material-icons"; import { Menu } from "@react-md/menu"; import { BELOW_INNER_LEFT_ANCHOR, useTo...
<reponame>hunshikan/corant /* * Copyright (c) 2013-2018, Bingo.Chen (<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 copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
import java.applet.Applet; import java.awt.*; import java.awt.event.*; public class test_frame extends Frame implements ActionListener { calculatrice cal; TextField tf; public test_frame() { //initialise l'applet setSize(300,300); MenuItem mi ; setLayout(new BorderLayou...
/** * Access to Import controller * @return Returns the Import() instance */ func (me *COHESITYMANAGEMENTSDK_IMPL) Import() mimport.MIMPORT { if (me.mimport) == nil { me.mimport = mimport.NewMIMPORT(me.config) } return me.mimport }
Changing public service delivery: learning in co-creation Co-creation – where citizens and public organizations work together to deal with societal issues – is increasingly considered as a fertile solution for various public service delivery problems. During co-creation, citizens are not mere consumers, but are active...
#pragma once struct lua_State; namespace Afk { /** * Add bindings for imgui to the engine */ auto add_imgui_bindings(lua_State *l) -> void; }
Physiological studies on nitric oxide in the right sided colon of patients with diverticular disease. BACKGROUND/AIMS Previously, we reported that non-adrenergic non-cholinergic (NANC) inhibitory nerves are decreased in the left-sided colon of patients with diverticular disease, contributing to their intraluminal high...
#include<bits/stdc++.h> using namespace std; #define ll long long #define ld long double #define mod 1000000007 #define mod2 1000000000 #define mod1 998244353 #define lol ios_base::sync_with_stdio(false);cin.tie(NULL); #define all(x) (x).begin(), (x).end() #define F(i, n) for (ll (i) = 0; (i) < (n); (i)++) #d...
import enum from pydantic import BaseModel, Field from typing import List, Optional from datetime import datetime class CDOContext(BaseModel): """Common CDO Context arrtibutes""" tags: Optional[dict] tag_keys: Optional[list] = Field(alias="tagKeys") tag_values: Optional[list] = Field(alias="tagValues...
#!/usr/bin/env python """ Make ROC plots for the ANN we trained """ import pathlib import numpy as np import seaborn as sns import pandas as pd import matplotlib.pyplot as plt from final_project import model, io, alignment # Constants THISDIR = pathlib.Path(__file__).resolve().parent WEIGHTDIR = THISDIR / 'weig...
/** * Posts an {@link AdjustScrollerCommand} within the given <code> * delayMillis</code> * . */ private void postAdjustScrollerCommand(int delayMillis) { if (mAdjustScrollerCommand == null) { mAdjustScrollerCommand = new AdjustScrollerCommand(); } else { remo...
def train(self, state, action, reward, next_state, done): if done: target = reward else: target = reward + self.gamma * np.amax(self.model.predict(next_state), axis=1) target_full = self.model.predict(state) target_full[0, action] = target self.model.sgd(s...
<filename>app/subdock/components/DraggableSubdockItem.tsx import * as React from 'react'; import { DragSource, DragSourceMonitor, DropTarget } from 'react-dnd'; import { getEmptyImage } from 'react-dnd-html5-backend'; import SubdockItem, { BareApplication, WrappedActions } from './SubdockItem'; import { findDOMNode } f...
import program from "commander"; import { makeLogger } from "../../lib/logging" import { machineConfigPackage } from "@createdreamtech/carti-core" import * as clib from "@createdreamtech/carti-core" import { Bundle, bundle, PackageEntryOptions, generateLuaConfig } from "@createdreamtech/carti-core" import { Config, get...
Comedy seems to work best when done in groups. This is not just true of older comedy routines – most modern television comedy hits are such due to the supporting actors. For example, Will and Grace would never have survived were it not for the character of Karen Walker. This list looks at ten of the most prolific and m...
<filename>iterator.go // Copyright 2014 <NAME>. 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 req...
def _distance(self, other_loc): return np.sqrt(np.sum((self._loc - other_loc)**2))
<filename>src/main/java/com/imbus/bank/profilePictureModule/entity/ProfilePictureEntity.java package com.imbus.bank.profilePictureModule.entity; public class ProfilePictureEntity { private int userID; private String pictureUrl; }
<reponame>smooresni/batchwave<gh_stars>1-10 import functools def constrain_type(required_type: type, position=1): def wrapper(func): @functools.wraps(func) def set_value(*args, **kwargs): if not isinstance(args[position], required_type): raise TypeError('Value must be i...
/* * Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
<filename>src/components/pages/LoginPage/LoginForm.tsx import React from 'react'; import { SubmitHandler, useForm } from 'react-hook-form'; import { useHistory } from 'react-router-dom'; import { useSetRecoilState } from 'recoil'; import { Auth } from '../../../api'; import { Roles } from '../../../api/Auth'; import { ...
def parse_payload(self, payload:dict) -> dict: return { 'airline_code': payload['airline']['iata'], 'flight_number': payload['flight']['number'], 'flight_date': payload['flight_date'], 'flight_status': payload['flight_status'], 'departure_airport': pay...
package {{.PackageName}} import ( "strings" ) func (api {{.Name}}API) Delete(deleteObject {{.Name}}) error { objects, err := api.Get(deleteObject) if err != nil { return err } if api.Hooks.PreDelete != nil { if err = api.Hooks.PreDelete(objects); err != nil { if err == StopOperation { re...
def build_all_images_for_lang(lang): if not args.git_checkout: if args.release != 'master': print( 'Cannot use --release without also enabling --git_checkout.\n') sys.exit(1) releases = [args.release] else: if args.release == 'all': rel...
// 16 bit colour - of last conversion. uint16_t Kelvin2RGB::RGB565() { uint16_t val = 0; val = uint8_t(_red * 32); val <<= 6; val |= uint8_t(_green * 64); val <<= 5; val |= uint8_t(_blue * 32); return val; }
// ChangeSvcCheckTimeperiod creates a new "CHANGE_SVC_CHECK_TIMEPERIOD" Nagios command. // // Changes the check timeperiod for a particular service to what is specified by the "check_timeperiod" option. // // The "check_timeperiod" option should be the short name of the timeperod that is to be used as the service check...
LAS VEGAS — The UFC is trying to get in on the sweet science in an official capacity. MMA’s leading organization has made a request with the Nevada Athletic Commission (NAC) to co-promote the huge Floyd Mayweather vs. Conor McGregor boxing match Aug. 26 in Las Vegas, per the commission’s upcoming meeting agenda. The ...
// Convert makes a best-effort at converting a value into a valid value func (object Object) Convert(value interface{}) interface{} { result := object.DefaultValue().(map[string]interface{}) valueAsMap := convert.MapOfInterface(value) for key, element := range object.Properties { if newValue, ok := valueAsMap[key]...
package org.apache.commons.lang3; import java.io.PrintStream; public final class c { private static String a; private static final JavaVersion b; private static String c; private static String d; private static boolean e; private static boolean f; private static boolean g; private static boolean h; ...
Single Phase Convective Heat Transfer Passive Enhancement: Techniques, Mechanisms, Performance Comparisons and Applications In this keynote lecture an overview of single phase convective heat transfer passive enhancement techniques and their underlying mechanisms is provided. Then detailed analyses of the hydraulic an...
/** * This class illustrates the basic structure of a JUnit Test which needs to interact with a single Kafka * broker running in a docker container on the current machine. */ public class SimpleUnitTest { // --- Kafka Stuff -------------------------------------------------------------------------------------- p...
<filename>src/JavaToC/DirectFourierTransform.java package JavaToC; import java.io.File; import javax.swing.JFileChooser; public class DirectFourierTransform { public static boolean useGPU = true; public static native double[] direct(double[] input, int rowsFirst, int nRows, int nCols); /** * * @param in...
def aligntime(dct, channels=None, mode="truncate", value=0): if channels is not None: err = 0 for item in channels: if item not in dct: err = 1 print(f"Channel {item} not found in `dct`.") if err: raise ValueError( "`dct...
<reponame>adamb70/posthog<gh_stars>1-10 import { useValues } from 'kea' import { featureFlagLogic } from 'lib/logic/featureFlagLogic' import React from 'react' import imgEmptyLineGraph from 'public/empty-line-graph.svg' import imgEmptyLineGraphDark from 'public/empty-line-graph-dark.svg' import { QuestionCircleOutlined...
# -*- coding: utf-8 -*- # # Copyright 2017 <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 a...
/* Initialize the current state to the starting position of the * current puzzle, and reset the macro array and the stack. */ void initgamestate(int usemoves) { int i; memcpy(state.map, state.game->map, sizeof state.map); state.player = state.game->start; initmovelist(&state.undo); if (!state.game...
#include "stdafx.h" #include "accelerators.h" #include "language.h" ACCEL accel[] = { FNOINVERT|FVIRTKEY, VK_SPACE, KEY_PLAYPAUSE, FNOINVERT|FVIRTKEY, 'V', KEY_STOP, FNOINVERT|FVIRTKEY, VK_LEFT, KEY_REWINDBACK, FNOINVERT|FVIRTKEY, VK_RIGHT, KEY_REWINDFORWARD, FNOINVERT|FVIRTKEY, VK_UP, KEY_VOLUMEUP, FNOINVERT...
Businesses of various sizes are extremely worried about information security. On a daily basis, we hear news of banks and financial institutions losing customer records, confidential information and money due to cyberattacks. Cyberattacks have increased exponentially over the last 5 years, and attack methods are becomi...
/** * Starts listening to location changes. Does nothing if is already * listening. */ public void start() { if (isWorking) return; Log.d("LocationFinder", "started"); List<String> providers = manager.getAllProviders(); for (String provider : providers) { if (manager.isProviderEnabled(provider...
// removePtrIfExists so the underlying type can be exposed. This is helpful // when they want to change the value in a loop for example. func removePtrIfExists(reflectOfV reflect.Value) reflect.Value { switch reflectOfV.Kind() { case reflect.Ptr: reflectOfV = reflectOfV.Elem() } return reflectOfV }
#ifndef ADV_DB_STORE_EDGES #define ADV_DB_STORE_EDGES #include "store.h" #include "types.h" /* EDGE PAGE header edge item(s) EDGE ITEM TOTAL SIZE: 24 bytes node_id (8): end node id of this edge type (4): type of the edge wgt (4): weight of the edge kv (8): pointer to key/values of edge */ edge_p edges_add(s...
/** * Render list of libraries used */ public class OpenSourceReferenceList extends Control { private static final String PROPERTY_LINK = ".link.\\d$"; private static final Pattern linkPattern = Pattern.compile(PROPERTY_LINK); private final List<Item> items = new ArrayList<>(); public OpenSourceReferenceList(Pro...
We report an adolescent girl who had left-sided neurogenic thoracic outlet syndrome (TOS) due to impingement of the scalenus anterior muscle with bilateral changes on nerve conduction studies and responded well to surgical decompression. A 13-year-old Caucasian girl presented with intermittent pain, swelling, erythema,...
from abc import ABC, abstractmethod class Environ(ABC): """ Environ """ def get(self, key, default=None): """ Get str value @return: str @rtype: str """ raise NotImplementedError("Not implemented error") def get_str(self, key, default=None): ...
/** * This is the C++ adaptation and derivative work of Myia (https://github.com/mila-iqia/myia/). * * Copyright 2019-2022 Huawei Technologies Co., Ltd * * 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...
def compute_cross_entropy_loss(labels, logits, label_mask_value: Optional[int] = -1): neg_log_probs = tf.nest.map_structure( lambda x, y: compute_neg_log_probs(x, y, label_mask_value), labels, logits) return tf.reduce_mean(sum(tf.nest.flatten(neg_log_probs)), axis=0)
<gh_stars>0 import { StepType } from '../../../core/entities/StepType' import { PollDetailComponentProvider } from './PollDetailComponentProvider' export class CompoundPollDetailComponentProvider<A, B> implements PollDetailComponentProvider<A & B> { private lhs: PollDetailComponentProvider<A> private rhs: PollDe...
To understand Californians’ favorite methods for ingesting cannabis, Joshua Hoffman likens it to the different ways of experiencing music. Think of smoking cannabis flowers like attending a live concert, he said. The second most popular method — vape pens — is like listening to a CD on high-end speakers. “The flower ...
def p_to_string(p): p_rounded = np.round(p, 3) if p_rounded >= 0.05: p_str = '$p = {}$'.format(p_rounded) elif p_rounded < 0.05 and p_rounded >= 0.01: p_str = '$p < 0.05$' elif p_rounded < 0.01 and p_rounded >= 0.001: p_str = '$p < 0.01$' else: p_str = '$p < 0.001$' ...
Twelve years ago, a stock boy at Target purchased a chunk of space debris at the Tucson Gem and Mineral Show that changed his life forever. Michael Farmer, aka the Meteorite Guy, holding a 20-pound meteorite on the boarder of Morocco. According to his website, he is wearing a "Jeleba," a traditional outfit for the are...
<reponame>ifeilong/feilong-json /* * Copyright (C) 2008 feilong * * 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 * * Un...
/** * Executes Telegram request synchronously. * * @param request Telegram Request. * @param <T> Telegram response type. * @return Telegram response. * @throws InterruptedException if errors occur. * @throws ExecutionException if errors occur. * @throws TimeoutException ...
<filename>library/src/androidTest/java/com/google/android/exoplayer/text/ttml/TtmlStyleTest.java /* * Copyright (C) 2014 The Android Open Source Project * * 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 ...
IUD-related hospitalizations. United States and Puerto Rico, 1973. In a mail survey of physicians likely to be involved with intrauterine contraception in the United States and Puerto Rico, 49.2% of the physicians responded, describing 3,502 unduplicated reports of hospitalizations related to the use of intrauterine c...
def save(self, entity): collection = self.get_database_collection(entity.__class__) if '_id' in entity and entity['_id'] is not None: collection.replace_one({'_id': entity['_id']}, entity) else: entity['_id'] = collection.insert_one(entity).inserted_id
/* * 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"); you may ...
/* * Logically we would return an error here to prevent users from believing * they might have changed mount options using remount which can't be changed. * * But unfortunately mount(8) adds all options from mtab and fstab to the mount * arguments in some cases so we can't blindly reject options, but have to * ch...
<filename>src/test/java/ch/rasc/extclassgenerator/bean/BeanWithValidation.java /** * Copyright 2013-2018 the original author or authors. * * 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 ...
/** * Return true if any evaluator returns true, indicating that * the stack trace should not be logged. */ private boolean isExcludedByEvaluator(ILoggingEvent event) { for (int i = 0; i < evaluators.size(); i++) { EventEvaluator<ILoggingEvent> evaluator = evaluators.get(i); ...
/** * <p> * </p> * ClassName:ResourceLoaderTest <br> * Date: Sep 15, 2017 4:40:54 PM <br> * * @author kehw_zwei * @version 1.0.0 * @since JDK 1.8 */ public class ResourceLoaderTest { @Test public void blueprintTest() throws IOException { Map<Integer, Blueprint> blueprintMap = JacksonUtil.crea...
/** * * @param model * @param compartmentIdsToUri * @throws TransformerFactoryConfigurationError * @throws Exception */ public static void createCompartments( final Model model, final Map<String,String> compartmentIdsToUri ) throws TransformerFactoryConfigurationError, Exception { for( Map.Entry<String,...
import { gql } from "@apollo/client"; import { Alert, AlertDescription, AlertIcon, AlertTitle, Button, ButtonGroup, FormControl, FormLabel, Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay, NumberDecrementStepper, ...
# Copyright 2018 Open Source Robotics Foundation, Inc. # # 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...
def _GenerateSantaEventsFromJsonEvent(cls, event, host): dbevent = event_models.SantaEvent() dbevent.host_id = host.key.id() dbevent.file_name = event.get(_EVENT_UPLOAD.FILE_NAME) dbevent.file_path = event.get(_EVENT_UPLOAD.FILE_PATH) dbevent.version = event.get(_EVENT_UPLOAD.FILE_BUNDLE_VERSION) ...
<filename>frontend/src/routes/ClusterManagement/ClusterManagement.test.tsx<gh_stars>0 /* Copyright Contributors to the Open Cluster Management project */ import { render } from '@testing-library/react' import { MemoryRouter } from 'react-router-dom' import { RecoilRoot } from 'recoil' import { waitForNotText, waitForT...
<gh_stars>0 package letter const testVersion = 1 func ConcurrentFrequency(texts []string) FreqMap { ch := make(chan FreqMap) defer close(ch) for _, s := range texts { go func(s string, ch chan FreqMap) { ch <- Frequency(s) }(s, ch) } var res = make(FreqMap) for i := 0; i < len(texts); i++ { f := <-ch ...
Well that didn't take long. Less than one week after the bloody terror attacks at the offices of Charlie Hebdo, former President Jimmy Carter has all but blamed Israel for instigating the massacre. Appearing on Comedy Central's The Daily Show, Carter was asked by host Jon Stewart about the influence of radical Islam o...
<reponame>roxdumitriu/spark<filename>async-shuffle-upload/async-shuffle-upload-core/src/main/java/org/apache/spark/palantir/shuffle/async/client/basic/DefaultPartitionOffsetsFetcher.java /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file dist...
. With aging there occurred a clear increase of the content of total water in several structures of the brain, most pronounced in the hypothalamus. The content of total water in the grey and white matter showed a reduction in the fronto-caudal direction both in the younger and older age groups though in the old this r...
<filename>cas/apiv1/extension.go package apiv1 import ( "crypto/x509" "crypto/x509/pkix" "encoding/asn1" "github.com/pkg/errors" ) var ( oidStepRoot = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 37476, 9000, 64} oidStepCertificateAuthority = append(asn1.ObjectIdentifier(nil), append(oidStepRoot, 2)...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { RoleTemplate, StoredRoleTemplate, InlineRoleTemplate, Invali...
Predictable stereoselective and chemoselective hydroxylations and epoxidations with P450 3A4. Enantioselective hydroxylation of one specific methylene in the presence of many similar groups is debatably the most challenging chemical transformation. Although chemists have recently made progress toward the hydroxylation...
<reponame>saiba/OpenBMLFlowVisualizer<gh_stars>0 package saiba.bmlflowvisualizer.demo; import java.awt.FlowLayout; import javax.swing.JFrame; import javax.xml.transform.TransformerConfigurationException; import saiba.bmlflowvisualizer.BMLFlowVisualizerPort; import saiba.bmlflowvisualizer.transformed.GretaBMLFlowVisu...
#pragma once #define WIN32_LEAN_AND_MEAN #include <Windows.h> class BlindGui { #ifdef _WIN32 //Windows def #define MAX_LOADSTRING 100 HINSTANCE hInst; // current instance WCHAR szTitle[MAX_LOADSTRING]; // The title bar text WCHAR szWindowClass[MAX_LOADSTRING]; ...
// Move src object to dst or fdst if nil. If dst is nil then it uses // remote as the name of the new object. // // Note that you must check the destination does not exist before // calling this and pass it as dst. If you pass dst=nil and the // destination does exist then this may create duplicates or return // erro...
<reponame>jeffhammond/Elemental<filename>src/blas_like/level3/Trdtrmm/Unblocked.hpp /* Copyright (c) 2009-2016, <NAME> All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/li...
def recompute_from_res(labels, result, vol= None, volfns=None, dprc='full', fp='', mode='3d', neuroglancer=False, em_path=None): print('\nStarting to relabel the mask with the results from the clustering results.') if dprc == 'full': if mode == '2d': cld_labels = np.zeros(shape=labels.shape)...
/** * DTO para listar os certificados na API */ @Data @NoArgsConstructor @AllArgsConstructor public class CertificateDto { private String hash; private long chainIndex; private ZonedDateTime expiration; private long startPulseIndex; private long endPulseIndex; }
def read_input_files( fasta_file_list: str, hmms_file_list: str ): fasta_file_list = [i.strip('\n').split('\t') for i in open(fasta_file_list)] hmms_file_list = [i.strip('\n').split('\t') for i in open(hmms_file_list)] return fasta_file_list, hmms_file_list
<reponame>nehasingh97/pythonscript-togetotp<gh_stars>0 from selenium import webdriver from selenium.webdriver.common.keys import Keys import time driver = webdriver.Chrome(executable_path="./chromedriver") driver.get("https://www.easemytrip.com/hotels/") driver.implicitly_wait(5) driver.maximize_window() # driver.find...