seed
stringlengths
1
14k
source
stringclasses
2 values
path = Path("data") (dataset, Nu, # dimension of a single data point # for example 88 for piano-midi.de # where 88 corresponds the number of keys on a piano
ise-uiuc/Magicoder-OSS-Instruct-75K
# list_.append(current_node.support) # current_node = current_node.parent # return list_
ise-uiuc/Magicoder-OSS-Instruct-75K
# Build Object for Attitude and Position Controller specs = {"mass": 0.445, "inertia": [ 0.0027, 0.0029, 0.0053], "armLength": 0.125} initialState = [[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]] initialState2 = [[-1.0, 1.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]] initialState3 = [[7.0, -5.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]] initialInput = [0.0, 0.0, 0.0, 0.0] attitudeControllerPID = [[1.43, 0, 0.13], # PID phi [1.52, 0, 0.14], # PID theta [2.43, 0, 0.26], # PID psi
ise-uiuc/Magicoder-OSS-Instruct-75K
hourBar.GetComponent<RectTransform>().anchorMax = new Vector2(hours/48, 1); hourText.GetComponent<TMP_Text>().text = hours.ToString(); energyBar.GetComponent<RectTransform>().anchorMax = new Vector2(energy / 100, 1); energyText.GetComponent<TMP_Text>().text = energy.ToString(); foodBar.GetComponent<RectTransform>().anchorMax = new Vector2(food / 100, 1); foodText.GetComponent<TMP_Text>().text = food.ToString(); experienceBar.GetComponent<RectTransform>().anchorMax = new Vector2(experience / 100, 1); experienceText.GetComponent<TMP_Text>().text = experience.ToString(); } }
ise-uiuc/Magicoder-OSS-Instruct-75K
} @Override public void onUnmorphStart() { } }
ise-uiuc/Magicoder-OSS-Instruct-75K
# # Module : hansard_scrape # Author : <NAME> # $Id: check_chars.py 18332 2017-06-18 16:18:38Z sjb $ # ****************************************************************************** """Check characters in contribution file. Usage: ./check_chars.py <json_filename> """
ise-uiuc/Magicoder-OSS-Instruct-75K
class SwiftyperSignatureValidator {
ise-uiuc/Magicoder-OSS-Instruct-75K
''' # Gets required data points name_and_code, email_id = get_code() name, code = name_and_code # Checks if there is anything to clear elq_track = re.compile(r'((\?|&)elqTrack.*?(?=(#|")))', re.UNICODE) if elq_track.findall(code): print( f'\n{Fore.WHITE}[{Fore.GREEN}SUCCESS{Fore.WHITE}]', f'{Fore.WHITE}Cleaned {len(elq_track.findall(code))} elqTracks and saved to Outcomes folder.') code = elq_track.sub('', code) code = add_elqtrack(code) with open(file('elqtrack', name=name), 'w', encoding='utf-8') as f:
ise-uiuc/Magicoder-OSS-Instruct-75K
initial: { height: 0, opacity: 0, }, }, }; }; export default usePeekTransition;
ise-uiuc/Magicoder-OSS-Instruct-75K
#endif
ise-uiuc/Magicoder-OSS-Instruct-75K
return render( request, "quizzes/generate.html", {"quiz": quiz, "generated_problems": quiz.generate_everything()}, )
ise-uiuc/Magicoder-OSS-Instruct-75K
[ ! -e aclocal ] && ln -s aclocal-* aclocal
ise-uiuc/Magicoder-OSS-Instruct-75K
self.add_neighbors(ncol, nrow) def part_one(self, verbose=False, limit=0):
ise-uiuc/Magicoder-OSS-Instruct-75K
} } return ( <Group type="single" value={value} onValueChange={handleChange}> {children} </Group> ) } interface ItemProps {
ise-uiuc/Magicoder-OSS-Instruct-75K
{ Heal_Timer = 2000; } void UpdateAI (const uint32 diff) { //Heal_Timer if (Heal_Timer < diff)
ise-uiuc/Magicoder-OSS-Instruct-75K
links: Union[List[str], None]
ise-uiuc/Magicoder-OSS-Instruct-75K
assert_not_empty "${answer}" assert_equals '1:1 5:5 9:9 34:35 38:40' "${answer}"
ise-uiuc/Magicoder-OSS-Instruct-75K
* @param {*} value * @returns {[]} */ export declare function extendArray(source: any, len: any, value?: null): any;
ise-uiuc/Magicoder-OSS-Instruct-75K
create(item: Finca, callback: (error: any, result: any) => void) { this.model.create(item, callback); } getAll(callback: (error: any, result: any) => void) { this.model.find({}, callback); } update(item: Finca, data: Finca, callback: (error: any, result: any) => void) { item.update(data, callback); } delete(item: Finca, callback: (error: any, result: any) => void) { item.remove((err) => callback(err, { _id: item._id })); }
ise-uiuc/Magicoder-OSS-Instruct-75K
return self._cached_kernel_mat else: res = delazify(self.base_kernel(self.inducing_points, self.inducing_points)) if not self.training: self._cached_kernel_mat = res return res @property def _inducing_inv_root(self): if not self.training and hasattr(self, "_cached_kernel_inv_root"): return self._cached_kernel_inv_root
ise-uiuc/Magicoder-OSS-Instruct-75K
def get_media_upload_detail(self, id): """ Get media upload detail :param id: identifier of entity """
ise-uiuc/Magicoder-OSS-Instruct-75K
with open("psg_utils/version.py") as version_file: exec(version_file.read()) if __version__ is None:
ise-uiuc/Magicoder-OSS-Instruct-75K
/** * * @return \BearCMS\Themes\Theme\Style */ public function makeStyle(): \BearCMS\Themes\Theme\Style { return new \BearCMS\Themes\Theme\Style(); } /** * * @return \BearCMS\Themes\Theme\Manifest */ public function makeManifest(): \BearCMS\Themes\Theme\Manifest {
ise-uiuc/Magicoder-OSS-Instruct-75K
f_private.close() def __phi__(self): """ Función completamente privada y auxiliar, únicamente para el uso de las pruebas unitarias. :return: el número de primos relativos con n. """ return self.phi def encrypt(self, message): """ Encripta un mensaje recibido como parámetro y lo regresa a manera de lista de enteros. :param message: el mensaje a encriptar.
ise-uiuc/Magicoder-OSS-Instruct-75K
from prompt_toolkit.layout.containers import HSplit from prompt_toolkit.layout.dimension import D from prompt_toolkit.widgets import Button, Dialog, Label from constants import DIALOG_WIDTH from custom_types.ui_types import PopUpDialog from utils import display_path class ConfirmDialog(PopUpDialog): """Dialog box to confirm or cancel"""
ise-uiuc/Magicoder-OSS-Instruct-75K
<i class="glyphicon glyphicon-envelope"></i> <a href="mailto:@EmailAddresses.Membership?Subject=Membership%20Question" target="_top">@EmailAddresses.Membership</a> </div>
ise-uiuc/Magicoder-OSS-Instruct-75K
def compile_core(comp, scilib): """ ATTENTION, NOT FINISHED """ subprocess.call(("make pawpy_%s"%comp).split())
ise-uiuc/Magicoder-OSS-Instruct-75K
PROCESSING: - Implements 3 functions over the data of many utility companies. OUTPUT: - Average commercial rate of all companies in the file. - Selected data from the company with the highest commercial rate.
ise-uiuc/Magicoder-OSS-Instruct-75K
return this.http.get<Usuario[]>(this.apiUrl + "/usuarios"); } addUsuario(nuevoUsuario: Usuario): Observable<any> { return this.http.post<any>(this.apiUrl + "/usuarios", nuevoUsuario); } editarUsuario(identidad: string, updateUsuario: Usuario): Observable<any> { return this.http.put(this.apiUrl + "/usuarios/" + identidad, updateUsuario); } getUsuarioByTipo(tipoUsuario: string): Observable<Usuario[]> { return this.http.get<Usuario[]>( `${this.apiUrl}/usuarios/usuarioByTipoUsuario/${tipoUsuario}`
ise-uiuc/Magicoder-OSS-Instruct-75K
/// <summary> /// 注册更新操作 /// </summary> /// <param name="entity">实体</param> void Update<TEntity>(TEntity entity) where TEntity : class; /// <summary> /// 注册删除操作 /// </summary> /// <param name="entity">实体</param> void Delete<TEntity>(TEntity entity) where TEntity : class;
ise-uiuc/Magicoder-OSS-Instruct-75K
func applicationWillResignActive(_ application: UIApplication) { } func applicationDidEnterBackground(_ application: UIApplication) { } func applicationWillEnterForeground(_ application: UIApplication) { }
ise-uiuc/Magicoder-OSS-Instruct-75K
def _swig_setattr_nondynamic(self,class_type,name,value,static=1): if (name == "thisown"): return self.this.own(value) if (name == "this"): if type(value).__name__ == 'SwigPyObject': self.__dict__[name] = value return method = class_type.__swig_setmethods__.get(name,None) if method: return method(self,value) if (not static):
ise-uiuc/Magicoder-OSS-Instruct-75K
@as_declarative() class Base: id: Any __name__: str # Generate __tablename__ automatically metadata = sqlalchemy.MetaData()
ise-uiuc/Magicoder-OSS-Instruct-75K
options = matches + _abort_helpers() # type: ignore selector = SelectOne(options, **_chars()) choice = selector.prompt() if isinstance(choice, (MnamerAbortException, MnamerSkipException)): raise choice return choice def metadata_guess(
ise-uiuc/Magicoder-OSS-Instruct-75K
if isinstance(x["image"], dict): image_id = x["image"]["image_id"] else: image_id = x["image"] ex = MILExample(gpv_id=x['gpv_id'],image_id=image_id,answer=x['answer'], query=x['query'],correct_answer=x['correct'],rel_query=x['rel_query'] ) out.append(ex)
ise-uiuc/Magicoder-OSS-Instruct-75K
class NoFibreChannelVolumeDeviceFound(BrickException): message = _("Unable to find a Fibre Channel volume device.")
ise-uiuc/Magicoder-OSS-Instruct-75K
exit 2 fi fi
ise-uiuc/Magicoder-OSS-Instruct-75K
[[ -e $i ]] && . $i done fi
ise-uiuc/Magicoder-OSS-Instruct-75K
# See the License for the specific language governing permissions and # limitations under the License. # [START aiplatform_sdk_create_feature_sample] from google.cloud import aiplatform def create_feature_sample( project: str, location: str, feature_id: str, value_type: str,
ise-uiuc/Magicoder-OSS-Instruct-75K
pub use clap::Parser; pub use std::path::PathBuf; use std::fs::{create_dir, read_dir}; use crate::args::GlobalArgs; use lib::Page;
ise-uiuc/Magicoder-OSS-Instruct-75K
return .label } return UIColor(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0) } static var secondaryLabel: UIColor {
ise-uiuc/Magicoder-OSS-Instruct-75K
stats0 = [np.mean(m1), np.var(m1), skew(m1), kurtosis(m1)] stats1 = get_map_stats(m, order=4) assert(np.allclose(stats1, stats0)) med0 = np.median(m1)
ise-uiuc/Magicoder-OSS-Instruct-75K
fWritten = TRUE; return; } int32_t res16 = 0; for (SResource *current = fFirst; current != NULL; current = current->fNext) { current->write16(bundle); res16 |= current->fRes16; } if (fCount <= 0xffff && res16 >= 0 && gFormatVersion > 1) { fRes = URES_MAKE_RESOURCE(URES_ARRAY16, bundle->f16BitUnits.length()); bundle->f16BitUnits.append((UChar)fCount); writeAllRes16(bundle);
ise-uiuc/Magicoder-OSS-Instruct-75K
HOOKS_LIST = { 'github': GITHUB_EVENT
ise-uiuc/Magicoder-OSS-Instruct-75K
model = [nn.Conv2d(in_nc, out_nc, kernel_size=3, stride=1, padding=1, bias=self.use_bias), self.norm_layer(out_nc, affine=True), nn.ReLU(True)] # Up-Sampling
ise-uiuc/Magicoder-OSS-Instruct-75K
appgpp_folder = os.path.join(postprocess_folder, 'AppGPostProcess') if platform.system() == 'Windows': appgpp_binary = os.path.join(appgpp_folder, 'appgpostprocess.exe') else: appgpp_binary = os.path.join(appgpp_folder, 'appgpostprocess') if not os.path.exists(appgpp_binary): return EPLaunchWorkflowResponse1( success=False, message="AppGPostProcess binary not found: {}!".format(appgpp_binary), column_data=[] ) else: return EPLaunchWorkflowResponse1(
ise-uiuc/Magicoder-OSS-Instruct-75K
@delay(duration=duration) def slow_func(): slow_stack.append(True) slow_func() assert datetime.utcnow() < (began + duration) + margin, \ 'delay func slower than duration' assert datetime.utcnow() > began + duration, \ 'delay func faster than duration' assert len(slow_stack), 'delay func did not run'
ise-uiuc/Magicoder-OSS-Instruct-75K
createMappedOutput("output", Dataset.class, result, varman); statusMessage = generateStatusMessage(ds.getSize(), result.getSize(), -1); LOG.info("Results: " + JsonHandler.getInstance().objectToJson(result.getMetadata())); } }
ise-uiuc/Magicoder-OSS-Instruct-75K
<reponame>cakeinpanic/rx-angular global.MessageChannel = require('worker_threads').MessageChannel;
ise-uiuc/Magicoder-OSS-Instruct-75K
color: backend_color, } } pub fn get_rgb(&self) -> (u8, u8, u8) { return (self.color.r, self.color.g, self.color.b); }
ise-uiuc/Magicoder-OSS-Instruct-75K
def route(self, rule, **options): wrap_subjects = options.pop("auto_store_subjects", False) base_decorator = super().route(rule, **options) def decorator(f): if wrap_subjects: f = self._wrap_function(f) return base_decorator(f)
ise-uiuc/Magicoder-OSS-Instruct-75K
buf += "\x43\xff\xc7\x4b\x76\x68\x3e\x5d\xc4\x17\x91\x66\x08" buf += "\x21\xd8\x52\x77\x99\x59\xa9\x74\xba\xea\xfd\x0f\xfb" buf += "\x11\xf3\x29\x70\x2d\x3f\x0d\xbb\x5c\xe9\x13\x5f\x64" buf += "\x35\x20\xd1\x6b\xc4\x41\xde\x53\xeb\x34\xec\xf8\x07" buf += "\xac\xe1\x43\xbc\x47\x1f\x6a\x46\x57\x33\x04\xb0\xda" buf += "\xe3\x5d\xf0\x67\x90\x40\x14\x9b\x73\x98\x50\xa4\x19" buf += "\x80\xe0\x4b\xb4\xbc\xdd\xac\xaa\x92\x2b\x07\xa6\x3d"
ise-uiuc/Magicoder-OSS-Instruct-75K
if os.path.isdir(a_repl): os.chdir(a_repl) subprocess.call(["docker","build","-t",filename,"."])
ise-uiuc/Magicoder-OSS-Instruct-75K
setUp pot-create-private-bridge -h assertEquals "Exit rc" "0" "$?" assertEquals "Help calls" "1" "$HELP_CALLS" assertEquals "Error calls" "0" "$ERROR_CALLS" assertEquals "_is_uid0 calls" "0" "$ISUID0_CALLS" } test_create_private_bridge_002() { pot-create-private-bridge -B test-bridge assertEquals "Exit rc" "1" "$?" assertEquals "Error calls" "1" "$ERROR_CALLS" assertEquals "_is_uid0 calls" "0" "$ISUID0_CALLS" assertEquals "_create_bridge calls" "0" "$CB_CALLS"
ise-uiuc/Magicoder-OSS-Instruct-75K
macro_rules! internal_err { ($e:expr) => ({
ise-uiuc/Magicoder-OSS-Instruct-75K
from imnn.lfi.gaussian_approximation import GaussianApproximation from imnn.lfi.approximate_bayesian_computation import \ ApproximateBayesianComputation from imnn.lfi.population_monte_carlo import PopulationMonteCarlo __author__ = "<NAME>"
ise-uiuc/Magicoder-OSS-Instruct-75K
// Support for US Spanish if (!strcmp(path, BootStrapFilePaths[4])) { path = (char*)"/Boot/Strap/us/Spanish_US.szs"; if (DVDOpen(path, &fInfo)) goto out; } // Support for US French if (!strcmp(path, BootStrapFilePaths[3])) { path = (char*)"/Boot/Strap/us/French.szs"; if (DVDOpen(path, &fInfo)) goto out; }
ise-uiuc/Magicoder-OSS-Instruct-75K
{ parent::__construct(); is_admin(); $this->load->model('M_dashboard', 'm_dash'); } public function index() { $id = $this->session->userdata('id'); $data['title'] = 'Dashboard'; $data['user'] = $this->db->get_where('users', ['id' => $id])->row(); $data['transaction'] = $this->m_dash->getTransaction();
ise-uiuc/Magicoder-OSS-Instruct-75K
# reassign the protein-disease association biadj_networkPD[idx_P, idx_D] = 1.0 print("Average AUC", np.mean(roc_value_set)) # compute sensitivity and top rate (ROC-like curve) # ToDo: faster implementation sen_set = np.array([], dtype=np.float64) top_rate_set = np.array([], dtype=np.float64) for k in range(nb_proteins): # sensitibity
ise-uiuc/Magicoder-OSS-Instruct-75K
args.defaults = [] args.args = pos_args args.posonlyargs = []
ise-uiuc/Magicoder-OSS-Instruct-75K
if file["is_folder"]: file["metadata"][AdlsCopyUtils.METADATA_ISFOLDER] = "true" url = "http://{0}.blob.core.windows.net/{1}/{2}?comp=metadata&{3}".format(account, container, file["name"], sas_token) log.debug(url)
ise-uiuc/Magicoder-OSS-Instruct-75K
self.jaeger_tracing = jaeger_tracing self.jaeger_agent_hostname = jaeger_agent_hostname self.jaeger_agent_port = jaeger_agent_port self.gcp_tracing = gcp_tracing
ise-uiuc/Magicoder-OSS-Instruct-75K
PORT = 8888 class Handler(http.server.SimpleHTTPRequestHandler): pass Handler.extensions_map['.wasm'] = 'application/wasm' httpd = socketserver.TCPServer(("", PORT), Handler) print(("serving at port"), PORT)
ise-uiuc/Magicoder-OSS-Instruct-75K
import org.wso2.carbon.apimgt.rest.api.admin.dto.*; import org.wso2.carbon.apimgt.rest.api.admin.dto.PublishStatusDTO; import org.wso2.carbon.apimgt.rest.api.admin.dto.MonetizationUsagePublishInfoDTO; import java.util.List; import java.io.InputStream; import org.apache.cxf.jaxrs.ext.multipart.Attachment; import javax.ws.rs.core.Response; public abstract class MonetizationApiService { public abstract Response monetizationPublishUsagePost();
ise-uiuc/Magicoder-OSS-Instruct-75K
public User() { } @Override public String toString() { return "User [id=" + id + ", accountNumber=" + accountNumber + ", nickName=" + nickName + ", password=" + password + ", role=" + role + ", createDate=" + createDate + ", eMail=" + eMail + "]"; }
ise-uiuc/Magicoder-OSS-Instruct-75K
static void Main(string[] args) { if (!Config.MetricsTargets.Any()) { WriteLine("No targets configured. Set $env:METRICS_TARGETS, format 'w3wp,process2"); return; } var collectors = new List<IOnDemandCollector>();
ise-uiuc/Magicoder-OSS-Instruct-75K
// Mount overlay rootfs and check let nydusd = nydusd::new( &work_dir, enable_cache, rafs_mode.parse()?, "bootstrap-overlay".to_string(), )?; nydusd.start()?;
ise-uiuc/Magicoder-OSS-Instruct-75K
meta = MetaData(bind=migrate_engine)
ise-uiuc/Magicoder-OSS-Instruct-75K
public var bundle: Bundle? { return nil } public var imageIdentifier: String { return self.identifier } }
ise-uiuc/Magicoder-OSS-Instruct-75K
doc='Maximum in XY', default_read_attrs=('x', 'y')) mean_value = ADCpt(EpicsSignalRO, 'MeanValue_RBV') min_value = ADCpt(EpicsSignalRO, 'MinValue_RBV') min_xy = DDC(ad_group(EpicsSignalRO, (('x', 'MinX_RBV'), ('y', 'MinY_RBV'))), doc='Minimum in XY', default_read_attrs=('x', 'y'))
ise-uiuc/Magicoder-OSS-Instruct-75K
<h2> @ViewData["Title"] </h2> @if (Model.Count() == 0) { <h4 class="text-center">Нямате направени поръчки.</h4>
ise-uiuc/Magicoder-OSS-Instruct-75K
print_command("r", "Set velocity of current joint to 0") print_command("1-{}".format(len(self.state)), "Number of joint to command") print_command("ESC", "quit") print("") def _reset_internal_state(self): """ Resets internal state of controller, except for the reset signal. """ for joint_num in self.state: self.state[joint_num] = 0.0 def start_control(self): """ Method that should be called externally before controller can
ise-uiuc/Magicoder-OSS-Instruct-75K
getItem(deviceUid: ID): Observable<Device> { if (!deviceUid) { return EMPTY; } const deviceRequest = `${environment.oispApiUrlPrefix}/accounts/${this.userManagementService.getOispAccountId()}/devices/${deviceUid}`; return this.http.get<Device>(deviceRequest, this.httpOptions).pipe( map((device: Device) => { this.oispDeviceStore.upsertCached(device); return device; }) ); }
ise-uiuc/Magicoder-OSS-Instruct-75K
run_step 16 1 256 ${algo_path} run_step 32 1 256 ${algo_path} run_step 64 1 256 ${algo_path} run_step 128 1 256 ${algo_path} done
ise-uiuc/Magicoder-OSS-Instruct-75K
cp ../../../../outputs/elnaz_plain_mixed_models_1cm_original_steadystate_SC1.2/apd-map.vtu ../inputs/apd-map-steadystate-sc1_2.vtu echo "[!] Working on Scenario 2.1 ..." cp ../../../../outputs/elnaz_plain_mixed_models_1cm_original_steadystate_SC2.1/apd-map.vtu ../inputs/apd-map-steadystate-sc2_1.vtu
ise-uiuc/Magicoder-OSS-Instruct-75K
@pytest.fixture def cronjob(): return lambda event, context: dict(foo='bar') def test_rate_rule(rate_5_mins_rule): assert len(BaseEventRule.rules) == 0 assert rate_5_mins_rule.expression == 'rate(5 minutes)' def test_time_rule(time_5pm_rule): assert len(BaseEventRule.rules) == 0 assert time_5pm_rule.expression == 'cron(* 17 * * * *)'
ise-uiuc/Magicoder-OSS-Instruct-75K
int ReactorTask::svc() { ACE_Reactor::instance()->owner(ACE_Thread::self()); ACE_Reactor::instance()->run_reactor_event_loop(); return 0; } ///////////////////////////////////////// // ReactorPool
ise-uiuc/Magicoder-OSS-Instruct-75K
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class DeliveringController extends Controller { /** * Route to render the delivering page * * @Route("/delivering", name="delivering") */
ise-uiuc/Magicoder-OSS-Instruct-75K
# check if vertical piece fits into board
ise-uiuc/Magicoder-OSS-Instruct-75K
} internal static func `private`(_ p1: String, _ p2: Int) -> String {
ise-uiuc/Magicoder-OSS-Instruct-75K
DB::table('invoice_items')->truncate(); $faker = Factory::create();
ise-uiuc/Magicoder-OSS-Instruct-75K
} // TODO: add older/newer fields to Flow and prefer using them if assigned
ise-uiuc/Magicoder-OSS-Instruct-75K
from WebHandler import WebHandler, Difficulty from random import randint, random from WebSudokuSolver import WebSudokuSolver if __name__ == '__main__': solver = WebSudokuSolver() solver.handler.signIn() for i in range(253): try: solver.solve(Difficulty.Easy, 8 * 60 + 30 + randint(20, 80)) except: continue # for difficulty in range(Difficulty.Hard): # for i in range(50):
ise-uiuc/Magicoder-OSS-Instruct-75K
plt.title(options.title) #print or show the figure if options.output: plt.savefig(options.output,bbox_inches='tight',transparent=options.transparency)
ise-uiuc/Magicoder-OSS-Instruct-75K
return tokens; } public String getName() { return type; } @Override public String toString() { return "NonTerminal{" +
ise-uiuc/Magicoder-OSS-Instruct-75K
meta->setName( "name" ); meta->registerClass(domGlsl_surface_type::domGenerator::domName::create); meta->setIsInnerClass( true ); // Add attribute: _value { daeMetaAttribute *ma = new daeMetaAttribute; ma->setName( "_value" ); ma->setType( dae.getAtomicTypes().get("xsNCName")); ma->setOffset( daeOffsetOf( domGlsl_surface_type::domGenerator::domName , _value )); ma->setContainer( meta ); meta->appendAttribute(ma); }
ise-uiuc/Magicoder-OSS-Instruct-75K
@actorIndependent public func enqueue(partialTask: PartialAsyncTask) { }
ise-uiuc/Magicoder-OSS-Instruct-75K
main();
ise-uiuc/Magicoder-OSS-Instruct-75K
}, "apiMetaData": { "code": 401108, "type": "Material",
ise-uiuc/Magicoder-OSS-Instruct-75K
# The following files are provided by AWS Professional Services describe the process to create a IAM Policy with description.
ise-uiuc/Magicoder-OSS-Instruct-75K
HERE = Path(__file__).parent FIXTURES = HERE / "fixtures" SAMPLE_PATH = FIXTURES / "sample_code.py"
ise-uiuc/Magicoder-OSS-Instruct-75K
<reponame>phisko/nimp import sys import nimp.nimp_cli if __name__ == "__main__": sys.exit(nimp.nimp_cli.main())
ise-uiuc/Magicoder-OSS-Instruct-75K
await channel.send(b'') await channel.send(b'bar') return stream(streaming) request, response = app.test_client.get('/get') assert response.status == 200 assert response.text == 'foobar'
ise-uiuc/Magicoder-OSS-Instruct-75K
PositionQuantity = position.PositionQuantity / 1000, GrossCumulativePnlUsd = position.RealizedPnlUsd, LastUpdate = position.LastUpdate.ToLocalTime() }; } public static List<BacktestPositionModel> ToPositionModels(this IEnumerable<BacktestPosition> positions) { return positions?.Select(p => p.ToPositionModel()).ToList(); } } }
ise-uiuc/Magicoder-OSS-Instruct-75K
using System; namespace FusionAuth.Domain { public class SystemConfiguration : Buildable<SystemConfiguration> { public string cookieEncryptionIV;
ise-uiuc/Magicoder-OSS-Instruct-75K
sed 's/[tT][hH][yY]/your/g'
ise-uiuc/Magicoder-OSS-Instruct-75K
2.657506, 14.780758, 1.078079, 0.776775, 1.490909, 42.086842, -4.241070, -0.000294, 0.713791, 0.239535,
ise-uiuc/Magicoder-OSS-Instruct-75K
files.append(filename) im = Image.new('RGB', (8 * len(files), 8), "#ffffff")
ise-uiuc/Magicoder-OSS-Instruct-75K
height=1, dont_extend_height=True, style="bg:ansibrightblack fg:ansiwhite") super(Neotop, self).__init__( key_bindings=self.bindings, style=self.style, # mouse_support=True, full_screen=True, ) self.update_layout() self.overview.start() def update_layout(self): if self.overview_visible: self.layout = Layout( VSplit([
ise-uiuc/Magicoder-OSS-Instruct-75K
static start(): void { this._client = new Client(); this._client.login( process.env.TOKEN, `${__dirname}/commands/*.ts`, ); }
ise-uiuc/Magicoder-OSS-Instruct-75K