content
stringlengths
2
6.21k
label
stringclasses
16 values
hemes-for-Brackets-solarized-dark .cm-string-2 { color: #b58900; } .cm-s-Themes-for-Brackets-solarized-dark .cm-meta { color: #859900; } .cm-s-Themes-for-Brackets-solarized-dark .cm-error, .cm-s-Themes-for-Brackets-solarized-dark .cm-invalidchar { color: #586e75; border-bottom: 1px dotted #dc322f; } .cm...
CSS
/*############################################## wrtbox is a Swiss Army knife for WRTnode WRTnode's busybox This file is part of wrtbox. Author: 39514004@qq.com (huamanlou,alais name intel inside) This library is free software; under the terms of the GPL Noties: for /etc/init.d/dnsmasq restart when /etc/init...
C
* 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 writing, software * distribute...
Rust
x + "", out var radius)) || sprinklerDict.TryGetValue(__instance.Name, out radius)) { int.TryParse(radius, out __result); } } } [HarmonyPatch(typeof(Object), nameof(Object.canBePlacedHere))] public class Object_canBePlacedHere_Patch { public static bool Prefix(Object __instance, ref bool __re...
C#
Kind(length: number): CardSequenceKind { switch (length) { case 1: return CardSequenceKind.OneOfAKind; case 2: return CardSequenceKind.TwoOfAKind; case 3: return CardSequenceKind.ThreeOfAKind; case 4: return CardSequenceKind.FourOfAKind; default: return CardSequenceKi...
Typescript
.LBE1853: .LBB1854: .LBB1822: .LBB1801: .loc 3 354 0 vldr d8, [sp, #24] @, %sfp vldr d9, [sp, #32] @, %sfp .LBE1801: .LBE1822: .LBE1854: .LBB1855: .loc 3 126 0 vand q14, q13, q10 @ tmp2430, D.17921, D.17924 vand q12, q13, q1 @ tmp2431, D.17921, .LBE1855: .LBB1856: .LBB1823: .LBB1802: .loc 3 344 0 vldmia r1, {d6...
Assembly
lTitle()); buf += '<a name="' + slug + '"></a>' + '\n'; buf += title(suite.title) + '\n'; }); runner.on('suite end', function(suite){ --level; }); runner.on('pass', function(test){ var code = utils.clean(test.fn.toString()); buf += test.title + '.\n'; buf += '\n```js\n'; buf += cod...
JavaScript
* * 6. For the valid event that has a matching outbox event: * - Publish to original outbox topic * - Remove from MissingOutboxEvents table */ public async Task StartAsync(CancellationToken cancellationToken) { while (!cancellationToken.IsCancellationRequested && ...
C#
l_case_types, comment_references // ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: unnecessary_import, unnecessary_this, unused_import import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; i...
Dart
true, postTest: func(res *collection.QueryHasParentResponse) { s.Require().NotNil(res) s.Require().Equal(false, res.HasParent) }, }, "collection not found": { contractID: "deadbeef", tokenID: tokenID, valid: true, postTest: func(res *collection.QueryHasParentResponse) { s.R...
Go
nt_length(pnt2) < ZERO_EPS)) { gdiam_generate_orthonormal_base(pnt3, pnt1, pnt2); return; } if ((pnt_length(pnt1) < ZERO_EPS) && (pnt_length(pnt3) < ZERO_EPS)) { gdiam_generate_orthonormal_base(pnt2, pnt1, pnt3); return; } if ((pnt_length(pnt2) < ZERO_EPS) && (pnt_length(pnt3) < ZERO_EPS)) { ...
C++
commands for potential harm - **⚡ Fast Execution**: Background daemon for instant command processing ## 🏗️ Architecture ``` AI Terminal System ├── CLI (Command Line Interface) │ ├── Intelligent completion │ ├── Manual suggestion commands │ └── History browsing ├── Daemon (Background Service) │ ├── Socket-ba...
Markdown
let wasmAst = generateWasm(ast) // format it back as a string return stringify(wasmAst) } export default function compile(inputWat, filename, options = { transform: false, runtime: false, dump: false, text: false }) { function dump(e?) { let errors = e ? [...e.toString().match(/:(\d+)\:/g).map(x =>...
Typescript
ChildLanes; } function commitRoot(root) { const renderPriorityLevel = getCurrentPriorityLevel(); runWithPriority( ImmediateSchedulerPriority, commitRootImpl.bind(null, root, renderPriorityLevel), ); return null; } function commitRootImpl(root, renderPriorityLevel) { // https://zh-hans.reactjs.org/do...
JavaScript
/* * Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved. * * SPDX-License-Identifier: GPL-2.0+ */ .section .ivt, "a",@progbits .align 4 /* Critical system events */ .word _start /* 0x00 - Reset */ .word memory_error /* 0x01 - Memory Error */ .word instruction_error /* 0x02 - Instruction Error */ /* E...
Assembly
nge the path to fakePhoto.jpg // to point to an image file on your system. Call the ExtractMetaData // method when handling the form's Paint event, passing e as PaintEventArgs. //<snippet6> private void ExtractMetaData(PaintEventArgs e) { try { // Create an Image object...
C#
}).Parse(string(tmplsrc()))) } // types retrieves all a list of all available struct type specs in a file. func types(f *ast.File) []*ast.TypeSpec { s := make([]*ast.TypeSpec, 0) for _, decl := range f.Decls { if decl, ok := decl.(*ast.GenDecl); ok { for _, spec := range decl.Specs { if spec, ok := spec.(*...
Go
val background = if (apk.applicationId == current.applicationId) { AppColors.auxiliary } else { Color.Transparent } item(apk.name, modifier = Modifier.background(background)) { ...
Kotlin
alt3); color: var(--color-sf-content-text-color); } .e-filemanager .e-fe-clone .e-fe-count { background-color: var(--color-sf-primary); border-color: var(--color-sf-primary-text-color); color: var(--color-sf-primary-text-color); } .e-filemanager.e-fe-mobile .e-large-icons .e-large-icon.e-hover, .e-filemanager...
CSS
-- chunkname: @dialogues/generated/event_vo_survive_veteran_male_a.lua local event_vo_survive_veteran_male_a = { event_survive_almost_done = { randomize_indexes_n = 0, sound_events_n = 4, sound_events = { "loc_veteran_male_a__event_survive_almost_done_01", "loc_veteran_male_a__event_survive_almost_done_0...
Lua
1); /* For vectors, there are several simplifications that can be made if all elements of the vector constant are identical. */ scalar_op1 = unwrap_const_vec_duplicate (op1); if (INTEGRAL_MODE_P (mode)) { rtx fake_reg; HOST_WIDE_INT coeff; bool is_neg; int mode_bitsize; ...
C++
research, in which new species (NH4, NO3, Ca, CO3, Na, Cl) are introduced to the Aitken, accumulation and coarse modes. All aerosol species within each of the four individual modes the MAM4 is assumed to be internally mixed and represented by a single number concentration, while particles are externally mixed among th...
Markdown
if end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release...
Dart
/* * Routines to access hardware * * Copyright (c) 2014 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #ifndef SPI_EXT_H #define SPI_EXT_H #include "platform_autoconf.h" #if ...
C
n('message', (message) => { console.log( `[WebSocketClient] Received on ${this.url}:`, message.toString() ); this.messageQueue.push(message.toString()); console.debug( `[WebSocketClient] Message queue for ${this.url}:`, this.messageQueue );...
JavaScript
u_tasks_idle_cpu = -1, #endif #ifdef CONFIG_TASKS_TRACE_RCU .trc_reader_nesting = 0, .trc_reader_special.s = 0, .trc_holdout_list = LIST_HEAD_INIT(init_task.trc_holdout_list), .trc_blkd_node = LIST_HEAD_INIT(init_task.trc_blkd_node), #endif #ifdef CONFIG_CPUSETS .mems_allowed_seq = SEQCNT_SPINLOCK_ZERO(init_task.m...
C
rix & answer, MatResponseMode, GaussPoint * gp, TimeStep * tStep) const; /// returns local stiffness matrix in the cracks' direction (total according to the material mode) virtual void giveTotalLocalCrackedStiffnessMatrix...
C
/** * FreeRDP: A Remote Desktop Protocol Implementation * Certificate Handling * * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com> * * 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 L...
C
rt(); ``` About step details, See [Step](#Step) section. ### Remote URL approach You may also want to load the steps remotely. To do so simply provide the target `src` as one of the **Tourguide.js** init params: ``` var tourguide = new Tourguide({src: "https://somedomain.com/tours/guide.json"}); tourguide.start(); ...
Markdown
# IfcOpenShell - IFC toolkit and geometry engine # Copyright (C) 2021 Dion Moult <dion@thinkmoult.com> # # This file is part of IfcOpenShell. # # IfcOpenShell is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundat...
Python
"""Constants for the Venice AI Conversation integration.""" import logging DOMAIN = "venice_ai" LOGGER = logging.getLogger(__package__) CONF_RECOMMENDED = "recommended" CONF_PROMPT = "prompt" CONF_CHAT_MODEL = "chat_model" RECOMMENDED_CHAT_MODEL = "llama-3.3-70b" # Venice AI default model with function calling supp...
Python
], [10, 0], [20, 0], [20, 10], [30, 10], [30, 20], [20, 20], [20, 30], [10, 30], [10, 20], [5, 20] ]) ); t.end(); }); test('polygon contains bbox', (t) => { const result = clipPolygon( flatten([ [10, 40], [40, 10], [10, -20], ...
Typescript
矿洞", ["zhTW"] = "凋落礦坑", }, ["Bor's Breath River"] = { ["enUS"] = true, ["deDE"] = "Bors Atemstrom", ["esES"] = "Río del Aliento de Bor", ["esMX"] = "Río del Aliento de Bor", ["frFR"] = "Le Souffle de Bor", ["koKR"] = "보르의 숨결 강", ["ptBR"] = "Rio Val...
Lua
input = { hello: 'world' }; const expected = '{"hello":"world"}'; const actual = JSON.canonicalize(input); t.is(actual, expected); }); test('object with more than one property', t => { const input = { hello: 'world', number: 123 }; const expected = '{"hello":"world","number":123}'; const actual = JSON.cano...
JavaScript
") if execution_time < 100 then print(" Performance is acceptable (< 100ms)") else print(" Performance might be slow (> 100ms)") end else print("❌ Pattern execution performance test failed") end -- Test 12: Test pattern execution command validation print("📝 Testing pattern execution command validation...") ...
Lua
(g *genFeatureGatedPartialSchemas) Namers(c *gengogenerator.Context) namer.NameSystems { // Have the raw namer for this file track what it imports. return namer.NameSystems{ "raw": namer.NewRawNamer(g.targetPackage, g.imports), } } func (g *genFeatureGatedPartialSchemas) Filter(c *gengogenerator.Context, t *types...
Go
>cpu_diff()[j]) << "param " << i << " diff differed at dim " << j; } } // Check that history now matches. const vector<shared_ptr<Blob<Dtype> > >& history = solver_->history(); for (int i = 0; i < history.size(); ++i) { for (int j = 0; j < history[i]->count(); ++j) { EXP...
C++
/* Copyright 2007 nVidia, Inc. 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 agreed to in writing, software distr...
C
"}, {"333", "Розум", "Відкриває повну карту кожного поверху"}, {"334", "Тіло", "↑ {{Heart}} +3 повні Контейнери червоних сердець"}, {"335", "Душа", "{{SoulHeart}} +2 серця Душі#Навколо персонажа з'являється аура, що відштовхує ворогів та снаряди"}, {"336", "Гнила цибуля", "Пронизуючі спектральні сльози#↑ {{Range}} ...
Lua
(Graphics gfx, int line, int x, TokenMarkerState tokenMarker) { currentLineIndex = line; int y = textArea.lineToY(line); if (tokenMarker == null) { //paintPlainLine(gfx, line, defaultFont, defaultColor, x, y); paintPlainLine(gfx, line, x, y); } else if (line >= 0 ...
Java
/* $NetBSD: makecontext.c,v 1.7 2011/09/20 08:42:29 joerg Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Klaus Klein. * * Redistribution and use in source and binary forms, with or without * m...
C
messages = [ "gm", "goodmorning", "lock in" ]
Python
h.insert("VEX_Vpsrad_ymm_ymm_imm8", Code::VEX_Vpsrad_ymm_ymm_imm8); h.insert("EVEX_Vpsrad_xmm_k1z_xmmm128b32_imm8", Code::EVEX_Vpsrad_xmm_k1z_xmmm128b32_imm8); h.insert("EVEX_Vpsrad_ymm_k1z_ymmm256b32_imm8", Code::EVEX_Vpsrad_ymm_k1z_ymmm256b32_imm8); h.insert("EVEX_Vpsrad_zmm_k1z_zmmm512b32_imm8", Code::EVEX_Vps...
Rust
erated) add(kCGLPFAAllowOfflineRenderers) if (extra) { add(kCGLPFAColorSize); add(24) add(kCGLPFADepthSize); add(16) add(kCGLPFAStencilSize); add(8)...
Kotlin
reClgA== 8634 65Ok 8635 0YjQtQ== 8636 IGthbQ== 8637 0LrQsNC3 8638 bGF5 8639 SUdIVA== 8640 2KfYrQ== 8641 IGJsb29k 8642 TWFyaw== 8643 JHRoaXM= 8644 cmFtZQ== 8645 LndlYg== 8646 aWFuYQ== 8647 IDo6 8648 Lm1pbg== 8649 YXNvbnM= 8650 0YvQtw== 8651 aWph 8652 4KeN4Kas 8653 IEVycm9y 8654 IHZpZXdz 8655 IOmHjeW6huaXtuaXtuW9qQ== 865...
Kotlin
t safe version of [`Requester`]. trait ErasableRequester<'a> { /// Error type returned by all requests. type Err: std::error::Error + Send; fn get_updates(&self) -> ErasedRequest<'a, GetUpdates, Self::Err>; fn set_webhook(&self, url: Url) -> ErasedRequest<'a, SetWebhook, Self::Err>; fn delete_web...
Rust
otorTestUtility.SetupMotionVelocity(out MotionVelocity velocityA, out MotionVelocity velocityB); if (initAtTargetVelocity) velocityA.LinearVelocity = targetVelocity; MotorTestUtility.SetupMotionData(worldFromA, worldFromB, out MotionData motionA, out MotionData motionB); var jointFr...
C#
ForFiles(files, fts) expect = []fileInfoType{{"dir1/testfile103.txt", "testdir/"}} same = reflect.DeepEqual(res, expect) c.Assert(same, Equals, true) } func (s *OssutilCommandSuite) TestMakeFileChanFromArray(c *C) { files := []fileInfoType{{"dir1/my.rtf", "testdir/"}, {"dir1/testfile103.txt", "testdir/"}, {"testfi...
Go
#!/usr/bin/python3 # CVE-2024-51378 Remote Code Execution Exploit # Exploit found date: 10/23/2024 # Tested on: Ubuntu 20.04, CyberPanel v2.3.5, v2.3.6, v2.3.7 (before patch) # Author: Luka Petrovic (refr4g) import argparse import httpx import sys RED = "\033[91m" GREEN = "\033[92m" CYAN = "\033[96m" MAGENTA = "\033...
Python
/****************************************************************************** * Copyright 2017 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
public int Write(Span<byte> buffer, string nssKey) { BinaryPrimitives.WriteUInt32LittleEndian(buffer, BlockType); BinaryPrimitives.WriteInt32LittleEndian(buffer.Slice(4), BlockTotalLength); BinaryPrimitives.WriteUInt32LittleEndian(buffer.Slice(8), SecretsType); ...
C#
\nvar ka = 0.89081309152928522810,\n kr = Math.sin(pi / 10) / Math.sin(7 * pi / 10),\n kx = Math.sin(tau / 10) * kr,\n ky = -Math.cos(tau / 10) * kr;\n\nvar star = {\n draw: function(context, size) {\n var r = Math.sqrt(size * ka),\n x = kx * r,\n y = ky * r;\n context.moveTo(0, -r);\n ...
JavaScript
ventArgs e) { Random rnd = new Random(); IEnumerable<TiledModelItem> newItemQuery = Enumerable.Range(0, 100).Select(i => new TiledModelItem { Name = rnd.Next().ToString() }); this.tiledViewModel.AddRange(newItemQuery); } private void buttonAddThousandTileItems_Click(object sender, EventArgs e) { Ran...
C#
ARRAYSZ = 33 DT_LOOS = 0x6000000d DT_HIOS = 0x6ffff000 DT_LOPROC = 0x70000000 DT_HIPROC = 0x7fffffff DT_VERNEED = 0x6ffffffe DT_VERNEEDNUM = 0x6fffffff DT_VERSYM = 0x6ffffff0 DT_PPC64_GLINK = DT_LOPROC + 0 DT_PPC64_OPT ...
Go
p.next !== null) { p = p.next; } p.next = newNode; } } // 向指定位置插入 时间复杂度最好O(1) 最坏O(n) 平均复杂度O(n) insertToIndex(value: T, index: number): void { if (index === 0) { this.insertToHead(value); return; } let findNode = this.findByIndex(index - 1); if (!findNode) { ...
Typescript
.96f).random() p.rotation = (0f..PI2_F).random().radians p.rotationDelta = (0f..0.02f).random().asRandomSign p.life = (0.5f..1f).random().seconds p.onUpdate = { if (it.scaleX <= 0 || it.scaleY <= 0) { it.scale(0f) it...
Kotlin
Controller(wrapper, module); }); } } export interface SearchForm { city?: string; state?: string; country?: string; startDate?: Date; endDate?: Date; } export interface HeaderFormProps { onSubmit: (values: SearchForm) => void; loading?: boolean; } import type { MouseEvent } from "react"; impo...
Typescript
title : self.lang('table' + val), click : function() { self.loadPlugin('table', function() { self.plugin.table[val](); self.hideMenu(); }); }, cond : cond, width : 170, iconClass : 'ke-icon-table' + val }); }); self.addContextmenu({ title : '-' }); _each(('selectall,justifyleft,jus...
JavaScript
var-tilde: "\f69f"; @fa-var-times: "\f00d"; @fa-var-times-circle: "\f057"; @fa-var-times-hexagon: "\f2ee"; @fa-var-times-octagon: "\f2f0"; @fa-var-times-square: "\f2d3"; @fa-var-tint: "\f043"; @fa-var-tint-slash: "\f5c7"; @fa-var-tire: "\f631"; @fa-var-tire-flat: "\f632"; @fa-var-tire-pressure-warning: "\f633"; @fa-var...
CSS
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 agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASI...
Go
FieldMoveTask_CreateDigEnvironment: ; 0x0224C368 push {r3, r4, r5, r6, r7, lr} add r5, r0, #0 add r6, r1, #0 add r0, r3, #0 mov r1, #0x30 add r7, r2, #0 bl ov02_0224C660 add r4, r0, #0 mov r0, #1 str r0, [r4, #0xc] str r5, [r4, #0x24] ldr r0, [r5, #0x40] bl PlayerAvatar_GetMapObject str r0, [r4, #0x20] a...
Assembly
(String? value) { _subgroupId = _subgroupId == value ? null : value; _searching(keywords, subgroupId: _subgroupId); } void search(String keywords) { _searchResult = null; _keywordsController.value = TextEditingValue( text: keywords, selection: TextSelection.fromPosition( TextPos...
Dart
adius * 2, point.y - m_insertOptions_common->cutoffRadius * 2, point.y + m_insertOptions_common->cutoffRadius * 2, defCell); // Compute the "parzen Gaussian" once only: // ------------------------------------------------- ASSERT_LT_(m_resolution, 0.5 * m_insertOptions_common->cutoffRadius); int Ac_...
C++
stmia r0, {r4-r7} @ write data to event bl enqueue @ send message ldr r0, [fp, #0x04] @ get arg str r0, [ip, #0x08] @ store arg ldr r0, =k_map_eval_2 @ become... str r0, [ip, #0x1c] @ ...k_map_eval_2 b complete @ return to dispatch loop k_map_eval_2: @ eval args continuation @ (example_5: 0x04=cust, 0x08=...
Assembly
02305A38: mov r0, sb mov r1, #0 bl IsMonsterVisuallyImpaired cmp r0, #0 beq _02305A58 mov r0, sl mov r1, sb bl EndBlinkerClassStatus _02305A58: mov r0, sb bl IsMonsterMuzzled cmp r0, #0 beq _02305A74 mov r0, sl mov r1, sb bl EndMuzzledStatus _02305A74: mov r0, sb bl MonsterHasMiracleEyeStatus cmp r0, ...
Assembly
�,但如果你看进去了,应该能让你少走很多弯路。 这里说的职场打工人主要包含在企业上班的白领等,因为目前号称是一个中产破产的时代,对这批人的影响是最大的,无论从收入、晋升、还是未来的选择。 ### 一、承认这个时代已经变了 你有没有思考过一个问题,就是这个时代是不是真的已经变了?大家都说这是一个中产破产的时代,你觉的是危言耸听,还是真实的情况? 今年刚好是我大学毕业的第 10 年,10 年前我凭借一所 211 大学的本科学历,还能进入到一所世界 500 强的房企,然后凭着自己的努力,8 年的时间,从员工到主管到经理到总监,最后也能号称年薪百万。 而如今我才离开房地产行业创业 2 年,2021 年我在的时候,某 TO...
Markdown
(win) vim.keymap.set("n", M.options.keymaps.copy, function () local lines = vim.api.nvim_buf_get_lines(buf, 0, -1, false) -- Remove first and last -- table.remove(lines, 1) table.remove(line
Lua
floating-point // arithmetic but in a more precise way. This is more expensive than the // simple calculation done by triageSign, but it is still *much* cheaper // than using arbitrary-precision arithmetic. This optimization is able to // compute the correct determinant sign in virtually all cases excep...
Rust
] * var[0]) landm = np.reshape(offset_cxcy, [-1, 10]) return loc, np.array(conf, dtype=np.int32), landm class Bboxencode(): """Bbox_encode""" def __init__(self, variances, match_thresh, image_size, clip=False): self.match_thresh = match_thresh self.variances = variances self....
Python
_or_alter_procedureContext(ParserRuleContext parent, int invokingState) { super(parent, invokingState); } @Override public int getRuleIndex() { return RULE_create_or_alter_procedure; } @Override public void enterRule(ParseTreeListener listener) { if ( listener instanceof TSqlParserListener ) ((TSqlParserL...
Java
So we applied this optimization and we shaved off a few hundred milliseconds. The next thing that Lighthouse suggests is that we preload key requests. <figure> {% Img src="image/T4FyVKpzu4WKF1kBNvXepbi08t52/lt3Nvi9UtaejjVYHbGp9.png", alt="Preload key requests", width="800", height="366" %} <figcaption> <st...
Markdown
.attack.spit"; /** * %1#s was skewered by a falling stalactite */ String MC_DEATH_ATTACK_STALACTITE = "minecraft:death.attack.stalactite"; /** * %1#s was impaled on a stalagmite */ String MC_DEATH_ATTACK_STALAGMITE = "minecraft:death.attack.stalagmite"; /** * %1#s starved...
Java
一番扱いが難しいね」彼女はにやにやした。 「やっぱりそうなのかな」 「そりゃもう。だって中学二年といったら十四歳ぐらいでしょ? 一番父親とかが嫌いになる時期だもんね」 「えっ、そうなのか」 「うん。何ていうかね、そばにいるだけで頭に来るって感じ」  すると別のホステスも、「あたしもそうだった」と口を挟んできた。「父親のパンツとかが干してあるのを見るだけで、鳥肌が立っちゃうのよね。父親が出たばっかりのトイレには絶対に入りたくないし、お風呂だって嫌だもんね」  ほかのホステスも会話に加わってきた。父親の臭いが嫌い、下着姿でいる時の腹のたるみがおぞましい、父親の歯ブラシを見ただけで吐き気がする――悪口の種は尽きない。  なぜ...
Markdown
_view2) val upload: Button = findView(R.id.upload) Http.init(this) Http.get { url = "http://api.openweathermap.org/data/2.5/weather" tag = this@MainActivity params { "q" - "shanghai" "appid" - "d7a98cf22463b1c0c3df4adfe5abbc...
Kotlin
('payload', { required: false }) const autoInactiveStringInput = core.getInput('auto_inactive', { required: false }) const autoInactive: boolean = autoInactiveStringInput === 'true' const transientEnvironment = core.getInput('transient-environment', { required: false }) ...
Typescript
], and deserialized from a type implementing [serde::Serialize] /// using [to_key]. See the corresponding function for documentation. /// /// The type parameter `F` corresponds to the [FloatPolicy] in used. It defaults /// to [RejectFloatPolicy] which will cause floats to be rejected. /// /// [from_key]: crate::from_ke...
Rust
required List<Object?> serializedList, required BananaBuilder result, required List<Object?> unhandled, }) { for (var i = 0; i < serializedList.length; i += 2) { final key = serializedList[i] as String; final value = serializedList[i + 1]; switch (key) { case r'length': ...
Dart
/* * linux/arch/m68k/kernel/time.c * * Copyright (C) 1991, 1992, 1995 Linus Torvalds * * This file contains the m68k-specific time handling details. * Most of the stuff is located in the machine specific files. * * 1997-09-10 Updated NTP code according to technical memorandum Jan '96 * "A Kernel Model for ...
C
EBASE_API_KEY); ``` ### 5.2 環境変数のトラブルシューティング - **問題**: 環境変数が`undefined` **解決策**: 環境変数が正しく設定されているか確認し、必要に応じて`NEXT_PUBLIC_`プレフィックスを追加してください - **問題**: 環境変数が本番環境で機能しない **解決策**: 環境変数が本番環境に設定されているか確認してください - **問題**: 環境変数がプレビュー環境で機能しない **解決策**: 環境変数がプレビュー環境に設定されているか確認してください ## 6. 環境ごとの設定ファイル Next.jsでは、環境ごとに異なる設定ファ...
Markdown
"zip2 z16.b, z27.b, z26.b\n" "st1b { z25.b }, p4, [x20, #6, MUL VL]\n" "st1b { z24.b }, p4, [x20, #7, MUL VL]\n" "addvl x20, x20, #16\n" "st1b { z23.b }, p4, [x20, #-8, MUL VL]\n" "st1b { z22.b }, p4, [x20, #-7, MUL VL]\n" "st1b { z21.b }, p4, [x20, #-6, MUL VL]\n" "st1b ...
C++
147, "Ankang", "CHN", 142170)); cities.put (2148, new City (2148, "Weinan", "CHN", 140169)); cities.put (2149, new City (2149, "Longjing", "CHN", 139417)); cities.put (2150, new City (2150, "Daïan", "CHN", 138963)); cities.put (2151, new City (2151, "Lengshuijiang", "CHN", 137994)); ...
Java
inition.when.path, path_contains: yaml_definition.when.path_contains, path_matches: to_pattern_vec(yaml_definition.when.path_matches), method: yaml_definition.when.method.map(|m| m.to_string()), headers: to_pair_vec(yaml_definition.when.header), header_exists:...
Rust
argc -= optidx; argv += optidx; if(help_flag) usage(0); if (version_flag) { print_version (NULL); return 0; } if (geteuid() != 0) errx(1, "only root may use login, use su"); /* Default tty settings. */ stty_default(); if(p_flag) copy_env(); else { /* this set of variab...
C
InstMatch: bw(b, "match") case InstFail: bw(b, "fail") case InstNop: bw(b, "nop -> ", u32(i.Out)) case InstRune: if i.Rune == nil { // shouldn't happen bw(b, "rune <nil>") } bw(b, "rune ", strconv.QuoteToASCII(string(i.Rune))) if Flags(i.Arg)&FoldCase != 0 { bw(b, "/i") } bw(b, " -> ", u3...
Go
_NAME>-ci-cd` namespace and checking if it is there! ```bash ansible-playbook apply.yml -e target=tools \ -i inventory/ \ -e "filter_tags=mongodb" ``` ![ocp-mongo](../images/exercise3/ocp-mongo.png) <p class="tip"> <b>NOTE</b> - When making changes to the "enablement-ci-cd" repo, you should frequently commit and...
Markdown
96(%edx,%eax,4){1to16}, %zmm2, %zmm2 // CHECK: vpermilps 485498096(%edx,%eax,4){1to16}, %zmm2, %zmm2 // CHECK: encoding: [0x62,0xf2,0x6d,0x58,0x0c,0x94,0x82,0xf0,0x1c,0xf0,0x1c] vpermilps 485498096(%edx,%eax,4){1to16}, %zmm2, %zmm2 // CHECK: vpermilps -485498096(%edx,%eax,4){1to16}, %zmm2, %zmm2 {%k2} // CH...
Assembly
当前节点 = 下个节点 当前节点.上个 = 临时 } else { 当前节点 = 当前节点.下个[当前] } } (当前节点.当前词 || (当前节点.当前词 = [])).push(值) } } return _总词库索引 || 加载() } export function 加载输入记录索引() { function 加载() { let 路径...
Typescript
CompatibleClouds: registry.Clouds(spec.GCE, spec.Local), Suites: registry.Suites(registry.Nightly), Skip: "This config can be used to perform some benchmarking and is not " + "meant to be run on a nightly basis", Run: func(ctx context.Context, t test.Test, c cluster.Cluster) { // In order to us...
Go
4 # CHECK-NEXT: [7] - SKXPort5 # CHECK-NEXT: [8] - SKXPort6 # CHECK-NEXT: [9] - SKXPort7 # CHECK: Resource pressure per iteration: # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] # CHECK-NEXT: - - 3.50 3.50 0.50 0.50 - 3.50 3.50 - # CHECK: R...
Assembly
Pipe M.ErrorPipe = ErrorPipe M.convert_opts = function(o) if not o then error(debug.traceback "Options are required for Job:new") end local command = o.command if not command then if o[1] then command = o[1] else error(debug.traceback "'command' is required for Job:new") end else...
Lua
ort kotlin.test.assertNotNull import kotlinx.coroutines.test.runTest import kotlinx.serialization.json.Json import kotlinx.serialization.json.buildJsonObject import kotlinx.serialization.json.put class CpgAnalyzeToolTest { private lateinit var server: Server @Test fun cpgAnalyzeToolIntegrationTest() = ru...
Kotlin
throw new CertificateException( "Certificate not included in timestamp token"); } else { if (!cert.getCriticalExtensionOIDs().contains( EXTENDED_KEY_USAGE_OID)) { throw new CertificateException( ...
Java
, inner(), inner(), inner()); } <T> void outer(T... ts) { } <T,V,W extends V> T inner() { return null; } } /* * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Thi...
Java
// We have been passed a tokenID to act upon. Set TokinInfo and CharID. // ssa[1] Token ID this.SetToken = function( ssa ) { 'use strict'; try { if( ssa.length > 1 ) { let TokObj = getObj("graphic", ssa[ 1 ]); if (typeof TokObj != 'undefined' ) { ...
JavaScript
e, predict)}') # Recall print(f'Recall: {recall_score(y_true, predict, average=None)}') # Precision print(f'Precision: {precision_score(y_true, predict, average=None)}') # F1_score print(f'F1_score: {f1_score(y_true, predict, average=None)}') test_evaluate(cross_model_path, test_dataloader) ...
Python
/** * The MIT License (MIT) * * Copyright (C) 2012 by INdT * Copyright (C) 2014 Bacon2D Project * * 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 withou...
C
sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rg...
CSS
t64_t csAddr = mappings[header->mappingCount()-1].address() + mappings[header->mappingCount()-1].size(); if ( size != 0 ) printf(" code sign %3lluMB, file offset: 0x%08llX -> 0x%08llX, address: 0x%08llX -> 0x%08llX\n", size/(1024*1024), header->codeSignatureOffset(), header->codeSignatureOffset() + s...
C++
assign(path.substr(0,position++)); tail.assign(path.substr(position,path.length()-position)); return; } #endif first.assign(path); tail.assign(vfs::Const::EMPTY()); } void vfs::Path::splitFirst(vfs::Path &rsFirst, vfs::Path &rsTail) const { pathSplitFirst(_path, rsFirst._path, rsTail._path, _sep.first, _sep.la...
C++
StatusEnum { /** 交易成功 */ FINISHED("TRADE_FINISHED"), /** 支付成功 */ SUCCESS("TRADE_SUCCESS"), /** 交易创建 */ BUYER_PAY("WAIT_BUYER_PAY"), /** 交易关闭 */ CLOSED("TRADE_CLOSED"); private final String value; AliPayStatusEnum(String value) { this.value = value; } public...
Java