seed stringlengths 1 14k | source stringclasses 2 values |
|---|---|
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { App, ContextProvider } from 'components';
ReactDOM.render((
<ContextProvider>
<App />
</ContextProvider>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
urlpatterns = [
# 函数 path 须提供两个位置参数:route 和 view
# 所有视图类均继承自 django.views.generic.base.View 类
# 后者提供了一个 as_view 方法,此方法内部定义并返回了一个嵌套 view 方法
# 该 view 方法就是视图函数
path('signup/', UserSignupView.as_view(), name='signup'),
# 这里使用了 django.contrib.auth.views 模块中定义的
# 视图类提供的登录、登出功能
# 该视图类的 as_view 定义在父类 django.views.generic.base.View 中
path('login/', auth_views.LoginView.as_view(
template_name='authentication/login.html'), name='login'),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fn main() {
Builder::from_env()
.input_config(routes::routes())
.output_file("routes.rs")
.build();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>0
package theHeart.cards;
public class EnergyLink {
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from ..ast import AVMLabel
from ..ast import BlockStatement
from ..compiler import compile_block
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let db_str = ~"rust_drop_coll";
let n = 15;
let colls = [~"coll0", ~"coll1", ~"coll2"];
for colls.iter().advance |&name| {
fill_coll(db_str.clone(), name, client, n);
}
let db = DB::new(db_str, client);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from Code.config import get_path
path = get_path()
delegates16 = pd.DataFrame(pd.read_csv(path+'/ScanSessions16/2016Delegates.csv',
usecols=['Delegate_ID', 'FestivalGenericName', 'ProductName', 'ProductGroup',
'Registered - CompanyName', 'Registered - Country',
'Registered - City', 'banding', 'sub_banding']))
delegates16.columns=['ID', 'Fest', 'ProductName', 'ProductGroup', 'Company', 'Country', 'City', 'Band', 'SubBand']
delegates16 = delegates16[delegates16['ID'] != 'None']
delegates16['ID'] = delegates16['ID'].astype(int)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Images
export ELASTICSEARCH_IMAGE=acumos-elasticsearch:4.0.5
export LOGSTASH_IMAGE=acumos-logstash:4.0.5
export KIBANA_IMAGE=acumos-kibana:4.0.5
export ELK_CLIENT=elk-client:4.0.5
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if 'next_hint' in response:
self._current_hint = response['next_hint']
return_value['next_hint'] = response['next_hint']
return return_value
def status(self):
return api.get_game_status(self._game_id)
def url(self):
return urljoin(api.BASE_URL, f'/game/{self._public_game_id}/')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Args:
x: Abscissa to evaluate.
n: Polynomial order.
Returns:
Value of polynomial.
"""
if n == 0:
return 1
elif n == 1:
return x
else:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
checkFalse = Case.Case([Rule({
'check': lambda x: False,
'match': '3140981',
'response': '3140981'
})], [{
'expected': [None],
'message': Case.Message('3140981').value()
}])
def isTeste(upd):
return upd.get('message').get('from').get('username') == 'devbot',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# problem3.py
# The prime factors of 13195 are 5, 7, 13 and 29.
# What is the largest prime factor of the number 600851475143 ?
number = 600851475143
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
for (ProgressMonitorListener listener : listeners)
listener.taskStarted();
}
final protected void fireTaskCompleted()
{
Collection<ProgressMonitorListener> listeners;
synchronized (_listeners) {
listeners = new ArrayList<ProgressMonitorListener>(_listeners);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
First attempts to serve the file from the filesystem,
then tries the database.
"""
name = kwargs.get('name') or kwargs.get('path')
document_root = kwargs.get('document_root')
document_root = document_root or settings.MEDIA_ROOT
try:
# First attempt to serve from filesystem.
return django_serve(request, name, document_root)
except Http404:
# Then try serving from database.
return serve(request, name)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
video_info_dict = {}
vd_epoch = -1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
( stty speed 115200 cs8 1>/dev/null 2>&1; python2 $ROOT/memsum.py Calliope) <$DEVICE
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# fix links and bad RST generated by pandoc
echo "Fixing links and bad RST"
sed -i -e 's/.. code::/.. code-block::/' $text_dst
sed -i -e 's!../assets/!_static/!' $text_dst
sed -i -e "s/ :warning: Note: /.. note::\n\n /" $text_dst
sed -i -e "s/ :warning: /.. warning::\n\n /" $text_dst
done
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"get_logging_config",
"service_config",
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Create ZIP (optional)
if [ "$ZIP" == 1 ] ; then
cd /tmp
zip -r $ZIP_OPTIONS "gh-bk/"
mv /tmp/1.zip /tmp/gh-bk-${NOW_DATE}.zip
fi
# Upload backup
if [ "$ZIP" == 1 ] ; then
echo "Moving /tmp/gh-bk-${NOW_DATE}.zip to ${RCLONE_PATH}gh-bk-${NOW_DATE}.zip"
rclone move -v "/tmp/gh-bk-${NOW_DATE}.zip" ${RCLONE_PATH}
else
echo "Moving /tmp/gh-bk to ${RCLONE_PATH}gh-bk-${NOW_DATE}"
rclone moveto -v "/tmp/gh-bk" ${RCLONE_PATH}gh-bk-${NOW_DATE}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/usr/bin/env python3
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Returns:
TemplateResponse: the http response
"""
if length == 0:
total_length = timedelta(days=100)
else:
total_length = timedelta(seconds=length)
rec_filter = scheme_filter.FilterRecipe(
cuisines=[scheme_cuisine.PydanticCuisine(name="Restaurant")],
rating=1,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#include "../librf.h"
namespace resumef
{
namespace detail
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
const altRow = rowIndex % 2 === 1;
// Need to work out why bundles are not working
// const foreColor = config.color;
const foreColor = this._settings.colorMap.color;
let bkgdColor: string;
const rowFocused = config.isRowFocused;
if (rowFocused && coreSettings.grid_FocusedRowColored) {
bkgdColor = this._settings.colorMap.bkgdFocusedRow;
} else {
// bkgdColor = config.backgroundColor;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
}; | ise-uiuc/Magicoder-OSS-Instruct-75K |
func update(power: Double) {
UIView.animate(withDuration: animationDuration, animations: {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.monitor_started = False
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class CRUDDomain(CRUDBase[Domain, DomainCreate, DomainUpdate]):
def create_with_owner(
self, db: Session, *, obj_in: DomainCreate, owner_id: int
) -> Optional[Domain]:
obj_in_data = jsonable_encoder(obj_in)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sqlalchemy.Column("user_id", sqlalchemy.ForeignKey(
'_ps_users.id', ondelete="CASCADE"), primary_key=True),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#ifndef REGISTRAR_HPP
#define REGISTRAR_HPP
| ise-uiuc/Magicoder-OSS-Instruct-75K |
break
else:
continue # only executed if the inner loop did NOT break
break # only executed if the inner loop DID break
#print('grName: {}, filePath:{}'.format(foundGrName, path) )
if '' == foundGrName:
dic = self._dicDefault
else:
if self._dicUser is None:
self._dicUser = dict()
if foundGrName not in self._dicUser:
self._dicUser[foundGrName] = dict()
dic = self._dicUser[foundGrName]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
var dataSource = Mapper<WeeklyTransactions>().map(JSONObject: [:])!
var weekNumber: Int = 0
var weekYear: Int = 0
var isFirstLoad = true
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def get_number(text: str) -> int:
return int(''.join(c for c in text.strip() if c.isdigit()))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
RegisterRequestSerializer,
LoginRequestSerializer,
OAuthLoginRequestSerializer,
InfoRequestSerializer,
DetectionRequestSerializer,
PingRequestSerializer,
DataExportRequestSerializer,
MappingExportRequestSerializer,
)
import logging
logger = logging.getLogger(__name__)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
neighbor_lists = [[] for x in range(npoints)]
for face in faces:
[v0, v1, v2] = face
if v1 not in neighbor_lists[v0]:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
operations = [
migrations.AlterField(
model_name='news',
name='sku',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# if form_action.attrs['action'] == "" or None:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fi
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
public const string Default = "do-nothing";
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
let (txaux, _, _, account, _, storage) = prepare_app_valid_withdraw_tx(20);
let result = verify_enclave_tx(&mut mock_bridge, &txaux, &extra_info, 0, &storage);
assert!(result.is_err());
let result = verify_unbonded_withdraw_core(&tx, &extra_info, &account);
expect_error(&result, Error::AccountNotUnbonded);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""Validate configuration file"""
click.echo('validate')
@cli.command()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo "$a"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# 让游戏一开始处于非活动状态
self.game_active=False
# 在任何情况下都不应重置最高得分
self.high_score=0
def reset_stats(self):
"""初始化在游戏运行期间可能变化的统计信息"""
self.ships_left=self.ai_settings.ship_limit
self.score=0
self.level=1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
name='hedgecock_dev',
version='1.0.0',
install_requires=[
"google-api-python-client",
"google-auth-httplib2",
"google-auth-oauthlib",
"cachecontrol",
'google',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
url: '/api/user',
method: 'get',
options: {
enabled: Boolean(jwt),
},
});
const allowPrivate = useSelector(
(state: AppState) => state.global.security.allowPrivate
);
if (error) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
textEmail = (EditText) findViewById(R.id.email);
textPassword = (EditText) findViewById(R.id.password);
progressBar = (ProgressBar) findViewById(R.id.progressBar);
Button btnLogin = (Button) findViewById(R.id.btn_login);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
This folder is used to store large datasets to avoid downloading them
several times.
By default the data dir is set to a folder named 'funk_svd_data' in the
user home folder. Alternatively, it can be set by the `FUNK_SVD_DATA`
environment variable or programmatically by giving an explicit
`data_dir_path`.
If the folder does not already exist, it is automatically created.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public struct HasInternalSetProperty {
public internal(set) var x: Int // expected-note {{setter for 'x' is not '@usableFromInline' or public}}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
params[name] = getattr(self, name)
return params
def _get_class_path(self):
return f'{self.__class__.__module__}.{self.__class__.__name__}'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import 'tailwindcss/tailwind.css';
import Layout from '../components/Layout';
const App: React.FC<AppProps> = ({ Component, pageProps }) => (
<>
<Head>
<title><NAME> | Web Developer</title>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
reg.sess
| ise-uiuc/Magicoder-OSS-Instruct-75K |
new_score = score + scoring_event
if new_score != 0:
dictionary_of_scores[new_score] =\
dictionary_of_scores.get(new_score, 0) + number_of_ways
list_to_return.append(sum(dictionary_of_scores.values()))
return list_to_return
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def current_function_name(depth=1):
return inspect.getouterframes(inspect.currentframe())[depth].function
class FileRemover:
def __init__(self, path, is_dir=False, ignore_errors=False):
self.path = path
self.is_dir = is_dir
| ise-uiuc/Magicoder-OSS-Instruct-75K |
row('set_once', 'b', '1'::jsonb)::person_property_update
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'''
Case Sensetive.
Support Numbers and Symbols.
Key Must be an Integer Lower Than Word Length and Higher than 1.
'''
def encryptRailFence(text, key):
rail = [['\n' for i in range(len(text))]
for j in range(key)]
dir_down = False
| ise-uiuc/Magicoder-OSS-Instruct-75K |
var hideSummary: Bool = false
var summaryHeaderCellController: SummaryHeaderCellController?
var summaryFooterCellController: SummaryFooterCellController?
| ise-uiuc/Magicoder-OSS-Instruct-75K |
작성자: xCrypt0r
언어: Python 3
사용 메모리: 29,380 KB
소요 시간: 76 ms
해결 날짜: 2020년 9월 13일
"""
def main():
N, M, K = map(int, input().split())
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from transform.transformer import TimeSeriesTransformer
import numpy as np
class IndexedTransformer:
def __init__(self, transformer: TimeSeriesTransformer, padding: int, step: int):
self.transformer = transformer
self.padding = padding
self.step = step
| ise-uiuc/Magicoder-OSS-Instruct-75K |
</button>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# ****************************************************************************
# Copyright (C) 2017 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
# https://www.gnu.org/licenses/
# ****************************************************************************
def stable_uniq(L):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
public class CourseRunDetailResponse
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
Value = value,
Display = display,
Reference = reference
}, compare);
}
public static ValidationNotification RequiredIfOtherNotNullIsValid(
this ValidationNotification source, IStructureToValidate data, object compare)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
controlButton.setOnClickListener(new View.OnClickListener() {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>Gnatnaituy/leetcode
package classify.twopointers;
/**
* @author yutiantang
* @create 2021/3/24 11:36 PM
*/
public class MaxConsecutiveOnes {
public int findMaxConsecutiveOnes(int[] nums) {
int cur = 0, max = 0;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return CaseData(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
type Props = {
mimicClass?: string;
};
const Spinner = ({ mimicClass = '' }: Props) => {
return <div className={`${mimicClass} spinner`} />;
};
export default Spinner;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* <p/>
*/
public class CollapseParentClauseVisitor implements NodeVisitor {
@Override
public void begin(ParentNode node) {
Class<? extends ParentNode> clause = node.getClass();
if (node.parent() != null) {
Class<? extends ParentNode> parentClause = node.parent().getClass();
if (clause.equals(parentClause)) {
//all children go to parent
for (Node child : node.children()) {
node.parent().addChild(child);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#
# 说明:
#
#
# 你可以假设所有的输入都是由小写字母 a-z 构成的。
# 保证所有输入均为非空字符串。
#
#
#
# @lc code=start
class Node(object):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
this._y = value;
this._gridAlignedY = this._ownerCanvas.getGridPosition(value);
}
public get width() {
return this.guiControl.widthInPixels;
}
public get height() {
return this.guiControl.heightInPixels;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .h5_file_ops import * | ise-uiuc/Magicoder-OSS-Instruct-75K |
# Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return False
async def async_open_cover(self, **kwargs):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
run_pipeline() | ise-uiuc/Magicoder-OSS-Instruct-75K |
if key in obj:
if isinstance(obj[key], bool):
if obj[key]:
toKey.append(key)
else:
toKey.append(obj[key])
return "-".join(toKey)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Include all global variables
if 'global_settings' in extension_settings:
global_settings = extension_settings['global_settings']
for global_setting in global_settings:
settings.update({global_setting: self.settings[global_setting]})
# Add all extension settings
| ise-uiuc/Magicoder-OSS-Instruct-75K |
qpRequired: 15
},
{
name: 'Grey hat',
gpCost: 100_000,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""Test h command (Cursor moves to the left)."""
main, editor_stack, editor, vim, qtbot = vim_bot
editor.stdkey_backspace()
cmd_line = vim.get_focus_widget()
_, col = editor.get_cursor_line_column()
qtbot.keyClicks(cmd_line, 'h')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if (memory.Y == lastSend.Y)
{
return memory.Y;
}
var input = inputs[0];
input.Enqueue(memory.X);
input.Enqueue(memory.Y);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def test_valid_document_works(tmp_path: Path, example_metadata: Dict):
generated_doc = dump_roundtrip(example_metadata)
# Do a serialisation roundtrip and check that it's still identical.
reserialised_doc = dump_roundtrip(
serialise.to_doc(serialise.from_doc(generated_doc))
)
assert_same(generated_doc, reserialised_doc)
assert serialise.from_doc(generated_doc) == serialise.from_doc(reserialised_doc)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.client.loop_start()
def disconnect(self):
self.client.disconnect()
self.client.loop_stop(force=False)
def publish(self, topic, data):
topic = str(topic, encoding='utf-8') # paho wants a string
| ise-uiuc/Magicoder-OSS-Instruct-75K |
YawControlEnv,
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
observation = self.env.reset(**kwargs)
[self.frames.append(observation['observation']) for _ in range(self.num_frames)]
return {'observation': self.observation(), 'instruction': observation['instruction']}
def __getattr__(self, name):
return getattr(self._env, name)
class GrayScaleObservation(ObservationWrapper):
r"""Convert the image observation from RGB to gray scale."""
def __init__(self, env, keep_dim=False):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class CourseAdmin(object):
list_display = ['name', 'desc', 'detail', 'degree', 'learn_times', 'students', 'fav_nums', 'image', 'click_nums',
'add_time']
search_fields = ['name', 'desc', 'detail', 'degree', 'learn_times', 'students', 'fav_nums', 'click_nums',
'add_time']
list_filter = ['name', 'desc', 'detail', 'degree', 'learn_times', 'students', 'fav_nums', 'click_nums',
'add_time']
class LessonAdmin(object):
list_display = ['course', 'name', 'add_time']
| ise-uiuc/Magicoder-OSS-Instruct-75K |
DataNotFoundError)
from .timeframe import MT5TimeFrame
| ise-uiuc/Magicoder-OSS-Instruct-75K |
MessageReader messageReader = new MessageReader(transportState, new List<MessageDefinition> { InitMessage.MessageDefinition }, new List<IMessageValidator>());
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return '/v4/{}/{}'.format(self.schema.Meta.api_type, value.id)
else:
if self.many:
return []
else:
return None
def _deserialize(self, value, attr, data, **kwargs):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# summary_writer.add_scalars( "NCEs and NNSs" , nce_dict, i)
prog_bar.set_description("Pair:{}, iter:{}, loss_style:{}, loss_cont:{}, loss_cycle:{}".format(
z+1,
i+1,
loss_dict["L_style"],
loss_dict["L_content"],
loss_dict["L_cycle"])
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
chars: The set of characters the neural network can recognize, excluding the CTC-blank.
Returns:
The decoded text.
"""
blank_idx = len(chars)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>iceworm/trees/_antlr/__init__.py
from .IceSqlLexer import IceSqlLexer # noqa
from .IceSqlLexer import IceSqlParserConfig # noqa
from .IceSqlListener import IceSqlListener # noqa
from .IceSqlListener import IceSqlParserConfig # noqa
from .IceSqlParser import IceSqlParser # noqa
from .IceSqlParser import IceSqlParserConfig # noqa
from .IceSqlVisitor import IceSqlParserConfig # noqa
| ise-uiuc/Magicoder-OSS-Instruct-75K |
infodict['method'] = stack[1][3]
infodict['file'] = stack[1][1]
infodict['line'] = stack[1][2]
infodict['source code'] = stack[1][4]
infodict['message'] = msg
logger.error(json.dumps(infodict))
pass
def debug(msg):
logger = logging.getLogger('mylogger')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export declare const isFile: (value: unknown) => value is File;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
printer.run()
pass
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pkgname = "python-sphinx-removed-in"
pkgver = "0.2.1"
pkgrel = 0
build_style = "python_module"
hostmakedepends = ["python-setuptools"]
checkdepends = ["python-sphinx"]
depends = ["python-sphinx"]
pkgdesc = "Sphinx extension for versionremoved and removed-in directives"
maintainer = "q66 <<EMAIL>>"
license = "BSD-3-Clause"
url = "https://github.com/MrSenko/sphinx-removed-in"
source = f"$(PYPI_SITE)/s/sphinx-removed-in/sphinx-removed-in-{pkgver}.tar.gz"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'fond':'averse',
'wrath':'delight',
'diligent':'idle',
'guide':'follow',
'flow':'jam'
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
fi >> x;
fi >> y;
dimen.push_back(make_pair(x, y));
}
int** array = new int*[n];
for (int i = 0; i < n; i++) array[i] = new int[n];
for (int i = 0; i < n; i++)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"is likely wrong", status.endTime.GetUTCYear(),
(uintmax_t)status.endTime.GetUTCDaqTime(),
status.startTime.GetUTCYear(),
(uintmax_t)status.startTime.GetUTCDaqTime(),
(status.endTime - status.startTime)/I3Units::gregorianyear);
}
#undef paranoia
for (I3OMGeoMap::const_iterator i = geo.omgeo.begin();
i != geo.omgeo.end(); i++) {
if (std::find(bdl.begin(), bdl.end(), i->first) != bdl.end())
continue;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let mask = 0x00000000FF
let r = Int(color >> 24) & mask
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Do any additional setup after loading the view, typically from a nib.
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
string absoluteFileName = Path.GetFileName(e.Name);
if (string.IsNullOrEmpty(absoluteFileName)) {
return;
}
if (IgnoredFiles.Where(x => x.Equals(absoluteFileName, StringComparison.OrdinalIgnoreCase)).Count() > 0) {
return;
}
if (EventActionPairs.Count <= 0) {
return;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return max_features
@staticmethod
def transform_0_to_none(par):
return None if par == 0 else par
def get_classifier(self):
| 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.