content
stringlengths
2
6.21k
label
stringclasses
16 values
nc, { match format { "files" | "tgz" => fetch_bundle_uri(uri, &local_dir, verbose, writer).await, _ => // The schema currently defines only "files" or "tgz" (see RFC-100). // This error could be a typo in the product bundle or a new image // format has been added and this cod...
Rust
byte gUnknown_080D99D0 thumb_func_start sub_80A490C sub_80A490C: @ 0x080A490C push {r4, r5, r6, r7, lr} mov r7, sl mov r6, sb mov r5, r8 push {r5, r6, r7} sub sp, #0x18 adds r6, r0, #0 lsls r1, r1, #0x18 lsrs r1, r1, #0x18 mov sl, r1 lsls r2, r2, #0x18 lsrs r2, r2, #0x18 str r2, [sp, #0xc] ldr r3, _080A...
Assembly
error:this.sourceStatusText(),solutionId:(0, r.studyStatusSolutionId)(e),title:(0,r.studyStatusTitle)(e),studyFeature:(0,r.studyStatusFeature)(e)}:null}}},6892:(e,t,i)=>{"use strict";i.d(t,{StudyStatusProvider:()=>n});var s=i(44352),r=(i(13333),i(99672));s.t(null,void 0,i(47542));class n extends r.StudyStatusProviderBa...
JavaScript
pack = _languageCache.LoadLanguage((GameLanguage)languageIndex, _reader); if (pack == null) return null; return pack.FindStringListByTag(tag); } private void ReadSound(DataBlock block, uint offset) { if (_soundLayout == null) return; ContainsSoundReferences = true; SeekToOffset(block, 0...
C#
8a", "8b", "8c", "8d", "8e", "8f", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "9a", "9b", "9c", "9d", "9e", "9f", "a0", "a1", "a2", "a3", "a4", "a5", "a6", "a7", "a8", "a9", "aa", "ab", "ac", "ad", "ae", "af", "b0", "b1", "...
JavaScript
rized(); absenceNotice.setStartDate(noticeWrapper.getStartDate()); absenceNotice.setEndDate(noticeWrapper.getEndDate()); absenceNotice.setAbsenceAuthorized(noticeWrapper.getAuthorized()); absenceNotice.setAbsenceCategory(noticeWrapper.getAbsenceCategory()); absenceNotice.setAbsenceReason(noticeWrapper.getA...
Java
, 0x1c100100), DEFINE_PROP_END_OF_LIST(), }; static void l2x0_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); dc->vmsd = &vmstate_l2x0; device_class_set_props(dc, l2x0_properties); dc->reset = l2x0_priv_reset; } static const TypeInfo l2x0_info = { .name = T...
C
<DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A ...
HTML
3%83%A9%E3%83%8A%E3%83%B3%E3%82%AD%E3%83%A5%E3%83%A9%E3%82%B9%E5%B0%81%E9%9D%A2.jpg" decoding="async" loading="lazy" width="183" height="252" srcset="https://upload.thwiki.cc/thumb/2/25/%E8%96%94%E8%96%87%E3%81%A8%E3%83%A9%E3%83%8A%E3%83%B3%E3%82%AD%E3%83%A5%E3%83%A9%E3%82%B9%E5%B0%81%E9%9D%A2.jpg/275px-%E8%96%94%E8%96...
Markdown
icate.methods method in methods || methods.isEmpty() } .map { it.filter(method) } ) is OnHandler -> OnHandler(handlerPredicate.clearMethods(), block) is FilterHandler -> ...
Kotlin
def shift_sharded_axis(a): if isinstance(a, pmap_lib.ShardedAxis) and a.axis >= sharded_in_axis: return pmap_lib.ShardedAxis(a.axis + 1) return a # replication_factor represents the product of inner pmaps, so it goes # after the outer pmapped axis at index 0 ...
Python
_t sk_paint_get_style(const sk_paint_t*) [DllImport (SKIA, CallingConvention = CallingConvention.Cdecl)] internal static extern PaintStyle sk_paint_get_style (sk_paint_t param0); // bool sk_paint_is_antialias(const sk_paint_t*) [DllImport (SKIA, CallingConvention = CallingConvention.Cdecl)] [return: Mars...
C#
><a href="/wiki/I_Love_Bees" title="I Love Bees">I Love Bees</a></i>, <i><a href="/wiki/Year_Zero_(game)" title="Year Zero (game)">Year Zero</a></i>, and <i>Why So Serious</i>.</li> <li>In <i><a href="/wiki/Spore_(2008_video_game)" title="Spore (2008 video game)">Spore</a></i>, reaching the center of the galaxy yields ...
HTML
OW_EFFECT); }); it('should return NOTHING when rule doesn\'t match', () => { expect(validate( '/abc/papers/123', Method.GET, When.Egress, { foo: '1', bar: '2' }, [policyA], )).toEqual(NOTHING_EFFECT); }); it('should return NOTHING when route doesn\'t match', () => { e...
Typescript
9; visibility: hidden; } .monk-form-wrap span.monk-iconfont.monk-clear-input:hover { background: #f2f2f2; } /*多行输入*/ .monk-form-textarea { height: 100px; border: none; outline: 0; background: transparent; display: block; font-size: 16px; margin: 0; padding: 5px 10px; float: left; resize: none; line-height: 24px; } .mo...
CSS
var responseJson = parseResponse(response); expect(response.statusCode, equals(200)); responseJson = responseJson["data"]; expect(responseJson["branch"], equals(branch)); expect(responseJson["name"], equals(name)); expect(responseJson["version"], equals(currentArtifact["version"])); }); te...
Dart
_mode=label_mode, num_classes=len(class_names), max_length=max_length, ) dataset = dataset.prefetch(tf.data.AUTOTUNE) if batch_size is not None: if shuffle: # Shuffle locally at each iteration dataset = dataset.shuffle(buffer_si...
Python
final Vec3f texParams1, final Vec3f texParams2, final Vec3f texParams3, final Vec4f rgba) { final boolean cc = hasColorChannel(); if( cc && null == rgba ) { throw new IllegalArgumentException("Null color given for COLOR_CHANNEL rendering mode"); } // Syst...
Java
] * omct; result[6] = axis[1] * axis[2] * omct + axis[0] * st; result[8] = axis[0] * axis[2] * omct + axis[1] * st; result[9] = axis[1] * axis[2] * omct - axis[0] * st; result[10] = ct + axis[2] * axis[2] * omct; return result; } export const m4AxisAngleRotation = (axis: v3, angle: number, result...
Typescript
CQCUninst::EStatus_Success); } catch(const TError& errToCatch) { m_colErrs.objAdd(errToCatch); SendCode(tCQCUninst::EStep_RemoveMenu, tCQCUninst::EStatus_Failure); } catch(...) { SendCode(tCQCUninst::EStep_RemoveMenu, tCQCUninst::EStatus_Failure); } // // ...
C++
<u32, _MATCHREL7>; #[allow(missing_docs)] #[doc(hidden)] pub struct _MATCHREL7; #[doc = "`read()` method returns [matchrel7::R](matchrel7::R) reader structure"] impl crate::Readable for MATCHREL7 {} #[doc = "`write(|w| ..)` method takes [matchrel7::W](matchrel7::W) writer structure"] impl crate::Writable for MATCHREL7 ...
Rust
-control-selection-info { right: 0; bottom: 0; padding: 5px; margin: 5px; color: #fff; background-color: #000; font-size: 12px; border-radius: 5px; -webkit-opacity: 0.7; -khtml-opacity: 0.7; -moz-opacity: 0.7; opacity: 0.7; -ms-filter: progid:DXImageTransform.Microsof...
CSS
ring, dynamic>> animeMatches = []; try { animeMatches = await _searchAnime(queryTitle); debugPrint('预搜索找到 ${animeMatches.length} 个候选项'); // 如果通过标题搜索没找到匹配,尝试使用季名称搜索 if (animeMatches.isEmpty) { debugPrint('尝试使用季名称搜索'); final String seriesNameOnly =...
Dart
[check_Child_State]", iconSkin:"check", showAPI:true}, {id:117, pId:1, t:"check_Focus", name:"[check_Focus]", iconSkin:"check", showAPI:true}, {id:118, pId:1, t:"checkedOld", name:"[checkedOld]", iconSkin:"check", showAPI:true}, {id:119, pId:1, t:"editNameFlag", name:"[editNameFlag]", iconSkin:"edit", showAPI:...
JavaScript
h3 class="staffer-name"> Jessica Hsu <p class="staffer-pronouns"><b>She/Her/Hers</b></p> </h3> <p><a href="mailto:jessh459@berkeley.edu">jessh459@berkeley.edu</a></p> <p>Hello! I’m Jessica, a junior majoring in computer science. I enjoy hiking, binge watching random shows, and eating bread :)) Super excited to meet eve...
HTML
/// <summary> /// The operation will get a property. The value is 2. /// </summary> Get, /// <summary> /// The operation will check that a property exists or doesn't exists, depending on the provided value. The value is 3. /// </summary> CheckExists, ...
C#
= RankingData.Ranking[i].No; array[row, 3] = RankingData.Ranking[i].Trend; array[row, 4] = RankingData.Ranking[i].AverageRanking; array[row, 5] = RankingData.Ranking[i].Category; array[row, 6] = RankingData.Ranking[i].CategoryName; ...
C#
. Das BAG kann keine Rückschlüsse auf die Benutzerinnen und Benutzer der App ziehen und die Daten nicht entschlüsseln. Die App schützt die Daten der Benutzerinnen und Benutzer so, dass über weite Strecken kein Personenbezug hergestellt werden kann. Dennoch ist ein Personenbezug nicht absolut auszuschliessen. So besteht...
HTML
= ResourceReaderSpec(scheme, hasHierarchicalUris, isGlobbable) } /* * Copyright © 2024-2025 Apple Inc. and the Pkl project 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...
Kotlin
contacted at: t2ti.com@gmail.com @author Albert Eije (alberteije@gmail.com) @version 1.0.0 Adaptado de: https://gi...
Dart
// // NERConstraintMaker.h // NerdyUI // // Created by nerdycat on 2016/10/10. // Copyright © 2016 nerdycat. All rights reserved. // #import <UIKit/UIKit.h> @interface NERConstraint : NSObject /* Use methods to prevent pulluting auto-completion. */ - (instancetype)initWithFirstItem:(UIView *)firstItem; - (ins...
C
m *testing.M) { var err error if vars.RootPath, err = tutil.RootPath(); err != nil { log.Printf("cannot get root path: %s", err.Error()) os.Exit(1) } code := m.Run() os.Exit(code) } func TestTimesLen(t *testing.T) { tests := []struct { name string a Times want int }{ { name: "Times.Len", a:...
Go
</ul> * <p>You can use either of the following to identify a KMS key in the current account or * another account:</p> * <ul> * <li> * <p>Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:region:account * ID:key/1234abcd-12...
Typescript
ht >= b.weight ? a : b; const ACCEPT = 'Accept'; const ACCEPT_ENCODING = 'Accept-Encoding'; const ACCEPT_LANGUAGE = 'Accept-Language'; const ACCEPT_CHARSET = 'Accept-Charset'; const CONTENT_TYPE = 'Content-Type'; const CONTENT_LANGUAGE = 'Content-Language'; const CONTENT_ENCODING = 'Content-Encoding'; const CHARSET =...
Typescript
5, 15 -> brick1 = ResourceManager.getTexture("brick5.png") 6, 16 -> brick1 = ResourceManager.getTexture("brick6.png") } } fun getBounds() = Rectangle(positionX.toFloat(), positionY.toFloat(), 75F, 30F) override fun draw(batch: Batch, parentAlpha: Float) { super.dra...
Kotlin
ions, you can include a checkbox for “Filter by country” and only show the dropdown</li> </ul></li> </ul> </div> <div class="footer"> This work is licensed under the <a href="http://creativecommons.org/licenses/by-nc/3.0/">CC BY-NC 3.0 Creative Commons License</a>. </div> </div> <script> // add bootstrap table s...
HTML
//------------------ البحث private void lblSearchEventsAndProperties(bool Properties, bool Events = false) // ملصق البحث عن المنتجات { if (Properties == true && Events == false) { ElementsTools.Lable_.CustumProperties(lblSearch, "البحث عن", ColorPropertyNam...
C#
MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to t...
Java
td> <input type="text" name="cc" placeholder="Country code"/><br/> <input type="button" onClick="placePin('pin3')" value="Copy"/> <input type="button" onClick="movePin('pin3')" value="Move"/> </td> </tr> <tr id="remove"> <td class="pin-td"> ...
HTML
temporary chats? UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGWORKSPACES::T1014418451"] = "If and when should we delete your temporary chats?" -- Workspace display behavior UI_TEXT_CONTENT["AISTUDIO::DIALOGS::SETTINGS::SETTINGSDIALOGWORKSPACES::T2151409362"] = "Workspace display behavior" -- Workspace ...
Lua
Notes to Inheritors:</strong> When overriding /// <see cref="OnSceneChanged(SceneChangedEventArgs)"/> in a derived class, be sure to call the /// base class's <see cref="OnSceneChanged(SceneChangedEventArgs)"/> method so that registered /// delegates receive the event. /// </pa
C#
// Deze broncode is openbaar gemaakt vanwege een Woo-verzoek zodat deze // gericht is op transparantie en niet op hergebruik. Hergebruik van // de broncode is toegestaan onder de EUPL licentie, met uitzondering // van broncode waarvoor een andere licentie is aangegeven. // // Het archief waar dit bestand deel van ui...
C#
-c-divider: hsl(var(--muted)); --vp-code-block-color: #fff; } /** * Headings * -------------------------------------------------------------------------- */ .vp-doc h1:not(:where(.not-docs *)), .vp-doc h2:not(:where(.not-docs *)), .vp-doc h3:not(:where(.not-docs *)), .vp-doc h4:not(:where(.not-docs *)), .vp-doc h...
CSS
exception as provided * by Sun in the LICENSE file that accompanied this code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 f...
Java
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.IO.Compression; namespace Olympus { public class CmdInstallMod : Cmd<string, string, string, IEnumerator> { public override IEnumerator Run(string root, string url, string mirrorPreferences) { ...
C#
iptInvoker scriptInvoker = owner.webApp.getFacet(JellyFacet.class).scriptInvoker; dispatchers.add(createValidatingDispatcher(owner.loadTearOff(GroovyClassTearOff.class), scriptInvoker)); } @Override public Collection<Class<GroovyClassTearOff>> getClassTearOffTypes() { return TEAROFF_TYPES; ...
Java
/* * Copyright 2020 The TensorFlow Runtime 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 applicab...
C
rUndefined(undefined as any)).toBe(false); }); test('it should return true for a defined value', () => { expect(isNotNullNorUndefined('-5')).toBe(true); }); }); }); import INutrientProps from "./INutrientProps"; export default class CaloriesByGrams { calculate = ({ type, quantity, unit }): strin...
Typescript
(4, 32, 17), occurred_at: Utc.ymd(2012, 1, 8).and_hms(4, 31, 54), id: "ND20120108133201".to_owned(), status: Status::Normal, number: 3, detail: None, }; assert_eq!(parse(telegram), Ok(expected)); } #[test] fn it_should_parse_normal_eew_01() { let telegram = b"36 03 00 130804122905 C11 130804122849 \ ND...
Rust
0,224,124,14,206,124,0 ;S DC.B 254,56,56,56,56,56,56,0 ;T DC.B 230,230,230,230,230,230,124,0 ;U DC.B 230,230,230,230,230,124,56,0 ;V DC.B 230,230,230,230,254,238,198,0 ;W DC.B 198,238,124,56,124,238,198,0 ;X DC.B 230,230,230,124,56,56,56,0 ;Y DC.B 254,206,28,56,112,230,254,0 ;Z DC.B 0,0,0,0,0,0,0,0 DC.B 254,0,...
Assembly
89zm-2.203 3.05c.042-.042.042-.085.042-.085-.042 0-.042-.042-.042-.042-.042 0-.042.042-.085.042-1.06.89-2.5 1.737-3.983 2.373-1.483.593-2.712.89-3.56.847h1.06c.72-.042 1.695-.297 2.797-.763 1.313-.55 2.584-1.313 3.517-2.075.17-.127.254-.255.254-.297zM6.508 12.863c.085-.254.17-.508.297-.72.042-.127.085-.212.085-.34-.085...
Dart
UM DC.W 87 DC.W 27,21,8,25,26,5,3,0 .ALWAYS: DC.W 7,3,27 DC.W 21,53,20,25,26 DC.W 5,3,0 .ENDWHILE: DC.W 7,3,21,27,53,26,10 BRA DUM DC.W 8,15,0 .FOR: DC.W 3,47,2,10 MOVE.L D0,2(A5) DC.W 35 DC.W 20,49,6,5,4,43,IOFF+28,42,7,4,15,6...
Assembly
throw new IllegalArgumentException("intersects: Shape has the wrong number of dimensions."); for (int cIndex = 0; cIndex < m_pLow.length; cIndex++) { if (m_pLow[cIndex] > r.m_pHigh[cIndex] || m_pHigh[cIndex] < r.m_pLow[cIndex]) return false; } return true; } public boolean contains(final Region r) { ...
Java
K_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT} bit set count against this limit. See <a target="_blank" href="https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#descriptorsets-sampler">Sampler</a> and <a target="_blan...
Kotlin
With<$R, String, String>> get stunServers; MapCopyWith<$R, String, LsSignalingConnection, ObjectCopyWith<$R, LsSignalingConnection, LsSignalingConnection>> get connections; $R call( {List<String>? signalingServers, List<String>? stunServers, Map<String, LsSignalingConnection>? conn...
Dart
.appendChild(minLabel); controls.appendChild(prevButton); controls.appendChild(this.slider); controls.appendChild(nextButton); this.container.appendChild(controls); this.container.appendChild(maxLabel); return this.container; } private static createSliderButton...
Typescript
<td align="left" valivalign="center"> <a target="_blank" href="https://open.work.weixin.qq.com/api/doc/90001/90143/91846" > 文档</a></td> </tr> <tr> <td align="left" valivalign="center">查询转译结果链接</td> <td align="left" valivalign="center"> <a target="_blank" th:href="${job_url}" th:text="${job_url}"> </a> ...
HTML
TM32_FUNCTION(3, "I2C6_SDA"), STM32_FUNCTION(4, "I2C2_SDA"), STM32_FUNCTION(5, "I2C5_SDA"), STM32_FUNCTION(7, "I2C4_SDA"), STM32_FUNCTION(8, "USART1_RTS USART1_DE"), STM32_FUNCTION(16, "EVENTOUT"), STM32_FUNCTION(17, "ANALOG") ), STM32_PIN_PKG( PINCTRL_PIN(406, "PZ6"), STM32MP_PKG_AA | STM32MP_PKG_AC,...
C
WithUUID(module_spec, module_file_spec, symbol_file_spec, callback_call_count); module_file_spec.SetPath(GetInputFilePath(k_module_file)); symbol_file_spec.SetPath(GetInputFilePath(k_breakpad_symbol_file)); return Status(); } }); m_modul...
C++
ses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations...
Typescript
6_; }; } #endif /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2008 Roland Lichters This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you ...
C++
prob.add_constraint(vec![(x, 1.), (y, 1.), (z, 1.)], ConstraintOp::Gte, -3.) .unwrap(); prob.add_constraint(vec![(x, -1.), (y, 1.), (z, -1.)], ConstraintOp::Gte, -4.) .unwrap(); prob.add_constraint(vec![(x, 1.), (y, -1.), (z, -2.)], ConstraintOp::Gte, -1.) .unwrap(); assert_...
Rust
em.arraycopy(extraPoints, 0, newPointCloud, pointCloud.length, extraPoints.length); pointCloud = newPointCloud; } if (filter == null) { LidarPointCloudCompression.compressPointCloud(pointCloud.length, message, (i, j) -> pointCloud[i].getElement32(j)); } else { ...
Java
rint("\n--- Статистика дедупликации ---") print(f"Прочитано строк: {lines_read}") print(f"Найдено уникальных имен (записано строк): {lines_written}") print(f"Пропущено строк (дубликаты по имени '{name_key}'): {lines_skipped_duplicate}") print(f"Пропущено строк (без поля '{name_key}' или null): {lines_sk...
Python
ost/throw_exception.hpp> #include <boost/type_traits/is_integral.hpp> #include <boost/type_traits/is_signed.hpp> #include <cstdlib> #include <string> namespace boost { namespace geometry { class bad_str_cast : public geometry::exception { virtual char const* what() const throw() { return "Unable to c...
C++
er = ForteCCCompiler.getInstance(); final Vector args = new Vector(); compiler.addWarningSwitch(args, 3); assertEquals(1, args.size()); assertEquals("+w", args.elementAt(0)); } /** * Tests command line switches for warning = 4 */ public void testWarningLevel4() { final ForteCCCompiler c...
Java
8393a3b3c3d3e3f", hash = "ec6b7d7f030d4850acae3cb615c21dd25206d63e84d1db8d957370737ba0e98467ea0ce274c66199901eaec18a08525715f53bfdb0aacb613d342ebdceeddc3b" ), KnownAnswerTest( input = "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e...
Kotlin
#ifdef __cplusplus #define EXTERN extern "C" extern "C" { #else #define EXTERN extern #endif /***************************************************************************** * Name: wlan_init * * Description: * Initialize wlan driver * * WARNING: This function must be called before ANY other wlan driver func...
C
0001") c.Assert(err, IsNil) defer session.Close() coll := session.DB("mydb").C("mycoll") f1 := func() { coll.Find(nil).Sort("") } f2 := func() { coll.Find(nil).Sort("+") } f3 := func() { coll.Find(nil).Sort("foo", "-") } for _, f := range []func(){f1, f2, f3} { c.Assert(f, PanicMatches, "Sort: empty field n...
Go
|;k8|5;lc|4;li|2;lm|2;lu|;me|2;nj|;13l|1i;15c|q;168|4;60w|5;61q|;642|1;6bw|4;6c3|1;6c8|2;6cc|2;6ci|;6cm|;6d5|1;6ga|;6gc|;6jm|;6qa|;7gs|;1dlp|p;1dmg|4;1dmm|;1dmo|1;1dmr|1;1dmu|9;', ), NotoFont('Noto Sans Imperial Aramaic', 'notosansimperialaramaic/v15/a8IMNpjwKmHXpgXbMIsbTc_kvks91LlLetBr5itQrtdml3YfPNno.ttf', // <i...
Dart
SecondDevice) { _seletedItem.value = _seletedItem.value.copyWith( secondImage: image, ); return; } _seletedItem.value = _seletedItem.value.copyWith( image: image, ); } void updateShowDevice(bool value, {bool? isSecondDevice}) { if (isSecondDevice != null && isSecond...
Dart
collisions unlikely. // These values are unlikely to occur in regular code and // are easy to grep for in case of bugs. const ( constSliceMagic = 1122334455 constInterfaceMagic = 2233445566 constNilMagic = 3344556677 constEmptyStringMagic = 4455667788 ) // ConstInt returns an int constant represen...
Go
desktop.State == 3) { if (Q('id_DeskVO').checked) return; if ((webRtcDesktop != null) && (webRtcDesktop.softdesktop != null)) { webRtcDesktop.softdesktop.m.handleKeyUp(e); desktop.m.sendKeepAlive(); } else { return desktop.m.handleKeyUp(e); } } if (currentView == 13 && terminal.State == 3) return termin...
HTML
; buffer xcall FileSystem_AbsoluteRead ld.w [%r1], %r5 ; ior NEXT END_CODE ;;; \ buffer size = count * 512 bytes ;;; : WRITE-SECTORS ( b count sector -- ior ) CODE write_sectors, "write-sectors", FLAG_NORMAL ld.w %r6, [%...
Assembly
议](../code/arq/gbn/gbn.go) ### SR协议 ![](images/sr.png) SR: selective repeat,选择性重传 GBN协议需要重传send_base到nextseqnum的所有数据,造成这一问题的原因是接收方如果收到不是expectedSeqnum的数据包之后直接就丢弃了,这样会导致一个问题,在传输过程中,如果出现一个丢包,那么会产生大量数据包的重传。在滑动窗口窗口确认机制中提供的第二种思路,就是接收方针对每个数据包都进行确认,发送方根据连续确认包调整窗口,接收方根据收到的连续数据包往上层交付。 那么如果接收方不丢弃,直接缓存起来,然后也会返回一个确认,这样就不用go bac...
Markdown
gradecoin::routes::consensus_routes; use gradecoin::schema::create_database; #[tokio::main] async fn main() { log4rs::init_file("log.conf.yml", Default::default()).unwrap(); let db = create_database(); let api = consensus_routes(db); // Start the server let point = ([127, 0, 0, 1], 8080); w...
Rust
inGizmo = false; } void HmapLandObjectEditor::_addObjects(RenderableEditableObject **obj, int num, bool use_undo) { Tab<RenderableEditableObject *> objs(tmpmem); objs.resize(num); for (int i = 0; i < num; i++) objs[num - i - 1] = obj[i]; ObjectEditor::_addObjects(objs.data(), num, use_undo); for (in...
C++
^Q^[ RcQc[ ReCeI RgQg[ RkDkI R^QlQl[ RTHUK RXGXI RdMbS RZJRM RXPRR RXK[RWVRX RZ[V[ RZDRF RZN[V", "Po]GlG R_SkS R_YkY R[Q[Y R_M_[ RbCbK ReMeY RhChK R_MkMk[ RTHUK RXGXI RXPRR RXK[RWVRX R[JRM RZ[V[ RZDRF RZN[V", "Po^OkO R_TdT Rf[l[ RU[Y[ R[Q[Y R^F^O R_P_Z RfPf[ R^FkFkO RlXl[ RTHUK RdCcF RWGXI RaIgK RYNWPRR RgHdK`M...
C++
13 xor x7,x7,x19 # Sigma0(a) xor x19,x9,x13 #endif sw x29,52(x2) # offload to ring buffer add x7,x7,x18 and x19,x19,x8 add x17,x17,x20 # +=K[13] add x7,x7,x19 # +=Maj(a,b,c) add x14,x14,x17 add x7,x7,x17 lw x16,0(x2) # prefetch from ring buffer lbu x31,60(x11) lbu x19,61(x11) lbu x20,62(x11) sll x31...
Assembly
.lib: Iscsidsc.lib req.dll: Iscsidsc.dll req.irql: targetos: Windows req.typenames: req.redist: ms.custom: 19H1 f1_keywords: - ReportActiveIScsiTargetMappingsA - iscsidsc/ReportActiveIScsiTargetMappingsA dev_langs: - c++ topic_type: - APIRef - kbSyntax api_type: - DllExport api_location: - Iscsidsc.dll api_na...
Markdown
.isValid()) { statusStr += ' (expires ' + new Morebits.Date(Twinkle.block.currentBlockInfo.expiry).calendar('utc') + ')'; } let infoStr = 'This form will'; if (sameUser) { infoStr += ' change that block'; if (Twinkle.block.currentBlockInfo.partial === undefined && partialBox) { infoStr += ', convert...
JavaScript
")"; long samplingExpect; System.out.println("expect*samplingRate:" + expect * samplingRate); if (expect * samplingRate <= 1) { samplingExpect = 1; } else { samplingExpect = (long) (expect * samplingRate); } QueryResp query = milvusClientV2.query(...
Java
userPixel/syncOne?id=2&of=2&gdpr=0&gdprstr='] } }, { name: 'with pixels and gdpr and ccpa on', arguments: [{ pixelEnabled: true }, {}, {gdprApplies: true, consentString: '234234'}, 'YN12'], expect: { type: 'image', pixels: ['https://usr.undertone.com/userP...
JavaScript
using System; namespace Compress.Support.Compression.LZ { internal class InWindow { public Byte[]? _bufferBase = null; // pointer to buffer with data System.IO.Stream? _stream; UInt32 _posLimit; // offset (from _buffer) of first byte when new block reading must be done bool _str...
C#
/* Copyright (C) 2006 Charlie C * * 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 software for any purpose, * including commercial applica...
C
y ul li.selected,.easy-autocomplete.eac-funky ul .eac-category.selected{color:#8907ED}.easy-autocomplete.eac-solid input{box-shadow:0 1px 2px rgba(0,0,0,0.15) inset;border-color:#ddd;color:#666;font-size:13px;min-height:0;padding:6px 12px}.easy-autocomplete.eac-solid ul li,.easy-autocomplete.eac-solid ul .eac-category{...
CSS
return new OrcCastle(); } @Override public King createKing() { return new OrcKing(); } @Override public Army createArmy() { return new OrcArmy(); } } ``` اب ہمارے پاس ایک تجریدی کارخانہ ہے جو ہمیں متعلقہ اشیاء کا ایک خاندان بنانے دیتا ہے یعنی ایلون کنگڈم فیکٹری ایلوین قلعہ، بادشاہ اور فو...
Markdown
进行欺诈的彻底的零容忍,而不是相关的当事人的严重违纪。 其项目内容存在部分工作量,但是其进行了夸大,并且故意隐藏其借用Python的代码的事实。这体现了社会压力对于学术道德的约束。 ## 总结分析 为何信息产业国产化相关的学术造假一再发生, 为了回答这个问题,首先需要分析为什么世界范围内其他国家没有这种类型学术造假? 原因是显然易见的,那就是只有我国政府对于信息产业的国产化展现出从上到下的执着,所以部分科研从事者试图从中攫取不当的利益。 然而,信息产业的部分领域门槛高,收益少,难以见效,而政府表现出来的过于急切,对于部分领域的难度缺乏清晰的认识,这种情况下,来自于高层的压力可能让部分科研人员产生试图蒙混过关的想法。 从红芯浏览器事...
Markdown
73D21093D11840EA2A015E541C0ADAD44EFE92F3C1F83C", "message": "E0D8D4E9D681E65A594A51CCB8F60ABDC20C82B215973A7FBF83B9379E196C85D482264607E520F6941739B6488D7B5377054852AF0BE9061EDCCFF6787B7192009A5A344A82C20A5F31BEFE9D595B8E7A32B20FAC6D1F2EB670C8CAF07F285316D70FA31CF5852A15F4C0CF399F77E6A6BF75A0CE876A103E762AD...
Dart
#nullable disable using System.Runtime.Caching; namespace VocaDb.Tests.TestSupport; public class FakeObjectCache : ObjectCache { public override bool Add(string key, object value, DateTimeOffset absoluteExpiration, string regionName = null) { return true; } public override bool Add(string key, object value, C...
C#
] as String?, modelSize: json['modelSize'] as double?, quantization: json['quantization'] as String?, updatedAt: json['updatedAt'] as String?, tags: HF.list(json['tags'] ?? []).map((e) => e.toString()).toList(), socLimitations: socLimitations, unsupportedSocBrand: unsupportedSocBrand...
Dart
self.inWarterTime + dt; else return 1; end else self.inWarterTime = 0; end if( self.inWarterTime>1 ) then return 1; end return 0; end ----------------------------------------------------------------------------------------------------- -- check if AI can use the vehicle function VC:FreeToUse( ) ...
Lua
,4294964719,6,0"`}, }, { // CALL self-destructing contract code: []byte{ // outsize, outoffset, insize, inoffset byte(vm.PUSH1), 0, byte(vm.PUSH1), 0, byte(vm.PUSH1), 0, byte(vm.PUSH1), 0, byte(vm.PUSH1), 0, // value byte(vm.PUSH1), 0xaf, //address byte(vm.GAS), // gas byte(vm.CALL), ...
Go
originalLecture.setVisibleDate(updatedDate); originalLecture.setStartDate(updatedDate); originalLecture.setEndDate(updatedDate); String editedChannelName = "edited-lecture-channel"; // create channel with same name conversationUtilService.createCourseWideChannel(originalLectur...
Java
case"hidden":{for(var D=c.tail,C=null;D!==null;)D.alternate!==null&&(C=D),D=D.sibling;C===null?c.tail=null:C.sibling=null;break}case"collapsed":{for(var O=c.tail,z=null;O!==null;)O.alternate!==null&&(z=O),O=O.sibling;z===null?!d&&c.tail!==null?c.tail.sibling=null:c.tail=null:z.sibling=null;break}}}function tv(c,d,D){va...
JavaScript
/* * SemiPrep2k.h * */ #ifndef PROTOCOLS_SEMIPREP2K_H_ #define PROTOCOLS_SEMIPREP2K_H_ #include "SemiPrep.h" #include "RepRingOnlyEdabitPrep.h" /** * Preprocessing for additive secret sharing modulo a power of two */ template<class T> class SemiPrep2k : public SemiPrep<T>, public RepRingOnlyEdabitPrep<T> { ...
C
s_emb: output['res_emb'] = res_emb if return_attention_map: output['attention_map'] = pair_atten # Residue-level prediction if return_res_pred: res_pred = self.res_pred_nn(res_emb) for feature in self.res_feature_idx: if feature ==...
Python
tran.isra.0 ldr w0, [x29, 104] cmp w0, 3 bls .L379 mov w0, -1 str w0, [x19] .L380: add x19, x19, 32 b .L376 .L379: ldr x20, [x19, 8] adrp x26, .LANCHOR110 tst x20, 63 beq .L381 ldr x20, [x26, #:lo12:.LANCHOR110] .L381: adrp x22, .LANCHOR77 add x22, x22, :lo12:.LANCHOR77 ldr w1, [x29, 108] mov x2, x20 l...
Assembly
.447em 0.005em 0; content: "t"; } mjx-c.mjx-c1D42E.TEX-B::before { padding: 0.45em 0.639em 0.006em 0; content: "u"; } mjx-c.mjx-c1D42F.TEX-B::before { padding: 0.444em 0.607em 0 0; content: "v"; } mjx-c.mjx-c1D430.TEX-B::before { padding: 0.444em 0.831em 0 0; content: "w"; } mjx-c.mjx-c1D431.TEX-B::be...
CSS
.back-home,.vco-storyjs .time-interval div,.vco-storyjs .time-interval-major div,.vco-storyjs .nav-container{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important;} .vco-storyjs h1.date,.vco-storyjs h2.date,.vco-storyjs h3.date,.vco-storyjs h4.date,.vco-storyjs h5.date,.vco-storyjs h6.date{font-family:"He...
CSS