content
stringlengths
2
6.21k
label
stringclasses
16 values
mage), var(--#{$prefix}gradient); } @else { background-image: escape-svg($form-check-radio-checked-bg-image); } } } &[type="checkbox"]:indeterminate { background-color: $form-check-input-indeterminate-bg-color; border-color: $form-check-input-indeterminate-border-color; @if $en...
CSS
oyeeList=[ { empId:'emp101',name:'Ram',gender:'Male',annualSalary:25000, dateOfBirth:'06/04/1991',address:'Magarpatta-DC Pune' }, { empId:'emp102',name:'Shyam',gender:'Male',annualSalary:14000, dateOfBirth:'10/11/1992',address:'Magarpatta-DC Pune' }, { ...
Typescript
LBB83_12 .LBB83_5: // =>This Inner Loop Header: Depth=1 cbz w25, .LBB83_9 // %bb.6: // in Loop: Header=BB83_5 Depth=1 cmp w19, #2 // =2 b.eq .LBB83_10 .LBB83_7: // in Loop: Header=BB83_5 Depth=1 cmp...
Assembly
.sms_code_length)) { codeView?.startAnimation(AnimationUtils.loadAnimation(getContext(), R.anim.shake_anim)) toast(R.string.common_code_error_hint) return } if (true) { PasswordResetActivity.start(this, phoneView?.text.toString(), c...
Kotlin
b(" <span class=\"bar-graphic\" style=\"width:");t.b(t.v(t.f("width",c,p,0)));t.b("%;\"></span>");t.b("\n" + i);t.b(" <span class=\"bar-label\">");t.b(t.v(t.f("durationStr",c,p,0)));t.b("</span>");t.b("\n" + i);t.b(" <span class=\"bar-label\">");t.b(t.v(t.f("spanCount",c,p,0)));t.b(" spans</s...
JavaScript
ServerType `json:"server_types"` Meta schema.Meta `json:"meta"` }{ ServerTypes: []schema.ServerType{ {ID: 1}, {ID: 2}, {ID: 3}, }, Meta: schema.Meta{ Pagination: &schema.MetaPagination{ Page: 1, LastPage: 3, PerPage: 3, Total...
Go
var $16129=HEAP32[(($16128)>>2)]; //@line 1487 "G:/emscripten/system/include/libcxx/iosfwd" var $16130=$16068; //@line 1487 "G:/emscripten/system/include/libcxx/iosfwd" var $16131=(($16130+$16129)|0); //@line 1487 "G:/emscripten/system/include/libcxx/iosfwd" var $16132=$16131; //@line 1487 "G:/emscripten/s...
HTML
.text initArray: li $a2, 4 mul $a0, $a0, $a2 li $v0, 9 syscall move $v1, $v0 add $a0, $a0, $v0 _initArray_0: sw $a1, ($v1) add $v1, $v1, 4 bne $v1, $a0, _initArray_0 jr $ra allocRecord: li $a2, 4 mul $a0, $a0, $a2 li $v0, 9 syscall jr $ra printi: li $v0, 1 syscall jr $ra print: l...
Assembly
byte 0x17 .value 0x117 .long 0x6e15 .byte 0x1 .byte 0 .byte 0x1 .uleb128 0x39 .long .LASF2412 .byte 0x17 .value 0x120 .long 0x6e15 .byte 0x1 .byte 0 .byte 0x1 .uleb128 0x39 .long .LASF2413 .byte 0x17 .value 0x123 .long 0x6e15 .byte 0x1 .byte 0 .byte 0x1 .uleb128 0x39 .long .LASF2414 .byte 0x17 ...
Assembly
<title>inAppBrowser.com</title> </head> <h1>InAppBrowser.com</h1> <p class="subtitle">Check if an in-app browser is injecting JavaScript code</p> <p id="high-level-summary"> Some iOS and Android apps make use of a custom in-app browser (<a target="_blank" href="https://krausefx.com/blog/announcing-inappbrowser...
HTML
hp: number; mine: boolean; field: boolean; constructor(mine: boolean); } export declare class Sub implements Card { att: number; hp: number; field: boolean; cost: number; mine: boolean; constructor(mine: boolean); } import User, { IUser } from "../models/user"; import { Request, Resp...
Typescript
v-8h-2l-2 -2v-2l2 -2h6v4h6v10h2v-10h4v12h-10v-10h-2v12h4v2h-8v-4h-6v-8zM10 12v2h2v-2z' fill='#ddd784' /></svg></span><span id='ufb17' title='U+FB17 ARMENIAN SMALL LIGATURE MEN XEH (ﬗ)'><svg viewBox="0 0 32 32" width="80" height="80"><path d='M8 14v10h2v-12l2 -2h8v4h4v10h2v-10h4v12h-8v-10h-2v14h-4v-18h-2v14h-10v-12z' fi...
HTML
eved_scores)): new_row = {k:v for k,v in row.items()} new_row['pasg_title'] = tt new_row['hop2 score'] = score new_row['hop2 source'] = 'r2' new_row['path score'] = new_row['hop1 score']+new_row['row_rank_score']*2+new_row['hop2 score'] ...
Python
nc %xmm7, %xmm2, %xmm2 vpslldq $4, %xmm7, %xmm5 vpslldq $8, %xmm7, %xmm6 vpxor %xmm6, %xmm5, %xmm5 vpslldq $12, %xmm7, %xmm6 vpxor %xmm6, %xmm5, %xmm5 vpxor %xmm7, %xmm5, %xmm5 vpshufb %xmm3, %xmm11, %xmm8 vaesenclast %xmm4, %xmm8, %xmm8 vpxor %xmm5, %xmm8, %xmm8 #NO_APP vmovaps %xmm11, 80(%rsp) #APP vaese...
Assembly
c=deterministic) class FlaxFeedForward(nn.Module): r""" Flax module that encapsulates two Linear layers separated by a non-linearity. It is the counterpart of PyTorch's [`FeedForward`] class, with the following simplifications: - The activation function is currently hardcoded to a gated linear unit fr...
Python
} return nil } func (f *RustFormatter) formatStruct(w io.Writer, class *ir.DistilledClass, indent int) error { indentStr := strings.Repeat(" ", indent) // Add blank line before struct fmt.Fprintln(w) // Get visibility keyword visKeyword := f.getRustVisibilityKeyword(class.Visibility) // Determine the type...
Go
/* poll file descriptors. Hurd version. Copyright (C) 1998-2024 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software ...
C
>Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.</p> <footer> <ul class="actions"> <li><a href="tel:+573113901634" class="button icon solid fa-file-alt">COMPRAR</a></li> ...
HTML
-right" aria-label="View source on GitHub"><i class="fab fa-github text-dark"></i></a></td></tr><tr><td><a href="#ChromeWithOptionsAndTimeSpan(...)" id="ChromeWithOptionsAndTimeSpan(...)">#</a></td><td class="member-name"><code class="function-or-value" data-guid="08959e7b-11b4-475f-a75f-82590c12c81f">ChromeWithOptions...
HTML
// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; using UnityEngine; namespace Fungus.EditorUtils { public static class SerializedPropertyExtensions ...
C#
ant people, [[Book of Mormon/2 Nephi/2 Nephi 6#^verse-17|2 Ne. 6:17]]. thy God pleadeth cause of his people, [[Book of Mormon/2 Nephi/2 Nephi 8#^verse-22|2 Ne. 8:22]]. in our bodies we shall see God, [[Book of Mormon/2 Nephi/2 Nephi 9#^verse-4|2 Ne. 9:4]]. God proveth all his words, [[Book of Mormon/2 Nephi/2 Nep...
Markdown
dor_elements = NULL; if (wpa_s->conf->ap_vendor_elements) { hapd->conf->vendor_elements = wpabuf_dup(wpa_s->conf->ap_vendor_elements); } return ieee802_11_set_beacon(hapd); } #endif /* CONFIG_CTRL_IFACE */ #ifdef NEED_AP_MLME void wpas_ap_event_dfs_radar_detected(struct wpa_supplicant *wpa_s, stru...
C
false; bt3_2.touchEnabled = false; chooseAnswerStatus(); nextpage(); },this); bt3_c.touchEnabled = true; bt3_d.addEventListener(egret.TouchEvent.TOUCH_TAP,function() { q2_btn = 1; q2_d = true; q2_a = false; q2_b ...
Typescript
pub tag: String, pub data: String, pub attributes: HashMap<String, String>, pub childs: Vec<Element>, } impl Debug for Element { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { let mut s = f.debug_struct(""); match self.tag.as_str() { "" => { ...
Rust
nction par la documentation gcc. Normalement, gcc aura recours à la fonction v8qi __builtin_ia32_paddb (v8qi, v8qi) si il est aussi futé qu’un humain. [<a href="#art1_gccman">1</a>]. Voici le code :</p> <pre> typedef struct { char x; ...
HTML
Status: &tracepb.Status{ Code: trace.StatusCodeInternal, Message: "Frontend crash", }, Attributes: &tracepb.Span_Attributes{ AttributeMap: map[string]*tracepb.AttributeValue{ "status.code": { Value: &tracepb.AttributeValue_IntValue{IntValue: trace.StatusCodeInternal}, ...
Go
_is_valid(soft_iface)) { ret = -ENODEV; goto out; } bat_priv = netdev_priv(soft_iface); primary_if = batadv_primary_if_get_selected(bat_priv); if (!primary_if || primary_if->if_status != BATADV_IF_ACTIVE) { ret = -ENOENT; goto out; } hard_ifindex = batadv_netlink_get_ifindex(cb->nlh, BATADV_ATT...
C
(None) => { /// println!("Expected a webhook message"); /// /// return; /// }, /// Err(why) => { /// println!("Error executing webhook: {:?}", why); /// /// return; /// }, /// }; /// ``` /// /// [`Channel`]: ../model/channel/enum.Channel.html /// [`Message`]: ../model/channel...
Rust
Tag tag, int script_off, ErrorHandler *errh) const { const uint8_t *data = _str.udata(); int langSysCount; if (_str.length() < script_off + SCRIPT_HEADERSIZE || (langSysCount = Data::u16_aligned(data + script_off + 2), (_str.length() < script_off + SCRIPT_HEADERSIZE + langSysCount*LANGSY...
C++
*/ private mineTimeMs: number; /** * Creates a Block that holds an array of transactions that can be mined * @param transactions Array of transactions to be included in the block * @param previousBlockHash The hash of the last mined block on the chain */ constructor(transactions: ...
Typescript
ower type:&quot;,.power_type]) | @tsv&#39; | column -t -o &quot; &quot; &gt;&gt; /tmp/machine-details cat /tmp/machine-json | jq -r &#39;([&quot;Zone:&quot;,.zone.name,&quot;| Resource pool:&quot;,.pool.name,&quot;| Domain:&quot;,.domain.name]) | @tsv&#39; | column -t -o &quot; &quot; &gt;&gt; /tmp/machine-de...
HTML
2.749 M 174.494 87.445 C 172.115 90.898, 170.978 93.500, 171.384 94.559 C 172.065 96.332, 173.335 96.225, 180.250 93.817 C 183.671 92.625, 184 92.187, 184 88.814 C 184 86.781, 184.450 84.840, 185 84.500 C 187.157 83.167, 185.814 82, 182.122 82 C 178.551 82, 177.946 82.432, 174.494 87.445 M 547 82.907 C 547 83.407, 549....
JavaScript
rray') final class NativeFloat32List extends NativeTypedArrayOfDouble implements Float32List, TrustedGetRuntimeType { factory NativeFloat32List(int length) => _createLength(_checkLength(length)); factory NativeFloat32List.fromList(List<double> elements) => _create1(_ensureNativeList(elements)); factor...
Dart
Id") self._TopicId = params.get("TopicId") self._Name = params.get("Name") self._KafkaType = params.get("KafkaType") self._KafkaInstance = params.get("KafkaInstance") self._ServerAddr = params.get("ServerAddr") self._IsEncryptionAddr = params.get("IsEncryptionAddr") ...
Python
ffxiv_task_minigames = {} MiniGames = {} MiniGames.lastTick = 0 MiniGames.gameDetails = {} MiniGames.restPositions = { {x = -0.1, y = 3.4, z = -0.1, minrad = 4.3, maxrad = 13}, {x = -46.96, y = 1.6, z = 29.87, minrad = 5, maxrad = 23}, } MiniGames.vendors = { ["cuff"] = { {id = 2005029, mapid = 388, x = 9.75, y = ...
Lua
, ), constMeta: kCrateApiAstralWfpFilterRuleAutoAccessorGetLocalPortConstMeta, argValues: [that], apiImpl: this, ), ); } TaskConstMeta get kCrateApiAstralWfpFilterRuleAutoAccessorGetLocalPortConstMeta => const TaskConstMeta( debugName: "FilterRu...
Dart
.org/1.85.1/std/primitive.u8.html">u8</a>]) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.usize.html">usize</a>, <a class="struct" href="https://doc.rust...
HTML
can cause significant deoptimisation, so avoid it unless necessary // @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf#:~:text=very%20slow%20operation /* istanbul ignore if */ if (!(this instanceof ExtendableError)) { Object.setPrototypeOf(th...
Typescript
], // unless tf[2][2] == 0 if (Math.abs(homography.get(2, 2)) > 0.000001) { MatrixUtils.times(homography, 1.0 / homography.get(2, 2)); } return homography; } /** * Compute the least-squares estimate (the normalised Direct Linear * Transform approach) of the homography between a set of matching data ...
Java
تيازات خاصة لأطراف معينة. سوف تتنافس مشاريع blockchain اللامركزية مع بعضها البعض على هذا الأساس ؛ فقط المشاريع الأكثر حيادية ، تلك التي ليس لها مؤسسة ، أو ضرائب التطوير ، أو المشاريع الأولية غير المخففة ، ستجذب نوع المساهمة الطبيعية التي تتيح الاستدامة على المدى الطويل. ### موازنة القوة كما يتردد صدى هيكل المؤسسات ال...
Markdown
.86-4.95 1.4-7.63l-.91-1.6-.8-1.67c-.25-.56-.19-.98.21-1.29a.7.7 0 0 1 .55-.13c.28.05.54.23.72.5l2.37 4.16c.97 1.62 1.14 4.23-1.33 6.7zm-11-.44l-4.15-4.15a.83.83 0 0 1 1.17-1.17l2.16 2.16a.37.37 0 0 0 .51-.52l-2.15-2.16L3.6 11.2a.83.83 0 0 1 1.17-1.17l3.43 3.44a.36.36 0 0 0 .52 0 .36.36 0 0 0 0-.52L5.29 9.51l-.97-.97a....
HTML
/******************************************************************************* Vendor: Xilinx Associated Filename: axi_interfaces.c Purpose: Vivado HLS tutorial example Device: All Revision History: March 1, 2013 - initial release ***********************************...
C
其中有些人还在进行宪法所禁止的“危害公共利益、扰乱社会经济秩序、破坏国家经济计划”的非法行为,用更巧妙的方法重犯“五毒”;有些人甚至抗拒或破坏社会主义改造。象这类人,就应该受到舆论的指责和法律的制裁。 </p> <p> 对于资本主义工业和资本主义商业的社会主义改造所采取的各种复杂的形式,是工人阶级同资产阶级在过渡时期实行经济联盟的特殊历史条件下所产生的。同时必须看到,这也就是一种特殊形式的阶级斗争。以为不经过斗争就能够改造的看法,是不符合社会发展的历史和实际情况的,因此是完全错误的。我们根据宪法规定,在过渡时期,依照法律保护资本家的生产资料所有权和其他资本所有权,并让守法的资本家在一定时期内得到法令所规定的利润;同时,...
HTML
!-- --></A><H3> setValidationProblemHandler</H3> <PRE> public final org.codehaus.stax2.validation.ValidationProblemHandler <B>setValidationProblemHandler</B>(org.codehaus.stax2.validation.ValidationProblemHandler&nbsp;h)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE>setValidationProblemHandler</CODE> in interfa...
HTML
�γκυρας","charset":"Κωδικοποίηση Χαρακτήρων Προσαρτημένης Πηγής","cssClasses":"Κλάσεις Φύλλων Στυλ","download":"Εξαγκασμένη Λήψη","displayText":"Κείμενο Εμφάνισης","emailAddress":"Διεύθυνση E-mail","emailBody":"Κείμενο Μηνύματος","emailSubject":"Θέμα Μηνύματος","id":"Id","info":"Πληροφορίες Συνδέσμου","langCode":"Κατεύ...
JavaScript
#pragma once #include "../SDK.h" // Name: Arise, Version: 1.0.0 #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace SDK { //--------------------------------------------------------------------------- // Parameters //--------------------------------------------------------------------------- // Function BP_BT...
C
import datetime import Metashape """ Script for removing duplicated photos, Metashape (v 1.8) Matjaz Mori, CPA, May 2022 The script will remove all duplicated photos (photos referenced to the same file) from Metashape project. """ compatible_major_version = "2.2" found_major_version = ".".join(Metashape.app.version...
Python
WaitGroup(5) dataSource := adapter.Factory(featureDate, "") parent := coroutine.Context() ctx := context.WithValue(parent, cache.KBarIndex, barIndex) _ = dataSource.Init(ctx, featureDate) for _, code := range allCodes { now := time.Now() feature := adapter.Factory(featureDate, code).(factors.Feature) ...
Go
# -*- coding: utf-8 -*- import os import sys from pprint import pprint root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) sys.path.append(root + '/python') import ccxt # noqa: E402 # ----------------------------------------------------------------------------- print('CCXT Version:...
Python
d> BankarKodFörGifflar </td> <td title="mvm p11n-trophy man-vs-matrix curved-mvm devnull-as-a-service foundations pickle-season notcrypto"> 8 </td> </tr> <tr> <td> 73 </td> <td> 502 </td> <td> Nahomies </td> <td title="p11n-trophy foundations mvm notcrypto man-vs-ma...
HTML
namespace Mailozaurr.PowerShell; /// <summary> /// <para type="synopsis">Converts MSG files to EML format for interoperability with other clients.</para> /// <para type="description">The <c>ConvertFrom-MsgToEml</c> cmdlet converts one or more MSG files to EML format. Provide input MSG file paths and the destination fo...
C#
/** * MaNGOS is a full featured server for World of Warcraft, supporting * the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8 * * Copyright (C) 2005-2023 MaNGOS <https://getmangos.eu> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publ...
C
/stacks/${STACK}.ts`)); if (!stackFileExists) { throwErr(`No stack definition file found at: src/stacks/${STACK}.ts`); } if (APP_ENV) { const stackConfigFileExists = await fs.pathExists(path.resolve(__dirname, `../envs/${STACK}/${APP_ENV}.json`)); if (!stackConfigFileExists) { throwErr(`No stack conf...
Typescript
lay.setColorFilter(if (context.isDarkModeActive()) TilesOverlay.INVERT_COLORS else null) } handler.post { mapView.applyPositionAndLabel( widget.item, widget.label, 16.0f, allowDrag = true, allowScroll = true, ...
Kotlin
(current->typ == Id::Op_Semi) { i += 1; while (true) { current = p_node->GetChild(i); if (current->typ != grammar_nt::re_flag) { break; } flags->append(this->_EggexFlag(current)); i += 1; } if (current->typ == Id::Op_Semi) { i += 1; trans_pref = p_node-...
C++
{ if (_frozen) { _paintData = _paintData.clone(); _frozen = false; } _paintData.strokeCap = value; } @override ui.StrokeJoin get strokeJoin => _paintData.strokeJoin ?? ui.StrokeJoin.miter; @override set strokeJoin(ui.StrokeJoin value) { if (_frozen) { _paintData = _paintDat...
Dart
c=e.AddPaths(r.sansSerifBoldItalic,{305:"54 431Q63 458 102 458H127H149Q192 458 199 433Q201 427 201 229T199 25Q190 0 149 0H125L81 1Q61 7 54 28V431",567:"-38 -84Q-36 -84 -14 -95T33 -106H38Q70 -103 78 -86Q83 -78 83 -49T84 180Q84 427 86 433Q93 458 136 458H158H180Q201 458 209 456T225 443Q230 436 231 418Q232 397 232 313V183V...
JavaScript
50 pushl %eax 9015 5144 50 pushl %eax 9016 5145 B8010000 movl $1, %eax 9016 00 9017 514a 8B550C movl 12(%ebp), %edx 9018 514d 83FA01 cmpl $1, %edx 9019 5150 742F je L1606 9020 5152 83FA01 cmpl $1, %edx 9021 5155 721E jb L1609 9022 5157 83FA02 cmpl $2, %edx 90...
Assembly
tart it using the `--config-dir` argument as follows. ```bash vector --config-dir /etc/vector ``` ## Updating Configs Sometimes it's useful to update Vector configs on the fly. If you find yourself tinkering with a config that Vector is already running you can prompt it to reload the changes you've made by sending i...
Markdown
import numpy as np from numpy.testing import assert_equal from pytest import raises as assert_raises from scipy.io._harwell_boeing._fortran_format_parser import ( FortranFormatParser, IntFormat, ExpFormat, BadFortranFormat) class TestFortranFormatParser: def setup_method(self): self.parser = For...
Python
import enum import random import string from datetime import UTC, datetime, timedelta from nonebot_plugin_orm import Model from sqlalchemy import String from sqlalchemy.orm import Mapped, mapped_column EXPIRE_TIME = timedelta(minutes=30) EXPIRE_TIME_STR = "30 分钟" class RequestStatus(enum.StrEnum): PENDING = "pe...
Python
"id": "32822", "name": "Fundao", "state_id": "2901" }, { "id": "32823", "name": "Gafanha da Encarnacao", "state_id": "2901" }, { "id": "32824", "name": "Gafanha da Nazare", "state_id": "2901" }, { "id": "32825", "name": "Guarda", "state_id": "2901" }, { "id": "32826", "name": "Ilhavo"...
Dart
im-lualine/lualine.nvim', requires = { 'nvim-web-devicons', opt = true } } -- file explorer use { 'stevearc/oil.nvim', config = function() require('oil').setup() end } -- toggleable terminal use {"akinsho/toggleterm.nvim", tag = '*', config = function() require(...
Lua
.len() { let h = respp.headers[i]; //println!("{} : {}", h.name, str::from_utf8(h.value).unwrap()); match h.name { "Content-Length" => { let len_str = String::from_utf8(h.value.to_vec()).sgx_error()?; len_num = len_str.parse::<u32>().sgx_error()?; ...
Rust
<= _lastNormalTile); } static bool isBomb(TileType type) { int index = type.index; return (index >= _firstBombTile && index <= _lastBombTile); } static bool canBePlayed(TileType type) => (type != TileType.wall && type != TileType.forbidden); } // // Types of tiles // enum TileType { forbidden...
Dart
cd ../MetaICL/preprocess # comte back to `preprocess` directory pip install pandas jinja2 "pyyaml>=5" ``` Note that this is a workaround that does not use python-pip to install the promptsource packages because it requires to use python<=3.7, while all other codes in this repo use python 3.8. If promptsource starts su...
Markdown
-open>.uk-accordion-title::after,.uk-card-secondary>:not([class*=uk-card-media]) .uk-open>.uk-accordion-title::after,.uk-light .uk-open>.uk-accordion-title::after,.uk-offcanvas-bar .uk-open>.uk-accordion-title::after,.uk-overlay-primary .uk-open>.uk-accordion-title::after,.uk-section-primary:not(.uk-preserve-color) .uk...
CSS
--8-col-desktop.mdl-cell--8-col-desktop{width:66.6666666667%}.mdl-cell--9-col{width:calc(75% - 16px)}.mdl-grid--no-spacing>.mdl-cell--9-col{width:75%}.mdl-cell--9-col-desktop.mdl-cell--9-col-desktop{width:calc(75% - 16px)}.mdl-grid--no-spacing>.mdl-cell--9-col-desktop.mdl-cell--9-col-desktop{width:75%}.mdl-cell--10-col...
CSS
") assertEquals("/test one", results.get()) // /test two server.dispatchCommand(player, "test two") assertEquals("/test two", results.get()) // /test assertCommandFailsWith(player, "test", "Unknown or incomplete command, see below for error at position 4: test<--[HERE]") assertNoMoreResults(results) }...
Kotlin
"request irq %d failed\n", client->irq); goto err_power_off; } data->dready_trig = devm_iio_trigger_alloc(&client->dev, "%s-dev%d", indio_dev->name, iio_device_id(indio_dev)); if (!data->dready_trig) { ret = -ENOMEM; goto err_power_off; } data->dready_trig->ops = &...
C
'\n' + '제안된 \\(\\frac{\\pi}{2}\\) HDiT 아키텍처를 조건부 및 무조건적인 이미지 생성, 건축적 선택(섹션 5.2)에 걸쳐 평가하며, 메가픽셀 픽셀 공간 이미지 생성(섹션 5.3) 및 대규모 픽셀 공간 이미지 생성(섹션 5.4)을 모두 평가한다.\n' + '\n' + '### Experimental Setup\n' + '\n' + '달리 언급되지 않은** 훈련***는 어떤 종류의 잠재 표현 없이 RGB 픽셀에 직접 \\(128\\t 128\\)의 해상도로 이미지넷(Deng et a...
HTML
li><strong>浏览器发送预检请求,询问服务器是否允许</strong></li> </ol> <pre><code>OPTIONS /api/user HTTP/1.1 Host: crossdomain.com ... Origin: http://my.com Access-Control-Request-Method: POST Access-Control-Request-Headers: a, b, content-type</code></pre><p>可以看出,这并非我们想要发出的真实请求,请求中不包含我们的响应头,也没有消息体。</p><p>这是一个预检请求,它的目的是询问服务器,...
JavaScript
/* * Copyright 2024 Babit Authors * * 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 t...
C
UME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE www-web-0 Bound pvc-4778ab1b-c2c7-4da3-acb8-e5701f3a342f 1Gi RWO nfs-client <unset> 118s www-web-1 Bound pvc-4f9231bc-29e1-48af-b1c3-ee0017dd80d3 1Gi RW...
Markdown
eSet; ActiveSet mActive; PendingSet mPending; public: void Add( ffHandle_t handle/*, int entNum, const vec3_t origin, float maxDistance, float minDistance*/ ) { const_cast <LoopForce&>(*mPending.insert( LoopForce( handle/*, entNum, origin, maxDistance, minDistance*/ ) ).first).AddRef(); } qboolean Update( void ...
C++
int entryValue = _mainHash[ix]; int bucket = entryValue & 0xFF; if (bucket == 0) { // first spill over? if (_collEnd <= LAST_VALID_BUCKET) { // yup, still unshared bucket bucket = _collEnd; ++_collEnd; // nee...
Java
let person of employeeManagement.employeeList){ let tdId: any = createEleTD("MaNV",person.id); let tdName: any = createEleTD("TenNV",person.name); let tdAge: any = createEleTD("TuoiNV",person.age); let tdSalary: any = createEleTD("LuongNV",person.salary); let ...
Typescript
/***************************************************************************** * * * PrimeSense Sensor 5.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. * * ...
C
{ background: transparent repeat-x 0 -8px; height: 8px; overflow: hidden; } .x-box-br { background: transparent no-repeat right -24px; } .x-box-tl, .x-box-bl { padding-left: 8px; overflow: hidden; } .x-box-tr, .x-box-br { padding-right: 8px; overflow: hidden; }/* This file is part of Ext JS 3.4 Copyright (c...
CSS
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace u.movin { public static class Ease { public static Vector2[] Linear = new Vector2[2]{ new Vector2(1, 1), new Vector2(0, 0) }; public static Vector2[] StrongInOut = new Vector2[2]{ new Vector2(0.7f, 0), ne...
C#
28 (simde__m128i a) { simde__m128i_private r_, a_ = simde__m128i_to_private(a); #if defined(SIMDE_ARM_NEON_A32V7_NATIVE) r_.neon_i32 = vmvnq_s32(a_.neon_i32); #elif defined(SIMDE_POWER_ALTIVEC_P6_NATIVE) r_.altivec_i32 = vec_nor(a_.altivec_i32, a_.altivec_i32); #elif defined(SIMDE_WASM_SIMD128_...
C
dge 0x%016jx -> 0x%016jx (detected overlapping jump table or case)", conflict_edge->src->insns.back().start, case_addr); unlink_edge(conflict_edge->src, cc); conflict_edge = NULL; } if(!conflict_edge) { verbose(3, "addin...
C++
ensions;if(typeof(valueCount)!=='number'||valueCount<0){throw new Error('Number of values must be a non-negative number');} this.valueCount_=valueCount;this.buildRoot_=this.createRootNode_();this.topDownTreeViewRoot_=undefined;this.topDownHeavyViewRoot_=undefined;this.bottomUpHeavyViewNode_=undefined;this.complete_=fal...
HTML
1444 3394 1641 3394 Q 1925 3394 2219 3213 L 2025 2691 Q 1819 2813 1613 2813 Q 1428 2813 1281 2702 Q 1134 2591 1072 2394 Q 978 2094 978 1738 L 978 0 L 416 0 z "/><path id=ArialMT-65 transform=scale(0.015625) d="M 2694 1069 L 3275 997 Q 3138 488 2766 206 Q 2394 -75 1816 -75 Q 1088 -75 661 373 Q 234 822 234...
HTML
'package:sejm/app/routes.dart'; import 'package:sejm/core/network/network_client.dart'; import 'package:sejm/data/api/term_api.dart'; import 'package:sejm/data/repository/term_repository_impl.dart'; import 'package:sejm/domain/repository/term_repository.dart'; void main() async { final networkClient = NetworkClien...
Dart
该类的字节码,并从运行时常量池中移除这个类的符号引用。 **<font color=blue>面试官</font>: 说明的很详细。类的生命周期中,有哪几个阶段会触发类初始化?** **<font color=red>候选人:</font>** 有三种情况会触发类的初始化: 1. 新创建一个该类的实例。 2. 访问该类的静态变量,或为静态变量赋值。 3. 调用该类的静态方法。 除此之外,下面这些操作不会触发类的初始化: 1. 使用一个类的名称,如在变量声明中使用该类的名称。 2. 使用类加载器加载一个类。 3. 访问某个类的静态常量。 ```java //举例 public class Test { public st...
Markdown
这样一个例子,它检查来自较近物体的片段是否己经被绘制到同一像素上。如果是这样,则当前片段将被丢弃;如果不是,则将片段推入片段着色器,并在目标像素上进行绘制,这将消耗填充速率中的一次绘制。现在想象一下,将这个过程与成千上万个重叠的对象相乘,每一次都会生成数百 个或数千个可能的片段。要实现高屏幕分辦率,则每一次和每一帧都会生成数百万或数十亿个片段。显而易见,尽可能多地跳过这些绘制将节省大量渲染成本。 * 过度绘制 通过使用加法 Alpha 混合和非常透明的平面颜色渲染所有对象,可以直观地表示我们有多少过度绘制。当同一像素被多次叠加混合绘制时,高过度绘制区域将更加明亮。这正是 Scene(场景)视图的 Overdraw(...
Markdown
warn: Boolean = false @Expose @ConfigOption(name = "Warning Time", desc = "Set the warning time in seconds before a Jacob's Contest begins.") @ConfigEditorSlider(minValue = 10f, maxValue = 300f, minStep = 1f) var warnTime: Int = 120 @Expose @ConfigOption( name = "Popup Warning", ...
Kotlin
namespace Kermalis.VGMusicStudio.Core.NDS.DSE { internal static class Utils { public static short[] Duration16 = new short[128] { 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E, 0x000F, 0...
C#
wikipedia/commons/f/f1/MediaWiki_Vector_skin_action_arrow.svg) -9999px -9999px no-repeat; } table.gauche, table.left { float: left; margin: 0 1em 1em 0; } table.droite, table.right { float: right; margin: 0 0 1em 1em; } table.centre, table.center { margin: 1em auto; } table.wikitable[align="center"] { ...
CSS
nit PTR compat_sys_fanotify_mark PTR sys_prlimit64 PTR sys_name_to_handle_at PTR compat_sys_open_by_handle_at /* 4340 */ PTR compat_sys_clock_adjtime PTR sys_syncfs PTR compat_sys_sendmmsg PTR sys_setns PTR compat_sys_process_vm_readv /* 4345 */ PTR compat_sys_process_vm_writev PTR sys_kcmp PTR sys_finit_mo...
Assembly
1E-06,42.000004L1E-06,42.000004L0,10.000006C-4E-06,4.47716 4.477144,5E-06 9.99999,-1E-06z","id":"path-143","fill":"#FFFFFF","fill-opacity":0}]},{"nodeType":"g","id":"shape-144","children":[{"nodeType":"use","transform":[{"type":"rotate","args":[0]}],"id":"text-144","data-reference-type":"text","data-reference-id":"01",...
JavaScript
sed: [u8; 0], } pub type StencilTablePtr = *mut StencilTable_obj; extern "C" { pub fn StencilTable_destroy(st: StencilTablePtr); /// Returns the number of stencils in the table pub fn StencilTable_GetNumStencils(st: StencilTablePtr) -> i32; /// Returns the number of control vertices indexed in the tabl...
Rust
@ File generated by m4a2s Song-Module .include "MPlayDef.s" .equ seq_647_grp, bank_028 .equ seq_647_pri, 127 .equ seq_647_rev, 0 .equ seq_647_mvl, 127 .equ seq_647_key, 0 .section .rodata .global seq_647 .align 2 @*********************** Track 01 ***********************@ seq_647_0: .byte KEYSH , seq_647_k...
Assembly
<<G4endl; } G4cout <<*iter <<G4endl; } G4cout <<"oooooooooooooooooooooooooooooooooooooooo" <<"oooooooooooooooooooooooooooooooooooooooo" <<G4endl; } return fragmentVector; } //////////////////////////////////////////////////////////////////////////////// // void G4Wilso...
C++
return new hd;\n };\n getStatEventTarget = webchannel_blob_es2018.getStatEventTarget = function() {\n return qb();\n };\n Event = webchannel_blob_es2018.Event = I;\n Stat = webchannel_blob_es2018.Stat = {\n mb: 0,\n pb: 1,\n qb: 2,\n Jb: 3,\n Ob: 4,\n Lb: ...
JavaScript
e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[v,j],[p,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[v,"Lenovo"],[p,w]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[v,"Nokia"],[p,b]],[/(pixel c)\b/i],[d,[v,A]...
JavaScript
); source.addTriple("S8", "http://purl.org/NET/c4dm/timeline.owl#beginsAtDateTime", "2015-05-20T08:41:04+02:00"); source.addTriple("S8", "http://purl.org/NET/c4dm/timeline.owl#endsAtDateTime", "2015-05-20T08:43:04+02:00"); source.addTriple("S8", "http://myOntology#MachineID", "29"); sou...
Java
import numpy as np from .base_cam import BaseCAM from pytorch_grad_cam.utils.svd_on_activations import get_2d_projection # https://ieeexplore.ieee.org/document/9462463 class LayerCAM(BaseCAM): def __init__( self, model, target_layers, use_cuda=False, re...
Python
_removeId; int cachedAddId = _addId; // Empty case if (cachedRemoveId == cachedAddId) { if (!blockWhenEmpty || _stopped != 0) return null; // Spin a few times to see if something changes ...
C#