seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
163,41,35,95,40,128,26,233,199,13,131,41,151,7,140,240,
162,189,80,146,206,139,37,80,105,197,80,74,92,185,216,55,
230,39,17,71,39,219,30,220,139,218,240,190,159,113,228,205,
193,178,193,79,130,212,93,34,130,58,39,76,157,196,150,183,
7,142,58,237,255,143,145,195,41,102,78,77,145,245,81,106,
165,1... | ise-uiuc/Magicoder-OSS-Instruct-75K |
var filter = sn.Filter(a => a.HasValue);
var map = filter.Map(a => a.Value);
this.Repeat(map);
this.Register(map);
this.Register(filter);
this.Register(sn);
}
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
paths.append(os.path.join(gold_home, "bin"))
paths.append(os.path.join(gold_home, "sbin"))
# join the elements in paths by ;
os.environ['PATH'] = ":".join(paths)
def get_digits_from_a_string(string1):
'''
The number of processors or node_count sometimes shows 1L or None.
This function only... | ise-uiuc/Magicoder-OSS-Instruct-75K |
#hard coded list of cran repositories, from which we pick all major releases
supported_cran_repos=("bionic-cran40" "bionic-cran35")
echo "${supported_cran_repos[@]}"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.Text.Json.Serialization;
namespace InterlockLedger.Rest.Client
{
/// <summary>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
</div>
<div class="row">
<div class="col-md-12 margin_top10">
<span class="all_more_link">ชื่ออัลบั้ม</span>
<div class="row">
<div class="col">
<div class="form-group">
{!! Form::text('name_album', ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
sceneType: sceneType)
cell.pkInviteSubscribe = pkInviteSubscribe
return cell
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
:type nums: List[int]
:rtype: int
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo From shell `date` > $MONGO_ORCHESTRATION_HOME/server.log
cd "$MONGO_ORCHESTRATION_HOME"
# Setup or use the existing virtualenv for mongo-orchestration.
# Prefer using Python 3 from the toolchain over the default system python.
# We may still fallback to using an old version of Python here.
# Many of the Linux di... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def sequence_mask(lengths, max_len=None):
"""
Creates a boolean mask from sequence lengths.
"""
batch_size = lengths.numel()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//
//=============================================================================
typedef unordered_map<IntPair, int, IntPairHash, IntPairEqual> Pair2IntMap;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cd $1
done
}
rm -rf /home/kpit/Desktop/trial/source1.txt
export MY_PATH=$1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Run make install before run tests
"""
import pytest
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# ----------- Cleaning of MonoChromator--------------------- #
# ---------------------------------------------------------- #
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<th><strong>J<NAME></strong></th>
<th><strong>EMAIL</strong></th>
<th><strong>HANDPHONE</strong></th>
</tr>
</thead>
<tbody id="table-dosen">
<?php $no = 1; foreach ($users as $user) :?>
<tr>
<td class="text-center"><?php echo $no++;?></td>
<td><?php ech... | ise-uiuc/Magicoder-OSS-Instruct-75K |
<?php
namespace App\Enums;
final class Wage
{
public const PERCENT = 0.4;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
res = optimizer.solve()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import torch
from typing import Callable, List
from torch.utils.data import TensorDataset
class CsvDataset(TensorDataset):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export * from "./TryCategory";
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return binary_search(array, target, mid + 1, end)
return "no"
part_list = sorted(part_list)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
struct B : A { };
int main() {
B bobj;
A* ap = &bobj;
void * vp = dynamic_cast<void *>(ap);
cout << "Address of vp : " << vp << endl;
cout << "Address of bobj: " << &bobj << endl;
assert(vp == &bobj);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def test_matrix_determinant(self):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/* 创建Kafka配置对象 */
conf = rd_kafka_conf_new();
char builtin_features[120] = {0};
size_t len_size = sizeof(builtin_features);
rd_kafka_conf_get(conf, "builtin.features", builtin_features, &len_size);
printf("builtin.features: <%s>.\n", builtin_features);
/* 创建broker集群 */
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<link rel="stylesheet" type="text/css" href="">
<section class="content">
<div class="container-fluid">
<div class="block-header">
<h2>
Data Sekolah
<small><ol class="breadcrumb breadcrumb-col-pink">
<li><a hre... | ise-uiuc/Magicoder-OSS-Instruct-75K |
return "{0} - {1}.mp3".format(artist, name)
@classmethod
def get_download_basename_playlist(cls, playlist):
return sub(r"\s+", " ", playlist.name.strip())
@classmethod
def get_download_basename_album(cls, album):
artist, name = album.artist.name, album.name
artist, name... | ise-uiuc/Magicoder-OSS-Instruct-75K |
from .executors.hive import HiveQueryExecutor
from .executors.presto import PrestoQueryExecutor
from .executors.sqlalchemy import (
MysqlQueryExecutor,
DruidQueryExecutor,
SqliteQueryExecutor,
SnowflakeQueryExecutor,
)
from .executors.bigquery import BigQueryQueryExecutor
| ise-uiuc/Magicoder-OSS-Instruct-75K |
this.confirmRetroSettings(state);
} else {
this.onSettingsChange.emit(state);
if (this.dashboardMode) {
this.isLoading = true;
this.navigateToPatientSearch();
}
}
}
public navigateToPatientSearch() {
this.router.navigate(['patient-dashboard/patient-search']);
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
rm -rf build
rm -rf dist
rm -rf govuk_frontend_jinja.egg-info
python3 -m build | ise-uiuc/Magicoder-OSS-Instruct-75K |
self.tempFiles.append(self.vcf_sorted)
self.tempFiles.append(self.vcf_gz)
self.sortAndCompressVCF()
if not os.path.isfile(self.vcf_gz_tbi) or os.path.getmtime(self.vcf_gz)>os.path.getmtime(self.vcf_gz_tbi):
self.tempFiles.append(self.vcf_gz_tbi)
self.i... | ise-uiuc/Magicoder-OSS-Instruct-75K |
assert "Bad usage --with-velero requires --with-kubectl" in result
def test_from_ubuntu_20_04_pkg_latest():
cmd = f"build --from=ubuntu:20.04 --with-kubectl=latest --with-velero=latest"
image_id = common.cli(cmd)
assert len(image_id) == 12
docker_run_output = common.docker_run(
image_id, ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
const mapStateToProps = (state: RootState) => ({
searchId: getSearchId(state),
searchType: getSearchEntityType(state),
dataEntityTypesByName: getDataEntityTypesByName(state),
totals: getSearchTotals(state),
searchResults: getSearchResults(state),
pageInfo: getSearchResultsPage(state),
searchFiltersSynced:... | ise-uiuc/Magicoder-OSS-Instruct-75K |
* Only used with quasi-newton minimization. 15 is the default.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>1-10
DISCORD_WEBHOOK_URL = 'https://discord.com/api/webhooks/<<GUILDID>>/<<HOOK_KEY>>'
DISCORD_ROLE_ID = '810000000000000000' # Set this to 'everyone' if you want to @everyone
| ise-uiuc/Magicoder-OSS-Instruct-75K |
->references('uid')
->on('user')
->onUpdate('cascade')
->onDelete('cascade');
$table->unsignedInteger('updated_by');
$table->foreign('updated_by')
->references('uid')
->on('user')
->onUpdate('cascade')
->onDelete('cascade');
});
}
/**
| ise-uiuc/Magicoder-OSS-Instruct-75K |
jsonFormat: boolean, Default False
Save data into compressed json file
Returns:
None
Usage:
write(exampleDataFrame, '/dir1/exampleDataFrame', hdf5fileName='/dir2/data.h5')
"""
if jsonFormat:
utilityFunctions.createDirectories("/".join(fileName... | ise-uiuc/Magicoder-OSS-Instruct-75K |
while True:
r = int(input("Inserisci la riga (valori da 0 a 2): "))
c = int(input("Inserisici la colonna (valori da 0 a 2): "))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class FooterLink(models.Model):
title = models.CharField(max_length=200 , verbose_name='Title')
url = models.URLField(max_length=500 , verbose_name='Links')
footer_link_box = models.ForeignKey(to=FooterLinkBox , verbose_name='Category' , on_delete=models.CASCADE)
def __str__(sel... | ise-uiuc/Magicoder-OSS-Instruct-75K |
aar() {
if [ -n "$2" ]; then
PACKAGE=$2
else
read "PACKAGE?Type in the package name to install/upgrade with this ppa [${1##*/}]: "
fi
if [ -z "$PACKAGE" ]; then
PACKAGE=${1##*/}
fi
| ise-uiuc/Magicoder-OSS-Instruct-75K |
std::unique_ptr<llvm::Module> M = parseIRFile(llFilename, smDiagnostic, context);
if(!M) {
smDiagnostic.print("irtoopencl", errs());
// return 1;
throw runtime_error("failed to parse IR");
}
KernelDumper kernelDumper(M.get(), kernelname);
if(add_ir_to_cl) {
kernelDum... | ise-uiuc/Magicoder-OSS-Instruct-75K |
`temp_id` mediumint(9) NOT NULL auto_increment,
`site_id` mediumint(9) NOT NULL,
`url` varchar(225) NOT NULL,
`updatetime` int(11) NOT NULL,
PRIMARY KEY (`temp_id`)
) ENGINE=MyISAM AUTO_INCREMENT=191226 DEFAULT CHARSET=gbk");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public static class PluginMM
{
public static PluginLoaderControl plugin_loader = new PluginLoaderControl();
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
def showImage(capImg):
cv2.imshow('img', capImg)
cv2.waitKey(0)
cv2.destroyAllWindows()
img = cv2.imread('image11.jpg',-1)
height, width, channel = img.shape
topy= height
topx = width
hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let localCertData = try? Data(contentsOf: URL(fileURLWithPath: localCertPath))
if remoteCertificateData as Data == localCertData! {
let credential = URLCredential(trust: serverTrust)
challenge.sender?.use(credential, for: challenge)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
X_train.shape = (60000, 28, 28)
model = tf.keras.Sequential([
tf.keras.layers.Flatten(input_shape=(28, 28)),
tf.keras.layers.Dense(128, activation='relu'),
tf.keras.layers.Dropout(0.2),
tf.keras.layers.Dense(10)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(len(numbers))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
content.setLastChapterLink(lastChapterLink);
content.setNextChapterLink(nextChapterLink);
content.setBookName(novelName);
//休眠5秒后继续下个爬取任务
try{
Thread.sleep(5000);
}catch (InterruptedException e) {
Log.d("ThreadBug:",... | ise-uiuc/Magicoder-OSS-Instruct-75K |
#import os
#import pdb
#----------------------------------------------------------------------------------------------------
text = Text("../../../../testData/harryMosesDaylight/daylight_1_4.eaf",
"../../../../testData/harryMosesDaylight/audioPhrases",
grammaticalTermsFile="../../../../testData/... | ise-uiuc/Magicoder-OSS-Instruct-75K |
ON_CALL(verifier, verifyConstraints(_))
.WillByDefault(Return(ConstraintsVerificationResult()));
ON_CALL(verifier, verifyMultipleTestCasesConstraints())
.WillByDefault(Return(MultipleTestCasesConstraintsVerificationResult()));
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Downsampling
#wave = wave[::3]
#mfcc = librosa.feature.mfcc(wave, sr=16000, n_mels=22, n_mfcc=30, fmax=8000, n_fft=1024, hop_length=1024)
#librosa.util.normalize(mfcc, axis=1)
#mfcc = librosa.power_to_db(mfcc, top_db=80.0)
#mfcc = librosa.feature... | ise-uiuc/Magicoder-OSS-Instruct-75K |
with open('requirements.txt') as fid:
INSTALL_REQUIRES = [l.strip() for l in fid.readlines() if l]
# requirements for those browsing PyPI
REQUIRES = [r.replace('>=', ' (>= ') + ')' for r in INSTALL_REQUIRES]
REQUIRES = [r.replace('==', ' (== ') for r in REQUIRES]
REQUIRES = [r.replace('[array]', '') for r in REQU... | ise-uiuc/Magicoder-OSS-Instruct-75K |
vs.stop()
cv2.destroyAllWindows() | ise-uiuc/Magicoder-OSS-Instruct-75K |
value.append(Parser.tokens.actual.value)
value = ' '.join(value)
Parser.tokens.select_next()
body[key] = value
response[key_reponse] = body
try:
color = Parser.writer.RESPONSE_COLOR[str(actual)]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import org.tinymediamanager.ui.UTF8Control;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
DeliveryStreamName=self.stream_name)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/usr/bin/env python
"""interp_spline_interest.py: Demonstrate spline interpolation.
"""
from scipy.interpolate import splrep, splev
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from rq import Queue
from morphocut_server.worker import redis_conn
database = SQLAlchemy()
redis_store = FlaskRedis()
migrate = Migrate()
redis_queue = Queue(connection=redis_conn)
flask_rq = None
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
public interface IRatesComunication
| ise-uiuc/Magicoder-OSS-Instruct-75K |
desconto5 = (preco / 100) * 5
juros20 = (preco / 100) * 20
if condicao == '1':
print(f'O produto que era R${preco} com 10% de desconto será R${preco - desconto10}')
| 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 unde... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def get_routines(self) -> HoudiniInstallsInteractiveRoutines:
return HoudiniInstallsInteractiveRoutines(self.get_feedback_ui(), AbspathInputDefaultUI(self), SubpathInputDefaultUI(self))
def get_shell(self, item) -> AbstractShell:
return super(HoudiniInstallsCommand, self).get_shell()
def ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
/// Triggered when an index name of request changed
/// - Parameter: equals to a new index value
public let onIndexChanged: Observer<IndexName>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if updated.uuid != characteristicIdentifier.uuid {
preconditionFailure(
"Expecting notification state update to charactersitic: \(characteristicIdentifier.uuid), but actually updated: \(updated.uuid)"
)
}
state = .compl... | ise-uiuc/Magicoder-OSS-Instruct-75K |
dmatrix_result = encoder.decode("42.0,6.0,9.0\n42.0,6.0,9.0", content_type)
assert type(dmatrix_result) is xgb.DMatrix
| ise-uiuc/Magicoder-OSS-Instruct-75K |
IPADDR=$1
PORT=$2
KEY=$3
VALUE=`curl -s http://${IPADDR}:${PORT}/${KEY} | jq .value`
echo ${VALUE}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def __init__(self, name, id, email, menuroles="user"):
self.id = id
self.name = name
self.email = email
self.email_verified_at = "2020-12-16 16:08:24"
self.password = <PASSWORD>.PASSWORD
self.menuroles = menuroles
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
// MARK: - GitCommitAuthor
/// The author of a commit.
public struct GitCommitAuthor: Decodable, Equatable {
/// The display name for the author.
public let name: String
/// The email for the author.
public let email: String
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#include <QLogger.h>
#include <QUrlQuery>
using namespace QLogger;
namespace Jenkins
{
IFetcher::IFetcher(const Config &config, QObject *parent)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(pd.__version__)
# create a dataframe with non-lexsorted multilevel columns
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
@GetMapping(produces = "application/json")
public ResponseEntity<List<Configuracao>> findAll() {
List<Configuracao> perfis = configuracaoService.findAll();
ResponseEntity<List<Configuracao>> response = new ResponseEntity<>(perfis, HttpStatus.OK);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public async Task ThenTheRepositoryIsCalledWhenTheMessageIsValid()
{
//Arrange
var command = new CreateNewPeriodEndCommand { NewPeriodEnd = new PeriodEnd { CalendarPeriodMonth = 1, CalendarPeriodYear = 1 } };
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import { axiosNetworkErrorDetectionStrategy } from './ErrorDetectionStrategy/AxiosNetworkErrorDetectionStrategy';
export * from './AxiosRetryPolicy/axios-retry-policy';
export { axiosNetworkErrorDetectionStrategy };
| ise-uiuc/Magicoder-OSS-Instruct-75K |
persist_id (str): Id of the entity on the persistence layer
Returns:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for item in geneset['element_ordering']:
filehandle.write('%s\n' % item)
def listToString(self, s):
str1 = ""
for ele in s:
str1 += ele
return str1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
* @author <EMAIL>
* 2017/7/10
*/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[test]
fn test_write_resp_deleted() {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//creates the Position transformation matrix
public override Matrix4x4 Matrix
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
dispatcher = cls() # uhoh
| ise-uiuc/Magicoder-OSS-Instruct-75K |
__all__ = ['instant_parameters']
#-----------------------------------
def instant_parameters(signal, fs = None):
'''
Instant parameters estimation:
..math::
analitc_signal = hilbert(signal)
envelope = |analitc_signal|
phase = unwrap(angle(analitc_signal))
frequency = dif... | ise-uiuc/Magicoder-OSS-Instruct-75K |
except OutsideTimeBounds:
return with_status(None, 441, StatusType.ERROR)
else:
if did_change:
return with_status(None, 200, StatusType.OK)
else:
return with_status(None, 440, StatusType.NOOP)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@route_join_with_or_without_slash(blueprint, '', methods=['GET'])
def index():
abort(404)
@route_join_with_or_without_slash(blueprint, 'ls', methods=['GET'])
@route_join_with_or_without_slash(blueprint, 'ls', '<path:path>', methods=['GET'])
def ls(path=''):
if not path.startswith('user:... | ise-uiuc/Magicoder-OSS-Instruct-75K |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FamilyCongress2015.Models
| ise-uiuc/Magicoder-OSS-Instruct-75K |
output = subprocess.run(['mkdir', home+'/experiments/'+exp_name+'/'+i], capture_output=True)
# open(home+'/experiments/'+exp_name+'/inventory', )
# could add multi-inventory mode here, for now it's a single inv for all branches.
copyfile(home+'/utils/inventory', home+'/experiments/'+exp_... | ise-uiuc/Magicoder-OSS-Instruct-75K |
da=qdf['DA_km2'].to_numpy()
mRain=qdf['mnTRMM_mm_day'].to_numpy()
ID=qdf['ID'].to_numpy()
N=len(ID)
f1=plt.figure(num=1,figsize=(14,5))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from testlib_a.main_a import print_name
print_name()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo '!! EXAMPLES DID NOT PASS'
exit 3
fi
}
main "$@"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from abc import ABC, abstractmethod
import torch
import numpy as np
import SimpleITK as sitk
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return "Stereographic Azimuthal";
}
@Override
public Year getYear() {
return Year.of(-150);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Instantiate an example
example = Example({
i3: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
o3: [0, 0, 0, 5, 0, 0, 0, 6, 0, 1, 0, 7,
0, 2, 0, 8, 0, 3, 0, 9, 0, 4, 0, 10]
}).AddNchw(i3, o3, layout).AddVariations("relaxed", "float16", quant8)
# TEST 4: SPACE_TO_BATCH_NCHW_4, block_size = [3, 2]
i4 = Input("op1"... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def _greenlet_switch_tracer(self, what, (origin, target)):
self._active_greenlet = target
self._greenlet_switch_counter += 1
then = self._greenlet_last_switch_time
now = self._greenlet_last_switch_time = time.time()
if then is not None:
blocking_time = int(round((... | ise-uiuc/Magicoder-OSS-Instruct-75K |
import UIKit
class GestureTableViewCell: UITableViewCell {
@IBOutlet private weak var title: UILabel!
@IBOutlet private weak var subtitle: UILabel!
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BikeMates.Service.Models
{
public class UserModel
{
public string Id { get; set; }
public string Email { get; set; }
public string FirstName { get; set; }
| ise-uiuc/Magicoder-OSS-Instruct-75K |
parameters_lable_list_text.append(lable.text())
parameters_values_list_values = []
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from ..adddocs import adddocs
resheight = 0.25 # Resistor height
reswidth = 1.0 / 6 # Full (inner) length of resistor is 1.0 data unit
| ise-uiuc/Magicoder-OSS-Instruct-75K |
username!: string;
jwtToken!: string;
refreshToken!: string;
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
teams_structure = json.load(teams_file)
for i, team in enumerate(teams_structure['results']):
name = team['name']
path = os.path.join(ssh_key_path, team['name'])
pathlib.Path(path).mkdir(parents=True, exist_ok=True)
write_ssh_key(name, os.path.join(path, f'id_{key_type}'), k... | ise-uiuc/Magicoder-OSS-Instruct-75K |
fileMenu.add(iSaveAction);
fileMenu.add(new Separator());
fileMenu.add(iExitAction);
fileMenu.add(iNewWindowAction);
//Help Menu
helpMenu.add(iAboutAction);
}
public void fillCoolBar(ICoolBarManager coolBar){
IToolBarManager toolBar = new ToolBarManager(SWT.... | ise-uiuc/Magicoder-OSS-Instruct-75K |
* 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
| ise-uiuc/Magicoder-OSS-Instruct-75K |
const {
accessToken,
tokenTtl,
}: { accessToken: string; tokenTtl: number } = await response.json();
this.access.refresh = Date.now();
this.access.token = accessToken;
this.access.interval = tokenTtl * 60 ** 2;
return accessToken;
};
this.call = this._login();... | ise-uiuc/Magicoder-OSS-Instruct-75K |
if "blocked" in label.name.lower():
return label
return None
def process_milestone(
repo: Repository,
milestone: Milestone,
in_progress_label: Optional[Label],
blocked_label: Optional[Label],
) -> str:
now = datetime.now()
html_url = milestone._rawData["html_url"]
t... | ise-uiuc/Magicoder-OSS-Instruct-75K |
IFS=', ' read -r -a tensor_values <<< "$tensor_data"
# This path is relative to run.sh at the same level of resources
labels_file="$local_dir/labels.txt"
for i in "${!tensor_values[@]}"; do
class_num="$((i+1))"
hex_value="${tensor_values[$i]}"
| 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.