content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
build-systems
// parse the ouptut of dsymutil -s), thus they shouldn't be changed.
struct DarwinStabName {
uint8_t NType;
const char *Name;
};
static const struct DarwinStabName DarwinStabNames[] = {
{MachO::N_GSYM, "N_GSYM"}, {MachO::N_FNAME, "N_FNAME"},
{MachO::N_FUN, "N_FUN"}, {MachO::N_STSYM, ... | C++ |
be found in the LICENSE file.
@Unstable()
@Native("SVGTextPathElement")
class TextPathElement extends TextContentElement implements UriReference {
// To suppress missing implicit constructor warnings.
factory TextPathElement._() {
throw new UnsupportedError("Not supported");
}
static const int TEXTPATH_ME... | Dart |
否在买入本公司股票?公司是否回购自己的股票?二者都是有利的信号。
·迄今为止公司收益增长的历史情况,公司收益增长时断时续还是持续稳定增长(只有隐蔽资产型公司股票可以说收益情况并不怎么重要)。
·这家公司的资产负债情况是好是坏(负债与股东权益比率),公司财务实力评级情况如何。
·现金头寸。福特汽车公司每股净现金为16美元,因此我知道这家公司的股票不可能会跌到每股16美元以下。每股净现金是公司股票价格的底部下限。 c:828
### 15.2 本部分要点
一定要耐心。水越等越不开,股票越急越不涨。 c:443
### 第三部分 长期投资
怎样构造一个投资组合使业绩最大化而风险最小化;何时应该买入及何时应该卖出;市场崩溃时应该怎么... | Markdown |
th='16' viewBox='0 0 24 24'%3e %3cg class='jp-icon3' fill='%23616161'%3e%3ccircle cx='12' cy='19' r='2'/%3e%3cpath d='M10 3h4v12h-4z'/%3e%3c/g%3e %3cpath fill='none' d='M0 0h24v24H0z'/%3e %3c/svg%3e"},73746:e=>{"use strict";e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' viewBox='0 0 ... | JavaScript |
_ERATTR0_ERAID_SHIFT;
dev_err(ctrl->dev, "AXI ID of the error transaction 0x%08X\n",
err_axiid);
err_srcid = (status & IFC_CM_ERATTR0_ESRCID) >>
IFC_CM_ERATTR0_ESRCID_SHIFT;
dev_err(ctrl->dev, "SRC ID of the error transaction 0x%08X\n",
err_srcid);
dev_err(ctrl->dev, "Transaction Address correspond... | C |
sponse from nuget.org2.");
let registrations_base_url = index
.resources
.into_iter()
.find(|res| res.r#type == "RegistrationsBaseUrl")
.expect("Unable to find nuget.org query endpoint.")
.url;
let package_info = client
.get(format!(
"{}runtime.{}.mic... | Rust |
ibrary
no_workbench
move.l _XpkBase(a5),a1 ferme la xpkmaster.library
CALL CloseLibrary
no_xpk
move.l _GadToolsBase(a5),a1 ferme la gadtools.library
CALL CloseLibrary
no_gadtools
move.l _IntuitionBase(a5),a1 ferme la intuition.library
CALL CloseLibrary
no_intuition
move.l _GfxBase(a5),a1 ferme la graphics.... | Assembly |
self.encoding_thread = EncodingThread(
ordered_input, output_file, self.encoding_options,
use_frame_based_trim=True, # 프레임 기반 트림 사용
debug_mode=get_debug_mode(), # 디버그 모드 전달
global_trim_start=global_trim_start, # 전역 트림 시작 값
global_tr... | Python |
,.04);color:rgba(255,255,255,.87)}body .ui-selectonemenu-panel .ui-selectonemenu-items .ui-selectonemenu-item.ui-state-highlight{background:rgba(159,168,218,.16);color:#9fa8da;overflow:auto}body .ui-selectonemenu-panel .ui-selectonemenu-items .ui-selectonemenu-item-group{background:rgba(0,0,0,0);margin:0;padding:.75rem... | CSS |
r='4.5' style='opacity:.3;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff;enable-background:new'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff;enable-background:new'/%3E%3Cpath class='st0' d='M178 9.4c0 .4-.4.7-.9.7-.1 0-.2 0-.2-.1L... | CSS |
1 do
a[i] = T.newuserdata(0)
debug.setmetatable(a[i], { __gc = F })
na[i] = T.udataval(a[i])
end
cl = {}
a = nil; collectgarbage()
assert(table.getn(cl) == 30)
for i = 1, 30 do assert(cl[i] == na[i]) end
na = nil
for i = 2, Lim, 2 do -- unlock the other half
T.unref(Arr[i])
end
x = T.newuserdata(41); debug.setmet... | Lua |
80+_off_dz,%pc),%d0
pea.l (_060FPSP_TABLE-0x80,%pc,%d0)
mov.l 0x4(%sp),%d0
rtd &0x4
global _real_fline
_real_fline:
mov.l %d0,-(%sp)
mov.l (_060FPSP_TABLE-0x80+_off_fline,%pc),%d0
pea.l (_060FPSP_TABLE-0x80,%pc,%d0)
mov.l 0x4(%sp),%d0
rtd &0x4
global _real_fpu_disabled
_real_fpu_disabled:
mov.l ... | Assembly |
rue,
Weight: 15,
Zone: "mumbai",
Metadata: map[string]string{
"cuisine": "south-indian",
"capacity": "150",
},
},
{
ID: "rest-delhi-001",
URL: mustParseURL("http://localhost:8083"),
IsHealthy: true,
Weight: 12,
Zone: "delhi",
Metadata: map[string]s... | Go |
Viaduct, London, Greater London, EC12 2BN, United Kingdom",
FirstName = "John",
LastName = "Doe"
};
var result = await commandHandler.Handle(sampleCommand);
result.Success.Should().BeTrue();
}
[Fact]
public async Task ParseEmptyAddressEvent_ShouldRetur... | C# |
format follows hh:mm",
"inbound_departure_time (time)": "departure time of the flight coming back from the trip, the format follows hh:mm",
"price (float)": "the total cost of the flight tickets",
"airlines (str)": "the company that provides air tr... | Python |
*/ \
"c"((ARG2)) /* %ecx */ \
: "memory" \
); \
eax; \
})
#define __do_syscall3(NUM, ARG1, ARG2, ARG3) ({ \
intptr_t eax; \
\
__asm__ volatile( \
"int $0x80" \
: "=a" (eax) /* %eax */ \
: "a"(NUM), /* %eax */ \
"b"((ARG1)), /* %ebx */ \
"c"((ARG2)), /* %ecx */ \
"d"((... | C |
esp,12
//.. popad
//.. cld
//..
jmp pop_free // pop stack and go home
ALIGN
special_64:
xor %eax,%eax
cltd
cmpb special,tag1(%ebp) // is operand tagged special?
je pointer_64 // yes, load memop ptr and exit
orb invalid_mask,%gs:sr_errors// no, set invalid error
mov $0x080000000,%edx // load inv constant... | Assembly |
1 = 3
BLOCK0 = 4
BLOCK1 = 5
TFCTX0 = 6
TFCTX1 = 7
.global ubi1024_nextBlock
ubi1024_nextBlock:
stack_alloc_large 20*8
push_range 2, 7
adiw r30, 1 /* Z points to tfctx */
movw TFCTX0, r30
movw CTX0, r24
movw BLOCK0, r22
movw r26, r24
/* add BLOCKSIZE_B (128) to tweak */
ldi r25, 128
ld r24, X
add r24, r25
... | Assembly |
rt.next)
}
```
那么这段代码是用来干嘛的呢?首先,`main` 函数 - 创建一个指向 `Feed` 结构的指针,两个 `Post` 结构包含一些虚构的内容,它两次调用 `Feed` 上的 `Append` 函数,使得它的长度为 2 。我们检查 `Feed` 的两个值,它访问 `Feed` (实际上是 `Post` )的 `start` 和 `start` 后的 `next` 项,这是第二个 `Post` 。
当我们运行程序时,输出将会是:
```
Length: 1
First: &{Lorem ipsum 1257894000 <nil>}
Length: 2
First: &{Lorem ipsum 125... | Markdown |
(a0)+,ramboot ; von RAM-Disk booten?
moveq #4,d0 ; hchstens vier Bytes
moveq #0,d1 ; Register lschen (Gre)
clr d2 ; (Byteinhalt)
lea.l zahlstr(pc),a1 ; Ausgabe-String
eingloop:
move.b (a0),d2 ; Byte auslesen
cmpi.b #... | Assembly |
r r2, .L645+4
ldr r1, .L645+8
bl dprint_vfmw
ldrb r3, [r6] @ zero_extendqisi2
cmp r3, #1
beq .L635
.L618:
cmp r4, #0
beq .L642
mov r3, r5, asl #6
ldr r2, .L645+12
sub r3, r3, r5, asl #3
mov r1, #1
add r3, r2, r3
str r1, [r4, #4]
mov r0, r4
ldr r3, [r3, #8]
strb r1, [r4, #2]
strb r5, [r4]
str r3, [r4, ... | Assembly |
in keyof Helpers1<never>]: {
<f extends G.Generic1>(foldable: Foldable1_1<f>): Helpers1<f>[k];
<f extends G.Generic2>(foldable: Foldable1_2<f>): Helpers2<f>[k];
};
};
type PartialHelper<keys extends keyof Foldable1_1<never> & keyof Foldable1_2<never>> = {
[k in keyof Helpers1<never>]: {
<f extends G.Ge... | Typescript |
PhotosFavorite } from '../utils/firebase';
interface RETURNVALUE {
photos: responcePhotoDataWithUserInfo[] | null;
}
const usePhotosFavorite = (user: responceUserData): RETURNVALUE => {
const [photos, setPhotos] = useState<responcePhotoDataWithUserInfo[] | null>(null);
const loggedInUserPhotos = useSelector(sel... | Typescript |
2, #4]
ldrb r4, [r2, #1]
movs r5, #1
mov.w sb, #-1
cmp r0, #8
bhs jump_7dae
tbb [pc, r0]
.byte 0x4
.byte 0xc
.byte 0x16
.byte 0x1e
.byte 0x38
.byte 0x3f
.byte 0x28
.byte 0x2e
switch_7d2a:
cbz r1, jump_7d32
strb.w sb, [r2, #3]
b jump_7d3e
jump_7d32:
lsls.w r0, r8, #0x18
bmi ... | Assembly |
--- JSON exporter for screw.nvim
---
--- This module exports notes to JSON format.
---
local utils = require("screw.utils")
local M = {}
--- Export notes to JSON format
---@param notes ScrewNote[]
---@param options ScrewExportOptions
---@return string?
function M.export(notes, options)
-- Prepare export data
loc... | Lua |
} else {
// Fallback: Call the authenticated API
val comicId = responseBody.substringAfter("comic = {id:\"", "").substringBefore("\"", "")
val chapterNumber = chapter.url.substringAfterLast("chuong-")
val nameEn = chapter.url.substringAfter("/truyen/").substringBe... | Kotlin |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
//
List<VnRelation> get _arrangedRelations {
final List<VnRelation> lowPriorityRelations = [];
final List<VnRelation> highPriorityRelations = [];
for (VnRelation ... | Dart |
Round the mapped number.
* var bx = round(map(mouseX, 0, 100, 0,5));
* var by = 33;
*
* // Multiply the mapped numbers by 20 to more easily
* // see the changes.
* stroke(0);
* fill(0);
* line(0, ay, ax * 20, ay);
* line(0, by, bx * 20, by);
*
* // Reformat the float returned by map and dr... | JavaScript |
uts, losses)
self.val()
self.step += 1
def process_batch(self, inputs):
"""Pass a minibatch through the network and generate images and losses
"""
for key, ipt in inputs.items():
inputs[key] = ipt.to(self.device)
# inputs.len() = 33
... | Python |
si
pextrq $0x0, % xmm12, % rsi
# qhasm: mem64[ input_0 + 400 ] = buf
# asm 1: movq <buf=int64#2,400(<input_0=int64#1)
# asm 2: movq <buf=%rsi,400(<input_0=%rdi)
movq % rsi, 400( % rdi)
# qhasm: buf = r7[0]
# asm 1: pextrq $0x0,<r7=reg128#7,>buf=int64#2
# asm 2: pextrq $0x0,<r7=%xmm6,>buf=%rsi
pextrq $0x0, % xmm... | Assembly |
l.add(e.getKey());
}
}
return l;
}
public List<List<Integer>> subsetsWithDup2(int[] nums) {
Arrays.sort(nums);
Set<List<Integer>> res = new HashSet<>();
List<Integer> each = new ArrayList<>();
helper2(0, nums, each, res);
ret... | Java |
342968,94.8976293 95.6351697,94.6054273 C97.7329475,92.5076496 98.7744412,89.7539166 98.7615739,87.0043809 C98.7746414,84.2544453 97.7331475,81.5009123 95.6353697,79.4031346 Z" id="路径"></path></g></svg>';}.amis-scope .dark-Collapse-arrow-wrap{width:1rem;height:1rem;display:inline-flex;justify-content:center;align-items... | CSS |
map::get);
assertTrue(layer.findLoader("m1x") == MyDiffClassLoader.loader1);
assertTrue(layer.findLoader("m2x") == MyDiffClassLoader.loader2);
assertTrue(layer.findLoader("m3x") == MyDiffClassLoader.loader2);
assertTrue(layer.findLoader("java.base") == null);
// now use the sa... | Java |
def assign(gen: TautomerGenerator) -> TautomerGenerator: pass
objectID = property(getObjectID)
clearCoordinates2D = property(coordinates2DCleared, clearCoordinates2D)
clearCoordinates3D = property(coordinates3DCleared, clearCoordinates3D)
callbackFunction = property(getCallbackFunction, setCallbackF... | Python |
/*
* Copyright (c) 2011-2014, 2016, 2018-2019 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all
* copies.
*
*... | C |
Node("v-if", true),
_ctx.$slots.default ? (openBlock(), createElementBlock("span", {
key: 2,
class: normalizeClass({ [unref(ns).em("text", "expand")]: unref(shouldAddSpace) })
}, [
renderSlot(_ctx.$slots, "default")
], 2)) : createCommentVNode("v-if", tr... | JavaScript |
til.RelativeMatrix(legs[leg].toe,gameObject.transform);
Vector3 toePosition = toeMatrix.MultiplyPoint(Vector3.zero);
Vector3 toetipPosition = toePosition;
toetipPosition.y = groundPlaneHeight;
// Calculate foot middle and vector
Vector3 footMiddle = (heelPosition + toetipPosition)/2;
Vector3 footVector;
... | C# |
10 v2004, Windows 11, Windows 10 v20H2
request_power_control = 0x3, // Windows 10 v2004, Windows 11, Windows 10 v20H2
device_idle = 0x4, // Windows 10 v2004, Windows 11, Windows 10 v20H2
complete_idle_state = 0x5, // Window... | C++ |
"),
Messages.getString("message.job.129"));
}
}
});
this.m_viewer = new CommonTableViewer(table);
this.m_viewer.createTableColumn(GetCommandParameterTableDefine.get(),
GetCommandParameterTableDefine.SORT_COLUMN_INDEX,
GetCommandParameterTableDefine.SORT_ORDER);
this.m_viewer.addDoubl... | Java |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file gpio.c
* @brief This file provides code for the configuration
* of all used GPIO pins.
******************************************************************************
* @atten... | C |
\u9635\u4ea1", "url": "http://news.cnwest.com/content/2014-08/23/content_11529530.htm", "text": "\u63ed\u79d8\u4f0a\u62c9\u514b\u201c\u5e93\u5c14\u5fb7\u5a18\u5b50\u519b\u201d\u66fe\u5bf9\u6297\u8428\u8fbe\u59c618\u5e74\u96f6\u9635\u4ea1", "source": "\u897f\u90e8\u7f51", "time": "2014-08-23 18:51"}, {"weight": 0.395570... | JavaScript |
= SyntaxNodeAnalyzerFactory.Create(argumentSyntax.Parent);
if (parentOfArgumentSyntaxAnalyzer.CanIgnore(model, argumentSyntax.Parent))
{
return true;
}
}
return base.CanIgnore(model, syntax);
}
public override... | C# |
(|_| rng.gen_range(0..self.nsamples()))
.collect::<Vec<_>>();
let records = self.records().select(Axis(0), &indices);
let targets = T::new_targets(self.as_multi_targets().select(Axis(0), &indices));
DatasetBase::new(records, targets)
})
}
/// Apply ... | Rust |
from discord.ext import commands
class Chat(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.Cog.listener()
async def on_message(self, message):
cnf = self.bot.global_settings_dict['textCommands']
if message.author.id in [self.bot.user.id, 1209017744696279041... | Python |
() && srcTypeUvec2;
if (bindlessTexture || bindlessImage) {
// 64 bit handle is stored in uvec2, we need to convert texHandle to uint64 at first
Value *imgDescGpuAddress = getBuilder()->CreateBitCast(src, getBuilder()->getInt64Ty());
return transLoadBindlessImage(dstSpvType, imgDescGpuAddress, bindlessTe... | C++ |
// <copyright file="Adler32.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009-2013 Math.NET
//
// Permission is hereby granted, free of charge, to any... | C# |
= Types.DeleteFilesResponse
export type EntityKey = Types.EntityKey
export type FinalizeFileUploadsRequest = Types.FinalizeFileUploadsRequest
export type FinalizeFileUploadsResponse = Types.FinalizeFileUploadsResponse
export type GetFileMetadata = Types.GetFileMetadata
export type GetFilesRequest = Types.GetFilesReque... | Lua |
-expr";
import {OperatorNodeUtil} from "../../ast";
import {OperatorType} from "../../operator-type";
import {ExprUtil} from "../../expr";
import {BaseType} from "../../type-util";
/**
* Behaves like an `if-else` statement from most programming languages.
*
* + https://dev.mysql.com/doc/refman/8.0/en/control-flow-f... | Typescript |
/******************************************************************************
* Copyright 2019 The Apollo Authors. All Rights Reserved.
*
* 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
... | C |
e.g: PR1(D_PTR:24)
...
PR1(D_U32)
...
TODO: Generate new PR instead of change the ty.
*/
IR_dt(res) = getType(lir);
ASSERT0(res->get_type());
VAR * v = addStaticVar(LIR_op0(lir), getType(lir));
set_map_v2ofst(v, LIR_op0(lir));
IR * c = m_ru->buildStore(v, res);... | C++ |
Token': accessToken,
'tokenType': tokenType,
'refreshToken': refreshToken,
'expiresAt': expiresAt?.toIso8601String(),
'issuedAt': issuedAt?.toIso8601String(),
'userId': userId,
};
}
factory AuthToken.fromJson(Map<String, dynamic> json) {
return AuthToken(
accessToken: js... | Dart |
cts 2,3,4
epochBLSData.VerificationSubmissions[1].DealerValidity = []bool{true, true, false, false, false}
// Participant 3: approves dealers 0,2,3; rejects 1,4
epochBLSData.VerificationSubmissions[2].DealerValidity = []bool{true, false, true, true, false}
validDealers, err := k.DetermineValidDealersWithConsensus(... | Go |
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "base_anim"
ENT.RenderGroup = RENDERGROUP_OPAQUE
ENT.Model = "models/weapons/bus_summoner_marker.mdl"
ENT.RemoveDelay = 0.5
function ENT:SetupDataTables()
self:NetworkVar("Float", 0, "Progress")
self:NetworkVar("Float", 1, "Speed")
self:NetworkVar("Int", 0, "NumPlay... | Lua |
model.Compile("SO17040488", "SO17040488.dll");
PEVerify.AssertValid("SO17040488.dll");
}
private void Execute(TypeModel model, string caption)
{
var args = new[] {
new ProtoObjectDTO { Order = 1, Value = new Foo { A = 123 }},
new P... | C# |
rquivo Compactado: 0 bytes")
compressed_label.pack(side="left", padx=5)
text_area_frame = ttk.LabelFrame(root, text="Conteúdo do Arquivo")
text_area_frame.pack(fill="both", expand=True, padx=10, pady=10)
text_area = tk.Text(text_area_frame, wrap=tk.WORD, font=("Consolas", 12))
text_area.pack(side="left", fill="both",... | Python |
var i = 0; i < lyrics.length; i++) {
var element = lyrics[i];
var lineHeight = drawLine(i, drawOffset, canvas, element);
var nextOffset = drawOffset + lineHeight;
if (centerY > drawOffset && centerY < nextOffset) {
if (i != centerLyricIndex) {
centerLyricIndex = i;
Ly... | Dart |
*/
RENDER_MODE_FIT = 2,
/** **DEPRECATED** 3: This mode is deprecated.
*/
RENDER_MODE_ADAPTIVE = 3,
/**
4: The fill mode. In this mode, the SDK stretches or zooms the video to fill the display window.
*/
RENDER_MODE_FILL = 4,
}
/** Video mirror modes. */
#[derive(FromPrimitive)]
pub e... | Rust |
Functions ()
{
}
ErrorF ()
{
}
/***====================================================================***/
main (argc, argv)
int argc;
char **argv;
{
int i;
BitmapRegisterFontFileFunctions ();
if (argc == 1)
{
if (!DoDirectory("."))
{
fprintf (stderr, "%s: failed to create directory ... | C |
ypeChooserIfNeeded(
String peerPlatform,
OverlayDialogManager dialogManager,
) async {
final localPlatform = getLocalPlatformForKBLayoutType(peerPlatform);
if (localPlatform == '') {
return;
}
KBLayoutType.value = bind.getLocalKbLayoutType();
if (KBLayoutType.value == _kKBLayoutTypeISO ||
KBLayo... | Dart |
1890: !_LD [5] (FP)
ld [%i1 + 76], %f9
! 1 addresses covered
P1891: !_CAS [10] (maybe <- 0x80007d) (Int)
add %i2, 32, %l6
lduw [%l6], %o5
mov %o5, %l3
! move %l3(lower) -> %o3(lower)
or %l3, %o3, %o3
mov %l4, %o4
cas [%l6], %l3, %o4
! move %o4(lower) -> %o4(upper)
sllx %o4, 32, %o4
add %l4, 1, %l4
P1892: !_LD [13] ... | Assembly |
9 148
CALL R55 4 1
SETTABLEKS R55 R54 K315 ["PreviewContainerSize"]
GETTABLEKS R55 R4 K115 ["ForegroundMain"]
SETTABLEKS R55 R54 K111 ["BackgroundColor"]
GETIMPORT R55 K145 [Color3.fromRGB]
LOADN R56 0
LOADN R57 0
LOADN R58 0
CALL R55 3 1
SETTABLEKS R55 R54 K316 ["PlaybackContainerBorderColor"]
DU... | Assembly |
failedFiles.forEach(file => {
console.log(`- ${path.basename(file.input)}: ${file.error}`);
});
}
} catch (error) {
console.error('Error batch enhancing audio:', error.message);
}
}
// Example 3: Audio enhancement with codec conversion
async function enhanceAndConvertAudio() {
const ... | JavaScript |
.features.mining.fossilexcavator
import at.hannibal2.skyhanni.api.event.HandleEvent
import at.hannibal2.skyhanni.data.IslandType
import at.hannibal2.skyhanni.events.InventoryCloseEvent
import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent
import at.hannibal2.skyhanni.events.InventoryUpdatedEvent
import at.hann... | Kotlin |
)
(0 YOUR 0 = EARLIER YOU SAID YOUR 3)
(0 YOUR 0 = BUT YOUR 3)
(0 YOUR 0 = DOES THAT HAVE ANYTHING TO DO WITH THE FACT THAT YOUR 3))
```
Cosell's MEMORY script is
```text
[RPLQQ MY MEMR
(((YOUR 2 0)
(NIL)
(LETS DISCUSS FURTHER WHY YOUR 2 3 %.)
(EARLIER YOU SAID ... | Markdown |
/*++
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.
Module Name:
HalfGemmKernelNeon.s
Abstract:
This module implements the kernels for the half precision matrix/matrix
multiply operation (HALF GEMM).
--*/
#include "asmmacro.h"
//
// Stack frame layout for ... | Assembly |
next(promise);
}
}
p.then(go, go);
}
next(promise);
});
}
/**
* @template V
* @param {() => V} fn
* @returns {Derived<V>}
*/
/*#__NO_SIDE_EFFECTS__*/
function user_derived(fn) {
const d = derived(fn);
push_reaction_value(d);
return d;
}
/**
* @template V
* @para... | JavaScript |
_tf)
{
if(publish_relative_range)
{
for (size_t i = 0; i < nodesId.size(); ++i)
{
auto pose = robots.at(nodesId[i]).current_pose();
pose.header.frame_id = frame_source;
tf::poseMsgToTF(pose.pose, transform);
... | C++ |
l, float3 angVel, float3 point)
{
float3 angularVelocity = math.rotate(worldFromMotion, angVel);
float3 linearVelocity = math.cross(angularVelocity, point - worldFromMotion.pos);
return linVel + linearVelocity;
}
}
// Wraps a pointer to CollisionEventData.
... | C# |
tatus(hostname string) bool {
for _, val := range rw.instance.Status.NodeStatus {
if val.Hostname == hostname {
return true
}
}
return false
}
func (rw *routeWrapper) removeFromStatus(hostname string) (existed bool) {
// Update the status if necessary
statusArr := []staticroutev1.StaticRouteNodeStatus{}
... | Go |
context, method, null);
if (handle instanceof ExtendedItemHandle) {
ExtendedItemHandle exHandle = (ExtendedItemHandle) handle;
List mtds = exHandle.getMethods(method);
// TODO implement better function-wise code assistant.
if (mtds != null && mtds.size() > 0) {
for (int i = 0; i < mtds.size(); i+... | Java |
e5; text-shadow: none; color: #999999;}.page-form { -webkit-border-radius: 5px !important; -moz-border-radius: 5px !important; border-radius: 5px !important;}.page-form .header-content { -webkit-border-radius: 5px !important; -moz-border-radius: 5px !important; border-radius: 5px !important;}.media img.media-ob... | CSS |
using System;
using System.IO;
using System.Linq;
using LibGit2Sharp.Tests.TestHelpers;
using Xunit;
namespace LibGit2Sharp.Tests
{
public class SubmoduleFixture : BaseFixture
{
[Fact]
public void RetrievingSubmoduleForNormalDirectoryReturnsNull()
{
var path = SandboxSubmod... | C# |
});
}
private _getPopLeftTop(direction: DialogDirection, width: number, height: number, x: number, y: number, boxWidth: number, boxHeight: number): [number, number] {
let space = 30; // 空隙
switch (direction) {
case DialogDirection.rightTop:
case DialogDirection.right:
... | Typescript |
mikey
2270 starschool
2271 mmcals
2272 mmcal
2273 mysql-im
2274 pcttunnell
2275 ibridge-data
2276 ibridge-mgmt
2277 bluectrlproxy
2278 s3db
2279 xmquery
2280 lnvpoller
2281 lnvconsole
2282 lnvalarm
2283 lnvstatus
2284 lnvmaps
2285 lnvmailmon
2286 nas-metering
2287 dna
2288 netml
2289 dict-lookup
2290 sonus-logging
229... | Go |
('action.DELETE'), value: cmd, selected: false));
}
rows.add(row);
});
}
}
rows.sort((TableRowElement a, TableRowElement b) {
int order = compare(a.cells[2].text, b.cells[2].text);
if (order != 0) {
return order;
}
return compare(a.cells[0].text,... | Dart |
se;
}
const SkMatrix& vm = context->getMatrix();
// we can draw circles
if (SkScalarNearlyEqual(oval.width(), oval.height())
&& circle_stays_circle(vm)) {
this->drawCircle(target, useCoverageAA, oval, stroke);
// if we have shader derivative support, render as device-independent
... | C++ |
ta());
assertEquals(3, status.getPINRetryCount());
assertEquals(5, status.getPUKRetryCount());
} else {
assertEquals((byte) 0xff, status.getPINRetryCount());
assertEquals((byte) 0xff, status.getPUKRetryCount());
}
// Check that key path is valid
response = cmdSet.getStatus(Keyca... | Java |
zum, nepomyslí si: "Půlku jsem spálil na ohni, upekl jsem si chleba na uhlí, pekl jsem maso a nasytil se jím. To mám teď ze zbytku dělat ohavnost, před tímhle špalkem mám teď pokleknout?"</verse>
<verse number="20">Takový člověk se krmí popelem, oklamané srdce svádí jej. Nezachrání se, neřekne: "Nedržím v pravi... | JavaScript |
ring.h>
#include "hud.h"
#include "cl_util.h"
#include "camera.h"
#include "kbutton.h"
#include "cvardef.h"
#include "usercmd.h"
#include "const.h"
#include "camera.h"
#include "in_defs.h"
#include "vgui_TeamFortressViewport.h"
using namespace vgui;
void VGui_ViewportPaintBackground(int extents[4])
{
gEngfuncs.VGui_... | C++ |
https://www.prevision-meteo.ch/services/json/paris")
.then(res => res.json())
.then(data => upDateView(data));
////////////////////////////////////
// Helper functions
////////////////////////////////////
function upDateView(data) {
let imgURL = getIconUrl(data.current_condition);
document.getElementById("pi... | Typescript |
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid)
npcHandler:onCreatureAppear(cid)
end
function onCreatureDisappear(cid)
npcHandler:onCreatureDisappear(cid)
end
function onCreatureSay(cid, type, msg)
npc... | Lua |
(3)还有一种方式就是不断尝试。有时一字之差,对token生成概率的影响都可能是很大的,也可能毫无影响
**试是常用方法,确实有运气因素,所以门槛低、天花板高**
**高质量prompt核心要点:指令具体、信息丰富、尽量少歧义**
### (3) prompt的典型构成
不要固守模版。模版的价值是提醒我们别漏掉什么,而不是必须遵守模版才行
**角色:** 给AI定义一个最匹配任务的角色,比如:你是一位python编程大师 ... | Markdown |
�能。**
不间断电源供应 (UPS) 设备在保护数据中心、服务器机房和更小的网络基础设施中发挥着重要作用,负责保护电源不稳定或断电时的无缝运营。而施耐德旗下的 APC 是最热门的 UPS 品牌之一。其产品广泛部署在消费者和企业市场,包括政府、医疗、工业、IT和零售基础设施等。
本月初,施耐德电气公司发布安全通知,提醒客户注意如下三个缺陷:
- CVE-2023-29411:缺少对关键函数的认证,可导致攻击者更改管理员凭据并在 Java rmi 接口上执行任意代码(CVSS v3.1评分9.8,“严重”级别漏洞)。
- CVE-2023-29412:对大小写敏感性的处理不当,当通过 Java ... | Markdown |
FF80 800801B8 0F004010 */ beqz $v0, .Llevel_64_800801F8
/* 5AEFF84 800801BC 20000424 */ addiu $a0, $zero, 0x20
/* 5AEFF88 800801C0 0880033C */ lui $v1, %hi(g_Spyro + 0x78)
/* 5AEFF8C 800801C4 D08A638C */ lw $v1, %lo(g_Spyro + 0x78)($v1)
/* 5AEFF90 800801C8 00000000 */ nop
/* 5AEFF94 80080... | Assembly |
setRunCommandSyscallELTrue() {
runCommandSyscallELMu.Lock()
runCommandSyscallEL = true
runCommandSyscallELMu.Unlock()
}
func getRunCommandSyscallEL() bool {
runCommandSyscallELMu.Lock()
defer runCommandSyscallELMu.Unlock()
return runCommandSyscallEL
}
//go:build arm64
/*
* sys_enter_mkdir, sys_enter_readlink, ... | Go |
endif
ldreq r0, [r0]
streq r1, [r0]
b _0233FC90
_0233FA3C:
bl ov01_0232E94C
cmp r0, #0
bne _0233FC90
mov r0, #0x10
bl ov01_023310B8
mov r0, #3
b _0233FC94
_0233FA58:
bl ov01_0232E94C
cmp r0, #0
bne _0233FC90
bl ov07_0233CD30
ldr r0, _0233FC9C ; =ov07_02341B74
ldr r1, _0233FCC0 ; =0x00002001
ldr r0, [r0... | Assembly |
--[[
Input: A length-2 Table
Input[1]: Responses, batchSize x nChannels x iH x iW
Input[2]: Pairs (minW, minH), batchSize x nFeatures x 2
Output: Cropped responses, batchSize x (nFeatures x nChannels) x oH x oW
--]]
local Crop, parent = torch.class('nn.Crop', 'nn.Module')
function Crop:__init(iW, iH,... | Lua |
$f9,$f6,$f7
floor.w.d $f12,$f14
floor.w.s $f6,$f7
ceil.w.d $f12,$f14
ceil.w.s $f6,$f7
mul.d $f8,$f12,$f14
mul.s $f9,$f6, $f7
neg.d $f12,$f14
neg.s $f6,$f7
round.w.d $f12,$f14
round.w.s $f6,$f7
sqrt.d $f12,$f14
sqrt.s $f6,$f7
sub.d... | Assembly |
yker_female_a__region_habculum_03",
"loc_psyker_female_a__zone_transit_01",
"loc_psyker_female_a__zone_transit_02",
"loc_psyker_female_a__zone_transit_03",
},
sound_events_duration = {
3.069396,
6.564333,
3.171917,
6.015896,
3.499208,
5.151208,
},
sound_event_weights = {
0.1666667,... | Lua |
pingMap) {
t.Errorf("escape: buckets pointer is nil for n=%d buckets", count)
}
for i := 0; i < tt.n; i++ {
escapingMap[i] = i
}
if got := runtime.MapBucketsCount(escapingMap); got != tt.escape {
t.Errorf("escape n=%d want %d buckets, got %d", tt.n, tt.escape, got)
}
mapSink = escapingMap
... | Go |
tatistic()) {
statisticLink = LinkFactory.createLink("run.statistic", mainVC, this);
segmentView.addSegment(statisticLink, true);
}
if (secCallback.canEditStreams()) {
editLink = LinkFactory.createLink("run.edit.events", mainVC, this);
segmentView.addSegment(editLink, false);
}
// segmentView.setDon... | Java |
.columns.#{$size}-centered:last-child{
float: none;
}
// Fighting .column.<previous-size>-centered:last-child
.column.#{$size}-uncentered:last-child,
.columns.#{$size}-uncentered:last-child {
float: $default-float;
}
.column.#{$size}-uncentered.opposite,
.columns.#{$size}-uncentered.opposite ... | CSS |
p in container) {
minX = Math.min(minX, p.x)
maxX = Math.max(maxX, p.x)
minY = Math.min(minY, p.y)
maxY = Math.max(maxY, p.y)
}
return totalArea == (maxX - minX) * (maxY - minY)
}
private class Point(val x: Int, val y: Int) {
override fun ... | Kotlin |
currentTemplate != null && m_currentTemplate.GUID.Equals( templateData.GUID ) )
m_masterNodeCategory = idx;
}
}
public void SetTemplate( TemplateData newTemplate, bool writeDefaultData, bool fetchMasterNodeCategory )
{
ReleaseResources();
if( newTemplate == null || newTemplate.InputDataList == nul... | C# |
正在释放信号量 (如果持有)。")
if (downloadSemaphore.availablePermits < maxConcurrentDownloads) {
downloadSemaphore.release()
}
}
private fun handleTaskProcessorException(taskId: String, e: Exception) {
Timber.e(e, "任务处理器:获取信号量或为任务 $taskId 启动下载时发生错误")
if (downloadSemaphore.availa... | Kotlin |
mState: v,
refOnUpdate: y,
refView: E,
bSingleLine: s,
},
"color" in b.pm_schema.marks &&
c.createElement(za, {
colorMarkType: b.pm_schema.marks.color,
schema: ... | JavaScript |
ype
/// conversion for fixed-point depth buffers are performed in the same
/// fashion as for `glClearDepth`.
///
/// ## Errors
/// * `GL_INVALID_ENUM` is generated if `buffer` is not `GL_COLOR` or
/// `GL_DEPTH`.
pub unsafe fn ClearBufferfv(&self, buffer: Buffer, drawbuffer: GLint, value: *const GL... | Rust |
nk, inviteLink) => "Ei, eu gostaria de convidar você para a rede social Okuna.\n\nSe tiver iOS, primeiro, baixe o aplicativo TestFlight na App Store (${testFlightLink}) e, em seguida, baixe o aplicativo Okuna (${iosLink})\n\nSe tiver Android, faça o download na Play Store (${androidLink}).\n\nDepois, cole este link de ... | Dart |
}
/// @nodoc
mixin _$RemoteVersion {
String? get version; String? get hash;
/// Create a copy of RemoteVersion
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$RemoteVersionCopyWith<RemoteVersion> get copyWith =>... | Dart |
。” </p><p>“别动,”我说。“我不是开玩笑,杜克,你猜不出来吗?” </p><p>“哥儿们,别把那东西对着我。” </p><p>“我不是你的哥儿们,杜克。” </p><p>我非常憎恨他,也非常担心失去琼,迫不及待地想要扣动扳机,但是,我渴望看到杜克惊慌的样子,他应该知道到底是怎么回事。 </p><p>他咽了一口唾沫,皱皱眉,咧了咧嘴,露出一颗门牙,那颗门牙歪歪的,好像随时就要掉下来。他伸手摸了一下那颗牙,然后捋了捋稀疏的金发,黑眼睛紧盯着我。 </p><p>“好,罗伯特,这是怎么回事?” </p><p>“我要杀了你,杜克,你知道为什么吗?” </p><p>“你一定是在开玩笑,罗伯特,”他眼中显出困惑的神情,因为他渐渐明白,我... | Dart |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.