seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
]
Panama = Panama()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Build tree
self._tree = tkinter.ttk.Treeview(self)
tree_height = self._WINDOW_HEIGHT - config.CONSTANTS["GUI_CELL_HEIGHT"] - self._Y_SPACING
self._tree.place(x=0, y=0, width=self._WINDOW_WIDTH, height=tree_height)
cell_y = tree_height + self._Y_SPACING
self._tree["col... | ise-uiuc/Magicoder-OSS-Instruct-75K |
train.to_csv(train_file, header=None, index=None, sep=" ", mode='a')
train_file.close()
valid_file = open(args.folder+"/valid2id.txt", "w")
valid_file.write("%d\n" % (valid.shape[0]))
valid.to_csv(valid_file, header=None, index=None, sep=" ", mode='a')
valid_file.close()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// 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
// "License"); you may... | ise-uiuc/Magicoder-OSS-Instruct-75K |
help='The upsampler for the alpha channels. Options: realesrgan | bicubic')
parser.add_argument(
'--ext',
type=str,
default='auto',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
timings=[]
for m in models_to_use:
for optimizer_method in methods_to_use:
for s_default in sensible_defaults:
model = utils.load_model(m)()
start_time = time.time()
model.fit(observations, temp, method=optimizer_method, optimizer_params=s_default)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.session = self.Session(bind=self.connection)
# start the session in a SAVEPOINT
self.session.begin_nested()
db_ops.Base.metadata.create_all(self.connection)
def tearDown(self):
# Roll back the top level transaction and disconnect from the database
self.session.... | ise-uiuc/Magicoder-OSS-Instruct-75K |
TEST_F(logger_test, SET_DUMMY) {
int i, t;
logger.get_last_log(i, t);
ASSERT_EQ(i, 1);
ASSERT_EQ(t, 0);
}
TEST_F(logger_test, APPEND_LOG) {
int idx = logger.append_log("046ccc3a-2dac-4e40-ae2e-76797a271fe2",
"{\"key\":\"foo\",\"value\":\"bar\"}");
ASSERT_EQ(idx, 2);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"Samwell Tarley",
"Melisandre",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import datetime, peewee
from keydom.models import BaseModel
class MigrateMeta(BaseModel):
patch_time = peewee.DateTimeField(
null = False,
default = datetime.datetime.now)
upgrade_number = peewee.IntegerField(
index = True,
unique = False,
null = False)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<input type = "" name = "fax" value = "<?php echo $user_data['fax']; ?>"></br></br>
<input id = "change_btn2" type = "submit" name = "change_supp_info" value = "update" oncl... | ise-uiuc/Magicoder-OSS-Instruct-75K |
}
impl GCAdapter {
pub fn get_adapters(context: &mut Context) -> Vec<GCAdapter> {
let mut adapter_handles: Vec<DeviceHandle<Context>> = Vec::new();
let devices = context.devices();
for device in devices.unwrap().iter() {
if let Ok(device_desc) = device.device_descriptor() {
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
$result = json_decode($result, true);
if($result != 'no data') {
$daftar_kasir_dihapus = $result;
$daftar_kasir_lokal = $this->kasir_m_login->daftar_kasir_lokal();
if($daftar_kasir_lokal != '') {
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
if self.apikey is not None:
base_url += '?key='+self.apikey
timestamp = datetime.now().isoformat()
log = {'message': message,
'timestamp': timestamp,
'log_level': log_level,
'origin': self.origin}
# Don't let supplementary detai... | ise-uiuc/Magicoder-OSS-Instruct-75K |
return wraps(view_func)(inner)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
setup(name='pyfpm',
version=pyfpm.__version__,
author=pyfpm.__author__,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def agent_portrayal(agent):
"""
Properties of the agent visualization.
"""
portrayal = {"Shape": "circle",
"Color": f"rgb({140-(agent.speed*3.6)},{50+(agent.speed*3.6)},0)",
"Filled": "true",
"r": 4}
return portrayal
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fab.sudo("sed -i 's/^dbpath=\/var\/lib\/mongodb/dbpath={}/' /etc/mongodb.conf".format(datadir.replace('/', '\/')))
fabix.system.upstart.restart('mongodb', force_start=True)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let mut all = Vec::with_capacity(self.0.len());
for x in self.0.iter() {
all.push(x.integrate_self())
| ise-uiuc/Magicoder-OSS-Instruct-75K |
impl Controller {
/// Instanciate new controller
pub fn new() -> Controller {
Controller {
status: 0,
}
}
/// Get controller status
pub fn get_status(&self) -> u8 {
self.status
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
switch (state) {
case MOUSE_BUTTON_DOWN: input->setScrollUpMouseWheel(true);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
logger = logging.getLogger(__name__)
PRIMITIVE_TYPE = 'PrimitiveType'
PRIMITIVE_ITEM_TYPE = 'PrimitiveItemType'
TYPE = 'Type'
ITEM_TYPE = 'ItemType'
REQUIRED = 'Required'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.u_i_op = HiddenGate(hidden_size, input_size, nonlinearity="tanh")
# sentence state gates
self.g_f_g_op = SentenceStateGate(hidden_size, input_size, bias)
self.g_f_i_op = SentenceStateGate(hidden_size, input_size, bias)
self.g_o_op = SentenceStateGate(hidden_size, input_siz... | ise-uiuc/Magicoder-OSS-Instruct-75K |
let label12 = UILabel()
label12.frame = CGRect(x: x12 + 5, y: y12 + 5, width: 200, height: 50)
label12.text = "\(lKneeAngle)"
if lKneeAngle < 0 { //detects when left knee collapses inwardly
label12.textColor = .red
} else {
label12... | ise-uiuc/Magicoder-OSS-Instruct-75K |
self.round1_enemy2_pic.setMinimumSize(QtCore.QSize(64, 64))
self.round1_enemy2_pic.setMaximumSize(QtCore.QSize(64, 64))
self.round1_enemy2_pic.setText("")
self.round1_enemy2_pic.setIconSize(QtCore.QSize(64, 64))
self.round1_enemy2_pic.setObjectName("round1_enemy2_pic")
se... | ise-uiuc/Magicoder-OSS-Instruct-75K |
login_manager.anonymous_user = AnonymousUser
login_manager.session_protection = 'strong'
login_manager.login_view = 'account_controller.login'
login_manager.init_app(app)
@login_manager.user_loader
def load_user(user_id):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
* Create new label by name if it does not already exist in the database.
* @param createLabelDto Label data to create
| ise-uiuc/Magicoder-OSS-Instruct-75K |
.map(|(k, v)| match decode(v) {
Ok(key) => Ok((k.clone(), key)),
Err(_) => Err(anyhow!("Failed to decode key")),
})
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class my_exception: public std::exception
{
};
class my_exception2: public std::exception, public boost::exception
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Initial developer(s): <NAME>
* Contributor(s):
*/
package com.continuent.tungsten.replicator.database;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#append number of units specified by the carat
for l in range (intReps):
if(''.join(toAppend) not in (self.baseUnits or self.derivedUnits)):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import incrementerAbi from '../test/contracts/incrementer.json';
import { Abi } from '.';
describe('Abi', (): void => {
describe('incrementer', (): void => {
let abi: Abi;
beforeEach((): void => {
abi = new Abi(incrementerAbi);
});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
plugins?: Array<Plugin>;
schema: object;
variants: object;
prng?: (prng: any) => object;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>ameroueh/oaz
from ..cache import *
from .simple_cache import SimpleCache as SimpleCacheCore
| ise-uiuc/Magicoder-OSS-Instruct-75K |
c = crs.Crs('EPSG:3857')
wms = WebMapService('http://www.ign.es/wms-inspire/pnoa-ma', version='1.3.0')
box = 1000 # m?
x=236814#m?
y=5068880 #m?
picsize = 512
img = wms.getmap(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
git clone https://github.com/epfl-lara/bolts
cd bolts || exit 1
bash ./run-tests.sh
cd ../.. || true
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[strum(serialize = "now 1-d")]
OneDay,
#[strum(serialize = "now 7-d")]
SevenDay,
#[strum(serialize = "today 1-m")]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let cur = input[i][j];
if (0..input[i].len()).all(|n| cur >= input[i][n]) && (0..input.len()).all(|n| cur <= input[n][j]) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if account_ids is not None:
options['account_ids'] = account_ids
if count is not None:
options['count'] = count
if offset is not None:
options['offset'] = offset
return self.client.post('/transactions/get', {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>e-dorigatti/torchinfo<filename>torchinfo/__init__.py<gh_stars>1-10
""" torchinfo """
from .model_statistics import ModelStatistics
from .torchinfo import summary
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# rectangle formed from these points, with sides parallel to the x and y axes.
#
# If there isn't any rectangle, return 0.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
-notifier "notify-send -u critical -t 10000 -- 'LOCKING screen in 30 seconds'"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<?php
namespace app\api\model;
use think\Model;
class Image extends BaseModel
{
protected $visible = ['url'];
| ise-uiuc/Magicoder-OSS-Instruct-75K |
wmpu.upload(args.files)
if __name__=="__main__":
main(sys.argv[1:])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if __name__ == "__main__":
err = open("/artifacts/backenderr.log", "w")
out = open("/artifacts/backendout.log", "w")
subprocess.check_call(
["java", "-jar", "testkit-backend/target/testkit-backend.jar"], stdout=out, stderr=err)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>python/ccxt/static_dependencies/__init__.py
__all__ = ['ecdsa', 'keccak']
| ise-uiuc/Magicoder-OSS-Instruct-75K |
n_processes : int (optional)
specify the number of processes to use, otherwise use all
Returns
-------
result of groupby/apply operation
"""
# Pickle function
f_pickled = dill.dumps(func)
# Segmentize rows such that two rows belonging to the same group
# are assigned to the ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
self.conv2 = convbn_3d(inplanes*2, inplanes*2, kernel_size=3, stride=1, pad=1)
self.conv3 = nn.Sequential(convbn_3d(inplanes*2, inplanes*2, kernel_size=3, stride=2, pad=1),
nn.ReLU(inplace=True))
self.conv4 = nn.Sequential(convbn_3d(inplanes*2, inplanes*... | ise-uiuc/Magicoder-OSS-Instruct-75K |
name='min_players',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='game',
name='min_time',
field=models.IntegerField(null=True),
),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from django import template
register = template.Library()
@register.simple_tag(name='round')
def roundValue(value, arg, key=None):
if isinstance(value, float):
return round(value, arg)
elif isinstance(value, dict) and key == "speed":
point = 0
for x in (value[key]):
point ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
}
GoTo(url : string) {
this.isIn = true;
this.router.navigateByUrl(url)
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
}
}
}
}
if (OK) {
// No overlap, offset OK
found = true;
break;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
("voc_2012_trainval", "VOC2012", "trainval"),
("voc_2012_train", "VOC2012", "train"),
("voc_2012_val", "VOC2012", "val"),
]
for name, dirname, split in SPLITS:
year = 2007 if "2007" in name else 2012
register_pascal_voc(name, os.path.join(root, dirname), split, year)
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
1 => 1418607186,
2 => 'file',
),
),
'nocache_hash' => '192410445454862cafc213a4-89550914',
'function' =>
array (
),
'version' => 'Smarty-3.1.5',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// (#54771)
fn ok() -> impl core::fmt::Display { //~ ERROR: `()` doesn't implement `std::fmt::Display`
1;
}
fn main() {}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export const _InstanceTypeConfigList: _List_ = {
type: "list",
member: {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// print(encoder.get_compressed()) # (prints: [1204741195, 2891990943])
/// ```
#[pyo3(text_signature = "(DEPRECATED)")]
pub fn encode_iid_custom_model<'py>(
&mut self,
py: Python<'py>,
symbols: PyReadonlyArray1<'_, i32>,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Cost = 16*2**tw
# tw = log(cost/16) = log(cost) - 4
return np.int(np.log2(avail)) - 4
def find_slice_at_step(self, ordering, graph, p_bunch):
"""
Scaling:
O(n*(Slicer(n)+Ordering(n))) where n is the number of nodes in the graph.
O(2n^2) for greedy
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
* @see http://wwww.oscarblancarteblog.com
*/
public class XBankCreditRequest {
private String customerName;
private double requestAmount;
public String getCustomerName() {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return redirect('/weibo/show?wid=%s' % wid)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
private static function getInstance($driver)
{
$driver = strtolower($driver);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print ' %s = (%s)&%s;' % (instance, function.type, f.name);
def handle_default():
print ' os::log("apitrace: warning: unknown function \\"%s\\"\\n", lpszProc);'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from django.db import models
import datetime
# Импортируем настройки приложения polls
from polls import settings
# Create your models here.
class Question(models.Model):
"""Вопрос"""
title = models.CharField(max_length=200, verbose_name="Вопрос")
date_published = models.DateTimeField(verbose_name="Дата пу... | ise-uiuc/Magicoder-OSS-Instruct-75K |
self.numberOfItemEntry = tkinter.Entry(topFrame, width=3, justify='center', **self.courier)
self.numberOfItemEntry.pack(side=LEFT)
self.numberOfItemEntry.bind("<Return>", self.setTreeViewFromNumberEntry)
self.button_select = tkinter.StringVar()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def perform_create(self, serializer):
save_kwargs = {}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
nlp = spacy.load(model_path)
reader = clausecat_reader.ClausecatCorpus(eval_path)
examples = reader(nlp)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# - Leiningen
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* integers types.
*/
export declare enum AttributeType {
POINTER = "pointer",
IPOINTER = "ipointer"
}
export interface AttributesConfig {
[name: string]: AttributeConfig;
[location: number]: AttributeConfig;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def __init__(self, dataset, transforms):
super(TransformDataset, self).__init__()
if not (isinstance(transforms, dict) or callable(transforms)):
raise AssertionError('expected a dict of transforms or a function')
if isinstance(transforms, dict):
for k, v in transform... | ise-uiuc/Magicoder-OSS-Instruct-75K |
except Exception as exception:
print(exception)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
telefono <input type="text" value="{{$alumno->telefono}}" name="telefono"><br/>
tipo <input type="text" value="{{$alumno->tipo}}" name="tipo"><br/>
<input type="submit" value="Guardar">
</form>
</body>
</html>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// each lookup table must be used to load at least one account
if num_table_loaded_accounts == 0 {
return Err(SanitizeError::InvalidValue);
}
num_loaded_accounts = num_loaded_accounts.saturating_add(num_table_loaded_accounts);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use Modelarium\Exception\Exception;
use Modelarium\Laravel\Targets\Interfaces\MigrationDirectiveInterface;
use Modelarium\Laravel\Targets\ModelGenerator;
use Modelarium\Laravel\Targets\Interfaces\ModelDirectiveInterface;
use Modelarium\Laravel\Targets\MigrationCodeFragment;
use Modelarium\Laravel\Targets\MigrationGener... | ise-uiuc/Magicoder-OSS-Instruct-75K |
message.errors.append(error)
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class TableOfContents(NoOptionsNoContentsItem):
name = 'tableofcontents'
def __init__(self, options: Optional[Sequence[str]] = None, **kwargs):
self.options = options
super().__init__(self.name, modifiers=self.options_str, **kwargs)
@property
def options_str(self) -> Optional[str]:
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
p1_hand = state.get_value(propname='_placed', fkey='player-1_hand', scope='private', column='unknown')
p2_hand = state.get_value(propname='_placed', fkey='player-2_hand', scope='private', column='unknown')
player = state.get_value(key='$player')
assert p1_hand[0] == aglab.State.VALUE_UNK... | ise-uiuc/Magicoder-OSS-Instruct-75K |
from multipledispatch import dispatch
from copy import deepcopy
import abc
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def fit(self,X,y=None):
return self
def transform(self, X):
assert isinstance(X, pd.DataFrame)
try:
if self.scheme_management_payment:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
(r"/_websocket/public/(\w+)", TermSocket,
{'term_manager': term_manager}),
(r"/public/new/?", NewTerminalHandler),
(r"/public/(\w+)/?", TerminalPageHandler),
(r"/xstatic/(.*)", tornado_xstatic.XStaticFileHandler)
]
a... | ise-uiuc/Magicoder-OSS-Instruct-75K |
energy_map = EnergyMap()
assert energy_map.height == 10
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.accept()
def disconnect(self, code):
print('Disconnect')
async_to_sync(self.channel_layer.group_discard)(
ChatConsumer.ONLINE_GROUP_NAME,
self.channel_name
)
print('Deleted from online')
def receive(self, text_data):
incame_data = js... | ise-uiuc/Magicoder-OSS-Instruct-75K |
dir[direction.lower()][1] != -dy):
self.__directions[0] = dir[direction.lower()]
def add_body_block(self):
# Last block parameters
x, y = self.__body[-1].x, self.__body[-1].y
last_dir = self.__directions[-1]
# Сoordinates after the last block
x -... | ise-uiuc/Magicoder-OSS-Instruct-75K |
A decorator function used to create different permutations from
a given input test class.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
img = pyscreenshot.grab()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/bin/bash
python -m nltk.downloader stopwords
python -m nltk.downloader punkt
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
path: '',
component: LayoutComponent,
data: {
layout: 'classy'
},
resolve: {
initialData: InitialDataResolver
},
children: [
// Movies
{
path: 'movies',
loadChildren: () => impo... | ise-uiuc/Magicoder-OSS-Instruct-75K |
return new AbpLoginResult<TTenant, TUser>(AbpLoginResultType.LockedOut, tenant, user);
}
}
return new AbpLoginResult<TTenant, TUser>(AbpLoginResultType.InvalidPassword, tenant, user);
}
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
5 BMBT => 4 WPTQ
189 ORE => 9 KTJDG
| ise-uiuc/Magicoder-OSS-Instruct-75K |
timit_base = "/home/leo/work/neural/timit/TIMIT"
wav_file = op.join(timit_base, "TRAIN/DR1/FCJF0/SI1027.WAV")
print wav_file
| ise-uiuc/Magicoder-OSS-Instruct-75K |
up -= 1
else:
tmp_S += c
if c == 'R':
if up:
up -= 1
else:
tmp_S += c
tmp_S = 'U' * up + tmp_S[::-1]
S = tmp_S
for c in S:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// To combine, use Shamir::combine_shares or Shamir::combine_shares_group.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
protected $hidden = [];
protected $dates = ['deleted_at'];
public function category(){
return $this->belongsTo(Categorie::class,'category_id','id');
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
barWidth+BAR_BORDER_WIDTH*2, barHeight+BAR_BORDER_WIDTH*2);
// Bar
let w = barWidth*t;
canvas.setColor();
canvas.fillRect(x, y, w, barHeight);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
package org.apereo.cas.uma;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.support.oauth.web.response.accesstoken.OAuth20TokenGenerator;
import org.apereo.cas.ticket.IdTokenGeneratorService;
import org.apereo.cas.ticket.OAuth20Token... | ise-uiuc/Magicoder-OSS-Instruct-75K |
private final JcrSession session;
private final DocumentStore documentStore;
protected ModeShapeFederationManager( JcrSession session,
DocumentStore documentStore ) {
this.session = session;
this.documentStore = documentStore;
}
@Override
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
cp Init_TestProb.cpp End_TestProb.cpp ../../../src/Init/
cp Input__TestProb ../../../bin/run/
cp Input__Flag_NParPatch ../../../bin/run/
cp Makefile.ExtAcc ../../../src/Makefile
cp Input__Parameter.ExtAcc ../../../bin/run/Input__Parameter
cp Flu_ResetB... | ise-uiuc/Magicoder-OSS-Instruct-75K |
print(f'input voltage: {device.input_voltage}')
print(f'output voltage: {device.output_voltage}')
print(f'output current: {device.output_current}')
print()
n = 10
input_voltage = device.get_median_input_voltage(n)
print(f'median input voltage: {input_voltage}')
output_voltage = device.get_median_output_voltage(n)
p... | ise-uiuc/Magicoder-OSS-Instruct-75K |
return(_ui.spawn_on_screen(screen, working_directory, argv, to_c_envp(envp), to_c_flags(flags), startup_notify, startup_timestamp, startup_icon_name))
def spawn_on_screen_with_child_watch(screen, working_directory, argv, envp, flags, startup_notify, startup_timestamp, startup_icon_name, callback):
import _ui
return... | 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.