content stringlengths 10 4.9M |
|---|
def to_collection(file_path, category):
tree = ET.parse(file_path)
root = tree.getroot()
ranges = []
for child in root.iter(category):
ranges.append(child.attrib)
text = root.find("./TEXT").text
text_list = list(text)
for tag in ranges:
start = int(tag['start'])
end =... |
/**
This test must be run under a Java5 VM - so it is *not* currently
in the test suite !!!
*/
public class Autoboxing extends XMLBasedAjcTestCase {
public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(Autoboxing.class);
}
protected File getSpecFile() {
return new File("../tests/src/or... |
/**
*
* Registry of ASdu handlers, used to look up the corresponding handler for a
* specific ASdu type. Each ASdu handler should register itself to this
* registry.
*
*/
@Component
public class Iec60870ASduHandlerRegistry {
private static final Logger LOGGER = LoggerFactory.getLogger(Iec60870ASduHandlerRegi... |
<filename>examples/SNA_Examples/ExternalAdapter_asm/Adapter_comp/src/SNA_Examples_Adapter_TCP_Client.cpp<gh_stars>0
//==============================================================================
// U N C L A S S I F I E D
//======================================================================... |
/**
* Created by HandsomeXu on 2017/3/20.
*/
public class GuokrAdapter extends RecyclerView.Adapter<GuokrAdapter.Holder> {
private Context mContext;
private LayoutInflater mInflater;
private List<GuokrNews.Result> mList;
private OnRecyclerViewOnClickListener mListener;
public GuokrAdapter(Contex... |
def score_texts(self, texts, models, language, raise_on_error,
do_not_store, verbose = False):
every_5_percent = _progress_points(frac=0.05, total=len(texts))
def score_one(itext):
i, text = itext
if i in every_5_percent and verbose:
print('scoring {} of {} ({:.1f}%)'.forma... |
def convert_str_to_int(self,string, default=100000, expect_fail=False):
try:
integer = int(string)
except Exception as e:
if not expect_fail:
self.write("Unable to convert the string %s into a number"%string)
integer = default
return integer |
/**
* Invoked from ctor to create some node Metrics.
*
* @param datanodeDetails - Datanode details
*/
private void populateNodeMetric(DatanodeDetails datanodeDetails, int x) {
SCMNodeStat newStat = new SCMNodeStat();
long remaining =
NODES[x % NODES.length].capacity - NODES[x % NODES.length]... |
/**
* Executes example.
*
* @param args Command line arguments, none required.
* @throws Exception If example execution failed.
*/
public static void main(String[] args) throws Exception {
try (Ignite ignite = Ignition.start("examples/config/example-ignite.xml")) {
System.ou... |
N = int(input())
i = 0
u = int(0)
for i in range(N):
I = str(i+1)
L=int(len(I))
if L % 2 == 1:
u = u + 1
print(u) |
/**
* We should call thise method whenever the core data changes (mApps, mWidgets) so that we can
* appropriately determine when to invalidate the PagedView page data. In cases where the data
* has yet to be set, we can requestLayout() and wait for onDataReady() to be called in the
* next onMeasure... |
Unilateral Exserohilum Allergic Fungal Sinusitis in a Pediatric Host: Case Report
Highlights • Exserohilum species are a very rare causative organism in allergic fungal sinusitis (AFS).• Treatment of AFS consists of medical and surgical modalities.• AFS in pediatric patients is believed to be more aggressive with a hi... |
//abstract class with one abstract method
static abstract class Animal {
abstract void eat();
void sleep() {
System.out.println("Animal.sleep()");
}
} |
<reponame>vishnu2981997/boundary_check
"""
routes
"""
import json
import logging
from flask import Flask
from flask_restplus import Api, Resource, fields
from utils import BoundaryCheck
APP = Flask(__name__)
APP.config['JSON_SORT_KEYS'] = False
API = Api(APP, version='1.0', title='Boundary check Api',
... |
package sscape_analysis
// go tool compile -m 6_escape_2.go
// go tool compile -m=2 6_escape_2.go
func f() int {
// 这里会进行逃逸分析,a不会被分配在堆上
a := 1
c := &a
return *c
}
|
<gh_stars>0
package com.sap.cloud.lm.sl.cf.process.metadata;
import java.util.HashSet;
import java.util.Set;
import com.sap.cloud.lm.sl.cf.process.Constants;
import com.sap.cloud.lm.sl.cf.web.api.model.OperationMetadata;
import com.sap.cloud.lm.sl.cf.web.api.model.ParameterMetadata;
import com.sap.cloud.lm.sl.cf.web.... |
def plot_cluster_decision(x, y1, y2):
f, ax = plt.subplots(2, 1)
ax[0].plot(x, y1)
ax[0].set_ylabel("inertia")
ax[1].boxplot(y2, labels=x)
ax[1].set_xlabel('clusters number')
ax[1].set_ylabel("silhouette")
ax[0].set_title("Elbow and silhouette for KMeans")
plt.tight_layout()
return f |
/* num_stmts() returns number of contained statements.
Use this routine to determine how big a sequence is needed for
the statements in a parse tree. Its raison d'etre is this bit of
grammar:
stmt: simple_stmt | compound_stmt
simple_stmt: small_stmt (';' small_stmt)* [';'] NEWLINE
A simple_stmt ca... |
<reponame>asirobots/dans-gdal-scripts
/*
Copyright (c) 2013, Regents of the University of Alaska
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the abo... |
def from_jd(jd):
year = gregorian.from_jd(jd)[0]
day = jwday(jd) + 1
dayofyear = ordinal.from_jd(jd)[1]
week = trunc((dayofyear - day + 10) / 7)
if week < 1:
week = weeks_per_year(year - 1)
year = year - 1
elif week == 53 and weeks_per_year(year) != 53:
week = 1
y... |
def remove_remote(self, remote_name: Optional[str] = "origin") -> None:
try:
logger.info(f"Removing remote {remote_name} from {str(self)}")
self.git.remove_remote(remote_name)
except Exception as e:
raise GigantumException(e) |
/**
* @ClassName ProductCategory
* @Author fan
* @Date 2019-01-02 15:43
* @Version 1.0
**/
@Entity
@Table(name = "product_category")
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ToString
public class ProductCategory {
/**
*
*/
@Id
@GeneratedValue(strategy = Generati... |
package org.smartregister.anc.library.fragment;
import android.annotation.SuppressLint;
import android.app.DialogFragment;
import android.app.Fragment;
import android.app.FragmentTransaction;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.annotation.Nullable;
import a... |
//NewNatsPublisher creates an instance of the NATS publisher handler.
// It transforms the received HTTP request using the transformMessageFunc into a message, publishes the message to NATS and
// returns the http response built using buildResponseFunc
func NewNatsPublisher(config Config, options ...Option) (handler.Fu... |
/**
* Utility class that trims all whitespace from all String fields
* Stolen from StackOverflow
* Don't @ me
*/
public class SpaceUtil {
private static final Logger LOG = LoggerFactory.getLogger(SpaceUtil.class);
public static Object trimReflective(Object object) {
if (object == null)
... |
import java.util.Scanner;
class DivideMoney {
long inputAmount() {
Scanner sc = new Scanner(System.in);
System.out.print("Enter the amount to divide in INR: Rs.");
long amount = sc.nextLong();
return amount;
}
long handleAmount(long amount, long curren... |
// license:GPL-2.0+
// copyright-holders:<NAME>,<NAME>
/***************************************************************************
z88.c
Functions to emulate the video hardware of the Cambridge Z88
***************************************************************************/
#include "emu.h"
#include "includes/... |
def _check_exceptions(self, tranches:Optional[Union[str, Sequence[str]]]=None, flat_granularity:str="record") -> List[str]:
exceptional_records = []
_two_leads = set(two_leads)
_three_leads = set(three_leads)
_four_leads = set(four_leads)
_six_leads = set(six_leads)
for t... |
<reponame>zhy6599/cc-admin-api<filename>module-system/src/main/java/cc/admin/modules/message/service/ISysMessageTemplateService.java<gh_stars>10-100
package cc.admin.modules.message.service;
import cc.admin.common.sys.base.service.BaseService;
import cc.admin.modules.message.entity.SysMessageTemplate;
import java.uti... |
//--------------------------------------------------------------------------
// File and Version Information:
// $Id: ComPackBoolsIntoOctet.cc 443 2010-01-14 12:24:42Z stroili $
//
// Description:
// Class ComPackBoolsIntoOctet
// Do not use this for comPackBoolsIntoOctetd class (foo<T>). use ComPackBoolsIntoOct... |
// Retrieve a query and execute it against the database
func (w *worker) doWork(ctx context.Context, db *sql.DB) {
var err error
var str string
work, q, args := w.getWork()
w.lastWork = work
w.lastArgs = args
switch work {
case exec:
w.kvKeys = append(w.kvKeys, fmt.Sprintf("%v", (args[0])))
defer w.tracker.m... |
// NewEventsClient creates a new EventsClient
func NewEventsClient(client ClientInterface) *EventsClient {
return &EventsClient{
client: client,
}
} |
<filename>src/errors/errors.rs<gh_stars>0
#![allow(unused_qualifications)]
use super::*;
error_chain! {
types {
Error, ErrorKind, ResultExt, Result;
}
foreign_links {
IoError(::std::io::Error);
}
links {
PDFError(pdf_error::Error, pdf_error::ErrorKind);
IndexErro... |
Simulation of multi and single carrier modes for millimeter-wave transmission in presence of transmitter imperfections
This paper is focused on the evaluation of transmitter imperfections influence on single carrier and multi carrier schemes for high speed data transmission in millimeter wave band. The influence of qu... |
def from_plink_ld_table_to_zarr_chunked(ld_file, dir_store, ld_boundaries, snps):
rows, avg_ncols = len(snps), int((ld_boundaries[1, :] - ld_boundaries[0, :]).mean())
chunks = estimate_row_chunk_size(rows, avg_ncols)
z_arr = zarr.open(dir_store,
mode='w',
shape=ro... |
DELAND, Fla. -- A 4-year-old Russian blue cat named Kush is being quarantined after apparently going berserk inside a central Florida home, prompting its owners to call 911.
Police say the feline scratched owners Teresa and James Gregory on their arms and legs Saturday, causing the couple to retreat to a bedroom, wher... |
Beating Heart Mitral Valve Replacement Surgery without Aortic Cross-Clamping via Right Thoracotomy in a Patient with Compromised Left Ventricular Functions.
Abstract Global myocardial ischemia and ischemia-reperfusion injury are potential adverse events related with cardioplegic arrest. Beating heart surgery has avoid... |
def rotate(self, x, M, boxshift):
y = linalg.einsum('ij,kj->ki', (M, x))
y = y + self.pm.BoxSize * boxshift
d = linalg.take(y, 2, axis=1)
xy = linalg.take(y, (0, 1), axis=1)
return dict(xy=xy, d=d) |
With its focus on how we interact with and are affected - both on a personal and societal level - by technology, Black Mirror has always felt like a very contemporary show with its finger on the button. Little did we know when it first began, however, that the series is so keyed into the modern world nearly every episo... |
/* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ----... |
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Greybus Audio Sound SoC helper APIs
*/
#ifndef __LINUX_GBAUDIO_HELPER_H
#define __LINUX_GBAUDIO_HELPER_H
int gbaudio_dapm_link_component_dai_widgets(struct snd_soc_card *card,
struct snd_soc_dapm_context *dapm);
int gbaudio_dapm_free_controls(struct snd_soc_dapm_... |
<gh_stars>1-10
//! Class 1 Compact Flash emulation (8-bit ATA (LBA) mode only)
use std::{error, ops::IndexMut};
use crate::bus::{Device, DeviceBus};
bitflags::bitflags! {
struct Status: u8 {
// Last operation was an error
const ERR = 0x01;
// A data error was corrected
const CORR... |
<reponame>Dr-Fabulous/libmm
#include "mm/unit.h"
#include "mm/co.h"
struct counter_state {
struct mm_co co;
int i;
};
MM_COROUTINE( counter, struct counter_state *this ) {
MM_CO_BEGIN( &this->co );
for( this->i = 0; this->i < 5; ++this->i ) {
MM_CO_YIELD( &this->co );
}
MM_CO_END( &this->co );
}
MM_UNIT_CA... |
#ifndef _agg_upp_bind_AggCtrl_h_
#define _agg_upp_bind_AggCtrl_h_
#include "agg_upp_bind.h"
class AggCtrl : public ParentCtrl {
ImageBuffer uibuf;
public:
typedef AggCtrl CLASSNAME;
AggCtrl();
~AggCtrl() {;}
};
#endif
|
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
/** \file
* This is a convenience header for Catch2's Matcher support. It incl... |
{-# htermination lookup :: (Eq a, Eq k) => (a, k) -> [((a, k),b)] -> Maybe b #-}
|
But on one issue -- guns -- President Barack Obama lets the public mask slip, revealing the ire boiling within.
Before the cameras, moved by the massacres of innocents that have punctuated his presidency, Obama has wept, his voice has cracked, he's visibly shaken with frustration, he's lashed out at lawmakers he sees ... |
def ensure_type(self, *, cset: ABCConcreteSet):
if not isinstance(cset, UnitSet):
raise UnitException("Must be UnitSet") |
If you’ve been avoiding student politics for this last year (and we don’t blame you) but still want to vote, look no further than this handy compendium.
Start here:
http://www.martlet.ca/news/elections-faq/
Slate information:
Involve UVic
Refresh UVic
The Independents (and other independent candidates)
Executive... |
Two Olentangy Orange High School students are facing charges for making explosive devices, according to the Columbus Division of Fire.
The two students were charged with unlawful possession of dangerous ordinance, a fifth-degree felony, after a recent investigation of a discarded improvised explosive device.
Columbus... |
import random
def solve(n, rating):
temp = list(rating)
rating.sort()
new = [1 for i in range(n)]
ans = []
on = rating[0]
for i in range(n):
temp2 = rating[i]
if temp2 != on:
on = temp2
new[rating[i - 1] - 1] += (len(rating) - i)
for i in range(len(temp)):
ans.append(new[temp[i] - 1])
return ans
de... |
/**
* The main class to run the preview service.
*/
public class PreviewServiceMain extends AbstractServiceMain<EnvironmentOptions> {
// Following constants are same as defined in AbstractKubeTwillPreparer
private static final String KUBE_CPU_MULTIPLIER = "master.environment.k8s.container.cpu.multiplier";
priv... |
def map2cosmo(ds, filename=None):
cosmo = dict(samples=ds.samples)
cosmo.update(_attributes_dict2cosmo(ds))
cosmo_fixed = _mat_make_saveable(cosmo)
_check_cosmo_dataset(cosmo_fixed)
if filename is not None:
savemat(filename, cosmo_fixed)
return cosmo_fixed |
Introduction
Originally appeared in Socialism Today No. 40, July 1999
Something unremarkable happened on June 28, 1969 in New York’s Greenwich Village, an event which had occurred a thousand times before across the U.S. over the decades. The police raided a gay bar.
At first, everything unfolded according to a time-... |
// Get returns an Quote quote that matches the parameters specified.
func Get(symbol string) (*finance.Quote, error) {
i := List([]string{symbol})
if !i.Next() {
return nil, i.Err()
}
return i.Quote(), nil
} |
import sys
N = int(input())
As = list(map(int, input().split()))
As.sort()
for i in range(N):
for j in range(i + 1, N):
if As[i] == As[j]:
print('NO')
sys.exit(0)
if As[j] > As[i]:
break
print('YES') |
/**
* Rechunks the strings based on a regex pattern and works on infinite stream.
*
* <pre>
* split(["boo:an", "d:foo"], ":") --> ["boo", "and", "foo"]
* split(["boo:an", "d:foo"], "o") --> ["b", "", ":and:f", "", ""]
* </pre>
*
* See {@link Pattern}
*
* @param src
... |
Image copyright AFP Image caption The Qatari foreign minister was talking to an audience in London
Bahrain, Egypt, Saudi Arabia and the United Arab Emirates are meeting to discuss the Qatar crisis, a month after they severed ties with the Gulf state.
The meeting of foreign ministers in Cairo comes on the day a deadli... |
/**
* Saves an automation property to the the properties file.
*
* @param key
* The key of the property
* @param index
* The index of the automation
* @param value
* The value of the property
*/
private void saveAutomationProperty(String key, int index, Object value) ... |
import {JsonSchemesRegistry, PropertyRegistry} from "@tsed/common";
import {expect} from "chai";
import * as Sinon from "sinon";
import {MONGOOSE_SCHEMA} from "../../src/constants";
import {buildMongooseSchema, mapProps} from "../../src/utils/buildMongooseSchema";
describe("buildMongooseSchema", () => {
describe("ma... |
/**
* @brief Deletes the cubes from the world once its collected
* by the robot
*
* @param[in] id Id of the cube
*/
void OrderManager::deleteCube(std::string name) {
ros::ServiceClient delete_client =
nh_.serviceClient<gazebo_msgs::DeleteModel>
("gazebo/delete_model");
... |
// Convert between Bob module names, and the name we will give the generated
// cc_library module. This is required when a module supports being built on
// host and target; we cannot create two modules with the same name, so
// instead, we use the `shortName()` (which may include a `__host` or
// `__target` suffix) to... |
<reponame>Markoy8/Foundry
/*
* File: FriedmanConfidenceTest.java
* Authors: <NAME>
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright May 4, 2011, Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000, there is a no... |
/**
* Base class of all cylindrical projections.
*/
public abstract strictfp class Cylindrical extends AbstractProjectedProjection {
//-------------------------------------------------------------------------
// Constructors
//-------------------------------------------------------------------------
... |
def load_chemkin_output(output_file, reaction_model):
import rmgpy.constants as constants
from rmgpy.quantity import Quantity
core_reactions = reaction_model.core.reactions
species_list = reaction_model.core.species
time = []
core_species_concentrations = []
core_reaction_rates = []
with... |
Disruption of catenin‐cadherin interaction decreases tail regeneration in Lumbriculus variegatus.
Lumbriculus variegatus is an aquatic oligochaete that can regenerate new tail segments within two to three weeks of tail removal. While many studies have investigated this ability to regenerate, not much is known about th... |
<gh_stars>0
#define __MAKEMORE_AUTOGAZER_CC__ 1
#include <netinet/in.h>
#include <string>
#include <algorithm>
#include "cudamem.hh"
#include "tron.hh"
#include "multitron.hh"
#include "twiddle.hh"
#include "closest.hh"
#include "shibboleth.hh"
#include "shibbomore.hh"
#include "convo.hh"
#include "parson.hh"
#inclu... |
//this bean will be automatically injected inside boot's ObjectMapper
@Bean
public Module customizeCloudProcessModelObjectMapper() {
SimpleModule module = new SimpleModule("mapProcessRuntimeEvents",
Version.unknownVersion());
module.registerSubtypes(new... |
package org.enlightenseries.DomainDictionary.infrastructure.datasource.relation;
import org.enlightenseries.DomainDictionary.domain.model.relation.Relation;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springf... |
<filename>model/application.go<gh_stars>1-10
package model
// Application 应用
type Application struct {
AppSecret string `json:"secret" gorm:"column:secret;not null;size:32"`
BaseModel
}
|
It can be a hard negotiation with yourself, summer league.
You see the numbers, but you also want to discredit them. I mean, I was listening to the Basketball Analogy Podcast and ESPN’s Tom Haberstroh rattled off the top scorers from the Vegas league dating back to 2005. The list had some impressive names (including D... |
<reponame>andrey-nakin/gneis-geant4
#ifndef isnp_dist_UniformCircle_hh
#define isnp_dist_UniformCircle_hh
#include <G4Types.hh>
#include "isnp/dist/AbstractDistribution.hh"
#include "isnp/util/PropertyHolder.hh"
namespace isnp {
namespace dist {
class UniformCircleProps {
public:
UniformCircleProps(G4double aDiam... |
Labour was thrown into fresh embarrassment over MPs and their expenses yesterday when the husband of the home secretary, Jacqui Smith, was forced to apologise for trying to claim back the cost of the family's television package, which included rental of two pornographic movies.
Richard Timney, who is employed by the h... |
// GameInit -- [re]initializes a new round of gameplay
static void GameInit(uint8_t initFlags)
{
if ( ! (initFlags & GAME_INIT_KEEP_SCORES)) {
SDL_memset(&Scores, 0, sizeof(Scores));
}
GameTicksToNextRound = 0;
for (uint8_t i = 0; i < SDL_arraysize(Paddles); ++i) {
Paddles[i].x = PaddleX... |
For Beginners LLC
155 Main Street, Suite 211
Danbury, CT 06810 USA
www.forbeginnersbooks.com
Text: © 1993 Lydia Alix Fillingham
Illustrations: © 1986 Moshe "MOSH" Süsser
Cover Illustration: Moshe "MOSH" Süsser
Cover Design: Terrie Dunkelberger
Book Design: Daryl Long and Terrie Dunkelberger
Productio... |
<filename>src/git/commit/parseCommitsFromLog.ts
import type { GitCommit } from '../types';
import { parseCommitFromLogEntry } from './parseCommitFromLogEntry';
export function parseCommitsFromLog(commitLog: string): GitCommit[] {
if (!commitLog) {
return [];
}
return commitLog
.split('\n')
.filter((... |
pub(crate) fn generate(
mut writer: impl std::io::Write,
type_name: &str,
generics: super::Generics<'_>,
vis: &str,
fields: &[super::Property<'_>],
is_watch: bool,
operation_feature: Option<&str>,
map_namespace: &impl crate::MapNamespace,
) -> Result<(), crate::Error> {
let local = crate::map_namespace_local_t... |
Justice Department lawyers representing President Trump Donald John TrumpHouse committee believes it has evidence Trump requested putting ally in charge of Cohen probe: report Vietnamese airline takes steps to open flights to US on sidelines of Trump-Kim summit Manafort's attorneys say he should get less than 10 years ... |
<filename>nautobot/extras/tests/dummy_jobs/test_object_var_required.py<gh_stars>0
from nautobot.extras.jobs import Job, ObjectVar
from nautobot.dcim.models import Region
class TestRequiredObjectVar(Job):
region = ObjectVar(
description="Region (required)",
model=Region,
required=True,
... |
<filename>lib/prettyPrint/forObjects/prettyPrintObject.ts<gh_stars>10-100
import { formatNestedArray } from '../utils/formatNestedArray';
import { maximumFormattingDepth } from '../../constants/maximumFormattingDepth';
import { prepareSimple } from '../utils/prepareSimple';
import { prettyPrint } from '../typeAware/pre... |
<reponame>CodingSquire/go-courses
package main
import "fmt"
const size uint = 3
func main() {
// инициализируется значениями по-умолчанию
var a1 [3]int
fmt.Println("массив", a1, "длина", len(a1))
return
// можно использовать типизированную беззнаковую константу
var a2 [2 * size]bool
fmt.Println(a2, "длина", ... |
Intercultural Conflict Mediation
Conflict mediation refers to the dialogue-based process by which a third person supports two or more parties, constructively managing their conflict. In North America and Europe, the term “conflict mediation” is usually associated with procedural principles that originate from the US-b... |
/**
* <b>Title:</b> ParameterChangeEvent
* <p>
*
* <b>Description:</b> Any time a Parameter value is changed via the GUI editor
* JPanel, this event is triggered and recieved by all listeners
* <p>
*
* @author Steven W. Rock
* @created February 21, 2002
* @version 1.0
*/
public class ParameterChangeEvent e... |
The imperial goatee on King Tutankhamun's golden burial mask is back in business after scientists reattached it with beeswax, according to the Egyptian Ministry of Antiquities.
The more than 3,300-year-old mask was damaged in August 2014 when the beard accidentally fell off during a routine cleaning. Staff workers at ... |
Effect of Mineral Fertilization on the Essential Oil Composition of Tagetes patula L. from Bulgaria
Abstract The effect of mineral fertilization on the composition of the essential oil from the leaves and flowers of Tagetes patula from Bulgaria during the flowering period (July-September) was investigated by GC/MS. Th... |
/**
* @author Uma Shankar
*
* <pre>
* ======================================================================
*
* Write a function that takes in a Binary Search tree(BST) and returns a list of its branch sums
* ordered from leftmost branch sum to rightmost branch sum.
* ... |
class AttachmentCategoriesContainer: CollapsibleContainer
{
protected ref map<int, ref Widget> m_inventory_slots;
protected EntityAI m_Entity;
void AttachmentCategoriesContainer( ContainerBase parent )
{
m_inventory_slots = new ref map<int, ref Widget>;
}
void SetEntity( EntityAI entity )
{
m_Entity = enti... |
Yesterday, Anonymous declared digital war on ISIS. Now, Britain seems to be joining the fight, with an elite cyber offensive force that plans to strike Islamic State fighters.
Reuters reports that the UK Chancellor George Osborne wants the country to “strike at Islamic State fighters, hackers and hostile powers” with ... |
/**
* remove violations, if any
* @param py
*/
private void deleteFix(RbNode py){
while(py!=root && py.color == COLOR.BLACK) {
if(py == py.parent.left) {
RbNode v = py.parent.right;
if(v.color == COLOR.RED) {
v.color = COLOR.BLACK... |
/**
* Object to control value generation. A FieldCase has a value and a Flag. The Flag determines
* whether allowed or also forbidden characters are part of the value. The integer value mainly
* determines where within the allowed range the generated value is located. Depending on the field
* type this value ca... |
<filename>include/mathtoolbox/gaussian-process-regression.hpp<gh_stars>100-1000
#ifndef MATHTOOLBOX_GAUSSIAN_PROCESS_REGRESSION_HPP
#define MATHTOOLBOX_GAUSSIAN_PROCESS_REGRESSION_HPP
#include <Eigen/Cholesky>
#include <Eigen/Core>
#include <mathtoolbox/kernel-functions.hpp>
namespace mathtoolbox
{
class Gaussian... |
/// Advance `t` to the next signal or trap according to `constraints.command`.
///
/// Default `resume_how` is ResumeSysemu for error checking:
/// since the next event is supposed to be a signal, entering a syscall here
/// means divergence. There shouldn't be any straight-line execution overhead
/// for SYSEMU vs. C... |
Electrochemical evaluation of self-disassociation of PKA upon activation by cAMP.
The allosteric reaction of protein kinase A (PKA) upon binding of cyclic AMP (cAMP) is revealed with an electrochemical technique through the redox current change of an electrochemically active marker. The different effect of cAMP's regu... |
Comparative Genome Analysis of 2 Mycobacterium Tuberculosis Strains from Pakistan: Insights Globally Into Drug Resistance, Virulence, and Niche Adaptation
Multidrug-resistant Mycobacterium tuberculosis is a global threat particularly in developing countries like Pakistan. In this study, we identified 2 M tuberculosis ... |
/**
* Check and return corresponding TokenType of given UTF-8 codePoint.
*
* @param codePoint codePoint calculated by {@link Character#codePointAt(char[], int)}
* @return {@link TokenType} of given codePoint
* @see com.yahoo.language.simple.SimpleTokenType
*/
public static TokenType valueOf(int codePo... |
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_event_loop.h"
#include "esp_wifi.h"
#include "esp_log.h"
#include "wifi.h"
#define TAG "wifi:"
#define STA_CONNECTED_BIT BIT0
#define STA_GOTIP_BIT BIT1
static EventGroupHandle_t ... |
<reponame>eliahburns/yugabyte-db<filename>ent/src/yb/tserver/remote_bootstrap_service_ent.cc
// Copyright (c) YugaByte, 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... |
// ListContains will check if a string array contains a substring
func ListContains(list []string, substring string) bool {
var contains bool
for _, s := range list {
if strings.Contains(s, substring) {
contains = true
break
}
}
return contains
} |
Gamers in Japan can download their Famicom ambassador titles a day early.
The Famicom titles for the Nintendo Ambassador program are currently available for download in Japan. Originally set to be released on September 1, the titles have made a surprise appearance on the eShop a day early.
There are ten classic Famic... |
Versatile retroviral vectors for potential use in gene therapy.
A set of retroviral vectors is described whose capacity for high efficiency transduction of functional genes into undifferentiated murine embryonic and haematopoietic cells makes them ideally suited for preclinical studies with murine models. Multiple uni... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.