seed
stringlengths
1
14k
source
stringclasses
2 values
'testapp' ) SITE_ID = 1 ROOT_URLCONF = 'core.urls'
ise-uiuc/Magicoder-OSS-Instruct-75K
window.addEventListener('load', function() { var form = document.getElementById('needs-validation'); form.addEventListener('submit', function(event) { if (form.checkValidity() === false) {
ise-uiuc/Magicoder-OSS-Instruct-75K
fh = logging.FileHandler('gootool.log', encoding='utf8') ch = logging.StreamHandler() fh.setLevel(logging.DEBUG) ch.setLevel(logging.WARNING) formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
ise-uiuc/Magicoder-OSS-Instruct-75K
do {
ise-uiuc/Magicoder-OSS-Instruct-75K
for var in blame.BLAME_VARIABLES: self.vars[var] = None def is_enabled(self): """Return whether status bar text is enabled in settings or not.""" enabled = self.settings.get('show_status_bar_text', False)
ise-uiuc/Magicoder-OSS-Instruct-75K
The DIRECT package uses the fortan implementation of DIRECT written by Joerg.M.Gablonsky, DIRECT Version 2.0.4. """ MAINTAINER = "<NAME>" MAINTAINER_EMAIL = "<EMAIL>" URL = "" LICENSE = "MIT" VERSION = "1.0" classifiers = ['Development Status :: 5 - Production/Stable',
ise-uiuc/Magicoder-OSS-Instruct-75K
return ("1") @app.route('/stop', methods=['GET', 'POST']) def stop(): mpcCommand(['mpc', 'stop']) return ("0") @app.route('/toggle', methods=['GET', 'POST']) def toggle():
ise-uiuc/Magicoder-OSS-Instruct-75K
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('research', '0002_auto_20190707_0836'),
ise-uiuc/Magicoder-OSS-Instruct-75K
* The MIT License (MIT) * * Copyright (c) 2016 - 2018 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: *
ise-uiuc/Magicoder-OSS-Instruct-75K
let dds: Vec<_> = decds::table .inner_join(ecs::table.on(decds::source.eq(ecs::id))) .filter(decds::deployment.eq(id)) .select((
ise-uiuc/Magicoder-OSS-Instruct-75K
public class Rogue : MonoBehaviour { public RogueData rogueData; }
ise-uiuc/Magicoder-OSS-Instruct-75K
var isAdmin = Model.AdminIsViewing; } <h1>@string.Format("{0}'s {1}", @Model.Member.FirstLastName, T("notices"))</h1> <div class="row"> <div class="col-lg-8"> @if (Model.Notices.Count().Equals(0)) { <p> @if (isOwner) { @T("You don't have any active notices") <br /> @Html.ActionLink(T("Add a notice").ToString(), "Create", new { area = "LETS", controller = "Notice" })
ise-uiuc/Magicoder-OSS-Instruct-75K
for r,d,f in os.walk(diri, topdown=False): for nama_tile in fnmatch.filter(f, file_filter): fullpath=os.path.join(r,nama_tile) namas = nama_tile.split('_') lat = namas[2] lon = namas[3].rstrip('.tif') new_lat = lat[:-2]+'0'+lat[-1] new_lon = lon[:-2]+'0'+lon[-1] folder=new_lat+'_'+new_lon dst = diri+os.sep+folder
ise-uiuc/Magicoder-OSS-Instruct-75K
class TestOperatorWebSite(unittest.TestCase): """Unit test class for OperatorWebSite."""
ise-uiuc/Magicoder-OSS-Instruct-75K
private $sudoku; /** @var Moves */
ise-uiuc/Magicoder-OSS-Instruct-75K
std::collections::HashMap<$name, V, $crate::BuildIdHasher<$num>>; pub type $hashset = std::collections::HashSet<$name, $crate::BuildIdHasher<$num>>; }; } /// A Vec indexable by a newtype_int. #[derive(Clone, Debug, Serialize, Deserialize)] pub struct IdVec<N: Into<usize>, T> { pub vec: Vec<T>, phantom: core::marker::PhantomData<N>, } impl<N: Into<usize>, T> IdVec<N, T> {
ise-uiuc/Magicoder-OSS-Instruct-75K
pub fn volumes(&self) -> &[Volume] { &self.volumes[..self.channels as usize] } } impl fmt::Debug for CVolume { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { // Only print the occupied part of the backing storage
ise-uiuc/Magicoder-OSS-Instruct-75K
using BGraph=vector<Mask>;
ise-uiuc/Magicoder-OSS-Instruct-75K
result += curr return result
ise-uiuc/Magicoder-OSS-Instruct-75K
class EventActionFactory { /** * @param ContainerInterface $container * * @return EventAction
ise-uiuc/Magicoder-OSS-Instruct-75K
} /** * Retrieves the user profile for a specified user.
ise-uiuc/Magicoder-OSS-Instruct-75K
if ~grid[x, y]: idx = [(x,y), (x+1,y), (x,y+1), (x+1,y+1)] try: should_create_a_block = ~np.sum(np.array(list(map(grid.get, idx))), dtype = bool) if should_create_a_block: grid = add_to_grid(spawn_block(x, y), grid) except: pass except: pass return grid
ise-uiuc/Magicoder-OSS-Instruct-75K
class ZZZTestCase(common.JPypeTestCase): def setUp(self): common.JPypeTestCase.setUp(self) def testShutdown(self):
ise-uiuc/Magicoder-OSS-Instruct-75K
self.APP_SECRET = app['app_secret'] self.FACEBOOK_APP_ID = app['facebook_app_id'] self.FACEBOOK_APP_SECRET = app['facebook_app_secret'] self.FACEBOOK_API_VERSION = app['facebook_api_version'] def tearDown(self): pass # 잘못된 Accept 헤더 def test_headers_invalid_accept(self): headers = self.make_header(accept=u'Invalid Accept') response = self.get('/ping/access_token=access_token', headers=headers) assert response.status_code == 404
ise-uiuc/Magicoder-OSS-Instruct-75K
self.frame = cv.QueryFrame(self.capture) #Inicializamos variables self.gray_frame = cv.CreateImage(cv.GetSize(self.frame), cv.IPL_DEPTH_8U, 1) self.average_frame = cv.CreateImage(cv.GetSize(self.frame), cv.IPL_DEPTH_32F, 3) self.absdiff_frame = None self.previous_frame = None self.surface = self.frame.width * self.frame.height self.currentsurface = 0 self.currentcontours = None self.threshold = threshold self.isRecording = True self.trigger_time = 0
ise-uiuc/Magicoder-OSS-Instruct-75K
elif fahrenheit is not None: self.kelvin = (fahrenheit - 32) * 5 / 9 + 273.15 else: self.kelvin = kelvin if self.kelvin < 0: raise ValueError('Temperature in Kelvin cannot be negative') def __str__(self): return f'Temperature = {self.kelvin} Kelvins'
ise-uiuc/Magicoder-OSS-Instruct-75K
logger = logging.getLogger(__name__)
ise-uiuc/Magicoder-OSS-Instruct-75K
# copy the entire directoryA to directoryB shutil.copytree("5g_research/", "5g_research_backup/")
ise-uiuc/Magicoder-OSS-Instruct-75K
"identifier": "identif" } }), "utf-8") )
ise-uiuc/Magicoder-OSS-Instruct-75K
i2c = Pvariable(config[CONF_ID], rhs) if CONF_FREQUENCY in config: add(i2c.set_frequency(config[CONF_FREQUENCY])) setup_component(i2c, config)
ise-uiuc/Magicoder-OSS-Instruct-75K
net.sf.jasperreports.olap.olap4j.Olap4jMember
ise-uiuc/Magicoder-OSS-Instruct-75K
url(r'^money-transfer/redeem-voucher/$', RedeemVoucherView.as_view(), name='money-transfer-redeem-voucher'), url(r'^money-transfer/verify-voucher/$', VerifyVoucherView.as_view(), name='money-transfer-verify-voucher'), url(r'^money-transfer/voucher-history/$', VoucherHistoryView.as_view(), name='money-transfer-voucher-history'), url(r'^money-transfer/$', MoneyTransferView.as_view(), name='money-transfer'), url(r'^bills/public-account/$', PublicAccountView.as_view(), name='bills-public-account'),
ise-uiuc/Magicoder-OSS-Instruct-75K
def outside(): x = 5 def print_ham():
ise-uiuc/Magicoder-OSS-Instruct-75K
model_name='frame', name='code', field=models.CharField(blank=True, max_length=1, null=True), ), migrations.AddField( model_name='frame', name='pack', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='hives.FramePack'), ), ]
ise-uiuc/Magicoder-OSS-Instruct-75K
#[test] fn test_p2pkh_signatory() -> Result<(), Box<dyn std::error::Error>> { let outpoint = OutPoint::default(); let ecc = DummyEcc; let seckey = SecKey::new_unchecked([1; 32]); let pubkey = PubKey::new_unchecked([2; 33]); let p2pkh_script = Script::p2pkh(&ShaRmd160::digest(pubkey.array().into()));
ise-uiuc/Magicoder-OSS-Instruct-75K
dim = 3 A = np.ones(shape=(dim, dim)) B = A.copy() b = np.empty(dim) for i in range(dim):
ise-uiuc/Magicoder-OSS-Instruct-75K
gender_autoencoder_destandardized_loss) = loss_list speaker_encoder_acc, gender_classification_acc = accuracy_list
ise-uiuc/Magicoder-OSS-Instruct-75K
return "<\(props.joined(separator: "; "))>" } // MARK: - STPAPIResponseDecodable @objc public class func decodedObject(fromAPIResponse response: [AnyHashable: Any]?) -> Self? { guard let response = response else { return nil
ise-uiuc/Magicoder-OSS-Instruct-75K
b[j] = [f[j]*math.sqrt(value) for value in a[j]] model = Model("nonlinear flp -- piecewise linear aggregated convex combination") x = {} for j in J: for i in I: x[i,j] = model.addVar(vtype="C", name="x(%s,%s)"%(i,j)) # i's demand satisfied from j # total volume transported from plant j, corresponding (linearized) cost, selection variable: X,F,z = {},{},{} for j in J:
ise-uiuc/Magicoder-OSS-Instruct-75K
} /// Clocks the linear counter pub fn tick_counter(&mut self) { // The triangle channel's linear counter is similar to the length counter // but is more precise because it is clocked at a faster rate // Check the reload flag match self.counter_reload { // If set, reload the linear counter true => self.linear_counter = self.counter_period, // Otherwise if the counter is > 0, decrement false if self.linear_counter > 0 => self.linear_counter -= 1, // Do nothing if it is 0
ise-uiuc/Magicoder-OSS-Instruct-75K
class GetPdfRequest extends Service { /** * @return string */ public function action($action = null) { return ActionInterface::ACTION_GET_PDF_REQUEST; } /** * @return array */ public function data($data = null)
ise-uiuc/Magicoder-OSS-Instruct-75K
extern crate wayland_commons; #[macro_use] extern crate wayland_sys;
ise-uiuc/Magicoder-OSS-Instruct-75K
if(diffTime>300 || diffX>50 || diffY>50) gesture_state = 0; break; } case PE_TOUCH_UP: { pos[1] = pTouch->getLocation(); double diffTime = time_interval(event_time[TOUCH_GESTURE_START], event_time[TOUCH_GESTURE_END]); float diffX = (pos[1].x - pos[0].x > 0)?(pos[1].x - pos[0].x):(pos[0].x - pos[1].x); float diffY = (pos[1].y - pos[0].y > 0)?(pos[1].y - pos[0].y):(pos[0].y - pos[1].y); if(diffTime<300 && diffX<50 && diffY<50) { onDoubleTap(pos[1]); ret = true;
ise-uiuc/Magicoder-OSS-Instruct-75K
<div style="text-align: center"> {{ $teams->links('pagination.customPagination') }} </div>
ise-uiuc/Magicoder-OSS-Instruct-75K
use SplFileInfo; /** * Class File. * * @package AntonioKadid\WAPPKitCore\IO */
ise-uiuc/Magicoder-OSS-Instruct-75K
#Gaussian 2D smoothing, anisotropic ## http://homepages.inf.ed.ac.uk/rbf/HIPR2/gsmooth.htm
ise-uiuc/Magicoder-OSS-Instruct-75K
protected async getNoteExportContent_(modNote: NoteEntity) { const noteContent = await Note.replaceResourceInternalToExternalLinks(await Note.serialize(modNote, ['body'])); const metadata = this.extractMetadata(modNote); return `---\n${metadata}---\n\n${noteContent}`; }
ise-uiuc/Magicoder-OSS-Instruct-75K
except: raise CLIError(parameter_name + ' must be a valid time format')
ise-uiuc/Magicoder-OSS-Instruct-75K
hs = hashlib.md5((username + email).encode()).hexdigest() return Token.objects.create(token=hs, user=request.user)
ise-uiuc/Magicoder-OSS-Instruct-75K
while(cin >> n >> s){ if(s>=1000){ cout << 0 << endl; continue; } int ans=0; for(int i=0;i<(1<<10);i++) if(count(i)==n)ans+=dp[i][s]; cout << ans << endl; }
ise-uiuc/Magicoder-OSS-Instruct-75K
# Send success status to OpenStack WaitCondition function notify_failure() { $WC_NOTIFY --insecure --data-binary \ "{\"status\": \"FAILURE\", \"reason\": \"$1\", \"data\": \"$1\"}" exit 1 }
ise-uiuc/Magicoder-OSS-Instruct-75K
help="Path to label one-column file with one row for each input") subopts.add_argument('-m', '--model_type', type=str, default='rf', help='specify the underlying classifier type (rf (randomforest), svc (SVM))', choices=['svm', 'rf']) subopts.add_argument('-f', '--feature_nomask', dest='feature_nomask',
ise-uiuc/Magicoder-OSS-Instruct-75K
#write data_in file - row wise
ise-uiuc/Magicoder-OSS-Instruct-75K
}); } public readonly lockScriptHash: H160; public readonly parameters: Buffer[]; public readonly amount?: U64 | null; /** * @param data.lockScriptHash A lock script hash of the output. * @param data.parameters Parameters of the output.
ise-uiuc/Magicoder-OSS-Instruct-75K
# Feature extraction feat_dir=$pwd/data/mfcc_features if [ $stage -le 1 ]; then for set in test dev train; do dir=data/$set steps/make_mfcc.sh --nj 20 --cmd "$train_cmd" $dir $dir/log $dir/data || exit 1
ise-uiuc/Magicoder-OSS-Instruct-75K
).tocsv(resolve('work/Patient.csv')) preprocess( etl.io.csv.fromcsv(resolve('Diagnoses.csv')) ).tocsv(resolve('work/Condition.csv')) preprocess( etl.io.csv.fromcsv(resolve('fairbanks_cv.dedup.csv')) ).tocsv(resolve('work/Observation.csv'))
ise-uiuc/Magicoder-OSS-Instruct-75K
self._removed_tests += test.countTestCases() self._tests[index] = None
ise-uiuc/Magicoder-OSS-Instruct-75K
def sigmoid_example(design): n = design.shape[-2] random_effect_k = pyro.sample("k", dist.Gamma(2.*torch.ones(n), torch.tensor(2.))) random_effect_offset = pyro.sample("w2", dist.Normal(torch.tensor(0.), torch.ones(n))) w1 = pyro.sample("w1", dist.Normal(torch.tensor([1., -1.]), torch.tensor([10., 10.])).independent(1)) mean = torch.matmul(design[..., :-2], w1.unsqueeze(-1)).squeeze(-1) offset_mean = mean + random_effect_offset base_dist = dist.Normal(offset_mean, torch.tensor(1.)).independent(1) transforms = [ AffineTransform(loc=torch.tensor(0.), scale=random_effect_k), SigmoidTransform() ]
ise-uiuc/Magicoder-OSS-Instruct-75K
CONTRACTL_END; LPVOID fnPtr = COMDelegate::ConvertToCallback(*pCLRValue); MAYBE_UNALIGNED_WRITE(pNativeValue, _PTR, fnPtr); }
ise-uiuc/Magicoder-OSS-Instruct-75K
for score in self.scores: master["players"].append(dataclasses.asdict(score)) with open(self.scoreboard_file, "w") as fp: json.dump(master, fp) pygame.quit() sys.exit() def draw(self): """ Draw all the high scores in a row like
ise-uiuc/Magicoder-OSS-Instruct-75K
/// Returns the `Span`'s end byte position as a `usize`. /// /// # Examples /// /// ``` /// # use pest::Position; /// let input = "ab"; /// let start = Position::from_start(input); /// let end = start.clone().match_string("ab").unwrap(); /// let span = start.span(&end);
ise-uiuc/Magicoder-OSS-Instruct-75K
and isinstance(definition.members["low"].cairo_type, TypeFelt) and isinstance(definition.members["high"].cairo_type, TypeFelt) ) MAX_UINT256 = (1 << 256) - 1 MIN_UINT256 = 0 def uint256_range_check(value: int):
ise-uiuc/Magicoder-OSS-Instruct-75K
</td> <td colspan="2" class="fw_ex_bold color_pink v_align_m">{{globleCartData.total_price|currency:" "}}</td> </tr> </tbody> </table> <!--//mobile view--> <table class="table table-striped shopping-cart-table showonmobile"> <thead>
ise-uiuc/Magicoder-OSS-Instruct-75K
let res = Solution::daily_temperatures2(vec![73, 74, 75, 71, 69, 72, 76, 73]);
ise-uiuc/Magicoder-OSS-Instruct-75K
apt-get clean -y
ise-uiuc/Magicoder-OSS-Instruct-75K
// SDKClaro // // Created by Juan Carlos Balderas on 07/01/2020. // Copyright (c) 2020 Juan Carlos Balderas. All rights reserved. //
ise-uiuc/Magicoder-OSS-Instruct-75K
/// Creates a package version. /// </summary> public static PackageVersion Create(StringTable stringTable, string minVersion, string maxVersion) { Contract.Requires(stringTable != null); Contract.Requires(minVersion != null); Contract.Requires(maxVersion != null);
ise-uiuc/Magicoder-OSS-Instruct-75K
// If we got a string payload, then print the reason. match str { Some(message) => quick_msg_box(&format!("PANIC: {}", message)),
ise-uiuc/Magicoder-OSS-Instruct-75K
""" Проверка, что общее количество пивоварен на 1 странице = 20 """ response = requests.get('https://api.openbrewerydb.org/breweries').json() assert len(response) == 20 def test_openbrewerydb_2(self, brewery_type): """ Проверка фильтрации по brewery_type""" response = requests.get('https://api.openbrewerydb.org/breweries?by_type=' + brewery_type) assert response.status_code == 200 assert response.json()[0]["brewery_type"] == brewery_type
ise-uiuc/Magicoder-OSS-Instruct-75K
""" file_names = [
ise-uiuc/Magicoder-OSS-Instruct-75K
#client.disconnect() def main(): """ Load the network and parse the output. :return: None
ise-uiuc/Magicoder-OSS-Instruct-75K
def add_parser(subparsers: Optional[argparse._SubParsersAction] = None): subcommand_name = "filesystem" subcommand_help = "ファイル操作関係(Web APIにアクセスしない)のサブコマンド" description = "ファイル操作関係(Web APIにアクセスしない)のサブコマンド"
ise-uiuc/Magicoder-OSS-Instruct-75K
mimeType: string; lastModified: number; base64Value: string; }
ise-uiuc/Magicoder-OSS-Instruct-75K
logger = logging.getLogger(__name__) class seg(FileTypeFormat): _fileType = "seg" _process_kwargs = ["newPath", "databaseSynId"] def _validateFilename(self, filePath): assert os.path.basename(filePath[0]) == "genie_data_cna_hg19_%s.%s" % (self.center, self._fileType)
ise-uiuc/Magicoder-OSS-Instruct-75K
// Translation of Erco's example of Fl_Browser with columns // http://seriss.com/people/erco/fltk/#BrowserColumns use fltk::*; fn main() {
ise-uiuc/Magicoder-OSS-Instruct-75K
if settings.DEBUG: return mail_admins_async.delay( subject=subject, message=message, ) def write_to_log_file(subject, message): logger.debug(message) if not (notify_admins or to or log_to_file):
ise-uiuc/Magicoder-OSS-Instruct-75K
style = toplevel.get_style() style.add(_get_confirm_label_header_style(font_family=font_family, font_size=font_size), pattern="*label_header") style.add(_get_confirm_label_message_style(), pattern="*label_message") return style
ise-uiuc/Magicoder-OSS-Instruct-75K
namespace ProceduralLevel.UnityPlugins.Common.Editor { public static class EditorGUILayoutExt { private const int INT_INDEX = 0; private const int FLOAT_INDEX = 1; private const int BOOL_INDEX = 2; private const int STRING_INDEX = 3; private const int ENUM_INDEX = 4; private delegate object ValueOptionsCallback(object value, params GUILayoutOption[] options); private delegate object ValueStyleOptionsCallback(object value, GUIStyle style, params GUILayoutOption[] options);
ise-uiuc/Magicoder-OSS-Instruct-75K
def set_password(self, password): self.password = <PASSWORD>password_hash(password) def deactivate(self):
ise-uiuc/Magicoder-OSS-Instruct-75K
Token, TokenData, ) from .user import ( UserChanges, UserIn, UserModel,
ise-uiuc/Magicoder-OSS-Instruct-75K
compas_rhino.delete_objects(guids) def draw_edges(self, keys=None, color=None): """Draw a selection of edges of the network. Parameters ---------- keys : list A list of edge keys (as uv pairs) identifying which edges to draw. The default is ``None``, in which case all edges are drawn. color : str, tuple, dict The color specififcation for the edges. Colors should be specified in the form of a string (hex colors) or
ise-uiuc/Magicoder-OSS-Instruct-75K
readonly create_at: Date; // readonly orden_detalle: [OrdenDetalle | string]; }
ise-uiuc/Magicoder-OSS-Instruct-75K
templateUrl: './file-input.component.html', styleUrls: ['./file-input.component.scss'] }) export class FileInputComponent {
ise-uiuc/Magicoder-OSS-Instruct-75K
except(Exception): parser.print_help() if len(sys.argv) == 1: parser.print_help() sys.exit(1) title = "ZARP" subtitle = "RNA-Seq processing pipeline developed by Zavolan Lab" logo_title = "ZARP" project_type = "Snakemake workflow" analysis_type = "RNA-seq"
ise-uiuc/Magicoder-OSS-Instruct-75K
* 数组 nums 是 严格递增 的定义为:对于任意下标的 1 <= i < nums.length 都满足 nums[i - 1] < nums[i] 。 * @Created by: matreeix * @Date: 2021/6/26
ise-uiuc/Magicoder-OSS-Instruct-75K
namespace Recrutment.Api.Services { using System.Collections.Generic; using System.Threading.Tasks; using Models.Jobs.JobApi; public interface IJobsService { Task CreateJob(string title, string description, decimal salary, IEnumerable<int> skillIds);
ise-uiuc/Magicoder-OSS-Instruct-75K
}); XDG_SHELL_CREATOR.with(|shell_creator| { *shell_creator.borrow_mut() = Some(proxy); }); } pub fn create_xdg_toplevel<G>(geometry: G) -> Result<XdgToplevel, ()> where G: Into<Option<Area>> { let surface = wayland_obj::create_surface()?; let xdg_surface = create_xdg_surface(&surface)?; if let Some(geometry) = geometry.into() { let Origin { x, y } = geometry.origin;
ise-uiuc/Magicoder-OSS-Instruct-75K
kappa = numba.jit(pstd.kappa) # abs_exp = numba.jit(pstd.abs_exp) pressure_abs_exp = numba.jit(pstd.pressure_abs_exp) velocity_abs_exp = numba.jit(pstd.velocity_abs_exp) pressure_with_pml = numba.jit(pstd.pressure_with_pml) velocity_with_pml = numba.jit(pstd.pressure_with_pml) to_pressure_gradient = numba.jit(pstd.to_pressure_gradient) to_velocity_gradient = numba.jit(pstd.to_velocity_gradient) update = numba.jit(pstd.update) class PSTD(pstd.PSTD): _update = staticmethod(update)
ise-uiuc/Magicoder-OSS-Instruct-75K
Returns only the objects assigned to single tag. """
ise-uiuc/Magicoder-OSS-Instruct-75K
mgr.store(powervm.TEST_INST1.uuid) mgr.store(powervm.TEST_INST2) mgr.fetch(powervm.TEST_INST2) mgr.fetch(powervm.TEST_INST2.uuid) mgr.remove(powervm.TEST_INST2)
ise-uiuc/Magicoder-OSS-Instruct-75K
mkdir -p cache cd cache if [ ! -e ./GraphicsMagick-$GRAPHICSMAGIC_VERSION ] then wget http://192.168.127.12/MIRROR/ftp/GraphicsMagick/1.3/GraphicsMagick-$GRAPHICSMAGIC_VERSION.tar.xz tar -xf GraphicsMagick-$GRAPHICSMAGIC_VERSION.tar.xz rm GraphicsMagick-$GRAPHICSMAGIC_VERSION.tar.xz
ise-uiuc/Magicoder-OSS-Instruct-75K
use super::*; #[test] fn sensors_works() { use std::ptr; unsafe {
ise-uiuc/Magicoder-OSS-Instruct-75K
} public String getDisplayUrl() { return displayUrl; } }
ise-uiuc/Magicoder-OSS-Instruct-75K
# gzip, also, so they won't even see deflate output. compress = zlib.compressobj(compressLevel, zlib.DEFLATED, zlib.MAX_WBITS, zlib.DEF_MEM_LEVEL, 0) _compress = compress.compress yield input.wait for buf in input: if len(buf) != 0: yield _compress(buf) yield input.wait yield compress.flush()
ise-uiuc/Magicoder-OSS-Instruct-75K
description='Processes the Request params for Flask served as a Python library ', author='<NAME>, <NAME>',
ise-uiuc/Magicoder-OSS-Instruct-75K
if [ -f ${1} ] then
ise-uiuc/Magicoder-OSS-Instruct-75K
print(tabby_dog) print(persian_dog) print(backslash_dog) print(fat_dog)
ise-uiuc/Magicoder-OSS-Instruct-75K
return it.takewhile(lambda t: len(t), _consecutives()) def sames(sequence): def _same():
ise-uiuc/Magicoder-OSS-Instruct-75K
tConfigData->mMassExponent = tMassExponent; /// @test Initialization exception on invalid config data: liquid mass capacity < FLT_EPSILON. tConfigData->mMaxLiquidMass = DBL_EPSILON; CPPUNIT_ASSERT_THROW(tArticle->initialize(*tConfigData, *tInputData, tLinks, tPort0, tPort1), TsInitializationException); tConfigData->mMaxLiquidMass = tMaxLiquidMass; /// @test Initialization exception on invalid config data: reference speed < FLT_EPSILON.
ise-uiuc/Magicoder-OSS-Instruct-75K
#!/bin/bash find $(pwd) -name "*.*tf" -exec fontforge -script "$(dirname $0)/2ttf.pe" '{}' \;
ise-uiuc/Magicoder-OSS-Instruct-75K