seed
stringlengths
1
14k
source
stringclasses
2 values
videoCircle?: string; } type AudioLevelBorderProps = Omit<AudioLevelIndicatorProps, 'type'>;
ise-uiuc/Magicoder-OSS-Instruct-75K
"" "\xc5\xbe", "\xc5\xb8" }; debug_ensure(*it-0x80 >= 0); const char* conv = table[*it-0x80]; int len = strlen(conv); /// According to http://en.wikipedia.org/wiki/Windows-1252#Codepage_layout /// empty string in the table are illegal chars. We will just remove these from input if (len == 0) continue;
ise-uiuc/Magicoder-OSS-Instruct-75K
* @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { schema } from '@angular-devkit/core'; // Must start with a letter, and must contain only alphanumeric characters or dashes. // When adding a dash the segment after the dash must also start with a letter. export const htmlSelectorRe = /^[a-zA-Z][.0-9a-zA-Z]*(:?-[a-zA-Z][.0-9a-zA-Z]*)*$/;
ise-uiuc/Magicoder-OSS-Instruct-75K
__version__ = 1.1.4
ise-uiuc/Magicoder-OSS-Instruct-75K
if len(req_files)==0: print(f"There are no {req_ex} files in the logcation of {req_path}") else: print(f"There are {len(req_files)} files in the location of {req_path} with an extention of {req_ex}") print(f"So, the files are: {req_files}")
ise-uiuc/Magicoder-OSS-Instruct-75K
#nullable disable using System.Collections.Immutable; using System.Composition;
ise-uiuc/Magicoder-OSS-Instruct-75K
// are with YUYV / UYVY, the multipliers for column and row offsets can be uniform. // Rs2Format::Bgr8 => { let slice = slice::from_raw_parts(data.cast::<u8>(), data_size_in_bytes); let offset = (row * stride_in_bytes) + (col * 3); PixelKind::Bgr8 { b: slice.get_unchecked(offset), g: slice.get_unchecked(offset + 1), r: slice.get_unchecked(offset + 2), } }
ise-uiuc/Magicoder-OSS-Instruct-75K
__metaclass__ = type ANSIBLE_METADATA = { "metadata_version": "1.1", "status": ["preview"],
ise-uiuc/Magicoder-OSS-Instruct-75K
pytest.skip() # Missing AZURE_STORAGE_ACCOUNT gdal.ErrorReset() with gdaltest.error_handler(): f = open_for_read('/vsiaz/foo/bar') assert f is None and gdal.VSIGetLastErrorMsg().find('AZURE_STORAGE_ACCOUNT') >= 0
ise-uiuc/Magicoder-OSS-Instruct-75K
from matplotlib import pyplot as plt R=1
ise-uiuc/Magicoder-OSS-Instruct-75K
return self.is_compliant def fix(self, cli): cli.powershell(r"New-Item -path 'HKLM:\SYSTEM\CurrentControlSet\control\SecurePipeServers'")
ise-uiuc/Magicoder-OSS-Instruct-75K
json.dump(json_object, env_config) env_config.close() worker = worker_start + repl * n_forks + 1 + n_socket file_name = 'drone-delivery-0.1' env_name = "env/drone-delivery-0.1/" + file_name
ise-uiuc/Magicoder-OSS-Instruct-75K
# rescale (long-run) marginal costs to recover all costs # (sunk and other, in addition to marginal) # calculate the ratio between potential revenue # at marginal-cost pricing and total costs for each period mc_annual_revenue = { (lz, p): sum( electricity_demand(m, lz, tp) * electricity_marginal_cost(m, lz, tp) * m.tp_weight_in_year[tp] for tp in m.PERIOD_TPS[p]
ise-uiuc/Magicoder-OSS-Instruct-75K
echo ${INFO[$i]} i=$(( $i + 1 )) done
ise-uiuc/Magicoder-OSS-Instruct-75K
def writeSettings(self): settings = QtCore.QSettings("SIL", "diffted") settings.beginGroup("MainWindow") settings.setValue("size", self.size())
ise-uiuc/Magicoder-OSS-Instruct-75K
from igrill import IGrillHandler from tokencube import TokenCubeHandler device_settings = { "70:91:8f:01:f7:30": { "device": "iGrill Mini", "addr": "70:91:8f:01:f7:30", "type": "red probe"
ise-uiuc/Magicoder-OSS-Instruct-75K
public static func newTransferParams(to owner: AccountNumber) throws -> TransferParams { var transferRequest = TransferRequest() try transferRequest.set(to: owner) return TransferParams(transfer: transferRequest) } public static func transfer(withTransferParams params: TransferParams) throws -> String { let api = API() return try api.transfer(params) } }
ise-uiuc/Magicoder-OSS-Instruct-75K
# convert to one-hot X_train = tf.one_hot(X_train, depth=7) X_test = tf.one_hot(X_test, depth=7) y_train = np.array(y_train) y_test = np.array(y_test) # Define Model model = keras.Sequential() model.add(keras.layers.InputLayer(input_shape=(None,7))) # Masking layer ignores padded time-steps model.add(keras.layers.Masking()) model.add(keras.layers.LSTM(lstm_dim)) model.add(keras.layers.Dense(1,activation='sigmoid')) model.summary()
ise-uiuc/Magicoder-OSS-Instruct-75K
("testTweet", testTweet), ("testShortTweet", testShortTweet), ("testLongTweet", testLongTweet), ] }
ise-uiuc/Magicoder-OSS-Instruct-75K
'AajJpPyY iIlL', ('Avenir-Roman', 80), ui.ALIGN_LEFT, 'lightgray', 30,350)) v.present('sheet')
ise-uiuc/Magicoder-OSS-Instruct-75K
return specified_length_bytes elif specified_length_bytes <= 12: return 12 elif specified_length_bytes <= 16: return 16 elif specified_length_bytes <= 20: return 20 elif specified_length_bytes <= 24: return 24 elif specified_length_bytes <= 32: return 32 elif specified_length_bytes <= 48: return 48 elif specified_length_bytes <= 64: return 64
ise-uiuc/Magicoder-OSS-Instruct-75K
namespace Debug { template<size_t SIZE> class StackAllocator { public: /** * Allocates the specified number of bytes * * @param bytes - The number of bytes to allocate * * @return A struct containing the memory address and the size of the allocation */
ise-uiuc/Magicoder-OSS-Instruct-75K
'Test 2', 'A test annotation', layer_name, 200000, 300200, annotated_labels=annotated_labels)] dataset.add_annotations(annotations) layer_to_count = dataset.get_annotation_layers() print(layer_to_count)
ise-uiuc/Magicoder-OSS-Instruct-75K
return final else: return item(tmp) else: return "<"+y+">" start = 0 current = "" space = "<space>" declared = [] referenced = [] for x in data: x = x.strip() if x == "": continue
ise-uiuc/Magicoder-OSS-Instruct-75K
def main(): bible_zip = fetch_content() parse_and_write(iter_books(bible_zip)) def main_progress_iterator(): bible_zip = fetch_content() for name, plaintext in zip(constants.BOOK_NAMES, iter_books(bible_zip)): fp = constants.BOOK_FP_TEMPLATE.format(name) save_as_json(parse_book(plaintext), fp) yield name # for name in constants.BOOK_NAMES: # # sleep(1)
ise-uiuc/Magicoder-OSS-Instruct-75K
from .file import read_files, write_files
ise-uiuc/Magicoder-OSS-Instruct-75K
from geneal.genetic_algorithms._binary import BinaryGenAlgSolver from geneal.genetic_algorithms._continuous import ContinuousGenAlgSolver
ise-uiuc/Magicoder-OSS-Instruct-75K
from .base import BaseArgument class Notification(BaseArgument): name = "slackchatbakery-notification" arg = "notification" path = "stubs/notification/"
ise-uiuc/Magicoder-OSS-Instruct-75K
battery_list = [] pair_it = self._vpairs if adjacent_only \ else itertools.combinations_with_replacement(self._vpairs, 2) ion = self._working_ion for pair in pair_it: entry_charge = pair.entry_charge if adjacent_only \ else pair[0].entry_charge entry_discharge = pair.entry_discharge if adjacent_only \ else pair[1].entry_discharge chg_frac = entry_charge.composition.get_atomic_fraction(ion) dischg_frac = entry_discharge.composition.get_atomic_fraction(ion)
ise-uiuc/Magicoder-OSS-Instruct-75K
{ case AVL_SKEW_LEFT : (*ppNode)->skew = AVL_SKEW_RIGHT; (*ppNode)->pLeft->skew = AVL_SKEW_NONE; break; case AVL_SKEW_RIGHT : (*ppNode)->skew = AVL_SKEW_NONE; (*ppNode)->pLeft->skew = AVL_SKEW_LEFT; break; default : (*ppNode)->skew = AVL_SKEW_NONE; (*ppNode)->pLeft->skew = AVL_SKEW_NONE; } // switch
ise-uiuc/Magicoder-OSS-Instruct-75K
{ protected $table = 'elements_properties'; protected $fillable = ['name','display_name','property_id','value']; public function properties(){ return $this->belongsTo(Properties::class,'property_id', 'id'); } }
ise-uiuc/Magicoder-OSS-Instruct-75K
return validate_connection(profile.authority_url, profile.username, password) def validate_connection(authority_url, username, password): try: return py42.sdk.from_local_account(authority_url, username, password)
ise-uiuc/Magicoder-OSS-Instruct-75K
# Register your models here.
ise-uiuc/Magicoder-OSS-Instruct-75K
<filename>examples/pipeline/partitioned_execution.py """ Example of parallel processing using partitioned datasets """ import time import pyarrow as pa from pyarrow import parquet as pq from scipy import stats
ise-uiuc/Magicoder-OSS-Instruct-75K
import operator_benchmark as op_bench import torch
ise-uiuc/Magicoder-OSS-Instruct-75K
final TextComponent.Builder builder =
ise-uiuc/Magicoder-OSS-Instruct-75K
<h1 class="card-header text-center" style="background-color: #004bea; color: #fff;">All Todos</h1> <!-- if this session has flash message with 'success' key --> @if ( session()->has('success')) <div class="alert alert-success"> <!-- get the value (message) for this key --> {{ session()->get('success') }} </div> @endif <div class="card-body"> <h5 class="card-name" style="color: #004bea;">What needs to be done</h5> <ul class="list-group"> @forelse ( $todos as $todo ) <li class="list-group-item" style="color: #004bea;"> {{ $todo->name }} <span class="float-right">
ise-uiuc/Magicoder-OSS-Instruct-75K
*/ public function run() { Month::create(['month_name'=>'January']); Month::create(['month_name'=>'February']);
ise-uiuc/Magicoder-OSS-Instruct-75K
Examples ======== >>> a = Symbol('a', above_fermi=True) >>> i = Symbol('i', below_fermi=True) >>> p = Symbol('p') >>> q = Symbol('q') >>> KroneckerDelta(p, i).is_only_below_fermi True >>> KroneckerDelta(p, q).is_only_below_fermi False >>> KroneckerDelta(p, a).is_only_below_fermi False
ise-uiuc/Magicoder-OSS-Instruct-75K
override func draw(_ rect: CGRect) { super.draw(rect) let ctx = UIGraphicsGetCurrentContext() // 设置背景,画圆形的背景 ctx?.setFillColor(ColorKey.LightYellow.uiColor().cgColor) ctx?.setShouldAntialias(true) ctx?.addArc(center: drawCenter, radius: radius, startAngle: 0, endAngle: TWO_PI, clockwise: true)
ise-uiuc/Magicoder-OSS-Instruct-75K
<reponame>2062077878/offline_alipay package com.wu.alipay.view.password; import com.hannesdorfmann.mosby.mvp.MvpView; /** * Created by Administrator on 2016/8/11. */ public interface IPasswordInputView extends MvpView{ void finishActivity(); void inputError(int errorCount); }
ise-uiuc/Magicoder-OSS-Instruct-75K
flight_df = self.parsed_flights.to_dataframe() self.assertEqual(len(flight_df), len(self.batch_info)) self.assertEqual(list(flight_df.columns), Flight.labels()) #print(flight_df.head())
ise-uiuc/Magicoder-OSS-Instruct-75K
from antu.io.token_indexers.single_id_token_indexer import SingleIdTokenIndexer from antu.io.fields.text_field import TextField from collections import Counter from antu.io.vocabulary import Vocabulary class TestSingleIdTokenIndexer: def test_single_id_token_indexer(self): sentence = ['This', 'is', 'is', 'a', 'a', 'test', 'sentence'] counter = {'my_word': Counter()} vocab = Vocabulary() glove = ['This', 'is', 'glove', 'sentence', 'vocabulary'] vocab.extend_from_pretrained_vocab({'glove': glove})
ise-uiuc/Magicoder-OSS-Instruct-75K
# pylint: disable=invalid-name sys.modules['google'] = google sys.modules['google.protobuf'] = google.protobuf sys.modules['google.protobuf.message'] = google.protobuf.message # Reload luckycharms.base to restore sys.modules to correct state importlib.reload(base) def test_without_proto(): class TestSchema(base.BaseModelSchema): a = fields.Integer() b = fields.String()
ise-uiuc/Magicoder-OSS-Instruct-75K
bundleInfo : AttributeTypes.defaultsTo(AttributeTypes.validateObject, null), bundleBasePath : AttributeTypes.defaultsTo(AttributeTypes.validateString, (t: CXXApplicationBundle) => t.defaultBundleBasePath(), '${toolchain.bundleBasePath()}/${outputName}.${bundleExtension}'), bundleResourcesBasePath: AttributeTypes.defaultsTo(AttributeTypes.validateAnyString, "Resources"), bundleInfoPath : AttributeTypes.defaultsTo(AttributeTypes.validateString, "Info.plist"), });
ise-uiuc/Magicoder-OSS-Instruct-75K
plt.rcParams['figure.figsize'] = (12, 6)
ise-uiuc/Magicoder-OSS-Instruct-75K
def get_rds_digests(): try: rd_digests_cached = cache.get('rd_digests') if rd_digests_cached:
ise-uiuc/Magicoder-OSS-Instruct-75K
print(unpad(b'12\x02\x02')) # b'12' print(unpad(b'1\x01')) # b'1' print() data = 'Привет!'.encode('utf-8') padded_data = pad(data) print(padded_data) # b'\xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82!\x03\x03\x03' print(unpad(padded_data)) # b'\xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82!' print(unpad(padded_data).decode('utf-8')) # Привет! assert data == unpad(pad(data))
ise-uiuc/Magicoder-OSS-Instruct-75K
/** * @param object $service * * @throws ExistingServiceException * @throws \InvalidArgumentException
ise-uiuc/Magicoder-OSS-Instruct-75K
use Clockwork\Storage\FileStorage; use Slim\Middleware; class ClockworkWebMiddleware extends Middleware
ise-uiuc/Magicoder-OSS-Instruct-75K
</a> <a href="https://www.twitter.com/share?url=http://windowfashion.kz/posts/{{ $post->id }}&title={{ $post->title }}&description={{ $post->description }}&image=http://windowfashion.kz/images/{{ $post->image }}" target="_blank"> <div class="share-tw"></div>
ise-uiuc/Magicoder-OSS-Instruct-75K
being a dict that indicates: (nomod, noattr)? - [ ] Automatically add custom defined names in this file to __all__ """ __version__ = '0.2.5' __submodules__ = [ 'embeding', 'interactive_iter', 'desktop_interaction', 'introspect', 'class_reloader', 'search_replace',
ise-uiuc/Magicoder-OSS-Instruct-75K
/// Adapter for the domain layers `EmailSendingProvider` to be used with Vapor. /// /// This delegates the work to the web app‘s email sending framework. struct VaporEmailSendingProvider: EmailSendingProvider { let request: Request init(on request: Request) { self.request = request }
ise-uiuc/Magicoder-OSS-Instruct-75K
*/ protected function returnEventSendMass() { return $reply['message'] = 'success'; } /**
ise-uiuc/Magicoder-OSS-Instruct-75K
endpoint = "" access_ID = "" access_key = "" bucket_name="" auth = oss2.Auth(access_ID, access_key)
ise-uiuc/Magicoder-OSS-Instruct-75K
}) batch = Batch(propagation_params, opm_params) runner = BatchRunManager(service.get_batches_module(), [batch]) runner.run() end_state = batch.get_results().get_end_state_vector() expected_end_state = [73978163.61069362, -121822760.05571477, -52811158.83249758, 31.71000343989318, 29.9657246374751, .6754531613947713] difference = np.subtract(expected_end_state, end_state)
ise-uiuc/Magicoder-OSS-Instruct-75K
elif [[ "$RUN_ENV" == "cuda11" ]];then python$PYTHON_VERSION -m pip install $client_release $app_release $server_release python$PYTHON_VERSION -m pip install paddlepaddle-gpu==${PADDLE_VERSION} cd /usr/local/ wget $serving_bin tar xf serving-gpu-cuda11-${SERVING_VERSION}.tar.gz mv $PWD/serving-gpu-cuda11-${SERVING_VERSION} $PWD/serving_bin echo "export SERVING_BIN=$PWD/serving_bin/serving">>/root/.bashrc rm -rf serving-gpu-cuda11-${SERVING_VERSION}.tar.gz cd - fi
ise-uiuc/Magicoder-OSS-Instruct-75K
'site': urlparse(link).netloc, 'title': title,
ise-uiuc/Magicoder-OSS-Instruct-75K
@Autowired private PostUncoverRepository postUncoverRepository; @Transactional public PostUncover addPostUncover(PostUncover postUncover) { String uuid = UUID.randomUUID().toString().replace("-", ""); postUncover.setIdentifyId(uuid); postUncover.setUncoverTime(new Date(System.currentTimeMillis())); return this.postUncoverRepository.save(postUncover); }
ise-uiuc/Magicoder-OSS-Instruct-75K
fuzz_target=fuzz_target, source_file=source, template_name="service_template.jinx.cpp", )
ise-uiuc/Magicoder-OSS-Instruct-75K
:copyright: <NAME> (<EMAIL>), 2015 :license: BSD 3-Clause ("BSD New" or "BSD Simplified") """ from __future__ import (absolute_import, division, print_function, unicode_literals) from multiprocessing import cpu_count
ise-uiuc/Magicoder-OSS-Instruct-75K
# $Id: show5.sh,v 1.1 2013-06-25 09:28:16 deraugla Exp $ ../puiseux -f test3.in -e 0 -d
ise-uiuc/Magicoder-OSS-Instruct-75K
def __len__(self): return 20 def __getitem__(self, item): return torch.from_numpy(np.ones([3, 32, 32]) * item / 255.).float(), \ (torch.FloatTensor([item % 2])) class HParams(): batch_size: int = 10 data_root: str = '/tmp'
ise-uiuc/Magicoder-OSS-Instruct-75K
import AVFoundation extension NetStream { open func attachScreen(_ screen: AVCaptureScreenInput?) {
ise-uiuc/Magicoder-OSS-Instruct-75K
def test_no_documents(): encoder = LaserEncoder() docs = [] encoder.encode(docs, parameters={'batch_size': 10, 'traversal_paths': ['r']}) assert not docs
ise-uiuc/Magicoder-OSS-Instruct-75K
namespace WebApplication3.Data.Models { public class Account { [Key] public Guid Id { get; set; } [Required(ErrorMessage = "Type is required")] public TypeOfAccount Type { get; set; }
ise-uiuc/Magicoder-OSS-Instruct-75K
@staticmethod
ise-uiuc/Magicoder-OSS-Instruct-75K
self.ended = False
ise-uiuc/Magicoder-OSS-Instruct-75K
from .latency import *
ise-uiuc/Magicoder-OSS-Instruct-75K
from django.template.defaultfilters import stringfilter
ise-uiuc/Magicoder-OSS-Instruct-75K
op.drop_column('users', 'is_email_verified') op.drop_column('users', 'facebook_id') op.drop_column('users', 'email_address') # ### end Alembic commands ###
ise-uiuc/Magicoder-OSS-Instruct-75K
import pytest from bson import ObjectId from mongoengine import Document, EmbeddedDocument, StringField, connect from cleancat import Schema, StopValidation, String, ValidationError from cleancat.mongo import ( MongoEmbedded, MongoEmbeddedReference, MongoReference, )
ise-uiuc/Magicoder-OSS-Instruct-75K
self.__printHeader(sys.stderr) self.__printErrorLine(str(e), sys.stderr) self.__printUsage(sys.stderr) # thrown by the option parser of the task except optparse.OptParseError, e: self.__printHeader() self.__printErrorLine(str(e), sys.stderr) self.__printTaskHelp(task) # thrown if the enclosing project is not initialized except myriad.error.UninitializedProjectError, e: self.__printHeader()
ise-uiuc/Magicoder-OSS-Instruct-75K
for k in list(state_dict.keys()):
ise-uiuc/Magicoder-OSS-Instruct-75K
public $clear_condition = []; /** * @Enum({"cache", "clear", "actualize"}) */
ise-uiuc/Magicoder-OSS-Instruct-75K
print("{num:.2e}".format(num=22/7)) print("{num:.1%}".format(num=22/7)) print("{num:g}".format(num=5.1200001)) variable=27 print(f"{variable}")
ise-uiuc/Magicoder-OSS-Instruct-75K
from ._base import encode, decode def dump_json(o: Any, indent: Optional[int] = None) -> str: """ Serializes an object to a JSON string. Parameters ---------- o
ise-uiuc/Magicoder-OSS-Instruct-75K
pub mod player; pub mod card;
ise-uiuc/Magicoder-OSS-Instruct-75K
import webapp2 import datetime from config.config import _DEBUG from datastore.models import WebResource __author__ = 'Lorenzo'
ise-uiuc/Magicoder-OSS-Instruct-75K
let app = XCUIApplication() let connexionStaticText = app/*@START_MENU_TOKEN@*/.staticTexts["Connexion"]/*[[".buttons[\"Connexion\"].staticTexts[\"Connexion\"]",".staticTexts[\"Connexion\"]"],[[[-1,1],[-1,0]]],[0]]@END_MENU_TOKEN@*/ connexionStaticText.tap() connexionStaticText.tap() let nowasteMapNavigationBar = app.navigationBars["Nowaste.Map"] nowasteMapNavigationBar.buttons["personCircle"].tap() app.navigationBars["Nowaste.Profile"].buttons["Back"].tap() nowasteMapNavigationBar.buttons["magnifyingGlassCircle"].tap() nowasteMapNavigationBar.buttons["plusCircle"].tap()
ise-uiuc/Magicoder-OSS-Instruct-75K
scope='dartlint.mark.error', icon='Packages/Dart/gutter/dartlint-simple-error.png', flags=_flags) def to_compact_text(error): return ("{error.severity}|{error.type}|{loc.file}|" "{loc.startLine}|{loc.startColumn}|{error.message}").format(
ise-uiuc/Magicoder-OSS-Instruct-75K
from django.urls import path from authors.apps.social_auth.views import ( FacebookAuthView, GoogleAuthView, TwitterAuthView ) urlpatterns = [ path('auth/facebook/', FacebookAuthView.as_view()), path('auth/google/', GoogleAuthView.as_view()), path('auth/twitter/', TwitterAuthView.as_view()), ]
ise-uiuc/Magicoder-OSS-Instruct-75K
AttachedElement.Effect = hovereffect; } private void OnMouseLeave(object sender, MouseEventArgs e) { AttachedElement.Effect = backup; } #endregion protected override void Attach(FrameworkElement e) { e.MouseEnter += OnMouseEnter; e.MouseLeave += OnMouseLeave; } } }
ise-uiuc/Magicoder-OSS-Instruct-75K
if (character != nullptr) { UAbilitySystemGlobals::Get().GetGameplayCueManager()->HandleGameplayCue( ActorInfo->AvatarActor.Get(), FGameplayTag::RequestGameplayTag(FName("GameplayCue.Jump")), EGameplayCueEvent::Type::Removed, FGameplayCueParameters()); character->StopJumping_(); } }
ise-uiuc/Magicoder-OSS-Instruct-75K
const reporter = React.useMemo( () => new Reporter(webshellDebug, webshellStrictMode), [webshellDebug, webshellStrictMode] ); const registry = React.useMemo( () => new FeatureRegistry(filteredFeatures, reporter), [reporter, filteredFeatures]
ise-uiuc/Magicoder-OSS-Instruct-75K
def __init__(self, sentence: str): self.sentence = sentence self.res = {} def results(self): print(self.sentence) for i in [self.sentence]: wiki = Wiki(i) search = wiki.search() if search: self.res.update({i: wiki.result})
ise-uiuc/Magicoder-OSS-Instruct-75K
# To run this single test, use # # ctest --verbose -R remove_epsilon_test_py import unittest import k2 class TestRemoveEpsilon(unittest.TestCase): def test1(self): s = ''' 0 4 1 1
ise-uiuc/Magicoder-OSS-Instruct-75K
"debit_in_account_currency": flt(self.bank_charges),
ise-uiuc/Magicoder-OSS-Instruct-75K
Returns: CommandResults: Command results with raw response, outputs and readable outputs. """ quarantine_profile_id = args['quarantine_profile_id'] file_id = args['file_id'] action = args['action']
ise-uiuc/Magicoder-OSS-Instruct-75K
@app.errorhandler(500) def server_error(e): return redirect(f'{Settings["domain"]}/error') @app.errorhandler(404) def endpoint_notfound(e): return '<h1>Endpoint not found</h1>', 404 @app.route('/verify', methods=['POST']) def verify():
ise-uiuc/Magicoder-OSS-Instruct-75K
then exec $OVERRIDE_MACOS_PATH/dock.sh else dockutil --no-restart --remove all dockutil --no-restart --add "/Applications/Firefox.app" dockutil --no-restart --add "/System/Applications/Mail.app" dockutil --no-restart --add "/Applications/Signal.app" dockutil --no-restart --add "/System/Applications/Calendar.app" dockutil --no-restart --add "/System/Applications/Notes.app" dockutil --no-restart --add "/System/Applications/Reminders.app" dockutil --no-restart --add "/Applications/iTerm.app"
ise-uiuc/Magicoder-OSS-Instruct-75K
sys.exit() with open(fn, 'wt') as o: def w(cmd, deal):
ise-uiuc/Magicoder-OSS-Instruct-75K
#os.system( "cp " + path.join(APPS, "combine_app/combine_app/sales_invoice_list.js") + " " + path.join(APPS, "erpnext/erpnext/accounts/doctype/sales_invoice/"))
ise-uiuc/Magicoder-OSS-Instruct-75K
from controllers.controller import Controller from dao.ground_temperature_dao import GroundTemperatureDao from sensors.ground_temperature_sensor import GroundTemperatureSensor class GroundTemperatureController(Controller): """ Represents the controller with the ground temperature sensor and DAO """ def __init__(self, server, database, user, password): super(GroundTemperatureController, self).__init__(sensor=GroundTemperatureSensor(), dao=GroundTemperatureDao(server=server, database=database,
ise-uiuc/Magicoder-OSS-Instruct-75K
// Copyright © 2019 Pursuit. All rights reserved.
ise-uiuc/Magicoder-OSS-Instruct-75K
name = fuzzy.FuzzyChoice(models.RegionName)
ise-uiuc/Magicoder-OSS-Instruct-75K
/// information with Azure support is currently not supported via the /// API. Azure support engineer, working on your ticket, will reach out /// to you for consent if your issue requires gathering diagnostic
ise-uiuc/Magicoder-OSS-Instruct-75K
'playlist_mincount': 100, }, { 'url': 'https://www.redgifs.com/browse?type=g&order=latest&tags=Lesbian', 'info_dict': { 'id': 'type=g&order=latest&tags=Lesbian', 'title': 'Lesbian', 'description': 'RedGifs search for Lesbian, ordered by latest' },
ise-uiuc/Magicoder-OSS-Instruct-75K
@objc protocol ReusableIdentifierProtocol { static var reusableIdentifier: String { get } } @objc protocol NibProtocol { static var nib: UINib { get } } extension NSObject { class var nameOfClass: String { return NSStringFromClass(self).components(separatedBy: ".").last!
ise-uiuc/Magicoder-OSS-Instruct-75K
ArchivedVec::serialize_from_iter( field.iter().map(|(key, value)| Entry { key, value }), serializer, ) } } impl<K, V, D> DeserializeWith<ArchivedVec<Entry<K::Archived, V::Archived>>, HashMap<K, V>, D>
ise-uiuc/Magicoder-OSS-Instruct-75K