seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
from django.utils import timezone
import traceback
from rest_framework import serializers
from rest_framework.serializers import raise_errors_on_nested_writes
from rest_framework.utils import model_meta
import fileinput
from people.serializers import PersonBaseSerializer
from .models import ApplicationConfiguration
| ise-uiuc/Magicoder-OSS-Instruct-75K |
assert_eq!(srv_domain.protocol, rsip::Transport::Tcp);
assert_eq!(srv_domain.domain, rsip::Domain::from("example.com"));
assert_eq!(srv_domain.transport(), rsip::Transport::Tcp);
assert_eq!(srv_domain.to_string(), srv_domain_str);
let srv_domain_str = "_sips._tcp.example.com";
let srv_domain = SrvDomain::try_from(srv_domain_str.clone()).unwrap();
assert_eq!(srv_domain.secure, true);
assert_eq!(srv_domain.protocol, rsip::Transport::Tcp);
assert_eq!(srv_domain.domain, rsip::Domain::from("example.com"));
assert_eq!(srv_domain.transport(), rsip::Transport::Tls);
assert_eq!(srv_domain.to_string(), srv_domain_str);
//doesn't make sense but rsip-dns doesn't take any precautions here
let srv_domain_str = "_sips._udp.example.com";
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mod tests {
#[test]
fn is_palindrome_works() {
use super::is_palindrome;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
internal interface ILugar
{
string Direccion { get; set; }
| ise-uiuc/Magicoder-OSS-Instruct-75K |
kbd.send(Keycode.CONTROL, Keycode.SHIFT, Keycode.M)
is_led_on = True
led.value = True
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let currentDate = Date().unixEpoch
let second: Int64 = 1 * 1000
let hour: Int64 = 60 * 60 * 1000
| ise-uiuc/Magicoder-OSS-Instruct-75K |
emailsSet = set()
for email in emails:
emailsSet.add(self.getFormattedEMail(email))
return len(emailsSet) | ise-uiuc/Magicoder-OSS-Instruct-75K |
import edu.eci.cvds.sample.entities.User;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
max = nombre_int
else:
pass
print("Moyenne actuelle : "+ str(moyenne))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
data["collector_vec"].collect(n_episode=10)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
Ok (())
}
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
case 'l':
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
WrongIntegerSize,
WrongSizeT,
WrongRawInstrSize,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$filename = explode(".",$training->link_training)[0];
return array_map('unlink', glob(FCPATH."uploads/trainings/$filename.*"));
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#
# https://github.com/CryptoLions/
#
################################################################################
| ise-uiuc/Magicoder-OSS-Instruct-75K |
path = path_actions(solution)
n_pauses = path.count("pause")
n_moves = len(path) - n_pauses
path = list(filter(lambda x: x != "pause", path))
new_path = []
if n_pauses % n_moves != 0:
mod = n_pauses % n_moves
else:
mod = 0
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@Parameters(commandDescription = "Lists supported solvers and their versions")
static class ListSupportedCommand implements Command {
static final String COMMAND = "list-supported";
@Parameter(description = "The solver, whose supported versions are to be listed (<solver_name>)", validateWith = SolverNameValidator.class)
String solver;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
public static int CheckFile(string fileName, string inout)
{
for (int i = 0; i < HostList.Count; i++)
{
foreach (var item in HostList[i].FilePrefix)
{
if (item.Contains("@"))
{
var temps = item.Split('@');
if (fileName.StartsWith(temps[0]) && temps[1] == inout)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
wget -nc https://github.com/tabulapdf/tabula-java/releases/download/0.9.2/tabula-0.9.2-jar-with-dependencies.jar
java -jar tabula-0.9.2-jar-with-dependencies.jar -g -f CSV -o ../reports/pwn/ -b ../reports/pwn
| ise-uiuc/Magicoder-OSS-Instruct-75K |
friction: 0.3
})
.addComponent(CollisionComponent)
})
});
});
this.queries.controlled.removed.forEach(entity => {
let inputManager = this._inputManagerMap.get(entity);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.cfg.batch_size = 1
# loader
train_dataset = ScienceDataset(self.cfg, 'test', mode='train', transform=train_augment)
self.train_loader = DataLoader(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
/// <summary>
/// Activates all buttons.
/// </summary>
public void EnableBoard()
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
p.end()
def icon_paint(self, qp, icon, rect):
painter = QPainter(icon)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
out = self.flatten(out)
return self.fc(out)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// <summary>
/// Used in admin view, no caching
/// </summary>
/// <returns></returns>
[ChildActionOnly]
[HttpGet]
public ActionResult List(string state = null)
{
var dtos = _workfieldService.Secondary.List(true);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/*
* Filename: medicaldetection.hpp
*
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// if (f != null) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public HolyDrawDbContext(DbContextOptions<HolyDrawDbContext> options)
: base(options)
{
}
public DbSet<Token> Token { get; set; }
public DbSet<Session> Session { get; set; }
public DbSet<Element> Element { get; set; }
public DbSet<Room> Room { get; set; }
public DbSet<Player> Player { get; set; }
public DbSet<Reaction> Reaction { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sitemap_rules = [('', 'parse_item')]
sitemap_follow = []
rules = [
Rule(LinkExtractor(allow=['/p+\d+\.html']), 'parse_item'),
Rule(LinkExtractor(allow=['/[a-zA-Z0-9-]+\.html'], deny=['filter=']), 'parse'),
#Rule(LinkExtractor(), 'parse_item_and_links'),
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def run(self, T, Nt, save_rate, backup_rate, first_run=True):
""" Run a simulation for given time.
:param T: Duration of the simulation
:type T: float
:param Nt: Number of time steps
:type Nt: int
:param save_rate: Rate of save in the result file
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(error)
}
}
}
// EndDocSection | ise-uiuc/Magicoder-OSS-Instruct-75K |
request.setResponseCode(response_data[1])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Player::~Player()
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
void accept (PathVisitor * visitor) const {}
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
[Description("Automatically load all .demosnippets files in the solution when opened. Also removes them from the Toolbox when the solution is closed.")]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import com.redheads.arla.business.auth.AuthService;
import javafx.concurrent.Task;
public class AuthenticateUserTask extends Task<Boolean> {
private AuthService authService = new AuthService();
private String username;
private String password;
public AuthenticateUserTask(String username, String password) {
this.username = username;
this.password = password;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
bin/git
bin/tar
tool/bin/time
bld/python
bin/make
bin/cmake
{% endblock %}
{% block unpack %}
{{super()}}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
package com.kovaciny.primexmodel;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import android.annotation.SuppressLint;
import com.kovaciny.helperfunctions.HelperFunction;
@SuppressLint("UseSparseArrays")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Create a cell:
cell = sim.create_cell(name="Cell1", morphology=m1)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Range : [0..2^63-1].
"""
@staticmethod
def get_api_name():
return "san-size"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
verbose=args.verbose)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
* @var integer
*
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(truth(a))
print(is_(a,b))
print(is_not(a,b))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
serde_json::to_string(&json![$($json)+]).unwrap().as_str(),
).unwrap()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public abstract class Interaction<TActive, TPassive> : Interaction
where TActive : IWorldItem
where TPassive : IWorldItem
{
protected abstract bool IsAvailable(TActive active, TPassive passive);
public sealed override Type Active => typeof(TActive);
public sealed override Type Passive => typeof(TPassive);
public sealed override bool IsAvailable(IWorldItem active, IWorldItem passive)
{
if (TryCast(active, passive, out var activeObj, out var passiveObj))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fn path_a_b() -> TestResult {
run(&["tests/inputs/a/b"], "tests/expected/path_a_b.txt")
}
// --------------------------------------------------
#[test]
fn path_d() -> TestResult {
run(&["tests/inputs/d"], "tests/expected/path_d.txt")
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
Calculate the entropy of an images' histogram. Used for "smart cropping" in easy-thumbnails;
see: https://raw.github.com/SmileyChris/easy-thumbnails/master/easy_thumbnails/utils.py
| ise-uiuc/Magicoder-OSS-Instruct-75K |
serial = int(match.group("serial")) if match.group("serial") else 0
return VersionInfo(major, minor, micro, release_level, serial)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
a = input()
i = ord(a)
for i in range(i-96):
print(chr(i+97),end=" ")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.centralwidget.setObjectName("centralwidget")
self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
self.lineEdit.setGeometry(QtCore.QRect(90, 40, 221, 21))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(9)
self.lineEdit.setFont(font)
self.lineEdit.setText("")
self.lineEdit.setObjectName("lineEdit")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
logging.info('get_politico_name: id: %s', id)
return self.get_congressperson(int(id))['name']
@staticmethod
def _build_user_key(user_id):
return {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
dataset.peek = data.get_file_peek( dataset.file_name, is_multi_byte=is_multi_byte )
dataset.blurb = 'SBML format'
else:
dataset.peek = 'file does not exist'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
declarations: [BikeStationDetailsComponent, MapComponent],
imports: [
CommonModule,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
->orderBy('created_at', 'DESC')
->limit(4)
->get();
$daftarTestimonial = Testimonial::select('testimonial.*', 'personal.nama_depan', 'personal.nama_belakang', 'personal.photo')
->join('personal', 'personal.id', '=', 'personal_id')
->orderBy('testimonial.created_at', 'DESC')
->limit(6)
->get();
return view('pages.home', compact(
'jml_lowongan',
'jml_mitra',
'jml_personal',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use SGR\model\Agent;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>tot/__init__.py
# -*- coding: utf-8 -*-
from tot.card import Card, Suit
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mod cluster_network;
pub use self::cluster_network::ClusterNetwork;
#[cfg(feature = "api")] pub use self::cluster_network::{ReadClusterNetworkOptional, ReadClusterNetworkResponse};
mod cluster_network_entry;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
base.REQUIRED_CREDENTIALS = (USER, PASSWORD, DATABASE, HOST)
base.ALLOWED_CREDENTIALS = (ROLE, SCHEMA, ACCOUNT)
creds = rand_creds((USER, PASSWORD, HOST, DATABASE, ACCOUNT,))
base.credentials = creds
assert base._build_conn_string(
) == f'postgres://{creds.user}:{creds.password}@{creds.host}/{creds.database}?account={creds.account}'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public class LightingConfig extends SubsystemConfigBase {
public int ledCount, totalSegmentFirstIndex, totalSegmentLastIndex, totalSegmentMidLastIndex, totalSegmentMidFirstIndex, maximumBrightness, minVoltageToFunction;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
args = parser.parse_args()
try:
puzzle_input = [line.strip() for line in fileinput.input(args.infile)]
p1,p2 = process(puzzle_input, verbose=args.verbose)
print('Part one: {}'.format(p1))
print('Part two: {}'.format(p2))
except KeyboardInterrupt:
pass
if __name__ == '__main__':
main()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sh buildmacos.sh /devlopt/builds
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from models.methods import method
from typing import Any
class SetDeviceInfoMethod(method.Method):
def __init__(self, params: Any):
super().__init__("set_device_info", params)
def set_request_time_milis(self, t: float):
self.requestTimeMils = t
def set_terminal_uuid(self, uuid: str):
self.terminalUUID = uuid
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .varying_background_traffic_experiment import (
VaryingBackgroundTrafficExperiment
)
from .goodput_vs_rate import GoodputVsRateExperiment
| ise-uiuc/Magicoder-OSS-Instruct-75K |
version_int(target_apps.get('android', {}).get('max', ''))
)
is_extension_or_complete_theme = (
# Note: annoyingly, `detected_type` is at the root level, not under
# `metadata`.
results.get('detected_type') in ('theme', 'extension'))
is_targeting_firefoxes_only = target_apps and (
set(target_apps.keys()).intersection(('firefox', 'android')) ==
set(target_apps.keys())
)
is_targeting_thunderbird_or_seamonkey_only = target_apps and (
set(target_apps.keys()).intersection(('thunderbird', 'seamonkey')) ==
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@section('title', 'Dashboard')
@section('section')
<dashboard-component userinfo="{{ Auth::user() }}"></dashboard-component>
@stop
| ise-uiuc/Magicoder-OSS-Instruct-75K |
t = tab_wcs_2di_f.wcs.tab[0]
c0 = t.coord
c1 = np.ones_like(c0)
t.coord = c1
assert np.allclose(tab_wcs_2di_f.wcs.tab[0].coord, c1)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
let size = N as isize;
let offset = size / 2;
let s = 2.0 * sigma * sigma;
let mut sum = 0.0;
for x in -offset..size - offset {
for y in -offset..size - offset {
let r = (x as f32 * x as f32 + y as f32 * y as f32).sqrt();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.0/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Ok(BgpAggregatorAS {
asn: getn_u16(&buf) as u32,
addr: decode_addrv4_from(&buf[2..6])?,
})
} else {
Err(BgpError::static_str(
"Invalid AggregatorAS 16-bit length",
))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pending_acks.insert(pkt->channel);
#if DEBUG_LINK
printf("Received pkt on channel %d\n", pkt->channel);
fflush(NULL);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
DV=None, dVMode='abs', ind=None,
VType='Tor', VLim=None,
Out='(X,Y,Z)', margin=1.e-9):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.sjjybsgj.dao.login.model.LoginUser;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import modder.manager
from .trayicon import TrayIcon
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import subprocess
import sys
LAUNCH_WEB_BROWSER_UPON_START = True
def main():
# Read from home directory the user_key. If non-existent, get one from
# cloud.
config_dict = utils.get_user_config()
# Where user would see report
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# show_store()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import torch.nn.functional as F
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from django.db import models
# Create your models here.
#serializer converts to and from JSON
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo "RESTART"
else
echo "CURRENT"
fi
| ise-uiuc/Magicoder-OSS-Instruct-75K |
protocol SearchService: AnyObject {
func search(searchString: String, limit: Int, page: Int, completion: @escaping (SearchModel.Response?) -> Void)
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pswd_input['show'] = '*'
pswd_input.pack()
def get_text():
return TiebaGUI.start(usr.get(), pswd.get())
| ise-uiuc/Magicoder-OSS-Instruct-75K |
reader->GetOutput()->GetSpacing()[2]);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import { CUSTOMER_REPOSITORY } from '../../core/constants';
export const customersProviders = [
{ provide: CUSTOMER_REPOSITORY, useValue: Customer },
];
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[no_mangle]
pub fn rust_fun_add_one_f64(arg: f64) -> f64 {
arg + 1.0
}
#[no_mangle]
pub extern "C" fn c_fun_print_something_else() {
println!("something else");
}
#[no_mangle]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
resource() {
:
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def __call__(self, clazz):
registry[self.platform] = clazz
def platform():
# Decide on which platform this runs
platform = os.uname()[0].lower()
if platform == "darwin":
platform = "osx"
if not registry:
raise SyntaxError, "No platforms are registered."
return registry[ platform]();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
var dateComponents = (cal as NSCalendar).components([.year, .month, .day], from: date)
let timeComponents = (cal as NSCalendar).components([.hour, .minute, .second], from: time)
dateComponents.second = timeComponents.second
dateComponents.minute = timeComponents.minute
dateComponents.hour = timeComponents.hour
| ise-uiuc/Magicoder-OSS-Instruct-75K |
except:
try:
import Jetson.GPIO as GPIO
led_pin_a = 12
led_pin_b = 16
print('load jetson gpio')
except:
pin_skip = True
print('no load gpio')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return template.generate(**chrome.populate_data(formatter.req, {}))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import Foundation
import UIKit
extension MutableCollection {
/// Shuffles the contents of this collection.
public mutating func shuffle() {
let c = count
guard c > 1 else { return }
for (firstUnshuffled, unshuffledCount) in zip(indices, stride(from: c, to: 1, by: -1)) {
let d: IndexDistance = numericCast(arc4random_uniform(numericCast(unshuffledCount)))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
if (!found)
{
var document = new ObjectViewModel();
document.SetGameObject(this);
shell.OpenDocument(document);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Você deve resolver o clássico exercício das 8 rainhas
Nele o usuário lhe passa o tamanho do tabuleiro n
(lembrar que tabuleiros são quadrados então o usuário
só precisa lhe passar um inteiro) e você deve gerar
uma todas as distribuições de n rainhas neste tabuleiro
e imprimi-las de uma forma adequada.
Veja o livro Beginning Python, na descrição
do video para a explicação da solução, ou entre
no dropbox para ver a solução comentada
Esse exercício não é fácil!!
Não se preocupe se você não conseguir
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$i = 1;
foreach ($order as $id) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
model_name='question',
name='created_at',
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
migrations.CreateModel(
name='Reply',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('text', models.TextField()),
('created_at', models.DateTimeField(auto_now_add=True)),
('comment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='replies', to='forum.Comment')),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='replies', to=settings.AUTH_USER_MODEL)),
],
options={
| ise-uiuc/Magicoder-OSS-Instruct-75K |
You need two files ('EmailPassLog', 'GoogleDrivePermision.json'):
google drive permission to use google docs,
and file with line like down to use your mail (password of your mail and mail adress)
{"password": "*****", "log": "<EMAIL>"}
This two files should be at upper directory (or another worlds in same with graph - project folder)
"""
print(EmailPassLog, GoogleDrivePermision) | ise-uiuc/Magicoder-OSS-Instruct-75K |
upscale = int(2)
ndarray = np.random.rand(50, 50)
maarray = ndarray.copy()
maarray[25:28, 10:16] = np.nan
| ise-uiuc/Magicoder-OSS-Instruct-75K |
};
LocaleMessage::LocaleMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena)
: ::PROTOBUF_NAMESPACE_ID::Message(arena),
errormessage_(arena) {
SharedCtor();
RegisterArenaDtor(arena);
// @@protoc_insertion_point(arena_constructor:AcFunDanmu.LocaleMessage)
}
LocaleMessage::LocaleMessage(const LocaleMessage& from)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
writer->Update();
}
catch( itk::ExceptionObject & error )
{
std::cerr << "Error: " << error << std::endl;
return EXIT_FAILURE;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class Query(baseQuery):
def getResult(self):
return self.db.execute(self)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
true
else
echo "board $BOARD is not valid."
exit -1
fi
# check if interface are valid
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return r;
}
/**
* @return the g
*/
public int getG() {
return g;
| 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.