seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
dictSorteado[listaDeParticipantes[iterator]] = listaDeParticipantes[numero]
iterator += 1
return dictSorteado
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
}
// create new member and add it to database
public function add_member() {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<input type="submit" value="Another Handler" asp-page-handler="Two" />
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
return !(bpm < 70 || bpm > 150);
}
bool check_spo2(float spo2)
{
return !(spo2 < 90);
}
bool check_respRate(float respRate)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
VALIDATE_NOT_NULL(result);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
x = self.last_stage(x)
return x
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//! gubed
//!
| ise-uiuc/Magicoder-OSS-Instruct-75K |
</div>
<div class="carousel-item">
<img class="d-block w-100" src="{{ asset('images/sa.jpg') }}" alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
| ise-uiuc/Magicoder-OSS-Instruct-75K |
s = 2
while True:
target = list(filter(lambda x: x % s != 0, target))
if target == []:
break
if s >= start:
target.append(s)
s = target[0]
if s >= start and s >= int(end/2) + 1:
break
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cd ../../..
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return render_template('page_not_found.html'), 404
if pages.total >= pages.per_page:
recipes = pages.items
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# The number of video classes
NUM_CLASSES = 4716
# Create an input function to read our training and validation data
# Then provide the results to the Estimator API
| ise-uiuc/Magicoder-OSS-Instruct-75K |
force?: boolean;
updateFunction?: (msg: Info) => any;
branch?: string;
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
TestShape.doTest()
TestSlice.doTest()
TestTimer.doTest()
TestUtils.doTest()
TestDtypeInfo.doTest()
TestNdArray.doTest()
TestMethods.doTest()
TestCoordinates.doTest()
TestConstants.doTest()
TestLinalg.doTest()
TestRandom.doTest()
TestRotations.doTest()
TestFilters.doTest()
TestPolynomial.doTest()
TestFFT.doTest()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
RUST_LOG=runtime=trace,substrate-relay=trace,bridge=trace \
./target/debug/substrate-relay send-message MillauToRialto \
--source-host localhost \
--source-port $MILLAU_PORT \
--source-signer //Alice \
--target-signer //Bob \
--lane 00000000 \
--origin Target \
remark \
;;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
import subprocess
subprocess.run(["Is","-1"]) | ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>hawkw/tower-web
//! Map HTTP requests to Resource methods.
//!
//! Currently, this module is intended to be used by the `impl_web!` macro and
//! not the end user.
mod builder;
mod captures;
mod path;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
webView.backgroundColor = UIColor.systemBackground
} else {
webView.scrollView.backgroundColor = UIColor.white
| ise-uiuc/Magicoder-OSS-Instruct-75K |
('phone_number', models.CharField(max_length=15)),
('address', models.CharField(max_length=100)),
('city', models.CharField(max_length=50)),
('zipcode', models.CharField(max_length=10)),
('state', models.CharField(max_length=50)),
('health_card_number', models.CharField(max_length=12)),
('birthday', models.DateField()),
('blood_group', models.CharField(max_length=3)),
('organ', models.CharField(max_length=50)),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
while total < value:
n += 1
total = 4*n*n - 4*n + 1
n = n - 1
minSpiralVal = 4*n*n - 4*n + 1
difference = value - minSpiralVal
| ise-uiuc/Magicoder-OSS-Instruct-75K |
client = cvas.client(
"fpfGmGL99O+3bM1BpV8vSQLeHxxocf+IeLMcKHFwfXU=",
"http://localhost:5000")
file = client.upload_file("grayscale.jpg")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
impl<$($va_idents),+> OptionTuple for ($(Option<$va_idents>,)+) {
type Values = ($($va_idents,)+);
fn tuplewrap(self) -> Option<Self::Values> {
Some((
$(match self.$va_indices { Some(r) => r, None => return None },)+
))
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>0
import os
from re import search
with os.scandir('../F/') as folder:
for item in folder:
if item.is_file():
filename = item.name
if search('Copy', filename):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public function insert($table, $records);
public function update($table, $records);
public function delete($table, $where);
public function count($table);
public function truncate($table);
public function numRows();
public function rowCount();
public function lastInsertId();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*
* @author liuyang
* @date 2020/2/18 周二 14:44:00
* @since 1.0.0
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>1-10
# -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-12-26 09:50
from __future__ import unicode_literals
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// used by rust-grpc
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if bench_type == "one-shot":
| ise-uiuc/Magicoder-OSS-Instruct-75K |
command!(ping(_context, message) {
println!("{}: >>ping ({})", message.timestamp, message.author);
let _ = message.reply("pong!");
});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
* Run the migrations.
*
| ise-uiuc/Magicoder-OSS-Instruct-75K |
CLIENT = test.TestClient(APP)
def test_todo_item_get():
response = CLIENT.get('/todos/1')
assert response.status_code == 200
assert response.json() == {'id': 1, 'task': 'Buy milk'}
def test_todo_item_put():
response = CLIENT.put('/todos/100', {'task': 'Buy butter'})
assert response.status_code == 200
assert response.json() == {'id': 100, 'task': 'Buy butter'}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import com.atguigu.gulimall.sms.entity.CouponEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* 优惠券信息
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@Injectable()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
nn.Linear(h_dim, y_dim),
nn.Softplus())
self.rnn = nn.GRU(y_dim, rnn_dim, n_layers)
def forward(self, states, macro=None, hp=None):
out = {}
out['nll'] = 0
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fn build_url(host: &str) -> String {
format!(
"https://web.archive.org/cdx/search/cdx?url=*.{}/*&output=json\
&fl=original&collapse=urlkey&limit=100000",
host
)
}
pub async fn run(client: Client, host: Arc<String>, mut sender: Sender<Vec<String>>) -> Result<()> {
trace!("fetching data from wayback for: {}", &host);
let uri = build_url(&host);
let resp: Option<Value> = client.get(&uri).send().await?.json().await?;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
elif square < num:
low = mid
| ise-uiuc/Magicoder-OSS-Instruct-75K |
doc.generate_pdf(clean=True, clean_tex=False, silent=False)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
:param args: Additional arguments to be passed to the hook functions.
:param kwargs: Additional keyword arguments to be passed to the hook
functions.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
(1, (709, 1000000)),
(2, (403, 250000)),
(3, (1013, 1000000)),
(4, (147, 125000)),
(5, (817, 1000000)),
(6, (117, 200000)),
(7, (67, 200000)),
(8, (11, 40000)),
(9, (31, 200000)),
(10, (71, 200000)),
(11, (7, 50000)),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
DateTime dateOfBirth = default(DateTime);
CultureInfo enGb = new CultureInfo("en-GB");
string dob = string.Empty;
if (!string.IsNullOrEmpty(dateOfBirthDay) && !string.IsNullOrEmpty(dateOfBirthMonth) && !string.IsNullOrEmpty(dateOfBirthYear))
{
dob = string.Format("{0}/{1}/{2}", dateOfBirthDay.PadLeft(2, '0'), dateOfBirthMonth.PadLeft(2, '0'), dateOfBirthYear.PadLeft(4, '0'));
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def test_sentence_start(morph):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
all_pairs = sums(all_abund_numbers, end)
unique =[x for x in range(1, end+1) if x not in all_pairs]
print(sum(unique))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo Hello, $name!
~~~
"#,
);
common::run_mask(&maskfile_path)
.command("sh")
.env("name", "World")
.assert()
.stdout(contains("Hello, World!"))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
bbox = BoundingBox2d([(0, 0), (10, 10)])
assert bbox.extmin == (0, 0)
assert bbox.extmax == (10, 10)
bbox = BoundingBox2d([(7, -2), (-1, 8)])
assert bbox.extmin == (-1, -2)
assert bbox.extmax == (7, 8)
def test_init_none(self):
bbox = BoundingBox2d()
assert bbox.has_data is False
bbox.extend([(0, 0), (10, 10)])
assert bbox.size == (10, 10)
assert bbox.has_data is True
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public class ApiTransactionalDataList : List<ApiTransactionalData>
{ }
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.group.users.append(user6)
self.group.users.append(user7)
perms = ResourceService.users_for_perm(
self.resource,
"__any_permission__",
limit_group_permissions=True,
skip_group_perms=True,
db_session=db_session,
)
second = [
PermissionTuple(
self.user, "test_perm2", "user", None, self.resource, False, True
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for h in $HOSTS ; do
echo "Stopping slave in $h"
if [ $h != 'host-0' ] ; then
| ise-uiuc/Magicoder-OSS-Instruct-75K |
type: 'string',
},
partner: {
title: 'Partner ID',
type: 'string',
},
points: {
title: 'Points',
type: 'string',
},
},
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
funnel = funnels.get(key)
if not funnel:
funnel = Funnel(capacity, leaking_rate)
funnels[key] = funnel
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sscanf(fleaf.substr(0, 3).c_str(), "%d", &motion_no);
std::cout << fleaf << ": No." << motion_no << std::endl;
std::ifstream ifs(p.string().c_str());
std::smatch m;
if (ext == ".txt") {
if (!(std::regex_search(fleaf, m, rx3))) {
if (!(std::regex_search(fleaf, m, rx2))){
std::cout << "motionfile" << std::endl;
}
// std::cout << "this is backupfile" << std::endl;
}//else if (std::regex_search(fleaf, m, rx2)){
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Backfill = varDict["Backfill upstream edges with:"]
xLimit = len(variableElement[0])
yLimit = len(variableElement)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.model.stop_training = True
def get_input_image_names(list_names, directory_name, if_train=True):
list_img = []
list_msk = []
list_test_ids = []
for filenames in tqdm(list_names['name'], miniters=1000):
nred = 'red_' + filenames
nblue = 'blue_' + filenames
ngreen = 'green_' + filenames
| ise-uiuc/Magicoder-OSS-Instruct-75K |
df = df.astype({k: CategoricalDtype(ordered=True) for k, d in df.dtypes.items() if d == "O"})
df.to_pickle(path.with_suffix(".pkl")) | ise-uiuc/Magicoder-OSS-Instruct-75K |
{
public static void Main()
{
/*Create the XmlDocument.
XmlDocument doc = new XmlDocument();
doc.Load("ucContest.ascx.resx");
*
XmlNodeList elemList = doc.GetElementsByTagName("data");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""Suite of utilities to build & train traits."""
from wit import Wit
def create_traits(wit_client: Wit, traits: dict) -> None:
"""Create Wit Traits.
Args:
wit_client (Wit): Instantiated Wit Client
traits (List[dict]): Each dict should have a key for
"""
existing_traits = [x["name"] for x in wit_client.trait_list()]
for trait in traits:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def to_bytes(value, errors='strict'): # type: (t.AnyStr, str) -> bytes
"""Return the given value as bytes encoded using UTF-8 if not already bytes."""
if isinstance(value, bytes):
return value
if isinstance(value, Text):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
var spinAnimation = SKAction()
init() {
super.init(texture: nil, color: .clear,
size: initialSize)
let startTexture = textureAtlas.textureNamed("blade")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
auto current = m_it++;
return current->value();
}
} // namespace detail
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pub use self::model::DataMessage;
pub use self::model::LogStage;
pub use self::model::ParameterMessage;
pub use self::model::FieldParser;
pub use self::model::LoggedStringMessage;
pub use self::model::ParseableFieldType;
pub use self::model_helper::LittleEndianParser;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print("Test Case", (test+1), "for RSA encryption and decryption passed")
except:
print("Test Case", (test+1), "for RSA encryption and decryption failed")
if __name__ == "__main__":
test_case()
test_case2()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
FACEBOOK = os.environ.get("FACEBOOK", default=None)
INSTAGRAM = os.environ.get("INSTAGRAM", default=None)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
PERMISSION_OPERATOR = 1
PERMISSION_HOST = 2
PERMISSION_AUTOMATION = 3
PERMISSION_ADMIN = 4
BITFLAG_SECOND_SET = 1 << 16
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if (nIndex != -1)
{
// 从数组中移走已经存在的值
this.RemoveAt(nIndex);
}
else
{
column = new Column();
column.No = nFirstColumn;
column.Asc = true; // 初始时为正向排序
column.SortStyle = firstColumnStyle; // 2007/12/20
}
// 放到首部
| ise-uiuc/Magicoder-OSS-Instruct-75K |
};
protected TestBase()
{
#if DEBUG
Global.Testing = true;
#endif
}
protected string JsonSerializerFormatted(object o)
{
return JsonConvert.SerializeObject(o, _serializerSettings);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def compile_inverted_index(block_size_limit):
""" Generate inverted index for Reuters21578 """
reuters_corpus = reuters.ReutersCorpus()
# Retrieve Reuters documents
print("=============== Retriving documents... =============== ")
documents = reuters_corpus.retrieveDocuments()
# Preprocessing documents
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# features/properties of this application that
# are deemed testable.
################################################
import os
import pandas as pd
import unittest
from analytika.public.application.analyzer import Analyzer
class AnalytikaTestCase(unittest.TestCase):
def setUp(self):
'''
| ise-uiuc/Magicoder-OSS-Instruct-75K |
file.display(),
dest.display()
);
symlink(dest, &file)?;
Ok(())
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ProgramPipeline::ProgramPipeline(const ShaderProgram& shaderProgram)
{
glGenProgramPipelines(1, &this->mPipelineID);
GLbitfield programStage = ProgramPipeline::convertShaderTypeToGLbitfield(shaderProgram.Type());
glUseProgramStages(this->mPipelineID, programStage, shaderProgram.ID());
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
</td>
<td>
<a class="btn btn-info" href="/showCompany/{{$item->id}}">Details</a>
</td>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'''
def __init__(self, id, firstname, lastname, dob, hiring_year, salary):
self.hiring_year = hiring_year
self.salary = salary
self.courses = set()
self.research_projects = set()
super().__init__(id, firstname, lastname, dob)
def __str__(self):
return super().__str__() + ". This Professor is the instructor of record of following courses : " + str(
list(self.courses))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
}
return result
}
}
private extension String {
func substring(with nsrange: NSRange) -> Substring? {
guard let range = Range(nsrange, in: self) else {
return nil
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Returns:
Graph after SNC.
"""
snc_node, linear_node, bypass_node, pad_node = shift_negative_activation_node_matchers()
return apply_shift_negative_correction(graph,
core_config,
fw_info,
snc_node,
linear_node,
bypass_node,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export function manageState(SelectComponent: ComponentType<any>): StateManager<any>;
export default manageState;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
constructor(public readonly rootFolder : vscode.Uri) {
this._paramlist = new ParamList(this.rootFolder);
this._masterconstants = new Constants(this.rootFolder, "scripts/1d.gdl");
}
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
continue
# Must be an (n-1)-d flatten before gemm
assert list(target_shape.input_data) == [1, -1]
# Connect input of reshape to gemm, then remove reshape
graph.add_edge(reshape_input, n_gemm, index=0)
graph.remove_node(node)
return graph
def get_next_in_chain(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Maybe we should save binary instead of text?
value.toEnvirosaveBinary(outFile)
else:
with open(outFile, 'w') as f:
if isinstance(value, string_types):
f.write(value)
else:
f.write(pprint.pformat(value, width=200))
def __str__(self):
'''
returns a string representation of the gatherer (via its itemDict)
'''
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Created by Fernando on 2020/04/21.
// Copyright © 2020 tmsae. All rights reserved.
//
import Foundation
import RxDataSources
enum ListSection {
case list([ListSectionItem])
}
extension ListSection: SectionModelType {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
tabposition: NzTabPosition = 'left';
@Input() SelectedAdvertise: IResponseAdvertise | undefined;
constructor(eventManager: EventManager) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
@TdPOST({
path: '/testsystem',
})
test(@TdBody() system: ITestSystem, @TdResponse() response?: Observable<HttpResponse<any>>): Observable<boolean> {
return response.pipe(
map((res: HttpResponse<any>) => {
return true;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// A pointer to the SPI register to make things easier.
SercomSpi *sercomSpi = &SERCOM6->SPI;
// Disable SERCOM6 to switch its role
sercomSpi->CTRLA.bit.ENABLE = 0;
SYNCBUSY_WAIT(sercomSpi, SERCOM_SPI_SYNCBUSY_ENABLE);
// Sets SERCOM6 to SPI Master mode
sercomSpi->CTRLA.reg |= SERCOM_SPI_CTRLA_MODE(0x3);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
dir=`dirname $0`
kill_idle_rule=${dir}/alerting/kill-idle.rules
grafana_file_name=${dir}/grafana-config.yaml
alert_tmpl_file_name=${dir}/alert-templates.yaml
prometheus_file_name=${dir}/prometheus-alerting.yaml
rm $kill_idle_rule $grafana_file_name $alert_tmpl_file_name $prometheus_file_name 2> /dev/null
# config kill rules
${dir}/config_alerting.py "${dir}/../../config.yaml" > $kill_idle_rule
| ise-uiuc/Magicoder-OSS-Instruct-75K |
declarations: [NotificacaoComponent],
imports: [CommonModule],
exports: [NotificacaoComponent],
})
export class NotificacaoModule {}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
125,
160,
200,
250,
320,
400,
500,
640,
800,
1000,
1250,
1600,
2000,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def round(self, val, to):
return max(1, int(np.round((val + 1) / to))) * to
def __call__(self, w, h):
bw = self.round(w, to=self.round_mel_len_to)
bh = self.round(h, to=self.round_text_len_to)
ret = ndimage.zoom(self.bank(bw, bh).T, zoom=(w / bw, h / bh), order=1)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public abstract int getHeadDefault();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
}
protected JTree getJavaComponent()
{
return tree;
}
public void addTreeSelectionListener(TreeSelectionListener l)
{
tree.addTreeSelectionListener(l);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.username = username
self.password = password
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import { Quiz } from '../../components/Quiz';
import { Container } from './styles';
export function Home() {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<AsyncHttpResponse: 200 OK>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public bool WelcomeMessageEnabled { get; set; }
| ise-uiuc/Magicoder-OSS-Instruct-75K |
struct Frame<'a> {
// TODO: Local variables
operand_stack: Vec<u8>,
runtime_constant_pool: &'a Vec<Constant>,
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
margin: 0;
padding: 0;
outline:0;
box-sizing:border-box;
}
#root{
margin:0 auto;
}
h1, h2, h3, h4{
font-family: 'Bevan', cursive;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# CLONE PHASE
wget https://downloads.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_src_all.tar.bz2
tar -xvjf p7zip_16.02_src_all.tar.bz2
# BUILD PHASE
pushd "p7zip_16.02"
cp -rfv makefile.linux_amd64_asm makefile.machine
| ise-uiuc/Magicoder-OSS-Instruct-75K |
////
/////*c*/
////const c = ((x => +x))
////
/////*d*/
////let d = (function () { })
////
/////*e*/
////let e = function e([a,b,c]) {
//// return "hello"
////};
////
/////*f*/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
private func backgroundColor(for state: UIControl.State) -> UIColor? {
backgroundColors[state.rawValue]
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
LOADBALANCEENFORCER_TEST(GIVEN_load_balance_enforcer_with_valid_mapping_WHEN_asked_for_acl_assignments_THEN_return_correct_acl_assignment_requests)
{
TUniquePtr<SpatialVirtualWorkerTranslator> VirtualWorkerTranslator = CreateVirtualWorkerTranslator();
USpatialStaticComponentView* StaticComponentView = NewObject<USpatialStaticComponentView>();
AddEntityToStaticComponentView(*StaticComponentView, EntityIdOne, VirtualWorkerOne, WORKER_AUTHORITY_NOT_AUTHORITATIVE);
AddEntityToStaticComponentView(*StaticComponentView, EntityIdTwo, VirtualWorkerTwo, WORKER_AUTHORITY_NOT_AUTHORITATIVE);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def car(expression):
if(expression[-1] == ")" and expression[-2] == ")" and
expression[-3] == ")"):
check = False
count = 0
for char in expression:
if(char == "'"): check = True
if(char == " " and check == True): count+=1
if(char == ")"): break
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/usr/bin/env python
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@exercises_blueprint.route('/exercises', methods=['POST'])
@authenticate
def add_exercise(resp):
"""Add exercise"""
if not resp['admin']:
response_object = {
'status': 'error',
| 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.