seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
admin.site.register(Time) | ise-uiuc/Magicoder-OSS-Instruct-75K |
field=models.ManyToManyField(to=settings.AUTH_USER_MODEL),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return fetchUrl(url1, data, baseUrl, nextSearch)
return _starter
def indirectStarter(url, latestSearch):
"""Get start URL by indirection."""
@classmethod
def _starter(cls):
"""Get indirect start URL."""
data, baseUrl = getPageContent(url, cls.session)
return fetchUrl(ur... | ise-uiuc/Magicoder-OSS-Instruct-75K |
length_fn (callable, optional): A function taking a data example as
argument, and returning the number of tokens in the example. By
default, :python:`len` is used, which is the desired behavior if the
dataset in question is a :class:`~texar.torch.data.MonoTextData`.
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if k not in df.colnames:
continue
try:
df[k].unit
except Exception as e:
print(e)
setattr(df[k], 'unit', u)
else:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if e.type == pygame.KEYDOWN and e.key == pygame.K_ESCAPE:
self.manager.go_to(titlescene.TitleScene())
if e.type == pygame.KEYDOWN:
if e.key == pygame.K_LEFT:
self.player.go_left()
if e.key == pygame.K_RIG... | ise-uiuc/Magicoder-OSS-Instruct-75K |
mod tests {
use super::{build_arp_msg_ipv4, parse_arp_msg, ARPOperation};
use crate::{EtherType, IPV4Addr, MACAddr};
// extern crate std;
// use std::println;
fn build_dummy_msg() -> [u8; 28] {
let ptypei = EtherType::IPV4;
let operationi = ARPOperation::Request;
let shai =... | ise-uiuc/Magicoder-OSS-Instruct-75K |
x = float(input("Ingrese el dato: "))
suma = suma + x
prom = suma / n
print("El promedio es: " ,prom) | ise-uiuc/Magicoder-OSS-Instruct-75K |
export class ExtractFormDataPipe implements PipeTransform {
transform(value: { [key: string]: any }) {
return Object.values(value).reduce((acc, val) => ({ ...acc, ...val }), {});
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public static ClassTypeNativeFieldMethodReflectionImpl getClassTypeNativeFieldMethodReflection(ClassTypeManagerImpl mgr)
{
return (ClassTypeNativeFieldMethodReflectionImpl)mgr.findClassType(CLASS.getName());
}
public String getVMClassName()
{
return CLASS.getName();
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
Args:
path: File path to read resource ids from.
Returns:
An array of ordered resource ids.
"""
ordered_resource_ids = []
with open(path, "r") as f:
for match in ORDERED_RESOURCE_IDS_REGEX.finditer(f.read()):
ordered_resource_ids.append(int(match.group(1)))
return ordered_resource_ids
| ise-uiuc/Magicoder-OSS-Instruct-75K |
7
>>> list(b.lines()) == [b'foo']
True
>>> len(b)
3
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .plots import histogram_dasc, moviedasc
histogram_dasc(img, outdir)
moviedasc(img, outdir, cadence)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
path_res = path_res/('experiments/results/'+str(exp_id))
file_res = open(path_res/'angle_error.txt', 'w')
json.dump(mean_errors, file_res)
file_res = open(path_res/'angle_error_final.txt', 'w')
json.dump(final_errors, file_res)
file_res = open(path_res/'angle_error_init.txt', 'w')
json.dump(... | ise-uiuc/Magicoder-OSS-Instruct-75K |
# this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder no... | ise-uiuc/Magicoder-OSS-Instruct-75K |
* author <NAME> (<EMAIL>)
* company weltenbauer. Software Entwicklung GmbH
* date January 2016
*/
//-----------------------------------------------------------------------------
import { MockAdapter } from '../logic/adapter/mock/mock.adapter';
import { Openhab1Adapter } from '../logic/adapter/openhab1/open... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def _get_args(self):
# names = ('data_dir', 'sub_dirs', 'results_dir')
# return [getattr(self, f'_{name}') for name in names]
return []
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
get_data_sql = """select * from marketing"""
df = pd.read_csv("data/bank_cleaned.csv", index_col="id")
df.drop("response_binary", axis=1, inplace=True)
df["predicted_response"] = ""
test_size= 0.20 # 20% for testing
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public class AdsAllocation {
private static AdsAllocation instance = null;
private static double mainLinePriceThreshold = 4.5;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import requests
import pandas as pd
from sys import stderr
# See the README for how to publish a google sheet as an excel document
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#print('combs:'+str(memory[next_X]))
for comb in memory[next_X]:
if k not in comb:
new_comb = comb | {k}
if new_comb not in all_combs:
all_combs.append(new_comb)
#print('appended combs:'+str(all_combs))
k += 1
next_X... | ise-uiuc/Magicoder-OSS-Instruct-75K |
yield sorted(zip(ids, weights))
if os.environ.get('GENSIM_BIG', False):
class TestLargeData(unittest.TestCase):
"""Try common operations, using large models. You'll need ~8GB RAM to run these tests"""
def test_word2vec(self):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
FIELDS,
SeriesVisitor::<TAG, T> {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
else:
return G
def prune_communities(G, min_size=2):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
lib_exc.NotFound,
self.admin_shares_v2_client.remove_access_from_share_type,
data_utils.rand_name("fake"),
self.admin_shares_v2_client.tenant_id)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
clear
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@Test
public void whenTwoValue(){
Max max = new Max();
assertThat(max.maxValue(4, 6), is(6));
}
@Test
public void whenInputFirstSecondThirdValueReturnMaxValue(){
Max max = new Max();
int result = max.max(1, 2, 6);
int expected = 6;
MatcherAssert.asser... | ise-uiuc/Magicoder-OSS-Instruct-75K |
clf = HierarchicalClassifier(cat_clfs, cd)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
state,
robotName,
pipetteSerial,
mount
) => {
const allCalibrations = getPipetteOffsetCalibrations(state, robotName)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
if (ctype_digit($id)) {
$user_find = User::find($id);
$user_request = [
'name' => $request->get('user_name'),
'password' => $<PASSWORD>('<PASSWORD>'),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
MESSAGE_USAGE = "Usage is python %s [name] [token]"
if __name__ == "__main__":
if len(sys.argv) == 3:
Bot(sys.argv[1], sys.argv[2])
else:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
dependencies = [
]
operations = [
migrations.CreateModel(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
} else if (answer.index === 125) {
answer.co2e = 0;
} else if (answer.index === 126) {
answer.co2e = result.answers[4].answer.multiplier * 0.1;
}
return answer;
}
case 10: {
answer.co2e = result.answers[8].answer.multiplier / answer.multiplier;
return answer;
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
return byteCount
}
}
@available(*, renamed: "ByteArrayOutputStream")
public typealias OutputByteStream = ByteArrayOutputStream
| ise-uiuc/Magicoder-OSS-Instruct-75K |
nome = input('Digite seu nome: ')
def saudar(x):
print(f'Bem-vindo, {x}!')
saudar(nome) | ise-uiuc/Magicoder-OSS-Instruct-75K |
class SignIn : UIViewController {
@IBOutlet weak var usernameBox : UITextField!
@IBOutlet weak var passwordBox : UITextField!
let ref: DatabaseReference = Database.database().reference()
let handle: AuthStateDidChangeListenerHandle? = nil
override func viewDidLoad() {
super.vie... | ise-uiuc/Magicoder-OSS-Instruct-75K |
// Put setup code here. This method is called before the invocation of each test method in the class.
// In UI tests it is usually best to stop immediately when a failure occurs.
continueAfterFailure = false
// UI tests must launch the application that they test. Doing this in s... | ise-uiuc/Magicoder-OSS-Instruct-75K |
public PedidosColocados pedidosColocados;
public PedidosRecebidos pedidosRecebidos;
public Estoque estoque;
public Backlog backlog;
public Recebimento recebimento;
public Expedicao expedicao;
public Custo custo;
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
var about: AboutProtocol?
let container = SwinjectStoryboard.defaultContainer
func applicationDidFinishLaunching(_ aNotification: Notification) {
container.resolve(ZikMemuInterface.self)?.showMenu()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mod double_line;
mod image_view;
pub use {
image_view::ImageView,
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
error = FileDataException(t)
for s in sources:
try:
return s[t]
except FileDataException:
pass
raise error
| ise-uiuc/Magicoder-OSS-Instruct-75K |
impl Alarm for QyWechat {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def start(self):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return $this->serviceTokens;
}
/**
* @param mixed $serviceTokens
*/
public function setServiceTokens($serviceTokens)
{
$this->serviceTokens = $serviceTokens;
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@Override
public boolean isSupported(ItemIOMode mode)
{
return itemHandlers.containsKey(mode);
}
@Override
public IItemHandler access(ItemIOMode mode)
{
IItemHandlerModifiable handler = itemHandlers.get(mode);
return handler != null ? handler : EmptyHandler.INSTANCE;... | ise-uiuc/Magicoder-OSS-Instruct-75K |
*/
namespace Javanile\Moldable\Model;
trait QueryApi
{
/**
* Query a list of records.
*
* @param type $query
*
* @return type
| ise-uiuc/Magicoder-OSS-Instruct-75K |
async def main():
parser = argparse.ArgumentParser()
parser.add_argument("ip",
help="ip address of the hub")
parser.add_argument("-d", "--shade",
help="name of the shade")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
gotoxy(15, 35);
cout << " ";
}
else if(tempType == 9)
{
cout << "TSHAPE 270 DEGREE";
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import LinkPackageButton from '../LinkPackageButton';
import PackageDisplay from './PackageDisplay';
import './PackageList.css';
export interface PackageListProps {
packageIds: string[];
handleAddPackage: () => void;
}
const PackageList = (props: PackageListProps): JSX.Element => {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@Override
public List<String> getAttachmentNames() {
return lotusEmail.getAttachmentNames();
}
@Override
public List<String> getFrom() {
return lotusEmail.getFrom();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
case "FINANCE":
$officeidlist = DB::connection('sqlsrv2')
->table('branch_office')
->select('office_id', 'office')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def classfinder(k):
res=1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
],
})
export class FooComponent {
title = 'test-app-v10';
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ax.add_patch(circle)
if len(coco_dts)==0 and len(coco_gts)==1:
bbox = ann['bbox']
rect = plt.Rectangle((bbox[0],bbox[1]),bbox[2],bbox[3],fill=False,edgecolor=[1, .6, 0],linewidth=3)
ax.add_patch(rect)
title = "[%d][%d][%d]"%(coco_gts[0]['imag... | ise-uiuc/Magicoder-OSS-Instruct-75K |
thumb: kilt.thumb,
},
{
value: "prosthetic",
thumb: prosthetic.thumb,
},
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if [ "$test_vm_num" -le 7 ]
then
continue
fi
echo -e "\t[VM-#8] Start Working..."
create_lock_or_wait "/tmp/test_vm_state"
sed -i 's/Tester_8:0/Tester_8:1/g' "$test_vm_state_file"
remove_lock "/tmp/test_vm_state"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return Point(x, y, z);
}
// This function implements the triangle intersection algorithm
bool Triangle::triangleIsIntersected(const Ray& ray, float& distAlongRayToHit, Point& hitPoint) const
{
float rayDirDotNormal = dot(ray.direction, faceNormal);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ip link set dev ns-wan1 down
ip link del dev ns-wan1
# [RealmGateway-A]
## LAN side
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Input period = len period stack of consecutive matrices distant between period interval.
Ex: Len = 4 and interval = 24 hours - stack [2014 08 07 01:00:00, 2014 08 08 01:00:00 , 2014 08 09 01:00:00, 2014 08 10 01:00:00] matrices
Input trend = len trend stack of consecutive matrices distant between trend interval. ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
)?;
if index.is_comment_root() {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def __call__(self, tensor):
tensor.sub_(self.mean).div_(self.std)
return tensor
def crop_img(img, roi_box):
h, w = img.shape[:2]
sx, sy, ex, ey = [int(round(_)) for _ in roi_box]
dh, dw = ey - sy, ex - sx
if len(img.shape) == 3:
res = np.zeros((dh, dw, 3), dtype=np.uint8)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
op_module = get_module(op_map[args.operation])
operation = op_module(qbertclient=qbertclient, args=args)
operation.run()
except KeyError:
# Operation not found in mapping
# Display help text
op_map['help']().run()
except Exception as ex:
LOG.error("An unex... | ise-uiuc/Magicoder-OSS-Instruct-75K |
long_description=open("README.md").read(),
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
winner_score = winner_rank_transformed / transformed_sum
loser_score = opponent_rank_transformed / transformed_sum
winner_rank = winner_rank + weighting * (
1 - winner_score)
loser_rank = loser_rank - weighting * loser_score
# Set a floor of 100 for the rankings.
winner_rank = 100 if ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
# from .img_reg import *
# from .transformation import *
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print()
script_p = subprocess.Popen([r'C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe','-ExecutionPolicy', 'Unrestricted', './dns.ps1'], cwd=os.getcwd())
script_p.wait()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
epochs_to_save (int list): Epochs to save checkpoints at.
"""
if current_epoch in epochs_to_save:
saver.save(sess, join(addr,"epoch_%i"%(current_epoch),"model.ckpt"))
def load_model(addr,sess):
"""Loads a model from the address of a checkpoint.
Args:
addr (str): Address of a... | ise-uiuc/Magicoder-OSS-Instruct-75K |
for ln in lines:
line = ln + " "
data += line[0:20]
if len(data) < 80:
data += " "
data = data[0:80]
time.sleep(0.05)
self.write(b"\x02")
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def get_all_keywords():
with open('keywords.txt', 'r') as f:
kws = [kw.strip() for kw in f.read().splitlines() if kw.strip()]
return kws
def delete_email_from_list(email):
with open('subscribed_emails.txt', 'r') as f:
lines = [line.split(":") for line in f.read().splitlines()]
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
vbox = QVBoxLayout()
vbox.addWidget(self.group_box)
self.lbl_Info = QLabel(self)
self.lbl_Info.setFont(QtGui.QFont("Sanserif", 15))
vbox.addWidget(self.lbl_Info)
self.setLayout(vbox)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"id": context.id,
"name": context.name,
}
return success_response(
{
"user": current_user.data,
"context": course_context,
"status": status,
"variant": "warning",
}
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
isGameActive: boolean;
noEchosystem: boolean;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def __init__(self, token: str, loop=None, proxy=None, proxy_auth=None, session: Optional[ClientSession] = None) -> None:
self.token = token
self.loop = asyncio.get_event_loop() if loop is None else loop
self.proxy = proxy
self.proxy_auth = proxy_auth
self.__session = session... | ise-uiuc/Magicoder-OSS-Instruct-75K |
class LCS:
""" Compute the Longest Common Subsequence (LCS) of two given string."""
def __init__(self, str_m, str_n):
self.str_m_len = len(str_m)
self.str_n_len = len(str_n)
dp_table = self._construct_dp_table(str_m, str_n)
self._lcs_len = dp_table[self.str_m_len][self.str_n_len... | ise-uiuc/Magicoder-OSS-Instruct-75K |
guess = -1
while guess != number:
guess = eval(input("Enter your guess: "))
if guess > number:
print("Your guess is too high")
elif guess < number:
print("Your guess is too small")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
))
JsonWriter.writeJsonObject(os.path.join(output_path, 'detections.json'), {'detections': obj_array })
elif type == SecurityContentType.stories:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
QVector<double> x(fft.getInSize());
for(int k=0;k<20;k++)
{
for(int i=0;i<x.size();i++)x[i]=distribution(generator);
CHECK(x.size()==fft.getInSize());
fft<<x;
CHECK(mse.val.size()==fft.getOutSize());
mse<<fft;
QVector<double> a=fft.Xabs;
for(int m=0;m... | ise-uiuc/Magicoder-OSS-Instruct-75K |
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
}
override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
mobile_app_ver = request.values.get('appver')
try:
mobile_app_ver = int(mobile_app_ver)
except (ValueError, TypeError):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
promiseReject: PromiseExecutorRejectTypeLikeGlobal,
) => ReturnType<EnhancedPromiseHandler<R>>;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
time=nc.num2date(tt[:],tt.units)
undef=f.variables['temp'].missing_value
f.close()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class ProductListTableViewCell: UITableViewCell {
@IBOutlet weak var nameLabel: UILabel!
@IBOutlet weak var productImageView: NetworkImageView!
@IBOutlet weak var priceLabel: UILabel!
@IBOutlet weak var descLabel: UILabel!
@IBOutlet weak var cartButton: UIButton!
var data: Displayable?
wea... | ise-uiuc/Magicoder-OSS-Instruct-75K |
opinion = raw_input("What do you think of this script? ")
print "You think %s is %s!" % (script, opinion)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
long long get_fibonacci_partial_sum_fast(long long from, long long to)
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
python tensorflow/examples/speech_commands/label_wav.py \
--graph=/tmp/my_frozen_graph.pb \
--labels=/tmp/speech_commands_train/conv_labels.txt \
--wav=/tmp/speech_dataset/left/a5d485dc_nohash_0.wav
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class TokenAuthResource(restful.Resource):
method_decorators = [token_auth]
class MinionPillar(TokenAuthResource):
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.w.bits &= !(3 << 13);
self.w.bits |= ((value as u32) & 3) << 13;
self.w
}
}
impl R {
#[doc = r"Value of the register as raw bits"]
#[inline(always)]
pub fn bits(&self) -> u32 {
self.bits
}
#[doc = "Bits 0:3 - Operation Type"]
#[inline(always)]
pub fn ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
public LiteralArray(Array array) {
this.array = array;
}
public void accept(NodeVisitor visitor) {
visitor.visit(this);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Ok(())
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo $test
done
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sys.path.append(module_path)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
lazy(|| {
// Start the transport system
spawn(comms_engine);
// Start the TunnelBuildRequest listener subsystem
spawn(tunnel_listener);
// Start the tunnel participant subsystem
spawn(tunnel_participant);
// Start network da... | ise-uiuc/Magicoder-OSS-Instruct-75K |
midnight_end = datetime.now().replace(hour=2, minute=29, second=0, microsecond=0)
morning_begin = datetime.now().replace(hour=9, minute=00, second=0, microsecond=0)
afternoon_close = datetime.now().replace(hour=15, minute=00, second=0, microsecond=0)
midnight_begin = datetime.now().repla... | ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/usr/bin/zsh
flake8 --max-line-length=120 $1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public StopOrderLifecycleFeed(string key,
string secret,
string passphrase,
bool isSandbox = false)
: base(
key,
secret,
passphrase,
isSandbox,
futures: true)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
dependencies = [
('shorter', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='urlslug',
name='is_used',
field=models.BooleanField(default=False, help_text='checked if was used as slug', db_index=True, verbose_name='Used'),
),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
svg: ({ classes }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M1451 43q9 0 44 29t82 73 100 97 97 100 74 82 29 45q0 7-17 29t-44 53-64 70-74 76-76 74-69 63-53 45-29 17q-20 0-33-14t-14-35q0-3 4-21t10-43 13-55 15-56 12-47 7-28H725q-26... | ise-uiuc/Magicoder-OSS-Instruct-75K |
)
self._wrapped = storage_class(*args)
def dsn_configured_storage_class(setting_name):
path = "{}.{}".format(
dsn_configured_storage.__module__, dsn_configured_storage.__name__
)
return type(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def add_cpp_quoted_include(self, filepath):
self.debug("Extension: Adding C++ quoted include '%s'" % filepath)
self.cpp_includes.append(self.CPPInclude(filepath, is_angled=False))
def add_cpp_angled_include(self, filepath):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class LinkCloserProcessor(commonmark.LinkCloserProcessor):
@backtrack_onerror
def parse_link_destination(self, reader: TextReader, document: Element) -> Tuple[str, str]:
reader.step()
destination = LinkDestinationParser().parse(reader, document)
title = LinkTitleParser().parse(reader, d... | 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.