content
stringlengths
2
6.21k
label
stringclasses
16 values
er string to another locator, and evaluating it. See the <a href="http://svn.openqa.org/fisheye/browse/~raw,r=trunk/selenium/trunk/src/main/resources/core/scripts/ui-doc.html">Selenium UI-Element Reference</a> for more details. * <ul class="first last simple"> * <li>ui=loginPages::loginButton()</li> * <l...
JavaScript
gt;,&lt;refine&gt;,&lt;attribute&gt;,&lt;card1&gt;,&lt;card2&gt;,&lt;card3&gt;,&lt;card4&gt;,&lt;RandomIDArray&gt;,&lt;RandomValueArray&gt;,&lt;RandomParamArray&gt;{,&lt;account_id&gt;}; Creates a rental item in the attached character's inventory.</div> </td> </tr> <tr id="i37" class="rowColor"> <td cl...
HTML
WM_ATTRIBUTES = 0x0010, /// <summary> /// The window is ineligible due to it's margins, most likely due to custom handling in WM_NCCALCSIZE. /// The window must use the default window margins for the non-client area. /// </summary> DWMTWR_WINDOW_MARGINS = 0x0020, /// <s...
C#
local this = class("battleFieldDataEntity") function this:ctor() self.isServerBattle = false self.battleConfigId = nil self.serverBattleTeam = nil self.initWorldPos = nil self.monsterCreateDataList = nil self.enterBattleDriveArgs = nil self.battleType = nil self.interimTeam = nil end function this:set...
Lua
: pointer.Ptr(true), }, }, Annotations: map[string]string{ "certificates.internal.scylla-operator.scylladb.com/count": "1", "certificates.internal.scylla-operator.scylladb.com/not-before": "2021-01-31T23:59:59Z", "certificates.internal.scylla-operator.scylladb.com/not-afte...
Go
ault() .parse_env_or_exit() } } fn main() { let Args { path_pairs, mut output, partition_name, } = Args::parse(); env_logger::init(); let partition_size = error::or_die(mini_fat::partition_size(&path_pairs)); if let Err(ref e) = mini_gpt::write_header(&mut output...
Rust
qa="footer-section-link"><a href="https://subscribe.washingtonpost.com/acquisition/?p=g_v&amp;s_l=ONSITE_FOOTER_GIFT" class="hover-blue font--subhead lh-default font-xxxxs font-xxxs-l gray-darkest">Gift Subscriptions<!-- --> </a></li><li data-qa="footer-section-link"><a href="https://subscription.washingtonpost.com/mob...
HTML
zers", VersionRangeRaw: "", }, }, }, { TargetFramework: ".NETStandard2.0", Dependencies: []*Dependency{ { Id: "Newtonsoft.Json", VersionRaw: "12.0.3", ExcludeRaw: "Build,Analyzers", IncludeRaw: "", Vers...
Go
TextDirection.ltr, child: widget, ), )); }); } import 'dart:math'; import 'package:flutter/material.dart'; import '../node/rich_text/rich_text.dart'; import '../node/rich_text/rich_text_span.dart'; extension PainterExtension on TextPainter { Offset getOffsetFromTextOffset(int offset, {Rect rec...
Dart
', '', '', '1', '3', '1', '1', '5', '', '102600304', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'buff_hit_m10260', '', '', '', '', '', '', '', ''}, {'102600305', '', '5', '赤髓防御500%', '赤髓防御500%的真实伤害', '', '', '1', '', '102600301', '', '1', '3', '', '', '1', '3', '1', '1', '5', '', '1...
Lua
1g++]=u.UI}}if(u.BX&&u.Bt){G 18g=P(1t){G 1w=1G.5m(1t);if(1G.9s){G 2Q=1G.rV(1G.9s);if(1G.9s.jE("5Y")){1w.5Y(+2Q[0].4h(),+2Q[1].4h())}1m if(1G.9s.jE("2i")){1w.2i(+2Q[0].4h(),+2Q[1].4h())}1m if(1G.9s.jE("5Q")){G 2D=ol.1j.8e(1w.3C());G 5a=+2Q[0].4h()*1A.PI/180;1w.5Q(5a,2D)}1m if(1G.9s.jE("JO")){1G.Cb(1w,+2Q[0].4h(),+2Q[1]....
JavaScript
"-"," 'AUD'",n(),"∞","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","‰":"‰"}]),r.default.a1821024087=i(["",,1,2,2,,,0,3,," 'RUB'","#,##0.00 'RUB'","-#,##0.00 'RUB' 'RUB'","-"," 'RUB'",n(),"∞","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","‰":"‰"}]),r.default.b1892453854=i(["",,1,2,2,,,0,3,," 'NOK'","#,##0....
JavaScript
omponent>() m.addComponent<Label>() m.addComponent<ProgressBar>() m.addComponent<ScrollablePanel>() m.addComponent<RadioButton>() m.addComponent<ScrollBar>() m.addComponent<SelectBox<String>>() m.addComponent<SelectBox<String>.SelectBoxScrollablePanel>() m.addComponent<SelectBox<String>....
Kotlin
os, *end; guint8 type; guint16 packet_len; gint remaining; gst_buffer_map (buf, &map, GST_MAP_READ); pos = map.data; end = pos + map.size; /* Need at least 3 bytes */ if (pos + 3 > end) { PGS_DUMP ("Not enough bytes to be a PGS packet\n"); goto error; } PGS_DUMP ("Begin dumping command b...
C
Maybe# * @public * @see Maybe#fmap * @see Monad#of */ lift = this.fmap; /** * @name map * @description Alias for fmap. * @methodOf Maybe# * @public * @see Maybe#fmap * @see Monad#of */ map = this.fmap; /** * @name caseOf * @description ...
Typescript
/*1:*/ #line 12 "siever-config.w" #ifndef __SIEVER_CONFIG_H__ #define __SIEVER_CONFIG_H__ #include <stddef.h> #include <limits.h> #define L1_BITS 15 /* ===if you change L1_BITS here, change l1_bits define in ls-defs.asm ===*/ /* L1_BITS 15 for Intel Core2 (32Kb L1 data cache), AMD K6 */ /* L1_BITS 16 for Phenom/Opt...
C
</div> </form> <script src="index.js"></script> </body> </html> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=U...
HTML
= prev_w; self.logln(format!("Auto-stop. Use model at {}th iteration.", iter - 1)); break; } else { prev_w = model.w.clone(); best_va_loss = va_loss; } } self.logln(format!("{:>4}{:>...
Rust
UDP的可靠传输协议)或WebSocket等传输层,V2Ray可以在单一连接上并行传输多个逻辑数据流。解码这类流量时,分析工具需要先解复用(re-demultiplex)这些交织在一起的数据流,然后才能对每个独立流进行内容分析。这种技术不仅提高了带宽利用率,也使流量特征更加难以识别。</p> <h2>实战演练:主流解码工具深度评测</h2> <h3>Wireshark:网络分析师的瑞士军刀</h3> <p>作为业界标准的网络协议分析工具,Wireshark对V2Ray流量的解码能力堪称一流。针对VMess协议,我们需要特别加载V2Ray的Lua解析脚本,这些脚本能够识别VMess特有的协议头结构。一个专业技巧是:在捕获设置中启...
HTML
[420] Comisión Nacional">REFR#420 Comisión Nacional</a><br/>Bancaria y de Valores, al Banco de México y a los órganos que deban establecerse en<br/>cumplimiento de la normatividad emitida por dichas instituciones, ni de las disposiciones jurídicas<br/>emitidas por las mismas, por el Consejo Directivo o los órganos seña...
HTML
ular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, in...
JavaScript
) } private fun update(bitmap: Bitmap?, color: Int) { // Set correct drawable for pause state val playPauseRes = if (widgetState.s...
Kotlin
} if (expected[i].their_mode > 0) { cl_git_pass(git_oid_fromstr(&expected_oid, expected[i].their_oid_str)); if (git_oid_cmp(&reuc_entry->oid[2], &expected_oid) != 0) return 0; } } return 1; } static int dircount(void *payload, git_str *pathbuf) { size_t *entries = payload; size_t len = git_str_len...
C
ound 250 ; If you reuse a term the next time this drops closer to 200 ; This routine was described by Stephen Judd and found ; in The Fridge and in the C=Hacking magazine ; http://codebase64.org/doku.php?id=base:seriously_fast_multiplication ; The key thing to note is that ; (a+b)^2 (a-b)^2 ; a*b = ...
Assembly
="stripe"> </div> <div class="container"><!-- container --> <!-- HEADER CONTENT --> <nav class="navbar navbar-inverse"> <div class="container"> <button data-target=".navbar-inverse-collapse" data-toggle="collapse" class="navbar-toggle" type="button"> <span class="icon-b...
HTML
.find<CacheController>().setLocalCache(id, path); } // Future<void> clean_local_cache([bool all = false]) async { Future<void> clean_local_cache([bool all = false, String id = '']) async { await Get.find<CacheController>().cleanLocalCache(all, id); } void add_current_playing(List<Track> tracks) { Get.find<PlayCon...
Dart
tt/2022/04/28/forex-motion-defeated-in-senate/">Forex motion defeated in Senate</a></h3> </header> <!-- start author --> <address class="article-author"> <a rel="author" href="https://newsday.co.tt/reporter/clint_chan_tack">Clint Chan Tack</a> </address> <!-- end author ...
HTML
sp),$0x0,$0x0 67cac: 6e 00 00 00 67cb0: 6e 00 00 67cb3: 00 halt 67cb4: 6e 00 00 cvtld $0x0,$0x0 [d-float] 67cb7: 00 halt 67cb8: 08 00 00 00 cvtps $0x0,$0x0,$0x0,(r11) 67cbc: 6b 67cbd: 00 halt 67cbe: 00 halt 67cbf: 00 halt 67cc0: ...
Assembly
.de/kopfhoerer/move-bt-p19238.html?partner_id=blog-de.blog.blog.494796.."><img class="wp-image-45712 size-large" src="https://blog.teufel.de/wp-content/uploads/2019/12/move-bt-white-lifestyle-DSC7713-1500x1000x72-1-1024x683.jpg" alt="Frau entspannt mit Yoga und Musik." width="728" height="486" srcset="https://blog.teuf...
HTML
)); if (this.nodeRendering.totalSize !== undefined) { const percentage = this.hoveredCallsite.totalSize / this.totalSize * 100; const totalSizeText = `${this.nodeRendering.totalSize}: ${ this.displaySize( this.hoveredCallsite.totalSize, unit...
Typescript
return{ ...state, isLoading:false, isLoggedIn:true, error:false } case LoginActions.LOGIN_FAILED: return{ ...state, isLoading:false, isLoggedIn:false, error:true } case LoginActions.LOGIN_STARTED: return{ ...state, isLoading:true, isLoggedIn:false, ...
Typescript
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; const common = require('../common'); const net = require('net'); const server = net.createServer(function(socket) { }); server.listen(1, '1.1.1.1', common.mustNotCall()); // EACCESS or EADDRNOTAVAIL server....
JavaScript
bondTester) { Atom_sp oObject; Atom_sp aBond; int i; bool bSeenBefore; /* The first time the LOOP is entered, set up */ /* some stuff on the first ATOM_CLASS */ if (!this->initialized) { this->storeSpanningInfo(this->top, 0, nil<core::T_O>()); this->initialized = true; } LOG("--- Entered n...
C++
to-modal-fade #render-target-mrt, #atomic.mrt-to-viewer-fade #render-target-mrt, #atomic.viewer-to-default-fade .render-target-viewer { position: absolute } #atomic.default-to-modal-fade .render-target-modal { -webkit-animation: fadein .15s ease-out forwards; ...
HTML
реестра regedit.exe добавьте в разделе <br>HKLM\Software\Microsoft\Windows\CurrentVersion\Run</br> строковый параметр <br>3proxy = "c:\Program Files\3proxy.exe" "C:\Program Files\3proxy.cfg"<br> Использование кавычек при наличии в пути пробела обязательно. Перезагрузитесь. Если сервер не запускается, про...
HTML
255,i.value.y=e[9]/255,i.value.z=e[14]/255,i.value.w=e[19]/255,i.dirty=!0)},t}(t.TextureShader);t.ColorTransformShader=i,e.registerClass(i,"egret.web.ColorTransformShader")}(t=e.web||(e.web={}))}(egret||(egret={}));var egret;!function(e){var t;!function(t){var i=function(e){function t(){e.apply(this,arguments),this.fra...
JavaScript
/** http://www.w3.org/TR/2011/REC-SVG11-20110816/text.html#InterfaceSVGTextPositioningElement interface SVGTextPositioningElement : SVGTextContentElement { readonly attribute SVGAnimatedLengthList x; readonly attribute SVGAnimatedLengthList y; readonly attribute SVGAnimatedLengthList dx; readonly attribute SVGA...
C
cted EXTI line * @retval None */ __weak void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) { /* Prevent unused argument(s) compilation warning */ UNUSED(GPIO_Pin); /* NOTE: This function Should not be modified, when the callback is needed, the HAL_GPIO_EXTI_Callback could be implemented in the user ...
C
{ type?: any } /** * A function that can be used for converting, from * one string to a type. */ export type ConverterResolveFn = (v: HasConverter | HasType, def?: Converter) => Converter; /** * A configuration object for the `@Arg` decorator. */ export type ArgType = { key?: string | symbol | number, ...
Typescript
往来存款户", "special custom":"[法] 特别惯例", "special customer order":"[经] 顾客特殊定货", "special customs invoices":"[经] 特别海关发票", "special damage":"[法] 专项损失", "special damages":"[法] 特别损失赔偿", "special day book":"[经] 特种日记帐, 专门日记帐", "special debit column":"[经] 借方专栏", "special decision":"[法] 别决定, 特别决议, 专门决定", "special delimiter":"[计] 专...
Typescript
fee325c0483a69e0286dd33700ef0462dd0da09c706283d881d36431aa9e9731bd96b068c09b23de76643f1a5c7fe9120e5858b65f70dd9bd8ead5d7f5d5ccb9b69f30665b669a20e227e5bffe3b")) var testP256PrivateKey, _ = x509.ParseECPrivateKey(fromHex("30770201010420012f3b52bc54c36ba3577ad45034e2e8efe1e6999851284cb848725cfe029991a00a06082a8648ce3d030...
Go
888 129.018005 19.392 Z M 106.842003 30.624001 C 103.889999 30.624001 101.405998 28.392 101.117996 25.152 L 115.085999 25.152 C 115.085999 19.104 111.377998 15.648001 106.842003 15.648001 C 102.089996 15.648001 98.201996 19.643999 98.201996 24.540001 C 98.201996 29.436001 102.089996 33.431999 106.842003 33.431999 C 110...
HTML
训练模型 ``` 通过代码可以看出,由于我们已经在 4.5 节实现了 `TransformerBlock` 类,从而使得 `GPTModel` 类的设计更为简洁。 `GPTModel` 类的构造函数 `__init__` 使用字典 `cfg` 中的配置参数初始化 token 嵌入层和位置嵌入层。这些嵌入层负责将输入的 token 索引转换为密集向量并加入位置信息(在第 2 章已讨论过)。 接下来,`__init__` 方法会根据 `cfg` 中指定的层数创建一个由 TransformerBlock 模块组成的顺序堆栈。紧接在 TransformerBlock 堆栈之后应用一个 LayerNorm 层,对其输出进行标准化,从而稳...
Markdown
Provider.analyze(pathnameNoDataPrefix) : (0, _normalizelocalepath.normalizeLocalePath)(pathnameNoDataPrefix, i18n.locales);\n if (result.detectedLocale) {\n info.locale = result.detectedLocale;\n }\n }\n }\n return info;\n} //# sourceMappingURL=get-next-pathname-info.js...
JavaScript
(String blockId : blockIds) { verify(listener).onBlockFetchSuccess(blockId, blocks.get(blockId)); } } @Test public void testShuffleBlockChunksFetch() { LinkedHashMap<String, ManagedBuffer> blocks = Maps.newLinkedHashMap(); blocks.put("shuffleChunk_0_0_0_0", new NioManagedBuffer(ByteBuffer.wrap...
Java
Schedule.(*mock.GasScheduleNotifierMock) scAddress, _ := utils.DoDeploy(t, testContext, "../wasm/testdata/counter/output/counter.wasm", 9988100, 11900, 399) utils.CleanAccumulatedIntermediateTransactions(t, testContext) sndAddr := []byte("12345678901234567890123456789112") senderBalance := big.NewInt(10000000) g...
Go
L push DOSTARTH push DOENDL push DOENDH ; Perform operation. do w7,_endInSecond ; { ; do (M-1)+1 times mov [w8++],w5 ; w5 = x[k] ; w8-> x[k+1] mov [w9--],w6 ; w6 = h[n-k] ; w9-> h[n-k-1] _endInSecond: mac w5*w6,a ; a = x[k]*h[n-k] ; restore the do loop registers pop DOENDH pop DOENDL ...
Assembly
PING 32 /* Can clip */ #define VID_TYPE_FRAMERAM 64 /* Uses the frame buffer memory */ #define VID_TYPE_SCALES 128 /* Scalable */ #define VID_TYPE_MONOCHROME 256 /* Monochrome only */ #define VID_TYPE_SUBCAPTURE 512 /* Can capture subareas of the image */ #define VID_TY...
HTML
uint8_t em) { const uint16_t xPixelsPar = GxGDEP015OC1_X_PIXELS - 1; const uint16_t yPixelsPar = GxGDEP015OC1_Y_PIXELS - 1; em = gx_uint16_min(em, 0x03); _writeCommand(0x11); _writeData(em); switch (em) { case 0x00: // x decrease, y decrease _SetRamArea(xPixelsPar / 8, 0x00, yPixelsPar % 256, yP...
C++
resize pic size aclError ret = acldvppSetResizeConfigInterpolation(g_resizeConfig_, 0); ret = acldvppVpcResizeAsync(g_dvppChannelDesc_, g_resizeInputDesc_, g_resizeOutputDesc_, g_resizeConfig_, g_stream_); if (ret != ACL_SUCCESS) { ERROR_LOG("acldvppVpcResizeAsync failed, errorCode = %d", s...
C++
js.org/dist/4.x/twgl-full.min.js"></script> </body> <script> "use strict"; var cellSize = 16; var canvas = document.createElement("canvas"); var m4 = twgl.m4; var gl = canvas.getContext("webgl"); var ext = gl.getExtension("WEBGL_draw_buffers"); if (!ext) { alert("sample requires WEBGL_draw_buffers"); } var fsS...
HTML
(t *fixtures.Then) { assertAlbActionDoesNotExist(t, s, "header-route") }) } func (s *AWSSuite) TestAlbHeaderRouteMultiIngress() { s.Given(). RolloutObjects("@header-routing/alb-header-route-multi-ingress.yaml"). When(). ApplyManifests(). WaitForRolloutStatus("Healthy"). Then(). Assert(func(t *fixture...
Go
8; bmpinfoheader[4] = (ww) as u8; bmpinfoheader[5] = (ww >> 8) as u8; bmpinfoheader[6] = (ww >> 16) as u8; bmpinfoheader[7] = (ww >> 24) as u8; bmpinfoheader[8] = (hh) as u8; bmpinfoheader[9] = (hh >> 8) as u8; bmpinfoheader[10] = (hh >> 16) as u8; bmpinfoheader[11] = (hh >> 24) as u8; ...
Rust
ить, какие дополнительные имена хостов должны быть заблокированы.<br><br>Добавьте подозрительные имена хостов в ваш Черный список долгим нажатием на запись в журнале, и после проверки сообщите об этих именах хостов в теме на форуме <a href="http://forum.hosts-file.net/viewforum.php?f=9">Hosts Inbox</a>, расположенном н...
HTML
.goto 7,61.03,55.56,40,0 .goto 7,59.21,54.50,40,0 .goto 7,58.44,53.38,40,0 .goto 7,57.87,50.87,40,0 .goto 7,57.23,50.07,40,0 .goto 7,56.00,51.41,40,0 .goto 7,55.66,53.73,40,0 .goto 7,55.60,55.55,40,0 .goto 7,56.14,57.59,40,0 >>Kill |cRXP_ENEMY_Prairie Stalkers|r. Loot them for their ...
Lua
_ang_vel = cMathUtil::QuatRotVec(delta_rot, root_ang_vel); cKinTree::SetRootPos(mJointMat, pos, mPose); cKinTree::SetRootRot(mJointMat, root_rot, mPose); cKinTree::SetRootVel(mJointMat, root_vel, mVel); cKinTree::SetRootAngVel(mJointMat, root_ang_vel, mVel); SetPose(mPose); SetVel(mVel); } tQuaternion cSimChar...
C++
q/coKS3/eqIx/wPkiIXC3w6YjAAAAABJRU5ErkJggg=="); --keyword: #ff79c6; --identifier: #f8f8f2; --comment: #6272a4; --operator: #ff79c6; --punctuation: #f8f8f2; --other: #f8f8f2; --escapeSequence: #bd93f9; --number: #bd93f9; --literal: #f1fa8c; --program: #9090c0; --option: #90b0...
CSS
> Three --</p> <p> Another terrible scream and then silence.</p> <p> STAR TREK: &quot;Silicon Avatar&quot; - REV. 8/2/91 - ACT THREE 39.</p> <p>37 CONTINUED: (2)</p> <p> PICARD<br> Mister Worf... can you<br> reestablish?</p> <p> WORF<br> No, Captain. There is no<br> response.</p> <p>38<b...
HTML
using System; using System.Collections.Generic; using System.Diagnostics; using Eto.Drawing; using SkiaSharp; using StudioCommunication; namespace CelesteStudio.Editing; public enum StyleType : byte { Action, Angle, Breakpoint, ForceStop, Savestate, Delimiter, Command, Comment, Fra...
C#
from fastapi import HTTPException, status from app.models import booking, tenant, driver, vehicle_config, vehicle from app.utils import db_error_handler from app.utils.logging import logger from datetime import timedelta, datetime from sqlalchemy.exc import * from app.models import tenant_setting db_exceptions = db_...
Python
NOFRUIT_2) || (fg_p[ut] == TREE_ORANGE_FRUIT) || (fg_p[ut] == TREE_PEACH_S0) || (fg_p[ut] == TREE_PEACH_S1) || (fg_p[ut] == TREE_PEACH_S2) || (fg_p[ut] == TREE_PEACH_NOFRUIT_0) || (fg_p[ut] == TREE_PEACH_NOFRUIT_1) || (fg_p[ut] == TREE_PEACH_NOFRUIT_2) || (fg_p[ut] == TREE_PEACH_FRUI...
C
/* $NetBSD: setbuffer.c,v 1.5 1997/07/13 20:15:26 christos Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Chris Torek. * * Redistribution and use in source and binary forms, with or ...
C
import random import os from faker import Faker import psycopg2 from dotenv import load_dotenv load_dotenv() fake = Faker() # Conectar ao banco de dados conn = psycopg2.connect( dbname=os.getenv("DB_NAME"), user=os.getenv("DB_USER"), password=os.getenv("DB_PASSWORD"), host=os.getenv("DB_HOST"), p...
Python
metabox-holder,.tablenav,.tagchecklist,.widget .widget-top,.widget-control-actions,.widget-liquid-left,.widget-liquid-right,.widgets-sortables{display:block;zoom:100%}p.search-box{position:static;float:left;margin:-3px 0 4px}#submitdiv a.button,#submitdiv input,#submitdiv select,.inactive-sidebar .widget,.revisions.pin...
CSS
grâce à quelques éléments et attributs <a href="fr/XUL">XUL</a>. Les informations de référence sont disponibles en suivant les liens ci-dessous :</p> <div class="moreinfo"> <p><strong>Documentation sur le <a href="/fr/docs/Syst%c3%a8me_de_pr%c3%a9f%c3%a9rences">système de préférences</a> :</strong></p> <ul> <li>...
HTML
import fcntl import socket import struct import subprocess def ifconfig_get_ip(iface): """ Return the ip of a network interface. :param iface: Network interface, e.g. eth0 :type iface: string :return: ip :rtype: string """ s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) try:...
Python
option> </select> </div> <div class="form-group"> <label>Sales Person</label> <select class="form-control" [(ngModel)]="customer.salesPersonId" name="salesPerson" required> <option *ngFor="let salesPerson of salesPeople" [ngValue]="salesPer...
HTML
using Palmmedia.ReportGenerator.Core.CodeAnalysis; using Palmmedia.ReportGenerator.Core.Parser; using Palmmedia.ReportGenerator.Core.Reporting; namespace Palmmedia.ReportGenerator.Core { /// <summary> /// Provides report generation capabilities. /// </summary> public interface IReportGenerator { ...
C#
if (NGINX_CLOJURE_RT_REQUIRED_LVER > NGINX_CLOJURE_VER) { throw new IllegalStateException("NginxClojureRT required version is >=" + formatVer(NGINX_CLOJURE_RT_REQUIRED_LVER) + ", but here is " + formatVer(NGINX_CLOJURE_VER)); } NGINX_CLOJURE_FULL_VER = "nginx-clojure/" + formatVer(NGINX_VER) + "-" + formatVer(NG...
Java
any): variable is boolean { return ( typeof variable === "boolean" || variable instanceof Boolean ) } // String public static isString(variable: any): variable is string { return ( typeof variable === "string" || variable instanceof String ) } // Array public static isArray(vari...
Typescript
name. Original name is preserved in // nexus/display_name label and can be obtained using DisplayName() method. func (obj *RootRoot) AddProject(ctx context.Context, objToCreate *baseprojecttsmtanzuvmwarecomv1.Project) (result *ProjectProject, err error) { log.Debugf("[AddProject] Received objToAdd: %s", objToCreate....
Go
or (&AquaSimMac::m_macTxTrace), "ns3::AquaSimMac::TxCallback") .AddTraceSource ("RoutingRx", "Trace source indicating a packet will be delivered to the Routing layer.", MakeTraceSourceAccessor (&AquaSimMac::m_routingRxTrace), "ns3::AquaSimMac::RxCallback") .AddAttribute("DummyRouting", "Used when th...
C++
비석에 세나리온 달가루를 뿌리면 비석을 수호하는 초승달발톱이 나타날 거예요. 초승달발톱에게는 그대에게 반드시 필요한 힘과 기술이 있어요.","<name>, 그대는 그동안의 노고로 이 세나리온 달가루를 이용할 수 있는 자격을 얻었어요. 이제는 드루이드에게 필요한 육체와 정신의 힘을 소유할 때입니다!"}, {"아우버다인의 달빛야수 비석에 세나리온 달가루를 뿌려서 초승달발톱을 불러내야 합니다. 그런 다음 초승달발톱과 대면하여 그가 가진 육체와 정신의 힘을 얻어야 합니다.","모든 일을 마치면 다르나서스에 있는 마스렌길 베어워커와 대화하십시오."}}, [6002] = {"육...
Lua
var child = children[j]; if (child.nodeType === Node.ELEMENT_NODE && child.tagName === "P") { child.setAttribute("style", "background-color: blue"); } } } } ``` 这段JavaScript代码命令式地将元素设置为蓝色背景,但是代码看起来很糟糕。不仅比CSS和XSL等价物更长,更难理解,而且还有一些严重的问题: * 如果选定的类被移除(例如,因为用户点击了不同...
Markdown
m:4px}.M8OgIe .ifM9O .GMCzAd,.hvs42d .GMCzAd{border-radius:0}.WghbWd{cursor:pointer}.eA0Zlc.qN5nNb{margin-right:2px;margin-bottom:2px}.eA0Zlc.ITO9Cc{margin-right:2px;margin-bottom:2px}.eA0Zlc.LyIfQ{margin-right:10px;margin-bottom:10px}.oRnkrf.LyIfQ{margin-bottom:10px}.eA0Zlc.U1K9Vc{padding:10px;overflow:visible}.eA0Zlc...
HTML
0d0d0);background-position:0 0,10px 10px;background-size:20px 20px;border-radius:2px;-moz-border-radius:2px;margin:15px 0 0 0}.cmb2-media-status .embed-status{float:left;max-width:800px}.cmb2-media-status .embed-status,.cmb2-media-status .img-status{position:relative}.cmb2-media-status .embed-status .cmb2-remove-file-b...
CSS
ps://arxiv.org/abs/2009.13658). is_decoder (`bool`, *optional*, defaults to `False`): Whether the model is used as a decoder or not. If `False`, the model is used as an encoder. use_cache (`bool`, *optional*, defaults to `True`): Whether or not the model should return the last ke...
Python
的这些页面置换算法比较齐全,只给出简单介绍,算法具体的实现和原理读者可以自行了解。 ![](https://s3.ax1x.com/2021/03/01/6PQaVg.png) - `最优算法`在当前页面中置换最后要访问的页面。不幸的是,没有办法来判定哪个页面是最后一个要访问的,`因此实际上该算法不能使用`。然而,它可以作为衡量其他算法的标准。 - `NRU` 算法根据 R 位和 M 位的状态将页面氛围四类。从编号最小的类别中随机选择一个页面。NRU 算法易于实现,但是性能不是很好。存在更好的算法。 - `FIFO` 会跟踪页面加载进入内存中的顺序,并把页面放入一个链表中。有可能删除存在时间最长但是还在使用的页面,因此这个算法也...
Markdown
val player = players.create( playerDbData.first, playerDbData.second, getZone(tile) ?: error("Zone doesn't exist for $tile."), request ) request.ctx.writeAndFlush(LoginResponse(player.index, player.rights)) r...
Kotlin
infoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_WARNING, FALSE)); CheckHresult(infoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_INFO, FALSE)); CheckHresult(infoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_MESSAGE, FALSE)); D3D12_MESSAGE_ID hide[] = { D3D12_MESSAGE_ID_MAP_INVALID_NULLRANGE,...
C++
type {string} * @memberof User */ @JsonProperty('name', String) public name: string = 'Background Pony'; /** * The user's "slug" (for pretty URLs) * * @readonly * @type {string} * @memberof User */ @JsonProperty('slug', String) public readonly slug: string = 'Background-Pony'; /** * The role o...
Typescript
y [1, false], ['1', false], [{}, false], [true, false], [false, false], [() => { }, false], ])('%p should evaluate as %p', (value, expected) => { // @ts-ignore expect(isDate(value)).toBe(expected) }) }) describe('isObject', () => { test.each([ // Tr...
Typescript
{ final Object ret = next.get(position); if (ret != null) { return ret.toString(); } } return "0"; } } // %2981324713:de.hattrickorganizer.logik.matchengine.engine.core% package core.prediction.engine; import core.model.match.IMatchDetails; i...
Java
""" pygments.styles.zenburn ~~~~~~~~~~~~~~~~~~~~~~~ Low contrast color scheme Zenburn. See: https://kippura.org/zenburnpage/ https://github.com/jnurmine/Zenburn :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ from pygmen...
Python
volume.device\\.*/" end local current_audio_device = "None" local function volume_toggle_details(env) if env.BUTTON == "right" then sbar.exec "open /System/Library/PreferencePanes/Sound.prefpane" return end local should_draw = volume_icon:query().popup.drawing == "off" if should_draw then volume_i...
Lua
Direction { delta_x: -1, delta_y: 0, }; pub const NORTH: Direction = Direction { delta_x: 0, delta_y: -1, }; pub const SOUTH: Direction = Direction { delta_x: 0, delta_y: 1, }; pub const NORTHEAST: Direction = Direction { delta_x: 1, delta_y: -1, }; pub const NORTHWEST: Direction = Dire...
Rust
type":"Feature","id":"node/2723599939","properties":{"highway":"bus_stop","name":"大埔仔坳 Tai Po Tsai Kau","name:en":"Tai Po Tsai Kau","name:zh":"大埔仔坳","operator":"NWFB","public_transport":"platform","ref:ctb":"2147B","ref:hkbus":"大埔仔坳","id":"node/2723599939"},"geometry":{"type":"Point","coordinates":[114.2585102,22.34054...
JavaScript
class="js-reactions-container" style=""> </div> </div> </form></div> </div> </div> </div> <!-- '"` --><!-- </textarea></xmp> --><form class="js-comment-update" id="issuecomment-962540250-edit-form" data-turbo="false" action="https://github.com/funige/neo/issue_commen...
HTML
// Copyright (c) Meta Platforms, Inc. and affiliates. // All rights reserved. // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. #pragma once #include <c10/core/DispatchKey.h> #include <c10/core/impl/LocalDispatchKeySet.h> #include "...
C
6ba8f301 movw qinv, #62209 movt qinv, #27560 movw k, #0 ldr.w tmp, [sp, #13*4] // load state from stack vmov s26, tmp ldr.w tmp, [sp, #14*4] // load aprimeptr from stack vmov s27, tmp vmov s28, rptr // store "real" destinaton in FP vmov s29, rptr // backup ldr.w rptr, [sp, #15*4] // outer whil...
Assembly
String, pub value: u64, } impl ValuePair { pub fn new(text: &str, value: u64) -> ValuePair { ValuePair { text: text.to_owned(), value: value, } } } impl PartialEq for ValuePair { fn eq(&self, other: &ValuePair) -> bool { self.value == other.value } ...
Rust
bit(true) } #[doc = r"Clears the field bit"] #[inline(always)] pub fn clear_bit(self) -> &'a mut W { self.bit(false) } #[doc = r"Writes raw bits to the field"] #[inline(always)] pub fn bit(self, value: bool) -> &'a mut W { self.w.bits = (self.w.bits & !(0x01 << 8)) | (((v...
Rust
rgs.qrdata = input("Enter the qr data: ") if args.file is None: args.file = input("Enter the file name: ") if args.read_file: readAndEncodeFile(args.read_file, args.file) else: encodeQr(args.qrdata, args.file) elif args.subcommand == 'decode': if a...
Python
ic String get coreName => 'FlClashCore'; static String get libName => 'libclash'; static String get outDir => join(current, libName); static String get _coreDir => join(current, 'core'); static String get _servicesDir => join(current, 'services', 'helper'); static String get distPath => join(current, 'di...
Dart
tgtInfo, _weight);\n\n // If undirected graph, we need to take into account the 'reverse' edge\n if (!directed) {\n checkForEdgeReplacement(tgt, src, edge, tgtInfo, srcInfo, _weight);\n }\n }\n if (!replacedEdge) {\n break;\n }\n }\n if (replacedEdge) {\n ...
JavaScript
,但多數出版品皆以此處所述規則對標點符號進行配置。</p> <div class="note"> <p>在繁體中文裡,並未嚴格禁止標點符號出現於行首,於活字排版時代,完全不處理標點禁則的出版品也相當多見。</p> </div> <div class="note"> <p>繁體中文出版品中,報紙、雜誌多採分欄式排版,此時由於一行字數較少,也有完全不使用行首行尾禁則的作法。</p> </div> <div class="note"> <p>排版時,若不希望標點符號出現於行頭時,僅能由前行取末字至下一行,前行多出來的空間採平均排列的...
HTML
/* * Copyright 2008-2010 Freescale Semiconductor, Inc. * * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the ...
C
ent"><a href="grouping-content.html#the-figure-element">figure</a></code><li><code id="palpable-content:the-footer-element"><a href="sections.html#the-footer-element">footer</a></code><li><code id="palpable-content:the-form-element"><a href="forms.html#the-form-element">form</a></code><li><code id="palpable-content:the...
HTML
�一篇文章不如做几道练习题,此话虽然夸张,但是也不无道理。既然如此,既读书又做练习题,效果会不会更好?再加上练习题是书本的配套呢? :P - [Rust 语言实战](https://github.com/sunface/rust-by-practice), Rust 语言圣经配套习题,支持中英双语,可以在右上角切换 ## 创作感悟 截至目前,Rust 语言圣经已写了 170 余章,110 余万字,历经 1000 多个小时,每一个章节都是手动写就,没有任何机翻和质量上的妥协( 相信深入阅读过的读者都能体会到这一点 )。 曾经有读者问过 "这么好的书为何要开源,而不是出版?",原因很简单:**只有完全开源才能完美地呈现出我想要的...
Markdown
TRIP_ZONE.TWO_TO_ONE){ fare = FARE.ONE_HUNDRED_TWENTY; tripExplanation = TRIP_EXPLANATION.DAILY_CAP_REACHED; } // Calculate Dynamic Weekly Cap based on each trip if(trip.zones === TRIP_ZONE.TWO_TO_TWO) { if(WEEKLY_CAP.FOUR_HUNDRED > weeklyCap) ...
Typescript