content
stringlengths
10
4.9M
package flag import ( "github.com/urfave/cli" "time" ) type Value interface { Kernel() *cli.Context Int(name string) int GlobalInt(name string) int Int64(name string) int64 GlobalInt64(name string) int64 Uint(name string) uint GlobalUint(name string) uint Uint64(name string) uint64 GlobalUint64(name string...
#include <cstdlib> #include <iostream> using namespace std; int main() { const auto getenv_or = [](auto env_var, auto default_value) { const auto env = getenv(env_var); return env != nullptr ? env : default_value; }; cout << getenv_or("HOME", "Not found") << endl; cout << getenv_or("HOMEE", "Not fou...
Australia has rejected a claim by rights group Amnesty International that conditions on a tiny South Pacific island where about 400 Australian-bound asylum seekers are held "amount to torture". Under Australia's tough immigration policy, asylum seekers intercepted trying to reach the country by boat are sent for proce...
from pathlib import Path from tensorforce.agents import Agent from tensorforce.environments import Environment from tensorforce.execution import Runner from bad_seeds.simple.bad_seeds_04_bollux import Bollux def main(): bad_seeds_environment = Environment.create( environment=Bollux, seed_count=10, bad_...
/** * Tests description of BatchPhaseSpec. */ public class BatchPhaseSpecTest { @Test public void testDescription() throws Exception { /* * source1 --| * |--> sink.connector * source2 --| */ Map<String, String> props = new HashMap<>(); PluginSpec connectorSpec = new Plug...
pub fn default<T: Default>() -> T { Default::default() }
Merril Collection of Science Fiction, Speculation & Fantasy Search Merril Collection The Merril Collection of Science Fiction, Speculation and Fantasy is a non-circulating research collection of over 80,000 items of science fiction, fantasy and speculative fiction, as well as magic realism, experimental writing and s...
package client const ( RKETaintType = "rkeTaint" RKETaintFieldEffect = "effect" RKETaintFieldKey = "key" RKETaintFieldTimeAdded = "timeAdded" RKETaintFieldValue = "value" ) type RKETaint struct { Effect string `json:"effect,omitempty" yaml:"effect,omitempty"` Key string `json:"k...
// making custom builtin module class Module_Tutorial03 : public Module { public: Module_Tutorial03() : Module("tutorial_03") { ModuleLibrary lib; lib.addModule(this); lib.addBuiltInModule(); addAnnotation(make_smart<ColorAnnotation>(lib)); addExtern<DAS_BIND_FUN(makeGray)...
<filename>src/xrEngine/Environment_render.cpp #include "stdafx.h" #pragma hdrstop #include "Environment.h" #ifndef _EDITOR #include "Render.h" #endif #include "xr_efflensflare.h" #include "Rain.h" #include "thunderbolt.h" #ifndef _EDITOR #include "IGame_Level.h" #endif //---------------------------------------------...
/** * Check whether the transaction response from server is valid or not * Valid if both deeplink URL and qr code URL aren't empty, or at least one of them is not, * depending on which one that will be used * * @param response transaction response * @return validity of response */ pri...
<reponame>cerinuts/RegX2Link import { ISettingRead } from '@rocket.chat/apps-engine/definition/accessors/ISettingRead'; import { ISetting, SettingType } from '@rocket.chat/apps-engine/definition/settings'; import { IConfigurationExtend } from '@rocket.chat/apps-engine/definition/accessors'; import yaml = require('js-ya...
<filename>tsne/tsne.py import numpy as np import os import tensorflow as tf from tensorflow.contrib.tensorboard.plugins import projector from tensorflow.examples.tutorials.mnist import input_data import sys sys.path.append("../") from libs.configs import cfgs LOG_DIR = './dcl_log/{}'.format(cfgs.VERSION) SPRITE_FILE...
/** * remove a value record from the records array. * * This method is not loc sensitive, it resets loc to = dimsloc so no worries. * * @param row - the row of the value record you wish to remove * @param col - a record supporting the CellValueRecordInterface. * @see CellValueRecordIn...
import { defaultOrderByFn } from 'react-table'; export const orderByFn = (rows, functions, directions) => { const wrapSortFn = (sortFn, index) => { const desc = directions[index] === false || directions[index] === 'desc'; return (rowA, rowB) => { if (rowA.original?.emptyRow && !rowB.original?.emptyRow...
#[cfg(windows_by_handle)] use super::get_path::concatenate_or_return_absolute; use crate::fs::{FollowSymlinks, Metadata}; use std::{fs, io, path::Path}; #[cfg(not(windows_by_handle))] use winapi::um::winbase::{FILE_FLAG_BACKUP_SEMANTICS, FILE_FLAG_OPEN_REPARSE_POINT}; #[cfg(not(windows_by_handle))] use { crate::fs:...
<filename>mmtbx/monomer_library/tst_geo_reduce_for_tardy.py from __future__ import division from mmtbx import monomer_library import mmtbx.monomer_library.server import mmtbx.monomer_library.pdb_interpretation from libtbx.test_utils import approx_equal import libtbx.load_env from cStringIO import StringIO import sys, o...
<filename>config.example.ts<gh_stars>0 /* * - Acidionor ao projeto um arquivo "config.ts" na raiz do projeto * - Adicionar neste arquivo os mesmos dados constante neste preente arquivo */ export const TOKEN = "";
import numpy as np import sys def main(): N,M=map(int,input().split()) A=list(map(int,input().split())) A_double=list(map(lambda x:x//2,A)) mini_multi=int(np.lcm.reduce(A_double)) res=M//mini_multi for i in A_double: if (mini_multi//i)%2==0: print(0) sys.e...
<reponame>tauli/LambdaLudo<filename>examples/sokokban/Main.hs module Main where import LambdaLudo conf = Config { stepper = anim , handler = handle , initializer = initBoard , memory = () , assets = [ "Character1.png" , "Character2.png" , "Character4.png" , "Character7.png"...
Effects on the radiation characteristics of using a corrugated reflector with a helical antenna and an electromagnetic band-gap reflector with a spiral antenna An axial-mode helical antenna backed by a perfect electric conductor (PEC reflector) is optimized to radiate a circularly polarized (CP) wave, using the finite...
The (Fairly Straightforward) Business Case for Health COMPARED TO RESIDENTS of other high-income nations, Americans die younger and are less healthy at every age but incur significantly higher costs per person on healthcare (NRC 2013). Poor health has an impact well beyond expenditures on actual medical services, incl...
/** * Asynchronously get a bunch of objects from the cache and decode them with * the given transcoder. * * @param keyIter Iterator that produces the keys to request * @return a Future result of that fetch * @throws IllegalStateException in the rare circumstance where queue is too * full ...
/** Reads object data from the given input and restores the contents of this object. Implementation of the Externalizable interface. @param input the stream to read data from in order to restore the object @exception IOException if I/O errors occur @exception ClassNotFoundExcep...
/** * Created by kevingaffney on 6/28/17. */ @Plugin(type = Op.class, name = "constructTIRFGeometry") public class ConstructTIRFGeometry<T extends RealType<T>> extends AbstractOp { @Parameter private RandomAccessibleInterval<T> data; @Parameter private int sliceIndex; @Parameter(label = "Wavele...
def TerrainPhysicsCollider_ChangesSizeWithAxisAlignedBoxShapeChanges(): import editor_python_test_tools.hydra_editor_utils as hydra from editor_python_test_tools.editor_entity_utils import EditorEntity from editor_python_test_tools.utils import TestHelper as helper from editor_python_test_tools.utils im...
Melissa Badeker’s 2,000-square-foot warehouse is organized in sections: a pile of 3,800 binders here, a library of teacher’s guides and resource books there, and a giant storage bin stuffed with pencils, 10 to a bundle. All of the donated items are free for the taking, a stockpile to help spare teachers some of the hu...
// Tells the VideoPlayerHelper to update the data from the video feed @SuppressLint("NewApi") public byte updateVideoData() { if (!isPlayableOnTexture()) { return -1; } byte result = -1; mSurfaceTextureLock.lock(); if (mSurfaceTexture != null) ...
/** * Determines whether or not a particular element symbolizes the need for an * extension to be added. * <P> * For instance, inheriting from SysML-metamodel:Class.Block means that the * element should extend UML-metamodel:Class, and specialize * SysML-metamodel:Block. * * @param clazz * @return ...
def generate_instances(logger, conf, sa, interfaces, model, instance_maps): model_processes, callback_processes = _yield_instances(logger, conf, sa, interfaces, model, instance_maps) names = set() for process in callback_processes: new_name = __add_pretty_name(logger, process, names) assert ...
Identification and Localization of Human Pancreatic Tumor-associated Antigens by Monoclonal Antibodies to RWP-1 and RWP-2 Cells 1 Human pancreatic adenocarcinoma cell lines, RWP-1 and RWP-2 (Dexter, D. L, Matook, G. M., Meitner, P. A., Bogaars, H. A., Jolly, G. A., Turner, M. D., and Calabresi, P. Cancer Res., 42: 270...
Abstract 19: Progressive Metabolic Derangement During Prolonged Resuscitation for Refractory VT/VF Cardiac Arrest and the Relationship to Neurologically Intact Survival With Extracorporeal Cardiopulmonary Resuscitation Background: Multiple studies have shown declining likelihood of neurologically intact survival wi...
#pragma once namespace loader_gui { inline bool is_gui_open = false; void draw(); }
import { useApolloClient } from "@apollo/client"; import { Feather } from "@expo/vector-icons"; import React, { useState } from "react"; import { Alert, Modal, StyleSheet, Text, TouchableHighlight, View, } from "react-native"; import { useDeletePostMutation, useMeQuery } from "../generated/graph...
/** * Bullet graph comparative point * * @author Paul van Assen */ public class Point { private final String point; public Point(String point) { this.point = point; } public void validate() throws ValidationException { if (point == null) { throw new Valid...
# Dicionário de pessoas dentro de uma lista. colecao = {} tabela = [] soma = 0 while True: colecao['Nome'] = str(input('Digite o nome da pessoa: ')) print() while True: colecao['Sexo'] = str(input('Digite o sexo [M/F]: ')).upper() if colecao['Sexo'] in 'MF': break ...
<gh_stars>0 package com.victor.oprica.quyzygy20.entities; public class WebSocketServerPacket { public Boolean Success; public String Action; public String Data; }
<reponame>wdas/AL_USDMaya<gh_stars>1-10 // // Copyright 2017 Animal Logic // // 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 // // Unle...
<reponame>antoinegag/Sara import { Router } from "express"; import LightsRouter from "./lights"; const apiRouter = Router(); apiRouter.get("/", (req, res) => { return res.json({ online: true }); }); apiRouter.use("/lights", LightsRouter); export default apiRouter;
Rich Pedroncelli/Associated Press California’s top law enforcement official accused JPMorgan Chase on Thursday of flooding the state’s courts with questionable lawsuits to collect overdue credit card debt. The suit, filed in California Superior Court by the state’s attorney general, Kamala D. Harris, contends that JP...
/** * Passes the {@link LValue#get(Continuation)} to the wrapped continuation */ private static class GetAdapter implements Continuation { private final Continuation k; public GetAdapter(Continuation k) { this.k = k; } public Next receive(Object l) { r...
The title of this post is the title of a new study in PLOS ONE by three researchers whose names Retraction Watch readers may find familiar: Grant Steen, Arturo Casadevall, and Ferric Fang. Together and separately, they’ve examined retraction trends in a number of papers we’ve covered. Their new paper tries to answer a...
<reponame>DarrMirr/dl4j-facenet-mtcnn package com.github.darrmirr.featurebank.verifier; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.ops.transforms.Transforms; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Qualifier; import or...
def _pfp__restore_snapshot(self, recurse=True): super(Array, self)._pfp__restore_snapshot(recurse=recurse) self.raw_data = self._pfp__snapshot_raw_stack.pop() if recurse: for item in self.items: item._pfp__restore_snapshot(recurse=recurse)
/* * Performs a soft reset of a pipe. This resets the pipe, deallocates it and * disables it. The pipe will be available for allocation again. */ static void usbhc_pipe_soft_reset(struct usb_pipe* pipe) { spinlock_aquire(&pipe->lock); pipe->state = PIPE_STATE_FREE; spinlock_release(&pipe->lock); }
<gh_stars>10-100 """ The Purpose of this Reddit Bot is to collect replies to a particular thread, then save to a .txt file This Python Script has been modified to work in conjunction with 'Markov Chain'-based bot to save a particular users entire comment history to a text file, then will be added to the list of user...
/** * This is a helper class, needed to update Things in the BlockChain. */ public class UpdateThing { private int schemaIndex; private JsonObject data; public UpdateThing(int schemaIndex, JsonObject data) { this.schemaIndex = schemaIndex; this.data = data; } public int getSchem...
// // Function: OnFinishPageNext // // Purpose: Handle the pressing of the Next button // // Parameters: hwndDlg [IN] - Handle to the finish dialog // // Returns: BOOL, TRUE // BOOL OnFinishPageNext(HWND hwndDlg) { TraceFileFunc(ttidGuiModeSetup); HCURSOR hOldCursor = NULL; INe...
module Compiler.Rum.StackMachine.Translator where import Control.Monad.Extra (concatMapM) import qualified Data.HashMap.Strict as HM import Compiler.Rum.Internal.AST import Compiler.Rum.Internal.Rumlude import Compiler.Rum.Internal.Util import Compiler.Rum.StackMachine.Structure import Compiler.Rum.St...
from django import forms from modelform_demo.models import BookDemo, UserDemo class BaseForm(forms.ModelForm): def get_errors(self): errors = self.errors.get_json_data() new_errors = {} for key, message_dicts in errors.items(): print(message_dicts) messa...
/** * Test class for Conta class * Jadson Santos - jadsonjs@gmail.com */ public class ContaTest { void testaContaComSaldo(){ Conta conta = new Conta(10.0d); if(conta.temSaldo()) System.out.println("PASSED"); else System.out.println("FAIL"); } void testaCo...
<filename>src/main/java/com/cmayen/almacen/core/models/services/IDetalleFacturaService.java package com.cmayen.almacen.core.models.services; import com.cmayen.almacen.core.models.entity.DetalleFactura; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import java.util.List;...
<gh_stars>0 from fastai.vision import * from fastai.metrics import error_rate from flask import Flask, request, url_for, flash from werkzeug import secure_filename from flask import send_from_directory import numpy as np import os from os import rename, listdir from PIL import Image import class_def from class_def im...
// This small example illustrate how to work with Trim function. func ExampleTrim() { println(Trim(" \r\r\ntext\r \t\n", "") == "text") println(Trim("1234567890987654321", "1-8") == "909") }
<gh_stars>0 package com.davidmogar.quizzer.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URI; import java.net.URL; import java.net.URLConnection; public class UrlReader { /** * Gets the content of the URL as an String. * * @para...
PVC-SLP: Perceptual Vibrotactile-Signal Compression Based-on Sparse Linear Prediction Developing a signal compression technique that is able to achieve a low bit rate while maintaining high perceptual signal quality is a classical signal processing problem vigorously studied for audio, speech, image, and video type of...
<reponame>LittleNewton/Operations_Research_Report_BACKUP #pragma once // any is a pointer. This allows you to put arbitrary structures in // the hashmap. typedef void * any;
/** * invalidates the textures beloging to the given tree. * These textures will be offered to be deleted at the next call to offerTexturesToDelete */ public void invalidateTexturesInTree(int treeID) { String sTreeID = treeID + "#"; synchronized (dllTextures) { DoubleLinked...
# import the necessary packages from keras.models import Sequential from keras.layers.normalization import BatchNormalization from keras.layers.convolutional import Conv2D from keras.layers.convolutional import MaxPooling2D from keras.layers.core import Activation from keras.layers.core import Flatten from keras.layers...
A novel technique to detect Aging in analog/mixed-signal circuits The increasing complexity of current and future ICs has the issue of more complex and more expensive test especially in mixed signal circuit designs. As Opamps are used in a wide applications of analog/mixed-signal circuits, this paper presents a BIST t...
<gh_stars>0 // Updater.h #ifndef _UPDATER_h #define _UPDATER_h #if defined(ARDUINO) && ARDUINO >= 100 #include "arduino.h" #else #include "WProgram.h" #endif #include "IotMessaging.h" class Updater { public: Updater(String serverIp, String httpsFingerprint, const char* fwVersion); boolean processMessage(JsonObject&...
// ByID sorts the passed Scopes in place lexicographically by their IDs. func ByID(scopes []Scope) { sort.Slice(scopes, func(i, j int) bool { return scopes[i].ID < scopes[j].ID }) }
<reponame>landon912/Lavio // **************************************** Lavio Engine **************************************** // **************************** Copyright (c) 2017 All Rights Reserved ************************** // ***************************** <NAME> (<EMAIL>) ************************** #pragma once #inclu...
/** * It is correlation result, which has colNames and correlation values. */ public class CorrelationResult implements Serializable { private static final long serialVersionUID = -498543486504426397L; /** * correlation data. */ DenseMatrix correlation; /** * If it is vector correlation, colNames is null....
Joint (Arab) List MK Hanin Zoabi on Monday called for the prosecution of the Israeli security forces personnel who killed the terrorist Nashat Milhem last weekend, after he opened fire on troops who came to arrest him. “The fatal shooting of Nashat Milhem was a liquidation, because the security forces could have arres...
#ifndef TYPES_H #define TYPES_H typedef unsigned char byte; typedef unsigned long long u64; #endif
Looking for news you can trust? Subscribe to our free newsletters. In his first public appearance since leaving the White House, former President Barack Obama said that empowering young people to take on leadership roles would be the “single most important” issue in his post-presidency life. “What I’m convinced of i...
/** * * @author HLN Consulting, LLC */ @Entity @Table(databaseId = "CDS", name = "value_set_sub_value_set_rel") @JndiReference(root = "mts-ejb-cds") @Permission(name = "Value Set Subvalue Set Relationship", isListed = false) public class ValueSetSubValueSetRelDTO extends BaseDTO { public interface ByVa...
/** * Initialize maze such that all cells have not been visited, all walls inside the maze are up, * and borders form a rectangle on the outside of the maze. */ public void initialize() { int x, y; for (x = 0; x < width; x++) { for (y = 0; y < height; y++) { setBitToOne(x, y, (Constants.CW_VISITED | Co...
TV “When did music become so important?” — Don Draper Creating the soundtrack to a period piece about the 1960s, especially one that takes itself incredibly seriously, is a daunting task. Around every corner are songs that tempt you with nostalgia or personal connection, but if those songs are used in even slightly ...
<gh_stars>0 """Tests for '--personal-dict' option of hunspellcheck CLI.""" import argparse import contextlib import io import os import shutil import tempfile import uuid import pytest from hunspellcheck.cli import hunspellchecker_argument_parser @pytest.mark.parametrize("personal_dicts", (True, False)) @pytest.ma...
Performance analysis of planar subharrnonicany pumped antiparallel-pair schottky diode mixers for submillimeter-wave applications A computer simulation based on the techniques developed by Kerr has been developed that takes into account the physical presence of the pad-to-pad capacitance inherent in antiparalletpair p...
1. I, for one, am thankful for Laura Miller’s article in Salon last month about the alleged irrelevance of the National Book Awards. Miller demonstrates passion—which in my book is almost never a bad thing—for good fiction and, in particular, for “ordinary readers.” Miller wants the NBAs to matter, to have impact. She...
// Equal reports whether domain1 and domain2 are equivalent as defined by // IDNA2008 (RFC 5890). // // TL;DR Use this instead of strings.EqualFold to compare domains. // // Equivalence for malformed A-label domains is defined using regular // byte-string comparison with case-folding applied. func Equal(domain1, domain...
/** * This AlarmReceiver is responsible for handling the incomming alarm, * loading the actual wagenstand * and sending a notification if the meta created date is differently */ public class WagenstandAlarmReceiver extends BroadcastReceiver implements RestListener { private static String TAG = WagenstandAlarmR...
//////////////////////////////////////////////////////////////////////////////// #ifndef __DELAY_H #define __DELAY_H //////////////////////////////////////////////////////////////////////////////// #include "sys.h" //////////////////////////////////////////////////////////////////////////////// #ifdef _DELA...
#include "states.h" #include "utils.h" extern "C" { #include "md4.h" }; /******************************************************************************* * * atom list * ******************************************************************************/ atomList_t::atomList_t( const atomList_t &alist ) { notify( t...
Low Cost and Small Component Count Hybrid Converter with Energy Management Control for Unmanned Aerial Vehicle Applications This paper proposes a novel non-isolated three-port converter having dual-input and single-output (DISO) for low cost and small component counts. A combination of power sources, including a fuel ...
import logging from fastapi_events.registry.base import BaseEventPayloadSchemaRegistry logger = logging.getLogger(__name__) class EventPayloadSchemaRegistry(BaseEventPayloadSchemaRegistry): pass registry = EventPayloadSchemaRegistry()
<filename>max_slice_sum.py def solution(A): import sys if len(A) < 1: return 0 elif len(A) == 1: return A[0] if len(A) == 2: a1, a2 = A a3 = sum(A) return max(a1,a2,a3) if len(A) == 3: a1, a2, a3 = A a4 = a1 + a2 a5 = a2 + a3 ...
package client.startup; import client.view.NonBlockingInterpreter; import common.FileCatalogServer; import java.net.MalformedURLException; import java.rmi.Naming; import java.rmi.NotBoundException; import java.rmi.RemoteException; /** * Starts the Client Interface */ public class Main { /** ...
def sample_stats_table(self): headers = OrderedDict() for sample in self.ed_data_samples.keys(): for metric in self.ed_data_samples[sample]: if metric not in headers.keys(): name = metric.replace('.','').replace('_',' ').capitalize() he...
def WriteClient(self, client_id, client):
package stream import ( "math" "runtime" ) /** * Reference: * http://www.cnblogs.com/gw811/archive/2012/10/04/2711746.html */ // Comparator 比较器 type Comparator struct { CompareTo func(interface{}, interface{}) int } // Sorted 对数据流操作,升序排序 func (s *Stream) Sorted(comparator *Comparator) *Stream { return s.MSorte...
<filename>Win10RestartBlockerUI/resource.h //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by Win10RestartBlockerUI.rc // #define IDI_MAIN_ICON 1 #define IDC_MYICON 2 #define IDD_WIN10RESTARTBLOCKERUI_DIALOG 102 #define IDD_ABOUTBOX ...
What we do comes out of who we believe we are. A good friend of mine, who graduated with honors from Cal Berkley several years ago, is now the co-founder and CEO of a successful start-up in Silicon Valley. Throughout grade school he struggled with reading and writing disabilities. He spent kindergarten all the way thr...
<gh_stars>1-10 import autocurry from "Function/autocurry/autocurry" /** * Returns a boolean indicating whether a given value is within a lower and upper bounds. * * @param [ lower, upper ] * @param {number} value * @returns {number} */ const inRange = ([ lower, upper ], value) => value >= lower && value < ...
export enum DeckdeckgoDrawAction { PENCIL, CIRCLE, ARROW } export enum DeckdeckgoSlideAction { PLAY = 'play', PAUSE = 'pause' } export interface DeckdeckgoAttributeDefinition { name: string; value?: any; } export interface DeckdeckgoSlideDefinition { template: string | undefined; content?: string; ...
// Replace a substring by another substring. void replace(std::string& str, const std::string& out, const std::string& in) { std::string::size_type index = str.find(out); if (index!=std::string::npos) str.replace(index, out.size(), in); }
// implements the functionality for browsing public class scalaLabPathsListener implements TreeSelectionListener { JTree pathsTree; // the selectedValue keeps the full pathname of the selected object for further processing public static String selectedValue; public static String selectedPa...
Development More than 2,500 business leaders, economists and politicians from around the world will attend the meeting in Davos. Telangana's Commerce Minister KT Rama Rao has received an invitation to the World Economic Forum (WEF) annual meeting in Switzerland next month -- an invite generally restricted to Union Mi...
Poor neighbourhoods are increasing in outer boroughs but getting fewer in the centre, new analysis reveals Outer London has seen rising levels of poverty while the number of poorer areas in central London is reducing, according to a new analysis of official deprivation data. Although the poorest places in the capital...
/* *---------------------------------------------------------------------- * * TclCompileDict*Cmd -- * * Functions called to compile "dict" sucommands. * * Results: * All return TCL_OK for a successful compile, and TCL_ERROR to defer * evaluation to runtime. * * Side effects: * Instructions are added to env...
<gh_stars>1-10 import React from "react"; import cn from "classnames"; import { Variant } from "../common"; interface AlertProps { children: React.ReactNode; variant: Variant; className?: string; dismiss?: boolean; style?: React.CSSProperties; visible?: boolean; } export const Alert = ({ c...
The Clay Belt is a vast tract of fertile soil stretching between the Cochrane District in Ontario, and Abitibi County in Quebec, covering 180,000 square kilometres (69,000 sq mi) in total[1] with 120,000 square kilometres (46,000 sq mi) of that in Ontario.[2] It is generally subdivided into the Great Clay Belt to the n...
/** * Proper alternative to {@link VirtualFileUtils#getProjectVirtualFile(IFile)}, get back from MPS's {@code IFile} to IDEA's {@code VirtualFile} * @param file MPS file abstraction * @return IDEA's VirtualFile, if supplied IFile is tracked under project's file system. * @since 2021.1 */ @Override @Nul...
Factor analysis of essential and toxic elements in human placentas from deliveries in arctic and subarctic areas of Russia and Norway. Concentrations in human placenta of 11 essential elements (P, Ca, Mg, Cu, S, Na, Fe, Zn, K, Se, Mn) and 5 toxic elements (Ba, Sr, Pb, Ni, Cd) are compared for each of two arctic commun...
/* * pmempool_check_pool_hdr -- check/repair pool header of all files in pool set */ static check_result_t pmempool_check_pool_hdr(struct pmempool_check *pcp) { int rdonly = !pcp->repair || !pcp->exec; if (pool_set_file_map_headers(pcp->pfile, rdonly, sizeof (struct pool_hdr))) { outv_err("cannot map pool head...
<commit_msg>docs: Use the current year in the copyright <commit_before>from __future__ import unicode_literals import sys import os sys.path.insert(0, os.path.dirname(os.path.abspath('.'))) import youtube_dl_server as ydl_server # -- General configuration ----------------------------------------------------- # Add ...
/** * This class can be used to add dragging capability to any JComponents. * It contains the methods and data members needed to support automatic dragging, * and contains methods to impliment both MouseListener, MouseMotionListener. * In general, any existing JComponent can be made to be draggable simple by ...