content
stringlengths
2
6.21k
label
stringclasses
16 values
1) === C_NEWLINE) { // ignore last blank line created by final newline // 忽略由最后换行符创建的最后一个空行 this.lineLength -= 1; } // 块解析 for (this.currentLineNumbar = 0; this.currentLineNumbar < this.lineLength; this.currentLineNumbar++) { this.incorporateLine...
Typescript
lang.String> id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } /** * Get an existing Host resource's stat...
Java
-start;flex-flow:row wrap;content:'[{"value":"#abadb1","id":2},{"value":"#787b81","id":3},{"value":"#ffa900","id":5}]';}.amis-scope .a-Rating > ul{display:flex;padding:unset;margin:unset;align-items:center;justify-content:flex-start;flex-flow:row wrap;}.amis-scope .a-Rating-star{display:flex;align-items:center;justify-...
CSS
#import <UIKit/UIKit.h> /** * UnityAdsBannerDelegate is a delegate class for callbacks from Unity Ads Banner operations. */ @protocol UnityAdsBannerDelegate <NSObject> /** * Called when the banner is loaded and ready to be placed in the view hierarchy. * * @param placementId The ID of the placement of the banner...
C
| CEPH_OSD_OP_FLAG_FADVISE_SEQUENTIAL) & ~(CEPH_OSD_OP_FLAG_FADVISE_DONTNEED | CEPH_OSD_OP_FLAG_FADVISE_NOCACHE); } } } C_ProxyRead *fin = new C_ProxyRead(this, soid, get_last_peering_reset(), prdop); unsigned n = info.pgid.hash_to_shard(osd->m_objecter_finishers); ceph_tid_t tid =...
C++
""" Module: app.urls Description: This module defines URL patterns for the Archimatch application using Django's path() function. It includes routing configurations for various API endpoints using Django Rest Framework's DefaultRouter. """ from django.urls import include from django.urls import path from rest_fram...
Python
, _column_46, _column_47, _column_48, ], attachedDatabase: database, ), alias: null, ); } i1.GeneratedColumn<String> _column_76( String aliasedName, ) => i1.GeneratedColumn<String>( 'entity_json', aliasedName, false, type: i1.DriftSqlType.string, $customConstra...
Dart
.container1 .message p { background-color: var(--control-bg); color: var(--text-color); // box-shadow: 0 1px #444; } .container1 .message-form-container { background-color: var(--gray-700); } .container1 .timemessagechat { color: #7A838c; } .container1 .contactdetailbox { back...
CSS
�序代码。 ![](https://mmbiz.qpic.cn/mmbiz_png/OAz0RNU450Dh3pF0zTqZuVrTbQev4JdpBs1SSqKxriapYP3Xn1PfO9Ffs4CaU8tH2dqZrwia56ZlmGFRx9AccuPw/640?wx_fmt=png) 实现方法是,在 MainShell 类中添加一个按钮,并将排序功能代码写入按钮事件中。 ![](https://mmbiz.qpic.cn/mmbiz_png/OAz0RNU450Dh3pF0zTqZuVrTbQev4Jdp7V4T4Yf1wVCClKFVOwoBx3mN2ZXX2GRkQnmduGHPmREEVrbQxVtsSQ/640...
Markdown
l element types. */ #define CESTATUS_FULL 0x01 /* element is full */ #define CESTATUS_IMPEXP 0x02 /* media deposited by operator */ #define CESTATUS_EXCEPT 0x04 /* element in abnormal state */ #define CESTATUS_ACCESS 0x08 /* media accessible by picker */ #define CESTATUS_EXENAB 0x10 /* element supports exporting ...
C
parameter if (userInformationList != null && userInformationList.GetType() != typeof(byte[])) { localVarPostBody = Configuration.ApiClient.Serialize(userInformationList); // http body (model) parameter } else { localVarPostBod...
C#
assert.New(t) config.Client = &fakeClient{} w := New(config) header := &MiniHeader{ Number: big.NewInt(FakeBlockNumber), Hash: common.HexToHash(FakeHash), } res, err := w.enrichWithL1BlockNumber(header) assert.NoError(err) assert.Equal(common.HexToHash(FakeHash), res.Hash) assert.Equal(big.NewInt(Fake...
Go
e of another: // - ns1 graph: unknown -> ns1:A -> ns2:B // - ns2 graph: ns1:A -> ns2:B -> ns2:C func MergeTrafficMaps(trafficMap graph.TrafficMap, ns string, nsTrafficMap graph.TrafficMap) { for nsID, nsNode := range nsTrafficMap { if node, isDup := trafficMap[nsID]; isDup { if nsNode.Namespace == ns { // p...
Go
Blank()) { // this is a really boring puzzle, let's try again resId = 0 resName = "" recreate() return } grid.removeAllViews() grid.columnCount = q.width + 1 grid.rowCount = q.height + 1 label.visibility = GONE ...
Kotlin
to mark types as instantiated. JS('MutationObserver|MutationRecord', '0'); return JS('MutationObserver', 'new(window.MutationObserver||window.WebKitMutationObserver||' 'window.MozMutationObserver)(#)', convertDartClosureToJS(_wrapBinaryZone(callback), 2)); } } // Copyright (c) 2012, ...
Dart
br(Assembler::equal, G3_scratch, cont); __ delayed()->nop(); // Save down any values that are live in registers and call into the // runtime to halt for a GC OopMap* map = new OopMap(stack_slots * 2, 0 /* arg_slots*/); save_or_restore_arguments(masm, stack_slots, total_in_args, ar...
C++
; }; const getOrGenerateId = elm => { return elm.id ? elm.id : generate$6('h'); }; const isAnchor = elm => { return elm && elm.nodeName === 'A' && (elm.id || elm.name) !== undefined; }; const isValidAnchor = elm => { return isAnchor(elm) && isEditable(elm); }; const isH...
JavaScript
19.139813 0.03 0 0.059999 0 0.089999-0.01 11.179891-62.719388-10.969893-91.399107-10.969893-91.399108S700.525329 0.309997 675.435574 0.059999z" ></path></symbol><symbol id="icon-shidi-redis" viewBox="0 0 1194 1024"><path d="M1194.40999 628.48455c-0.501686 11.398779-15.575608 24.139276-46.540151 40.321575-63.714156 33....
JavaScript
e.enough)) break; atomic_inc(&state.started); state.infos[i].state = &state; state.infos[i].thread = kthread_run(bch_dirty_init_thread, &state.infos[i], "bch_dirtcnt[%d]", i); if (IS_ERR(state.infos[i].thread)) { pr_err("fails to run thread bch_dirty_init[%d]\n", i); atomic_dec(&state.start...
C
local ModdingUtil = {} local decodeJSON = (require "lib.json").decode local function createMeta(name) return { name = name or "Unknown", color = "#1F1F1F", description = "No description provided.", version = 1 } end local function getImage(path) obj = paths.images[path] if obj then return obj end if pa...
Lua
23351712476717057", // "type": "animated_gif", // "height": 278, // "width": 498, // "preview_image_url": "https:\/\/pbs.twimg.com\/tweet_video_thumb\/El19Xv8UYAEWxVd.jpg" // } // ] // } // } ...
Kotlin
回API实例 | | [build_optim]() | 创建优化器函数,返回API实例 | | [build_loss]() | 创建loss函数,返回API实例 | | [build_dataset]() | 创建数据集,返回MindSpore Dataset实例 | | [build_dataloader]() | 创建数据集加载函数,返回API实例 | | [build_sampler]() | ...
Markdown
9), "Remember Dust Blocks can be crafted into 9 Dust") , ST.make(OP.dust .mat(MT.OREMATS.GarnetSand , 9), "Remember Dust Blocks can be crafted into 9 Dust") , ST.make(OP.dust .mat(MT.OREMATS.GlauconiteSand , 9), "Remember Dust Blocks can be crafted into 9 Dust") ), null, ZL_LONG, ZL_FS, ZL_FS,...
Java
rpolateReplicatePoint(-9, 10)).toBe(0); }); test('REPLICATE - positive', () => { expect(interpolateReplicatePoint(10, 10)).toBe(9); expect(interpolateReplicatePoint(11, 10)).toBe(9); expect(interpolateReplicatePoint(17, 10)).toBe(9); expect(interpolateReplicatePoint(18, 10)).toBe(9); }); test('REFLECT - negat...
Typescript
.combineLatest2( channelId, observeChannelsWithCalls(serverUrl), (id, calls) => calls.containsKey(id), ).distinctUntilChanged(); final currentCall = observeCurrentCall(); final ccChannelId = currentCall .switchMap((call) => Stream.value(call?.channelId)) .distinctUntilChanged(); final...
Dart
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/iWorkImport.framework/iWorkImport */ @interface TSTStrokeLayerToken : NSObject <TSTStrokeLayerStrokeAndRange> { int _order; unsigned long long _position; struct TSTSimpleRange { long long origin; unsigned long l...
C
item--processed').attr('data-gameinfo') || '{}'); if (atDownload && machineName) { if (selected === 'All' || (selected === 'Owned' && d.owned) || (selected === 'NotOwned' && !d.owned)) { fetchKey($game, machineName, () => { handler($games, callback); ...
JavaScript
lt.failure(NoAccessToFileException(uri.toString()))) return } val bitmap = contentResolver.openInputStream(uri)?.use { BitmapUtils.getNormalizedBitmap(it, orientation, sampleSize) } ?: run { callback.invoke(Result.failure(NoAccessToFileException(uri.toString(...
Kotlin
/* * iemmatrix * * objects for manipulating simple matrices * mostly refering to matlab/octave matrix functions * * Copyright (c) IOhannes m zmölnig, forum::für::umläute * IEM, Graz, Austria * * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.tx...
C
/* * Copyright 2014 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
C
75, v = 0.4 }, [40301] = { h = 0.0584, s = 0.7, v = 0.2841 }, [30105] = { h = 0.509, s = 0.85, v = 0.85 }, [402] = 4022202, [101] = 1012037, [102] = 0, [103] = 0, [104] = 0, [20201] = 0, [20202] = 0, [20203] = 0, [20204] = 0, [20205] = false, [20206] = { h...
Lua
(e) { if (this.onLaunchFail != null) { this.onLaunchFail(url); } debugPrint(e.toString()); } } void _launchOtherURL(String url) async { if (await canLaunch(url)) { await launch(url); } else { debugPrint('Could not launch $url'); if (this.onLaunchFail != null...
Dart
ptonRegistries import org.kryptonmc.krypton.testutil.Bootstrapping import org.kryptonmc.krypton.testutil.ReflectionsFactory import org.kryptonmc.krypton.util.hit.BlockHitResult import org.kryptonmc.krypton.world.WorldEvents import org.kryptonmc.krypton.world.block.KryptonBlocks import org.kryptonmc.krypton.world.dimens...
Kotlin
l(cache)); const MILLION = 1000000; let counter = 0; for (let n = 1; n <= 100; n++) { for (let r = 1; r <= n; r++) { // if (selection(n, r) > MILLION) { // console.log("HERE"); // } counter = selection(n, r) > MILLION ? counter + 1 : counter; } } console.log(counter);cons...
Typescript
alled domain = InferencerFactory._get_labels_domain(model) match domain: case Domain.CLASSIFICATION: inferencer = ClassificationInferencer(model, device=device, max_async_requests=max_async_requests) case Domain.DETECTION: inferencer = DetectionInf...
Python
Text(NONE); browseFrameLocal.timeToClear = nil; else browseFrameLocal.timeToClear = timeToClear - elapsed; end end end --We construct the list. This should only need to be called once (since we don't filter or change it), so we don't much worry about 1 garbage table. function GetFullRaidList() LFGDungeonLi...
Lua
参数,增强对相似度差异的敏感性,使得正样本相对于负样本的优势更加明显。 经验法则是:批大小从512增加到1024时,温度应从0.1减小到0.07(减小约30%);批大小从1024增加到2048时,温度应从0.07减小到0.05。这些是起始点,实际最优值需要通过验证集指标搜索。调优策略为固定批大小,在\\(\\tau \\in \\{0.03, 0.05, 0.07, 0.1, 0.15, 0.2\\}\\)中搜索;或固定温度,在批大小\\(\\{512, 1024, 2048, 4096\\}\\)中搜索。 ### 向量归一化与相似度计算的一致性 召回阶段学习的向量表示最终需要部署到ANN检索系统(如FAISS)。训练过程中使...
Markdown
value.docs; }).catchError((e) { logger.d(e.toString()); logger.d("data done with error"); }); notifyListeners(); } Future<void> seeMoreUserProfileSetups(String? email) async { logger.d("Fetching more profile walls"); await databaseReference .collection("setups") .wh...
Dart
p_ PageCurlTransitionObject) HasShadingImage() bool { return p_.RespondsToSelector(objc.Sel("shadingImage")) } // An image that looks like a shaded sphere enclosed in a square. [Full Topic] // // [Full Topic]: https://developer.apple.com/documentation/coreimage/cipagecurltransition/3228622-shadingimage?language=objc ...
Go
rol.AdRefreshed += adControl_AdRefreshed; #endif adControl.ErrorOccurred += adControl_ErrorOccurred; #if WINDOWS_PHONE adControl.SetValue(System.Windows.Controls.Canvas.ZIndexProperty, 98); #else adControl.SetValue(Windows.UI.Xaml.Controls.Canvas.ZIndexProperty, 98); #endif ...
C#
## Source Code with Coverage ```python 1: ✓ def longestIncreasingSubseqLength(xs): 2: ✓ import bisect 3: ✓ lis = [] 4: ✓ for x in xs: 5: ✓ pos = bisect.bisect_left(lis, x) 6: ✓ if pos == len(lis): 7: ✓ lis.append(x) 8: ✓ else: 9: ✓ lis[pos] = x 10: ✓ ret...
Markdown
ng name, String template) { int wildcardIdx = template.indexOf("*"); if (wildcardIdx == -1) return name.equals(template); boolean isBeginning = true; String beforeWildcard = ""; String afterWildcard = template; while (wildcardIdx != -1) { // ma...
Java
/* * Original work: Copyright (c) 2014, Oculus VR, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * RakNet License.txt file in the licenses directory of this source tree. An additional grant * of patent rights can be found in the RakNet Patents.txt file...
C
line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons"},a={cN:"constant"...
JavaScript
Alper", age: 23}, {name: "Hasan", age: 22} ]) const handleClick = () => { setUsers([ ...users, {name: "Aykut", age: 22 }]) } return ( <div> {users.map((user, i) => ( <li key={i}>{user.name}</li> ))} <hr /> <button onClick={handleClick}>Add user</button> ...
Markdown
true p2.b KAI_ASM_INST(0x8556c81e) // ld1rw { z30.s }, p2/z, [x0, #0x58] // clamp_min KAI_ASM_INST(0x8557c81f) // ld1rw { z31.s }, p2/z, [x0, #0x5c] // clamp_max ldr x12, [x0, #0x20] // m KAI_ASM_INST(0x25ac17e0) // whilelt p0.s, xzr, x12 KAI_ASM_LABEL(label_1) // Row Loop...
Assembly
ne REG_EDI [ebp+16] /* */ /* PUSH dword ptr task_ptr */ /* PUSH dword ptr 0 */ /* PUSH word ptr 0 */ /* PUSH dword ptr prot_glue */ mov [ebx].r_ax, eax mov [ebx].r_cx, ecx mov [ebx].r_d...
C
(::tensorflow::RemoveDeadNodes, func)); } TEST(OptimizationTest, RemoveIdentityNodes_Ref) { auto T = DT_FLOAT; auto func = FDH::Define( // Name "F", // Args {}, // Return values {"ret: float"}, // Attrs {}, // Nodes {// variable {{"v"}, "VariableV2...
C++
from collections.abc import Mapping from typing import Any, TypeVar from attrs import define as _attrs_define from attrs import field as _attrs_field T = TypeVar("T", bound="RemoveAllArgs") @_attrs_define class RemoveAllArgs: """PersonFindArgs.""" additional_properties: dict[str, Any] = _attrs_field(init=F...
Python
作不可逆,请谨慎操作。\n若更新后无法正常运行可前往系统设置找到LuaStudio+将其进行数据清除或卸载重新安装。" local update_message=string.format(update_message_template,zip_file_path,file_size,update_type) --普通对话框 update_info_dialog=MaterialAlertDialogBuilder(activity,R.style.AlertDialogTheme) update_info_dialog.setTitle("本地更新"...
Lua
username string } // Error implements the error interface. func (e ErrUndefinedUsername) Error() string { return fmt.Sprintf("undefined username %s", e.username) } // ErrACLsPerPathConfigsBothPresent is returned when we are parsing a ConfigV1 // that has both ACLs and PerPathConfigs defined. type ErrACLsPerPathCon...
Go
m = N_HDLC, .name = "hdlc", .open = n_hdlc_tty_open, .close = n_hdlc_tty_close, .read = n_hdlc_tty_read, .write = n_hdlc_tty_write, .ioctl = n_hdlc_tty_ioctl, .poll = n_hdlc_tty_poll, .receive_buf = n_hdlc_tty_receive, .write_wakeup = n_hdlc_tty_wakeup, .flush_buffer = flush_rx_queue, }; static int...
C
ame = ''; await $.wait(100); await TotalBean(); console.log(`\n*****开始【京东账号${$.index}】${$.nickName || $.UserName}******\n`); if (!$.isLogin) { $.msg($.name, `【提示】cookie已失效`, `京东账号${$.index} ${$.nickName || $.UserName}\n请重新登录获取\nhttps://bean.m.jd.com/bean/s...
JavaScript
add the correct release channel`() { val result = EngineVersion.parse("0.0.1", "beta")?.releaseChannel assertEquals(EngineReleaseChannel.BETA, result) } @Test fun `GIVEN a release build of the engine WHEN parsing the version THEN add the correct release channel`() { val result = E...
Kotlin
CommClause) if s.Comm == nil { def = glang.NewCallExpr(glang.GallinaVerbatim("chan.select_default"), glang.FuncLit{Body: ctx.stmtList(s.Body, nil)}) } else if c, ok := s.Comm.(*ast.SendStmt); ok { ops = append(ops, glang.NewCallExpr( glang.GallinaVerbatim("chan.select_send"), ctx.expr(c.Value), ...
Go
nly. test(r'abc.', true); // Last only. } // Copyright (c) 2019, the Dart project authors. All rights reserved. // Copyright 2014 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are...
Dart
;left:10px}}@media only screen and (max-width:600px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:0}}@media only screen and (max-width:480px){.edit-attachment-frame .media-frame-title{left:110px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.u...
CSS
val PIXEL_C = Identifier(id = "pixel_c", name = "Pixel C") val PIXEL_FOLD = Identifier(id = "pixel_fold", name = "Pixel Fold") // Wear val WEAR_OS_SQUARE = Identifier(id = "wearos_square", name = "Wear OS Square") val WEAR_OS_RECT = // This is the updated Identifier of WEAR_OS_RECTANG...
Kotlin
): if isinstance(child_module, HunyuanVideoSingleTransformerBlock): child_module.forward = create_checkpointed_forward( child_module, torch.device(config.train_device), ["hidden_states"], conductor, layer_index, ) layer_index +=...
Python
&:hover:not([aria-expanded="true"]){ border-color: $nav-theme-L1-bg; } &[aria-expanded="false"] + ul { display: none; } &[aria-expanded="true"] + ul { background: $nav-theme-L1-bg; color: contrasting-color($nav-theme-L1-bg); @...
CSS
# MIT License # Copyright (c) 2024 The HuggingFace Team # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, ...
Python
using Newtonsoft.Json; using TRImageControl.Packing; using TRLevelControl.Model; namespace TRDataControl; public class TR5DataImporter : TRDataImporter<TR5Level, TR5Type, TR5SFX, TR5Blob> { public TR5DataImporter() { Data = new TR5DataProvider(); } protected override List<TR5Type> GetExistin...
C#
} else if (d->optind == argc) { if (print_errors) { fprintf(stderr,"%s: option requires an argument -- '%c'\n",argv[0], c); } d->optopt = c; if (optstring[0] == ':') c = ':'; else c = '?'; return c; } else d->optarg = argv[d->optind++]; for (d->__nextcha...
C++
poch; setLocaleInfo('zh_normal', ZhInfo()); final int now = DateTime.now().millisecondsSinceEpoch; final String timeLine = TimelineUtil.format(formatTimes, locTimeMillis: now, locale: 'zh_normal', dayFormat: DayFormat.Common); return timeLine; } } import 'lyric_ui/lyric_ui.dart'; import 'ly...
Dart
components/src/components/notification/inline-notification"; @import "carbon-components/src/components/notification/toast-notification"; @import "./popover"; // The default theme is "white" (White) :root { @include carbon--theme($carbon--theme--white, true) { @include emit-component-tokens($tag-colors); @inc...
CSS
from itertools import product import pytest import pandas as pd import instructor from litellm import completion from pydantic import BaseModel class Address(BaseModel): number: int street_name: str city: str country: str entries = pd.DataFrame( { "input": [ "Please send th...
Python
lur_median") self.print_current_algorithm_ofImage(2) if SI.syncFlag_blur_ofImage: self.forbid_blur_ofImage(False) # 恢复中值滤波下禁止第二个滤波核设置参数 elif rbName == "rbtn_blur_median_ofImage": if "blur_median" not in SI.imageAugmentAlgorithm_ofImage: SI.imageAugmentAlgor...
Python
return"svg"===A.substr(-3).toLowerCase()||ze.test(A)},Ze="closest-side",je="farthest-side",$e="closest-corner",At="farthest-corner",et="ellipse",tt="contain";(Ve=xe||(xe={}))[Ve.URL=0]="URL",Ve[Ve.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",Ve[Ve.RADIAL_GRADIENT=2]="RADIAL_GRADIENT";var rt,nt,Bt,st;(nt=rt||(rt={}))[nt.CIRCLE=...
JavaScript
symbols texSymbol = { fg = McWhite }, texSpecialChar = { fg = McYellow }, texDelim = { link = 'texSymbol' }, texTabularChar = { link = 'texSymbol' }, -- vimtex: files texFileArg = { fg = McWhite }, texFileOpt = { fg = McYellow }, -- vimtex: bib bibType = { fg = McYellow }, bibKey = { fg = McYellow...
Lua
# defer next_chr data_length times return ''.join(itertools.imap( defer, itertools.repeat(next_ch, data_length))) if __name__ == "__main__": import sys import os if len(sys.argv) != 3: print "use: python steganohide.py text.txt bild.bmp" sys.exit() else: ...
Python
holder: AbstractMediaItemViewHolder<ViewDataBinding>, position: Int) { if (position >= itemCount) return val item = getItem(position) holder.setItem(item) holder.binding.executePendingBindings() if (position == focusNext) { holder.binding.root.requestFocus() ...
Kotlin
Index = i; } // check for a conjugate pair int imag1 = -1; int imag2 = -1; int realgroup1 = -1; int realgroup2 = -1; int realgroup3 = -1; for(int i=0;i<evl;i++){ if (imagEigenValues[i] != 0) if (imag1 == -1) imag1 = i; else imag2 = i; } if (imag1 > -1){ eigenValueStatus = COMPLEX...
Java
}html.theme-dark .wrapper-3Sj-FzgR-{color:#b2b5be;background-color:#1e222d}.wrapper-3Sj-FzgR-.hovered-1G0yygIe-,.wrapper-3Sj-FzgR-:active{color:#000}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.wrapper-3Sj-FzgR-:hover{color:#000}}html.theme-dark .wrapper-3Sj-FzgR-.hovered-1G0yygIe-,html.the...
CSS
0}", frame); // If it's a settings frame, we should note the values and // return the frame with the Ack flag set if (frame.Type == FrameType.Settings) { var settingsFrame = frame as SettingsFrame; ...
C#
/* * gen_except.sa 3.7 1/16/92 * * gen_except --- FPSP routine to detect reportable exceptions * * This routine compares the exception enable byte of the * user_fpcr on the stack with the exception status byte * of the user_fpsr. * * Any routine which may report an exceptions must load * the stack fram...
Assembly
# import tkinter # from tkinter import mainloop # # window = tkinter.Tk() # window.title("My Window") # window.minsize(width=500,height=500) # # my_lable = tkinter.Label(text="Hey There how are you?",font=("Arial",24,"bold")) # my_lable.pack() # # # # # # # # window.mainloop() # # import tkinter as tk # # # Function to...
Python
下一轮换:" + res.arenasRanked.next.map return map }@file:JvmName("AndroidMediaStreamTrack") package com.shepeliev.webrtckmp import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.StateFlow import kotlinx.coroutines.flow.asStateFlow import kotlinx.coroutines.flow.update import org.webrtc.MediaS...
Kotlin
v.Args[1] v_0 := v.Args[0] // match: (ORQmodify [off1] {sym} (ADDQconst [off2] base) val mem) // cond: is32Bit(int64(off1)+int64(off2)) // result: (ORQmodify [off1+off2] {sym} base val mem) for { off1 := auxIntToInt32(v.AuxInt) sym := auxToSym(v.Aux) if v_0.Op != OpAMD64ADDQconst { break } off2 := aux...
Go
q $8, %rax movzbl -224(%rbp,%r8), %edx salq $8, %r9 orq %r10, %rax orq %rdx, %r9 movq -5792(%rbp), %rdx movq %rax, -5760(%rbp) salq $8, %r9 movzbl -224(%rbp,%rdx), %edx orq %rdx, %r9 movq %r9, -5752(%rbp) call __popcountdi2@PLT movq -5712(%rbp), %rsi movq -5696(%rbp), %rcx movdqa -5760(%rbp), %xmm7 cltq ...
Assembly
("QMAKE_POST_LINK")); conf.postBuild.CommandLine = cmdline; conf.postBuild.Description = cmdline.join(QLatin1String("\r\n")); conf.postBuild.ExcludedFromBuild = _False; } if (!project->values("MSVCPROJ_COPY_DLL").isEmpty()) { conf.postBuild.Description += var("MSVCPROJ_COPY_DLL_D...
C++
throw new Error('The params of function res.send is unnormal!'); } }; // ? 无法覆盖第三方的生命文件 /* let send = res.send; res.send = function(...args: any[]) { if (args.length === 0) { send.call(Object.assign(res, { send: send }), result.success()); ...
Typescript
m).flee(); // } // } // } } //messages at boss levels only trigger on first ascent private boolean justAscended = false; public void saySwitch(){ if (Dungeon.bossLevel()){ if (justAscended) { GLog.p(Messages.get(this, "break")); for (Char ch : Actor.chars()){ if (ch instanceof DriedRose.G...
Java
executors/task_health_checker.h" #include <vector> #if BOOST_VERSION <= 104800 #include <boost/chrono.hpp> #endif #include "misc/map-util.h" #include "misc/utils.h" namespace firmament { TaskHealthChecker::TaskHealthChecker( const unordered_map<TaskID_t, boost::thread*>* handler_thread_map, boost::shared_m...
C++
/* Simple DirectMedia Layer Copyright (C) 1997-2023 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
C
Tp IndexType `json:"index_type"` // Index type: Btree or Hash } // Clone clones IndexInfo. func (index *IndexInfo) Clone() *IndexInfo { ni := *index ni.Columns = make([]*IndexColumn, len(index.Columns)) for i := range index.Columns { ni.Columns[i] = index.Columns[i].Clone() } return &ni } // HasPrefi...
Go
forLanguageTag("de")); String key = "rapidminer.icon"; String expected = "rapidminer.png"; ExtensibleResourceBundle test = new ExtensibleResourceBundle(new DummyBundle(key, expected, "")); test.addResourceBundle(new DummyBundle(key, "evil.tiff", "de")); test.addResourceBundle(new DummyBundle(key, "ugly.jpg", ...
Java
ION_TEXTURE3D: Defines.push_back( Macro( "USE_TYPED_TEXTURE3D", "1" ) ); break; default: assert( false ); } break; default: assert( false ); } switch( m_UAVAccessMethod ) { case UAV_ACCESS_STORE: Defines.push_back( Macro( "OP_STORE", "1" ) ); break; case UAV_ACCESS_ATOMIC_AND: ...
C++
ionParams { transaction_id: None, return_error: None, description: None, } } } <reponame>cvng/prisma-engines use super::{super::helpers::*, AttributeValidator}; use crate::ast::Span; use crate::diagnostics::DatamodelError; use crate::{ast, dml, Datamodel, WithDatabaseNa...
Rust
position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 0; } .bg-overlay--blue { background: rgba(49, 89, 253, 0.9); } .bg-c1 { background: #00ad5f; } .bg-c2 { background: #fa4251; } .bg-c3 { background: #ff8300; } .bg-flat-color-1 { background: #20a8d8; } ...
CSS
/* $Id: Correction.h,v 1.1 2007/09/22 21:08:21 dixon Exp $ */ struct correction_d { char correction_des[4]; /* Correction descriptor identifier: ASCII */ /* characters "CFAC" stand for Volume */ /* Descriptor. */ si32 correction_des_length; /*Correction descriptor length in bytes. */ fl32 azimut...
C
} private fun init() { this.progressTip.setOnSeekBarChangeListener(object : SeekBar.OnSeekBarChangeListener { override fun onProgressChanged(seekBar: SeekBar?, p1: Int, p2: Boolean) { if(this@MainActivity.textValue.text.toString() != this@MainActivity.val...
Kotlin
c9a0, U+2c9c4, U+2c9ef, U+2c9f4, U+2ca28, U+2cafa, U+2cba6, U+2ccef, U+2ce33, U+2ce9e, U+2cf48, U+2d016, U+2d079, U+2d085, U+2d0c2, U+2d138, U+2d19e, U+2d1a4, U+2d2e6, U+2d39e, U+2d467, U+2d4e3, U+2d503, U+2d544, U+2d627, U+2d63b, U+2d8c4, U+2d8f3, U+2da4a, U+2db4b, U+2db5a, U+2db80, U+2dc14, U+2ddd3, U+2de40, U+2de9b-...
CSS
$var2: hello; str: "#{$var1}" == '#{$var2}'; str: xhello#{$var1}x == "x#{$var2}hellox"; // xhellohellofalse str: unit(10px) == px; } #special { cancel-unit: (10px / 10px); } // not expecting unary $form-spacing: 1em; .row .a { margin: 0-$form-spacing / 2; } .row .b { margin: 0- $form-spacing / ...
CSS
e_PVPPriest_C_02 - Yellow", [69090] = "Art Template Cloth Hand - Robe_PVPPriest_C_02 - Yellow", [69091] = "Art Template Cloth Head - Robe_PVPPriest_C_02 - Yellow", [69092] = "Art Template Cloth Legs - Robe_PVPPriest_C_02 - Yellow", [69093] = "Art Template Cloth Robe - Robe_PVPPriest_C_02 - Yellow", [69094] = "Art Templ...
Lua
754 185.507246 44.521739v207.768116c0 25.228986 19.292754 44.521739 44.52174 44.521739zM937.924638 510.515942c-17.808696-57.878261-97.947826-89.043478-253.773913-96.463768-46.005797-142.469565-99.431884-207.768116-163.246377-207.768116-62.330435 0-118.724638 65.298551-176.602899 204.8-157.310145 5.936232-240.417391 35....
JavaScript
//messageRecord[0] - is reserved for FormatString value /* messageRecord[2] unconditionally contains the string to display Examples: messageRecord[0] "Action 23:14:50: [1]....
C#
c1 $f18, 0x0028($s0) ## 00000028 /* 00F4C 809AEE6C 0C26B89C */ jal func_809AE270 /* 00F50 809AEE70 8FA50034 */ lw $a1, 0x0034($sp) /* 00F54 809AEE74 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000 /* 00F58 809AEE78 0C00B6DB */ jal func_8002DB6C ...
Assembly
local_location="TMP2", remote_location="sales/B.avro", folder_id="root" ), mock.call().upload_file( local_location="TMP3", remote_location="sales/C.avro", folder_id="root" ), ] ) @mock.patch(MODULE + ".GCSHoo...
Python
建议(如中空、壁厚调整)成功降低成本。 3. **优惠活动推广:** 突出 `“50-70% Lower than US and EU suppliers”` 和 `“NO MOQ”` 这两大核心优势。可以制作对比图表,一目了然。 #### **内容主题二:【打印专家说】系列 - 解决技术难题** - **目标:** 塑造 Unionfab 的专家形象,建立技术信任。 - **内容创意:** 1. **“翻车”到“成功”对比帖:** 展示一个常见的设计错误(如壁厚太薄)导致的打印失败品,和经过优化后的成功打印件。形式可以是图片轮播或短视频。 2. **技术小贴士 (Pro-Tip):** 《打印大尺寸模型?何时...
Markdown
: 10px; width: 10px; } .x-ie-shadow { display: none; position: absolute; overflow: hidden; left:0; top:0; zoom:1; } .x-shadow { display: none; position: absolute; overflow: hidden; left:0; top:0; } .x-shadow * { overflow: hidden; } .x-shadow * { padding: 0; ...
CSS