seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
if not classify_func:
preds.append(self.classify(capture_scores, threshold=class_threshold)[0])
else:
preds.append(classify_func(class_matches, captures, capture_scores, **kwargs))
preds = np.array(preds)
self.dataset[data_... | ise-uiuc/Magicoder-OSS-Instruct-75K |
from refer.monitor import gpu_max
import segmentation_models_pytorch as smp
import openpyxl
import time
import argparse
import os
import psutil
from minio import Minio
# Calculate the initial
start = time.time()
first_mem = psutil.virtual_memory()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.setparam("SIZE", val)
@size.deleter
def size(self):
self.unsetparam("SIZE")
@property
def band(self):
"""
the spectral bandpass given in a range-list format in units of
meters
Examples of proper format include:
========================= =... | ise-uiuc/Magicoder-OSS-Instruct-75K |
<h1>Das Addon der Seite</h1>
<p class="lead">Eigens geschrieben vom meister persönlich.</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(name)
numbers = [1, 5]
numbers[1:1] = [2, 3, 4]
print(numbers)
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
print(numbers[-3:-1])
print(numbers[-3:])
print(numbers[:3])
print(numbers[:])
print(1/2)
print(1//2)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
conf["notetype"][notetype_name] = {}
settings = conf["notetype"][notetype_name]
priority = None
def update_list_cloze_config():
global settings, priority
priority = settings.get("priority", 15)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
url(r'^api/', include(router.urls)),
url(r'^api/api-auth/', include(
'rest_framework.urls', namespace='rest_framework')),
url(r'^docs/', schema_view, name='schema'),
url(r'^export/', export_data, name='export'),
url(r'^favicon\.ico', RedirectView.as_view(url=staticfiles_storage.url('assets/f... | ise-uiuc/Magicoder-OSS-Instruct-75K |
use rocket::{get, routes};
use rocket::request::{Form, FromForm, FromFormValue};
use rocket::response::Responder;
#[derive(FromFormValue)]
enum Thing {
A,
B,
C,
}
impl std::fmt::Display for Thing {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match *self {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# replace variables at runtime
sed -i "s/SERVER_NAME/${SERVER_NAME}/g" /opt/nginx/conf/nginx.conf
sed -i "s/SERVER_NAME/${SERVER_PORT}/g" /opt/nginx/conf/nginx.conf
sed -i "s/UPSTREAM_ADDRESS/${UPSTREAM_ADDRESS}/g" /opt/nginx/conf/nginx.conf
sed -i "s/UPSTREAM_PORT/${UPSTREAM_PORT}/g" /opt/nginx/conf/nginx.conf
# star... | ise-uiuc/Magicoder-OSS-Instruct-75K |
jw.endObject();
}
/** Dump given node in JSON, optionally recursing into its child nodes */
protected void dump(Node node, JSONWriter w, int currentRecursionLevel,
int maxRecursionLevels) throws RepositoryException, JSONException {
w.object();
PropertyIterator props = n... | ise-uiuc/Magicoder-OSS-Instruct-75K |
impl Drop for Options {
#[inline]
fn drop(&mut self) {
unsafe { opt::optimizer_options_destroy(self.inner) }
| ise-uiuc/Magicoder-OSS-Instruct-75K |
utils.EzPickle.__init__(self)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
topic_sums = np.sum(gammas,axis=0)/np.sum(gammas)
#get the topics with meaningful information
gammas_clean, sig_topics = clean_gammas(gammas)
s = 0
e = args['num_samples']
grp_gammas = np.zeros([args['num_subjects'],args['num_samples'],np.shape(gammas_clean)[1]])
#grp_gammas = np.zeros([arg... | ise-uiuc/Magicoder-OSS-Instruct-75K |
streamProducer: ModuleRpcClient.StreamProducer,
): ModuleRpcClient.Service<serviceDefinition, ResponseContext> {
return new ModuleRpcClient.Service<serviceDefinition, ResponseContext>(
serviceDefinition,
streamProducer,
);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def get_input_images(input_folder: Path, output_path: Path):
"""
Get all images from a folder and it's subfolders.
Also outputs a save path to be used by the image.
:param input_folder: The folder to be scanned.
:param output_path: The root folder of the destination path.
"""
for root, _,... | ise-uiuc/Magicoder-OSS-Instruct-75K |
# MASKING IMAGE for green color
imgmask=cv2.inRange(hsvimg,(40,50,50),(80,255,255))
# for blue color
# bitwise mask and original frame
redpart=cv2.bitwise_and(frame,frame,mask=imgmask)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
x = torch.rand(1, 3, 36, 120)
y = self(x)
return make_dot(y, params=dict(self.named_parameters()))
def loss_batch(model, loss_func, data, opt=None):
xb, yb = data['image'], data['label']
batch_size = len(xb)
out = model(xb)
loss = loss_func(out, yb)
single_correct, whole_c... | ise-uiuc/Magicoder-OSS-Instruct-75K |
//
this.updateStatisticsButton.Image = ((System.Drawing.Image)(resources.GetObject("updateStatisticsButton.Image")));
this.updateStatisticsButton.Location = new System.Drawing.Point(535, 358);
this.updateStatisticsButton.Name = "updateStatisticsButton";
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(url[0][i]) | ise-uiuc/Magicoder-OSS-Instruct-75K |
carteira = float(input('Quantos reais tenho na carteira: '))
x = carteira/3.27
print('Tenho R$ {} na minha carteira e consigo comprar $ {:.2f} dollares'.format(carteira, x))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use crate::cpu::addressing_modes::AddressingMode;
use crate::cpu::cpu_error::CpuError;
use crate::cpu::opcodes::OpcodeMarker;
use crate::cpu::opcodes::OPCODE_MATRIX;
use crate::cpu::Cpu;
use log::*;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
try:
if " " in message[4]:
args = message[4].split("{} ".format(cmd))[1]
else:
args = []
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""Function takes no aruguments and returns a STR value of the current version of the library. This value should match
the value in the setup.py
:param None
:return str value of the current version of the library
:rtype str
>>> version()
1.0.33
"""
print ('1.0.34') | ise-uiuc/Magicoder-OSS-Instruct-75K |
m_PU._emitInstruction( INST_PSUBUSW, &dst, &src );
}
//------------------------------------------------------------------------------
//Unpack High Packed Data (MMX).
void CMMX::punpckhbw( const CMMReg& dst, const CMMReg& src )
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
imgv_bottomLeft.layer.cornerRadius = 3
imgv_bottomRight.layer.masksToBounds = true
imgv_bottomRight.layer.cornerRadius = 3
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>0
export class PaperModel {
id: number; // auto-generated unique identifier
title: string; // the title as it appears in the publication
abstract: string; // the abstract paragraph of the paper
authors: string[]; // names of the people who wrote this paper
publishedIn: string; // where the paper ha... | ise-uiuc/Magicoder-OSS-Instruct-75K |
# that run a VPN to their GCE private network and that may or may not have
# SSH running on public ports.
ips = []
for net_int in instance_data['networkInterfaces']:
ips += [ac.get("natIP", None)for ac in net_int['accessConfigs']]
ips = list(filter(None, ips))
if len(ips) ==... | ise-uiuc/Magicoder-OSS-Instruct-75K |
// Single(SIN),
// Multi(UnitFieldMultiBody<MUL>),
// }
| ise-uiuc/Magicoder-OSS-Instruct-75K |
inline void fullyChargeDas(int& das_counter) const { das_counter = das_full_charge_; }
inline void softResetDas(int& das_counter) const { das_counter = das_min_charge_; }
inline void hardResetDas(int& das_counter) const { das_counter = 0; }
inline bool dasFullyCharged(const int das_counter) const {
return ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
/// <summary>
/// Original was GL_EXTENSIONS = 0x1F03
/// </summary>
Extensions = 7939,
/// <summary>
/// Original was GL_SHADING_LANGUAGE_VERSION = 0x8B8C
/// </summary>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from tcrdist.paths import path_to_base
from tcrdist.vdjtools_funcs import import_vdjtools
vdj_tools_file_beta = os.path.join(path_to_base, 'tcrdist','data','formats','vdj.M_15_CD8_beta.clonotypes.TRB.txt.gz')
df_beta = import_vdjtools( vdj_tools_file = vdj_tools_file_beta ,
cha... | ise-uiuc/Magicoder-OSS-Instruct-75K |
int main() {
int V, T;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.assertEqual(rover, final_pos)
def test_rover_runner_raises_error_for_None_command(self):
grid = small_mars_with_one_rover_empty_commands.grid
rover = small_mars_with_one_rover_empty_commands.rover_setups[0].rover
tss = m.get_mocked_turn_command_selector_turn_left_from_north_com... | ise-uiuc/Magicoder-OSS-Instruct-75K |
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language gover... | ise-uiuc/Magicoder-OSS-Instruct-75K |
return '<user %r:%r>' % (self.username, self.password)
def set_password(self, password):
self.password = <PASSWORD>_password_hash(password)
def check_password(self, password):
return check_password_hash(self.password, password)
def get_id(self):
return self.username
class ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
x = F.max_pool2d(conv5_activation, kernel_size=3, stride=2)
x = x.view(x.size(0), -1)
x = self.classifier(x)
net_outputs = namedtuple("AlexnetActivations", ['relu1', 'relu2', 'relu3', 'relu4', 'relu5'])
return net_outputs(conv1_activation,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
printf "$1 has no tags."
fi
else
printf "Tagging $1 with $2 ...\n"
mkdir $1/tags &> /dev/null
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def shifr_salt(self, passwd):
# Add a user
salt = ''
# for letter in username:
# salt += str(ord(letter))
# print(salt)
# salt = hex(int(salt))
# print(salt)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
String model = serviceInfo.getPropertyString("Model");
String serialNumber = serviceInfo.getPropertyString("SerialNumber");
String firmwareVersion = serviceInfo.getPropertyString("FirmwareVersion");
return DeviceIdentifier.from(
manufacturer, model, serialNumber, firmwareVersion);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>mccormickmichael/laurel
from datetime import datetime
from .cf_template import IAMTemplate
from scaffold.cf.stack.builder import StackBuilder
class IAMBuilder(StackBuilder):
def __init__(self, args, session, is_update):
super(IAMBuilder, self).__init__(args.stack_name, session, is_update)
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
private static boolean getConfigPrecedingZero(Properties config) {
Boolean precedingZeroIsntNumber = true;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public int totalPages;
private int currentPage = 1;
public GameObject leftArrow;
public GameObject rightArrow;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
" goto start;\n"
"This becomes an infinite loop, but an external operation might write 0 to the location\n"
"of variable opt, thus breaking the loop. To prevent the compiler from performing such\n"
"optimization, we want to signal the another element of the system could change the variable.\n"
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
"""Get unique tags."""
unique_tags = {}
for i in items:
for t in i.tags:
unique_tags[t.id] = t.id
return unique_tags
def create_correlation_dataframe(dataframe):
"""Create the correlation dataframe based on the boolean dataframe."""
unique_tags = list(dataframe.columns)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}, completion: complete)
})
}
}
public protocol UIViewNibLoadable: AnyObject {
static func loadFromNib() -> Self?
}
extension UIViewNibLoadable where Self: UIView {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if token in PUNCT_SET])
print("Number punctuation marks in {} = {}"
.format(author, len(punct_by_author[author])))
return punct_by_author
def convert_punct_to_number(punct_by_author, author):
"""Return list of punctuation marks converted to numerical ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
if [ -f /vagrant/custom/initialize.sh ]
then
source /vagrant/custom/initialize.sh
fi
touch /home/vagrant/.initialized
| ise-uiuc/Magicoder-OSS-Instruct-75K |
dataset.describe()
dataframedatos = dataset.dataframes['datos']
dataframeprovincia = dataset.dataframes['provincia']
left = pd.DataFrame(dataframeprovincia)
right = pd.DataFrame(dataframedatos)
mergequery = pd.merge(left,right,on='id_provincia', how='inner')
prov = mergequery.groupby('provincia')
readytoplot... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def tearDown(cls):
cls.tearDownPackages()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# quantization
dist = tf.abs(tiled_x - tiled_centroids)
self.quant_x = tf.argmin(dist, axis=1, output_type=tf.int32)
# recover
rng = tf.tile(tf.expand_dims(tf.range(0, num_dim), axis=0), [batch_size, 1])
rng = tf.stack([self.quant_x, rng], axis=2)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import CoreImage
import CoreGraphics
import AVFoundation
// Interface
/**
- Selector: AVAudioUnitVarispeed
- Introduced: 10.10
*/
@objc(AVAudioUnitVarispeed) protocol AVAudioUnitVarispeedExports: JSExport, AVAudioUnitTimeEffectExports {
// Static Methods
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use std::cell::RefCell;
use std::rc::Rc;
pub struct Solution {}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/* Functions */
protected virtual void Start()
{
if (mPlatformCollider == null ||
mPlatformTrigger == null)
return;
Physics.IgnoreCollision(mPlatformCollider,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for k, v in item.keywords.items():
if isinstance(v, list):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class Migration(migrations.Migration):
initial = True
dependencies = [
('auth', '0012_alter_user_first_name_max_length'),
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fh = open(fname)
print(fh.read().upper()) | ise-uiuc/Magicoder-OSS-Instruct-75K |
from torch.utils.data import DataLoader
from scripts.utils import SyntheticNoiseDataset
from models.babyunet import BabyUnet
CHECKPOINTS_PATH = '../checkpoints/'
mnist_test = MNIST('../inferred_data/MNIST', download=True,
transform=transforms.Compose([
transforms.ToTensor(... | ise-uiuc/Magicoder-OSS-Instruct-75K |
switch (type)
{
// Rects -9 in Y to adjust to tile's center
case BreakableType::JAR:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def test_validate_status_valid(fake_client):
is_valid, exception_class = validate_status_code(status.HTTP_200_OK, None)
assert is_valid
assert not exception_class
def test_validate_status_with_api_code(fake_client):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public @interface Reactant {
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/usr/bin/env python
import sys
if __name__ == '__main__':
for line in sys.stdin:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Ok(Self {
kzg_settings,
x_ext_fft
})
| ise-uiuc/Magicoder-OSS-Instruct-75K |
__author__ = '<NAME> <<EMAIL>>'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"grant_expires_in": 300,
"refresh_token_expires_in": 86400,
"verify_ssl": False,
"capabilities": CAPABILITIES,
"jwks": {"key_defs": KEYDEFS, "uri_path": "static/jwks.json"},
"endpoint": {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# -*- coding: utf-8 -*-
'''
Created on Aug-31-19 10:07:28
@author: hustcc/webhookit
'''
# This means:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
.SelectMany(c => c.RequiredCapabilities)
.Distinct()
.ToArray();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
ans = i;
cnt++;
}
}
if (cnt == 1)
{
cout << ans << endl;
}
else
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}) => {
useBrowserTitle('User Settings');
const isModalRoute = useModalRoute(location);
const contentDOM = <UserSettingsMenu />;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if api:
return api.http.documentation(base_url="", api_version=api_version)
@_built_in_directive
def session(context_name="session", request=None, **kwargs):
"""Returns the session associated with the current request"""
return request and request.context.get(context_name, None)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
tar --strip-components=1 -xf llvm-${VERSION}.src.tar.xz -C llvm
tar --strip-components=1 -xf libcxxabi-${VERSION}.src.tar.xz -C llvm/projects/libcxxabi
tar --strip-components=1 -xf libcxx-${VERSION}.src.tar.xz -C llvm/projects/libcxx
mkdir llvm-build
cd llvm-build
cmake ../llvm \
-DCMAKE_BUILD_TYPE=Release \
| ise-uiuc/Magicoder-OSS-Instruct-75K |
void ToolLogger::log( ELoggerLevel _level, uint32_t _flag, uint32_t _color, const Char * _data, size_t _size )
{
MENGINE_UNUSED( _level );
MENGINE_UNUSED( _flag );
MENGINE_UNUSED( _color );
printf( "%.*s"
, _size
, _data
);
};
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
@endforeach
</select>
</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" class="btn bt... | ise-uiuc/Magicoder-OSS-Instruct-75K |
import oops.A.B;
import oops.A.C;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
('provider', models.SmallIntegerField(choices=[('1', 'Facebook')])),
('social_id', models.CharField(max_length=255, unique=True)),
('photo', models.TextField(blank=True)),
('extra_data', models.TextField(blank=True)),
('user', models.OneToO... | ise-uiuc/Magicoder-OSS-Instruct-75K |
dependencies = [
('bot', '0025_auto_20180705_1839'),
]
operations = [
migrations.AddField(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@SuppressWarnings("all")
private void setDefaults() {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print("Unable to create output files, some of the files already exist:")
print("\n".join([f" {filepath}" for filepath in existing_filepaths]))
print(
"Aborting Script. No new files created. No files overwritten."
"\n(See help text for the option to ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
self.labelDisc.pack()
self.listboxDisc = tk.Listbox(self.frameDisc)
self.listboxDisc.pack(side = 'left')
for disc in listaDiscps:
self.listboxDisc.insert(tk.END, disc.getCodigo())
self.buttonInsere = tk.Button(self.frameDisc, text = 'Inserir disciplina')
self... | ise-uiuc/Magicoder-OSS-Instruct-75K |
runner = init_runner("EvaluateMassChange.", num_threads=4)
for seed in [0, 1, 2, 3, 4]:
base_args = {"num-runs": 10, "seed": seed}
base_args.update(**EXPERIMENTS)
commands = make_commands(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
async def UnaryUnary(self, stream):
request = await stream.recv_message()
assert request == {'value': 'ping'}
await stream.send_message({'value': 'pong'})
| ise-uiuc/Magicoder-OSS-Instruct-75K |
[Required(ErrorMessage = "{0} را وارد کنید")]
public string Keyword { get; set; }
[Display(Name = "خلاصه متن")]
public string Summary { get; set; }
[Display(Name = "متن")]
[Required(ErrorMessage = "{0} را وارد کنید")]
public string Body { get; set; }
[D... | ise-uiuc/Magicoder-OSS-Instruct-75K |
ranges = data.get('ranges', [])
model.ranges = []
for r in ranges:
model.ranges.append({
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>Jeanhwea/spring-framework-v5.2.5
package io.github.jeanhwea.app09_jdbc.beans;
import java.util.List;
import org.springframework.stereotype.Component;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pub use alloc::boxed::Box;
pub use core::iter::FromIterator;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cv_image = cv2.applyColorMap(cv_image, cv2.COLORMAP_HOT) # COLORMAP_HOT
| ise-uiuc/Magicoder-OSS-Instruct-75K |
scaleRatio = min(maxResolution / bounds.size.width, maxResolution / bounds.size.height)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
--con_path_loss_weight 0.1
--con_path_loss_type circle
| ise-uiuc/Magicoder-OSS-Instruct-75K |
var theFileLengthInFrames: Int64 = 0
var theFileFormat = AudioStreamBasicDescription()
var thePropertySize: UInt32 = UInt32(MemoryLayout.stride(ofValue: theFileFormat))
var extRef: ExtAudioFileRef?
var theData: UnsafeMutablePointer<CChar>?
var theO... | ise-uiuc/Magicoder-OSS-Instruct-75K |
from .reset import reset
from .send import send
from .tables import tables
| ise-uiuc/Magicoder-OSS-Instruct-75K |
var window: UIWindow?
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
let window = UIWindow()
window.rootViewController = UIViewController()
window.makeKeyAndVisible()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export type Types =
| CbtNumberChanged;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.Text;
namespace Zoo.Reptile
{
public class Reptile :Lizard
{
public Reptile(string name)
: base(name)
{
}
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
is_accepted = db.Column(db.Boolean, nullable=False, default=False)
def __repr__(self):
return 'Id: {}'.format(self.id)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
NEXTBOOL=1
fi
case "$OPT" in
D) OPTDEBUG=$NEXTBOOL;;
v) OPTVERBOSE=$NEXTBOOL;;
a) OPTARCH="$OPTARG"
_debug "OPTARCH: $OPTARCH"
if [[ $OPTDEBUG -ne 0 ]]; then
declare -p MCCI_ARDUINO_FQCNS
fi
if [[ -z "${... | ise-uiuc/Magicoder-OSS-Instruct-75K |
public class OPTIONS : ApplicationTestFixture<WriteProgram>
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from django.contrib import admin
from django.urls import path
# from django.contrib.auth.decorators import login_required
# from rest_framework.urlpatterns import format_suffix_patterns
from . views import *
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if __name__ == '__main__':
app.run(host="0.0.0.0", use_reloader=False) | ise-uiuc/Magicoder-OSS-Instruct-75K |
if (!t1)
return t2;
if (!t2)
return t1;
TreeNode *node = new TreeNode(t1->val + t2->val);
node->left = mergeTrees(t1->left, t2->left);
node->right = mergeTrees(t1->right, t2->right);
return node;
}
}; | ise-uiuc/Magicoder-OSS-Instruct-75K |
def PrintPubRecord(count, pub_id, url, pub_title, bgcolor):
if bgcolor:
print '<tr align=left class="table1">'
else:
print '<tr align=left class="table2">'
print '<td>%d</td>' % (count)
print '<td>%s</td>' % ISFDBLink('pl.cgi', pub_id, pub_title)
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
# coding=utf-8
# --------------------------------------------------------------------------
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
| 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.