content stringlengths 10 4.9M |
|---|
Personality Dimensions in Rorschach Reports: An Empirical Synthesis
The concepts contained in Rorschach reports from 31 college students prepared by eight examiners were abstracted. The 286 resultant concepts were sorted into substantive personality categories by seven clinical judges. Their 83 categories were factor ... |
def _pack_parameters(self, vec_kforw, vec_kback, vec_km):
if type(vec_km) != list:
vec_km = vec_km.tolist()
vec_km.reverse()
km_substr = []
km_prod = []
[(km_substr.append([vec_km.pop() for i in range(x)]),\
km_prod.append([vec_km.pop() for i in range(y)]))\... |
//
// cdr_op_ci.cpp,v 1.12 2001/04/24 13:44:30 parsons Exp
//
// ============================================================================
//
// = LIBRARY
// TAO IDL
//
// = FILENAME
// cdr_op_ci.cpp
//
// = DESCRIPTION
// Visitor generating code for CDR operators for interfaces
//
// = AUTH... |
def install(
indentation: str = ' ',
deepest_indentation: str = '..',
max_level: Optional[int] = 5,
handlers: Optional[Iterable[logging.Handler]] = None,
logger: Optional[logging.Logger] = None,
logging_classes: Iterable[Type] = DefaultLogger(),
logging_functions: Iterable[Callable] = ()
) ... |
/// Initalize game, run main.cs startup script
bool initGame()
{
Con::setFloatVariable("Video::texResidentPercentage", -1.0f);
Con::setIntVariable("Video::textureCacheMisses", -1);
Con::addVariable("timeScale", TypeF32, &gTimeScale);
Con::addVariable("timeAdvance", TypeS32, &gTimeAdvance);
Con::addVariab... |
Plant Growth on the Space: A Case Study of Sorghum Growth on Microgravity Simulator as a Theoretical Model
There is no doubt that the second brightest object in the sky after the Sun is the Moon, and it orbits around the Earth once per month. It is also our nearest celestial neighbor. Current interest in long-duration... |
<reponame>VoiceZen/OpenSeq2Seq
import tensorflow as tf
from open_seq2seq.encoders import Encoder
from open_seq2seq.parts.centaur import ConvBlock
from open_seq2seq.parts.transformer import embedding_layer
from open_seq2seq.parts.transformer import utils
class CentaurEncoder(Encoder):
"""
Centaur encoder that con... |
<filename>src/platforms/apple/index.ts
import { Page } from 'puppeteer';
import { logger } from '../../util/terminal';
import { Routine } from '../../models/CLI';
import { config } from './config';
import { fetchData, pushData } from './routines';
const { variables } = config;
const appStoreConnectRoutine = async (... |
#include "game.h"
#include "scorer.h"
Scorer* Scorer::instance = NULL;
Game& Game::operator=(const Game& that){
if ( this == &that ) return *this;
delete [] playerName;
playerName = new char[strlen(that.playerName)+1];
strcpy(playerName, that.playerName);
playerScore = that.playerScore;
aiScore = that... |
/*
* Create clinical model procedures from CCR Procedures
*/
private ArrayList<Procedure> createProcedures() {
ArrayList<Procedure> pL = new ArrayList<Procedure>();
if (ccr.getBody().getProcedures() != null) {
for (ProcedureType pt : ccr.getBody().getProcedures().getProcedure()) {
... |
class PDFExporter:
"""
Export sheets as PDF named by a file naming template.
"""
def __init__(self, printer, output):
"""
Inits a new PDFExporter instance.
Args:
printer (string): The printer network adress
output (string): The printer output direct... |
/**
* <pre>
* ControlPanel contains all administrative controls.
* </pre>
*/
public static final class ControlPanelStub extends io.grpc.stub.AbstractStub<ControlPanelStub> {
private ControlPanelStub(io.grpc.Channel channel) {
super(channel);
}
private ControlPanelStub(io.grpc.Channel chan... |
from torch.utils.data import Dataset
class CachedDataset(Dataset):
def __init__(self, data) -> None:
super().__init__()
self.data = data
def __getitem__(self, index: int):
return self.data[index]
def __len__(self) -> int:
return len(self.data)
|
/**
* Perform HuffmanCompression on a text file.
*/
public class HuffmanCompression {
/**
* Main method.
*/
public static void main(String[] args) throws FileNotFoundException, IOException {
if (args.length == 0) {
System.out.println("NO OPERATION GIVEN! OR ANYTHIN... |
/*
* ---------------------------------------------------------------------------
* uf_free_netdevice
*
* Unregister the network device and free the memory allocated for it.
* NB This includes the memory for the priv struct.
*
* Arguments:
* priv Device private pointer.
*
* Returns... |
/*
* drivers/pci/bus.c
*
* From setup-res.c, by:
* Dave Rusling (david.rusling@reo.mts.dec.com)
* David Mosberger (davidm@cs.arizona.edu)
* David Miller (davem@redhat.com)
* Ivan Kokshaysky (ink@jurassic.park.msu.ru)
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/e... |
<reponame>upupming/Forum<filename>CC98.Forum/CC98.Forum/Pages/Board/PostItem.tsx
import * as React from 'react';
import * as Utility from '../../Utility';
import { Link } from 'react-router-dom';
import { ITopic, IPost } from '@cc98/api';
import { Tag, Popover, Tooltip, Spin } from 'antd';
import moment from 'moment';
... |
Reconstructing and predicting the hepatitis C virus epidemic in Greece: increasing trends of cirrhosis and hepatocellular carcinoma despite the decline in incidence of HCV infection
Summary. In this study, a comprehensive methodology for modelling the hepatitis C virus (HCV) epidemic is proposed to predict the future... |
/**
* Cast result object to a mutableNodeset.
*
* @return The nodeset as a mutableNodeset
*/
public NodeSetDTM mutableNodeset()
{
NodeSetDTM mnl;
if(m_obj instanceof NodeSetDTM)
{
mnl = (NodeSetDTM) m_obj;
}
else
{
mnl = new NodeSetDTM(iter());
setObject(mnl);
... |
// NewWrite records the writing of a certificate pair as an event on the
// supplied ingress.
func (r *KubernetesRecorder) NewWrite(namespace, ingressName, secretName string) {
i, err := r.i.Get(namespace, ingressName)
if err != nil {
return
}
r.e.Eventf(i, v1.EventTypeNormal, eventCertPairWritten, "Loaded TLS ce... |
/**
* @secjs/database
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import '@secjs/env/src/utils/global'
import { Knex } from 'knex'
import { Database } from '../src/Database'
import { DatabaseContract ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
/// <reference path="../../typings/mocha.d.ts" />
"use strict";
import path = require ("path");
import should = require("should");
import resources = require ("../resourc... |
<reponame>RobAdamsDawson/Games-Architecture
//#pragma once
//
//#include <d3d11.h>
//#include <DirectXMath.h>
//
//
//class Renderer
//{
//public:
// Renderer(HWND hWnd);
//
// bool InitDevice(const int &width, const int &height);
// bool CreateRenderTarget(const int &width, const int &height);
// bool Com... |
<reponame>BinduPushparaj/firefly
// Code generated by mockery v1.0.0. DO NOT EDIT.
package syncasyncmocks
import (
context "context"
fftypes "github.com/hyperledger/firefly/pkg/fftypes"
mock "github.com/stretchr/testify/mock"
syncasync "github.com/hyperledger/firefly/internal/syncasync"
sysmessaging "github.c... |
package com.pranjal.customnavigationdrawer;
public class constants {
public static final String M_ID = "xxxxxxxx"; //Paytm Merchand Id we got it in paytm credentials
public static final String CHANNEL_ID = "WEB"; //Paytm Channel Id, got it in paytm credentials
public static final String INDUSTRY_TYPE_ID = ... |
# -*- encoding:utf-8 -*-
import pandas as pd
import numpy as np
from datetime import datetime
dire = '../../data/'
start = datetime.now()
orderHistory_train = pd.read_csv(dire + 'train/orderHistory_train.csv', encoding='utf-8')
orderFuture_train = pd.read_csv(dire + 'train/orderFuture_train3.csv', encoding='utf-8')
u... |
<reponame>deathmaz/youtube-explorer
package ui
import (
"fmt"
"github.com/jroimartin/gocui"
)
func regularText(v *gocui.View, text string) {
fmt.Fprintf(v, "\x1b[38;5;3m%s\x1b[0m\n", text)
}
func blueTextLn(v *gocui.View, text string, label string) {
fmt.Fprintf(v, "\x1b[38;5;6m"+label+"%s\x1b[0m\n", text)
}
f... |
/**
* @author gugu
* @Classname Step5
* @Description TODO
* @Date 2019/12/27 20:59
*/
public class Step5 {
private final static Text K = new Text();
private final static Text V = new Text();
public static boolean run(Configuration conf, Map<String,String> paths){
try {
FileSystem fi... |
Polymorphisms in OATP-C
The human organic anion transporting polypeptide-C (OATP-C) (gene SLC21A6) is a liver-specific transporter importantly involved in the hepatocellular uptake of a variety of endogenous and foreign chemicals. In this study, we demonstrate the presence of multiple functionally relevant single-nucl... |
The fierce battle with Múspell has ended and the Order of Heroes has returned to Askr. Not long after the party's return, however, they were attacked by soldiers from Hel, the realm of the dead.
As Alfonse and the others struggle to repel the forces of Hel, they encounter generals of the dead plucked from history—warr... |
<filename>src/components/feed/FeedTree/ParentComponent.tsx
import React from "react";
import { connect } from "react-redux";
import { Dispatch } from "redux";
import { Spinner } from "@patternfly/react-core";
import { ApplicationState } from "../../../store/root/applicationState";
import { PluginInstancePayload, FeedTr... |
import io, os
from collections import Counter, defaultdict, deque
class LazySegmentTree:
def __init__(self, data, default=0, func=max):
_default = default
self._func = func
self._len = len(data)
self._size = _size = 1 << (self._len - 1).bit_length()
self._lazy = [... |
def mogaussian(D=2, K=10, N=100000, seed=2, D_max=100):
nr.seed(seed)
p = nr.dirichlet([.5] * K)
v = 1. / np.square(nr.rand(K) + 1.)
m = nr.randn(D_max, K) * 1.5
m = m[:D]
X = tt.dmatrix('X')
C = [np.eye(D) * _ for _ in v]
def log_p(X):
if isinstance(X, tt.TensorVariable):
... |
<reponame>TravisHunt/screeps
import Storage from "wrappers/Storage";
type StorageTree = Record<string, Record<string, Storage>>;
export default class StorageService implements IRunnable {
private static instance: StorageService;
private storage: StorageTree = {};
private get memory(): StorageServiceMemory {
... |
Pont de Dolor: A Dual Laminotomy Technique for Placing and Securing an Electrode in the Epidural Space and Comments About Anatomic Variation That May Complicate Spinal Cord Stimulator Electrode Placement
The objective of this report is to describe a surgical technique used successfully when a flat or paddle type spina... |
def reformat_normal_patient_ids(data_dict, existing_identifier=None, existing_identifier_location=None):
if (existing_identifier is None and existing_identifier_location is not None) or (existing_identifier is not None and existing_identifier_location is None):
raise CptacDevError("Parameters existing_ident... |
RAMALLAH (Ma'an) -- An emergency meeting between Palestinian Legislative Council (PLC) members, teachers, and the Palestinian teachers' union ended on Sunday without reaching a solution to the teachers' strike, sources at the meeting told Ma'an.
Sources said the meeting ended in teachers rejecting the terms laid out b... |
<gh_stars>1-10
namespace ts {
// https://github.com/microsoft/TypeScript/issues/31696
describe("unittests:: tsbuild:: moduleSpecifiers:: synthesized module specifiers to referenced projects resolve correctly", () => {
let projFs: vfs.FileSystem;
const { time, tick } = getTime();
bef... |
import path from 'path'
import Options from './Options'
import { ITEM_TYPE_ALL } from './ItemType'
export default function (this: any, moduleOptions: Options) {
const defaultOptions: Options = {
showImage: false,
mustHaveImage: false,
showIntro: true,
showBody: true,
articleShowImage: false,
... |
// Instantiate a PBXShellScriptBuildPhase object with arbitrary names.
std::unique_ptr<PBXShellScriptBuildPhase> GetPBXShellScriptBuildPhaseObject() {
std::unique_ptr<PBXShellScriptBuildPhase> pbx_shell_script_build_phase(
new PBXShellScriptBuildPhase("name", "shell_script"));
return pbx_shell_script_build_ph... |
/// Opens a document with a local keypair identified by [`PeerId`].
pub fn doc_as(&self, id: DocId, peer_id: &PeerId) -> Result<Doc> {
let info = self.schema(&id)?;
let schema = self.lenses(&info.as_ref().hash.into())?;
let key = self.keypair(peer_id)?;
Ok(Doc::new(id, self.clone(), key,... |
<filename>Corpus/aspectj/4606.java
public interface FooInterface<A,B>
{
public A doSomething(B transition);
}
|
Simulation of HPM Environment of Electrically Super-large Platforms Using HF Asymptotic Methods
A typical surface ship is an electrically super-large platform for the microwave band, together with lots of complex structures such as upper deckhouses and mast antennas and so on. Thus, the high-accuracy full-wave methods... |
package com.infinityraider.maneuvergear.network;
import com.infinityraider.maneuvergear.entity.EntityDart;
import com.infinityraider.maneuvergear.handler.DartHandler;
import com.infinityraider.infinitylib.network.MessageBase;
import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
import net.minecraftforge.f... |
// [PUBLIC] RemoveTaskError
//
// Removes and deletes the TaskError object from the list.
// Returns true if successful.
//
bool QCTaskManager::RemoveTaskError(unsigned long int nUID)
{
CSingleLock lock(&m_Guard_TaskErrorList, TRUE);
for(TaskErrorIterator ti=m_TaskErrorList.begin(); ti != m_TaskErrorList.end(); ++ti)... |
/**
* Adds a MenuListener to the currently active menu.
*
* @param listener
*/
@Override
public void addMenuListener(final MenuListener listener) {
currentMenu.addMenuListener(listener);
} |
<reponame>unblee/cccp<filename>destination/destination.go
package destination
import (
"io"
)
type Destination interface {
io.WriteCloser
Written() uint64
}
|
import sys
def daysOfYear(y):
if y <= 0:
return 0
elif y % 3 == 0:
return 200
else:
return 195
def daysOfMonth(y, m):
if y % 3 == 0 or m % 2 == 1:
return 20
else:
return 19
mil = 1
for i in xrange(1, 1000):
mil += daysOfYear(i)
raw_input()
for line in... |
/** Create a {@link FixedBytesField} from an AVRO type. */
public static @Nullable FixedBytesField fromAvroType(org.apache.avro.Schema type) {
if (type.getType().equals(Type.FIXED)) {
return new FixedBytesField(type.getFixedSize());
} else {
return null;
}
} |
#include <roboy_motor_calibration/roboy_motor_calibration.hpp>
RoboyMotorCalibration::RoboyMotorCalibration()
: rqt_gui_cpp::Plugin(), widget_(0) {
setObjectName("RoboyMotorCalibration");
}
void RoboyMotorCalibration::initPlugin(qt_gui_cpp::PluginContext &context) {
// access standalone command line a... |
// as a "side effect" when a function requires a permission, isProjectPermission updates the isNeeded flag
private boolean checkFunction( String func){
boolean ret = false;
if(functionmap.containsKey(func)){
for( String perm : getFunctionPermissionsArray(func)){
if(isProjectPermission(curr_project_global, pe... |
// Validate validates the Filesystem configuration. We use this method to validate
// fields where the validator package falls short.
func (f FilesystemConfiguration) Validate() error {
if f.WriteBufferSize != nil && *f.WriteBufferSize < 1 {
return fmt.Errorf(
"fs writeBufferSize is set to: %d, but must be at lea... |
// For ReplicationDestination - considered ready when a sync has completed
// - rsync address should be filled out in the status
// - latest image should be set properly in the status (at least one sync cycle has completed and we have a snapshot)
func rdStatusReady(rd *volsyncv1alpha1.ReplicationDestination, log logr.L... |
// ServeHTTP dispatches the handler registered in the matched route.
//
// When there is a match, route variables can be retrieved calling
// mux.Var(request, key).
func (r Router) ServeHTTP(w http.ResponseWriter, req *http.Request) {
path := req.URL.EscapedPath()
if len(path) > 0 && path[len(path)-1] == '/' {
path... |
/**
* Created by dcsyeoty on 16-Dec-16.
*/
@RestController
@RequestMapping(path = PATH, produces = MediaType.APPLICATION_JSON_VALUE)
@Slf4j
public class TelemetryController {
static final String PATH = "/telemetry";
private final TelemetryService telemetryService;
private final ProjectService projectSer... |
def map_roi_levels(self, rois, num_levels):
target_lvls = torch.round(rois[:, 3] / 16) - 1
target_lvls = target_lvls.clamp(min=0, max=num_levels - 1).long()
return target_lvls |
#include <bits/stdc++.h>
using namespace std;
set<vector<int> > con;
vector<int> tmp;
int n;
char s[25];
int main()
{
scanf("%s",s);
n=strlen(s);
tmp.assign(n+1,0);
//for(int i=0;i<strlen(a);i++)
//con.insert(s[i]);
for(int i=0;i<=n;i++)
{
for(int j=0;j<26;j+... |
CIA has 7,000 documents relating to rendition, detention, torture programs, filing shows RAW STORY
Published: Wednesday April 23, 2008
|
Print This Email This Documents suggest CIA stonewalled Congress The Central Intelligence Agency has acknowledged having 7,000 pages of documents pertaining to President George W. ... |
Lots of people ask me, “How did you get into the film business?”, and “How did you get into sound?” Well, it was really easy. This may not sound like an acceptable answer, as it’s very difficult for most everyone to get into the film business, and even more challenging to get into the department in which they so want t... |
HBO brass got on the phone with EW to talk about their decision to renew Game of Thrones after one episode. Below, HBO co-president Richard Plepler and programming president Michael Lombardo answer some of your burning questions from our comment boards:
ENTERTAINMENT WEEKLY: What made you decide to renew Thrones?
MIC... |
#include <cassert>
#include "FWCore/Utilities/interface/Exception.h"
#include <algorithm>
#include "CondFormats/HcalObjects/interface/HBHELinearMap.h"
void HBHELinearMap::getChannelTriple(const unsigned index, unsigned* depth, int* ieta, unsigned* iphi) const {
if (index >= ChannelCount)
throw cms::Exception(
... |
/**
* Invoke the given method on the given object with the given args.
*
* @param object the object to call method on
* @param method the method to call
* @param args the method args
*
* @return the result of the invocation
* @throws com.my.container.ContainerException if invocation of method failed
*... |
<reponame>chen-android/guoliao
package io.rong.callkit;
import android.Manifest;
import android.annotation.TargetApi;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.media.AudioManager;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.view.La... |
/*
* ItemRemove Remove an Item
* The `/item/remove` endpoint allows you to remove an Item. Once removed, the `access_token` associated with the Item is no longer valid and cannot be used to access any data that was associated with the Item.
Note that in the Development environment, issuing an `/item/remove` reque... |
A Russian regulator says time 'is running out' for the messaging app
Russia has threatened to block access to Telegram unless the company which runs the messaging app provides information about itself.
Alexander Zharov, head of communications regulator Roskomnadzor, said repeated efforts to obtain the information had... |
package core
import (
"log"
)
var (
stepCounter = 0
MaxQuests = 5
)
type QuestCommandTable func(qs *Quest, qt *QuestTask, args []string) bool
type QuestManager struct {
commands map[string]QuestCommandTable
quests []Quest
}
func MakeQuestManager() QuestManager {
res := QuestManager{
commands: map[strin... |
import { Component, Input, Output, EventEmitter, OnInit } from "@angular/core";
import { ProjectService } from "../../services";
import { ErrorHandler } from "../../utils/error-handler";
import { Label } from "../../services/interface";
import { Artifact } from "../../../../ng-swagger-gen/models/artifact";
import { Art... |
Cerulein Induces Hyperplasia of the Pancreas in a Rat Model of Chronic Pancreatic Insufficiency
Chronic pancreatic insufficiency (CPI) was induced in male Wistar rats by the injection of a zein-oleic acid-linoleic acid solution into their pancreaticobiliary ducts. Animals injected developed severe pancreatic atrophy w... |
<reponame>shubhamsingh987/PySyft
import inspect
def get_protobuf_subclasses(cls):
"""
Function to retrieve all classes that implement the protobuf methods from the SyftSerializable class:
A type that wants to implement the protobuf interface and to use it with syft-proto has
to inherit Sy... |
Encapsulation of nano-sized iron(III)–titanium(IV) mixed oxide for the removal of Co(II), Cd(II) and Ni(II) ions using continuous-flow column: multicomponent solution
ABSTRACT Encapsulation of nano-sized iron(III)–titanium(IV) mixed oxide was achieved using sodium alginate to produce encapsulated Fe–O–Ti beads for the... |
def do_docs() -> str:
check_command_exists("make")
my_env = config_pythonpath()
command = f"{VENV_SHELL} make html".strip().replace(" ", " ")
inform(command)
execute_with_environment(command, env=my_env)
return "Docs generated" |
// WaitForPersistentVolumeClaimsPhase waits for any (if matchAny is true) or all (if matchAny is false) PersistentVolumeClaims
// to be in a specific phase or until timeout occurs, whichever comes first.
func WaitForPersistentVolumeClaimsPhase(phase v1.PersistentVolumeClaimPhase, c clientset.Interface, ns string, pvcNa... |
// 1320. Minimum Distance to Type a Word Using Two Fingers
// https://leetcode.com/problems/minimum-distance-to-type-a-word-using-two-fingers/
class Solution {
int get_dist(const unordered_map<char, vector<int>>& M, char from, char to) {
return abs(M.at(from)[0] - M.at(to)[0]) + abs(M.at(from)[1] - M.at(to... |
def assign_groups_with_replicates(self, groups, n_replicates):
group_indices = {}
i = 0
for group in groups:
group_indices[group] = []
for j in range(n_replicates):
group_indices[group].append(i)
i += 1
self.assign_groups(group_indi... |
<reponame>sergey-shulyak/family-subscription-bot<filename>src/cronJobs/paymentReminderJob.ts
import { CronJob } from "cron"
import { nextBillingDate, getPaymentPrice } from "../services/paymentService"
import { getChatIdsForPayment } from "../services/userService"
import paymentMessages from "../messages/ru/paymentMes... |
A,B,C,K = map(int,input().split())
if A>=K:
max = 1*K
else:
if B>=(K-A):
max = 1*A + 0*B
else:
max = 1*A + 0*B - 1*(K-A-B)
print(max) |
import { Injectable } from '@nestjs/common';
import { CreateFormDTO } from './dto/CreateFormDTO.dto';
import { InjectModel } from '@nestjs/mongoose';
import { Model } from 'mongoose';
import { Form } from './schemas/form.schema'
import * as moment from 'moment-timezone';
@Injectable()
export class FormsCreationServic... |
/*@HEADER
// ***********************************************************************
//
// Ifpack: Object-Oriented Algebraic Preconditioner Package
// Copyright (2002) Sandia Corporation
//
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
// license for use of this work by or... |
<gh_stars>10-100
import Signal from "../signals/Signal";
import Bindable from "./Bindable";
export default class BindableList<T> extends Bindable<T[]> {
public readonly added: Signal = new Signal();
public readonly removed: Signal = new Signal();
constructor(defaultValue: T[] = []) {
super(defaultValue);
... |
One of the most popular stories on HuffPost this week concerns Peter Skyllberg, who, trapped in his snow-bound car for two months, reportedly survived with no food in freezing temperatures. He reportedly drove off the road and ended up stranded deep within the forest in Umea, Sweden. Apparently, he was lucky enough to ... |
// For selection changes in the Left Tree
void DzUnrealMorphSelectionDialog::ItemSelectionChanged()
{
selectedInTree.clear();
foreach(QTreeWidgetItem* selectedItem, morphTreeWidget->selectedItems())
{
SelectMorphsInNode(selectedItem);
}
FilterChanged(filterEdit->text());
} |
/**
* Removes all values from a world-property.
*/
public class ModifyClearCommand extends MultiverseCommand {
private MVWorldManager worldManager;
public ModifyClearCommand(MultiverseCore plugin) {
super(plugin);
this.setName("Modify a World (Clear a property)");
this.setCommandUsage... |
import EmbedWidgetModal from './EmbedWidgetModal';
export default EmbedWidgetModal;
|
import { Ad } from './Ad';
export default new Ad();
|
/**Insert Type's description here.
* <p>
* @author Eric
* <p>
* Created on 07.08.2005
*/
public class Randomizer {
public static Random random;
/**
* Constructs a new Randomizer object
*/
public Randomizer () {
super ();
}
public static void init() {
... |
import "mocha";
import {expect} from "chai";
// const models = require('../../../../dbserver/models');
// import * as sequelize from "sequelize";
describe("Testing Connection", function () {
it("connection should work", async function () {
// const results = await Main.run([]);
await expect({exitC... |
#ifndef FUGUE_SHA3_H
#define FUGUE_SHA3_H
#include "../../sha3_interface.h"
#include "fugue_t.h"
namespace sha3 {
class Fugue : public sha3_interface {
#define FUGUE_ROUNDS_PARAM_R_224_256 5
#define FUGUE_ROUNDS_PARAM_R_384 6
#define FUGUE_ROUNDS_PARAM_R_512 8
#define FUGUE_ROUNDS_PARAM_T 13
typedef enum { S... |
An independent body called Senior Veterinary Association proposed Mr Bhagwat’s name for the D. Litt.
Mumbai: Rashtriya Swayamsevak Sangh (RSS) chief Mohan Bhagwat will be conferred with the degree of Doctor of Letters (D. Litt.) by Maharashtra Animal and Fishery Sciences University, Nagpur, for showing that the econom... |
def stage(self, connection):
self.staged = True |
import logging
from dsgrid.config.dataset_config import (
DatasetConfig,
)
from dsgrid.utils.spark import read_dataframe, get_unique_values
from dsgrid.utils.timing import timer_stats_collector, track_timing
from dsgrid.dataset.dataset_schema_handler_base import DatasetSchemaHandlerBase
from dsgrid.dimension.base_... |
<reponame>ses1112/adito-nb-git
package de.adito.git.impl.data;
import de.adito.git.api.data.IRebaseResult;
import de.adito.git.api.data.diff.IMergeData;
import org.eclipse.jgit.api.RebaseResult;
import java.util.List;
/**
* Class that keeps the result of a Rebase operation
*
* @author <NAME> 05.12.2018
*/
public... |
/**
* Test revision register.
*/
private static class TestRevisionRegister implements Consumer<Function<Long, CompletableFuture<?>>> {
/** Revision consumer. */
List<Function<Long, CompletableFuture<?>>> moveRevisionList = new ArrayList<>();
/** {@inheritDoc} */
@Override
... |
<reponame>stevenpersia/tinyboo<filename>src/index.ts
/**
* Returns the object type of the given value.
*
* @param value
* @returns string
*/
const getType = (value: any): string => {
return Object.prototype.toString.call(value).slice(8, -1);
};
/**
* Returns true if `value` is an array.
*
* @param value any
... |
Artificial quantum photosynthetic materials
Photosynthesis has been shown to be a highly efficient process for energy transfer in plants and bacteria. It has been proposed that quantum mechanics plays a key role in this energy transfer process. There has been evidence that photosynthetic systems may exhibit quantum co... |
<reponame>pelmers/cnc-ocr
//
// This file is part of the CNC-C implementation and
// distributed under the Modified BSD License.
// See LICENSE for details.
//
// I AM A GENERATED FILE. PLEASE DO NOT CHANGE ME!!!
//
package CnCParser.Ast;
import CnCParser.*;
import lpg.runtime.*;
/**
*<b>
*<li>Rule 50: aritm_t... |
/**
* Container cluster for metrics proxy containers.
*
* @author gjoranv
*/
public class MetricsProxyContainerCluster extends ContainerCluster<MetricsProxyContainer> {
public MetricsProxyContainerCluster(AbstractConfigProducer<?> parent, String name, DeployState deployState) {
super(parent, name, name... |
package s2srouter
import (
"context"
"sync"
"github.com/dantin/cubit/router"
"github.com/dantin/cubit/xmpp"
)
type s2sRouter struct {
mu sync.RWMutex
outProvider OutProvider
remotes map[string]*remoteRouter
}
// New creates a router between two servers.
func New(outProvider OutProvider) router.S... |
Evaluation of automated hematology analyzer DYMIND DH76 compared to SYSMEX XN 1000 system
Background DYMIND DH76 (DYMIND BIOTECH, China) is a new automated hematology system designed to provide CBC count, including a 5-part WBC differential count, and its analytical performance should be assessed before adoption for c... |
/** Used to run the Checker Framework and collect results. */
class CheckExecutor {
private static final Logger logger = Logger.getLogger(CheckExecutor.class.getName());
private final Publisher publisher;
private final List<String> options;
private final Gson gson;
private final Process wrapper;
... |
Girls packing brooms in Evansville, Ind. in 1908.
Library of Congress.
Among the family of housekeeping implements, the broom—humble, deceptively simple in design, prone to leaning unobtrusively in corners—does not often enjoy the recognition it deserves. Household cleanliness begins and ends at the tips of a broom’s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.