content
stringlengths
10
4.9M
Many companies institute wellness programs that focus on encouraging employees to eat better or exercise more. Meanwhile, they overlook the atmosphere of the workplace setting itself. | Reuters/Luke MacGregor We may be long past the days of Upton Sinclair’s The Jungle, the seminal book that depicted the harsh working ...
/** * Test of getNumAdded method, of class GeneralSubsetMove. */ @Test public void testGetNumAdded() { System.out.println(" - test getNumAdded"); for(int i=0; i<100; i++){ int numadd = RG.nextInt(NUM_IDS); Set<Integer> add = SetUtilities.getRandomSubset(IDs, numadd,...
def _parse(self): for line in self.load_input_log(): if not line.startswith(">>> "): continue parts = line.rstrip().split(" ") name = str(parts[1]) result = float(parts[3]) threads = str(parts[4]) self.add_result(name, res...
<reponame>ihor-nahuliak/task-23-jul-2019 from datetime import datetime as dt from migrate import * import sqlalchemy as sa from sqlalchemy.dialects import postgresql as sa_psql metadata = sa.MetaData() tbl_clients = sa.Table( 'billing__clients', metadata, sa.Column('id', sa_psql.UUID(), primary_key=True),...
CLOSE Hearing on the proposed Delaware Marijuana Control Act, a bill that seeks to legalize the use and sale of recreational marijuana. Jason Minto/The News Journal Buy Photo Helene M. Keeley, D-South Wilmington, speaks during a hearing on the proposed Delaware Marijuana Control Act, a bill that seeks to legalize the ...
<gh_stars>0 import { Component, OnInit } from '@angular/core'; import { PatientService } from 'app/shared/services/patient.service'; import { NotificationsService } from 'app/shared/services/notifications.service'; import { MatDialogRef } from '@angular/material'; @Component({ selector: 'app-patients', templateUrl...
<reponame>noamz/linlam-gos import Data.List import Data.Ord import Diagrams.Prelude import Diagrams.Backend.SVG.CmdLine import Viz.Catalan import Bijections import Catalan import ChordDiagrams import Viz.List main = do putStr "(n, isConnected): " (n,b) <- getLine >>= return . read let invs = filter (if b then ...
/* * Proland: a procedural landscape rendering library. * Copyright (c) 2008-2011 INRIA * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your op...
<filename>script/procesador.py import numpy as np from scipy import ndimage import cv2 as cv import sys, os import matplotlib.pyplot as plt #Lista de algunos kernels que andan por ahí kernelBlur =[[1.0/9,1.0/9,1.0/9], [1.0/9,1.0/9,1.0/9], [1.0/9,1.0/9,1.0/9]] kernelGaussianBlur =[[1.0/16,2.0/16,1.0/16], [...
package handlers import ( "fmt" "net/http" authConfig "github.com/GMcD/telar-web/micros/auth/config" "github.com/GMcD/telar-web/micros/auth/database" models "github.com/GMcD/telar-web/micros/auth/models" "github.com/GMcD/telar-web/micros/auth/provider" service "github.com/GMcD/telar-web/micros/auth/services" ...
Estonia Nation Branding Contribution from a Dutch e-Resident and fan. For business and pleasure I visited Estonia and met Estonians through my work in marketing. My name is Peter Kentie and I am managing director of Eindhoven365 and responsible for the place branding and marketing of Eindhoven city and region in The N...
/** * Utility methods for Ranges * * @author Marine Dumousseau (marine@ebi.ac.uk) * @version $Id$ * @since <pre>11/02/13</pre> */ public class RangeUtils { /** * Converts a range in a String. * Undetermined position is represented with ? * N-terminal range is represented with n * C-termin...
def structparse_ip_header_info(bytes_string: bytes): import struct This is an alternate way to get to the data we want, but we want to demo the usage of struct - ip_layer_plus = bytes_string[14:] - ip_byte0 = ip_layer_plus[0] This uses 'network byte order' (represented by '!') which is Big Endia...
The Road Not Taken: Applications of Fluorescence Spectroscopy and Electronic Structure Theory to Systems of Materials and Biological Relevance Femtosecond fluorescence upconversion experiments were performed on the naturally occurring medicinal pigment, curcumin, in anionic, cationic, and neutral Reprinted with permis...
<filename>frontend/http/src/main/java/org/dotwebstack/framework/frontend/http/HostPreMatchingRequestFilter.java package org.dotwebstack.framework.frontend.http; import com.google.common.net.HttpHeaders; import java.io.IOException; import java.net.URI; import javax.ws.rs.container.ContainerRequestContext; import javax....
/// Parse an already hyphenated word into word windows and hyphen labels. /// /// Given a word with embedded hyphens, generate a sequence of sliding /// 6-character windows and associated boolean labels, like the table above. /// static void dehyphenate(const char *hword, vector<string> &words, ...
<gh_stars>0 /* The MIT License Copyright (c) 2013 <NAME> <<EMAIL>> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to u...
import { _GraphQueryableCollection, _GraphQueryableInstance } from "@pnp/graph/graphqueryable"; import { OutlookUser as IOutlookType, OutlookCategory as IOutlookCategoryType } from "@microsoft/microsoft-graph-types"; import { IDeleteable, IGetById, IUpdateable } from "@pnp/graph/decorators"; /** * Outlook */ ex...
n=int(input()) d={"A":float("inf"),"B":float("inf"),"C":float("inf"),"AB":float("inf"),"AC":float("inf"),"BC":float("inf"),"ABC":float("inf")} for _ in range(n): cost,vits=input().split() cost=int(cost) if(len(vits)==1): if(d[vits]>cost): d[vits]=cost elif(len(vits)==2): ...
The unnamed teacher handed out a homework note to pupils of the collège Antoine-Delafont, a secondary school in Montmoreau-Saint-Cybard southwestern France . It read: "You've just turned 18 and have decided to end your life. Your decision appears irrevocable. As a final effort, you decide to explain the reasons for yo...
# https://codeforces.com/contest/1207/problem/E import sys def pr(a): S = ' '.join([str(x) for x in a]) print('? '+S) pair = [[i, j<<7] for i in range(1, 101) for j in range(1, 101)] d = {} for p0, p1 in pair: if p0 ^ p1 not in d: d[p0 ^ p1] = [] d[p0 ^ p1].append([p0, p1]...
/* * The third phase of SER correction. * Conduct SER correction according to SER information * parsed by the second phase. */ static bool bcmptm_ser_req(int unit, bcmptm_ser_correct_info_t *spci) { int rv = SHR_E_NONE; bcmptm_ptcache_ctr_info_t ctr_info; const bcmdrd_sid_t *sids_ptr = NULL; uint32_...
/** * Removes 1 health from the brick and calculates its remaining health. * @return the remaining health of the brick */ @Override public int damage(){ this.changeImage("damaged_brick.png"); this.setHealth(this.getHealth()-1); return this.getHealth(); }
Hypoparathyroidism in pregnancy Pregnancy and lactation are associated with remarkable changes in calcium homeostasis, resulting from pregnancy-induced alterations in the production, metabolism and excretion of calcium and calcitropic hormones. Therefore, the clinical course of disorders affecting the parathyroid glan...
/** * Creates a single three-sample output VCF for the trio. */ class TrioEvalSynchronizer extends WithInfoEvalSynchronizer { private static final String OUTPUT_FILE_NAME = "output.vcf"; private static final String SAMPLE_FATHER = "FATHER"; private static final String SAMPLE_MOTHER = "MOTHER"; private static...
<gh_stars>10-100 #pragma once /* https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/public/tier0/memalloc.h Structures aren't checked, if using, refer to your favorite disassembler. Needed for certain things when messing with the source engine (example: rebuilding anim stuff and allocating mem with...
Throwing the Baby Out with the Bathwater Abstract Introducing an account of the recent childfree phenomenon, I focus on the strategic rhetoric of choice as the basis for childfree arguments against state and workplace support of parenting. I draw upon existing feminist analyses of the ideal worker and of caretaking an...
<filename>__init__.py<gh_stars>0 from .owa_wrapper import OwaWrapper
import * as React from 'react'; interface Props { onStartNewGame: () => void; } const ButtonPlayAgain = ({onStartNewGame}: Props) => { return ( <a className="repeat-link" onClick={() => onStartNewGame()}> Play again. <i className="fas fa-redo"></i> </a> ) }; export...
def check_voxel(mask_index, ref_voxel, datarange): sym_z, sym_y, sym_x = ( 2 * ref_voxel[0] - mask_index[0], 2 * ref_voxel[1] - mask_index[1], 2 * ref_voxel[2] - mask_index[2], ) if util.in_range(point=(sym_z, sym_y, sym_x), extent=datarange): return True, mask_index, (sym_z,...
/** * Basic Serializer for CartesianGeoRecords * * @author gcooney * */ public class CartesianGeoRecordSerializer implements IGeoRecordSerializer<CartesianGeoRecord> { @Override public void writeGeoRecord(IndexOutput output, CartesianGeoRecord record, int recordByteCount) throws IOException { out...
def proceed(self, delta_t = 1.0): self.pollution_init(delta_t) iterations = int(self.evolve_speed * delta_t) convspace = np.zeros((self.width * 3, self.height * 3)) convspace[self.width: self.width *2, self.height: self.height*2] = self.value for i in range(iterations): ...
#include <iostream> #include <vector> using namespace std; inline int pow2(int n) { return n*n; } int main() { int nn; cin >> nn; for(int kk=1; kk<=nn; kk++) { int n; cin >> n; if(n % 2 == 1 && n < 7) { cout << -1 << endl; continue; } v...
The Intellectual Property Office reports that while UK infringement levels are stable, new threats are challenging progress. Around seven million people are consuming some level of copyright infringing content, but illicit streaming and stream-ripping are increasing in popularity. Interestingly, however, the number of ...
Shearography and applications in experimental mechanics I would like to share with you my experience of developing shearography and transferring the technology to industry. Shearography has already received wide industrial acceptance for nondestructive testing. Currently the rubber industry is routinely using shearogr...
import React, { useEffect } from 'react'; import { BrowserRouter, Routes, Route } from 'react-router-dom'; import Layout from './Layout'; import Home from './components/Home'; import { SymptomChecker } from './forms/SymptomChecker'; import { ResultPage } from './results/ResultPage'; import { NotFoundPage } from './page...
/** * If s is a single backslash mask it by prepending a backslash, otherwise return s unchanged. * @param s source String * @return s masked String */ private static String maskBackslash(String s) { if ("\\".equals(s)) { return "\\\\"; } return s; }
/// Left mouse button drag from the start to the end coordinates fn drag_select(&mut self, start_x: usize, start_y: i64, end_x: usize, end_y: i64) { // Break any outstanding click streak that might falsely trigger due to // this unit test happening much faster than the CLICK_INTERVAL allows. sel...
/** * Get `count` variables from the stack. * @param stack stack to peek variables from. * @param count number of variables to peek from stack. * @return array of variables (first Variable corresponds to the topmost stack item). */ public static Variable[] peekFromStack(Stack<Variable> stack, int count) { i...
Quantitative analysis of human masticatory muscles using magnetic resonance imaging. OBJECTIVES The objective of this study was to quantitatively evaluate the correlation between left and right masticatory muscle volumes in normal subjects. METHODS Contiguous 1 mm MR scans were obtained of 12 normal adult subjects a...
{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE PolyKinds #-} {-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE DuplicateRecordFields #-} {-# LANGUAGE ExistentialQuantification #-} module Language.LSP.Types.Cancellation where import Data.Aeson.TH import Langua...
def superpixels(img=None, n_segments: int=200, cs=None, n_iters: int=10, algo: str='slic', kind: str='mix', reduction=None, replace_samples=(True,), max_size=None, interpolation='BILINEAR') -> np.ndarray: if not np.any(replace_samples): return img orig_shape = None if max_size is not None: ...
<gh_stars>10-100 import React from 'react'; import { Content, Console, StatusBar, Help, Preloader } from './containers'; import styles from './App.module.scss'; export default class App extends React.Component { public render() { return ( <React.Fragment> <a href="https://github.com/netgum/archano...
<gh_stars>0 #!/usr/bin/env python # -*- coding: utf-8 -*- """ Produce a feed of zotero content that's readily useful in third-party apps. """ import argparse from datetime import datetime from functools import wraps import json import logging import os from pprint import pformat import pytz import re import sys import...
/** * Created by williamwong on 17/1/2016. */ @RunWith(value = Parameterized.class) public class TestSolution { @Parameter(0) public int input; @Parameter(1) public int expectedOutput; @Parameters(name = "{index}: {0} -> {1}") public static Iterable<Object[]> data() { return Arrays....
I know many people won't understand... Martina Purdy quits BBC after 15 years for new life as nun BelfastTelegraph.co.uk One of Northern Ireland's most high-profile female journalists is quitting to become a nun. https://www.belfasttelegraph.co.uk/news/northern-ireland/i-know-many-people-wont-understand-martina-purdy-q...
/* * Finish the recovery of the file system. This is separate from the * xfs_log_mount() call, because it depends on the code in xfs_mountfs() to read * in the root and real-time bitmap inodes between calling xfs_log_mount() and * here. * * If we finish recovery successfully, start the background log work. If we...
A two-year-old member of a large group of refugees who walked into Manitoba from Minnesota on Saturday told his mom he wanted to die instead of finish the walk, a refugee from the group says. Abdoul-Aziz Abdi Hoche, 21, was part of the group that made the two-hour journey on foot along a frozen river from 2 a.m. to 4 ...
// eslint-disable-next-line @typescript-eslint/no-explicit-any interface ElementInfo<T = any> { id: string; type: string; pos: { left: number; top: number; width: number; height: number; }; parent: { /** 子元素数量 */ childCount: number; /** 在父元素中的位置 */ inParentIndex: number; }; config?: T; addon?: I...
package org.imishinist.solr.plugins; import org.apache.solr.common.params.SolrParams; import org.apache.solr.request.SolrQueryRequest; import org.apache.solr.search.ExtendedDismaxQParser; import org.apache.solr.search.QParser; import org.apache.solr.search.QParserPlugin; public class MyQueryParserPlugin extends QPars...
/** * generates a description for the "timeout needed"-warning */ private String problemDescription(String participant) { return "WARNING: Participant " + participant + " cannot detect when no more message will be received and therefore" + " will wait indefinitely, unless an artificial...
import os import numpy as np import pandas as pd from typing import Any, Dict, List, Optional, Tuple, NoReturn import skfuzzy as fuzz import skfuzzy.control as ctrl from aggregation import OWA_T1 import matplotlib.pyplot as plt class FLST1Model(object): def __init__(self, rules_path:str, expert_mode:str): ...
/* Function: Gets number of Stored Frames Returns: number of Stored Frames */ int WaspStackEEPROM::getStoredFrames() { int storedFrames = 0; storedFrames = (int)getStackPointer(); return storedFrames; }
import java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; public class ReplacebyMEX { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int Case = sc.nextInt(); for (int i=0;i<Case;i++){ Solve(sc); } } ...
/* * Copyright (C) 2017 C-SKY Microsystems Co., Ltd. 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 ...
<reponame>Juninho-dev/varejo-tools import React from 'react' import { makeStyles } from '@mui/styles' import clsx from 'clsx' import Sidebar from './Sidebar' // style constant const useStyles = makeStyles({ root: { display: 'flex', width: '100%' }, appBar: { backgroundColor: '#fff' }, appBarWid...
def materials(self): if self._material_manager is None: self._material_manager = MaterialManager(session=self._session) return self._material_manager
def analyse_video(self, options): bot = Bot() frame_count = 0 cap = cv2.VideoCapture(options.input_video) cap.set(cv2.CAP_PROP_POS_FRAMES, frame_count) out = None while cap.isOpened(): frame_count += 1 ret, frame = cap.read() width = i...
package com.buguagaoshu.community.controller.api; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.servlet.http.HttpSession; /** * @author <NAME> {@literal <EMAIL>} *...
Tamora Pierce has written dozens of incredibly-beloved medieval fantasy books about young women doing amazing things. So why, in this era of wildly-successful YA and fantasy book adaptations, do Pierce’s books remain un-filmed? Pierce, who says she gets asked this all the time, had the following to say over on her Liv...
def _advance(self): response = log_service_pb.LogReadResponse() try: apiproxy_stub_map.MakeSyncCall('logservice', 'Read', self._request, response) except apiproxy_errors.ApplicationError, e: if e.application_error == log_service_pb.LogServiceError.INVALID_REQ...
<filename>src/components/chat/comment-card.tsx import React, { useCallback, useRef } from "react"; import { UserModelType } from "../../models/stores/user"; import { CommentTextBox } from "./comment-textbox"; import { WithId } from "../../hooks/firestore-hooks"; import { CommentDocument } from "../../lib/firestore-sche...
<filename>internal/graphicsdriver/opengl/gl/conversions.go // SPDX-License-Identifier: MIT package gl import ( "fmt" "reflect" "strings" "unsafe" ) // Ptr takes a slice or pointer (to a singular scalar value or the first // element of an array or slice) and returns its GL-compatible address. // // For example: /...
# -*- coding: utf-8 -*- # An android event hook via getevent. # Only ABS_MT_POSITION_X(Y) events are handled. # # Basic input: TouchDown(D), TouchUp(U), TouchMove(M) # Basic timeouts: TouchPressTimeout(P), TouchFollowTimeout(F), TouchMoveStopTimeout(S) # guestures are defined as follows: # Tap/Touch/Click: DM?...
class Statement: """A statement is a conjunction of conditions.""" conditions: List[Condition] def evaluate(self, table): final_result = EvaluationResult.TRUE for condition in self.conditions: result = condition.evaluate(table) if result == EvaluationResult.ERROR: return result ...
/** * Updates a channel partner link. Distributors call this method to change a link's status. For * example, to suspend a partner link. You must be a distributor to call this method. Possible error * codes: * PERMISSION_DENIED: The reseller account making the request is different from the *...
/** A {@link TreeScanner} with the scan/reduce semantics of a {@link TreeVisitor}. */ public class JCTreeScanner<R, P> implements TreeVisitor<R, P> { public R scan(JCTree tree, P p) { if (tree instanceof LetExpr || tree instanceof TypeBoundKind) { // Skip non-public APIs return null; } return...
/* * basic_3_Taymyr_is_calling_you.c * * Created on: Sep 9, 2020 * Author: ghada */ #include <stdio.h> int main() { unsigned int min ,call, come,n,m,kill=0; scanf(" %u %u %u",&call,&come,&min); n=call; m= come; for(unsigned int i=1;i<=min;i++) { if(call==i) { if (call == come ) { kill++; } c...
<filename>judge/judge_test.go<gh_stars>0 package judge import ( "context" "fmt" "testing" "time" etcd "github.com/coreos/etcd/client" ) func TestLock(t *testing.T) { client, err := etcd.New(etcd.Config{Endpoints: []string{"http://localhost:2379"}}) if err != nil { t.Fatal(err) } kv := etcd.NewKeysAPI(clie...
import java.util.*; import java.io.*; public class D672 { public static void main(String[] args) { MyScanner sc = new MyScanner(); PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out)); int n = sc.nextInt(); int k = sc.nextInt(); Segment [] start = new Segm...
/** * Converts a set of message inputs into the right message format. * This provides the base implementation for all types of messages * that need to be persisted. The bytebuffer is mandatory for * all derived classes. It is used to store all data except and * stream based data. The stream is an optional payload ...
Routledge Library Editions: Renaissance Drama Volume 13 STUART ACADEMIC DRAMA # Stuart Academic Drama An Edition of Three University Plays Edited by David L. Russell First published in 1987 by Garland Publishing, Inc. This edition first published in 2017 by Routledge 2 Park Square, Milton Park, Abingdon,...
Literature Review and Clinical Presentation of Cervical Spondylitis Due to Salmonella Enteritidis in Immunocompetent A 48-year-old woman was presented to our clinic with some fever and neck pains for about one month. Based on the symptoms and results of image, an empirical diagnosis of tuberculous cervical spondylitis...
// Setup the necessary stuff, init SPI flash void ebd_steno_init(void) { hist_get(0)->state.cap = CAPS_CAP; store_init(); #ifndef STENO_NOUI disp_init(); #endif #ifdef STENO_FLASH_LOGGING flog_init(); #endif }
Risk Factors of Mucosal Injury During Laparoscopic Heller Cardiomyotomy Background: Laparoscopic Heller cardiomyotomy has been widely adopted as a successful option for managing achalasia. However, intraoperative mucosal perforation is a common and dreadful complication of this technique. Aim of the study: We conducte...
What a New Poll Says about Muslims and American Politics Almost every day, pundits inform us about the voting intentions and habits of various groups in elections in the United States. Almost by decimal points they have identified the intentions of blacks, Jews, evangelicals, Presbyterians, seniors, gays, and others. ...
// NewShopService new a shop service. func NewShopService(uc *biz.UserUsecase, ua *biz.AddressUsecase, logger log.Logger) *ShopService { return &ShopService{ uc: uc, ua: ua, log: log.NewHelper(log.With(logger, "module", "service/shop")), } }
// conversion of char to string public class char_to_string { public static void main(String[] args) { Scanner input = new Scanner(System.in); char ch = input.next().charAt(0); String st = Character.toString(ch); /* * alternatively, st = String.valueOf(ch); */ ...
Sen. Pat Toomey (R-Pa.) tried to get unanimous consent, which requires the agreement of every senator, to pass legislation he authored with Sen. Richard Blumenthal (D-Conn.) to crack down on animal cruelty. ADVERTISEMENT Reid, however, objected, arguing if the Senate was going to pass the legislation, they should als...
def assert_get_created_time( self, filename: str, path: Tuple[str, ...], date: datetime ) -> None: assert ( self._get_created_time(FileItem(filename=filename, path=path)) == date )
How Does Online Health Information Impact Senior Patients’ Perception of Control in Collaborative Decision-making Process with Physicians? The American population is aging. The rise of healthcare costs of the aging population in the USA is becoming a national challenge. Fortunately, patient– physician collaborative de...
/** * User: Sangmok Han * Date: 2005. 1. 19. * * This class do following things: * * 1) Start its own thread and stop the thread running * when any of following two conditions is met. * - condition 1: Solving is complete * - condition 2: Solving expires (=Solving has run longer than time limi...
MORE Australians are falling behind on their home loans, despite the mining boom, according to a report released yesterday by the ratings agency Moody's. The 6168 postcode taking in Rockingham, 30 kilometres south of Perth, has the highest delinquency rate in the country with 5.31 per cent of mortgages more than 30 da...
/** * A Ui for the displaying password analysis report that is displayed when read command is called. */ public class ReadDisplayPasswordReport extends UiPart<Region> { private static final String FXML = "ReadDisplayPasswordReport.fxml"; @FXML private TextArea resultDisplay; public ReadDisplayPassword...
def finalise_submission(self): log_message = "Finalising submission..." ghlper.logging_info(log_message, self.submission_id) ghlper.update_submission_status(status='info', message=log_message, submission_id=self.submission_id) if os.path.exists(self.datafiles_dir): try: ...
def parse_args(args_input=None): parser = argparse.ArgumentParser( description=DESCRIPTION, formatter_class=argparse.ArgumentDefaultsHelpFormatter ) default_outdir = os.path.join(os.getcwd(), "acme") parser.add_argument( "-o", "--output-dir", type=str, default=def...
/** * Returns the previous entry in the list, or <code>null</code> * if this is the first one. */ @SuppressWarnings("unchecked") public final T previous () { if (DO_ASSERTIONS) { if (mNext == this) throw new RuntimeException (this + ": mNext == this")...
#!/usr/bin/env python import sys, os, time, random import re, pickle, argparse, fileinput, json from lxml import html parser = argparse.ArgumentParser(description='parses downloaded patents within a number range') parser.add_argument('--start', dest='pn_start', type=int, default=7640598, help='sta...
// +build windows package winlog import ( "sync" "time" ) // Stores the common fields from a log event type WinLogEvent struct { // XML Xml string XmlErr error // From EvtRender ProviderName string EventId uint64 Qualifiers uint64 Level uint64 Task uint64...
morini arquitectos has added a distinctive concrete tower to a university campus in argentina, originally masterplanned by césar pelli in 1999. conceived as a visual landmark for the school, the tall structure is perforated with a variety of geometric apertures that openly display the building’s internal activity. loca...
/* * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ package org.antlr.v4.test.runtime.python2; import org.antlr.v4.test.runtime.python.BasePythonTest; import org.stringte...
/** * Checks to see if a SparseTreeNode's parents can be followed all the way * up to the root node. This method is used in validating whether or not a * cached FindClosestNode result is still valid, since the tree could have * changed in the intervening time. * * * @param node *...
// When the user selects new User (Get Request) @RequestMapping(value = "/deleteAccount", method = RequestMethod.GET) public String deleteAccountGET(Model model) { Booking booking = new Booking(); model.addAttribute("booking", booking); return "deleteAccount"; }
The high altar of the Vierzehnheiligen (Photo Credit: “Cajetan”, CC BY-SA 3.0, via Wikimedia Commons) The Justice League of Medieval Saints and Their Basilica If you were a kid, or had kids, in the seventies and eighties, you might remember the classic Saturday morning animated series Super Friends (1973-1986). The c...
use std::os; use std::mem; use std::fmt::Show; use time; local_data_key!(profile_stack: Vec<u64>) local_data_key!(messages: Vec<Message>) type Message = (uint, u64, String); pub struct Profiler { desc: String, } fn enabled() -> bool { os::getenv("CARGO_PROFILE").is_some() } pub fn start<T: Show>(desc: T) -> Pr...
<filename>src/targetDetector.py<gh_stars>1-10 ''' Author: Ligcox Date: 2021-04-06 15:20:21 LastEditors: Ligcox LastEditTime: 2021-08-10 15:44:40 Description: Target detector. Instantiate different classes to detect different targets in different scenarios. Apache License (http://www.apache.org/licenses/) Shanghai Univ...
<filename>main/tools/workben/tldem.cxx /************************************************************** * * 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 ownersh...
/** Information related to the package manifest. */ pub mod manifest { use std::env; use std::path::PathBuf; /// Path to the directory in which the manifest is stored. pub fn dir() -> PathBuf { env_var!("CARGO_MANIFEST_DIR").into() } /// The `package...
/** * A view that encapsulates the behavior between the tracking number input and the destination * input */ public class ShipmentDetailInputView extends LinearLayout { public static final String TAG = ShipmentDetailInputView.class.getSimpleName(); private ViewShipmentDetailBinding binding; private OnT...
For decades there has been a cacophonous debate surrounding college athletics regarding the value of the education the players are presented, even those who went so far as to receive degrees. The news that North Carolina, one of the nation’s most prestigious public universities, had many of its athletes earn credits in...