content
stringlengths
10
4.9M
The Finn has proved himself as a potential contender for the championship battle on the back of a well-earned victory in the Russian Grand Prix. And although he received warm congratulations from a host of drivers – including Hamilton – after the race, he thinks the pleasantries will ultimately stop. Asked about what...
/** * @Author Benjamini Buganzi * @Date 26/03/2022. */ @Service public class UserDetailsServiceImpl implements UserDetailsService { @Autowired UserRepository userRepository; @Override @Transactional public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException { ...
package com.tech.gulimall.product.exception; import com.tech.gulimall.common.exception.BizException; import com.tech.gulimall.common.exception.enums.BizCodeEnum; import com.tech.gulimall.common.utils.R; import lombok.extern.slf4j.Slf4j; import org.springframework.validation.BindingResult; import org.springframework.va...
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2020, <NAME> // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following c...
/** * @param m current index pos of String A * @param n current index pos of String B */ private static int editDistance(String A, String B, int m, int n) { if (m < 0 && n < 0) { return 0; } else if (m < 0 || n < 0) { return Math.abs(m - n); } if (A.charAt(m) == B.c...
<filename>examples/ru.iiec.cxxdroid/sources/com/google/android/gms/internal/ads/f80.java package com.google.android.gms.internal.ads; import android.content.SharedPreferences; import org.json.JSONObject; /* access modifiers changed from: package-private */ public final class f80 extends a80<String> { f80(int i2, ...
X = int(input()) kyu = [8, 7, 6, 5, 4, 3, 2] rate = [600, 800, 1000, 1200, 1400, 1600, 1800] flag = True for k, r in zip(kyu, rate): if X < r: print(k) flag = False break if flag: print(1)
<gh_stars>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 copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "Lic...
<gh_stars>0 package table import ( "strings" "testing" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" ) type tableSuite struct{ suite.Suite } var table = T([]string{"abc", "def", "ghi"}) var tableEmpty = T([]string{}) func TestTable(t *testing.T) { suite.Run(t, new(tableSuite)) } fu...
On Divorce: A Feminist Christian Perspective Divorce is not only a personal choice, but also a sign of the lack of confidence in the institution of marriage. The issue of divorce raises questions that are sociological, theological, experiential, philosophical and political. This article traces the arguments with parti...
<reponame>mjwestcott/fennel from typing import Any, Callable from fennel.client.aio.actions import send from fennel.client.aio.results import AsyncResult from fennel.job import Job class Task: def __init__(self, name: str, func: Callable, retries: int, app): self.name = name self.func = func ...
/** * @author <a href="mailto:julien@julienviet.com">Julien Viet</a> * @author <a href="http://tfox.org">Tim Fox</a> */ public class PCKS12OptionsImpl implements PKCS12Options, Cloneable { private String password; private String path; private Buffer value; public PCKS12OptionsImpl() { super(); } p...
<reponame>devmatteini/dag use crate::cli::get_env; use crate::cli::handlers::common::{check_has_assets, fetch_release_for}; use crate::cli::handlers::{HandlerError, HandlerResult}; use crate::cli::select; use crate::github::client::GithubClient; use crate::github::release::{Asset, Release}; use crate::github::tagged_as...
<reponame>snuggery/snuggery import {isJsonObject} from '@angular-devkit/core'; import {AbstractCommand} from '../../command/abstract-command'; export class HelpProjectsCommand extends AbstractCommand { static paths = [['help', 'projects']]; static usage = AbstractCommand.Usage({ category: 'Workspace information ...
On December 31, 2012, the US Food and Drug Administration (FDA) announced its approval of a new drug to treat multidrug-resistant tuberculosis (MDR-TB). The agency granted bedaquiline (Sirturo) “fast-track” approval, assessing its efficacy by a surrogate measure rather than an actual clinical outcome. The criterion was...
friends=input() friends=friends.split() friends_all=friends[0] friends_cakes=friends[1] person=int(friends_all)+1 cakes=input() cakes_amount=0 for a in cakes.split(): cakes_amount+=int(a) one_person=cakes_amount//person if cakes_amount%person!=0: one_person+=1 else: pass print(one_person)
package com.jiawang.core.bean.factory; import com.jiawang.util.BeanUtils; import java.util.Map; /** * 项目名称 : writer_spring_boot * 创建者 : 黎家望 * 创建时间 : 2019-06 15:54 * bean工厂 * * @author : LiJiWang */ public class BeanFactory { private static Map<String, Object> beanNameMap = null; /** * 添加初...
from typing import Set, Optional, Type, List, Tuple from autofit.mapper.model import ModelInstance from autofit.mapper.prior.abstract import Prior from autofit.mapper.prior_model.collection import CollectionPriorModel from autofit.mapper.prior_model.prior_model import PriorModel from autofit.mapper.variable import Pla...
def time_external(self, time_external): self._time_external = time_external
/** * Finishes the savePlot after getting the note. * * @param note The note. */ private void doSavePlot(final String note) { SharedPreferences prefs = getPreferences(MODE_PRIVATE); String treeUriStr = prefs.getString(PREF_TREE_URI, null); if (treeUriStr == null) { ...
Alternative Packet Forwarding for Otherwise Discarded Packets Packets in multihop wireless networks are often discarded due to missing routes, packet collision, unreachable next-hop or bit error. As a remedy to these problems, this paper presents alternative packet- forwarding mechanisms that will reduce the likelihoo...
// DeleteMeasurement deletes a measurement and all related series. func (e *Engine) DeleteMeasurement(name string, seriesKeys []string) error { if err := e.DeleteSeries(seriesKeys); err != nil { return err } e.fieldsMu.Lock() defer e.fieldsMu.Unlock() if err := e.DeleteSeries(seriesKeys); err != nil { return e...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; public class Main { final static char X = 'X'; final static char O = '0'; final static char NONE = '.'; public static boolean isSolved(char[][] map, char player){ for (...
import * as React from 'react'; import styled from 'styled-components'; import axios, { AxiosError } from 'axios'; import { FormattedMessage, defineMessages } from 'react-intl'; import { useDispatch } from 'react-redux'; import { Input, TextSpan } from '../../components'; import { addUser } from '../../redux/actions';...
Beginning of Story Content Team Canada's Olympic brain trust will meet Wednesday in Toronto to shorten its "list" for the 2014 Sochi Games and discuss what to do with injured superstar Steven Stamkos. According to the IIHF, there is nothing in the Olympic roster guidelines explicitly preventing an injured player from ...
Congresswoman Nancy Pelosi has made a fool of herself again in public but just in time, she gives relevance to this article that I have been working on. Do those politicians really have any idea what they are talking about? They claim that their Catholicism is firm, but find it inappropriate to “impose” it on others. T...
#include <stdio.h> #include <algorithm> using namespace std; int main() { int n, m; scanf("%d%d", &n, &m); int bd, bh; scanf("%d%d", &bd, &bh); long long ans = bd + bh - 1; while (--m) { int nd, nh; scanf("%d%d", &nd, &nh); int hh = nh - bh, dd = nd - bd; if (hh < 0) hh = -hh; if (hh > dd) { ...
def update_keepkey_pass_encoding_ui(self): self.wdgKeepkeyPassEncoding.setVisible(self.local_config.hw_type == HWType.keepkey)
multimon_monitor_t *multimon_get_monitor(int tag_mask) { multimon_monitor_t *monitor = multimon_monitor_list.head_monitor; while(monitor && !(monitor->tag_mask & tag_mask)) monitor = monitor->next; return monitor ? monitor : multimon_monitor_list.head_monitor; } void multimon_update() { if (XineramaIsActiv...
/** * Appends a {@link String} representation of an {@link Object}'s accessible fields to a {@link StringBuilder}. * found in a given {@link Object} * @param fields an array of {@link Field} * @param obj the {@link Object} to represent * @param stringBuilder the {@link StringBuilder} to add the representatio...
// AddAddress appends the specified TCP address to the list of known addresses // this node is/was known to be reachable at. func (l *LinkNode) AddAddress(addr net.Addr) error { for _, a := range l.Addresses { if a.String() == addr.String() { return nil } } l.Addresses = append(l.Addresses, addr) return l.Sy...
// Despawn enemy on collision with player's laser. pub fn despawn_system( mut cmds: Commands, mut red_laser_query: Query< ( Entity, &Transform, &Sprite, ), With<Laser>, >, mut enemy_query: Query< ( Entity, &Transform, &Sprite, ), With<Enemy>, >, mut active_enemy: ResMut<ActiveEnemies...
A Florida Panhandle officer shot and killed a teenage boy early Tuesday after the teen ran over another officer's leg, police said. According to information released by the Pensacola Police Department, William Goodman, 17, was killed after an officer fired shots into his 2009 Chevrolet Corvette. The injured officer w...
<reponame>iosliutingxin/MWeng_PreviewModule // // UZMediator.h // UzaiModuleApp // // Created by leijian on 16/6/30. // Copyright © 2016年 Uzai. All rights reserved. // #import <Foundation/Foundation.h> typedef void (^UZUrlRouterCallbackBlock)(void); @interface UZMediatorManager : NSObject + (instancetype)sharedIn...
/** * @brief base constructor. * @param worker may gets run by several threads. */ base(blub::async::dispatcher &worker) : t_base(worker) , m_numInTilesInTask(0) { }
/** * initComponents, This initializes the components of the JFormDesigner panel. This function is * automatically generated by JFormDesigner from the JFD form design file, and should not be * modified by hand. This function can be modified, if needed, by using JFormDesigner. */ private void initCom...
import numpy as np import skimage.draw as skdraw def vis_bbox(bbox,img,color=(255,0,0),modify=False,alpha=0.2): im_h,im_w = img.shape[0:2] x1,y1,x2,y2 = bbox x1 = max(0,min(x1,im_w-1)) x2 = max(x1,min(x2,im_w-1)) y1 = max(0,min(y1,im_h-1)) y2 = max(y1,min(y2,im_h-1)) r = [y1,y1,y2,y2] c...
package dev.morphia.aggregation.stages; /** * Randomly selects the specified number of documents from its input. * * @aggregation.expression $skip */ public class Skip extends Stage { private final long size; protected Skip(long size) { super("$skip"); this.size = size; } /** ...
def put_course_info(orgUnitId, json_data): url = DOMAIN + "/lp/{}/courses/{}".format(LP_VERSION, orgUnitId) response = requests.put(url, headers=HEADERS, json=json_data) code_log(response, "PUT course offering info org unit {}".format(orgUnitId))
/** * Send a request to the QLDB database to delete the specified ledger. * Disables deletion protection before sending the deletion request. * * @param ledgerName * Name of the ledger to be deleted. * @return DeleteLedgerResult. */ public static DeleteLedgerResult delete...
<filename>src/components/Image/index.tsx<gh_stars>1000+ import React, { useState, useEffect, useRef } from 'react'; import clsx from 'clsx'; import useForwardRef from '../../hooks/useForwardRef'; export interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> { className?: string; src: string; lazy...
def generate(self) -> None: if len(self.merged_values.keys()) > 1: raise ValueError( "The merged values should only have one top level key for the root element" ) root_element_key = list(self.merged_values.keys())[0] root_element_name = root_element_key ...
/** * Calculate a normal from a vertex cloud. * * \note We could make a higher quality version that takes all vertices into account. * Currently it finds 4 outer most points returning its normal. */ void BM_verts_calc_normal_from_cloud_ex( BMVert **varr, int varr_len, float r_normal[3], float r_center[3], int ...
/* * Copyright 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 in the "license" fil...
def sample_wr(indices): return ( choice(indices) for _ in indices )
def visit(self, filename: str, root: XMLNode) -> Any: self.filename_stack.append(filename) if self._verbose: print(indent_text(filename, self._indent)) def _inner(node: XMLNode): if self._verbose: print(indent_text(node.open_tag(), self._indent)) ...
<gh_stars>0 package cn.gson.oasys.controller.user; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageR...
<reponame>releasehub-com/LaunchDarkly-Docs<gh_stars>0 /** @jsx jsx */ import { FunctionComponent } from 'react' import { jsx } from 'theme-ui' import Icon, { IconName } from '../icon' import Link from '../link' import { SideNavItem } from '../sideNav/types' type QuickLinkType = { iconName: IconName heading: string...
/** * Desktop launcher for level editor * @author mgsx * */ public class DeferredLightingLauncher { public static class EmptyPlugin extends EditorPlugin implements DefaultEditorPlugin{ @Override public void initialize(EditorScreen editor) { } } public static void main (String[] args) { ClassRegistry.i...
/**************************************************************************************************************************** RTMP Live Publishing Library Copyright (c) Microsoft Corporation All rights reserved. MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this softwa...
<gh_stars>0 /**************************************************************************** ** ** Copyright (C) 2014 <NAME> <<EMAIL>> ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid comm...
/* Copyright(c) 2016-2020 <NAME>. */ /* jshint strict: true, esversion: 6 */ 'use strict'; import * as util from './util'; import * as request_scheduler from './request_scheduler'; import * as azad_order from './order'; import * as azad_table from './table'; let scheduler: request_scheduler.IRequestScheduler = null...
A pilot study exploring the association of morphological changes with 5-HTTLPR polymorphism in OCD patients Background Clinical and pharmacological studies of obsessive-compulsive disorder (OCD) have suggested that the serotonergic systems are involved in the pathogenesis, while structural imaging studies have found s...
def with_idleness(self, idle_timeout: Duration) -> 'WatermarkStrategy': return WatermarkStrategy(self._j_watermark_strategy.withIdleness(idle_timeout._j_duration))
import * as React from 'react'; import { WithStyles } from '@material-ui/core/styles/withStyles'; import { styles } from './styles'; import { IFoundItemsProps } from './FoundItems/types'; import { IPagination } from '@containers/Pagination/types'; import { IActiveSort } from '@interfaces/search'; import { IIndexSignatu...
c.NotebookApp.open_browser = True c.NotebookApp.ip = '*' c.NotebookApp.password = u'<PASSWORD>'
Immobilization induces alterations in the outer membrane protein pattern of Yersinia ruckeri. We compared the outer membrane protein (OMP) pattern of 2-day-old immobilized Yersinia ruckericells (IC) with that of early (FC24) and late (FC48) stationary-phase planktonic counterparts. Fifty-five OMPs were identified. Pri...
import '../../lit-datatable'; //# sourceMappingURL=lit-datatable.test.d.ts.map
Magnificent multiple-component artifact from Lost creator J.J. Abrams S. by J.J. Abrams and Doug Dorst Mulholland Books 2013, 472 pages, 6.4 x 9.7 x 1.6 $23 Buy a copy on Amazon This is a book that uses another book to tell its story. S. comes in a box that contains what looks exactly like a well-read, slightly s...
/** * As common use of primitive types, Java 8 introduced generic Stream<T> as well as specific stream for each primitive type * * 3 primitive streams: * - IntStream, specific functional interface IntSupplier * - LongStream, specific functional interface LongSupplier * - DoubleStream, specific functional interfac...
def has_redis_lock(uuid): try: with redis.lock(str(uuid) + '__lock'): pass except _redis.exceptions.LockError: return True else: return False
Synthesis and Structural Characteristics of all Mono- and Difluorinated 4,6-Dideoxy-d-xylo-hexopyranoses. Protein-carbohydrate interactions are implicated in many biochemical/biological processes that are fundamental to life and to human health. Fluorinated carbohydrate analogues play an important role in the study of...
// @target:es6 // An ExpressionStatement cannot start with the two token sequence `let [` because // that would make it ambiguous with a `let` LexicalDeclaration whose first LexicalBinding was an ArrayBindingPattern. var let: any; let[0] = 100;
<reponame>shaolonger/nuall-monitor-platform import { Component, OnInit } from '@angular/core'; import * as moment from 'moment'; import { EChartOption } from 'echarts'; import { NzMessageService } from 'ng-zorro-antd/message'; import { UserService } from '@data/service/user.service'; import { LogService } from '@data/...
package net.java.sip.communicator.impl.protocol.sip.xcap; import net.java.sip.communicator.impl.protocol.sip.xcap.model.xcapcaps.XCapCapsType; public interface XCapCapsClient { public static final String CONTENT_TYPE = "application/xcap-caps+xml"; public static final String DOCUMENT_FORMAT = "xcap-caps/global...
import java.io.*; import java.util.*; public class B implements Runnable { void solve() throws Exception { int n=readInt(); HashMap<String,ArrayList<String>>tel=new HashMap<>(); while (n-->0){ String name=readString(); ArrayList<String>temp=new ArrayList<>...
/// Render a template with data. pub fn render<W>(&self, template_name: &str, mut data: TomlMap, writer: &mut W) -> Result<()> where W: std::io::Write, { // add variables that extend/override passed data data.extend(self.vars.clone().into_iter()); self.hb.render_to_write(template...
<filename>scripts/concolic.py from multiprocessing import Process import signal import subprocess import os import sys import random import json import argparse import datetime import shutil import re start_time = datetime.datetime.now() date = start_time.strftime('%m%d') checker = 0 configs = { 'script_path': os.pa...
#include <iostream> #include <stdio.h> #include <time.h> #include <stdlib.h> #include <stdarg.h> #include <cstring> #include "Sort.h" using namespace std; Sort :: Sort(int n,int minim,int maxim) { numar_elemente=n; time_t t; srand((unsigned)time(&t)); vect = (int *)(malloc(numar_elemente * sizeof(int))...
// NewAPIErrInvalidConfig returns an ErrInvalidConfig, API Error with the given // config name and value. func NewAPIErrInvalidConfig(err error, name, value string) APIError { message := fmt.Sprintf("invalid value for %s: %s", name, value) return NewAPIErr( ClientError, ErrInvalidConfig, errors.WithMessage(err,...
def construct_object_key(logs_payload: LogsPayload) -> str: log_type = "playbook_executions" _, playbook_name, date_and_hour, _ = logs_payload.logStream.split("/") execution_id = extract_execution_id(logs_payload.logEvents[0]) object_key = "/".join( [ f"{log_type}", f"{pl...
/** * Linear regression task -- Responsible for pre-processing data from MongoDB into a * Spark Dataset (see RegressionTask parent class), building the Sustain Linear Regression Model using * the parameters in the request, launching the model training, and finally for building the ModelResponse * from the model res...
Breaking News Emails Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings. Dec. 8, 2015, 6:36 PM GMT / Updated Dec. 8, 2015, 9:55 PM GMT By Maggie Fox Norovirus has sickened 80 Boston College students who ate at a nearby Chipotle restaurant, state health officials...
/** * Create a real led * @param type Led type to create * @param id Led ID * @param pin Pin number the led is connected on. Pin number is the sequential from 1 to 24 * @return The real led */ public Led createComponent(final String type, final String id, final PiPins pin) { Led component = null; if...
import numpy import numpy as np import urllib import scipy.optimize import random from collections import defaultdict import nltk import string from nltk.stem.porter import * from sklearn import linear_model import random from collections import Counter, namedtuple stops = set(nltk.corpus.stopwords.words('english')) f...
import { Col } from '.'; describe('Col', () => { it('값이 존재한다.', () => { expect(Col).toBeTruthy(); }); it('스냅샷과 일치한다.', () => { expect(Col).toMatchSnapshot(); }); });
def _simplify (self): if (self.whole < 0 and self.fraction > 0) or (self.whole > 0 and self.fraction < 0): self._fraction += self.whole self._whole = 0 if abs(self.fraction) > 1: fractionOverflow = int(self.fraction) self._whole += fractionOverflow ...
def bookmark(self): return self._bookmark
/* ---------------------------------------------------------------------------- * Creates an instance of the bouncer category. */ bouncer_category::bouncer_category() : mob_category( MOB_CATEGORY_BOUNCERS, "Bouncer", "Bouncers", "Bouncers", al_map_rgb(192, 139, 204) ) { }
<reponame>3mdeb/transmet-authenticator-firmware use proc_macro2::TokenStream as TokenStream2; use quote::quote; use rtic_syntax::{ ast::{App, Local}, Context, Core, Map, }; use crate::codegen::util; pub fn codegen( ctxt: Context, locals: &Map<Local>, core: Core, app: &App, ) -> ( // locals...
<filename>src/unix/timer.c #include <unix_internal.h> /* TODO - validation of timeval and timespecs parameters across board - support for thread and process time(r)s */ //#define UNIX_TIMER_DEBUG #ifdef UNIX_TIMER_DEBUG #define timer_debug(x, ...) do {log_printf("UTMR", "%s: " x, __func__, ##__VA_ARGS__);} whi...
Paradise for who? Segmenting visitors' satisfaction with cognitive image and predicting behavioural loyalty The purpose of this research is to assess the influence of socio-demographic characteristics on destination image and loyalty, thereby offering a segmentation perspective of visitors to the island of Mauritius. ...
#!/usr/bin/env python # Copyright 2014-2020 The PySCF Developers. 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 # # U...
<filename>website/urls.py from django.conf.urls import include, url from . import views from . import autocomplete import backend urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^tos/$', views.tos, name='tos'), url(r'^map/$', views.map, name='map'), url(r'^dashboard/', include([ u...
package org.aksw.jena_sparql_api.concept_cache.core; import java.util.Map; import org.apache.jena.graph.Node; import org.apache.jena.sparql.algebra.Op; public class RewriteResult2 { protected Op op; protected Map<Node, StorageEntry> idToStorageEntry; protected int rewriteLevel; // 0 = no rewrite, 1 = par...
#pragma once #define FUSE_USE_VERSION 29 #include <fuse.h> void g2f_clear_ops(fuse_operations* ops); void g2f_init_ops(fuse_operations* ops);
/** * @author motb * @date 2021/4/9 16:13 * @description //TODO importCompanyDo **/ @Data public class ImportCompanyDo { @Excel(name = "编号") private String id; @Excel(name = "分组") private String group; @Excel(name = "搜索词 1") private String context; @Excel(name = "属性") private Str...
Defend Pop Punk Army in Way Over Their Heads in Syria RAQQA, Syria — Members of the popular “Defend Pop Punk Army” Facebook group allegedly got more than they bargained for on a recent mission to the war-ravaged country of Syria, according to transmissions from the front lines. “We heard there was almost no pop punk ...
/* Copyright 2018 The Knative 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
<filename>dist/native-common/FrontLayerViewManager.d.ts /** * FrontLayerViewManager.ts * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT license. * * Manages stackable modals and popup views that are posted and dismissed * by the Types showModal/dismissModal/showPopup/dismiss...
import classnames from 'classnames' import FeatherIcon from 'feather-icons-react' import React, { useState } from 'react' /* import DiscordLogo from '../../assets/Socials/discord-logo.svg' import GovForumIcon from '../../assets/Socials/gov-forum.svg' import KnowledgeBaseIcon from '../../assets/Socials/knowledge-base.s...
/** * <pre> * label fields, normally only one field is used. * For multiple target models such as MMOE * multiple label_fields will be set. * </pre> * * <code>repeated string label_fields = 4;</code> */ public Builder addLabelFieldsBytes( com.google.prot...
Now playing: Watch this: The Robomow Diaries: Robot lawnmower powers through soggy... (This is the first installment in a weekly series documenting our tests with the Robomow RS612.) Thursday, July 7, 2016 We should've known better. I've had the Robomow RS612 docked and charging at the edge of my front yard for two...
// RTTResolver returns a Sliver from a Site with lowest RTT given a client's IP. func RTTResolver(c appengine.Context, toolID string, ip net.IP) (net.IP, error) { cgIP := rtt.GetClientGroup(ip).IP rttKey := datastore.NewKey(c, "string", "rtt", 0, nil) key := datastore.NewKey(c, "ClientGroup", cgIP.String(), 0, rttKe...
/** * @ Created on: 2020/1/9 * @Author: LEGION XiaoLuo * @ Description: */ public class HomePageView extends FrameLayout implements IHomePageView { Context mContext; public FrameLayout mBgView; public ImageView mExitParentModeView; public ImageView mParentSetView; public FrameLayout mFirstSeeVie...
// Copyright 2021 PingCAP, 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 or agreed to i...
<filename>trunks/mock_authorization_delegate.h // Copyright 2014 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef TRUNKS_MOCK_AUTHORIZATION_DELEGATE_H_ #define TRUNKS_MOCK_AUTHORIZATION_DELEGATE_H_ #include <s...
//-------------------------------------------------------------------------------------- // Name: CombiJointFilter() // Desc: A filter for the positional data. This filter uses a combination of velocity // position history to filter the joint positions. //--------------------------------------------------------...
/** * * @author Bob Tarling */ public class Token { String text; TokenType type; int length; /** Creates a new instance of Token */ Token(String text, TokenType type) { this.text = text; this.type = type; this.length = text.length(); } /** Creates a new instance of Token */ Token(int length, TokenT...
/*! @file LowMCEnc.h * @brief Header file for LowMcEnc.c, the C implementation of LowMC. * * This file is part of the reference implementation of the Picnic and Fish * signature schemes, described in the paper: * * Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key Primitives * <NAME> and <NAME> ...