seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
<gh_stars>0
from colored import fg, attr
from enum import Enum, auto
RESET = attr('reset')
class MsgClass(Enum):
PLAIN = auto()
OK = auto()
ERROR = auto()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
base.OnElementChanged (e);
if (e.OldElement != null) {
// Unsubscribe
uiCameraPreview.Tapped -= OnCameraPreviewTapped;
}
if (e.NewElement != null) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.i2c.read(I2C_ADDRESS,&mut buf).unwrap_or_default();
result = u16::from_be_bytes(buf);
temper = f32::from(result) / 65536.0 * 165.0 - 40.0;
Ok(temper)
}
/// Humidity only
pub fn humidity(& mut self) -> Result<f32,Error<E>> {
let mut buf:[u8;2] = [0,0];
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@app.task(ignore_result=False, bind=True, base=PredictTask)
def predict_image(self, data):
try:
data_pred = self.model.predict(data)
return {'status': 'SUCCESS', 'result': data_pred}
except Exception as ex:
try:
self.retry(countdown=2)
except MaxRetriesExceededError ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
position = lambda alphabet: f'Position of alphabet: {ord(alphabet) - ord("a") + 1}'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
init(payload: String) {
self.payloadString = payload
super.init()
}
required init?(coder: NSCoder) {
if let data = coder.decodeData() {
payloadString = String(data: data, encoding: .utf8) ?? ""
} else {
payloadString = ""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return m.format();
}
/**
* Criar a formatacao usando o valor dado definindo:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# ## Train and Save Model
# ### Training
# In[47]:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
run-in-roblox --place studio-tests.rbxl --script tests/init.server.lua
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return make_response(jsonify({
"error": error()
}), 422)
user_data = {
"first_name": data['first_name'],
"last_name": data['last_name'],
| ise-uiuc/Magicoder-OSS-Instruct-75K |
parser.add_argument("--yaml_config_file", type=str, required=True, help="config file of the model to use")
parser.add_argument("--weights", type=str, default=None, help="load weights")
parser.add_argument("--num_classes", type=int, required=True, help="number of classes in the dataset")
return parser.pa... | ise-uiuc/Magicoder-OSS-Instruct-75K |
url: The URL of a utf-8 text
"""
animals = fetch_animals(url)
print_items(animals)
"""A list of lines printed from the given URL
Args:
1: the URL to a UTF-8 text to print
Usage:
python3 animals.py
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public static Func<BeanID, Guid> <>9__13_1; // 0x10
| ise-uiuc/Magicoder-OSS-Instruct-75K |
LEONARDO_APPS = ['testapp1']
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let extract = info[WMFNotificationInfoArticleExtractKey] as? String
if let articleURLString = info[WMFNotificationInfoArticleURLStringKey] as? String {
articleURL = URL(string: articleURLString)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
sw.WriteLine(DateTime.Now.ToShortTimeString() + " Global unhandled with no exception object");
}
}
}
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class LegacyBillMapping(models.Model):
legacy_id = models.CharField(max_length=20, primary_key=True)
bill = models.ForeignKey(
Bill, related_name="legacy_mapping", on_delete=models.CASCADE
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* none : Do not apply a lower threshold
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(f'O valor a ser pago e R$ {n-(n*(10/100))}.')
elif n2 == 2:
print(f'O valor a ser pago é R$ {n-(n*(5/100))}.')
elif n2 == 3:
print(f'O valor a ser pago e R$ {n} \n2x de {n/2}.')
elif n2 == 4:
print(f'O valor a ser pago é R$ {n+(n*(20/100))} \n3x de {(n+(n*(20/100)))/3}.')
else:
print('Você fez... | ise-uiuc/Magicoder-OSS-Instruct-75K |
'context': GraphQLField(
type=GraphQLNonNull(GraphQLString),
resolver=lambda self, info, **kwargs: info.context),
'test': GraphQLField(
type=GraphQLNonNull(GraphQLString),
resolver=lambda self, info: 'Hello World'
),
'test_args': GraphQLFi... | ise-uiuc/Magicoder-OSS-Instruct-75K |
find demos/ -name "*.csr" -print -delete
find './demos/' -name "leaflet.annotation.j*" -print -delete
find '.' -name "*_render.html" -print -delete
find '.' -name ".DS_*" -print -delete
echo -e "\ncleaning renders..."
find '.' -name "*_render.html" -print -delete
echo -e "\ncleaning bundles..."
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public function edit($id)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export type { SchemaDetail, SchemaList } from './types';
export { Resource, SimpleResource };
| ise-uiuc/Magicoder-OSS-Instruct-75K |
plt.ylabel('$F^\prime_{\lambda,\mathrm{unev.}}$ [$\%$]',fontsize=20)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* <EMAIL>
* https://es.stackoverflow.com/users/85923/william-angel
*
| ise-uiuc/Magicoder-OSS-Instruct-75K |
author_email='<EMAIL>',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print "\n" | ise-uiuc/Magicoder-OSS-Instruct-75K |
cal = get_min_cal()
def gen_args():
for time in np.random.choice(cal, size=random_n, replace=True):
sam_minutes = np.random.choice([1, 2, 3, 4, 5, 6])
dt = pd.Timestamp(
datetime(
2021,
month... | ise-uiuc/Magicoder-OSS-Instruct-75K |
// Copyright 2018 The Goma Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "compiler_info_state.h"
#include "absl/memory/memory.h"
#include "absl/time/clock.h"
#include "autolock_timer.h"
#include "compiler_info_builder.h"
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
if year not in self.YEAR_LIST:
error_msg = ("Data only available for the years"
f"{self.YEAR_LIST[-1]}-{self.YEAR_LIST[0]}.")
raise NotImplementedError(error_msg)
# Set the data directories
if data_dir:
self.data_dir =... | ise-uiuc/Magicoder-OSS-Instruct-75K |
<p class="lead">
<a class="btn btn-secondary btn-md" role="button" href="/propertymgmt"><i class="fas fa-arrow-circle-left"></i> Go Back to Home</a>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from intent.utils.env import tagger_model, proj_root
from xigt.codecs import xigtxml
from xigt.consts import ALIGNMENT
| ise-uiuc/Magicoder-OSS-Instruct-75K |
)
go_repository(
name = "in_gopkg_yaml_v2",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
build_nums = []
for ranges in use['ranges'].values():
for single_range in ranges:
build_nums.extend(range(single_range['start'], single_range['end']))
# The complete set of fingerprints will end up giving references to
# the same build... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def __init__(self,inshape, in_channels=2, levels=3,features=16):
super().__init__()
print('Initializing MultiLevelNet')
self.inshape=inshape
self.levels=levels
self.in_channels=in_channels
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# w Polsce dostępny pod adresem
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def load_database_local(path):
with open(path, 'r') as reader:
ids = [line.strip('\n') for line in reader.readlines()]
return ids
def delete_database(path):
logger.debug("Deleting {0}".format(path))
Path(path).unlink()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
var tests = [XCTestCaseEntry]()
tests += NetworkHelperTests.allTests()
XCTMain(tests)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
solver.minimize(model, initX);
std::cout << "final residual of integrabilty : " << (C * initX).norm() << std::endl;
model.convertVariables2CurState(initX, curState);
curState.getWrinkleMesh(setup);
}
void ShellSolver::fullSimNewtonStaticSolver(const ElasticSetup& setup, ElasticState& curState, std::string filePre... | ise-uiuc/Magicoder-OSS-Instruct-75K |
case description = "description"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
infos_first=None, infos_second=None
):
if infos_first is None or infos_second is None:
# fall back to standard distance net
return super().distances_from_obs(session, obs_first, obs_second, hashes_first, hashes_second)
else:
return self.distances(
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
class TrackingScript(db.Model):
__tablename__ = "tracking_script"
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(50), nullable=False)
script = db.Column(db.String(150), nullable=False)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
TERMUX_PKG_MAINTAINER="<NAME> @kcubeterm"
TERMUX_PKG_VERSION="1.3.2"
TERMUX_PKG_SRCURL=https://github.com/orf/gping/archive/refs/tags/gping-v$TERMUX_PKG_VERSION.zip
TERMUX_PKG_SHA256=cf95d2110de207fd1c34196be6c439e23f58eaf26138c607f8cefa07c81acb04
| ise-uiuc/Magicoder-OSS-Instruct-75K |
input_tensor = input_tensor)
convolutional_base.trainable = True
model = Sequential()
model.add(convolutional_base)
x = model.output
volumeSize = tensorflow.keras.backend.int_shape(x)
x = Flatten()(x)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@(lambda: [lambda x: x][0])()
def foo():
<caret> | ise-uiuc/Magicoder-OSS-Instruct-75K |
end_color = '\033[0m'
else:
start_color = ''
end_color = ''
print("%sTarget '%s' was unsuccessful%s%s" %
(start_color, target, ending, end_color))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
bsrv.tape_config_file: USE_DEFAULT
bsrv.errorlog: USE_DEFAULT
sqlsrv.related_sqlsrv: LOCALHOST
sqlsrv.sa_login: sa
sqlsrv.sa_password: ${<PASSWORD>}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pub run_server: bool,
pub server_type: ServerType,
pub host: String,
pub port: i32,
pub debug: bool,
pub log_file: String,
}
impl Default for Options {
fn default() -> Options {
Options {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cat header.md $PASSED > tmp && mv tmp ../_texts/$PASSED
cd ../_texts/
echo "removing html tags"
name=$(echo "$PASSED" | cut -f 1 -d '.')
cat $PASSED | awk '{gsub(/<[^>]*>/,""); print }' > $name.md
echo "printing endnotes"
grep -i \\[[\1-9]\*\\] $name.md
# awk '{ gsub("\\[... | ise-uiuc/Magicoder-OSS-Instruct-75K |
native : WebAssembly.Module
constructor(
readonly buffer : ArrayBuffer
) {
super()
this.native = new WebAssembly.Module( buffer )
}
instance<
Imports extends {
[ mod in string ]: {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[snafu(display("Error compiling Wasm: {}", msg))]
CompileErr {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
if(visited[u]) return ans;
else{
ans++;
visited[u] = true;
for(auto e:adjList[u]){
if(!visited[e]) ans += DFS(adjList,e,visited);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
onText = on ? "OFF" : "ON"
userEchoModes[user.id] = !on
} else {
onText = "ON"
userEchoModes[user.id] = true
}
let params = Bot.SendMessageParams(chatId: .chat(message.chat.id), text: "Echo mode turned \(onText)")
try bot.sendMessage(params: params)
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public int GetHashCode(Gravestone obj)
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mut shadow: *mut ValueBox<Shadow>,
) -> *mut ValueBox<Arc<dyn Layer>> {
shadow.with_not_null_value_consumed_return(std::ptr::null_mut(), |shadow| {
ValueBox::new(Arc::new(ShadowLayer::new(shadow)) as Arc<dyn Layer>).into_raw()
})
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
redirect_field_name, settings.LOGIN_REDIRECT_URL)
if not is_safe_url(url=redirect_to, host=request.get_host()):
redirect_to = resolve_url(settings.LOGIN_REDIRECT_URL)
rtn = redirect(redirect_to)
else:
rtn = login_function(request, *args, **kw... | ise-uiuc/Magicoder-OSS-Instruct-75K |
mod rnd_type;
mod hashing_algo;
mod codec_algo;
mod checksum_algo;
mod op_command;
pub use request::Request;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
impl R {
#[doc = "Bits 0:2 - Single Data Count"]
#[inline(always)]
pub fn singledc(&self) -> SINGLEDC_R { SINGLEDC_R::new((self.bits & 0x07) as u8) }
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fAddon->CameraAdded(cam);
return B_OK;
}
PRINT((CH " error 0x%08lx" CT, err));
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
}
void TblDISTRICT_NEXT_O_ID::Key::print() {
FILE * f = stdout;
fprintf(f, "DISTRICT::Key { " );
if( mVal == 0 ) {
fprintf(f, "(NULL) ");
} else {
uint16_t pos = 0;
printTBLID(pos, TblDISTRICT_NEXT_O_ID::TBLID);
printPar... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def test_get_local_fk_after_remote_url(api_client):
zaaktype = ZaakType.objects.create(name="test")
zaaktype_url = reverse("zaaktype-detail", kwargs={"pk": zaaktype.pk})
zaak_url = "https://example.com/zaken/123"
zaakobject = ZaakObject.objects.create(name="test", zaak=zaak_url)
with requests_mock... | ise-uiuc/Magicoder-OSS-Instruct-75K |
const int h1 = h2 / r;
const int c1 = c2 + (w2 % r) * C2 + (h2 % r) * C2 * r;
y[gid] = x[((n*H1+h1)*W1+w1)*C1+c1];
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
then # loop until input or cancel
/bin/launchctl asuser "$userUID" sudo -iu "$loggedInUser" /usr/bin/osascript -e 'display alert "Please enter a name or select Cancel... Thanks!" as warning'
else
break
fi
done
scutil --set ComputerName $name
| ise-uiuc/Magicoder-OSS-Instruct-75K |
int transforms_length = cdr.read_type_2();
data.transforms = new System.Collections.Generic.List<geometry_msgs.msg.TransformStamped>(transforms_length);
for(int i = 0; i < transforms_length; i++)
{
geometry_msgs.msg.TransformStamped new_transforms = geometry_msgs.msg.TransformStampedPubSu... | ise-uiuc/Magicoder-OSS-Instruct-75K |
from lamberthub.plotting.iterations import IterationsPlotter
from lamberthub.plotting.time import TPIPlotter, TTCPlotter
__all__ = ["IterationsPlotter", "TPIPlotter", "TTCPlotter"]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"entity": "number",
"text": " ".join(tokens[i:i+length]),
"value": str(num),
"start": text.index(first),
"end": text.index(last) + len(last),
})
i += length
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#
def getX(self):
return self.__locX
##
# Gets the Y coordinate of the cell this actor object is into.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'tool': "some_tool",
'total avg': 50
},
'wf2': {
'data': {
"2021-03-17T20:05:17Z": 54879.0,
"2022-03-17T20:05:17Z": 17.0,
},
'tool': "some_other_tool",
'total avg': 50
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"pending_amount": "0.5527",
"pending_market_buy_amount": null,
"stop_loss_rate": null,
"created_at": "2015-01-10T05:55:38.000Z"
},
{
"id": 202836,
"order_type": "sell",
"rate": 26990,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from collections import defaultdict
from functools import wraps
from ..helper import colored, get_readable_size, get_readable_time
| ise-uiuc/Magicoder-OSS-Instruct-75K |
foo = np.random.random((5,5))
bar = np.arange(5)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import grovepi
class GroveAirQualitySensor:
def __init__(self, pin = 0):
"""
connect to an analog pin to get input, pin A0 by default
"""
self.air_sensor = pin
grovepi.pinMode(self.air_sensor,"INPUT")
def get(self):
"""
return the analog value of air quality recieved.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
var port = Int32.Parse(ConfigurationManager.AppSettings["ListenPort"]);
var host = new IPEndPoint(ip, port);
IoAcceptor acceptor = new AsyncSocketAcceptor();
acceptor.FilterChain.AddFirst("codec", new ProtocolCodecFilter(new DirectCodecFactory()));
acceptor.H... | ise-uiuc/Magicoder-OSS-Instruct-75K |
assert edge['source'] in nodes_ids
assert edge['target'] in nodes_ids
| ise-uiuc/Magicoder-OSS-Instruct-75K |
set -ex
apk add --update supervisor
rm -rf /var/cache/apk/*
mkdir -p /srv/logs
npm install socket.io
npm dedupe
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return jsonify({'response': False})
| ise-uiuc/Magicoder-OSS-Instruct-75K |
controller.tryStartTurn();
try{
Thread.sleep(1500);
} catch (InterruptedException e) {
e.printStackTrace();
}
controller.tryStartTurn();
assertEquals("TurnPhase",controller.getPhaseString());
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import htmlgenerator
from django.utils.translation import gettext as _
from .button import Button
from .icon import Icon
KIND_ICON_MAPPING = {
"error": "error--filled",
"info": "information--filled",
"info-square": "information--square--filled",
"success": "checkmark--filled",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo ""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if name is not None:
descriptor.set_name(name)
description = body.get("description", None)
if description is not None:
descriptor.set_description(description)
fields = body.get("fields", None)
i... | ise-uiuc/Magicoder-OSS-Instruct-75K |
if trigger_extractor is None:
raise RuntimeError('Trigger extractor must be specified in parameter file.')
trigger_generator = trigger_extractor.generator
test_docs = prepare_docs(params['data']['test']['filelist'], word_embeddings)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
benchmark(_test)
def test_moa_compile_complex(benchmark):
A = LazyArray(name='A', shape=('n', 'm'))
B = LazyArray(name='B', shape=('k', 'l'))
C = LazyArray(name='C', shape=(10, 5))
expression = (A.inner('+', '*', B)).T[0] + C.reduce('+')
def _test():
expression.compile(backend='pytho... | ise-uiuc/Magicoder-OSS-Instruct-75K |
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
unsigned numFixedWeights; /* number of fixed weights */
LHash<RefString,NBestScore **> nbestScores; /* matrices of nbest scores,
* one matrix per nbest list */
LHash<RefString,WordMesh *> nbestAlignments; /* nbest alignments */
Array<double> lambdas; /* score weights */
Array<double> lambdaDerivs; /* err... | ise-uiuc/Magicoder-OSS-Instruct-75K |
init(frame: CGRect, diseaseName: String, latitude: Double, longitude: Double) {
self.latitude = latitude
self.longitude = longitude
super.init(frame: frame)
self.backgroundColor = PRESETS.CLEAR
initBlur()
myInitBlur()
blur.frame = CGRect(x: 10, y: 50, width: self.frame.width - 20, height: 400)
blur.lay... | ise-uiuc/Magicoder-OSS-Instruct-75K |
EasyMiniMap_HeroControl.instance.MoveTarget(hit.point);
}
Debug.Log("click:" + hit.transform.name);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def qualified_name(x):
return '{}.{}'.format(getmodule(x).__name__, x.__name__)
def permoize(cache_dir, explicit=False):
def decorator(fn):
arg_spec = getargspec(fn)
nb_pos_args = len(arg_spec.args)
@wraps(fn)
def wrapper(*args, **kwargs):
nb_args = len(args)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>app/src/main/java/com/shaoyue/weizhegou/module/credit/adapter/diaocha/DgdkjcAdapter.java
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>mypy/test/data/fixtures/bool.py
# builtins stub used in boolean-related test cases.
class object:
def __init__(self) -> None: pass
class type: pass
class bool: pass
class int: pass
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[test]
fn handles_multiple_simple_cases() {
assert!(valid_count("aa bb cc\nbb cc dd\na b c") == 3);
}
#[test]
fn handles_invalid_passphrase() {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fn get_incomplete_value(&self) -> u64 {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
experiences.add(first);
experiences.add(second);
}
@Override
| ise-uiuc/Magicoder-OSS-Instruct-75K |
- Migrate Related Items to Datagatherings
paster datagathering migrate -c <path to config file> [--allow-duplicates]
- Migrate Related Items to Datagatherings and allow duplicates
paster datagathering markdown-to-html -c <path to config file>
- Migrate the notes of ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
// Text
if (inputTextParam !== undefined) return WizData.fromText(inputTextParam);
// Bin
if (inputBinParam !== undefined) return WizData.fromBin(inputBinParam);
throw "parseValueInputs Error: it is not a valid input value!";
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
[index: string]: ResolvedWebGLAllocation
}
},
dynamic: {
size: -1,
allocations: {
[index: string]: WebGLAllocation
}
},
mapping: { [variableName: string]: string }
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"Clément",
]
LASTNAME = [
"Ili",
"Ily",
"Oan",
"Naëlle",
"Éo",
"Livia",
"Lina",
"Eanne",
"Harly",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
package com.xhermit.patterns.facade;
/**
*
* @description 抽象出一个写信的过程
* @author xhermit
* @date 2011-5-6下午03:41:10
* @version 1.0
*/
public interface ILetterProcess {
//书写信的内容
void writeContext(String context);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use std::path::Path;
use std::sync::Once;
static START: Once = Once::new();
mod utils;
#[test]
fn npt() {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
[0, 1],
]);
const solution = part1Solver(example);
assert.strictEqual(solution, 9);
});
}
);
describe(`for the exmaple input with an extra line '1,3 -> 1,5'`, () => {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.