content
stringlengths
10
4.9M
<reponame>an888ha/AdaptiveCards<gh_stars>0 #include "pch.h" #include "AdaptiveOpenUrlAction.h" #include "Util.h" using namespace Microsoft::WRL; using namespace Microsoft::WRL::Wrappers; using namespace ABI::AdaptiveNamespace; using namespace ABI::Windows::Foundation; AdaptiveNamespaceStart HRESULT AdaptiveOpenUr...
import java.util.*; public class prac{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int t; t=0; t=sc.nextInt(); while(t>0){ t--; String st=""; st=sc.next(); int arr[]=new int[st.length()]...
// newPullRequest returns a new pullRequest object func newPullRequest(pr int, config pullRequestConfig) (*pullRequest, error) { logger := config.logger cvr := config.cvr logger.Debugf("creating pull request: %d", pr) i, err := cvr.getPullRequestInfo(pr) if err != nil { return nil, fmt.Errorf("failed to get pull...
package org.clever.quartz.entity; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import java.io.Serializable; /** * 作者: lzw<br/> * 创建时间:2018-03-09 18:30 <br/> */ @Data public class QrtzSchedulerState implements Serializable { /** * Scheduler名称 */ @TableId private St...
The potential of Ginkgo biloba in the treatment of human diseases and the relationship to Nrf2-mediated antioxidant protection. OBJECTIVES This review summarises the current findings regarding the therapeutic effects of GBE and its active ingredients in relation to the Nrf2 antioxidant cascade, to provide scientific i...
<reponame>janatjak/ui import { css } from 'styled-components'; import { Breakpoints } from '../scales/breakpoints'; export const mediaQueries = (breakpoints: Breakpoints, predicate: (i: number, br: string) => any) => breakpoints .map((br, i) => i === 0 ? css` ${predicate(i, br)} ` : css...
/** * A PortalOutlet that lets multiple components live for the lifetime of the outlet, * allowing faster switching and persistent data. */ import {ComponentPortal} from '@angular/cdk/portal'; import { ApplicationRef, ComponentFactoryResolver, ComponentRef, EmbeddedViewRef, Injector } from '@angular/core';...
<reponame>brutzl/pymbs<filename>pymbs/input/input_element.py from pymbs.common.mbselement import MbsElement class MbsInputElement(MbsElement): """ This class provides basic properties for all mbs-elements: name predecessor (parent) successor (child) """ def __init__(self, name,...
The Chinese government is reported to have sent thousands of soldiers and police to quell unrest in the central province of Hunan. Up to 10,000 people took to the streets in Jishou to demand money back from an allegedly fraudulent fundraising firm, a Hong Kong-based rights group said. In another protest in the easter...
// CronStack wires up a standard router with a cron specific decorator chain. // This can be passed into BaseApp. // Cron stack configuration is a subset of the main stack. It is using the same // components but not all functionalities are needed or expected (ie no message // fee). func CronStack() weave.Handler { rt ...
Design of Dynamic Diffusion Simulation System for Atmospheric Pollutants in Coastal Cities under Persistent Inverse Temperature ABSTRACT Gong, Y. and Luo, X., 2020. Design of dynamic diffusion simulation system for atmospheric pollutants in coastal cities under persistent inverse temperature. In: Yang, Y.; Mi, C.; Zha...
import * as React from 'react'; import * as moment from 'moment'; import { IPnPControlsProps, IPnpControlsState } from './IPnPControlsProps'; import { Spinner, SpinnerSize } from 'office-ui-fabric-react/lib/components/Spinner'; import { DocumentCard, DocumentCardPreview, DocumentCardTitle, DocumentCardActivity,...
export * from "./achievements"; export * from "./bosses"; export * from "./graces"; export * from "./quests"; export * from "./types";
/** * Simple helper class. * * @author <a href="mailto:armin@codeAuLait.de">Armin Waibel</a> */ public class VOHelper { public static List createNewArticleList(int number) { ArrayList list = new ArrayList(); for (int i = 0; i < number; i++) { list.add(createNew...
<reponame>scala-native/immix #ifndef IMMIX_BLOCLIST_H #define IMMIX_BLOCLIST_H #include "../headers/BlockHeader.h" #define LAST_BLOCK -1 typedef struct { word_t *heapStart; BlockHeader *first; BlockHeader *last; } BlockList; void BlockList_Init(BlockList *blockList, word_t *offset); void BlockList_Clear...
def context(store, starts, content, prefix = prefix, analyse = analyse): (start, content) = prefix(starts, content) (names, argument, invoke) = analyse(store, content) return (start, names, argument, invoke)
<reponame>nimakaviani/kapp package clusterapply type UI interface { NotifySection(msg string, args ...interface{}) Notify(msg string, args ...interface{}) }
// BinarySearch2 is an implementation with recursion func BinarySearch2(data []int, key, low, high int) int { if high < low { return -1 } mid := (high - low) / 2 if key == data[mid] { return mid } if key > data[mid] { return BinarySearch2(data, key, low, mid-1) } return BinarySearch2(data, key, mid+1, hig...
<reponame>welialmeida/cmu<gh_stars>0 package pt.ulisboa.tecnico.cmu.command; import pt.ulisboa.tecnico.cmu.response.Response; /** * Created by daniel on 01-04-2018. */ public class PostQuizAnswersForMonumentCommand extends Command { private static final long serialVersionUID = -8807331723807741905L; priva...
// Copyright 2019 by <NAME>, All Rights Reserved #include <inttypes.h> #include <regex.h> #include <stdio.h> #include "debug.h" #include "domain.h" #define MAX_MATCH 8 typedef struct _domain { struct _domain *next; char *host; char *path; regex_t rhost; } *Domain; static Domain domains = NULL; ...
<reponame>MostafaTwfiq/C-DataStructure-And-Algorithms #ifndef C_DATASTRUCTURES_DEQUETEST_H #define C_DATASTRUCTURES_DEQUETEST_H #include "../../../../ErrorsTestStruct.h" void dequeUnitTest(); #endif //C_DATASTRUCTURES_DEQUETEST_H
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.kgottis.mserv.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Co...
/* * Copyright (c) 2005-2021 Xceptance Software Technologies GmbH * * 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 requir...
/* * __inmem_col_int -- * Build in-memory index for column-store internal pages. */ static void __inmem_col_int(WT_SESSION_IMPL *session, WT_PAGE *page) { WT_BTREE *btree; WT_CELL *cell; WT_CELL_UNPACK *unpack, _unpack; const WT_PAGE_HEADER *dsk; WT_PAGE_INDEX *pindex; WT_REF **refp, *ref; uint32_t i; btree ...
// Simulates Linux's pwritev API on OS X. ssize_t pwritev(int fd, const struct iovec* iovec, int count, off_t offset) { ssize_t total_written_bytes = 0; for (int i = 0; i < count; i++) { ssize_t r; RETRY_ON_EINTR(r, pwrite(fd, iovec[i].iov_base, iovec[i].iov_len, offset)); if (r < 0) { return r; ...
// doesLinkExist checks if a link exists in a given slice func (s *Scrapper) doesLinkExist(newLink commons.Links, existingLinks []commons.Links) (exists bool) { for _, val := range existingLinks { if strings.Compare(newLink.Href, val.Href) == 0 { exists = true } } return }
def fuzzy_match_threshold(category): if category == 'word_jumble': return 60 if category == 'spelling_backwords': return 90 if category == 'simple_math': return 100 if category == 'memory_game': return 60 if category == 'simple_trivia': return 60 if catego...
def add_post_pipe_connect_cb(self, callback): self._on_post_pipe_add.append(callback)
CBS aired its final Thursday night NFL match-up of the season, a shutout, dropping to a 2017 ratings low in the process. The game, simulcast on CBS, the NFL Network and Amazon, averaged a 8.4 overnight rating among households, a low for this season's Thursday Night Football showings. It marked a 15 percent decline fro...
N, M = map(int, input().split()) Adj = [[] for i in range(N+1)] for i in range(M): a, b = map(int, input().split()) Adj[a].append(b) Adj[b].append(a) Q = int(input()) v, d, c = [0]*Q, [0]*Q, [0]*Q for i in range(Q): v[i], d[i], c[i] = map(int, input().split()) memo = [[0] * (10+1) for i in range(N+1)...
from pyroute2 import IPDB from pyroute2.common import uifname ip = IPDB() def test1(): try: device = ip.interfaces['eth0']['ipaddr'] finally: pass for i in range(1000): test1() ip.release()
// ----------------------------------------------------------------------------- /** * @brief Parses and verifies client socket data from json array * * The json data is expected (required) to be formatted like the following * * "clientSockets": [ { "name": "NAME1" } ] */ std:...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2009, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
/** * Utility function that returns a JSONArray of all the names of the keys (attributes) of this JSONObject * @return All the keys in the JSONObject as a JSONArray. */ public JSONArray names() { Enumeration itr = this.keys(); if (itr != null) { JSONArray array = new JSONArra...
/** * Checks that the combat (attacks) between the characters is correct */ @Test void Combat() { assertTrue(testKnight.isAlive()); assertTrue(testTankyEnemy.isAlive()); assertTrue(testNormalEnemy.isAlive()); assertTrue(testWeakEnemy.isAlive()); assertFalse(testDead...
// Initialize configures the agent provider func (p *Provider) Initialize(fw *choria.Framework, log *logrus.Entry) { p.fw = fw p.cfg = fw.Config p.log = log.WithFields(logrus.Fields{"provider": "ruby"}) p.loadAgents(fw.Config.Choria.RubyLibdir) }
<gh_stars>1-10 -- | The simple strategy keeps a pool of possible secret codes around. After -- each guess the inconsistent codes, i.e. the codes that can't possibly be the -- secret code anymore, are removed from the pool so that the pool shrinks on -- and on after each guess until it is so small that the secret code i...
import sys sys.setrecursionlimit(10 ** 7) N = int(input()) L = list("abcdefghij") def nasu(x, n, e): if n == N: print(x) return for i in range(e + 1): if i == e: nasu(x + L[i], n + 1, e + 1) else: nasu(x + L[i], n + 1, e) nasu("", 0, 0)
Reliable Prediction of Channel Assignment Performance in Wireless Mesh Networks The advancements in wireless mesh networks (WMN), and the surge in multi-radio multi-channel (MRMC) WMN deployments have spawned a multitude of network performance issues. These issues are intricately linked to the adverse impact of endemi...
<gh_stars>1-10 /* * 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. */ // @ts-ignore import { uiModules } from 'ui/modules'; import {...
Tumbling, an Interactive Way to Move Forward The migration of Drosophila border cells has become a powerful model with which to genetically identify guidance cues that control the directed migration of a group of interconnected cells. During oogenesis, border cells delaminate from an epithelial layer and move collecti...
Corporations are roaring. Wall Street is rolling in cash. C.E.O. bonuses are going gangbusters. It’s a really good time to be rich! If you’re poor, not so much. The pall of the recession is suffocating. The unemployment rate is still unbearably high. The Census Bureau reported in September that the poverty rate for 20...
<gh_stars>0 # Generated by Django 3.2.8 on 2021-10-22 18:32 import uuid from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(setting...
<reponame>solomon-qwe/agalia<filename>src/agalia/ImageDrawD2D.cpp #include "pch.h" #include "ImageDrawD2D.h" #include <io.h> #ifndef INITGUID #define INITGUID #include <guiddef.h> #undef INITGUID #else #include <guiddef.h> #endif #include <wrl.h> #include <d2d1_1.h> #include <d3d11_1.h> #pragma comment(lib, "d2d1...
Comparison of capacity in downlink WCDMA systems using soft handover techniques with SIR-based power control and site selection diversity transmission In this paper, downlink performance of WCDMA system with site selection diversity transmission power control (SSDT) during soft handover mode is analysed. Signal to int...
/** * OpenPerf API * REST API interface for OpenPerf * * OpenAPI spec version: 1 * Contact: <EMAIL> * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ /* * PacketGeneratorResult.h * * Results produced...
import { test } from 'ava'; import { ModelBuilder, StaticCreate, StaticCreateEnum } from './model-builder'; import { getModelDef } from '../utils/meta-reader'; test(`Model#name returns the ModelDefinition name`, t => { const expectedName = 'TestModelIdentifier'; let m = newModel(expectedName); t.is(m.name, exp...
<filename>src/algoritmia/problems/geometry/convexhull/graham.py from algoritmia.problems.geometry.utils import Point2D, left from algoritmia.utils import argmax from algoritmia.datastructures.queues.lifo import Lifo from math import atan2 #< graham class GrahamConvexHullFinder: def find(self, S: "IList<Poin...
package client import ( "context" "github.com/Asutorufa/fabricsdk/client/grpcclient" ordererProtos "github.com/hyperledger/fabric-protos-go/orderer" ) //OrdererClient orderer client use grpc type OrdererClient struct { Client } //NewOrdererClient create new orderer client func NewOrdererClient(address, override...
#!/usr/bin/env python """Implements part of CCL, the Common Command Language, ISO 8777. I'm working from the description in the YAZ toolkit (http://www.indexdata.dk/yaz/doc/tools.php), rather than the ISO spec. Two extensions: - qualifiers can be literal "(attrtyp, attrval)" pairs, so, e.g., the following is a legit...
<reponame>perezdouglas935/godot /*************************************************************************/ /* fbx_material.cpp */ /*************************************************************************/ /* This file is part of: ...
<reponame>kk-kien/blockfrost-haskell -- | Network queries module Blockfrost.Client.Cardano.Network ( getNetworkInfo ) where import Blockfrost.API import Blockfrost.Client.Types import Blockfrost.Types networkClient :: MonadBlockfrost m => Project -> NetworkAPI (AsClientT m) networkClient = fromServant . _networ...
def upper_diagonal_constraint(board: Board, row: int, col: int) -> bool: row -= 1 col -= 1 while row >= 0 and col >= 0: if board.is_queen(row=row, col=col): return False row -= 1 col -= 1 return True
<filename>acq2bva/runners/acq2bva_args.py import argparse from pathlib import Path from acq2bva.__version__ import __version__ from acq2bva.runners.acq2bva_text import ACQ2BVA_USAGE def create_parser(): parser = argparse.ArgumentParser( prog="acq2bva", usage=ACQ2BVA_USAGE, add_help=False ) parser...
/** * Adds SMC guards to the code * @param obj */ public static StringBuffer addGuardFromTransition(Object obj) { StringBuffer localBuffer = new StringBuffer(); if(obj instanceof org.jts.jsidl.binding.Transition) { org.jts.jsidl.binding.Transition tr = (org.jts.jsidl.binding.Transition)obj; Guar...
<reponame>wjaspers/ag-grid // Type definitions for @ag-grid-community/core v24.0.0 // Project: http://www.ag-grid.com/ // Definitions by: <NAME> <https://github.com/ag-grid/> import { IAgLabel } from './agAbstractLabel'; import { AgAbstractField, FieldElement } from './agAbstractField'; export interface IInputField ext...
Carrier transport in flexible organic bistable devices of ZnO nanoparticles embedded in an insulating poly(methyl methacrylate) polymer layer The bistable effects of ZnO nanoparticles embedded in an insulating poly(methyl methacrylate) (PMMA) polymer single layer by using flexible polyethylene terephthalate (PET) subs...
<reponame>misershaad/nineanime-grabber from lxml import html import requests # ----------------------------------------------------------------------- def gen_client(**kwargs): client = requests.Session() h_global = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:97.0) Gecko/20100101...
struct ListNode { //~ ERROR has infinite size head: u8, tail: Option<ListNode>, } fn main() { }
/** * <p> * Outputs a JavaDoc tag as information. Can be used e.g. with the stylesheets * that sort the report by author name. * To define the format for a tag, set property tagFormat to a * regular expression. * This check uses two different severity levels. The normal one is used for * reporting when the tag i...
#include <testthat.h> typedef std::vector<int> sequence; sequence last_n (const sequence&, int); context("last_n") { test_that("example 1") { sequence input; input.push_back(1); input.push_back(2); input.push_back(3); sequence output = last_n(input, 0); expect_true(output.size() == 0); ...
<reponame>MathewMacDougall/Two-Faced-Type import unittest from unittest.mock import MagicMock from stl import read_stl, write_stl import pathlib from face_factory import FaceFactory from util import * from geom_removal import remove_redundant_geometry from combiner import combine_words from OCC.Display.SimpleGui impor...
// Get node value as float64 func (this *Node) F64(namespace, name string) float64 { value := this.S(namespace, name) if value != "" { n, _ := strconv.ParseFloat(value, 64) return n } return 0 }
/* Returns the size of the entire flash chip */ uint64_t mtd_get_device_size(const struct mtd_info *mtd) { struct mtd_info *master = mtd_get_master((struct mtd_info *)mtd); return master->size; }
/** * Program is an ordered set of string literals and expressions * string literal: Any continuous string that is not an expression * expression: object.function(param1,param2,..).function(param1,param2..) * param1 could be another expression * * evaluating an expression * 1. evaluate each param * ...
/** * Remove a publication from the researcher folder * * @param rp * @return true if the publication is removed. */ public boolean removeResearcherPublication(ResearcherPublication rp) { boolean removed = false; if( publications.contains(rp)) { removed = publications.remove(rp); rp.setPare...
Imaging features of hepatic angiomyolipomas on real-time contrast-enhanced ultrasound. The aim of this study was to evaluate the imaging features of hepatic angiomyolipoma (AML) on contrast-enhanced ultrasound (CEUS). The imaging features of 12 pathologically proven hepatic AML lesions in 10 patients who had undergone...
/** * Instances of this class set the ModelView and Projection matrices * so that the scene can be rendered from a given camera. * * Differently from the LookThroughNormalized state change, a normal player camera bobs up and down * when the player moves and bobbing is enabled. * * The default instance of this cl...
A Security-Enhanced UHF RFID Tag Chip The integration of strong security functionality to radio-frequency identification (RFID) tags operating in the ultra-high frequency (UHF) range is challenging. Main limiting factors are chip size and power consumption. In this work we present the design of the digital part of a s...
/** * Database connection initializer. * Creates the persistence database connection. * */ public static void DBInit(){ emf = Persistence.createEntityManagerFactory("jpa-persistence-unit-1"); em = emf.createEntityManager(); Logger.info("Database connection initialised and connecte...
package translatableerror import ( "fmt" "strings" ) type InterpolationError struct { Err error } func (e InterpolationError) Error() string { return fmt.Sprint(strings.Replace(e.Err.Error(), "\n", ", ", -1)) } func (e InterpolationError) Translate(translate func(string, ...interface{}) string) string { return...
From trying to look younger to convincing people you are more experienced, it seems few people are happy with the age they are. But beyond vanity there may be compelling reasons to cover-up your age on your resume. Lisa Johnson Mandell says faced age discrimination when she turned 49. After over 20 years in entertainm...
def _get_service_file(service_url): return "%s/service_%s_encrypted" % ( ServiceWallet._wallet_dir(), _base64.b64encode(service_url.encode("utf-8")).decode("utf-8"))
<reponame>forec-org/os-sumulator // // Created by 王耀 on 2017/9/23. // #include "gtest/gtest.h" #include "printer.h" #include "fs.h" TEST(TESTPrinter, TEST_PRINT) { FS::init("./fs"); std::vector<std::string> ans = Printer::PRINT("-"); std::string res = ""; for (std::string a : ans) { res += a +...
def testGeometryInputs(self): p1 = ee.Geometry.Point([1, 2]) p2 = ee.Geometry.Point([3, 4]) line = ee.Geometry.LineString([p1, p2]) self.assertIsInstance(line, ee.Geometry) self.assertEqual( ee.ApiFunction.lookup('GeometryConstructors.LineString'), line.func) self.assertEqual({'coordinat...
class arm_disassemble: """disassemble incoming data into ARM instructions""" def __init__(self, ui, adr): self.ui = ui self.pc = adr self.state = 'thumb' def emit_thumb(self, opcode): """16 bit thumb instructions""" da = darm.disasm_thumb(opcode) s = '?' if da: s = str(da) ...
Comparative study of local search in SWAP and agglomerative neighbourhoods for the continuous p-median problem One of the classical NP-hard problems of location theory is the p-median problem. In this paper, we investigate the comparative efficiency of searching for a solution to this problem in SWAP-neighborhoods, as...
module Main where import Test.Hspec import Test.QuickCheck import Control.Exception (evaluate) import qualified ArrayTests import qualified GraphTests import qualified HeapTests import qualified StackTests import qualified TableTests import qualified TreeTests main :: IO () main = hspec $ do ArrayTests.arrayTests ...
def ANY_IN_MULTISELECT(input, reference): return any([subval in (input or '').split(' ') for subval in reference])
ATR today urged support of the Payroll tax cut compromise bill. COGC is particularly pleased with the pay-fors inserted by House Republicans; the bill will offer the single largest repeal of Obamacare to date, rescinding $5 billion from a Centers for Disease Control and Prevention (CDC) fund created by the health care ...
<gh_stars>0 // // Copyright (C) 2018 Pharap (@Pharap) // // 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 ...
As it becomes increasingly obvious, I’m starting to think White-Wolf has more interest in roping their lapsed Masquerade fans back into the fold than in making Requiem a complete gameline. The writing is certainly on the walls. Their upcoming MMO (assuming it doesn’t remain in a permanent state of vapor-ware) is based ...
A Framework for Vibration Attenuation in Traffic Mast-Arm Structures under Wind Loads Traffic signals and information signs play a vivid role in guiding drivers on highways and urban roads, to maintain safe travel. For this reason, it is crucial to ascertain the functionality of signal support structures. This paper...
package main func moveZeroes(nums []int) { var lastNoZeroIndex int for i := 0; i < len(nums); i++ { cur := nums[i] if cur != 0 { last := nums[lastNoZeroIndex] nums[i] = last nums[lastNoZeroIndex] = cur lastNoZeroIndex++ } } }
import { Flex } from '@chakra-ui/react'; import React, { useState } from 'react'; import { ScriptTask } from '../../models/scriptTask'; import storageService from '../../services/storageService'; import TaskConsole from './TaskConsole'; import TaskList from '../TaskList'; const TaskRunner: React.FC = () => { const [...
A spokesperson for the Attorney General of New Jersey has said it would have been illegal to release surveillance video to the NFL of Ray Rice punching his then-fiance in an Atlantic City hotel elevator. Rice was cut by the Baltimore Ravens and suspended indefinitely by the NFL following the release of disturbing foot...
/// Samples for a incident and wh if possible. /// /// # Returns /// `(incident, wh)` fn sample_incident_wh_cos_o( &self, outgoing: Vector3, sample: Vector2, ) -> Option<(Vector3, Vector3, Float)> { // Sample microfacet orientation $\wh$ and reflected direction $\wi$ if bxdf_...
// TODO: these "Bind*" functions are almost identical, except they use different params. Can we combine? //----------------------------------------------------------------------------- void CPUTMaterialDX11::BindTextures(CPUTShaderParameters &params, const CPUTModel *pModel, int meshIndex) { CPUTAssetLibraryDX11...
/* For license and copyright information please see LEGAL file in repository */ package ipv6 // HopByHop is IPv6 extension header with NextHeader==0 type HopByHop struct { NextHeader uint8 HdrExtLen uint8 Options []byte }
The surprise signing of Roman Torres will complicate the playing life of Brad Evans, who was moved to a position he didn’t like Sunday. Now what? The signing of Róman Torres will bring size, physicality, and an aerial threat to the Seattle Sounders. It may also bring instability to Seattle captain Brad Evans’ role on ...
/** * * @author Paola Masuzzo */ public class LoadFromCellMiaMetadataPanel extends javax.swing.JPanel { public JTextField getDurationTextField() { return durationTextField; } public JLabel getInfoLabel() { return infoLabel; } public JLabel getInfoLabel1() { return infoL...
<reponame>tigefa4u/gitlabhq package git import ( "os" "testing" "github.com/sirupsen/logrus" "gitlab.com/gitlab-org/gitlab/workhorse/internal/gitaly" ) func TestMain(m *testing.M) { gitaly.InitializeSidechannelRegistry(logrus.StandardLogger()) os.Exit(m.Run()) }
<reponame>Praqma/Helmsman // go:build exclude package main import ( "encoding/json" "os" "github.com/Praqma/helmsman/internal/app" "github.com/invopop/jsonschema" ) func main() { r := new(jsonschema.Reflector) r.AllowAdditionalProperties = true if err := r.AddGoComments("github.com/Praqma/helmsman", "./inter...
// Split Directed-Edge d of this Polygon by cut Plane: public void split(Plane cut, DEdge d ) { if (cut.sDistance(d.srcPoint()) * cut.sDistance(d.dstPoint()) >= 0.0) { throw new IllegalArgumentException(); } Vec3d onP = cut.onPoint( d.srcPoint(), d.dstPoint() ); d.split( onP ); ++nDEdges; }
def retrieve_top_video(videos): for i in range(1, 4): try: PriorityCheck = [d['priority_flag'] == i for d in videos] return videos[PriorityCheck.index(True)] except ValueError: if i < 3: continue else: ...
Enter your search terms Submit search form Web www.debunkingskeptics.com Debunking PseudoSkeptical Arguments of Paranormal Debunkers By Winston Wu Revised 2011 Praises and Reviews “Winston Wu has now written an essay that brilliantly and decisively rebuts the general skeptical arguments against the paranormal. Thi...
The Army has informed Congress that it is terminating a robotic vehicle and an unmanned aircraft program that were once part of the Army’s largest modernization effort. The move, which comes as the Pentagon prepares its 2011 budget request, highlights the Army’s need to pour money into technologies that military plann...
/** * Triggers the startup procedure for a {@code MicroserviceInstance}. * * @author Lion Wagner */ public class InstanceStartupEvent extends Event<MicroserviceInstance> { public InstanceStartupEvent(Model model, String name, boolean showInTrace) { super(model, name, showInTrace); this.setSched...
/* * 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, software * distributed u...
// GenerateNewToken generates a new token for protecting against CSRF. The token is attached to the // response writer as a cookie. func (c *Handler) GenerateNewToken(w http.ResponseWriter, r *http.Request) error { ses, err := c.CreateSession("csrf", false) if err != nil { log.Println("Error creating a new CSRF tok...