content
stringlengths
10
4.9M
<gh_stars>0 // +build !ignore_autogenerated /* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file Licensed under the Apache License, Version 2.0 (the "License"); you may not use this fi...
// A test fixture is required for value-parameterized tests. The test fixture is // also used to contain common test setup and tear down logic. class SgxLocalAssertionAuthorityTest : public ::testing::Test, public ::testing::WithParamInterface<bool> { protected: void SetUp() override { config_ = GetSgx...
Kaposi's sarcoma: clinical features, experience in Uganda. In Uganda, Kaposi's sarcoma is predominantly a disease of the male African with a male:female ratio of 13:1. It is a multifocal disease and all parts of the body may be involved. When confined to the skin in the form of nodular tumour, it runs a slow 'benign' ...
/** * Read schema from method parameter * * @param context the scanning context * @param instance the current method * @return Schema definition of the method */ public static Schema readParameterType(final AnnotationScannerContext context, final AnnotationInstance instance) { if (...
/** * This exception is thrown when trying to set a role which is already set for given entities. */ public class RoleAlreadySetException extends PerunException { String role; public RoleAlreadySetException(String role) { super("The role: "+ role +" is already set. It cannot be set again"); this.role = role;...
/** * A client that supports accessing the configuration webservice of the Apache Marmotta. May be used for * retrieving as well as changing properties. * * <p/> * Author: Sebastian Schaffert */ public class ConfigurationClient { private static Logger log = LoggerFactory.getLogger(ConfigurationClient.class); ...
import { MapService } from './../../core/services/map.service'; import { Router, ActivatedRoute } from '@angular/router'; import { MeetingsService } from './../../core/services/meetings.service'; import { ChangeDetectorRef, Component, OnInit, ViewChild } from '@angular/core'; import { FormGroup, FormBuilder, Validators...
/** * Confirms the inherited baggage of the Span when the builder is given a parent SpanContext. */ @Test public void testStart_ParentBaggage() { SpanContext parentContext = new SpanContext(TRACE_ID, SPAN_ID, new HashMap<String, String>() {{ put("foo", "bar"); }}); unde...
// P1.cpp: определяет точку входа для консольного приложения. // #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int main() { double vp, vd , c ,t, f; cin>>vp>>vd>>t>>f>>c; vector <int> v; int cur = 0; double sp, sd = 0; s...
/*-------------------------------------------------------------------------- * hypre_ADSSetChebySmoothingOptions * * Set parameters for Chebyshev relaxation. Default values: 2, 0.3. *--------------------------------------------------------------------------*/ HYPRE_Int hypre_ADSSetChebySmoothingOptions(void *solver...
The bauxite wealth of India—A panoramic view Abstract India is emerging as a major producer of a number of minerals, but aluminium is still the only non-ferrous metal for the production of which the country has adequate ore resources. However, in the view of P R Bose and V B Lal, it is not in the interest of India, wh...
<filename>node_modules/googleapis/apis/resourceviews/v1beta1.ts /** * Copyright 2015 Google 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://ww...
package apollo.dataadapter.chado; import java.util.ArrayList; import java.util.List; import java.util.Vector; import java.sql.SQLException; import apollo.config.Config; import apollo.dataadapter.ApolloAdapterException; import apollo.dataadapter.DataInput; import apollo.dataadapter.DataInputType; import apollo.dataada...
Basin stratigraphy, sea‐level fluctuations and their global tectonic connections—evidence from the Proterozoic Cuddapah Basin The Cuddapah Supergroup succession can be divided into four unconformity‐bound sequences, namely, the Papaghni, Chitravati, Srisailam and Kurnool groups and formation representing four major cy...
// NewVoiceNotifierRequestBody builds the HTTP request body from the payload of // the "voice_notifier" endpoint of the "africastalking" service. func NewVoiceNotifierRequestBody(p *africastalking.VoiceNotificationPayload) *VoiceNotifierRequestBody { body := &VoiceNotifierRequestBody{ IsActive: p.IsActi...
def use_comparison(self): friends_companies = set(friend.company for friend in self.friends) self.company = min(filter(lambda c: c in friends_companies, self.simulation.companies), key=lambda c: dist(self, c))
Emily Jackson Emily Jackson of Hazel Green was nursing her 9-month-old son while they were in the lazy river at Point Mallard Water Park in Decatur when she was told by a park employee she was not allowed to breastfeed while in the water. (Courtesy) "You can't breastfeed in here." Emily Jackson was confused. She was...
Effect on vision of light scatter from HMD visors and aircraft windscreens The amount of scattered light, or haze, typically increases as transparent materials age, wear, become dirty, or become scratched from cleaning. Light scattered from scratched aircraft transparencies, such as windscreen, head-up-display combine...
Specificity of the bound and free forms of the cell‐envelope proteinase of Lactobacillus casei subsp. casei IFPL 731 towards the αs1‐casein‐(1–23)‐fragment P. FERNÁNDEZ DE PALENCIA, c. PELÁEZ AND M.C. MARTÍN‐HERNÁNDEZ. 1997. The specificity of the bound and free forms of Lactobacillus casei subsp. casei IFPL 731 prote...
// Decodes a single string to a list of strings. public List<String> decode(String s) { List<String> list = new ArrayList<String>(); if(s.equals("1:")){ return list; } String[] split = s.split(":"); int length = Integer.parseInt(split[0]); length += split[0].length(); String app...
. The article presents information about the international project "Healthy cities", knowledge about principles and axioms of the project. The authors have analyzed the experience of producing the "City Health Profile" under the project WHO "Healthy cities". The authors believe that the "Health Profile" of each indivi...
from typing import Optional import databases import pytest import sqlalchemy import ormar from tests.settings import DATABASE_URL database = databases.Database(DATABASE_URL) metadata = sqlalchemy.MetaData() class Band(ormar.Model): class Meta: tablename = "bands" metadata = metadata dat...
Ram Subramanian is supposed to be an ad filmmaker who has worked with top advertising firms like Ogilvy, Contract. But recently he seems to have started specialising in political agenda peddling and hate mongering. A well known AAP supporter, he had openly volunteered to work for the party in the 2015 Delhi assembly e...
<gh_stars>1-10 #![feature(type_alias_impl_trait)] pub trait Bar { type E: Copy; fn foo<T>() -> Self::E; } impl<S: Default> Bar for S { type E = impl Copy; //~^ ERROR the trait bound `S: Copy` is not satisfied in `(S, T)` [E0277] //~^^ ERROR the trait bound `T: Copy` is not satisfied in `(S, T)` [...
/** * Load all the backup files under the backup directory to a list. */ private void loadBackupFiles() { logger.info("Loading mysql monthly storage usage backup file from directory {}", backupDirPath); File backupDir = backupDirPath.toFile(); FileFilter tempFileFilter = (File pathname) -> t...
#include <bits/stdc++.h> using namespace std; int main(){ int a,b,f,k,sb=0, z=0, ht; cin>>a>>b>>f>>k; sb=b; ht=f; if(sb<ht){cout<<-1; return 0;} sb-=ht; for(int i=1; i<=k-1; i++){ if(i%2==1){ ht=2*a-2*f; if(sb<ht) {sb=b; z++;} if(sb<ht){cout<<-1; return 0;} sb-=ht; ...
A driver turned herself into police Wednesday after leaving the scene of a fatal crash Friday night in South LA. A search continues for her female passenger who also fled the scene. Kim Baldonado reports for the NBC4 News at 5 p.m. on Wednesday, March 1, 2017. (Published Wednesday, March 1, 2017) A grieving mother had...
/* compile and run: javac -cp ".;libs/*" "@sources.txt" java -cp ".;libs/*" TestClient */ public class TestClient { public static void main(String args[]) throws Exception { boolean storeAllTicks = true; boolean saveHistoryToFile = true; boolean printFromAppMessages = true; boo...
def add_classical_channel(self, node1: str, node2: str, **kwargs) -> None: assert node1 in self.nodes and node2 in self.nodes name = "_".join(["cc", node1, node2]) cchannel = ClassicalChannel(name, self.timeline, **kwargs) cchannel.set_ends(self.nodes[node1], self.nodes[node2]) s...
def identify_processes(self) -> Dict[int, dict]: processes = {} for process in self.behavior["generic"]: proc_name, proc_path = split_path(process["process_path"]) processes[int(process["pid"])] = { FieldNames.PROCESS_IMAGE: proc_name, FieldNames.P...
// RowViewOf reflects the row i of the RawMatrixer m, into the receiver // backed by the same underlying data. The length of the receiver must either be // zero or match the number of columns in m. func (v *VecDense) RowViewOf(m RawMatrixer, i int) { rm := m.RawMatrix() if i >= rm.Rows || i < 0 { panic(ErrRowAccess...
package com.twu.biblioteca; import org.junit.Test; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertSame; import static org.mockito.Mockito.mock; import static org.mock...
package gobfuscate import "path/filepath" func isGoFile(path string) bool { return filepath.Ext(path) == ".go" }
class Solution: def __init__(self): self.n, self.m = [int(x) for x in input().split()] self.a = [int(x) for x in input().split()] def solve_and_print(self): self.a.sort() print(sum(-self.a[i] for i in range(self.m) if self.a[i] < 0)) if __name__ == "__main__": Sol...
Isolation and Quantification of Methylated Cell-Free DNA in Plasma on an Integrated Microfluidic System. Methylated cell-free DNA (cfDNA) has been deemed a promising biomarker for ovarian cancer (OvCa) prognosis and therapy selection. However, exploring the methylation profiles of tumor suppressor genes in cfDNA remai...
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license # Copyright (C) 2001-2017 Nominum, Inc. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose with or without fee is hereby granted, # provided that the above copyright notice and this permis...
The Hong Kong government was accused of "brainwashing" on Thursday after it suggested schools broadcast to students a live address by a Beijing official visiting the city. It comes as concern grows that Chinese authorities are squeezing semi-autonomous Hong Kong's freedoms in a range of areas, from politics to media a...
def update(tag_id, name, color, organization_id): tag = get_with(tag_id, organization_id) if name: tag.name = name if color: tag.color = color db.session.commit()
# proxy module from pyface.image_resource import *
Reduction was a core wish of leave voters, but overall figure will probably fall by less than 15%, thinktank predicts Theresa May’s attempt to reclaim control of UK borders after Brexit could reduce annual migration from the EU by just 50,000 – one-sixth of the current overall annual figure, according to new research....
def add_unique_dtb(dtb_list, dtb): if dtb_list: exists = any(item.offset == dtb.offset for item in dtb_list) if exists: return False dtb_list.append(dtb) return True
package com.github.hcsp.io; import org.apache.http.HttpEntity; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.apache.http.util.EntityUtils; imp...
#!/usr/bin/env python #!/home/abhigyan/Python-2.7.3/bin/python import getopt import os import sys import subprocess import socket import exp_config #Constants: Do not edit ID = '-id' IP = '-ip' NAMESERVER_FILE = '-nsfile' LOCAL_EXP = '-local' #PLANETLAB_EXP = '-planetlab' REGULAR_WORLOAD = '-rworkload' MOBILE_WORLOA...
// NewConn create a new object func NewConn(ctx *context.SessionContext) *Conn { return &Conn{ ctx: ctx, timeout: time.NewTimer(ctx.Conf.DefaultKeepalive), } }
/** * Base class for tests for the jPDL process definition transformer with JAXP. * * @author Eric D. Schabell * @author Maurice de Chateau */ public abstract class AbstractJpdl3Test { // XSLT sheet. private static final String XSLT_SHEET = "src/main/resources/jpdl3-bpmn2.xsl"; // Results fi...
f = do let x = Foo { foo: 1, bar: 2 } y <- return 0 return (x, y)
Image: ESB Professional/Shutterstock Writing and learning JavaScript can feel completely bonkers. There's often little to no free space to just sit down and write lean, elegant code in a way that even approaches "from scratch." This is because of frameworks, which are essentially pre-written libraries of code meant to...
def prior(self): if self._prior is None: raise RuntimeError( "This entropy model doesn't hold a reference to its prior " "distribution. This can happen depending on how it is instantiated, " "(e.g., if it is unserialized).") return self._prior
/* Process $count for Get Entity Set Request */ @Override public long process(final GetEntitySetCountUriInfo resultsView) throws ODataJPAModelException, ODataJPARuntimeException { JPAQueryBuilder queryBuilder = new JPAQueryBuilder(oDataJPAContext); Query query = queryBuilder.build(resultsView); setP...
def calculateRows(x): if(x == 1): print "1" else: currNum = 1 totalNum = 1 rowNum = 1 while(totalNum <= x): rowNum += 1 currNum += rowNum totalNum += currNum print rowNum-1 if __name__ == '__main__': x = input() calculateRows(x)
A transgender man is suing a Catholic hospital in New Jersey after he says it refused to allow his hysterectomy on religious grounds. Jionni Conforti’s doctors concluded that a hysterectomy was medically necessary for him, so he found a surgeon and scheduled the procedure at St. Joseph’s Regional Medical Center in Pat...
/** * @file PoolManager.h * @author Sina Karvandi (sina@hyperdbg.org) * @brief Headers of pool manager * @details * @version 0.1 * @date 2020-04-11 * * @copyright This project is released under the GNU Public License v3. * */ #pragma once ////////////////////////////////////////////////// // ...
/** * Starts: Boiler * Desc: Places the gear on the left side of Airship * Ends: Airship */ public class LeftSideGear extends AutoMode { @Override protected void init() throws AutoModeEndedException { double fwd = 68.0; double peg = 64.5; double cosA = Math.cos(Math.PI / 3); ...
// When the number of entries is below 'INTERP_THRESHOLD', run the generated function in // its IR form, without compiling to native code. ExecutionEngineWrapper create_interpreter_engine(llvm::Function* func) { auto module = func->getParent(); llvm::ExecutionEngine* execution_engine{nullptr}; std::string err_str...
<filename>components/physics/manager/tests/body_flags.cpp #include "shared.h" int main () { printf ("Results of body_flags_test:\n"); try { PhysicsManager manager (DRIVER_NAME); Scene scene (manager.CreateScene ()); scene.SetGravity (math::vec3f (-10, -10, -10)); Shape sphere_...
def download_multiprocess( urls, path, num_processes=32, chunk_size=100, dest_filenames=None, error_path=None ): pbar = tqdm.tqdm(total=len(urls), position=0) if dest_filenames: if len(dest_filenames) != len(urls): raise Exception( 'If specified, destination filenames mus...
#![recursion_limit = "128"] #[macro_use] extern crate syn; extern crate proc_macro; extern crate proc_macro2; #[macro_use] extern crate quote; type TokenStream = proc_macro::TokenStream; mod attr; mod builder; mod field; mod r#struct; mod model; mod queryable; use crate::{model::*, queryable::*, builder::*, r#stru...
LiMux was a project by the city of Munich in Germany to migrate local government software systems from closed-source, proprietary Microsoft products to free and open-source software. The project ran from 2005 to 2013, migrating over 18,000 personal computers and laptops of public employees to a Linux-based software sol...
<reponame>mrdrozdov/knnlm import numpy from dstore_util import * def npy_copy(x): out = np.empty_like(x) out[:] = x return out class DatasetUtils: def build_context(self, args, include_keys=True): if args.preset == 'test': dstore = Dstore(args.dstore, args.dstore_size, 1024) ...
// TestNew checks Envr field values func TestNew(t *testing.T) { e := newTestEnvr() if e.Name != envName { t.Errorf(".Name = %s, want %s", e.Name, envName) } for i, v := range testVars { if e.RequiredVars[i] != v { t.Errorf("RequiredVars[%d] = %s, want %s", i, e.RequiredVars[i], v) } } }
import { Socket } from "net" export interface MessageQueue { host: string port: number client: Socket active: boolean jsonMode: boolean } export interface Task { parent: Readonly<MessageQueue> data: string | object origin?: string }
Imphal (Manipur): What do 1,528 dead bodies look like? Three filing cabinets. In a dimly lit, dusty room in Manipur’s capital, thousands of files sit, marked or unmarked, as members of the Extra-Judicial Execution Victim Families Association (EEVFAM) sort them into various categories. These files pertain to the victim...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
**ZOE CORMIER** is a freelance journalist, science writer and public speaker with a background in biology. Zoe is also the Head of Communications for UK science outreach organisation Guerilla Science. Originally from Toronto, she now lives in London. **S GUERILLA SCIENCE** create events and installations for festiva...
def render_char(img, img_width, layer_glyphs, rgn_glyphs, rgn_markings, one_char, font_name, font_size, bits_per_pixel, x, y): width_correction = 0 if font_name.startswith("Roboto"): if one_char == u'Ț': one_char = u'Ţ' elif one_char == u'ț': one_char = u'...
<filename>src/utils/cache.ts<gh_stars>1-10 // The key of a WeakMap must be an object. There is no other type that matches // or is valid for @typescript-eslint. // eslint-disable-next-line @typescript-eslint/ban-types type Reference = object; type Storage = { [key: string]: unknown; }; const __CACHE = new WeakMap<Re...
Biomass and radiation use efficiency in Eucalyptus plantations as affected by spacing of planting Spacing of planting is one of the most important silvicultural decisions to be made during implementation of forest stands. The objective of this study was to evaluate the influence of spacing of planted trees on biomass ...
// Creates a new instance of the BgpServiceCommunityListResultPage type. func NewBgpServiceCommunityListResultPage(cur BgpServiceCommunityListResult, getNextPage func(context.Context, BgpServiceCommunityListResult) (BgpServiceCommunityListResult, error)) BgpServiceCommunityListResultPage { return BgpServiceCommunityLi...
ball = [int(x) for x in input().split()] #ball = list(map(int, input().split()) ) stone1 = [int(x) for x in input().split()] stone2 = [int(x) for x in input().split()] montana,peso = ball[1],ball[0] for x in range(montana): # Cada iteración es un segundo i = montana-x peso += i if i == stone1[...
<filename>algorithms/src/test/java/com/baeldung/algorithms/rectanglesoverlap/RectangleUnitTest.java package com.baeldung.algorithms.rectanglesoverlap; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertFalse; import org.junit.Test; import com.baeldung.algorithms.rectanglesoverlap.Point; i...
/////////////////////////////////////////////////////////////////////////////// // For information as to what this class does, see the Javadoc, below. // // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, // // 2007, 2008, 2009, 2010, 2014, 2015, 2022 by Peter Spirtes, Richard // ...
// TODO - New routine to take font of any height, at the moment limited to font height in // multiple of 8 pixels. Also fix 5x7 void ssd1306::drawChar(coord_t x, coord_t y, uint8_t character, color c, mode m) noexcept { assert((character >= fontStartChar_) && (character < fontStartChar_ + fontTotalChar_ - 1)); uint8_...
// Fill out your copyright notice in the Description page of Project Settings. #include "UI/IconButtonWidget.h" #include "Blueprint/WidgetTree.h" #include "TopDownController.h" UIconButtonWidget::UIconButtonWidget(const FObjectInitializer& ObjectInitializer) : UUserWidget(ObjectInitializer) { static ConstructorHel...
<reponame>wuliuqii/db<gh_stars>0 package memdb import ( "bytes" "encoding/binary" "math/rand" "testing" ) func BenchmarkPut(b *testing.B) { buf := make([][4]byte, b.N) for i := range buf { binary.LittleEndian.PutUint32(buf[i][:], uint32(i)) } b.ResetTimer() db := New() for i := range buf { _ = db.Put(b...
import {Entity, PrimaryGeneratedColumn, Column, PrimaryColumn,Double} from "typeorm"; @Entity() export class Friend{ @PrimaryColumn() user_id_1:number; @PrimaryColumn() user_id_2:number; }
Alberta's plan to jump-start investment in renewable energy to replace coal-fired power should not come at the expense of the existing fleet of wind turbines, the head of a major generator says. TransAlta Corp. chief executive officer Dawn Farrell said subsidies unveiled this week by the provincial government will hel...
<gh_stars>0 package usecase import ( "fmt" "github.com/codepix/domain/model" ) type PixUseCase struct { PixRepository model.PixKeyRepositoryInterface } func (p *PixUseCase) RegisterKey(key, accountId, kind string) (*model.PixKey, error) { account, err := p.PixRepository.FindAccount(accountId) if err != nil { ...
def writeValidatedTargetsFile(header, validatedTargets, outputFile): pValueIndex = len(validatedTargets[0]) - 1 categoryIndex = len(validatedTargets[0]) - 2 windowRatioIndex = len(validatedTargets[0]) - 3 for i in range(len(validatedTargets)): validatedTargets[i].append("%.4f" % (float(validated...
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1999 - 1999 // // File: comptrs.h // //-------------------------------------------------------------------------- #ifndef COMPTRS_H #define COMPTRS_H #i...
<reponame>hexresearch/ergvein {-# LANGUAGE OverloadedStrings #-} module Main where import Options.Applicative import Crypto.Checkpoint.Btc scanConfig :: Parser ScanConfig scanConfig = ScanConfig <$> strOption ( long "host") <*> option auto ( long "port") <*> strOption ( long "user") <*> s...
<filename>pkg/session/session.go package session import "time" type SessionData struct { WeekendInfo WeekendInfo `yaml:"WeekendInfo"` SessionInfo SessionInfo `yaml:"SessionInfo"` CameraInfo CameraInfo `yaml:"CameraInfo"` RadioInfo RadioInfo `yaml:"Radi...
/** * Save Column Header from Excel Spreadsheet. * * @param customizeCellHeadColumns * - Customizing the line to be written in excel. * @throws WriteException */ private void writeColumnHeader(WritableCellFormat customizeCellHeadColumns) { usefulSpreadsheet.writeDataColumn(Initialization.NAME_...
/* * Copyright 2016-2019 MESRI * Apache License 2.0 */ package fr.gouv.recherche.scanr.workflow.website; import fr.gouv.recherche.scanr.companies.workflow.MessageQueue; import fr.gouv.recherche.scanr.companies.workflow.service.QueueComponent; import fr.gouv.recherche.scanr.companies.workflow.service.QueueListener; ...
package io.github.guiritter.normalmapmaker; import io.github.guiritter.normalmapmaker.style.Style; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Styles combo box item that links * {@link io.github.guiritter.normalmapmaker.style.Style} to its * {@link java.lang.String} ...
# coding: utf-8 ent = int(raw_input()) sai = 0 for i in range(1, ent + 1): sai += 2 ** i print sai
/*============================================================================ void touch_process(void) ------------------------------------------------------------------------------ Purpose: Main processing function of touch library. This function initiates the acquisition, calls post processing after the acq...
package catdog_client import ( "github.com/asim/nitro/v3/client" "github.com/pubgo/xerror" ) // WrapClient // is a convenience method for wrapping a Client with // some middleware component. A list of wrappers can be provided. // Wrappers are applied in reverse order so the last is executed first. func WrapClient(w...
/** * @author Olivier Lamy */ public class RepositoriesServiceTest extends AbstractArchivaRestTest { @Test( expected = ForbiddenException.class ) public void scanRepoKarmaFailed() throws Exception { RepositoriesService service = getRepositoriesService(); try { ...
// parseFileAlone parses a Go code and returns its AST. // External references are not resolved. func (p *cachedParser) parseFileAlone(path string) (*ast.File, error) { code, err := p.git.ReadFile(path) if err != nil { return nil, fmt.Errorf("failed to read %s: %v", path, err) } f, err := parser.ParseFile(p.fs, p...
package pgsqlfat import ( "testing" "gopkg.in/go-on/lib.v3/internal/fat" ) // . "gopkg.in/metakeule/pgsql.v6" /* ty := reflect.TypeOf(østruct).Elem() return "*" + ty.PkgPath() + "." + ty.Name() */ type coop struct { Id *fat.Field `type:"string uuid" db:"id UUIDGEN PKEY" rest:" R DL"` Name *...
/** * Creates a new {@link Assignment}. * * @param leftHandSide * A {@link VariableBase} * @param operator * The assignment operator * @param rightHandSide * An {@link Expression} * @return A new Assignment. */ public Assignment newAssignment(VariableBase leftHandSi...
/** * @file mpi3501.c * */ /********************* * INCLUDES *********************/ #include "ili9486.h" #include "disp_spi.h" #include "driver/gpio.h" #include "esp_log.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" /********************* * DEFINES *********************/ #define TAG "...
def read_cli_config() -> Dict: try: return load_yaml(CLI_CONFIG_PATH) except FileNotFoundError: raise AEAConfigException( "Unable to read config from {} - file not found.".format(CLI_CONFIG_PATH) )
/* * Copyright 2000-2012 JetBrains s.r.o. * * 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 agre...
kiekaboe Profile Joined February 2011 Netherlands 503 Posts #2 So tonight RO16 or RO32? Asking since title says RO16 but Line-up says RO32.. ^^ I will tune in anyways :D http://aligulac.com check it out for stats :) VirgilSC2 Profile Blog Joined June 2011 United States 5748 Posts #3 On February 09 2012 22:21 kiekabo...
/*++ eDbgLevelError Copyright (c) 2000 Microsoft Corporation Module Name: UnInstallShield.cpp Abstract: UnInstallShield has an insidious bug where it calls WaitForSingleObject on the HINSTANCE returned by ShellExecute. Since an HINSTANCE is not an actual HANDLE, the WaitForSingleO...
/** * Merge the passed ops into the current ones. The time interval is a * union of the current and passed in one and the passed in data is * folded into the data of this instance. * * @hide */ public void merge(@NonNull HistoricalOps other) { mBeginTime...
<reponame>ExtremTechniker/nodecg-io-cli import { Installation, ProductionInstallation } from "../installation"; import * as inquirer from "inquirer"; import { getHighestPatchVersion, getMinorVersions, NpmPackage } from "../npm"; import * as semver from "semver"; import { logger } from "../log"; import { corePackage...
THE NEW CAMBRIDGE SHAKESPEARE GENERAL EDITOR Brian Gibbons ASSOCIATE GENERAL EDITOR A. R. Braunmuller, _University of California, Los Angeles_ From the publication of the first volumes in 1984 the General Editor of the New Cambridge Shakespeare was Philip Brockbank and the Associate General Editors were Brian Gi...
def _parsemetarecord(self, line): key, value = line[2:].split('=', 1) if key not in self.meta: self.meta[key] = value.strip() else: d = self.meta[key] if isinstance(d, list): d.append(value) elif isinstance(d, dict): ...