content
stringlengths
10
4.9M
<gh_stars>0 #include <stdio.h> #include <stdlib.h> void teste(int v[], int p) { printf("%d %d\n",v[0], p); v[0] = 7; p = 9; printf("%d %d\n",v[0],p); } int main(int argc, char *argv[]) { int x =10; int valores[10]; valores[0] =99; printf("%d %d\n",valores[0],x); teste(valores,x); printf...
/** * Userinfo API implementation class */ public class UserinfoApiServiceImpl extends UserinfoApiService { private UserinfoRequestHandler userinfoRequestHandler; private static final Logger log = LoggerFactory.getLogger(UserinfoApiServiceImpl.class); public UserinfoApiServiceImpl(UserinfoRequestHandler...
package com.hwq.fundament.Thread.PCModel; /** * @author hwq * @date 2019/04/13 * <p> * 商品 * wait/notify实现的生产和消费者 * </p> */ public class MallDemo { private int count; private static final int MAX_COUNT = 10; public synchronized void push() { while (count >= MAX_COUNT) { try { ...
/** * Gets the current session of the event. * @return Session */ public final Session currentSession() { if ((currentSession >= 0) && (currentSession < route.length)) return route[currentSession]; else return null; }
package bombs import "embed" //go:embed 1G.gzip //go:embed 10G.gzip //go:embed 1T.gzip var Bombs embed.FS var BombFileNameList = []string{`1G`, `10G`, `1T`} func Exists(filename string) bool { for _, v := range BombFileNameList { if v == filename { return true } } return false }
import { EntityChangeEvent, EntityEvictEvent } from ".."; import { EntityKey } from "../entities/EntityEvent"; import { StateValue } from "./impl/StateValue"; export function postStateManagerMessage(stateManagerId?: string) { const message: StateManagerMessage = { messageDomain: "graphQLStateMonitor", ...
/** * Created by keayuan on 2020/4/8. * * @author keayuan */ public class BannerFragment extends IFragment { @Override protected int getLayoutId() { return R.layout.fr_banner; } @Override protected void onInitView(View rootView, Bundle savedInstanceState) { BannerView bannerVie...
export const removeAttr = (attribute: string) => (item: Element) => { item.removeAttribute(attribute); return item; };
// ScaleDeployment scales a deployment and waits until it is scaled func ScaleDeployment(ctx context.Context, client client.Client, desiredReplicas *int32, name, namespace string) (*int32, error) { if desiredReplicas == nil { return nil, nil } replicas, err := GetDeploymentReplicas(ctx, client, namespace, name) i...
<filename>containerdefs/loader.go package containerdefs import ( "fmt" ) type DefinitionLoader interface { LoadContainerDefinitions() ([]*ContainerDefinition, error) ValidateURI() error } // LoadContainerDefinitions scans a local directory (might have been passed from the command line) // for container definition...
<gh_stars>10-100 import { CacheProvider, CacheStorageKey } from '@discordoo/providers' export async function cacheProviderCountsPolyfill<K = string, V = any, P extends CacheProvider = CacheProvider>( provider: P, keyspace: string, storage: CacheStorageKey, predicates: ((value: V, key: K, provider: P) => boolea...
/** * Copyright (C) 2015 DataTorrent, 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Ultrastructural aspects of the antimesometral implantation in the rabbit. A scanning and transmission electron microscope study of blastocysts immediately prior to ovo implantation and of antimesometrial implantation sites was conducted. External membranes of the eggs showed at 6 days post coitum the imprint of the en...
<reponame>thomcom/dask-labextension """ A Dashboard handler for the Dask labextension. This proxies the bokeh server http and ws requests through the notebook server, preventing CORS issues. """ from urllib import parse from tornado import web from notebook.utils import url_path_join from jupyter_server_proxy.handler...
def try_get_model_flavor(model) -> Optional[str]: try: from pyspark.ml.base import Model as SparkModel if isinstance(model, SparkModel): return 'spark' except: pass try: from sklearn.base import BaseEstimator as ScikitModel ...
import { publishEvent } from "../events" import { Event, UserGroup, GroupCreatedEvent, GroupDeletedEvent, GroupUpdatedEvent, GroupUsersAddedEvent, GroupUsersDeletedEvent, GroupAddedOnboardingEvent, GroupPermissionsEditedEvent, } from "@budibase/types" import { isScim } from "../../context" async func...
The staff at Notre Dame did not stand in the way as more than 100 students chose to peacefully leave their own graduation to protest commencement speaker selection. As the probe into the alleged Russian meddling in 2016 presidential elections deepens, Vice President Mike Pence has hired his own lawyer to represent him...
/** * Chat recording component * Created by gtq on 2016/11/27. */ public class RecordView extends LinearLayout { private String Tag = "RecordView"; /** Constantly timing little red dot */ private ImageView redDotView; /** Timing text */ private TextView timerTxt; /** The tape on the left sh...
/* * Copyright 2021 MeshDynamics. * 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 agreed to in writ...
<reponame>santosh653/marathon-client package mesosphere.marathon.client.utils; import feign.Param; import java.util.Objects; /** * Removes "/" prefix that is commonly used in Marathon app id. */ public class AppIdNormalizer implements Param.Expander { @Override public String expand(Object o) { Stri...
/** * Checks if an input line is empty or null. * @param strLine - a line from the input file * @param line - the line number from the input file * @return - true if the line is empty; false if not */ protected boolean isLineEmpty(String strLine, long line) { if (strLine == null || strLine.equals("")){...
We like to think of our laws as a logical system, and at their best, they are. On the other hand, some are like strange old houses that have been added to, tinkered with, repainted and adjusted over the years, according to the theories of past decades. In the house there are musty, long-closed rooms. We’re pretty sure...
// Ok let's pretend that this is some kind of interview code challange // we are paint company that need to draw a line between two number. // We got order by given two number. From and To. Unfortunately, sometimes // the two number are overlap, and sometimes can be continued, // but seperate into two range. // Combine...
An Analysis of the Nature, Causes and Marketing Implications of Seasonality in the Occupancy Performance of English Hotels Time series factor analysis separates two principal components of seasonality from the monthly occupancy time series of 279 English hotels over the period January 1992 to December 1994. The region...
/** * Created by CodeGenerator on 2020/10/05. */ @RestController @RequestMapping("/user") public class UserController { @Autowired private GlobalVar globalVar; @Resource private UserService userService; private List<String> okPassword = Arrays.asList("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJ...
class Annotation { //... } void printAnnotation(Annotation annotation) { System.out.println("Message: " + annotation.getMessage()); System.out.println("Line: " + annotation.getLine()); System.out.println("Offset: " + annotation.getOffset()); System.out.println("Length: " + annotation.getLength()); ...
/* nanobind/stl/detail/nb_list.h: base class of list casters Copyright (c) 2022 Wenzel Jakob All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include <nanobind/nanobind.h> NAMESPACE_BEGIN(NB_NAMESPACE) NAMESPACE_...
/// <summary> /// Clear all waypoints from the app map. /// </summary> void TheMap::ClearWaypoints() { m_mapControl->MapElements->Clear(); m_itineraryLine = nullptr; }
The NBA and is becoming increasingly international, with an influx of foreign players. Let’s see who are the best foreign Magic players of all time. The NBA is becoming increasingly international, with an influx of players from all over the world. The Orlando Magic have certainly embraced this trend. They currently ha...
import { useContext } from "react"; import RouterContext from "./routerContext"; export interface RedirectProps { to: string; } export function useRouter(): { push: (path: string) => void } { const { forceUpdate } = useContext(RouterContext); function push(path: string) { history.pushState(null, "...
/* File fetch structure * Accepts: MAIL stream * message # to fetch * pointer to return body * option flags * Returns: envelope of this message, body returned in body value * * Fetches the "fast" information as well */ ENVELOPE *phile_structure (MAILSTREAM *stream,unsigned long msgno,BODY **body, ...
<reponame>nilanjanpal/ExpenseTracker import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core'; import { Store } from '@ngrx/store'; import { ExpenseService } from 'src/app/services/expense.service'; import { ExpenseHistory, ExpenseState } from 'src/app/store/expense.reducer'; import * as appReducer f...
/** * * @param toRemove is the node to be removed from open */ private void _removeNode(Node toRemove) { this.open.remove(toRemove); /* if(prevFmin < open.getFmin()){//fmin changed, need to reorder priority Queue _reorder(); }*/ }
<filename>presqt/targets/gitlab/utilities/delete_gitlab_project.py<gh_stars>1-10 import requests def delete_gitlab_project(project_id, token): """ Delete the given project from Gitlab. Parameters ---------- project_id: str The ID of the project to delete. token: str The user's...
I heard a little about inequality at Netroots Nation, but there was a depressing sameness to it. Everyone wants to talk about income inequality. No one wants to talk about our horrifying wealth inequality and the enormous damage it does to our society. The halls were full of people working to increase the minimum wage...
/** * Metric Store in RDF Store. */ public class RDFStoreMetricRegistry { private final MetricRegistry metricRegistry; private HealthCheckRegistry healthCheckRegistry; private JmxReporter jmxReporter; public RDFStoreMetricRegistry() { this.metricRegistry = new MetricRegistry(); } public RDFStoreMet...
/** * Created by trioangle on 8/9/18. */ public class TripResult { @SerializedName("status_message") @Expose private String statusMessage; @SerializedName("status_code") @Expose private String statusCode; @SerializedName("trip_details") @Expose private ArrayList<TripDetailModel> t...
def adam_args(parser, dbeta1=0.99, dbeta2=0.99, depsilon='1e-8', dbeta1_fb=0.99, dbeta2_fb=0.99, depsilon_fb='1e-8'): agroup = parser.add_argument_group('Training options for the ' 'Adam optimizer') agroup.add_argument('--beta1', type=float, default=dbeta1, ...
class MultithreadingTaskGeneral: """A parent class of others that governs what calculations are run on each thread""" results = [] def runit(self, running, mutex, results_queue, items): """Launches the calculations on this thread Arguments: running -- A multiprocessing.Value objec...
An Amplicon-Based Approach for the Whole-Genome Sequencing of Human Metapneumovirus Human metapneumovirus (HMPV) is an important cause of upper and lower respiratory tract disease in individuals of all ages. It is estimated that most individuals will be infected by HMPV by the age of five years old. Despite this burde...
<reponame>SpiralP/rust-pb #![deny(rust_2018_idioms)] //! # Terminal progress bar for Rust //! //! Console progress bar for Rust Inspired from [pb](http://github.com/cheggaaa/pb), support and //! tested on MacOS, Linux and Windows //! //! ![Screenshot](https://raw.githubusercontent.com/a8m/pb/master/gif/rec_v3.gif) //!...
# -*- coding: utf-8 -*- import argparse from os import path import json from nltk.tokenize import word_tokenize as tokenize from trainer import Trainer from datautils import Dataset, Vocabulary from preprocessing import Preprocessor from model import BiLSTMCRF parser = argparse.ArgumentParser(description='Train a n...
/** * Request and response header-based {@link WebSessionIdResolver}. * * @author Greg Turnquist * @author Rob Winch * @since 5.0 */ public class HeaderWebSessionIdResolver implements WebSessionIdResolver { /** Default value for {@link #setHeaderName(String)}. */ public static final String DEFAULT_HEADER_NAM...
Fourteen gangs involved in the smuggling of frozen meat products that pose huge health risks have been hunted down and the products seized in a recent crackdown, the General Administration of Customs said. Customs officials sealed more than 100,000 metric tons of smuggled frozen meat worth up to 3 billion yuan ($483 m...
PARAMS = { "ppileup" : { "--map-qual": 15, "--sr-mindist" : 10000, "--id-up-quant": 0.01 }, "subsampleppileup" : { "run" : False, "--target-coverage": 100, "--with-replace": False }, "identifySignatures" : { "--min-count": 2.0, "--si...
<gh_stars>1-10 import {Command, CommandExecutionError} from '../commands/Command'; import {Message, VoiceChannel} from 'discord.js'; import {GuildContext} from '../guild/Context'; import {Logger} from '../Logger'; export default abstract class VoiceCommand extends Command { abstract botMustBeInTheSameVoiceChannel(...
/** * \brief BitBanged SPI implementation * * Has full support for operating modes. */ class bus_bitbang : public spi_base_bus { protected: hwlib::pin_direct_from_out_t sclk; hwlib::pin_direct_from_out_t mosi; hwlib::pin_direct_from_in_t miso; public: bus_bitb...
It’s nice to be able to track the changes while you’re “On the go” to what’s happening with DigiByte, both in terms of your wallet balance and the value of that balance in fiat currencies. I’d personally been using the Blockfolio app (Android or iOS), and while it’s a great app, it requires you manually entering in an...
""" ### cache.py ### author : <NAME> ### created : 2019-05-01 """ """ Leave all the records in the text file. If the administrator uses the student number to search the log file, he can see the time and number of times he escaped. """ #!/usr/bin/python #-------------------------------------------------------------...
import torch.nn as nn from npf.utils.initialization import weights_init from .attention import get_attender from .encoders import SinusoidalEncodings, RelativeSinusoidalEncodings __all__ = ["SelfAttention"] class SelfAttention(nn.Module): """Self Attention Layer. Parameters ---------- x_dim : int ...
Association of a lysine-232/alanine polymorphism in a bovine gene encoding acyl-CoA:diacylglycerol acyltransferase (DGAT1) with variation at a quantitative trait locus for milk fat content DGAT1 encodes diacylglycerol O-acyltransferase (EC 2.3.1.20), a microsomal enzyme that catalyzes the final step of triglyceride sy...
<gh_stars>0 import { Engine } from "../Engine"; enum DialogType { YES_NO, OK } export class UI { public static currentScreen = 'loading'; private static engine: Engine; private static forceValue; public static initialize(engine) { document.getElementById('menu__start').addEventListener('c...
def make_radius_list(max_pix, n, log=False): if log: return np.logspace(0, np.log10(max_pix), num=n, endpoint=True, base=10.0, dtype=float, axis=0) else: return np.array([x * max_pix / n for x in range(1, n + 1)])
The South African Football Association (SAFA) has signed a kit deal with PUMA that will see Bafana Bafana wear gear from the German sportswear firm until 2018. Here is a first look at the South Africa PUMA 2011/12 home and away kits along with more details on the deal via a PUMA press release. PUMA is delighted to ann...
/** * Return the evaluation decision for the resource, subject, action, environment and contexts */ private Decision evaluate( Map<String, String> resource, Subject subject, String action, Set<Attribute> environment, List<AclRule> matchedRules ) { return internalEvaluat...
Genu Recurvatum Congenitum in a day old Nigerian female neonate: A case report and challenges in the management in a resource-poor country Abstract: Genu recurvatum congenitum (GRC) is a Greek phrase that literally translates to 'backward-bending of the knee that is noticed at birth'. It is a rare condition of unknown...
package pasa.cbentley.swing.task; public class TaskExitHard implements Runnable { public void run() { System.exit(0); } }
#include "printf_console.h" #include <stdio.h> #include <rbdl/Logging.h> void logError(const char* msg, const char* arg0, const char* arg1, const char* arg2) { LOG << msg << " " << arg0 << " " << arg1 << " " << arg2 << std::endl; } void logDebug(const char* msg, float v0, float v1) { LOG << msg << " " << v0 << "...
def is_nsfw(): def pred(ctx): is_dm_channel = bool(isinstance(ctx.channel, discord.DMChannel)) is_nsfw_guild_channel = bool(isinstance(ctx.channel, discord.TextChannel) and ctx.channel.is_nsfw()) if is_nsfw_guild_channel: with db_session: return bool(db.get("SELEC...
#include "mesinkata.h" //definisi state mesin kata boolean EndKata; Kata CKata; /* Primitif-primitif mesin kata */ void Ignore_Blank() /* Mengabaikan satu atau beberapa BLANK I.S. : CC sembarang F.S. : CC != BLANK atau CC == MARK */ { while (((CC==blank)||(CC=='\n'))&&(CC!=mark)) { ADV(); } } void STARTKATA()...
<reponame>parsonsmatt/gear-tracker module Main where import Spec.GT.Prelude import qualified Spec.GT.DB main :: IO () main = hspec $ do describe "Spec.GT.DB" $ do Spec.GT.DB.spec
import {BaseIfc} from "./BaseIfc" import {IfcPresentationLayerAssignment} from "./IfcPresentationLayerAssignment.g" import {IfcStyledItem} from "./IfcStyledItem.g" import {IfcDimensionCount} from "./IfcDimensionCount.g" import {IfcInteger} from "./IfcInteger.g" import {IfcCartesianPoint} from "./IfcCartesianPoint.g" i...
<gh_stars>0 /* * Load and run static executables * * objcopy -I binary -O elf64-x86-64 -B i386 ./lib/linux/libscope.so ./lib/linux/libscope.o * gcc -Wall -g src/scope.c -ldl -lrt -o scope ./lib/linux/libscope.o */ #define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #i...
/** * A command that runs a Runnable continuously. Has no end condition as-is; * either subclass it or use {@link Command#withTimeout(double)} or * {@link Command#withInterrupt(BooleanSupplier)} to give it one. If you only * wish to execute a Runnable once, use {@link InstantCommand}. */ public class RunCommand ex...
<reponame>tato123/adobexd-serializer<filename>src/node/Text.ts import GraphicsNode from './GraphicsNode' import { Text } from '../@types/scenegraph' import { SerializedNode, JsonSerializer } from './SerializedNode' export default class XDTextWrapper implements JsonSerializer { private xdNode: Text private parentNo...
def kin_slices(w,es,ef,e,trace,norm): trace -= np.percentile(trace, 50) slice_w = w slice_c = np.arange(es, ef, w) slices = OrderedDict() de = e[1:] - e[-1:] for c in slice_c: mask = (e - c < slice_w) & (e - c > 0) sl = np.compress(mask, trace, axis=0) * np.compress(mask, de)[:,n...
/** * Convenience method to return the next resource. * @return the next File. */ public FileResource nextResource() { if (!hasNext()) { throw new NoSuchElementException(); } FileResource result = new FileResource(basedir, files[pos++]); result.setProject(proje...
<gh_stars>0 package fastly import "testing" func TestClient_Dictionaries(t *testing.T) { t.Parallel() fixtureBase := "dictionaries/" testVersion := createTestVersion(t, fixtureBase+"version", testServiceID) // Create var err error var d *Dictionary record(t, fixtureBase+"create", func(c *Client) { d, err ...
package mobilesecurityservice import ( "fmt" mobilesecurityservicev1alpha1 "github.com/aerogear/mobile-security-service-operator/pkg/apis/mobilesecurityservice/v1alpha1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) // Returns the Service with the properties used to setup/config the...
Jeremy Corbyn’s leading allies have given up on him and are frantically searching for a young new standard-bearer to see off the centre-left candidates. The man himself is desperate to go. And a leadership election this year seems a racing certainty. Those, it would seem, are the obvious conclusions from the Sunday Ti...
def create_agent_done(self): assert not self.flag_create_agent_done self.flag_create_agent_done = True self._try_start_step()
import math def judge(Y): year = int(Y) former = math.floor(year/100) latter = year%100 if(former >= 1 and former <= 12): if(latter >= 1 and latter <= 12): return("AMBIGUOUS") elif(latter == 0 or latter > 12): return("MMYY") elif(former == 0 or former > 12): ...
<gh_stars>0 // 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 // "Licen...
<reponame>nescience8/starting-out-with-python-global-4th-edition # This program gets three names from the user # and writes them to a file. def main(): # Get three names. print('Enter the names of three friends.') name1 = input('Friend #1: ') name2 = input('Friend #2: ') name3 = input('Friend #3: '...
<gh_stars>10-100 import { RcTextField, RcTextFieldProps } from '@ringcentral/juno'; import classnames from 'classnames'; import React, { Component } from 'react'; import { bindDebounce } from '../../../../lib/bindDebounce'; import { bindNextPropsUpdate } from '../../../../lib/bindNextPropsUpdate'; import styles from '...
/** * This class is used to test browser capabilities builder classes */ public class CapabilitiesBuildersTest { @Test(groups = "unit") public void testGeckoDriverCaps() { DesiredCapabilities caps = new FireFoxCapabilitiesBuilder().createCapabilities(); assertTrue(caps.getCapability(FirefoxDr...
// Custom lower trunc store for v4i8 vectors, since it is promoted to v4i16. static SDValue LowerTruncateVectorStore(SDLoc DL, StoreSDNode *ST, EVT VT, EVT MemVT, SelectionDAG &DAG) { assert(VT.isVector() && "VT should be a vector type");...
64 SHARES Facebook Twitter Linkedin Reddit VorpX, the highly anticipated utility that adds Oculus Rift support to many existing games, is finally available to the public. The program makes it easy to enjoy your existing game library in virtual reality. VorpX is a stereoscopic 3D driver for DirectX 9, 10, and 11 games...
Calculations for plane-parallel ion chambers in 60Co beams using the EGSnrc Monte Carlo code. The EGSnrc Monte Carlo simulation system is used to obtain, for 10 plane-parallel ionization chambers in 60Co beams, the correction factors Kcomp and Pwall that account for the nonequivalence of the chamber wall material to t...
/** * @author blair christensen. * @version $Id: TestMemberOf1.java,v 1.2 2009-08-12 12:44:45 shilen Exp $ * @since 1.0 */ public class TestMemberOf1 extends GrouperTest { private static final Log LOG = GrouperUtil.getLog(TestMemberOf1.class); public TestMemberOf1(String name) { super(name); ...
package main import ( "context" "fmt" "io" "os" "strings" platform "github.com/influxdata/influxdb" "github.com/influxdata/influxdb/http" "github.com/influxdata/influxdb/kit/signals" "github.com/influxdata/influxdb/models" "github.com/influxdata/influxdb/write" "github.com/spf13/cobra" ) var writeFlags st...
class TestBinanceAggTrades: """Test suit for `aggTrades` Binance API endpoint.""" def test_aggTrades_with_noParametrs(self, binance: Binance): """ Test function without mandatory parameters. Expect `TypeError`. """ # Import third-party modules from pytest import...
def to_n(x,n,cnt): ans=[] for _ in range(cnt): ans.append(x%n) x//=n return ans[::-1] from sys import stdin def main(): #入力 readline=stdin.readline n=int(readline()) alp=[chr(i) for i in range(97,97+26)] tmp=26 cnt=1 while n>tmp: n-=tmp tmp*=26 ...
def calc_Ct(nhvecs): sh = nhvecs.shape nReplicates=sh[0] ; nDeltas=int(sh[1]/2) ; nResidues=sh[2] Ct = np.zeros( (nDeltas, nResidues), dtype=nhvecs.dtype ) dCt = np.zeros( (nDeltas, nResidues), dtype=nhvecs.dtype ) for delta in range(1,1+nDeltas): nVals=sh[1]-delta tmp = -0.5 + 1.5 ...
11 December 2015 WASHINGTON DC (11 December 2015) – At the end of a 10-day mission to the United States, in which the expert group’s delegation, comprised of Eleonora Zielinska, Frances Raday and Alda Facio held meetings in Washington DC and visited the states of Alabama, Oregon and Texas, Frances Raday delivered the ...
#include <stdio.h> #include <setjmp.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <fcntl.h> #include <unistd.h> #include <sys/stat.h> #include <time.h> #include "testcase.h" /** @cond */ struct TestCaseInfo { const char *name; T_TestCaseFunc func; T_DataDrivenTestCaseFunc dataFunc; }; #...
package nepic.image; import java.util.TreeMap; /** * * @author <NAME> * @since AutoCBFinder_ALpha_v0-9_122212 * @version AutoCBFinder_Alpha_v0-9-2013-01-29 * @param <C> */ public class ConstraintMap { TreeMap<String, Object> map; public ConstraintMap() { map = new TreeMap<String, Object>(); ...
<reponame>acorin64/COSI11_Trac import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.nio.charset.Charset; import java.util.Scanner; import org.json.JSONObject; public class GameMethod { //This holds all of the methods used in each game /** ...
package main import ( "errors" "fmt" "io/ioutil" "log" "os" "regexp" "strings" ) func setupEnvironment(pathScript string) error { f, err := ioutil.ReadFile(pathScript) if err != nil { log.Printf("Error opening file %v. Error: %v ", pathScript, err) return err } ex := `(?m)^export (.*)="(.*)"$` r := r...
/* Selects an (Open)SSL crypto engine */ CURLcode Curl_ssl_set_engine(struct SessionHandle *data, const char *engine) { #ifdef USE_SSLEAY return Curl_ossl_set_engine(data, engine); #else #ifdef USE_GNUTLS (void)data; (void)engine; return CURLE_FAILED_INIT; #else (void)data; (void)engine; return CURLE_FAI...
<gh_stars>0 #pragma once #include "Polygon3D.h" #include "Vertex.h" #include "Matrix.h" #include "UVCoords.h" #include "DirectionalLight.h" #include "AmbientLight.h" #include "PointLight.h" #include "SpotLight.h" #include "Texture.h" #include <vector> #include <array> class Model { public: Model(); ~Model(); // Acc...
<reponame>Xander-21RUS/JavaFX-Chia-Plotter-Helper<filename>src/main/java/ru/xander/JavaFxChiaPlotterHelper/Controllers/ListView/PlotSettingsData.java<gh_stars>0 package ru.xander.JavaFxChiaPlotterHelper.Controllers.ListView; import javafx.scene.control.Alert; import java.io.File; public class PlotSettingsData { ...
<gh_stars>1-10 #include "../../../catamorph/interpreters/create_evmdd.h" #include "../../../evmdd/abstract_factory.h" #include "../../../polynomial.h" #include "../../Catch/include/catch.hpp" #include <iostream> using std::endl; /******************************************************************** * * Testing cons...
<gh_stars>1-10 import { Relation, relationTypes, Table } from 'nestjs-objection'; import { ObjectionModel } from './objection.model'; import { OmCategory } from './om.category'; // noinspection JSUnusedGlobalSymbols @Table({ tableName: 'products', softDelete: true }) export class OmProduct extends ObjectionModel { i...
package com.springboot.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import com.springboot.bean.BlogProperties; import com.springboot.bean.ConfigBean; import com.s...
The automatic computer detection of subtle calcifications in radiographically dense breasts. A preliminary study has been conducted into the automatic detection of extremely small subtle calcifications occurring in radiographically dense breasts. Improvements were made to an algorithm described by the authors in a pre...
A Delphi consultation to assess indicators of readiness to provide quality health facility-based lymphoedema management services Background The World Health Organization (WHO) in collaboration with partners is developing a toolkit of resources to guide lymphatic filariasis (LF) morbidity management and disability prev...
<gh_stars>0 import puppeteer = require('puppeteer'); const jobElementSelector = '.job-card-container__link.job-card-list__title'; // const jobElementSelector = 'a.job-card-container__link'; // const jobListSelector = '.jobs-search-results__list.list-style-none'; /** * @param page * @returns Devuelve los enlaces de ...
<gh_stars>0 import { parseDate, serializeDate } from "../serialization/date"; export function toBrowserLocalTime(value: KnockoutObservable<string | null>) : KnockoutComputed<string | null> { const convert = () => { const unwrappedValue = ko.unwrap(value); return serializeDate(parseDate(unwrappedVa...
/** * adds Listeners that are to operate an action of the game * * @param a * an ActionListener added to JButton * @param k * a KeyListener that will operate actions of typed keys */ public void addAction(ActionListener a, KeyListener k) { Starter.addActionListener(a); Starter.a...