seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
<div className='jsoneditor' ref={this.bindEditorElement} />
</>
);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Calculates zero-shot classification accuracy
:param S_preds: estimated semantic labels
:param S_test: ground truth semantic labels
| ise-uiuc/Magicoder-OSS-Instruct-75K |
try:
with (await db.cursor()) as cur:
await cur.execute("SELECT COUNT(*) FROM schema LIMIT 1")
await cur.fetchone()
except psycopg2.ProgrammingError:
print("Database error!")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mu5 = array([[9, 0.0]])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<?php // login.php
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* @param mapping 映射方法
* @return R
* @author huangchengxing
* @date 2022/3/1 13:39
*/
public static <T, R> R computeIfMatch(T target, Predicate<T> predicate, Function<T, R> mapping) {
return computeIfMatch(target, predicate, mapping, null);
}
/**
* 尝试进行一次操作
*
* @param runnable 操作
* @param failAction 错误响应
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if (game.player2 and game.player2.user == request.user):
player = game.player2
player.hasDrawed = True
drawing = request.POST.get('drawing', 0)
if (game.player1 and game.player1.user == request.user):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
see http://pandoc.org/scripting.html
'''
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from sqlalchemy import Column, Integer, String
from sqlalchemy.dialects.postgresql import ARRAY, UUID
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<div ref={ref} style={styles} {...rest}>
{children}
</div>
);
});
export default TableWrapper;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Changing this means that your screen prompt may look different,
& some commands may be different. Here are some possible shells:
/usr/local/shells/bash
/usr/local/shells/tcsh
/usr/local/shells/ksh
/usr/local/shells/zsh
However Redbrick only fully supports zsh or bash."""
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
BaseType Cast { get; set; }
DataType DataType { get; set; }
T Accept<T>(IExpressionVisitor<T> expr);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import numpy as np
import numpy.random as rand
from functools import reduce
class Network:
def __init__(self, layer_sizes):
# layer_sizes: list of numbers representing number of neurons per layer
# Create a numpy array of biases for each layer except the (first) input layer
self.biases = [rand.randn(l, 1) for l in layer_sizes[1:]]
# The weights are an array of matrices. 'Between' each two layers is one matrix.
# Every row contains a set of weights for each node
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
if !isPremiumUser{
Button(action: {
// your action here
showSubscribeView = true
}) {
HStack {
Spacer()
Text("Subscribe to One Menu Premium").font(.body).fontWeight(.bold).padding(10)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*/
import { Basic } from 'src/types';
export class BasicDva<T> {
state: T;
initState: T;
namespace: string;
reducers?: Basic.Reducers<T>;
effects?: Basic.Effects;
resetState: Basic.ReducersFun<T>;
constructor(ModelType: Basic.BaseModel<T>) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//TODO
String orderId = expireKey.split(ORDER_KEY_PREFIX)[1];
//redis发送(publish)取消订单消息到channel通道 - CancelOrderChannel
//message - orderIdStr
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
* shouldExport
*
* Returns true if this plugin should export the specified ACF field group's
* JSON notation.
*
* @param string $acfName
*
* @return bool
*/
protected function shouldExport(string $acfName): bool
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@abstractmethod
def fit(self, text: str) -> None:
...
@abstractmethod
def predict(self, text: str) -> Dict[str, float]:
...
__all__ = ["Model"]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
skip_count, timestamp = get_skips_and_block_making_time(
chains[1].state, next_validator)
assert skip_count == 1
b3 = make_block(chains[1], privkeys[next_validator_id],
randaos[next_validator_id], vchashes[next_validator_id], skip_count)
print('Dunkle produced')
t = Transaction(0,
0,
10**6,
casper_config['CASPER_ADDR'],
0,
ct.encode('includeDunkle',
[rlp.encode(b3.header)])).sign(privkeys[0])
apply_transaction(chains[0].state, t)
assert call_casper(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"result",
"Last",
],
["https://api.gemini.com/v1/pubticker/btcusd", "last"],
[
"https://api.kraken.com/0/public/Ticker?pair=TBTCUSD",
"result",
"TBTCUSD",
"c",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
body.leadingAnchor.constraint(equalTo: titleLabel.leadingAnchor),
body.topAnchor.constraint(equalTo: titleLabel.bottomAnchor, constant: C.padding[1]),
body.trailingAnchor.constraint(equalTo: view.trailingAnchor, constant: -C.padding[2]) ])
label.constrain([
label.leadingAnchor.constraint(equalTo: body.leadingAnchor),
label.topAnchor.constraint(equalTo: body.bottomAnchor, constant: C.padding[3]) ])
toggle.constrain([
toggle.trailingAnchor.constraint(equalTo: view.trailingAnchor, constant: -C.padding[2]),
toggle.centerYAnchor.constraint(equalTo: label.centerYAnchor) ])
separator.constrain([
separator.leadingAnchor.constraint(equalTo: label.leadingAnchor),
separator.topAnchor.constraint(equalTo: toggle.bottomAnchor, constant: C.padding[2]),
separator.trailingAnchor.constraint(equalTo: toggle.trailingAnchor),
separator.heightAnchor.constraint(equalToConstant: 1.0) ])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def ProcessOptions(options, document):
colors = {}
document.userdata.setPath('packages/color/colors', colors)
colors['red'] = latex2htmlcolor('1,0,0')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return view('dashboard.admin.index');
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*/
package edu.upenn.cis.ppod.dao;
import com.google.inject.ImplementedBy;
import edu.upenn.cis.ppod.model.AttachmentType;
import edu.upenn.cis.ppod.thirdparty.dao.IDAO;
/**
* A {@link AttachmentType} DAO.
*
* @author <NAME>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'ibms',
'sfm',
)
MIDDLEWARE = [
'ibms_project.middleware.HealthCheckMiddleware',
'django.middleware.security.SecurityMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
set -x
cd test
mkdir -p ./tmp/
cd ./tmp/
touch cfbs.json && rm cfbs.json
cfbs init
cfbs add masterfiles
cfbs download
ls ~/.cfengine/cfbs/downloads/*
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class NA_Khazix_Sup_Yorick(Ratings):
pass
class NA_Khazix_Sup_Zac(Ratings):
pass
class NA_Khazix_Sup_Zed(Ratings):
pass
class NA_Khazix_Sup_Ziggs(Ratings):
pass
class NA_Khazix_Sup_Zilean(Ratings):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
], $list);
}
/**
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@pytest.mark.parametrize("boundaries", [False, True])
def test_example_xyt(boundaries):
xgen.example_xyt(boundaries=boundaries) | ise-uiuc/Magicoder-OSS-Instruct-75K |
* * `curl -s -o /dev/null -w "%{http_code}" <CFN output PetsURL>` should return HTTP code 200
* * `curl -s -o /dev/null -w "%{http_code}" <CFN output BooksURL>` should return HTTP code 200
*/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
continue
else:
if not response.received_messages:
channel_index += 1
await asyncio.sleep(self._consumer_wait_time)
continue
await asyncio.sleep(self._pull_message_wait_time)
return (
response.received_messages[0],
channel_id,
pubsub_channel,
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
EOF
sudo sysctl --system
| ise-uiuc/Magicoder-OSS-Instruct-75K |
[EditorBrowsable(EditorBrowsableState.Never)]
public ArgumentSyntax WithRefOrOutKeyword(SyntaxToken refOrOutKeyword)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
Find a json in the complex data structures by using array of Int and/or String as path.
- parameter path: The target json's path. Example:
let json = JSON[data]
let path = [9,"list","person","name"]
let name = json[path]
The same as: let name = json[9]["list"]["person"]["name"]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
coverage_metrics['generic_mean_whole'] = df.is_generic.mean()
coverage_metrics['junior_mean_whole'] = df.is_junior.mean()
coverage_metrics['male_mean_whole'] = df.is_male.mean()
coverage_metrics['female_mean_whole'] = df.is_female.mean()
coverage_metrics['eco_mean_whole'] = df.eco_design.mean()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
namespace CryptAPI.Enums
{
public enum CryptoCurrency
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<div class="col-lg-12">
<h1 class="page-header"><?php echo $title ?></h1>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
Selamat Datang di E-Voting Pemira SMPIT Nurul Fikri Baording School Bogor
</div>
<div class="panel-body">
</div>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Variable initialization:
VM1 = 10; Keq1 = 10; h = 10; V4 = 2.5; KS4 = 0.5;
end'''
r = te.loada(model)
result = r.simulate(0, 40, 500)
r.plotWithLegend(result)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Check zero frames queued.
rc = loop_out_->frames_queued(loop_out_);
EXPECT_EQ(rc, 0);
rc = loop_in_->frames_queued(loop_in_);
EXPECT_EQ(rc, 0);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
xold = x
x = x - 0.15 * d(x)
plt.xlabel("$x$")
plt.ylabel("$y$")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public function messages()
{
return $this->hasMany(Message::class);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//!
//! *This API requires the following crate features to be activated: tabs*
/// A [`TabBarPosition`](TabBarPosition) for defining the position of a
/// [`TabBar`](crate::native::tab_bar::TabBar).
#[derive(Clone, Hash)]
#[allow(missing_debug_implementations)]
pub enum TabBarPosition {
/// A [`TabBarPosition`] for placing the
| ise-uiuc/Magicoder-OSS-Instruct-75K |
. ./tools/init.sh
title "DOCKER BUILD"
say "What is docker build?"
bullet "Build an image from a Dockerfile."
say "Meaning?!"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def infuse_user():
"""
Adds user instance to args if possible.
Also creates
"""
def decorator(func):
@wraps(func)
def wrapper(*args, **kwargs):
message = args[0]
uid = message.from_user.id
user = User.objects.get_from_telegram_uid(uid)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cd ..
clear
figlet Installing ...
figlet instagram bf 2
# instagram 2
git clone https://github.com/samsesh/insta-bf.git
cd insta-bf
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
relX -= keyXSize/2;
col = relX/keyXSize;
if(relX < 0)
col = 0;
else if(col > 8)
col = 8;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
weak var view: MoonbeamTermsViewProtocol?
let assetInfo: AssetBalanceDisplayInfo
let wireframe: MoonbeamTermsWireframeProtocol
let interactor: MoonbeamTermsInteractorInputProtocol
let balanceViewModelFactory: BalanceViewModelFactoryProtocol
let paraId: ParaId
let moonbeamService: MoonbeamBonusServiceProtocol
let state: CrowdloanSharedState
let logger: LoggerProtocol?
let dataValidatingFactory: BaseDataValidatingFactoryProtocol
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
history = results.history
plt.figure(figsize=(12,4))
plt.plot(history['val_loss'])
plt.plot(history['loss'])
plt.legend(['val_loss', 'loss'])
plt.title('Loss')
plt.xlabel('Epochs')
plt.ylabel('Loss')
plt.show()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
EVENTS+=" -e i915:i915_gem_request_in"
EVENTS+=" -e i915:i915_gem_request_out"
EVENTS+=" -e i915:i915_gem_request_queue"
EVENTS+=" -e i915:intel_engine_notify"
EVENTS+=" -e i915:i915_gem_request_wait_begin"
EVENTS+=" -e i915:i915_gem_request_wait_end"
EVENTS+=" -e i915:i915_request_add"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let tx_pool_info = self.get_tip_tx_pool_info();
assert_eq!(tx_pool_info.pending.value(), pending_size);
assert_eq!(tx_pool_info.proposed.value(), proposed_size);
}
pub fn assert_tx_pool_statics(&self, total_tx_size: u64, total_tx_cycles: u64) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import xarray as xr
import pandas as pd
from glob import glob
import os
import numpy as np
from collections import defaultdict
def get_first_true(df, condition):
time = df[condition].iloc[0:1].index.values
if time.size == 0:
time = df.iloc[-2:-1].index.values
return(time)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
caseResultPrint(hash: hash, rightHash: _case_1_hash, caseStr: "case1")
}
// 打印的方法
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# prefix can be loaded directly.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return view('employee.index2');
}
public function getEmployee3()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .lib.Gen.ttypes import *
| ise-uiuc/Magicoder-OSS-Instruct-75K |
alias klo='kubectl logs -f'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Debug.Assert(request != null);
var errors = new List<Error>();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# pad the beginning and ending pixels and their CDF values
c = np.insert(c, 0, [0] * b[0])
c = np.append(c, [1] * (255 - b[-1]))
return c
def hist_matching(c, c_t, im):
'''
c: CDF of input image computed with the function cdf()
c_t: CDF of template image computed with the function cdf()
im: input image as 2D numpy ndarray
returns the modified pixel values
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// CriticalMaps
//
// Created by Leonard Thomas on 4/10/19.
//
import UIKit
class ChatNavigationButton: CustomButton {
private let unreadLabel = UILabel()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# to listen on the ip address of the pod during initialization.
POD_IP=$(hostname -i)
# NOTE: This only updates the first occurance, which allows following
# (rest|rpc)listen= lines to listen on 127.0.0.1.
sed -E -i "1,/restlisten/s/^restlisten=.+(:.+)$/restlisten=${POD_IP}\1/" /data/lnd/lnd.conf
sed -E -i "1,/rpclisten/s/^rpclisten=.+(:.+)$/rpclisten=${POD_IP}\1/" /data/lnd/lnd.conf
echo "Updated /data/lnd/lnd.conf to listen on address '${POD_IP}'."
echo 'Finished!'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
this.forgroundImageBox.Location = new System.Drawing.Point(427, 53);
this.forgroundImageBox.Name = "forgroundImageBox";
this.forgroundImageBox.Size = new System.Drawing.Size(397, 353);
this.forgroundImageBox.TabIndex = 5;
this.forgroundImageBox.TabStop = false;
//
// label4
//
this.label4.AutoSize = true;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use actix_web::client::Client;
use matrix_http_client::{ApiUriBuilder, MatrixClient, ClientConfig};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
finalBaner = json.load(f1)
for i in range (len(finalBaner)):
data1 = finalBaner[i]
banenavn = ('Bane ' + str(i + 1))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* 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.
******************************************************************************/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
manager.setup()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from src.utils.utils import kl_normal_normal
class MoCoV2(object):
def __init__(self, outputs_q, outputs_k, queue, t=0.07):
super().__init__()
self.outputs_q = F.normalize(outputs_q, dim=1)
self.outputs_k = F.normalize(outputs_k, dim=1)
self.queue = queue.clone().detach()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
it('should return contentType as word for the non-PDF', () => {
CASE_FIELD.value.document_filename = 'media.doc';
expect(documentManagementService.getContentType(CASE_FIELD.value)).toBe('word');
});
it('should return contentType as docx for the word document', () => {
CASE_FIELD.value.document_binary_url = 'https://www.example.com/binary';
CASE_FIELD.value.document_filename = 'sample.docx';
| ise-uiuc/Magicoder-OSS-Instruct-75K |
namespace gazebo
{
class mazeworld : public WorldPlugin
{
public: void Load(physics::WorldPtr _parent, sdf::ElementPtr /*_sdf*/)
{
// Insert model from file via function call.
// The filename must be in the GAZEBO_MODEL_PATH environment variable.
_parent->InsertModelFile("model://4wheelbot");
_parent->InsertModelFile("model://maze1");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
)
class UpdateNote(BaseModel):
title: Optional[str]
content: Optional[str]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
super().__init__()
self._hp = None
self._logger = logger
@contextmanager
def val_mode(self):
"""Sets validation parameters. To be used like: with model.val_mode(): ...<do something>..."""
raise NotImplementedError("Need to implement val_mode context manager in subclass!")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$this->streamObserver->handleConnected($stream);
}
/**
* Detaches stream from event emitter
*/
public function detachStream(Stream $stream, $resource): void
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
const source = new TsGenSource(file, {indent: " "})
source.addImport(new TsGenImport("* as fs", "fs"))
source.addImport(TsGenImport.fromAngular(AngularImports.Injectable));
source.addImport(TsGenImport.fromAngular(AngularImports.HttpParams));
source.addImport(TsGenImport.fromAngular(AngularImports.HttpClient));
const clazz = new TsGenClass("MyService", {exportable: true})
source.addClass(clazz)
clazz.addDecorator("@Injectable()")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
setupUI()
}
}
// MARK: - Public Functions
extension SettingsCell {
// MARK: loadData
final func loadData(data: [String: String]?) {
guard let data = data else {
return
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
npm run dashboard
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<?php
namespace Draw\Swagger\Extraction;
interface ExtractorInterface
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"time": float(get_value_by_pattern(row, 'time', None)),
"throughput": float(get_value_by_pattern(row, 'throughput', None))
}
latency = {}
for key, pattern in LATENCY_ATTRIBUTE_MAPPING:
value = get_value_by_pattern(row, pattern, None)
latency[key] = float("{:.4}".format(value)) if value else value
metrics_instance['latency'] = latency
incremental_metrics.append(metrics_instance)
return incremental_metrics
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for index in range(len(tokens)):
tokens[index] = wn_lem.lemmatize(tokens[index])
tokens[index] = stemmer.stem(tokens[index])
lemmatized = ' '.join([token for token in tokens])
lemmatized_reviews.append(lemmatized)
return lemmatized_reviews
# In[84]:
clean_reviews = lemmatization(clean_reviews)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
except yaml.parser.ParserError as e:
raise kopf.PermanentError('Unable to load config YAML: {0}'.format(str(e)))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pCommandHeader->CommandId = (USHORT)m_dwCommandId;
memcpy( pCommandHeader->DestMachineId,
m_pPrimaryMachineId,
MACHINE_ID_SIZE );
memcpy( pCommandHeader->SrcMachineId,
m_pSecondaryMachineId,
MACHINE_ID_SIZE );
#ifdef LITTLE_ENDIAN
pCommand->Length2 = ByteSwapShort(pCommand->Length2);
pCommand->Length3 = ByteSwapShort(pCommand->Length3);
ByteSwapCommandHeader(pCommandHeader);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#pragma once
#include <ostream>
void abi_gen_imf_deeptiledoutputpart(std::ostream& os);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
inp_image = cv2.resize(inp_image, (256, 256))
return inp_image
def kinect_rgbd_callback(rgb_data, depth_data):
"""
Save raw RGB and depth input from Kinect V1
:param rgb_data: RGB image
:param depth_data: raw depth image
:return: None
"""
try:
cv_rgb = cv_bridge.imgmsg_to_cv2(rgb_data, "bgr8")
cv_depth = cv_bridge.imgmsg_to_cv2(depth_data, "32FC1")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* get error message as JSON
*
* @param exception
* @param endClass
* @return
*/
public static JSONObject getMessageJSON(Exception exception, String endClass) {
JSONObject jsonobj_error = new JSONObject();
JSONObject jsonobj_error_data = new JSONObject();
JSONArray jsonarray_element = new JSONArray();
for (StackTraceElement element : exception.getStackTrace()) {
JSONObject errMessage = new JSONObject();
errMessage.put("class", element.getClassName());
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>0
def length(t1, n):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
$news = $news->onlyTrashed()
->paginate(10);
return view('backend.news.index')
->with(compact('news'));
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
)
# TODO: make an option to change overwrite behavior
def handle(self, *args, **options):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
protected $fillable = [
'Name',
'Deleted',
'Slug',
'isBlog',
];
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# same padding
pooling_1 = fluid.layers.pool3d(
input=conv_1,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print('=' * 30)
print('{:^30}'.format('CAIXA ELETRÔNICO'))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'EMBEDDING',
'HEADS',
'BACKBONES',
'COMBINE_LAYERS',
'VQA_MODELS',
'LOSSES',
'build_vqa_models',
'build_backbone',
'build_head',
'build_combine_layer',
'build_encoder',
'build_embedding',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<?php echo $this->form->getInput('publish_up'); ?>
</div>
</div>
<div class="control-group">
<div class="control-label">
<?php echo $this->form->getLabel('publish_down'); ?>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
bool linear_usable_as_v =
std::is_nothrow_constructible_v<_Tp, U> &&
std::is_nothrow_assignable_v<_Tp&, U> &&
eop::is_nothrow_convertible_v<_Tp, U>;
template< class _Tp, class U >
inline
constexpr
| ise-uiuc/Magicoder-OSS-Instruct-75K |
double new_val = c->get_val(i, j) + p;
c->set_val(i, j, new_val);
}
c->set_val(i, j, c->get_val(i, j));
}
}
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
def peek(self, index=None):
if not self._sorted:
self.sort()
if index is None:
index = len(self.contents) - 1
return self.contents[index]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for (const auto& url_pattern : urlpatterns)
{
if (url_pattern->match(path))
{
fn = [url_pattern](
http::IRequest* request, conf::Settings* settings
) -> std::unique_ptr<http::IResponse> {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
BLDCMcontrol::hallB = new GPIOIno(ARDUINO_UNO.HALL_B, INPUT, GPIOIno::POSITIVE );
BLDCMcontrol::hallC = new GPIOIno(ARDUINO_UNO.HALL_C, INPUT, GPIOIno::POSITIVE );
BLDCMcontrol::timer = new TimerIno();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
]
class FetchAdReportTask(FetchCampaignReportTask):
@abstractproperty
def ad_name_column(self) -> str:
pass
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// 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.
super.tearDown()
}
func testFindTagRange() {
let newTweetModel = NewTweetModel()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class Config:
orm_mode = True
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pub(crate) addr: u32,
pub(crate) _marker: PhantomData<*const RegisterBlock>,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/bin/bash
cd autotest
python ci_setup.py
cd ..
| 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.