seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
mouse::Interaction::Idle
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@attr.s(cmp=False, frozen=False)
class Obj(object):
"""Container for all state that need to be stored in the checkpoint.
Attributes:
model: A ModelWeights structure, containing Tensors or Variables.
optimizer_state: A list of Tensors or Variables, in the order returned by
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class ProfileSerializers(serializers.ModelSerializer):
class Meta:
model = Profile
fields = ('user','avatar','Bio') | ise-uiuc/Magicoder-OSS-Instruct-75K |
atlas.getCoord(getTeyselected(), false));
GL11.glVertex2f(getX(), getY());
GL11.glTexCoord2f(atlas.getCoord(getTexselected(), true),
atlas.getCoord(getTeyselected(), false));
GL11.glVertex2f(getX() + width, getY());
GL11.glTexCoord2f(atlas.getCoord(getTexselected(), true),
atlas.getCoord(getTeyselected(), true));
GL11.glVertex2f(getX() + width, getY() + height);
GL11.glTexCoord2f(atlas.getCoord(getTexselected(), false),
atlas.getCoord(getTeyselected(), true));
GL11.glVertex2f(getX(), getY() + height);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
('status', models.CharField(default='U', max_length=1, choices=[('U', 'Unclassified'), ('R', 'Rejected'), ('A', 'Accepted'), ('D', 'Duplicated')])),
('updated_at', models.DateTimeField(auto_now=True)),
('document', models.ForeignKey(to='library.Document')),
],
),
migrations.CreateModel(
name='StudySelection',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('has_finished', models.BooleanField(default=False)),
('review', models.ForeignKey(to='reviews.Review')),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
fn add(left: &Precision, right: &Precision) -> Precision {
use Bound::*;
use Precision::*;
match (left, right) {
(
Rational {
denominator_range: left_denominator_range,
numerator_range:
Range(
LowerBound(Inclusive(left_lower)),
UpperBound(Inclusive(left_upper)),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@staticmethod
def remain_segsize() -> int:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public List<TooltipElement> TooltipElementArray;
public static implicit operator Tooltip(TooltipType tooltipType) => new Tooltip { TooltipType = tooltipType };
public static implicit operator Tooltip(List<TooltipElement> TooltipElementArray) => new Tooltip { TooltipElementArray = TooltipElementArray };
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>sanils2002/SHELL-SCRIPTS<filename>assets/upperlowerlowerupperchars.sh
#!/bin/sh
| ise-uiuc/Magicoder-OSS-Instruct-75K |
tf.keras.layers.Dense(10)
])
return model
def compilemodel(model):
model.compile(optimizer='adam',
loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),
metrics=['accuracy'])
return model
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>Roboy/roboy_controlled_node_fpga
from ._DisparityImage import *
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'basic',
'textures',
'drawing',
]
__version__ = '1.1.1'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
:returns str: The URI.
"""
return uri_from_details(definition['namespace'],
definition['parameters']['loadName'],
definition['version'])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return bundle
class GroupResource(ModelResource):
class Meta:
queryset = Group.objects.all()
authorization = Authorization()
# excludes = ['is_staff', 'is_superuser', 'last_login', 'password', 'date_joined']
class ClientResource(ModelResource):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
err = dest.put(objIter.key(), objIter.value());
MojErrCheck(err);
++objIter;
} else {
MojObject::Type newType = objIter.value().type();
MojObject::Type prevType = prevIter.value().type();
if (newType == MojObject::TypeObject && prevType == MojObject::TypeObject) {
MojObject merged(MojObject::TypeObject);
err = mergeInto(merged, objIter.value(), prevIter.value());
MojErrCheck(err);
err = dest.put(objIter.key(), merged);
MojErrCheck(err);
} else {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
db_con = sqltor.connect(
host = config.DB_CONFIG['host'],
user = config.DB_CONFIG['username'],
passwd = config.DB_CONFIG['password'],
database = config.DB_CONFIG['database']
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
directory above the working directory).
:type common_resource_files: list[~azure.batch.models.ResourceFile]
"""
_validation = {
'coordination_command_line': {'required': True},
}
_attribute_map = {
'number_of_instances': {'key': 'numberOfInstances', 'type': 'int'},
'coordination_command_line': {'key': 'coordinationCommandLine', 'type': 'str'},
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print("T_rot:")
T_rot.print()
if __name__ == '__main__':
main()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if error == nil{
self.cars = beacons as! [Beacon]
self.tableView.reloadData()
}
})
// Uncomment the following line to preserve selection between presentations
// self.clearsSelectionOnViewWillAppear = false
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem()
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// We'd rather not be woken up by a signal
queue.wait(0, [&]() {
return !locked.test_and_set(std::memory_order_acquire);
});
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for (tid, status) in state.waiters.iter_mut() {
assert_ne!(*tid, me);
*status = CondvarWaitStatus::Broadcast(current::clock());
// Note: the task might have been unblocked by a previous signal
ExecutionState::with(|s| s.get_mut(*tid).unblock());
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def stream():
app.logger.info("Stream: " + request.remote_addr)
# return Response(event_stream(), mimetype="text/event-stream")
pc = r.get('Positive').decode()
nc = r.get('Negative').decode()
data = {'Positive': pc, 'Negative': nc}
# data = data.decode()
# print(data, type(data))
# data = json.loads(data)
rdata = json.dumps(data)
resp = Response(rdata, status=200, mimetype='application/json')
return resp
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
protected $type;
public function __construct($name, $type, $value = null)
{
parent::__construct($name, $value);
$this->type = $type;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
float distance_;
float fov_;
std::string name_;
};
#endif
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<div class="blog-content">
<h3 class="blog-title">
<a href="{{$post->url($locale)}}">{{$post->title}}</a>
</h3>
@if (config('binshopsblog.show_full_text_at_list'))
<p>{!! $post->post_body_output() !!}</p>
@else
<p>{!! mb_strimwidth($post->post_body_output(), 0, 600, "...") !!}</p>
@endif
</div>
</div>
</div> | ise-uiuc/Magicoder-OSS-Instruct-75K |
public var description: String {
"\(type(of: self)) with target: \(session.name)"
}
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
data = identifier + encoded_args
return TransactionInstruction(keys, PROGRAM_ID, data)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
path('styles/save/<str:layer_name>/<str:style_name>', views.save_style, name='%s.save_style' % APP_NAME),
re_path(r'^proxy/geoserver/rest/(?P<suburl>.*)$', views.geoserver_rest_proxy, name='%s.proxy' % APP_NAME),
re_path(r'^', include(Resources_api.urls)),
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
}
pub fn len(&self) -> usize {
unsafe { SysStringLen(self.0) as usize }
}
pub fn byte_len(&self) -> usize {
unsafe { SysStringByteLen(self.0) as usize }
}
pub fn is_null(&self) -> bool {
self.0.is_null()
}
pub fn as_ptr(&self) -> BSTR {
self.0
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@schema
class TreadmillTracking(dj.Imported):
definition = """ # session-level tracking data from the treadmill_pipeline(s) employed in the experiment
-> acquisition.Session
treadmill_tracking_time: datetime # start time of this treadmill_pipeline speed recording
---
treadmill_tracking_name: varchar(40) # user-assign name of this treadmill_pipeline tracking (e.g. 27032019laserSess1)
treadmill_timestamps: blob@ephys_store # (s) timestamps of the treadmill_pipeline speed samples
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// }).then(res => console.log('get ', res)).catch(e => console.log('get err', e))
// fast.get('/get', {
// url: '/example',
// params: {
// name: 'jack',
// age: 11
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return ["sol": WSConfig.solValue,
"api_key": WSConfig.apiKey,
"page": page]
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#get obj
obj=actor.models.{modelname}.get(args["guid"])
return params,obj
def match(j, params, args,actor, tags, tasklet):
return True
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/bin/sh
# run as a daemon
daemonize -c $PWD -e /tmp/mss.err -o /tmp/mss.out -p /tmp/mss.pid -l /tmp/mss.lock \
$PWD/kiam-ms -c .config/config.yaml -watch
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import android.support.v4.content.PermissionChecker;
import android.view.KeyEvent;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.view.inputmethod.EditorInfo;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import com.example.bgfvg.qq.MainActivity;
import com.example.bgfvg.qq.R;
import com.example.bgfvg.qq.presenter.LoginPresenter;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
</thead>
<tfoot>
<tr>
<th>Id</th>
<th>Owner</th>
<th>Status</th>
<th>Ip Address</th>
<th>Payment Type</th>
<th>Merchant Order No</th>
<th>Amt</th>
<th>Trade No</th>
<th>Details</th>
<th>Ordered At</th>
</tr>
</tfoot>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
try:
__version__ = _pkg_resources.require("sciplot-pyqt")[0].version
except:
pass
# __version__ = '0.2.2'
# __all__ = ['SciPlotUI']
# from .sciplotUI import SciPlotUI as main
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mention_data = MentionData.read_json_mention_data_line(mention_line)
mentions.append(mention_data)
return mentions
def get_tokens(self):
return self.tokens_number
| ise-uiuc/Magicoder-OSS-Instruct-75K |
xp_mom_flux = xp_tau
from mirgecom.viscous import viscous_flux
vflux = viscous_flux(discr, eos, cv, grad_cv, grad_t)
efluxerr = (
discr.norm(vflux.energy - xp_e_flux, np.inf)
/ discr.norm(xp_e_flux, np.inf)
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
dest.clone()
};
Ok(run::Mount::from_bind(dest, source, nix::mount::MS_BIND | propagation | readonly))
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def writerows(self, rows):
for row in rows:
self.writerow(row)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ans = 0
for i in range(N):
for j in range(N):
if grid[i][j] == 0:
continue
height = grid[i][j]
ans += 2
for h in range(1, height + 1):
adj = [[i + 1, j], [i - 1, j], [i, j + 1], [i, j - 1]]
for a, b in adj:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use Ansuns\Pay\Gateways\Alipay;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
default:
break
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return "events/{filename}".format(filename=filename)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
status=CommonVariables.extension_error_status,
code=str(CommonVariables.create_encryption_secret_failed),
message='UpdateEncryptionSettings failed.')
else:
encryption_config.passphrase_file_name = extension_parameter.DiskEncryptionKeyFileName
encryption_config.secret_id = kek_secret_id_created
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#include "JsonArrayNode.hpp"
#include "JsonObjectNode.hpp"
namespace json {
void parse(std::string src, std::function<void(nodeptr)> f, std::function<void(std::string)> e);
}
#endif | ise-uiuc/Magicoder-OSS-Instruct-75K |
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.gradient = self._create_gradient(self.canny)
@staticmethod
def _create_gradient(image):
"""
Convolve an image with Sobel Kernels in X and Y direction to create a gradient image.
(Gradient orientation of a box size 5x5 in rad)
"""
X = cv2.Sobel(image,cv2.CV_64F,1,0,ksize=5)
Y = cv2.Sobel(image,cv2.CV_64F,0,1,ksize=5)
gradient = np.arctan2(X,Y)
return gradient
| ise-uiuc/Magicoder-OSS-Instruct-75K |
end
end
/*
Add two keys and values to your environment variables, as shown in Figure 1-3). One key is is IMAGE_DIFF_DIR and has a value of $(SOURCE_ROOT)/$(PROJECT_NAME)Tests/FailureDiffs. The other key is FB_REFERENCE_IMAGE_DIR and has a value of $(SOURCE_ROOT)/$(PROJECT_NAME)Tests/ReferenceImages.
*/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
type Target = crate::R<BUF1CR_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<BUF1CR_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<BUF1CR_SPEC>) -> Self {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#path('api/', get_dummy_data),
#path('pollution/predict', get_prediction, name='test_predict'),
#path('myform/', api_form_view, name='year_form'),
#path('api/', include(router.urls)),
path(r'', main_view, name="main"),
path(r'api/v1/predict', PredictionView.as_view(), name='predict')
] | ise-uiuc/Magicoder-OSS-Instruct-75K |
return outDict
| ise-uiuc/Magicoder-OSS-Instruct-75K |
FileOutputFormat.setOutputPath(job, outputPath);
job.waitForCompletion(true);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
guard let user = try User.makeQuery().filter(User.Field.email, email).first() else { throw invalidCredentials }
if try BCryptHasher().verify(password: password, matches: user.password) {
if try user.token() == nil {
let newToken = Token(token: UUID().uuidString, user_id: user.id!)
try newToken.save()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//
// SceneDelegate.swift
// Example
| ise-uiuc/Magicoder-OSS-Instruct-75K |
input_shape = (630, 80)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import torch.nn.functional as F
import json
import os
import argparse
import numpy as np
import torch.optim as optim
import torch.nn as nn
from torch.utils.data import DataLoader
from datetime import datetime
from collections import defaultdict
from tensorboardX import SummaryWriter
from skimage.transform import pyramid_expand
from tqdm import tqdm
from Utils import utils
from DataProvider import cityscapes
| ise-uiuc/Magicoder-OSS-Instruct-75K |
average='micro',
labels=labels)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Imports
import graph as classes
from random import randint
# Generator
def generate(graph, num_nodes, num_edges, weight_range=(1, 1)):
"""
Add nodes and random edges to the graph.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
namespace WeaverBuildTools.Commands
{
public static class EmbedResourceCMD
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>vimc/montagu-webapps
node_modules/mocha-webpack/bin/mocha-webpack \
| ise-uiuc/Magicoder-OSS-Instruct-75K |
obj = {};
obj['detail'] = url + 'details/';
url_merge['objects'].append(obj);
config_siblings['pages'][2]['siblings_urls'][idx] = url_merge;
with open('../../../data/links/config-siblings.json', 'w') as f2:
json.dump(config_siblings, f2) | ise-uiuc/Magicoder-OSS-Instruct-75K |
preferredLanguages: locale.rLanguages
)
]
}
}
func createViewModel(
from state: SelectValidatorsConfirmationModel
| ise-uiuc/Magicoder-OSS-Instruct-75K |
u = Function(V)
# Permute the average edge integrals to match the order of the dofs.
u.vector()[:] = edge_int.take(build_edge2dof_map(V))
return u
f = Expression(("1.0 - x[1] + 2*x[2]", "3.0 + x[0] + 3*x[2]", "2.0 - 2*x[0] - 3*x[1]"))
domain = Box(0., 0., 0., 1., 1., 1.)
n = 8; mesh = BoxMesh(0., 0., 0., 1., 1., 1., n,n,n)
quad_degree = 2
V = FunctionSpace(mesh, "N1curl", 1)
u = n1curl_1_canonical_projection(f, mesh, quad_degree)
v = interpolate(f, V)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
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
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 governing permissions and
limitations under the License.
*/
package borderpaneexample;
import javafx.scene.canvas.GraphicsContext;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if (!client.connected()) {
connect();
}
}
}
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
Copyright (C) 2018 Datirium. LLC.
All rights reserved.
Contact: Datirium, LLC (<EMAIL>)
Licensed under the Apache License, Version 2.0 (the "License");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""Update the doctor by its id"""
doctorInput = request.get_json(force=True)
doc_first_name=doctorInput['doc_first_name']
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<?php
namespace GoFunCrm\Http\Controllers;
use GoFunCrm\Log;
use GoFunCrm\SetDateFlag;
use Illuminate\Http\Request;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for i,cnt in enumerate(contours):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
colors_["yellowgreen"] = RGBColor(154, 205, 50);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@Test
public void testInsertVolume() throws Exception {
Volume volume = new Volume();
volume.setName("name");
volume.setDescription("description");
volume.setTextId("textId");
volume.setSetTextId("setTextId");
volume.setSetName("setName");
volume.setSeriesName("seriesName");
// other children
volume.setOtherChildren(new ArrayList<MetadataObject>());
volume.getOtherChildren().add(TestHelper.createMetadataObject("name1"));
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
#[test]
fn tag_is_private_returns_true() {
let tag = Tag::new(9, 10);
assert_eq!(tag.is_private(), true);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class AddApiAttributes
{
/**
* @param Serializing $event
*/
public function handle(Serializing $event)
{
if ($event->isSerializer(DiscussionSerializer::class)) {
$event->attributes['canMerge'] = $event->actor->can('merge', $event->model);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
@Override
protected void report(MetricRegistrySnapshot snapshot, MetricTagsSnapshot tags, String key, Object value) {
String tableName = getTableName(key);
if (tableName == null) {
_logger.debug("Report skipped - key was filtered out [timestamp={}, key={}]", snapshot.getTimestamp(), key);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
else if(name == "UA:")
te->uvwA.x() = lexical_cast<float>(value);
else if(name == "VA:")
te->uvwA.y() = lexical_cast<float>(value);
else if(name == "WA:")
te->uvwA.z() = lexical_cast<float>(value);
else if(name == "UO:")
te->uvO.x() = lexical_cast<float>(value);
else if(name == "VO:")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
final class TSFWTests: XCTestCase {
func testExample() {}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public UnityEvent OnMax;
public UnityEvent OnMid;
public UnityEvent OnMin;
bool min = false;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.env["ouput_variable_name"] = ouput_variable_name
self.env[ouput_variable_name] = parent_folder_name
self.env["parent_folder_result"] = parent_folder_name
if __name__ == "__main__":
PROCESSOR = GetRecipeParentFolderName()
PROCESSOR.execute_shell()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
auto x = getLeafValue(root1);
auto y = getLeafValue(root2);
if (x.size() != y.size())
return false;
if (x.size() == 0)
return true;
return std::equal(x.begin(), x.end(), y.begin(), y.end());
}
bool isLeaf(TreeNode* root)
{
if (!root)
return false;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
:param data: an iterable collection of data
:param ret_type: if provided the used return type, otherwise ret_type(data)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export gdsVersion="1.1.6"
export zuluVersion="192.168.127.12"
export jreVersion="8.0.282"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print("}")
splitHalf(ranges) | ise-uiuc/Magicoder-OSS-Instruct-75K |
public static final String REQUEST_FORM = "form";
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Unicode characters beyond the latin-1 encoding will be encoded in hex escapes (e.g. \\xf0).
"""
# The point of this conversion is to escape all special characters and turn all Unicode
# characters into hex-escaped characters in the input string.
#
# The first step breaks up large Unicode characters into multiple UTF-8 hex characters:
# s_1 = s.encode("utf-8").decode("latin-1"), e.g. "\n 😀" => "\n ð\x9f\x98\x80"
#
# The next step escapes all special characters:
# s_1.encode("unicode-escape").decode("latin-1"), e.g. "\n ð\x9f\x98\x80" => "\\n \\xf0\\x9f\\x98\\x80"
#
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Adding Empty slide
pres.getSlides().addEmptySlide(pres.getLayoutSlides().get_Item(0));
// Adding Author
ICommentAuthor author = pres.getCommentAuthors().addAuthor("Aspose", "AS");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class DjangoAppPermissionsConfig(AppConfig):
name = 'django_app_permissions'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return f'"{self.nominated.name}" on "{self.category.name}"'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*/
use fmt;
use libc;
use option::{Option, Some, None};
use result::{Ok, Err};
use io::buffered::LineBufferedWriter;
use rt::rtio::{DontClose, IoFactory, LocalIo, RtioFileStream, RtioTTY};
use super::{Reader, Writer, io_error, IoError, OtherIoError,
standard_error, EndOfFile};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public function __construct($message="", Exception $previous = null) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if not os.path.isfile(gin_src):
print 'File not found:', gin_src
sys.exit(1)
parser.parse(gin_src, ini_dst)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
private Long keywordId;
public SunSpaceImportSpaceKeyword() {
// UNIMPLEMENTED
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>ego-item/src/main/java/com/ego/item/service/TbItemCatService.java
package com.ego.item.service;
import com.ego.item.pojo.CatMenu;
/**
* @Author: aelchao <EMAIL>
* @Date: 2018/8/30 下午3:20
*/
public interface TbItemCatService {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sm.warp(map[answer], 0) | ise-uiuc/Magicoder-OSS-Instruct-75K |
]
operations = [
migrations.AddField(
model_name='piece',
name='turn_destroyed',
field=models.ForeignKey(blank=True, help_text='The turn during which this piece was destroyed.', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='+', to='core.turn'),
),
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo "RESULT,$result_name,,$result,$USER,$start_fmt"
export PROFILE=0
| ise-uiuc/Magicoder-OSS-Instruct-75K |
super().__init__()
self.state = 'Not_tested'
def __remove_from_testing_list__(self):
self.City.TestingQueue.remove(self)
def add_to_TestingQueue(self, PrivateTest=False):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.view = NSView()
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from staticjinja import make_site
from glob2 import glob
import json
import os
import codecs
entries = {}
| 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.