seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
// int passes = _effect.Begin(0);
// for (int i = 0; i < passes; i++)
// {
// _effect.BeginPass(i);
// base.DrawNodeGeometry();
// _effect.EndPass();
// }
// _effect.End();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .path import MovementPath
from .paths import MovementPaths
| ise-uiuc/Magicoder-OSS-Instruct-75K |
static var c_green: Color { Color("c_green")}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@patch("gease.contributors.Api.get_api")
def test_no_names(self, fake_api, _):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
student = Student()
# Obiekty możemy przekazywać jako argumenty do funkcji
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from django.shortcuts import render
from django.views.decorators.http import require_http_methods
def index(request):
return render(request, "index.html")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
COMMAND = 2
};
#endif | ise-uiuc/Magicoder-OSS-Instruct-75K |
import os
import sqlite3
conn = sqlite3.connect('test.db')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# retrieve only 9 digit concatinations of multiples where n = (1,2,..n)
n6 = [concat_multiples(num, 6) for num in [3]]
n5 = [concat_multiples(num, 5) for num in range(5,10)]
n4 = [concat_multiples(num, 4) for num in range(25,33)]
n3 = [concat_multiples(num, 3) for num in range(100,333)]
n2 = [concat_multiples(num, 2) for num in range(5000,9999)]
all_concats = set(n2 + n3 + n4 + n5 + n6)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<TableRow>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public BaseActionResult<CheckVersionResponse> CheckVersionNumber()
{
var result = new BaseActionResult<CheckVersionResponse>();
var url = string.Format("{0}CheckVersion", _appSettings.UnicardServiceUrl);
var json = JsonConvert.SerializeObject(new UnicardApiBaseRequest(),
Formatting.None,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore });
var response = _apiProvider.Post<CheckVersionResponse>(url, null, json).Result;
result.Success = response.Successful;
result.DisplayMessage = response.DisplayMessage;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return redirect(request.url)
if file and allowed_file(file.filename):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Publisher: Packt Publishing Ltd.
Author : <NAME> and <NAME>
Date : 1/25/2018
email : <EMAIL>
<EMAIL>
"
import numpy as np
import matplotlib.pyplot as mlt
n=np.linspace(0,10,10)
pv=100
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
return footroom_subhourly_energy_adjustment_rule(d, mod, prj, tmp)
m.GenVarStorHyb_Subtimepoint_Curtailment_MW = Expression(
m.GEN_VAR_STOR_HYB_OPR_TMPS,
rule=subtimepoint_curtailment_expression_rule
)
def subtimepoint_delivered_energy_expression_rule(mod, prj, tmp):
"""
Sub-hourly energy delivered from providing upward reserves.
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@Injectable({
providedIn: 'root'
})
export class LinkService {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<a href="<?= base_url('Artikel/detailTerkini/' . $d->id) ?>">
<strong>Baca selengkapnya</strong>
</a>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#if 0
bool
normalize_alignment(alignment& al,
const std::string& read_seq,
const std::string& ref_seq) {
assert(0);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let allBands = self.flatMap { $0.rows }
| ise-uiuc/Magicoder-OSS-Instruct-75K |
extension WLPublishTableHeaderView {
public override func layoutSubviews() {
super.layoutSubviews()
tf.snp.makeConstraints { (make) in
make.left.right.equalToSuperview()
make.top.equalTo(1)
make.bottom.equalTo(-1)
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def matches_github_exception(e, description, code=422):
"""Returns True if a GithubException was raised for a single error
matching the provided dict.
The error code needs to be equal to `code`, unless code is
None. For each field in `description`, the error must have an
identical field. The error can have extraneous fields too. If
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return true;
}
return false;
};
public void showFragment(Fragment target) {
FragmentTransaction transaction = manager.beginTransaction();
if (activeFragment != null) {
transaction.hide(activeFragment);
if (target.isAdded()) {
transaction.show(target);
} else {
transaction.add(R.id.content, target);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
plt.axis('off')
plt.savefig(dir + assets[0] + '_' + assets[1] + '.png')
plt.clf()
def chunkIt(seq, num):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// Extract the URL of a file from the DropInfo object
/// - Parameters:
/// - info: The DropInfo object
/// - completion: completion handler with an optional URL
class func urlFromDropInfo(_ info:DropInfo, completion: @escaping (URL?) -> Void) {
guard let itemProvider = info.itemProviders(for: [UTType.fileURL]).first else {
completion(nil)
return
| ise-uiuc/Magicoder-OSS-Instruct-75K |
prom_site = web.TCPSite(metrics_runner, "0.0.0.0", self.prometheus_port)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fi
run "update-ca-certificates" "${debug}"
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
try:
import urllib.parse as urllib # pragma: PY3
except ImportError:
import urllib # pragma: PY2
try:
text_type = unicode # pragma: PY2
except NameError:
text_type = str # pragma: PY3
class Debugger(object):
pdb = Pdb
| ise-uiuc/Magicoder-OSS-Instruct-75K |
8-digit datetime group definining the start of the Argo sample period.
Format: YYYY-MM-DD.
dtg_end : str
8-digit datetime group defining the end of the Argo sample period.
Format: YYYY-MM-DD.
min_db : float, optional
Minimum pressure to include in Argo samples. Default is 0.
max_db : float, optional
Maximum float to include in Argo samples. Default is 1500.
Returns
| ise-uiuc/Magicoder-OSS-Instruct-75K |
protected $table = 'Access.RPL test';
// Delare to make change
protected $primaryKey = 'ID';
public $timestamps = false;
protected $guarded = ['ID', 'Monthly Income - USD calc'];
public function rpl()
{
return $this->belongsTo('App\RPL', 'ID', 'RPL ID');
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cocona.Command.Dispatcher.Middlewares
{
public class HandleParameterBindExceptionMiddleware : CommandDispatcherMiddleware
{
private readonly ICoconaConsoleProvider _console;
public HandleParameterBindExceptionMiddleware(CommandDispatchDelegate next, ICoconaConsoleProvider console) : base(next)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
P_row = []
for i in range(nS):
P_row.append(environment.transitions[k][i]["probability"])
P.append(P_row)
P = np.array(P)
mu = (1-GAMMA) * np.linalg.inv(np.eye(nS) - GAMMA * pi2 @ P).T @ mu0
J = 1 / (1 - GAMMA) * mu @ pi2 @ r
print(f"Performance J: {J}")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if succeeded {
print("Successfully uploaded picture");
} else {
print("Error in uploading picture");
}});
self.performSegue(withIdentifier: "postSegue", sender: nil)
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# 'dataset1',
# 'seed0',
# 'seed1',
# 'estimator0',
# 'estimator1',
# 'criterion',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from ..util import load_amici_objective
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ENVIRONMENT = 0
# ===========================================================
# 本地调试
# ===========================================================
# mongodb
DATABASE_HOST = '192.168.14.240'
# redis
REDIS_HOST = '192.168.14.240'
# ===========================================================
# 通用配置
# ===========================================================
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<div class="pb-5 rounded-lg shadow-lg m-auto">
<img
src="{{ asset('content/'. $update->image) }}" alt="{{$update->image}}"
style="width: 45rem; height: 24rem"
class="rounded-t-lg">
</div>
</div>
@empty
<h1 class="text-center text-blue-400">NO UPDATES YET!</h1>
@endforelse
</div>
</div>
</div>
</div>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
public static string ConvertToChinese(decimal number)
{
var s = number.ToString("#L#E#D#C#K#E#D#C#J#E#D#C#I#E#D#C#H#E#D#C#G#E#D#C#F#E#D#C#.0B0A");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# act
output_df = explode_json_column(input_df, "json_column", json_column_schema)
# arrange
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[derive(Debug, Default, Clone, Hash)]
pub struct MemReader {
pos: usize,
buf: Vec<u8>
}
impl io::Read for MemReader {
fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
let out_amount = self.buf.len() - self.pos;
let in_space = buf.len();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<div class="col-md-12">
<br>
<a href="{{ url('employee/create') }} " class="btn btn-primary">Crear Nuevo Empleado</a>
<a href="{{ url('/') }} " class="btn btn-primary">Inicio</a>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
args.training_script = "train.py"
args.training_script_args = ["--distributed", "--dataset_base_path",
"/home/w00445241/project_set/project_paddle/UCF-101/", "--output_base_path",
"/home/w00445241/project_set/project_paddle/Eco/TSN/checkpoints_models/ECO_distributed_1/"]
print(args.log_dir, args.training_script, args.training_script_args)
launch.launch(args)
logger.info(args)
train(args, distributed)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class CloudPollingScheduler(MongoScheduler):
Model = CloudPollingSchedule
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# imporing libraries
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
| ise-uiuc/Magicoder-OSS-Instruct-75K |
afterEach {
embeddedController = nil
sut = nil
}
context("when embedding controller with no target view") {
beforeEach {
sut.embed(childViewController: embeddedController)
}
it("should add embedded controller view to controller's main view subviews") {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public abstract class Joint {
protected long addr;
private final Vector2 anchorA = new Vector2();
private final Vector2 anchorB = new Vector2();
protected JointEdge jointEdgeA;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"DRAT-pivot-is-first-literal" => {
if specified_pivots.len() > 1 {
return Err(format!("Using proof_format = \"{}\", the first literal must be specified as pivot and nothing else",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public void scheduleIntent(long index, long delayInMillis, Bundle content) {
PendingIntent pendingIntent = getPendingIntent(index, content);
scheduleAlarm(delayInMillis, pendingIntent);
}
@Override
public void unscheduleIntent(int index) {
alarmManager.cancel(getPendingIntent(index, null));
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fn event(&mut self, ctx: &mut EventCtx, event: &Event, data: &mut DruidAppData, env: &Env) {
self.pod.event(ctx, event, data, env);
}
fn lifecycle(
&mut self,
ctx: &mut LifeCycleCtx,
event: &LifeCycle,
data: &DruidAppData,
env: &Env,
) {
self.pod.lifecycle(ctx, event, data, env);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo -e "\n### NOT updating project (no remote for branch $git_branch)"
fi
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using OnsetTimes = Vector<double>;
using Thresholds = Array<int, 3>;
using ScoreElem = Array<double, 5>;
using Score = SortedVec<ScoreElem>;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from . import fullSystemTests, unitTests
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>1-10
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import org.springframework.cloud.kubernetes.fabric8.config.Fabric8ConfigMapPropertySourceLocator;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.ApplicationEventPublisherAware;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
out.push_back(std::min(speeds[i], speed_limits[i]));
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export_icon m 64 ${1}
export_icon h 96 ${1}
export_icon xh 128 ${1}
export_icon xxh 192 ${1}
}
inkscape --shell <<COMMANDS
`export_icons ic_pause`
`export_icons ic_play`
`export_icons ic_replay`
`export_icons ic_stop`
quit
COMMANDS
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AwsNative.AmplifyUIBuilder.Inputs
{
public sealed class ComponentVariantArgs : Pulumi.ResourceArgs
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
new.database_entries = entries
| ise-uiuc/Magicoder-OSS-Instruct-75K |
string += "\t<div id=\""+self.get_plot_div()+"_overview\" style=\"width:166px;height:100px\"></div> \n"
string += "\t<p id=\""+self.get_plot_div()+"_overviewLegend\" style=\"margin-left:10px\"></p>\n </div> \n\
<script id=\"source\" language=\"javascript\" type=\"text/javascript\">\n\
$(function(){\n"
return string;
#called by get_options_string()
def get_markings_string(self):
string = "\t\t\t\t\tmarkings: [\n"
for mark_area in self.markings:
string += "\t\t\t\t\t\t{"
if('xaxis' in mark_area):
xaxis = mark_area['xaxis']
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if (it == chunks.rend()) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
package com.dangdang.config.service.easyzk.demo;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apache.curator.retry.ExponentialBackoffRetry;
import org.apache.zookeeper.data.Stat;
import com.google.common.collect.Maps;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import updater
class TestCore(unittest.TestCase):
""" Unit-tests for the core. """
def setUp(self):
os.chdir(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # Set the working directory to the root.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Whether to write to log database during anonymisation.
GDPR_LOG_ON_ANONYMISE = True
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#同步游戏服务器资源
| ise-uiuc/Magicoder-OSS-Instruct-75K |
else:
print("[run_snippets.py] OK ({succeeded})"
.format(succeeded=len(succeeded)))
if __name__ == "__main__":
main()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
plt.plot(out.index, out.to_numpy())
#plt.plot(out.index, out.to_numpy())
plt.plot(out.index, [model.coef_*x + model.intercept_ for x in range(len(out.to_numpy()))] )
plt.xticks(np.arange(0, 60, step=10)) # Set label locations.
plt.xticks(rotation=45)
plt.title(f"{city} - {prediction[city]} - {model.coef_}")
plt.show()
#return prediction(city_name)
return model.coef_, prediction[city_name]
print(trend_in("Thunder Bay"))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Override point for customization after application launch.
MobAPI.registerApp(LTKConstants.CookAppKey)
return true
| ise-uiuc/Magicoder-OSS-Instruct-75K |
bottom_esp = newer_frame.read_register("esp")
top_esp = frame.read_register("esp")
function_name = frame.function()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import OSC, random, time
c = OSC.OSCClient()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
clientSocket = serverSocket.AcceptTcpClient();
Console.WriteLine(" >> Accept connection from client: " + DateTime.Now);
Helper.WrittingLogs(" >> Accept connection from client: " + DateTime.Now);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// For a mass of 1969, the fuel required is 654.
/// For a mass of 100756, the fuel required is 33583.
fn test_calculate_fuel_naive() {
init();
assert_eq!(calculate_fuel_naive(12), 2);
assert_eq!(calculate_fuel_naive(14), 2);
assert_eq!(calculate_fuel_naive(1969), 654);
assert_eq!(calculate_fuel_naive(100756), 33583);
}
#[test]
/// A module of mass 14 requires 2 fuel. This fuel requires no further fuel (2 divided by 3 and rounded
/// down is 0, which would call for a negative fuel), so the total fuel required is still just 2.
/// At first, a module of mass 1969 requires 654 fuel. Then, this fuel requires 216 more fuel (654 / 3 - 2).
/// 216 then requires 70 more fuel, which requires 21 fuel, which requires 5 fuel, which requires no
| ise-uiuc/Magicoder-OSS-Instruct-75K |
assorted_values.append([raw_values[index][0], raw_values[index][1], pops])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cgit_stdin.write_all(&stdin).unwrap();
}
let c_stdout = cgit.wait_with_output().unwrap().stdout;
let r_tgr = TempGitRepo::new();
let r_path = r_tgr.path();
let _r_cwd = TempCwd::new(r_path);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
flat_index - 1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
finalhash = bytes([a^b for a,b in zip(finalhash, hash)])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# pylint: disable=import-error
import ruamel.yaml as yaml
from ansible.module_utils.basic import AnsibleModule
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# iris contains all the data related to irises
iris = datasets.load_iris()
# to get the information out of the iris dataset
# print(iris.target_names)
# print(iris.feature_names)
# The reason I am using Panda is because it seems to be useful to see the data better.
# Using Panda, when you print out, you see the columns' signification and the rows' number.
data = pd.DataFrame(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import re
import shutil
| ise-uiuc/Magicoder-OSS-Instruct-75K |
virtual void visit(gencode_node& n) = 0;
virtual void visit(expand_node& n) = 0;
virtual void visit(add_node& n) = 0;
virtual void visit(load_node& n) = 0;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
0x00, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x0f, 0xf0, 0xe0, 0x07, 0x00, 0x0f, 0xf0, 0xe0, 0x07, 0x00,
0x0f, 0xf0, 0xe0, 0x07, 0x00, 0x0f, 0xf0, 0xe0, 0x07, 0x00, 0x0f, 0xf0, 0xe0, 0x07, 0x00, 0x0f,
0xf0, 0xe0, 0x07, 0x00, 0x0f, 0xf0, 0xe0, 0x07, 0x00, 0x0f, 0xf0, 0xe0, 0x07, 0x00, 0x00, 0x00,
0xe0, 0x07, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x80, 0x00, 0x01, 0xe0,
0x07, 0xff, 0xff, 0xff, 0xe0, 0x03, 0xff, 0xff, 0xff, 0xc0, 0x01, 0xff, 0xff, 0xff, 0x80, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let mut response = client.get(&download_url).send()?.error_for_status()?;
let mut save_file = File::open(save_path)?;
response.copy_to(&mut save_file)?;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
script_path=`dirname $script`
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use ArrayAccess;
use Travelhood\OtpSimplePay\Exception\PageException;
abstract class Page extends Component implements ArrayAccess
{
public function __construct(Service $service)
{
parent::__construct($service);
$this->validate();
}
public function validate()
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def new_expression(cast=int):
if cast == bytes:
cast = lambda x: psycopg2.Binary(str(x).encode())
return Expression(new_field(), '=', cast(12345))
def new_function(cast=int):
if cast == bytes:
cast = lambda x: psycopg2.Binary(str(x).encode())
return Function('some_func', cast(12345))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
last_name = request.POST.get('LastName')
full_name = first_name + " " + last_name
email = request.POST.get('Email')
username = request.POST.get('Username')
password = request.POST.get('Password')
user_id = request.POST.get('UserId')
user_role = request.POST.get('UserRole')
save_user = user_models.User.objects.create(full_name=full_name, username=username, user_id=user_id, email=email, role=user_role, )
| ise-uiuc/Magicoder-OSS-Instruct-75K |
description="Evaluation",
# No point gathering the predictions if there are no metrics, otherwise we defer to
# self.args.prediction_loss_only
prediction_loss_only=True if self.compute_metrics is None else None,
ignore_keys=ignore_keys,
metric_key_prefix=metric_key_prefix,
)
finally:
self.compute_metrics = self.compute_metrics
else:
for _,batch in enumerate(eval_dataloader):
for _,label in enumerate(batch):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ngOnInit(): void {
this.http.post('http://localhost:8080/getmytickets', {id:Number(localStorage.getItem("id"))})
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[serde(rename = "snapshot")]
pub snapshot: Option<String>,
/// True if symlinks are supported. This value is used to advise the client of optimal settings for the server, but is not enforced.
#[serde(rename = "symlinks")]
pub symlinks: Option<bool>,
/// Specifies the resolution of all time values that are returned to the clients
#[serde(rename = "time_delta")]
pub time_delta: Option<f32>,
/// Specifies the synchronization type.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for x in range(0,1000000):
numDecInt += 1
numBinStr = bin(numDecInt)
numBinStr = numBinStr.replace("0b","")
numDecStr = str(numDecInt)
if (int(numDecStr) == int(numDecStr [::-1]) and numBinStr == (numBinStr [::-1])):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[serde(rename = "41806")]
/// Encoded (non-ASCII characters) representation of the UnderlyingDeliverySreamCycleDesc(41805) field in the encoded format specified
/// via the MessageEncoding(347) field.
#[serde(skip_serializing_if = "Option::is_none")]
#[serde(alias = "41807")]
pub encoded_underlying_delivery_stream_cycle_desc: Option<fix_common::EncodedText<41807>>,
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
[0,0,1,1,0,1,0,1,0,1,1,0,0,1,0,0],
[0,0,1,1,1,0,1,0,1,1,1,0,1,0,0,0],
[0,0,1,1,0,1,0,1,0,1,1,1,0,0,0,0],
[0,0,1,1,1,0,1,0,1,1,1,0,0,0,0,0],
[0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0],
| ise-uiuc/Magicoder-OSS-Instruct-75K |
demo.router, prefix="/vector",
)
app.include_router(
tiles.router, prefix="/vector",
)
app.include_router(
index.router, prefix="/vector",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def save_influx_query( return_example_2):
point = {
"measurement": "measurement_2",
"fields": {
"data_1": return_example_2
| ise-uiuc/Magicoder-OSS-Instruct-75K |
private WebRelayTemplateContainerInitFactory() {
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* ImageWrapper_to_GLTexture.cpp
*
* Copyright (C) 2021 by VISUS (Universitaet Stuttgart).
* Alle Rechte vorbehalten.
*/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
private ScenarioContext _context;
protected override string PageTitle => "Privacy and cookies";
| ise-uiuc/Magicoder-OSS-Instruct-75K |
local br=`git -C $target branch | grep '*'`;
br=${br/* /}
git -C $target fetch --all
git -C $target reset --hard origin/${br}
}
main $*
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Revision ID: 13eac0b0e923
Revises: <KEY>
Create Date: 2021-07-14 16:22:27.645299
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.title = "SC Path list"
self.bll.reloadAction = { [weak self] in
MBProgressHUD.hide(for: self?.view ?? UIView(), animated: true)
self?.tab.reloadData()
}
initVw()
kvoob = observe(\.tab.contentOffset, options: [.new]) { (objectss, changsse) in
print("halo....\(String(describing: changsse.newValue))")
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.cursor = mock.Mock()
self.cursor.execute = mock.Mock(return_value=None)
self.cursor.executemany = mock.Mock(return_value=None)
self.cursor_wrapper = CidCursorWrapper(self.cursor)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import javax.swing.*;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for j in range(i,0,-1):
ch=chr(ord('Z')-j+1)
print(ch,end="")
x=x+1
print()
| 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.