seed
stringlengths
1
14k
source
stringclasses
2 values
# Remove all duplicates def delete(files, verbose=False): return scans.scan(files, True, False, verbose) # Make the link to first file def link(files, verbose=False): return scans.scan(files, True, True, verbose)
ise-uiuc/Magicoder-OSS-Instruct-75K
use Phalcon\Validation; use Phalcon\Validation\Validator\Url as UrlValidator; class ApplicazioniDomini extends \BaseModel { /** * * @var integer * @Primary * @Identity * @Column(type="integer", length=4, nullable=false) */ public $id;
ise-uiuc/Magicoder-OSS-Instruct-75K
let mut new_file = FileInfo::new( uuid::Uuid::new_v4().to_string().as_str(),
ise-uiuc/Magicoder-OSS-Instruct-75K
void main() {
ise-uiuc/Magicoder-OSS-Instruct-75K
namespace ChatBackend.Dto { public class LoginResponse { public int Id { get; set; } public string LoggedInUsername { get; set; } public string LoggedInScreenName { get; set; } public bool Success { get; set; } public string Token { get; set; } } }
ise-uiuc/Magicoder-OSS-Instruct-75K
var toastMessageColor: UIColor = .white var toastMessageAlignment: NSTextAlignment = .left // title var toastTitleFont: UIFont = .systemFont(ofSize: 14.0)
ise-uiuc/Magicoder-OSS-Instruct-75K
macro() # マクロの実行。
ise-uiuc/Magicoder-OSS-Instruct-75K
* User: <NAME>. * Email: <EMAIL>. * Version: $Id$.
ise-uiuc/Magicoder-OSS-Instruct-75K
if (!value.IsObject()) {
ise-uiuc/Magicoder-OSS-Instruct-75K
}, (err) => console.error(err)) } public componentWillMount(): void { this.props.navigation.addListener('willFocus', this.load) this.props.navigation.setParams({ onSearchPress: this.onSearchPress, onBack: this.onBackPress, });
ise-uiuc/Magicoder-OSS-Instruct-75K
<reponame>quicksloth/source-code-recommendation-server from EvaluatorController import EvaluatorController
ise-uiuc/Magicoder-OSS-Instruct-75K
from . import MyBoard
ise-uiuc/Magicoder-OSS-Instruct-75K
extension FavoriteViewController: UITableViewDataSource, UITableViewDelegate { func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { favoriteElements.count } func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { guard...
ise-uiuc/Magicoder-OSS-Instruct-75K
height="100%" objectFit="cover" objectPosition="50% 50%" src="/road-to-milford-new-zealand-800w.jpg" alt="Glittering stream with old log, snowy mountain peaks tower over a green field." /> ); };
ise-uiuc/Magicoder-OSS-Instruct-75K
dif = pow(dif, 1.0 / length_bias); } length += dif * (length_max - length_min); /* 実際の長さ */ } // std::cout << "l " << length;
ise-uiuc/Magicoder-OSS-Instruct-75K
# import copy @unique class TimePointType(Enum): # Start = () Due = () @unique
ise-uiuc/Magicoder-OSS-Instruct-75K
[pntim](const std::string& name) -> uint32_t{ auto i = pntim->find(name); if(i == pntim->end()){ return uint32_t(property_id::ENUM_SIZE); } return uint32_t(i->second); ...
ise-uiuc/Magicoder-OSS-Instruct-75K
input_batch, output_batch = [], []
ise-uiuc/Magicoder-OSS-Instruct-75K
template_name = 'bg/logout.html'
ise-uiuc/Magicoder-OSS-Instruct-75K
from .message import Message from .campaign import Campaign
ise-uiuc/Magicoder-OSS-Instruct-75K
} /** * @return the mergeCandidates
ise-uiuc/Magicoder-OSS-Instruct-75K
(QKeySequence(iKey).toString() >= "А" && (QKeySequence(iKey).toString() <= "Я")) || QKeySequence(iKey).toString() == "Ё") { detailsCheckSelectionAndItem(cursorPos); detailsSetCharStyleByNeighbours(ch, cursorPos); charStyleVector_.insert(cursorPos, 1, ch); QTextEdit::keyPressEvent(event)...
ise-uiuc/Magicoder-OSS-Instruct-75K
var urlEncoded: String? { var allowedQueryParamAndKey = NSMutableCharacterSet.urlQueryAllowed allowedQueryParamAndKey.remove(charactersIn: ";/?:@&=+$, ") return self.addingPercentEncoding(withAllowedCharacters: allowedQueryParamAndKey) } subscript (r: Range<Int>) -> String { ...
ise-uiuc/Magicoder-OSS-Instruct-75K
<h1>View Person #<?php echo $model->id; ?></h1> <?php $this->widget('zii.widgets.CDetailView', array( 'data'=>$model, 'attributes'=>array( 'id',
ise-uiuc/Magicoder-OSS-Instruct-75K
self.change_status('success') def error(self): self.signals.errors.emit(traceback.format_exc()) self.change_status('failure') def change_status(self, status): DB.update_status(self.findex, status) self.signals.status.emit(self.findex)
ise-uiuc/Magicoder-OSS-Instruct-75K
-5 : ((-5, -5, -5, -5, -5, -5, -5, -5 , -5, -5, -5, -5, -5, -5, -3, -7, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5), True , 0 , 1), -6 : ((-4, -4, -4, -4, -4, -4, -4, -4 , -4, -4, -4, -4, -4, -8, -4, -8, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4), True , 0 , 1), -7 : ((-5, -5, -5, -5, -5, -5, -5, -5 , -5, -5, -5, -5, -5, -...
ise-uiuc/Magicoder-OSS-Instruct-75K
""" return "/".join([url, dataset_path, end_point]) def process_object_uris(url, extras): """Extract doi from /extras, and return a list of object uris including /url and doi if it exists. """ doi = []
ise-uiuc/Magicoder-OSS-Instruct-75K
# Vacume out water F201 = SplitFlash('F201', T=347.15, P=2026.5, split=(0.0001, 0.999), order=('Lipid', 'Water')) lipid = F201.outs[1] # %% Process specifications # Specifications dependent on lipid cane flow rate _enzyme_mass = enzyme.mass[[9, 12]] _CaO_Water_mass = lime.mass[[7, 12]] _H3PO4_Water_...
ise-uiuc/Magicoder-OSS-Instruct-75K
np.array(self.physics.data.qvel), np.array(self.physics.data.ctrl), np.array(self.physics.data.act)) def set_state(self, state): with self.physics.reset_context(): self.physics.data.qpos[:] = state[0] self.physics.data.qvel[:] = state[1] self.physics.data.ctrl[:] = state...
ise-uiuc/Magicoder-OSS-Instruct-75K
namespace App\Client; use GuzzleHttp\Client; use GuzzleHttp\Exception\ClientException;
ise-uiuc/Magicoder-OSS-Instruct-75K
import unittest from streamlink.plugins.live_russia_tv import LiveRussia class TestPluginLiveRussiaTv(unittest.TestCase): def test_can_handle_url(self): # should match self.assertTrue(LiveRussia.can_handle_url('https://live.russia.tv/index/index/channel_id/1')) self.assertTrue(LiveRussia....
ise-uiuc/Magicoder-OSS-Instruct-75K
let tap = UITapGestureRecognizer(target: self, action: #selector(self.closeButtonTapped(_:))) closeView.addGestureRecognizer(tap) } @objc func allowMicrophoneTapped() {
ise-uiuc/Magicoder-OSS-Instruct-75K
exit(0)
ise-uiuc/Magicoder-OSS-Instruct-75K
except OSError: pass
ise-uiuc/Magicoder-OSS-Instruct-75K
def test_rp_link(self) -> None: expected = f"{self.link_base}Repo&eventCodes=730" result = Create().rp_link() self.assertEqual(expected, result) def rrp_link(self) -> None: expected = f"{self.link_base}Reverse Repo&eventCodes=730" result = Create().rrp_link() sel...
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
if not os.path.exists(log_dir): os.makedirs(log_dir) config = vars(ARGS) json.dump(config, open(os.path.join(log_dir, 'config.json'), 'w'), indent=4, sort_keys=True) if subtask != 'german' and subtask != 'multi': raise Exception("No such subtask.") def get_data(task, subtask, num_categories, data_dir, tokeni...
ise-uiuc/Magicoder-OSS-Instruct-75K
def rescan_files(dirs): """Rescan all directories and save the yml files that were found.""" sorted_dirs = sorted(dirs) YML_DIRS.dump(sorted_dirs) files = set() for dir in sorted_dirs:
ise-uiuc/Magicoder-OSS-Instruct-75K
for example in range(len(training_x)): y_predicted = perceptron.feed_forward(training_x[example]) y_expected = training_y[example][0] error = y_expected - y_predicted
ise-uiuc/Magicoder-OSS-Instruct-75K
def run(self, testname): if not os.path.isfile(ENV_FILE): click.echo("Functest environment is not ready. " "Run first 'functest env prepare'") else: cmd = ("python /home/opnfv/repos/functest/ci/run_tests.py -t %s" % testname) ...
ise-uiuc/Magicoder-OSS-Instruct-75K
// check if having main func if module.get_function("main").is_some() { let res = jit::execute_jit(module); debug!("Exit code: {}", res); std::process::exit(res); } else { debug!("No main found, ignored JIT run") } }
ise-uiuc/Magicoder-OSS-Instruct-75K
def initialize(self): if not self.elementwise: dim_in, dim_out = self.get_dim_in()[-1], self.get_dim_out()[-1] left = initialize_weights(self.initialization, [dim_in, dim_out // 2]) right = T.zeros([dim_in, dim_out // 2]) self.create_parameter('W', [dim_in, di...
ise-uiuc/Magicoder-OSS-Instruct-75K
let alertAction = UIAlertAction(title: "Okay",style: .default, handler:nil) alertController!.addAction(alertAction) ...
ise-uiuc/Magicoder-OSS-Instruct-75K
print("failed to grab frame") break else: cv2.imshow("test", frame) k = cv2.waitKey(1) if k%256 == 27: # ESC pressed print("Escape hit, closing...") break
ise-uiuc/Magicoder-OSS-Instruct-75K
from requests import get from json import loads from time import time from uuid import UUID def username_to_uuid(username, when=int(time())): url = 'https://api.mojang.com/users/profiles/minecraft/{}?at={}' r = get(url.format(username, when)) if r.status_code == 200: data = loads(r.text) ...
ise-uiuc/Magicoder-OSS-Instruct-75K
/** * <p> * 物流订单表 Mapper 接口
ise-uiuc/Magicoder-OSS-Instruct-75K
var departemen = $("#departemen").val(); var mo = $("#mo").val();
ise-uiuc/Magicoder-OSS-Instruct-75K
author='<NAME>', author_email='<EMAIL>', packages=setuptools.find_packages(), install_requires=[ "requests", "pandas" ], classifiers=[ 'Development Status :: 1 - Planning', 'Environment :: Console',
ise-uiuc/Magicoder-OSS-Instruct-75K
# Search a key: method: recursion def search(root, key): if root is None or root.val == key: return root if root.val < key: return search(root.right, key) if root.val > key: return search(root.left, key) # Insertion of a key def insert(root, node): if root is None:
ise-uiuc/Magicoder-OSS-Instruct-75K
sleep 5 done
ise-uiuc/Magicoder-OSS-Instruct-75K
return rgb return '#' + hex(rgb)[2:].zfill(6) def is_day_off(date_: date, days_off: Optional[List[date]] = None, workdays: Optional[List[date]] = None) -> bool: days_off = days_off or [] workdays = workdays or [] day_off = date_.weekday() == 5 or date_.weekday() == 6
ise-uiuc/Magicoder-OSS-Instruct-75K
# initialize the model print("[INFO] compiling model...") #number of epochs num_epochs=NUM_EPOCHS #decay=0.01/num_epochs opt=SGD(lr=0.05,decay=0.01/num_epochs,momentum=0.9,nesterov=True) #opt=Adam(learning_rate=0.1, beta_1=0.9, beta_2=0.999, amsgrad=False) model = DAVE2.build(height=66, width=200, depth=3, classes=1...
ise-uiuc/Magicoder-OSS-Instruct-75K
from .debug import Debug from .vkontakte import Vkontakte, VkontakteLongpoll, VkontakteCallback from .telegram import Telegram from .terminal import Terminal __all__ = [ "Debug",
ise-uiuc/Magicoder-OSS-Instruct-75K
print(etcc.etcc("คืนความสุข")) # /คืน/ความสุข
ise-uiuc/Magicoder-OSS-Instruct-75K
<reponame>lucky8jx/craft export * from './_user'; export * from './_api'; export * from './_colour';
ise-uiuc/Magicoder-OSS-Instruct-75K
class Metadata(tb.IsDescription): # Temporary config asin = tb.StringCol(itemsize=20) title = tb.Float64Col(shape=(1, 128)) category = tb.Float64Col(shape=(1, 128)) brand = tb.Float64Col(shape=(1, 128)) also_buy = tb.Float64Col(shape=(1, 128)) also_view = tb.Float64Col(shape=(...
ise-uiuc/Magicoder-OSS-Instruct-75K
* You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 *
ise-uiuc/Magicoder-OSS-Instruct-75K
private static final int RETRY_COUNT = 3; //<PublicationId, Set<InlineMessageId>> private final Map<String, Set<String>> data = new ConcurrentHashMap<>(); private final ExecutorService singleThreadPool = Executors.newSingleThreadExecutor(); private final BlockingQueue<Pair<String, String>> dataTo...
ise-uiuc/Magicoder-OSS-Instruct-75K
from rpython.rlib.objectmodel import specialize, import_from_mixin from rsqueakvm.util.version import Version class QuasiConstantCache(Cache): def _build(self, obj): class NewQuasiConst(object): import_from_mixin(QuasiConstantMixin)
ise-uiuc/Magicoder-OSS-Instruct-75K
<reponame>srihari-humbarwadi/adain-tensorflow2.x from adain.model.layers.adaptive_instance_normalization import \ AdaptiveInstanceNormalization # noqa: E501 from adain.model.layers.reflection_padding_2d import ReflectionPadding2D __all__ = ['AdaptiveInstanceNormalization', 'ReflectionPadding2D']
ise-uiuc/Magicoder-OSS-Instruct-75K
def transform_rotate(direction: 'str', confidence: int) -> None: """Given a direction and confidence value (Out of 100%), rotate the object by its corresponding vector.""" magnitude = confidence / 100 if direction not in {'retract', 'expand'}: bpy.ops.transform.rotate( value=magnitude, ...
ise-uiuc/Magicoder-OSS-Instruct-75K
# The length of the segment matches Ron's birth month, and, # The sum of the integers on the squares is equal to his birth day. # Determine how many ways she can divide the chocolate. # int s[n]: the numbers on each of the squares of chocolate # int d: Ron's birth day # int m: Ron's birth month # Two children def...
ise-uiuc/Magicoder-OSS-Instruct-75K
from django.urls import path from . import views from .decorators import check_recaptcha urlpatterns = [
ise-uiuc/Magicoder-OSS-Instruct-75K
import javax.inject.Inject; import org.apache.isis.applib.annotation.DomainService; import org.apache.isis.applib.annotation.NatureOfService;
ise-uiuc/Magicoder-OSS-Instruct-75K
return Vector2(self._x * other, self._y * other) def __rdiv__(self, other): if hasattr(other, '__len__'): return Vector2(other[0] / self._x, other[1] / self._y)
ise-uiuc/Magicoder-OSS-Instruct-75K
@copilot_ext.route("/") @validate_uuids(["usr"], required=True) @check_user_exists() async def index(): return await render_template("copilot/index.html", user=g.user) @copilot_ext.route("/cp/") async def compose(): return await render_template("copilot/compose.html") @copilot_ext.route("/pn/"...
ise-uiuc/Magicoder-OSS-Instruct-75K
/** * PreviousPublicationByApplication */ class PreviousPublicationByApplication extends PreviousPublication { protected $application; /** * @return int */ public function getApplication() { return $this->application; } }
ise-uiuc/Magicoder-OSS-Instruct-75K
</linearGradient> <linearGradient inkscape:collect="always" id="linearGradient6180"> <stop style="stop-color:#00ec00;stop-opacity:1;" offset="0" id="stop6168" /> <stop style="stop-color:#00ec00;stop-opacity:0;" offset="1" id="stop6170" /> </linearGradient> <linearGradient inkscap...
ise-uiuc/Magicoder-OSS-Instruct-75K
<reponame>SabitKondakci/PowerShell-UbuntuBashFiles find '<source-dir> -type f | xargs -i mv -n {} -t '<target-dir> &
ise-uiuc/Magicoder-OSS-Instruct-75K
admin.site.register(Story)
ise-uiuc/Magicoder-OSS-Instruct-75K
} if ( $this->action != 'info') $html .= sprintf('<li><a href="%s?server=%s&action=info">[INFO]</a></li>', $this->script_name, $this->server); else $html .= '<li class="active"><a href="javascript:;">[INFO]</a></li>'; $html .= "</ul>"; return $html; } ...
ise-uiuc/Magicoder-OSS-Instruct-75K
import Advance from '@civ-clone/core-science/Advance'; export declare class CeremonialBurial extends Advance {} export default CeremonialBurial;
ise-uiuc/Magicoder-OSS-Instruct-75K
# package_data={}, package_data={"school_sdk": ['check_code/model.pkl']}, include_package_data=True, platforms='any', zip_safe=False, install_requires=[ 'requests', 'pyquery', 'bs4', 'Pillow', 'fake-headers', 'torch',
ise-uiuc/Magicoder-OSS-Instruct-75K
undiss_rte = GeoAccessor.from_featureclass(undiss_file) # undissolved transit route diss_rte = GeoAccessor.from_featureclass(diss_file) # dissolved transit route stop_df = GeoAccessor.from_featureclass(stop_file) # transit stop return (undiss_rte, diss_rte,...
ise-uiuc/Magicoder-OSS-Instruct-75K
raise ValueError('x1 and x2 are not the same length.') if (x2 is None) or (paired is True) : if x2 is None:
ise-uiuc/Magicoder-OSS-Instruct-75K
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateStudentoffenceTable extends Migration {
ise-uiuc/Magicoder-OSS-Instruct-75K
calculateScore(): {p1score: number, p2score: number} { let p1score = 0 let p2score = 0 const p1Edges = this.props.p1Edges const p2Edges = this.props.p2Edges const edges = this.props.edges
ise-uiuc/Magicoder-OSS-Instruct-75K
if __name__ == '__main__': exit( generic_test.generic_test_main('buy_and_sell_stock_twice.py', 'buy_and_sell_stock_twice.tsv', buy_and_sell_stock_twice))
ise-uiuc/Magicoder-OSS-Instruct-75K
#------------------------------------------------------------------------------ from .vertices import * from .susceptibility import Chi class DynScalingFunc(): """
ise-uiuc/Magicoder-OSS-Instruct-75K
<reponame>jamii/materialize<gh_stars>1-10 // Copyright Materialize, Inc. All rights reserved. // // Use of this software is governed by the Business Source License // included in the LICENSE file. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software...
ise-uiuc/Magicoder-OSS-Instruct-75K
def reparam(rdft): irdft_matrix = spectral_ops.irdft_matrix(var_shape[:-2], dtype=var_dtype) if not self.dc: irdft_matrix = irdft_matrix[:, 1:]
ise-uiuc/Magicoder-OSS-Instruct-75K
private stopp_abonnement(){ this.abonnerer = ""; localStorage.setItem("abonnerer", this.abonnerer); } }
ise-uiuc/Magicoder-OSS-Instruct-75K
import pkg
ise-uiuc/Magicoder-OSS-Instruct-75K
0, [ 'foo:bar', 'marklogic_host_id:9614261020922107465', 'marklogic_host_name:26f962ec5443', 'storage_path:/var/opt/MarkLogic', 'forest_id:868218461567003688', 'forest_name:Schemas', ], ...
ise-uiuc/Magicoder-OSS-Instruct-75K
) def delete_cart_group(*, cart_group: 'CartGroup'): if cart_group.base: cart_group.base.delete() cart_group.relations.all().delete() cart_group.delete()
ise-uiuc/Magicoder-OSS-Instruct-75K
"/", json=[{"action": "motion_comment_section.delete", "data": [{"id": 111}]}], ) self.assert_status_code(response, 200) self.assert_model_deleted("motion_comment_section/111") def test_delete_wrong_id(self) -> None: self.create_model("motion_comment_section/...
ise-uiuc/Magicoder-OSS-Instruct-75K
import { isUserInSession } from './auth.utils' const logger = createLoggerWithLabel(module) /** * Middleware that only allows authenticated users to pass through to the next * handler. * @returns next if user exists in session * @returns 401 if user does not exist in session */ export const withUserAuthenticatio...
ise-uiuc/Magicoder-OSS-Instruct-75K
append_single_phase_chemical('AmmoniumAcetate') append_single_phase_chemical('AmmoniumSulfate') append_single_phase_chemical('NaNO3', 'SodiumNitrate') append_single_phase_chemical('Oil', 'Oleic acid') append_single_phase_chemical('HMF') # Will remain in the vapor phase extend_single_pha...
ise-uiuc/Magicoder-OSS-Instruct-75K
# Add hello world operation
ise-uiuc/Magicoder-OSS-Instruct-75K
# # 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 ...
ise-uiuc/Magicoder-OSS-Instruct-75K
# Initialize environment variables that are defined in .env file echo "[*] Initializing environment variables from '.env'..." export $(grep -v '^#' .env | xargs) # Option to override GCP_DEVICE_ID from the first argument GCP_DEVICE_ID="${1:-$GCP_DEVICE_ID}" if [ -z "${GCP_DEVICE_ID}" ]; then
ise-uiuc/Magicoder-OSS-Instruct-75K
self.assertEqual(response, "Air Force blue IS A NICE COLOR.") def test_patten_match_mixed_word_set(self): response = PatternsetAIMLTests.test_client.bot.ask_question("test", "MY FAVORITE COLOR IS RED") self.assertEqual(response, "Red IS A NICE COLOR.") response = PatternsetAIMLTe...
ise-uiuc/Magicoder-OSS-Instruct-75K
var functionName: String? { switch self { case .functionCall(let functionName, _, _), .functionTransaction(let functionName, _, _): return functionName case .paymentTransaction, .eventFiltering: return nil } }
ise-uiuc/Magicoder-OSS-Instruct-75K
const tree = new Formatter().format(new Outline()); expect(tree).to.deep.equal({ "a:ln": [ { "a:noFill": {}, }, ], }); }); }); });
ise-uiuc/Magicoder-OSS-Instruct-75K
const useStyles = makeStyles((theme) => ({ paper: { flexGrow: 1, maxWidth: 700, margin: "50px auto", padding: theme.spacing(10), textAlign: 'center', }, alert: {
ise-uiuc/Magicoder-OSS-Instruct-75K
sudo tune2fs -c 30 /dev/sda1 sudo tune2fs -c 30 /dev/sda3
ise-uiuc/Magicoder-OSS-Instruct-75K
//! \brief The Object class declaration. //! \author <NAME> // Check for previous inclusion #ifndef WMI_OBJECT_HPP #define WMI_OBJECT_HPP #if _MSC_VER > 1000 #pragma once #endif #include "Types.hpp" #include <set> #include <WCL/Variant.hpp>
ise-uiuc/Magicoder-OSS-Instruct-75K
# Phantomjs svg converter params_phantomjs = [PHANTOM, SCRIPT_SVG, svg_name, svg_base_name + '.png', str(x) + '*' + str(y)] output_phantomjs = subprocess.check_output(params_phantomjs) img = Image.open(svg_base_name + '.png') format = 'PNG' img.save(file, format) os.remove(svg_name) if ...
ise-uiuc/Magicoder-OSS-Instruct-75K
} catch (\Exception $e) { $transaction->rollBack(); throw $e; } } /** * @param Users $user * @return bool * @throws \Exception * @throws \Throwable */ public function deleteTempUser(Users $user)
ise-uiuc/Magicoder-OSS-Instruct-75K
const { fixed, left, right, children } = this.props; return ( <div className={classnames(["header", { fixed }])}> <div className="header-menu-left">{left}</div> <div className="header-section">{children}</div> <div className="header-menu-right">{right}</div> </div> ); ...
ise-uiuc/Magicoder-OSS-Instruct-75K