seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
else:
config = get_config()
github_config = config['github']
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from web import app
from glob import glob
app.run(
debug=True,
host='0.0.0.0',
port=5000,
extra_files=glob('./web/templates/**.html')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
) -> Result<aws_smithy_http::body::SdkBody, aws_smithy_http::operation::SerializationError> {
let mut out = String::new();
#[allow(unused_mut)]
let mut writer =
aws_smithy_query::QueryWriter::new(&mut out, "CreateLoadBalancerListeners", "2012-06-01");
#[allow(unused_mut)]
let mut scope_70 = ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
[](const TestInfo&) {
Assert::Throws([](){ DecodeImageFromFile(kNotAnImage, 0, 0); });
}
}
};
}
} // namespace lse
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .hashgrid import HashEncoder | ise-uiuc/Magicoder-OSS-Instruct-75K |
self.updateMask()
}
private func updateMask() {
let viewToApplyMask = UIAccessibility.isReduceTransparencyEnabled ? self.contentView : self.visualEffectView
let viewToRemoveMask = UIAccessibility.isReduceTransparencyEnabled ? self.visualEffectView : self.contentView
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.Threading.Tasks;
namespace EarthWallpaper
{
public class DownloadService : IDownloadService
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def files() -> Tuple[CommandLine, Callable[[str], None]]:
command = 'powershell -command "&{$filetype = @(\\"*.docx\\",\\"*.pdf\\",\\"*.xlsx\\"); $startdir = ' \
'\\"c:\\\\Users\\\\\\"; for($k=0;$k -lt $filetype.length; $k++){ $core = dir $startdir\($filetype[$k]) ' \
'-Recurse | Select... | ise-uiuc/Magicoder-OSS-Instruct-75K |
const SafeHydrate: React.FC = ({ children }) => {
return (
<div suppressHydrationWarning={true}>
{typeof window === 'undefined' ? null : children}
</div>
)
}
const MyApp: React.FC<AppProps> = ({ Component, pageProps }) => {
return (
<SafeHydrate>
<Component {...pageProps} />
</SafeHy... | ise-uiuc/Magicoder-OSS-Instruct-75K |
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import sys
import pytest
from six.moves import StringIO
from .. import __main__, __version__
from .. import due
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<div class="kt-subheader__toolbar">
<div class="kt-subheader__wrapper">
<a href="{{url()->previous()}}" class="btn btn-success"><i class="la la-bars"></i> Daftar</a>
</div>
</div>
</div>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return torch.cat(bands, dim=1)
class Generator(BaseGenerator):
def __init__(self):
super(Generator, self).__init__(
(LATENT_DIM, 512, 4, 1, 0),
(512, 256, 8, 4, 2),
(256, 128, 8, 4, 2),
(128, 128, 8, 4, 2),
(128, 128, 8, 4, 2),
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
</div>
</div>
</div> <!-- section title end -->
<div class="row">
| ise-uiuc/Magicoder-OSS-Instruct-75K |
namespace Walmart.Sdk.Marketplace.V2.Payload.Price
{
using System.Xml.Serialization;
using System.Xml;
using Walmart.Sdk.Base.Primitive;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.4.0.7")]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def forward(self, x, z):
"""
Forward pass of discriminator.
Args:
x: inputs
z: clean
"""
# Encode
x = self.encoder(x)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public interface CustomerRepository extends JpaRepository<Customer, String> {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
| ise-uiuc/Magicoder-OSS-Instruct-75K |
NO_COMMITIZEN_FOUND = 2
def commiter_factory(config: dict) -> BaseCommitizen:
"""Return the correct commitizen existing in the registry."""
name: str = config["name"]
try:
_cz = registry[name](config)
except KeyError:
msg_error = (
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for row in longData:
print row
if __name__ == "__main__":
main()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mod tests {
use super::*;
#[test]
fn table_draft() {
let first_team_id = 1;
let second_team_id = 2;
let clubs = vec![
first_team_id,
second_team_id
];
let mut table = LeagueTable::with_clubs(&clubs);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo 0;
}
?> | ise-uiuc/Magicoder-OSS-Instruct-75K |
_images=new Dictionary<string, ImageProperties>();
_imageLists = new List<ImageList>( ) ;
}
public void Set(ImageProperties image)
{
_images[ image.Name ] = image ;
_imageLists.ForEach( il => il.Images.Add( image.Name, image.Picture ) ) ;
}
public ImageProperties GetByName(string name)
{
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
test('takeRightWhile', () => {
expect(takeRightWhile()).toBeUndefined();
});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print('='*40)
def saveInformationstr(self):
strr = ""
if "PATH" in self.NoteDict and "FILENAME" in self.NoteDict:
strr = strr + "[{0}]{1}".format("PATH",self.NoteDict["PATH"]) + "|" + "[{0}]{1}".format("FILENAME",self.NoteDict["FILENAME"])
return strr
""... | ise-uiuc/Magicoder-OSS-Instruct-75K |
return scrape_for_jobs(response)
if __name__ == '__main__':
dir_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'results')
output_file = 'Python jobs - {}.csv'.format(datetime.now().strftime('%m-%d-%y'))
output_path = os.path.join(dir_path, output_file)
with open(output_path, 'w')... | ise-uiuc/Magicoder-OSS-Instruct-75K |
path = os.path.join(settings.MODELS_DIR, name_dir)
os.mkdir(path)
return path
| ise-uiuc/Magicoder-OSS-Instruct-75K |
e.g. for BlogPage, return Page
"""
if model._meta.parents:
model = model._meta.get_parent_list()[0]
return model
def get_model_for_path(model_path):
"""
Given an 'app_name.model_name' string, return the model class
"""
app_label, model_name = model_path.split('.')
return Co... | ise-uiuc/Magicoder-OSS-Instruct-75K |
if not os.path.exists(full_path_to_model):
logger.error(
f"Can't find model at {full_path_to_model}",
next_step="Evaluation will stop",
tip="Double check your path to model"
)
raise Exception
model: Db_vae = Db_vae(z_di... | ise-uiuc/Magicoder-OSS-Instruct-75K |
@EntityRepository(LikeEntity)
export class LikeRepository extends Repository<LikeEntity> {}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
filter_apinames = "GetSystemMetrics",
filter_categories = ()
# This is a signature template. It should be used as a skeleton for
# creating custom signatures, therefore is disabled by default.
# The on_call function is used in "evented" signatures.
# These use a more efficient way of processing... | ise-uiuc/Magicoder-OSS-Instruct-75K |
import { DxcSelectComponent } from './dxc-select.component';
import { ThemeModule } from '../theme/theme.module';
@NgModule({
declarations: [DxcSelectComponent],
imports: [
CommonModule,
MatSelectModule,
MatFormFieldModule,
ThemeModule,
FormsModule
],
exports: [DxcSelectComponent]
})
export ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def click_download_button_android(self):
self.driver.find_element_by_css_selector(DOWNLOAD_BUTTON_HREF_ANDROID).click()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return this;
}
public Builder refreshTokenBearerLifetimeMs(long refreshTokenBearerLifetimeMs) {
this.refreshTokenBearerLifetimeMs = refreshTokenBearerLifetimeMs;
return this;
}
public Builder refreshTokenHokLifetimeMs(long refreshTokenHokLifetimeMs) ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
canvas.line_width = line_width
canvas.stroke_style = stroke_color
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from flask import render_template, request
from flask import jsonify
import requests
import json
app = Flask(__name__)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
VERSION="$(echo $VERSION | sed -E 's/^v//')"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.execute('CREATE DATABASE IF NOT EXISTS %s' % self.dbstring)
self.execute('USE %s' % self.dbstring)
self.execute("SET FOREIGN_KEY_CHECKS=1;")
self.execute("SET sql_mode='NO_BACKSLASH_ESCAPES';")
def execute(self, command, *a, **b):
return self.log_execute(command... | ise-uiuc/Magicoder-OSS-Instruct-75K |
wiring="EKMFLGDQVZNTOWYHXUSPAIBRCJ",
ring_setting=1,
position="A",
turnover_positions=["R"],
):
"""Return Rotor object."""
return Rotor(
wiring=wiring,
ring_setting=ring_setting,
position=position,
turnover_positions=tur... | ise-uiuc/Magicoder-OSS-Instruct-75K |
self.header.xstart, self.header.ystart, self.header.zstart = 0., 0., 0.
self.header.dmin = self.data.min()
self.header.dmax = self.data.max()
self.header.dmean = self.data.mean()
self.header.rms = (((self.data - self.data.mean()) ** 2).mean()) ** .5
# if architecture(... | ise-uiuc/Magicoder-OSS-Instruct-75K |
aws_sqs as sqs,
aws_lambda as _lambda,
aws_lambda_destinations as destination,
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
m = l + (r-l)//2
if nums[m] > nums[m-1] and nums[m] > nums[m+1]:
return m
elif nums[m] < nums[m-1]:
r = m
else:
l = m + 1
return -1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
x = self.up1(x5, x4)
x = self.up2(x, x3)
x = self.up3(x, x2)
x = self.up4(x, x1)
x = self.outc(x)
x = F.log_softmax(x, 1)
return x
if __name__ == '__main__':
# choose the device
os.environ['CUDA_LAUNCH_BLOCKING'] = "1"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#include "vm.hpp"
#include <pomagma/atlas/vm_impl.hpp>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.setUIntElement(self.offsetBits_val(9), 8, invFrequency[2], 1)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if (randomNumber % 2 != 0) {
// set a new random number
int r = rand() % randomNumber;
// check new randomic number to set a symbol or a number
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
/// <summary>
/// A pattern to abstractify transactions from storage APIs.
/// </summary>
public interface IUnitOfWork : IDisposable, IAsyncDisposable
{
/// <summary>
/// Gets the repository for a type. Will by default create an <see cref="EntityRepository{T}"/>.
/// </summ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
allocated to the lambda. Also remember that images that look small on disk
(eg. low quality jpegs) still occupy a lot of space in memory. The
pixel-size of the image is a better indicator of the space it will take in
memory.
"""
records_table = dynamodb.Table(DYNAMODB_TABLE)
for sqs_record ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
;;
\?) echo "Invalid option -$OPTARG" >&2; echo -n "continuing "; sleep 1; echo -n "."; sleep 1; echo -n "."; sleep 1; echo ".";
;;
esac;
done
for d in 'app/bin' 'app/configuration' 'tec' 'data/incoming/osm' 'data/incoming/poly' 'data/incoming/gpx' 'data/incoming/naturalearth' 'data/incoming/openstreetma... | ise-uiuc/Magicoder-OSS-Instruct-75K |
use crate::{commands::get_option, error, typemap::TypeMapSharedCache};
pub async fn execute(ctx: Context, interaction: Interaction) {
let data = ctx.data.read().await;
let cache = data.get::<TypeMapSharedCache>().unwrap();
let rooms = match cache.get_user_room_map().get(&interaction.member.user.id) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
model_name='bill',
name='sunlight_id',
field=models.CharField(default='', max_length=63),
),
migrations.AlterField(
model_name='bill',
name='url',
field=models.CharField(default='', help_text='Permalink with more info', max_length=1... | ise-uiuc/Magicoder-OSS-Instruct-75K |
__path__ = extend_path(__path__, __name__) # type: ignore
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cp $MDEC/boot_monitor $BOOT
disk=`echo "$ROOT" | sed 's/s[0-3]//'`
echo -n "Install bootxx_minixfs3 into $disk? (y/N) "
read ans
if [ ! "$ans" = y ]
then
echo Exiting...
sync
exit 0
fi
echo "Installing bootxx_minixfs3 into $disk."
installboot_nbsd "$disk" "$MDEC/bootxx_minixfs3"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from archai.common.model_summary import summary
conf = common_init(config_filepath='confs/petridish_cifar.yaml',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
duration: int,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@abstractmethod
def create_head_section(self, top):
pass
@abstractmethod
def create_body_section(self, top):
pass
@staticmethod
| ise-uiuc/Magicoder-OSS-Instruct-75K |
thrift -strict --gen java:hashcode -out hbase-thrift/src/main/java/ hbase-thrift/src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift
exit 0;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
beginDate = self.tracking.get("startDate", startFrom)
listtasksurl = baseEndPoint + "/task/query?begindate=" + beginDate
tasks = self.getResponse(listtasksurl, 'GET', userID, passwd, None)
data = []
metadata ={"labels" : ["XLDEPLOY_TASKS"],"dataU... | ise-uiuc/Magicoder-OSS-Instruct-75K |
# END OF CONFIGURATION IMPORT
if not NEO4J_HOST \
or not NEO4J_USER \
or not NEO4J_PASSWORD:
print("To run this test, ALL of the following variables must be set in the config file(s): NEO4J_HOST, NEO4J_USER, NEO4J_PASSWORD. "
"Test skipped")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// append after the path ,this method will resolve the charactor ";"
SysEnvironment.SetPathAfter(needAppends.ToString());
MessageBox.Show(needAppends.ToString());
foreach (var item in needAdds)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
try:
data = json.loads(r.text)
except Exception as e:
print("Json parsing failed")
print(e)
print("Sleeping for some time before retrying", end="")
time.sleep(10)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if ($type == 'admin') {
$app_user=array(
'user' => $profile->name,
'type' => 'admin',
'user_id' => $profile->profile_id,
);
$this->session->set_userdata('kandora_user',$app_user);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
rpc::PlacementStrategy GcsPlacementGroup::GetStrategy() const {
return placement_group_table_data_.strategy();
}
const rpc::PlacementGroupTableData &GcsPlacementGroup::GetPlacementGroupTableData() {
return placement_group_table_data_;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@pytest.mark.django_db
def test_def_code_count_missing_defc(client, monkeypatch, disaster_account_data, helpers):
helpers.patch_datetime_now(monkeypatch, 2022, 12, 31)
resp = helpers.post_for_count_endpoint(client, url)
assert resp.status_code == status.HTTP_422_UNPROCESSABLE_ENTITY
assert resp.data["d... | ise-uiuc/Magicoder-OSS-Instruct-75K |
"ok": ["TOTAL OK:", lambda l: collect.get_int_from_string(l)],
"some": ["TOTAL SOME:", lambda l: collect.get_int_from_string(l)],
"fail": ["TOTAL FAIL:", lambda l: collect.get_int_from_string(l)],
"notpossible": ["TOTAL NP:", lambda l: collect.get_int_from_string(l... | ise-uiuc/Magicoder-OSS-Instruct-75K |
class IMAGES:
TBC_PNG = None
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@NgModule({
declarations: [ApplyGrantPageComponent],
imports: [
CommonModule,
ApplyGrantPageRoutingModule,
ReactiveFormsModule
]
})
export class ApplyGrantPageModule {
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
demonstrate that expect can handle several edge cases, accommodate regular
doctest formats, and detect inline tests.
>>> x = 4
| ise-uiuc/Magicoder-OSS-Instruct-75K |
set -euo pipefail; [[ -z ${TRACE:-} ]] || set -x
export DEBIAN_FRONTEND=noninteractive
command -v git >/dev/null || apt-get install -y --no-install-recommends git
pushd "${TMPDIR:-/tmp}"
git clone https://github.com/alaturka/bats.git
sudo bats/install.sh /usr/local
rm -rf bats
| ise-uiuc/Magicoder-OSS-Instruct-75K |
__author__ = """<NAME>"""
__email__ = '<EMAIL>'
__version__ = '0.1.0'
from . import fetch
def get_assembly(name):
return fetch.get_assembly(name)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fn show_help() {
println!(
"h ⇾ Show This\n\
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// Implementing CacheableResponse trait.
pub fn impl_macro(ast: &syn::DeriveInput) -> TokenStream {
let name = &ast.ident;
let gen = quote! {
impl CacheableResponse for #name {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from rest_framework import serializers
class MeasuresSerializer(serializers.ModelSerializer):
measure_type_name = serializers.CharField(source='measure_type_id.measure_name', read_only=True)
incident_category_name = serializers.CharField(source='incident_category.incident_category', read_only=True)
class M... | ise-uiuc/Magicoder-OSS-Instruct-75K |
j1 = (j + 1) % (2 * resolution)
base = 2
tri_faces.append([0, base + j, base + j1])
base = 2 + 2 * resolution * (resolution - 2)
tri_faces.append([1, base + j1, base + j])
for i in range(1, resolution - 1):
base1 = 2 + 2 * resolution * (i - 1)
base2 = base1 +... | ise-uiuc/Magicoder-OSS-Instruct-75K |
class Meta:
default_related_name = 'post_replies'
def __str__(self):
return self.body
| ise-uiuc/Magicoder-OSS-Instruct-75K |
scene, args.use_stereo_depth, args.use_registered_depth)
calib_params.read_from_yaml(args.ps_calib_file)
calib_params.depth_intrinsics[0, 2] += ps_ir_x_offset_pixels
calib_params.depth_intrinsics[1, 2] += ps_ir_y_offset_pixels
if ps_folder != []:
... | 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
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return view('admin.news-category.create');
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if(isset($image))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Labels = new LabelList(file, labelIndex);
Points = new PointSet(file.RemoveColumns(labelIndex));
}
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.count = 0
def update(self, val, n=1):
self.val = val
self.sum += val * n
self.count += n
self.avg = self.sum / self.count
| ise-uiuc/Magicoder-OSS-Instruct-75K |
})
export class UnrecoverableErrorComponent implements OnInit {
constructor() { }
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print()
def makeAnswer(self, index):
if index == len(self.answer):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from emotes import EmotesPlugin
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1oQmCX-HLeaqxWxaz9zsjj-5Na35XtNXM
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'Apparticle.title' => '标题'
];
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# ############################################################
# Construct 'go' test cases
for k in self.config.test_case['go'].keys():
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if (UserDtoOriginal.Role != UserRole.GuestUser)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using Menge::Math::Vector2;
/////////////////////////////////////////////////////////////////////
// Implementation of PathGoalRenderer
/////////////////////////////////////////////////////////////////////
std::string PathGoalRenderer::getElementName() const { return PathGoal::NAME; }
//////////////////////... | ise-uiuc/Magicoder-OSS-Instruct-75K |
* Created for opensmarty-starter.
* User: <NAME>
*/
namespace Opensmarty\Base\Api\Controllers;
use Dingo\Api\Routing\Helpers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use nmk::vendor::{extract_vendor_files, prepare_vendor_dir};
use crate::build::Target;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
np.ndarray: action.
"""
if explore:
if np.random.uniform() > self.epsilon:
return self.env.action_space.sample()
return np.argmax(self.Q[state, :])
def update(self, transition: Tuple) -> None:
"""Update the Q table.
Args:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class SwVbaDocument : public SwVbaDocument_BASE
{
private:
css::uno::Reference< css::text::XTextDocument > mxTextDocument;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# 'error: ' + error)
raise
@app.errorhandler(404)
def page_not_found(e):
"""Return a custom 404 error."""
return 'Sorry, nothing at this URL.', 404
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
} catch (Exception e) {
}
ShortcutManager mShortcutManager = getReactApplicationContext().getSystemService(ShortcutManager.class);
Intent shortcutIntent = new Intent(getReactApplicationContext(), RNAddShortcutsModule.class);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
previous = "previous"
current = "current"
both = "both"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export class ScreenService {
screen$: BehaviorSubject<string[]>;
constructor() { this.screen$ = new BehaviorSubject([null, null]); }
prevSnapshot(): string {
return this.screen$.value[0];
}
currentSnapshot(): string {
return this.screen$.value[1];
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(menus)
good_food = {"mac and cheese": {"mac+cheese"}}
food_found = find_good_food(good_food=good_food, menus=menus)
items_detected = set()
for food_type in food_found:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
faasm_main()
| 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.