seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
SetupDisplay();
//this.Invalidate();
}
#region ITimedClass Members
public void Start()
{
timer.Start();
}
public void FastForward(double timesRealTime)
{
// TODO: Add TempNodeMonitor.FastForward implementation
| ise-uiuc/Magicoder-OSS-Instruct-75K |
</ul>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$this->email = $data['email'];
$this->Sender_name = $data['name'];
$this->subjectInfo = $data['subject'];
$this->question = $data['message'];
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
else:
print('No')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
PAYLOAD=$(echo "${1}" | jq -R --slurp '{body:.}')
# Update github PR with Terraform plan output as a comment
echo "${PAYLOAD}" | curl \
| ise-uiuc/Magicoder-OSS-Instruct-75K |
-o "$outfile" \
"$test_dir/test_$test_number.a" \
"$test_dir/test_$test_number.b"
if [ $? -ne 0 ] ||
[ "`diff -q $outfile $expected`" ]; then
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<?php
namespace Source\Models;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub struct TmpPathDefaultSetting;
impl ConfigSetting for TmpPathDefaultSetting {
const KEY: &'static str = "tmp.path";
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{'hparam/signals/validation_accuracy': validation_accuracy_list[-1]})
utils_io.print_elapsed_time(start_time, time.time())
def _test_ff_network(feed_forward: FeedForward, signal_data: SignalData,
hyperparameter_dict: dict) -> Tuple[float, float]:
"""Returns accuracy and loss of specified network for specified test data
and specified hyperparameters.
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
open class CustomerAccessTokenCreateWithMultipassPayload: GraphQL.AbstractResponse, GraphQLObject {
public typealias Query = CustomerAccessTokenCreateWithMultipassPayloadQuery
internal override func deserializeValue(fieldName: String, value: Any) throws -> Any? {
let fieldValue = value
| ise-uiuc/Magicoder-OSS-Instruct-75K |
} catch (RocksDBException e) {
IOUtils.closeQuietly(columnFamilyOptions);
columnFamilyDescriptors.forEach((cfd) -> IOUtils.closeQuietly(cfd.getOptions()));
throw new IOException("Error while opening RocksDB instance.", e);
}
return dbRef;
}
public static ColumnFamilyOptions createColumnFamilyOptions(
Function<String, ColumnFamilyOptions> columnFamilyOptionsFactory, String stateName) {
// ensure that we use the right merge operator, because other code relies on this
return columnFamilyOptionsFactory.apply(stateName).setMergeOperatorName(MERGE_OPERATOR_NAME);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.teams[team_id].unused_pieces -= 1;
true
}
}
pub fn unused_piece_available(&self) -> bool {
self.current_team().unused_pieces > 0
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.abc_controller = [_controllers[stages[0][0]['controller_type']][1].make(
environment, stages[i][0], _controllers, **controller_kwargs) for i in range(3)]
self.i_abc_idx = [environment.state_names.index(state) for state in ['i_a', 'i_b', 'i_c']]
def control(self, state, reference):
"""
Main method that is called by the user to calculate the manipulated variable.
Args:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
trace_arg=msg_payload['arg'],
local_vars=msg_payload['local_vars'],
timestamp=msg_payload['timestamp'],
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bot.StateMachine
{
public static partial class EventHandler
{
public static void OnKickoffPauseStart()
{
Console.WriteLine("OnKickoffPauseStart triggered");
Console.WriteLine(GameState.Allies.Length.ToString() + GameState.Me.Team.ToString());
switch (GameState.Allies.Length)
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for word in tokens:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fn eq(&self, other: &Self) -> bool {
self.ranking == other.ranking
}
}
impl Ord for InternalServiceRanking {
fn cmp(&self, other: &Self) -> Ordering {
// Sort by matched query words descending (more words matched == higher rank)
if self.ranking.query_words != other.ranking.query_words {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class CategoryForm(forms.ModelForm):
class Meta:
model = Category
fields = "__all__"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
long used = System.currentTimeMillis() - start;
System.out.printf("用时 %d ms。每秒产生:%f 个。\n", used, (double)maxCount/used * 1000);
System.out.printf("个数:%d,不重复个数:%d\n", maxCount, set.size());
| ise-uiuc/Magicoder-OSS-Instruct-75K |
).rename(columns={0:'geometry'}).set_geometry('geometry')
i500 = b500.sindex
| ise-uiuc/Magicoder-OSS-Instruct-75K |
im_pred_anch[i,:] = im_considered[i,AR,:]
if im_pred_anch[i,0] > 0.75:
if AR == 0:
w,h = 1,1
elif AR == 1:
w,h = 1,3
elif AR == 2:
w,h = 3,1
elif AR == 3:
w,h = 1,5
elif AR == 4:
w,h = 5,1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Scipy code ref:
https://github.com/scipy/scipy/blob/v0.19.0/scipy/stats/stats.py#L2975-L3033
Example:
>>> x = np.random.randn(100)
>>> y = np.random.randn(100)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
this._usuarioService.editUsuario(this.usuario.mail, this.usuario).subscribe(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from flask_mail import Message
from flask import render_template
from . import mail
def mail_message(subject, template, to, **kwargs):
sender_email='<EMAIL>'
email=Message(subject, sender=sender_email, recipients=[to])
email.body=render_template(template+'.txt',**kwargs)
mail.send(email) | ise-uiuc/Magicoder-OSS-Instruct-75K |
$html = ['<table>'];
foreach ($params as $name => $title)
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
to8b = lambda x : (255*np.clip(x,0,1)).astype(np.uint8)
import imageio
def run(basedir,
input_path,
output_path,
model_path,
resize_height=288):
"""Run MonoDepthNN to compute depth maps.
Args:
input_path (str): path to input folder
output_path (str): path to output folder
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#Define Constants
#Define Functions
def abs(num):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$strIndexes = 'Indeksi';
$strIndexHasBeenDropped = 'Index %s je odbačen';
$strIndex = 'Indeks';
$strIndexName = 'Naziv indeksa:';
$strIndexType = 'Vrsta indeksa:';
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>src/runner/error.rs
use std::any::Any;
/// Contains an error that occurred during a test run.
#[derive(Debug)]
pub struct Error(pub Box<dyn Any + Send + 'static>);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
)
def test_float_raw(self):
width, height = 8, 4
gpu_format = gl.GL_R32F
input_format = gl.GL_RED
input_type = gl.GL_FLOAT
in_array = np.linspace(0, width*height-1, num=width*height, dtype="float32")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/bin/bash
########################################
# VARS
# Directory this script resides in
pushd $(dirname "${0}") > /dev/null
DIR=$(pwd -L)
popd > /dev/null
#########################################
# READ USER CONFIGUATION
| ise-uiuc/Magicoder-OSS-Instruct-75K |
help="How long to wait for model deployment to complete. Defaults to 30 minutes."
)
@click.option(
"--mlflow-source-dir",
default=None,
help="Optionally, specify a dir to install MLFlow from instead of PyPI"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
function insertProcedureToBash() {
printf "$(createProcedureAsString "$1" "$2")" >> ~/.bashrc
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
ans = 'False'
return ans
print(unique((1, 2, 3, 4)))
print(unique((1, 3, 3, 4)))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
level = logging.INFO
if (verbosity):
level = logging.DEBUG
logging.basicConfig(filename=filename, filemode='a', format=format, level=level, datefmt=datefmt)
def setup(self):
self.__reader = threading.Thread(
target = self.__reader_job,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// Markup to define an action to be triggered in response to some event
public protocol RawAction: Decodable {}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
p++;
}
return 0;
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
public ShardedEntityReferenceTests(ActorSystemFixture actorSystemFixture)
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
* Initializes a new instance of the
* <see cref="DeleteRuleOperation"/> class.
*/
public DeleteRuleOperation() {
super();
}
/**
* Initializes a new instance of the
* <see cref="DeleteRuleOperation"/> class.
*
* @param ruleId The Id of the inbox rule to delete.
*/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
previous_numbers = []
numbers = list(range(1, 91))
@app.route("/")
def root():
try:
previous_numbers
return redirect("/play", code=302)
except NameError:
init()
return redirect("/play", code=302)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export const projectAuth = firebase.auth();
export const projectDatabase = firebase.database();
export const projectFunctions = firebase.functions();
export const timestamp = firebase.firestore.FieldValue.serverTimestamp;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
seconds_since_game_end = time.time() - game_end_time
if self.replay_monitor.replay_id:
self.replay_monitor.stop_monitoring()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{path: '', redirectTo: '/home', pathMatch: 'full'},
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#
# Author: <NAME> <<EMAIL>>
# Created: Sat Dec 28 15:58:52 2019 -0600
#
# ID: gravatar.py [] <EMAIL> $
| ise-uiuc/Magicoder-OSS-Instruct-75K |
b4 = plot_best_result(ax3, savedir + 'EWC Split/', EWC_TDPS, col=[0,1,0],label='Split EWC+Partial')
accuracy['SI_Split'] = b2
accuracy['EWC_Split'] = b4
ax3.legend(ncol=2, fontsize=9)
ax3.grid(True)
ax3.set_xlim(0,100)
add_subplot_details(ax3, [ylim_min,1],[0,100],[])
# Figure 2D
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import sys
n = int(sys.stdin.readline())
r = list()
for i in range(n):
r.append(int(sys.stdin.readline()))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>src/main/java/com/example/demo/controller/RegistrationController.java
package com.example.demo.controller;
import com.example.demo.repository.RegistrationRepository;
import com.example.demo.service.HomeService;
import com.example.demo.service.RegistrationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;
@Controller
| ise-uiuc/Magicoder-OSS-Instruct-75K |
constructor(private store: Store<{fileMetadata: FileMetadataState}>) {
this.fileMetadata$ = store.pipe(select((state) => state.fileMetadata.fileMetadata));
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let title:String = NSLocalizedString("MStoreItemNodeStarFive_title", comment:"")
let descr:String = NSLocalizedString("MStoreItemNodeStarFive_descr", comment:"")
let image:UIImage = #imageLiteral(resourceName: "assetNodeStarFive")
super.init(
purchaseId:kStorePurchaseId,
title:title,
descr:descr,
image:image)
}
override func purchaseAction()
{
MSession.sharedInstance.settings?.purchaseNodeStarFive = true
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class TestCommon:
def test_if_valid_object_id(self):
_validate_objectid("5f960d555042a76847bfa0c8")
def test_if_invalid_object_id(self):
with pytest.raises(Exception):
_validate_objectid("fuba")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return E2 | ise-uiuc/Magicoder-OSS-Instruct-75K |
# connect to mongochem mongo server
connection = pymongo.Connection(host, port)
db = connection[collection_name]
molecules_collection = db['molecules']
# ensure indices
molecules_collection.ensure_index("inchikey", True)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class GestaoRoutingModule { }
| ise-uiuc/Magicoder-OSS-Instruct-75K |
1 A, 3 B => 1 C
5 C, 2 B => 1 FUEL"""
if __name__ == "__main__":
print("Day 14")
if len(sys.argv) == 2:
try:
text = open(sys.argv[1]).read().strip()
except:
text = example
else:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
click.style("API CALL PS04", fg="red"),
click.style("API CALL PS05", fg="red"),
click.style("API CALL PS06", fg="red"))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# was given:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def test_unsupported_types():
y = 1
head = output_adapter.ClassificationHeadAdapter(name='a')
with pytest.raises(TypeError) as info:
head.fit_transform(y)
assert 'Expect the target data' in str(info.value)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def main(wf):
try:
_get_reading(wf)
except:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if(arrC[i] == 1) it++;
else if(arrC[i] == -1) st++;
}
ans = max(ans, abs(it - st));
| ise-uiuc/Magicoder-OSS-Instruct-75K |
desc = response.xpath("//div[@itemprop='description']//text()").getall() # extract the entire description
desc = " ".join(desc) # join the description into a single string
desc = desc.replace("’", "\'") # fix the unicode apostrophe, to be safe
desc = re.sub("\s+", " ", desc) # remove extra whitespace
desc = desc.replace("About the Position", "") # remove the About the Position text
desc = desc.replace(" ", " ") # remove the " " character
desc = desc.encode("utf-8") # convert to utf-8, just to be safe
desc = desc.strip() # remove leading and trailing whitespace
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from submodule.main import *
from main import *
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"failure_not_found": Failure(NotFound()),
}
class MyController(FastAPIController):
def execute(self, expected_behavior: str) -> BoolResult:
return result_from_expected_behavior.get(expected_behavior, isSuccess)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mv update.sh $HOME/scripts
chmod 777 $HOME/scripts/update.sh
cp $HOME/scripts/* $HOME/.scripts
cp $HOME/scripts/update.sh $T_SCR
sleep 5
GRAB_FILE="pv"
pv=$(cat "${GRAB_FILE}" | head -n1)
echo "${pv}" >> $HOME/patch.log
# if [ ! -f "${OFFLINE_SYS}" ]; then
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//
import UIKit
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for _ in range(64):
c = write_test_line(f, r, c, 0)
c = write_test_line(f, r, c, 1)
for _ in range(128):
c = write_test_line(f, r, c, 0)
c = write_test_line(f, r, c, 1)
for _ in range(512):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public static extern GLib.GType TypeOf();
}
public ref struct ScaledFont
{
private IntPtr _pointer;
public ScaledFont(IntPtr pointer, bool checkType = false)
{
_pointer = pointer;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let alert = UIAlertController(title: nil,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print('You can connect to a number of hosts by hostname or IP')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def drawHex(id, sx,sy,s,c):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
tabElement,
'model-status-ready'
);
return completeIcon.isPresent();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
esgf_integration_example.py
Use OCW to download an ESGF dataset into the common format of an OCW dataset object.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
set.addAll(neurons);
while (set.size() > 1) {
merge();
}
}
private void merge() {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Copyright © 2020 wonkwh. All rights reserved.
//
import UIKit
@resultBuilder
public enum StackBuilder {
public static func buildBlock(_ segments: UIView...) -> [UIView] {
var views: [UIView] = []
segments.forEach {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"vin_ag": vin,
"vin_bp": vin.view(N, -1, 1),
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[derive(Insertable)]
#[table_name = "posts"]
pub struct PostNewForm<'a> {
pub title: &'a str,
pub content: Option<&'a str>,
}
#[derive(AsChangeset)]
#[table_name = "posts"]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#
# You should have received a copy of the GNU General Public License
# along with dataframe. If not, see <http://www.gnu.org/licenses/>.
#
#
# @author = '<NAME>'
# @email = '<EMAIL>'
from itertools import chain
import tabulate
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using ::apache::thrift::protocol::TProtocolException;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def test_create_assign_fetch(new_single_record_db):
## Fetch the record by uids and compare
fetched_record = new_single_record_db.filter_records(
("experiment = 'X2021-03-17'",
"meas_id = '0001'"))[0]
assert fetched_record == {"experiment": "X2021-03-17",
"meas_id": "0001",
"cooldown": "CDX1",
"meas_type": "Qubit Rabi amplitude"}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if let Some(error_queue) = &mut ERROR_QUEUE {
if let Some(error) = error_queue.pop_front() {
return Err(NaiaClientSocketError::Message(error));
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import {Component, Input} from '@angular/core';
import {animate, state, style, transition, trigger} from '@angular/animations';
@Component({
selector: 'app-example-source-code',
templateUrl: './example-source-code.component.html',
styleUrls: ['./example-source-code.component.scss'],
animations: [
trigger('slideToggle', [
state('inactive', style({height: 0})),
state('active', style({height: '*'})),
transition('inactive <=> active', [
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sa = SessionAuth()
session_id = sa.create_session(user.id)
print("User with ID: {} has a Session ID: {}".format(user.id, session_id))
""" Create a Flask app """
app = Flask(__name__)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
async def main():
# make sure we were given source and destination
if len(sys.argv) < 3:
print("Usage: make_transfer_request.py <source_site> <dest_site> <path>")
return
# construct the TransferRequest body
request_body = {
"source": sys.argv[1],
"dest": sys.argv[2],
"path": sys.argv[3],
}
# configure a RestClient from the environment
config = from_environment(EXPECTED_CONFIG)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
await _connection.CloseAsync();
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<?php
/*
控制器基类
*/
class core_controller{
private static $instance = null;
public static function instance(){
if(is_null(self::$instance)){
self::$instance = new self();
}
return self::$instance;
}
//获取$_REQUEST数据
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pro_data_dir=opt.pro_data_dir,
batch_size=opt.batch_size)
# get model
my_model = get_model(
out_dir=opt.out_dir,
run_model=opt.run_model,
activation=opt.activation,
input_shape=opt.input_shape)
### train model
if opt.optimizer_function == 'adam':
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
MNNNetInstance.Session.Tensor output = mSession.getOutput(null);
float[] result = output.getFloatData();
Log.d(TAG, Arrays.toString(result));
int l = getMaxResult(result);
return new float[]{l, result[l]};
}
public void release() {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
opam pin add coq-ast . --yes --verbose
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .. import app
from ..app import authenticate, db_object_to_dict
from ..view import render
class Dashboard:
def __init__(self):
pass
def index(self):
"""dashboard index"""
username = authenticate()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mValue = Unset;
}
Tristate& Tristate::operator =
(
bool const aValue
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def _lookup_blob_in_repository(repository, blob_digest):
try:
return (
ImageStorage.select(ImageStorage.uuid)
.join(ManifestBlob)
.where(
ManifestBlob.repository == repository,
ImageStorage.content_checksum == blob_digest,
ImageStorage.uploading == False,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
constructor() {
this.customerName = "test";
this.place = "kaloor";
this.address = "some big address";
}
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
class MQTT_Client:
def __init__(self, serverIP, serverPort, name, verbose=0):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
void AddRestaurant(Restaurant restaurantToAdd);
Restaurant GetRestaurant(string name);
List<Restaurant> SearchRestaurants(string searchTerm);
List<Restaurant> AVGRestaurants();
List<Restaurant> GetRestaurantByCity(string city);
List<Restaurant> GetRestaurantByRating(string rating);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
data.Add(null);
for (int i = 0; i < 10; i++) //limite: 10000000
data.Add(i);
var formula = "(A * (B + C))";
var dynamicFunction = new DynamicFunction();
var result = dynamicFunction.Execute(formula, data);
for (int i = 0; i < result.Count; i++)
Console.WriteLine($"Linha {i}: {result[i]}");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Bin.objects.all().delete()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
CheckCondition(dbname != NULL);
options = leveldb_options_create();
leveldb_options_set_comparator(options, cmp);
leveldb_options_set_error_if_exists(options, 1);
leveldb_options_set_cache(options, cache);
leveldb_options_set_env(options, env);
leveldb_options_set_info_log(options, NULL);
leveldb_options_set_write_buffer_size(options, 100000);
leveldb_options_set_paranoid_checks(options, 1);
leveldb_options_set_max_open_files(options, 10);
leveldb_options_set_block_size(options, 1024);
leveldb_options_set_block_restart_interval(options, 8);
leveldb_options_set_max_file_size(options, 3 << 20);
leveldb_options_set_compression(options, leveldb_no_compression);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
})
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@testable import Uppsala
class UppsalaTests: XCTestCase {
override func 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.
}
func testExample() {
// This is an example of a functional test case.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pn.pane.Markdown(text_error),
pn.pane.HTML(
"<hr>",
sizing_mode="stretch_width",
),
pn.pane.Markdown(text_ok),
)
app.servable()
main()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
[assembly: AssemblyTitle("Core2D.Core.UnitTests.UnitTests")]
[assembly: CollectionBehavior(DisableTestParallelization = true)]
| 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.