content
stringlengths
10
4.9M
#include <bits/stdc++.h> using namespace std; int tag = 1; string str1, str2, str3, str4; char weeks[7][10] = {"MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"}; int main() { cin >> str1 >> str2 >> str3 >> str4; for (int i = 0; i < min(str1.size(), str2.size()); i++) { if(tag == 1 && str1[i] == str2[...
When you flip through your daily newspaper, or watch the nightly news, chances are you have noticed a steady increase in celebrity news, fas... http://humansarefree.com/2016/01/celebrities-art-of-distraction.html When you flip through your daily newspaper, or watch the nightly news, chances are you have noticed a ste...
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ // Copyright (c) 2006-2008 The Chromium 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 "base/at_exit.h...
<reponame>bhadzhiev/ui5-webcomponents-react import { mount } from 'enzyme'; import * as React from 'react'; import { dataset, label } from '../../resources/RechartProps'; import { RadarChart } from './RadarChart'; describe('RadarChart', () => { test('Renders with data', () => { expect(mount(<RadarChart width={'1...
Ciego de Ávila— Specialists and technicians from the province’s Electric Enterprise are advancing in the construction of the first power plant in Cayo Romano, a work valued at over 40 million pesos and part of plans for the future development of the Jardines del Rey tourist destination. According to engineer Yosbell V...
<reponame>vam-google/java-logging /* * Copyright 2021 Google LLC * * 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.org/licenses/LICENSE-2.0 * * Unless requi...
def GetMultiGANGeneratorsOp(graph, gan_type, architecture, aggregate): generator_preds_op = graph.get_tensor_by_name("generator_predictions:0") if gan_type == "MultiGANBackground": background_image_name = GetBackgroundImageTensorName(architecture) generator_preds_bg_op = graph.get_tensor_by_name(background_...
#include "DataProducts/inc/XYZVec.hh" #include "Mu2eUtilities/inc/TwoLinePCA_XYZ.hh" #include "Math/VectorUtil.h" #include "TMath.h" #include "Math/Math.h" #include "TMatrixD.h" //Tracker Drift Conditions: #include "TrackerGeom/inc/Tracker.hh" #include "TrackerConditions/inc/StrawResponse.hh" #include "TrackerConditi...
/** * Add the description text for this member. * * @param field the field to document. * @param contentTree the tree to which the deprecated info will be added */ public void addMemberDescription(VariableElement field, Content contentTree) { if (!utils.getFullBody(field).isEmpty()) { ...
Looking at the history of action figures over the last 50 years, there isn't a single style of figure that's as widely recognized and loved as the Lego minifigure. The diminutive blocky yellow figures have captured the imagination of kids for the last 35 years, and still have the action figure community's interest toda...
<reponame>iota-squared/ezpi<filename>check.py<gh_stars>1-10 import RPi.GPIO as GPIO import time import sys GPIO.setwarnings(False) GPIO.setmode(GPIO.BOARD) x=sys.argv[1] temp=3 usage=3 try: temp=GPIO.gpio_function(int(x)) except: temp=3 finally: usage=temp print usage
/** * <p> * Scan all of the configured search paths for scripts and updates the current loader state. * </p> * <p> * Search paths are configured via the <b>[prefix].scripts.repo.[name].paths</b> property. * </p> * * @throws IOException If there was a problem scanning for script f...
<reponame>zxftuid/DataStructure<filename>Queue/SingleQueue.cpp<gh_stars>0 #include "iostream" #define MaxSize 50 class SingleQueue{ public: SingleQueue(); ~SingleQueue(); bool QueueIsEmpty(); bool EnQueue(int e); bool DeQueue(int &e); bool GetHead(int &e); void Show(); private: int data[MaxSize]; ...
//When calculating 3-digit happy numbers, that is. None are missed when setting sizeToCheck = sizeToPrint = 3. @SuppressWarnings("unused") public static void printUpstream(UniqueNumber n, int sizeToCheck, int sizeToPrint) { Set<UniqueNumber> set = n.upstream(sizeToCheck); set.stream().sorted().forEach(x -> { St...
/** * Ferma (Tinkerpop) implementation of {@link FeatureTogglesRepository}. */ public class FermaFeatureTogglesRepository extends FermaGenericRepository<FeatureToggles, FeatureTogglesData, FeatureTogglesFrame> implements FeatureTogglesRepository { public FermaFeatureTogglesRepository(FramedGraphFa...
/** Moves the 'Cursor' position used for WriteChar, and WriteStr to the specified coordinate. \param x x pos \param y y pos */ void SetCursor(uint16_t x, uint16_t y) { currentX_ = (x >= Width()) ? Width() - 1 : x; currentY_ = (y >= Height()) ? Height() - 1 : y; }
#include <stdio.h> #include <stdlib.h> // atoi, malloc, free, posix_memalign, _Exit, EXIT_SUCCESS/FAILURE #include <stdint.h> #include "simd.h" #include "environ.h" // detectCPU, detectSIMD, printSysconf #include "timers.h" #if defined(_OPENMP) # include <omp.h> #endif #include <iostream> using std::cout; using ...
import React, { memo } from 'react' import { StaticQuery, graphql } from 'gatsby' import Img from 'gatsby-image' import styled from 'styled-components' import { mq } from '../../../../styles/vars/mq' import { Content } from '../Content' const ProfileDetail = styled.div` margin-top: var(--spaceMd); @media (${mq.xs}...
<reponame>xuqingquan1995/scaffold<gh_stars>1-10 package top.xuqingquan.base.view.adapter.listadapter; import android.view.LayoutInflater; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.recyclerview.widget.DiffUtil; import kotlin.jvm.functions.Function0; import top.xuqingquan.R; im...
/** * PUBLIC: * If the PKs were retrieved with the attributes then this method can be used to read the real object from the database. */ public Object readObject(Class javaClass, Session session) { if (getId() == null) { throw QueryException.reportQueryResultWithoutPKs(this); ...
<reponame>TheUnderScorer/time-neko<gh_stars>0 import { Observable } from 'rxjs'; /** * Alternative to rxjs "interval" that doesn't pass time into subscriptions * */ export const simpleInterval = (ms: number) => new Observable<void>((observer) => { const intervalId = setInterval(() => observer.next(), ms); ...
/** * Customizes table creating procedure for FrontBase. */ @Override public String createTable(DbEntity ent) { QuotingStrategy context = getQuotingStrategy(); StringBuilder buf = new StringBuilder(); buf.append("CREATE TABLE "); buf.append(context.quotedFullyQualifiedName(ent)); buf.append(" ("); Iter...
def chroma_settings(): sys.path.insert(0, site_dir()) os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") import settings return settings
<reponame>Huawei-Ascend/modelzoo import tensorflow as tf import os,sys class CreateSession(): def __init__(self): self.estimator_config = tf.ConfigProto( inter_op_parallelism_threads=10, intra_op_parallelism_threads=10, allow_soft_placement=True) self.estimator...
The study on core conflictual relationship of short-term counseling. This study utilizes the Core Conflictual Relationship Theme Method (CCRT; Luborsky and Crits-Christoph, 1997) on process study of short-term counseling. The purpose was to evaluate the formation and variation of interpersonal conflicts presented by n...
// Copyright © 2017 NAME HERE <EMAIL ADDRESS> // // 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 ...
// WriteTo writes a framed packet to the writer func (p *Packet) WriteTo(w io.Writer) (n int, err error) { if byts, err := p.ToFrameBytes(); err == nil { return w.Write(byts) } else { return 0, err } }
def make_instance(self, include_optional): if include_optional : return RejectRequest( error = '0', error_debug = '0', error_description = '0', error_hint = '0', status_code = 56 ) else : ...
import { SearchAllResult, StationSearchType } from 'types/station'; import stationSearch from 'server/Search'; export async function searchAll(searchTerm: string): Promise<SearchAllResult> { // @ts-ignore const result: SearchAllResult = {}; await Promise.all( Object.values(StationSearchType).map(async (type...
/** * Utility class containing functions for working with types related to Cloud Datastore. * * @since 1.1 */ public final class ValueUtil { private ValueUtil() {} public static Object toListIfArray(Object val) { if (val != null && isArrayOfItems(val.getClass())) { // if a property is an array, conv...
class Aggregator: """ main class that reads metadata, input data and aggregates them """ def __init__(self, cloud_provider=None): # setting time zone as UTC os.environ["TZ"] = "UTC" time.tzset() # variables self.all_fields_map = {} self.all_custom_f...
/* * Copyright 2003,2004 The Apache Software Foundation. * * 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...
<gh_stars>1-10 /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package com.netscape.javascript.qa.drivers; import java.io.*; /** * This class is simple utility...
#include<bits/stdc++.h> using namespace std; #define int long long int string fn(string s){ int n =s.length(); string http = "http"; string ftp = "ftp"; string protocol="" , domain="",context=""; string temp=""; for (int i = 0; i < 4; i++) { temp.push_back(s[i]); } int stInd; if(temp!=http){ ...
/* * Copyright 2017 The Emscripten Authors. All rights reserved. * Emscripten is available under two separate licenses, the MIT license and the * University of Illinois/NCSA Open Source License. Both these licenses can be * found in the LICENSE file. */ #include <pthread.h> #include <emscripten.h> #include <ems...
<reponame>hcdn/mora-ui<gh_stars>1-10 import React, { FC } from 'react' import styled from 'styled-components' import { Box } from '../Box/Box' import { Text } from '../../components/Text/Text' import { cssGetSize } from '../../utils' import { MenuItemProps, MenuProps } from './MenuTypes' import { Hidder, Icon, MenuItem...
import Model from '../Model'; import * as crypto from 'crypto'; export default async (ctx: any) => { try { const model: Model = new Model(); // 库中存的是密码的MD5后的值 const password = crypto .createHash('md5') .update(ctx.request.query.password) .digest('hex'); await mod...
/** * @author Christian Bauer */ public class WANIPConnectionViewImpl extends JDialog implements WANIPConnectionView { public static class ConnectionInfoPanel extends JPanel { final protected JTextField statusField = new JTextField(); final protected JTextField uptimeField = new JTextField(); ...
ZnO on diamond: SAWs and pseudo-SAWs The development of low-loss UHF SAW filters has led to devices using the higher phase velocities of pseudo-surface-acoustic-waves and shear-horizontally polarized waves. Another way of obtaining higher velocities is to use higher-velocity materials. Diamond, for example, has a SAW ...
<gh_stars>1-10 import {useState, useCallback} from 'react' const useCounter = () => { const [counter, setCounter] = useState(0) const increment = useCallback(() => setCounter((c) => c + 1), []) return { counter, increment, } } export default useCounter
<filename>src/tree/types.ts export interface TreeItemLike { children?: TreeItemLike[] [key: string]: any } export interface OrphansStore<T> { [key: string]: T[] } /** * 排序方式, desc=降序, asc=升序 */ export type sortType = 'desc' | 'asc' /** * 用于排序的字段名 */ export type sortKey = keyof TreeItemLike /** * 孤儿节点处理方...
/** * Function triggered in constructing the panel. * * @param conf configuration instance */ @Override public void resetFromConfig(DockerHostRunConfiguration conf) { if (!isMavenProject()) { dockerFilePathTextField.setText(DockerUtil.getDefaultDockerFilePathIfExist(getProjec...
/** * Created by marcelmaatkamp on 15/10/15. */ @Configuration @Import(XStreamConfiguration.class) @EnableScheduling public class TemperatureSensorConfiguration { private static final Logger log = LoggerFactory.getLogger(TemperatureSensorConfiguration.class); @Autowired XStream xStream; @Autowired ...
def on_message( self = None, filters = None, group: int = 0 ) -> callable: def decorator(func: Callable) -> Callable: if isinstance(self, pyrogram.Client): self.add_handler(pyrogram.handlers.MessageHandler(func, filters), group) elif isinstance...
Ranchi: Asking local-level party leaders to gear up for the 2014 general elections, AICC General Secretary Rahul Gandhi on Tuesday said those who had lost three Lok Sabha and Assembly polls during their political career should opt out of the race voluntarily to give others a chance. Gandhi's suggestion came when his a...
# WILD SWANS _Three Daughters of China_ ### JUNG CHANG # Dedication _To my grandmother and my father who did not live to see this book_ # Contents Title Page Dedication Introduction to the 2003 Edition Family Tree Chronology Author's Note Map 1 'Three-Inch Golden Lilies' 2 'Even Plain Cold Water Is ...
A Study of the Cognitive Mechanism of the Chinese Network Discourse Constructions Language used in network features with active vertility and rapid change. By using the framework of discourse construction grammar analysis established by Yuan Ye, we analyze the discourse construction that have changed in form and fun...
//Helper function to process the events func processEvent(event Event, channel chan bool) { eventKey := strings.ToLower(event.Event) eventMap.Lock() if val, ok := eventMap.data[eventKey]; ok { eventMap.data[eventKey][0] = val[0] + event.Time eventMap.data[eventKey][1] += 1 } else { eventMap.data[eventKey] = [...
<reponame>squirlemaster42/Fantasy-FRC package com.vaadin.spreadsheet.charts; import java.io.File; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.net.URISyntaxException; import java.net.URL; import java.util.List; import java.util.Set; import org.apache.poi.ss.util.CellReference; import o...
/* * src/bin/pg_autoctl/watch.h * Implementation of a CLI to show events, states, and URI from the * pg_auto_failover monitor. * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the PostgreSQL License. * */ #ifndef WATCH_COLSPECSH #define WATCH_COLSPECSH #include "watch.h" ...
// dequeue implements the PktStorage interface func (m *MockPktStorage) dequeue(appEUI []byte, devEUI []byte) (pktEntry, error) { m.InDequeue.AppEUI = appEUI m.InDequeue.DevEUI = devEUI return m.OutDequeue.Entry, m.Failures["dequeue"] }
import React, { useEffect, useState } from 'react' import { Platform, TouchableOpacity } from 'react-native' import { TextInput, View, Text, ScrollView, ButtonPrimary, ButtonPrimaryText, KeyboardAvoidingView, } from '../../../components/Styles' import { AddSeedToLibrary } from '../../../utils/Utils' export defa...
<reponame>warifmust/arkib declare const _default: { getEventUrl: (day: number, month: number) => string; getAllEventsUrl: (day: number, month: number, page?: number) => string; getSampleVideoUrl: (id: number) => string; getVideoDetailsUrl: (id: number, language: "bm" | "eng") => string; }; export = _def...
Here’s what Ken Kesey had to say about Wendell Berry: “Wendell Berry is the Sargeant York charging unnatural odds across our no-man’s-land of ecology. Conveying the same limber innocence of young Gary Cooper, Wendell advances on the current crop of Krauts armed with naught but his pen and his mythic ridgerunner righte...
/** * Starts the runnable for batched delivery of responses if it is not already started. * @param cacheKey The cacheKey of the response being delivered. * @param request The BatchedImageRequest to be delivered. */ private void batchResponse(String cacheKey, BatchedImageRequest request) { ba...
/** * LabFive is the main driver class for testing matrix multiplication. * Usage: java LabFive n * 2^n is the dimension of the square matrixOne */ class LabFive { public static void main(String[] args) { if (args.length != 1) { System.err.println("Incorrect number of arguments. " + "Usage: ja...
// Test spec: // - Camera ID class Camera3DeviceSimpleTest : public Camera3DeviceFixture, public ::testing::WithParamInterface<int> { public: Camera3DeviceSimpleTest() : Camera3DeviceFixture(GetParam()) {} }
<reponame>rdettai/vast<gh_stars>100-1000 // _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2019 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #include "vast/...
/// Indicates how the calculation is performed for the measure, including /// proportion, ratio, continuous-variable, and cohort. The value set is extensible, /// allowing additional measure scoring types to be represented. pub fn scoring(&self) -> Option<CodeableConcept> { if let Some(val) = self.value.get("sc...
def add_attachment(request, pagename, target, filecontent, overwrite=0): target = wikiutil.taintfilename(target) attach_dir = getAttachDir(request, pagename, create=1) fpath = os.path.join(attach_dir, target).encode(config.charset) exists = os.path.exists(fpath) if exists: if overwrite: ...
// ApplyOffsetAndLimit applies the offset and limit to the list of records. func ApplyOffsetAndLimit(all []*Record, offset, limit int) (records []*Record, totalCount int) { records = all if offset < len(records) { records = records[offset:] } else { records = nil } if limit <= len(records) { records = record...
def mu_HF(T, n): T, n = np.broadcast_arrays(np.atleast_1d(T), np.atleast_1d(n)) mu, _ = physics_solver_mu(n, T) return mu
<filename>src/main/java/com/bluejay/streaming/entity/StreamQuality.java package com.bluejay.streaming.entity; import lombok.Builder; import lombok.Getter; import java.util.List; import java.util.Set; @Builder @Getter public class StreamQuality { private String identifier; private long bandwidth; private ...
def p_funcdef(self, p): f = ast.FunctionDef(name=p[2], args=p[3], returns=p[4], body=p[6], decorator_list=[], lineno=self.lineno, col_offset=sel...
// +build unit // Copyright 2014-2018 Amazon.com, Inc. or its affiliates. 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. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or...
n=int(raw_input()) h=0 sum=0 temp=0 a=1 while(sum<n): temp+=a a+=1 sum+=temp h+=1 if(sum>n): print h-1 else: print h
<filename>internal/nodes/avi_vrf_translator.go<gh_stars>0 /* * Copyright 2019-2020 VMware, Inc. * 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.or...
<reponame>KSXGitHub/personal-website<gh_stars>0 // This file is to prevent tsc from failing when there is no inputs export {}
#include <iostream> #include <crow.h> #include <boost/program_options.hpp> #include <memory> #include <thread> #include "storage.h" #include "handler.h" #include "middleware.h" #include "util.h" #include "config.h" #include "auth.h" #include "indexer.h" #include "saxreader.h" #include "feed.h" using namespace C3; ty...
def update( bento_bundle_path: Path, deployment_name: str, config_json: Optional[Path] = None, stage: Optional[Stage] = None ): if not config_json: config_json = os.path.join(os.getcwd(), "lambda_config.json") if not stage: stage = Stage.DEV deploy( be...
/** * This method serializes the specified object, including those of generic types, into its * equivalent representation as a tree of {@link JsonElement}s. This method must be used if the * specified object is a generic type. For non-generic objects, use {@link #toJsonTree(Object)} * instead. * * @pa...
/** Regroups a vertex and a fragment shader in a program shader. */ class Shader { public: Shader( const char* vertexPath, const char* fragmentPath ) : m_vertexpath{vertexPath}, m_fragmentpath{fragmentPath} { reset(); } ~Shader(); void use() const; void setBool( const std::...
// insertion at position i+1 // shift content from i+1 to n and update ls[i+1] func (s *ClaireSet) AddInsertObject(val *ClaireAny, i int, n int) *ClaireSet { var ls []*ClaireAny = ToSetObject(s.Id()).Values if len(ls) == n { ls2 := make([]*ClaireAny, 2 * n) for k := 0; k < n; k++ {ls2[...
class Xorshift: """Xorshift Random Number Generator""" def __init__(self,seed_0,seed_1,seed_2,seed_3): self.seed_0 = seed_0 self.seed_1 = seed_1 self.seed_2 = seed_2 self.seed_3 = seed_3 def next(self): """Generate the next random number""" temp = self.seed_0...
<gh_stars>1-10 import InputLine from "./../objects/inputLine"; import BaseScene from "./baseScene"; import InteractiveButton from "../objects/interactiveButton"; export default class WeighScene extends BaseScene { waterAmountStart: number; iWeight: number; temp: number; //temp of water densit...
#ifndef ALIITSQASPDDATAMAKERREC_H #define ALIITSQASPDDATAMAKERREC_H /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ // // Checks the quality assurance. // By comparing with reference data // contained in a DB /...
The R9 M295X is a very elusive Mobility Radeon that has yet to be launched (technically). It does however feature in Apple’s new iMac 5k and that means we can get authentic benchmarks for this particular GPU without waiting any longer. R9 M295X is almost certainly based on the Tonga Architecture and will either be code...
/** * Make the default info * * @return will return a HashMap with all component maped by its own name */ public HashMap<String, Component> makeDefaultInfo() { HashMap<String, Component> defaultInfo = new HashMap(); try { defaultInfo.put(JRtableNavigation.SHOW_RECORD_FROM...
#pragma once #include <string> /** the idea of the pimpl idiom is that the implementation detail which could be inside the Person class itself -- they are actually differed, relayed or bridged into a seperate class, what ends up happening is you end up declaring an inner class inside Person and then you define a poin...
def _create_pool(self): work_pool_plugin = self.service_utils_plugin.work_pool_plugin pool_name = self.pool_configuration.get("name", POOL_NAME) pool_description = self.pool_configuration.get("description", POOL_DESCRIPTION) number_threads = self.pool_configuration.get("number_threads", ...
/// Make a get request to the nexus, with optional etag. fn do_get(&mut self, uri: &str, etag: Option<String>) -> anyhow::Result<ureq::Response> { let mut request = self .agent .get(uri) .set("apikey", &self.apikey) .set("user-agent", "modcache: github.com/ceejbot...
Mark Sanford Publicly Opposes Toomey, Wins House Seat — Victory puts the lie to PPP’s numbers Despite huge political baggage, former South Carolina Governor Mark Sanford easily won a special election to Congress, after loudly and conspicuously coming out in opposition to the Toomey-Schumer-Manchin gun registry amendm...
/** * Search manager that adds an authorization constraints to each query that is executed. * This is relevant for queries built with the Query Object Model (QOM) or languages that * are implemented using the QOM. (e.g. SQL2 support is implemented this way) */ public class HippoSearchManager extends SearchManager ...
Micro-Computed Tomography Analysis of Damage in Notched Composite Laminates Under Multi-Axial Fatigue The broad application of polymer composites in engineering demands the deep understanding of the main damage mechanisms under realistic loading conditions and the development of proper physics-based models. Towards th...
export * from './build.embed'; export * from './deity.embed'; export * from './oghmabot.embed'; export * from './stats.embed';
from django.core.exceptions import ObjectDoesNotExist from elfinder.models import FileCollection, Directory, File import logging import traceback import sys """ Connector class for Django/elFinder integration. TODO Permissions checks when viewing/modifying objects - users can currently create files in o...
import java.util.*; public class Main { public static void main(String args[]) { int i,j; int white=0,black=0; String s; char ch; Scanner scanner = new Scanner(System.in); for(i=0;i<8;i++) { s=scanner.next(); for(j=0;j<8;j++) { ch=s.charAt(j); switch(ch)//q', 'r', 'b', 'n', 'p', 'k'//95...
Procedural Feasibility and Long-Term Efficacy of Catheter Ablation of Atypical Atrial Flutters in a Wide Spectrum of Heart Diseases: An Updated Clinical Overview Atypical atrial flutters (AAFL) are difficult-to-manage atrial arrhythmias, yet potentially amenable to effective radiofrequency catheter ablation (CA). Howe...
NO, it’s not a two piece. This gobsmacking uniform sported by a Colombian women’s cycling team at a race in Italy is just one of the biggest design fails we’ve seen. The otherwise standard strip features a flesh-coloured section across the lower torso and upper legs, leaving the women to appear naked. "@JacquiOatley...
/// If this agg_expr is a count that is defined in the statistics, return it fn take_optimizable_table_count( agg_expr: &dyn AggregateExpr, stats: &Statistics, ) -> Option<(ScalarValue, &'static str)> { if let (Some(num_rows), Some(casted_expr)) = ( stats.num_rows, agg_expr.as_any().downcast...
<filename>packages/ui-utilities-seo/docs/Seo.stories.tsx import { Story } from '@storybook/react'; import React from 'react'; import SEO, { SEOProps } from '../react/SEO'; export default { component: SEO, title: 'Utilities/SEO', }; const Template: Story<SEOProps> = (args) => <SEO {...args} />; export const Defau...
/* * Intel(R) Trace Hub pci driver * * Copyright (C) 2014-2015 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distri...
<gh_stars>0 package kanine.core; import java.util.Arrays; /** * <a href="http://en.wikipedia.org/wiki/Quicksort">Quicksort</a>-backed * implementation of {@link BestResultsAccumulator}. */ public final class QuickSortAccumulator extends BestResultsAccumulator { private final float[] inverseScores; private...
/** * Audit event * <p> * Attention! This event is only for tables with primary keys * <p> * This event is dispatched before a commit Transaction * <p> * This event contains the history of changes during the transaction * <p> * Transaction ,in which changes were, is still active */ public final class DiffE...
/// Begin a single SPI data transaction pub fn begin_transaction(&self, settings: &SpiSettings) { unsafe { SPIClass::beginTransaction(bindings::SPISettings{ ctar: settings.ctar, }); } }
<gh_stars>100-1000 // Some parts of this code picked up from: // https://github.com/emreyaren/zero85/ pub fn encode(input: &[u8]) -> Result<Vec<u8>, String> { if input.is_empty() { return Err("No input provided.".to_string()); } let mut input = input.to_vec(); let mut input_len = input.len(); ...
// AssumeRoleARN assumes the role specified by RoleARN and will store it as // with the name specified. func (m *CredentialsExpirationManager) AssumeRoleARN(name, RoleARN, MFASerial, MFA string) error { if m.err != nil { return m.err } creds, err := m.RetrieveRoleARN(RoleARN, MFASerial, MFA) if err != nil { ret...
FOI, Transport for London 12 Attachments Central DVA Script.pdf District DVA Script D Stock.pdf Jubilee DVA Script.pdf Northern DVA Script.pdf S Stock DVA Script.pdf Bakerloo DVA Script.pdf Circle DVA Script.pdf Hammersmith and City DVA Script.pdf Metropolitan Line DVA Script.pdf Piccadilly DVA Script.pdf Vi...
We sat across from one another at a tiny table, in the midst of a crowded restaurant brimming with happy, chatty diners. It was a warm and sunny day for the most part—except the air was punctuated by a tiny dark cloud, and it was hanging directly over our heads. I leaned in toward my friend to listen as she spoke. Her...
//! There are one type can be provider of services: `ServiceProvider`. It used as store for dependencies with //! `Instance` and `Singleton` lifetimes, and for declaring all dependencies using `.add_*()` methods. It can be forked to //! create a local scope with local instances. //! //! There are four lifetimes for dep...