seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
response_model=Token,
tags=["User"],
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
aws s3 cp run-results-ex12.tar.gz s3://ginan-pipeline-results/$TAG/
python ../scripts/download_examples.py --push --dirs ex12 --tag $TAG
python ../scripts/download_examples.py --dirs ex12 --tag $OLDTAG
python ../scripts/diffutil.py -i ex12/ex1220624.snx -o solutions/ex12/ex1220624.snx --type sinex --passthrough -a $ATOL
python ../scripts/diffutil.py -i ex12/ex1220624.snx -o solutions/ex12/ex1220624.snx --type sinex --passthrough
python ../scripts/diffutil.py -i ex12/ex12-ALIC201919900.TRACE -o solutions/ex12/ex12-ALIC201919900.TRACE --type trace --passthrough -a $ATOL
for trace in `ls ex12/*.TRACE`; do
python ../scripts/diffutil.py -i $trace -o "solutions/$trace" --type trace --passthrough -a $ATOL;
python ../scripts/diffutil.py -i $trace -o "solutions/$trace" --type trace;
done
;;
3)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
- Selector: NSPortMessage
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<p>Monitors_GPUsThread1 page.</p> | ise-uiuc/Magicoder-OSS-Instruct-75K |
def name(self) -> bytes32:
return std_hash(bytes(self.origin_info + self.message))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
private readonly Vector3 _shelfOffsett;
public Vector3 ShelfOffsett
{
get { return _shelfOffsett; }
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
try {
roster.createEntry(jid, nickname, null);
} catch (SmackException.NotLoggedInException e) {
e.printStackTrace();
} catch (SmackException.NoResponseException e) {
e.printStackTrace();
} catch (XMPPException.XMPPErrorException e) {
e.printStackTrace();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cpu->run();
CAGE_TEST(cpu->registers()[0] == 42);
}
{
constexpr const char source[] = R"asm(
set A 256
| ise-uiuc/Magicoder-OSS-Instruct-75K |
create_test_image = 'docker pull alpine && echo "FROM alpine" > Dockerfile'
executor(client, create_test_image)
build_test_image = 'sudo docker build -t test_image_user .'
executor(client, build_test_image)
add_contents = 'echo "test:" > test.yml && echo " image: test_image_user" >> test.yml ' \
'&& echo " entrypoint: ls" >> test.yml && echo " labels:" >> test.yml ' \
'&& echo " io.rancher.os.scope: user" >> test.yml ' \
'&& echo " io.rancher.os.after: console" >> test.yml'
executor(client, add_contents)
executor(client, 'sudo cp test.yml /var/lib/rancher/conf/test.yml')
executor(client, 'sudo ros service enable /var/lib/rancher/conf/test.yml')
executor(client, 'sudo ros service up test')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
elif paper[r][c] == 1: isAllM1 = isAll0 = False
else: isAll1 = isAll0 = False
if not isAll1 and not isAll0 and not isAllM1: break
if isAllM1: cnt[0] += 1
elif isAll0: cnt[1] += 1
elif isAll1: cnt[2] += 1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cout << 2 * m << endl;
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
_ASSERT(coords.GetLength() == 0 || dataSize == 2 * coords.GetLength());
texCoords.AssignData((Stuff::Vector2DScalar*)data, dataSize);
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
uint32_t
MLR_I_DT_TMesh::GetNumPasses(void)
{
// Check_Object(this);
if (MLRState::GetMultitextureLightMap() == true && state.GetMultiTextureMode() != MLRState::MultiTextureOffMode)
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for (int i=0; i<=N; i++) {
if (X.count(S.substr(i,len)) > 0) return true;
X.insert(S.substr(i,len));
}
return false;
}
int main(void)
{
set<string> X;
ifstream fin ("whereami.in");
ofstream fout ("whereami.out");
fin >> N >> S;
int ans = 1;
while (dups(ans,X)) ans++;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return chars
def _manually_separate_char(self, char_coord_x, roi_image):
if self._check_if_char_is_m(roi_image):
return [char_coord_x]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
+ '"code":"InvalidOptions"}').encode("UTF8")
def tile2upper_left_coordinate(z,x,y):
s = float(2**z)
lon = float(x) / s * 360. - 180.
lat = math.atan(math.sinh(math.pi - float(y) / s * 2 * math.pi)) * 180 / math.pi
| ise-uiuc/Magicoder-OSS-Instruct-75K |
docker exec -it cvat bash -ic 'python3 manage.py recompute_submission_map'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from flow.src.withdrawal import Withdrawal
from flow.src.deposit import Deposit
from datetime import datetime
first = Deposit(ID = 1, details = "Income", total = 4.5)
print(first)
print()
first = Withdrawal(ID = 1,
details = "Bike shoes",
date = datetime(2021, 2,4,5,6),
unit_price = 4,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// NSPredicate+Extensions.swift
//
//
// Created by Christopher Weems on 11/9/17.
//
import Foundation
| ise-uiuc/Magicoder-OSS-Instruct-75K |
completeCheckout,
updateCart,
addShippingMethod,
totalItems: totalItems || 0,
}}
>
{children}
</CartContext.Provider>
)
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
visualstim=reiz.visual.library.rating,
markerstr=reiz.visual.library.rating.text)
fix = reiz.Cue(canvas,
audiostim=None,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// CHECK-NEXT: ret i64 72057594037927936
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use Silex\Provider\TwigServiceProvider;
$app->register(new TwigServiceProvider());
$app['twig.path'] = [__DIR__.'/../templates'];
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def get_root_path(import_name):
"""Returns the path to a package or cwd if that cannot be found.
Inspired by [flask](https://github.com/pallets/flask/blob/master/flask/helpers.py)
"""
# Module already imported and has a file attribute. Use that first.
mod = sys.modules.get(import_name)
if mod is not None and hasattr(mod, '__file__'):
return os.path.dirname(os.path.abspath(mod.__file__))
# Next attempt: check the loader.
loader = pkgutil.get_loader(import_name)
# Loader does not exist or we're referring to an unloaded main module
# or a main module without path (interactive sessions), go with the
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import numpy as np
import librosa
import tensorflow_hub as hub
class AudioL3:
def __init__(self, input_repr: str = 'mel256', content_type: str = 'music', embedding_size: int = 512) -> None:
self.model = openl3.models.load_audio_embedding_model(input_repr=input_repr,
content_type=content_type,
embedding_size=embedding_size)
def get_embedding(self,
audio: Path,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def __init__(self, url, dbName, tableName):
self.client = MongoClient(url)
self.db = self.client[dbName]
self.table = tableName
self.count = self.db[self.table].find().count()
def get_db(self):
return self.db
| ise-uiuc/Magicoder-OSS-Instruct-75K |
CODECLIMATE_REPO_TOKEN=ded6121d25d593a1c5aee9f26d85717b19df058f7408cef26910aa731aa7cc3f ./node_modules/.bin/codeclimate-test-reporter < ./coverage/lcov.info
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for object in objects {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cp $heidi$conf $hb
sed -i 's/^# source:/source:/' $hb$conf
sed -i 's/^# destination:/destination:/' $hb$conf
sed -i "s/^# theme:/theme:/" $hb$conf
start_gem_server
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'updated-task' => '1 Task Updated by :Name :',
'deleted-task' => '1 Task Deleted by :Name :',
'created-task-activity' => '1 new Activity by :Name :',
'can-not-finish-none-user-task' => 'The task can not be finished without a person in charge.',
];
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/bin/bash
sh $PENTAHO_HOME/pentaho-server/init_pentaho.sh
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import { createLicenseQuery, license } from '../../__fixtures__'
import { Service } from '../../src/graphql/schema/types'
import { assertSuccessfulGraphQLQuery, createTestClient } from '../__utils__'
beforeEach(() => {
global.server.use(
rest.get(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ans += 1
return ans
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Created on Thu Dec 2 17:39:38 2021
@author: dariu
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// push event to the event descriptors list for current aggregate
eventDescriptors.Add(new EventDescriptor(aggregateId, @event, i));
}
// publish current event to the bus for further processing by subscribers
await _dispatcher.Dispatch(events);
data.MarkChangesAsCommitted();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Plot cost x generation graphic
# Parameters:
# itens - cost of each generation
# itens2 - number of feasible solutions at each generation
#---------------------------------------------------------------
def plot(itens=[], type='cost', itens2=[]):
if type == 'cost':
plt.plot(itens,'b')
plt.ylabel('cost')
plt.xlabel('generations')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
$pool->internalAddGeneratedFile(hex2bin(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def loadCurrent():
with open(current) as f:
return loadFromName(f.readline())
def has(path):
return os.path.isfile(path)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
progress_bar.update(1)
# Find geometry with largest SF rate
imax = torch.argmax(rates).item()
sfr = SingletFissionRate(seqm_parameters, species[imax,:].unsqueeze(0),
atom_indices_A, atom_indices_B,
approximation=args.approximation,
exciton_state=args.exciton_state).to(device)
# orbitals of dimer and hA,lA, hB,lB at the geometry with largest SF coupling
sfr.save_dimer_orbitals("dimer_orbitals_max_rate.molden", coordinates[imax,:,:].to(device).unsqueeze(0))
sfr.save_monomer_orbitals("monomer_orbitals_max_rate.molden", coordinates[imax,:,:].to(device).unsqueeze(0))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
assert 'Django' in browser.title | ise-uiuc/Magicoder-OSS-Instruct-75K |
from exasol_data_science_utils_python.utils.repr_generation_for_object import generate_repr_for_object
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
for (int i = 2; i <= 10; i++) {
if (s < min1 + min2_10 * (i - 1)) {
return i - 1;
}
}
return 10 + (s - min1 - min2_10 * 9) / min11;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ori = x
if self.stack_output:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(i)
return filenames
| ise-uiuc/Magicoder-OSS-Instruct-75K |
UdpTransportTarget((host, port)),
ContextData(),
ObjectType(ObjectIdentity(baseoid))))
if errindication:
_LOGGER.error("Please check the details in the configuration file")
return False
else:
data = SnmpData(host, port, community, baseoid)
add_devices([SnmpSensor(data, name, unit)])
class SnmpSensor(Entity):
"""Representation of a SNMP sensor."""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
srand(prop.global_seed);
prop.global_taus_seed.z1 = rand();
prop.global_taus_seed.z2 = rand();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if results:
count = int(results['count'])
return count
| ise-uiuc/Magicoder-OSS-Instruct-75K |
package org.leon.swagger.core;
import com.jfinal.kit.PropKit;
import org.leon.swagger.utils.ClassHelper;
import java.util.Properties;
/**
* Swagger 生成器<br>
* 目前支持配置文件加载
* @since 1.0.0
*/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
init(apto: AptoPlatformProtocol = AptoPlatform.defaultManager(),
mapper: PaymentSourceMapper = .init(),
notificationCenter: NotificationCenter = .default)
{
self.apto = apto
self.mapper = mapper
self.notificationCenter = notificationCenter
}
deinit {
notificationCenter.removeObserver(self)
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>BatiDyDx/maths-tools-python<filename>mathipy/functions/linearithmic.py<gh_stars>1-10
import math
import numpy as np
from mathipy.math import calculus
class Linearithmic(calculus.Function):
"""
f(x) = (mx + h)log_b(kx + a)
"""
function_type = 'Linearithmic'
def __init__(self, m = 1, h = 0, b = 10, a = 0, k = 1):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class MultiStepLR(_LRScheduler):
def __init__(self, optimizer, milestones, gamma=0.1, last_epoch=-1):
super().__init__(optimizer, last_epoch)
self.milestones = milestones
self.gamma = gamma
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from django.conf.urls import include, url
from donations.views import DonateAPI, VerifyAPI
app_name = 'donations'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
})
.unwrap_or(ChangePubKeyEthAuthData::Onchain),
);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if result['status'] == 200:
print(result['data'])
else:
print("An error occurred." + str(result['status']))
print(result['data'])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// Constructor
public init(action: Action = GeneralAction.NilAction()) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
i = idx % size[1]
j = idx // size[1]
img[j * h:j * h + h, i * w:i * w + w, :] = image
return img
elif images.shape[3]==1:
img = np.zeros((h * size[0], w * size[1]))
for idx, image in enumerate(images):
i = idx % size[1]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
};
static const uint32_t
_PolygonModeTable[HgiCullModeCount][2] =
{
{HgiPolygonModeFill, GL_FILL},
{HgiPolygonModeLine, GL_LINE},
{HgiPolygonModePoint, GL_POINT},
};
static uint32_t
_blendEquationTable[HgiBlendOpCount][2] =
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if self.parent is not None:
self.parent.handleTcpPacket(byteBuffer)
except AttributeError as e:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
('t', models.DateTimeField(verbose_name='timestamp')),
('quality', models.IntegerField()),
('session', models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE, to='exhibitionInferenceApp.session')),
],
),
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
image = self.to_tensor(sample.image)
ids = sample.sample_id
return image, points, mask
def augment_sample(self, sample):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if 2 * c >= o:
co2 = o // 2
c -= co2
o -= co2*2
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .. import handlers
def test_send_welcome_email(mocker, ses_client):
ses_send_email = mocker.patch.object(ses_client, 'send_email', autospec=True)
mocker.patch('emails.sender.get_ses_client', return_value=ses_client)
event = {'to': '<EMAIL>', 'name': '<NAME>', 'type': 'WelcomeEmail'}
handlers.send_email(event, {})
ses_send_email.assert_called_once()
kwargs = ses_send_email.call_args.kwargs
| ise-uiuc/Magicoder-OSS-Instruct-75K |
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.22.2
k8s.io/code-generator => k8s.io/code-generator v0.22.2
k8s.io/component-base => k8s.io/component-base v0.22.2
k8s.io/component-helpers => k8s.io/component-helpers v0.22.2
k8s.io/controller-manager => k8s.io/controller-manager v0.22.2
k8s.io/cri-api => k8s.io/cri-api v0.22.2
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.22.2
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.22.2
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.22.2
k8s.io/kube-proxy => k8s.io/kube-proxy v0.22.2
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.22.2
k8s.io/kubectl => k8s.io/kubectl v0.22.2
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if(!(context is HttpContext httpContext))
throw new MultiTenantException(null,
new ArgumentException($"\"{nameof(context)}\" type must be of type HttpContext", nameof(context)));
var path = httpContext.Request.Path;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
]
)
return tensors
def result2bbox(result):
num_class = len(result)
bbox = np.concatenate(result)
if bbox.shape[0] == 0:
label = np.zeros(0, dtype=np.uint8)
else:
label = np.concatenate(
[[i] * len(result[i]) for i in range(num_class) if len(result[i]) > 0]
).reshape((-1,))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
open(register){
const modalRef = this._ModalService.open(register, { size: 'xl' })
}
valuationCharge(value: number): string {
if (value == 6) {
return 'Conservado';
}
if (value < 6 && value >= 5) {
return 'Alteración Leve';
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.scaler = preprocessing.StandardScaler().fit(x_train)
x_train = self.scaler.transform(x_train)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
getStatementTerminator(arg1 : JSExtractFunctionHandler.ContextInfo) : string;
getReturnStatementPrefix() : string;
getSignatureGenerator() : ExtractedFunctionSignatureGenerator;
getVariableDeclarationPrefix() : string;
addBodyToSignature(arg1 : string, arg2 : string) : string;
static findFunctionAnchor(arg1 : PsiElement, arg2 : PsiElement) : PsiElement;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Assert.assertEquals(doc2.getRootElement().getElementsByName("book").get(11).getElementByName("description").getIndex(), "-1,11,5");
}
@Test
public void testGetElementsByQuery() throws Exception
{
Element book1Title = doc.getRootElement().getElementByQuery("book[@id = 'bk101' and price > 30]/title");
Assert.assertEquals(book1Title.getText(), "XML Developer's Guide");
Assert.assertTrue(book1Title == doc.getRootElement().getElementByName("book").getElementByName("title"));
Element book2Author = doc.getRootElement().getElementByQuery("book[contains(description, 'battle one another')]/author");
Assert.assertEquals(book2Author.getText(), "<NAME>");
Assert.assertTrue(book2Author == doc.getRootElement().getElementById("bk105").getElementByName("author"));
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
CAMERA_DATA_TYPE = Mapping[str, Any]
FRAME_SHAPE_TYPE = Tuple[int, int, int]
### LEARN MODEL TYPES
MODEL_CONFIG_TYPE = Mapping[str, Union[str, int, list, None]]
TRAIN_DATA_TYPE = Sequence[np.ndarray]
TRAIN_LABELS_TYPE = Sequence[np.ndarray]
TRAIN_DATA_GEN_TYPE = Union[Tuple[TRAIN_DATA_TYPE, TRAIN_LABELS_TYPE], keras.utils.Sequence]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
try:
ep = await ucp.get_endpoint(ip, port, timeout)
except TimeoutError:
pass
| ise-uiuc/Magicoder-OSS-Instruct-75K |
static func scaleUp(duration: TimeInterval = Animation.animationDuration) -> Animation {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
click.echo("[실시간미체결요청]")
click.echo(df.to_markdown())
click.echo()
df = context.GetOrderLogAsDataFrame2(account)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>10-100
from .test_fields import * # NOQA
from .test_forms import * # NOQA
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$ownerStudent = new User();
$ownerStudent->setSite(SiteType::DILPS);
$ownerStudent->setLogin('Sarah');
User::setCurrent($ownerStudent);
$card->timestampCreation();
User::setCurrent(null);
self::assertFalse($acl->isCurrentUserAllowed($card, 'update'), 'anonymous cannot update');
self::assertSame('Non-logged user with role anonymous is not allowed on resource "Card#null" with privilege "update"', $acl->getLastDenialMessage());
User::setCurrent($ownerStudent);
self::assertFalse($acl->isCurrentUserAllowed($card, 'update'), 'student cannot update even if owner');
self::assertSame('User "Sarah" with role student is not allowed on resource "Card#null" with privilege "update"', $acl->getLastDenialMessage());
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let todoItem = try TodoItemParser().parse(fromData: todoItemDictionary)
print(todoItem)
} catch TodoItemParser.Error.InvalidData {
// failure
// note that you can specify which error you're catching
// or you can just use catch on it's own to catch all errors
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//
import Amplify
extension AWSPinpointAnalyticsPlugin: DefaultLogger {}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
[Fact]
public void TwoDigitYearMax_Get()
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
DATA_PATH = "./data/introduction_to_algorithms/catalog.json"
page_data = load_json_file(DATA_PATH)
res = {"code": "SUCCESS",
"data": page_data}
return res
| ise-uiuc/Magicoder-OSS-Instruct-75K |
};
}
describe('components', () => {
describe('ComponentBase', () => {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
this.ConnectionString = _defaultConnectionString;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print " arrival %d at siteid %d occured %f seconds after previous at %f : phase %s" % (det[1], site, gap, last_det[site], det[DET_PHASE_COL])
overlaps = overlaps + 1
last_det[site] = time
print "total overlaps: ", overlaps, " out of ", len(detections), " detections"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
request.function.__name__
# remove the test_ prefix from the function & file name
).replace('test_', '')
try:
# make sure the directory for placebo test recordings is available
os.makedirs(recordings_path)
except OSError as e:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ConnectRequest.CRI_LENGTH,
self.request_type.value,
self.flags,
0x00, # Reserved
)
)
return (
self.control_endpoint.to_knx() + self.data_endpoint.to_knx() + cri_to_knx()
)
def __repr__(self) -> str:
"""Return object as readable string."""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
trades: number;
takerBaseAssetVolume: string;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
author='Data Monsters',
author_email='<EMAIL>',
packages=find_packages(),
package_data={
'syntax_analyzer': ['dict/*', 'grammar.txt'],
},
include_package_data=True,
python_requires='>=3.6'
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* @author <NAME> (<EMAIL>)
*/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export * from './dictionary';
export * from './query-params';
export * from './update';
export * from './emit-event';
| ise-uiuc/Magicoder-OSS-Instruct-75K |
logger -> logger.debug(REQUEST_ID_SUPPLIER, "???456", () -> "1", () -> "2", () -> "3"),
logger -> logger.debug(REQUEST_ID_SUPPLIER, "????56", () -> "1", () -> "2", () -> "3", () -> "4"),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
parser.doParse()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
'character': 'The Black Knight',
'line': "It's just a flesh wound",
'sketch': 'HOLY GRAIL',
},
]
content = decode_content(response)
assert content == expected
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ConfigFile out;
out.config_names.push_back("failed");
out.config_values.push_back("true");
return out;
}
// Create some more vars
ConfigFile out;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
&self.version_range
| ise-uiuc/Magicoder-OSS-Instruct-75K |
else:
self.avg = round(sum(self.list_fps) / len(self.list_fps))
self.max = round(max(self.list_fps))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .convscorenegv1_solver import *
from .convscorencev1_solver import *
from .ruberu_solver import *
from .adem_solver import *
| ise-uiuc/Magicoder-OSS-Instruct-75K |
BOT_ADMINS = ('ou_xxx',) | ise-uiuc/Magicoder-OSS-Instruct-75K |
ThreadedKernel.alarm.waitUntil(mySleepTicks);
lock.acquire();
wakeSequence = wakeSequence + myName;
lock.release();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
.ToArray();
var expression = new CodeArrayCreateExpression(
typeof(Type[]),
typeofExpressions
);
AddAttributeArgument(attribute, "Structure", expression);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
folder = os.path.dirname(os.path.abspath(__file__))
with open(join(folder, "imm.h"), "r") as f:
ffibuilder.cdef(f.read().replace("__IMM_FLOAT__", imm_float))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from datetime import timedelta
from homeassistant.config import load_yaml_config_file
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.entity_component import EntityComponent
_LOGGER = logging.getLogger(__name__)
DOMAIN = "transactive_home"
FROM = "from"
SCAN_INTERVAL = timedelta(seconds=30)
| 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.