content
stringlengths
2
6.21k
label
stringclasses
16 values
rams.name, "name", "", "user name") createUserCmd.Flags().StringVar(&userParams.email, "email", "", "user email") createUserCmd.Flags().StringVar(&userParams.password, "password", "", "user password") createUserCmd.Flags().StringVar(&userParams.maxFileSize, "max-file-size", "", "user max file size") createUserCmd.F...
Go
otbarStack?.item) || !isStackUseful( hotbarStack, stacks, strictlyBest = true ) ) { sortableTo = hotbarIndex sortBla...
Kotlin
image_atomic_smax v4, v192, s[28:35] dmask:0x1 unorm ; encoding: [0x00,0x11,0x58,0xf0,0xc0,0x04,0x07,0x00] image_atomic_umin v4, v192, s[28:35] dmask:0x1 unorm // GFX90A: image_atomic_umin v4, v192, s[28:35] dmask:0x1 unorm ; encoding: [0x00,0x11,0x54,0xf0,0xc0,0x04,0x07,0x00] image_atomic_umax v4, v192, s[28:35] dma...
Assembly
/* serpent-sse2-amd64.S - SSE2 implementation of Serpent cipher * * Copyright (C) 2013-2015 Jussi Kivilinna <jussi.kivilinna@iki.fi> * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * publ...
Assembly
Key for the values removed in a [CrdtOperation]. */ const val REMOVED = "removed" /** Json Key for the old versionMap in a [FastForward] operation. */ const val OLD_VERSION_MAP = "oldVersionMap" /** Json key for the versionmap. */ const val VERSION_MAP = "versionMap" /** Json key for the typ...
Kotlin
#ifndef GUARD_POKEMON_STORAGE_SYSTEM_H #define GUARD_POKEMON_STORAGE_SYSTEM_H #include "global.h" #include "pokemon.h" #define TOTAL_BOXES_COUNT 14 #define IN_BOX_ROWS 5 // Number of rows, 6 Pokémon per row #define IN_BOX_COLUMNS 6 // Number of columns, 5 Pokémon per column #define IN_BOX_C...
C
import os.path import matplotlib.pyplot as plt from Utils.GroupClassification import groupLabeling import numpy as np from Utils.Conf import DOUBLE_SUMMARY_FEATURES_PATH, DOUBLE_SUMMARY_FILE_PATH, features_explanation from Double.GlobalFeaturesReader import GlobalDoubleFeaturesReader import pandas as pd import pymc a...
Python
LICENSE-2.0>. */ package com.t8rin.imagetoolboxlite.core.filters.presentation.model import android.graphics.Bitmap import com.t8rin.imagetoolboxlite.core.filters.domain.model.Filter import com.t8rin.imagetoolboxlite.core.resources.R class UiCGAColorSpaceFilter : UiFilter<Unit>( title = R.string.cga_colorspace,...
Kotlin
titlebar { border-radius: 0; } .webform-off-canvas .fieldset__label { padding-right: 1rem; padding-left: 1rem; } .webform-off-canvas .fieldset__label--group { padding: 0; } .webform-off-canvas .fieldset__wrapper, .webform-off-canvas .claro-details__wrapper { margin: 1rem; } .webform-off-canvas .fieldset__...
CSS
right: 0; width: 100%; height: 100%; z-index: 10; background: #000; opacity: 0.8; } #loading-animation { width: 40px; height: 40px; background-color: rgb(33, 150, 243); margin: 100px auto; -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out; animation: sk-rotateplane 1.2s in...
CSS
i = 0; i < operands.size(); ++i) { auto operand = operands[i]; auto eltType = cast<VectorType>(operand.getType()).getElementType(); auto expandedType = VectorType::get(expandedShape, eltType); expandedOperands[i] = builder.create<vector::ShapeCastOp>(expandedType, operand); } } ...
C++
lobl SharedStub .type SharedStub,@function SharedStub: stwu sp,-112(sp) # room for # linkage (8), # gprData (32), # fprData (64), # stack alignment(8) mflr r0 stw r0,116(sp) # save LR backchain stw r4,12(sp) # save GP registers stw r5,16(sp) # (n.b. that we don't...
Assembly
n" "HEX: #%02X%02X%02X\n" "RGB: [%3d,%3d,%3d]\n(%.2f, %.2f, %.2f)", cr, cg, cb, cr, cg, cb, picked_color.x, picked_color.y, picked_color.z); ...
C++
"},"contextmenu":{"options":"Uznirstošās izvēlnes uzstādījumi"},"button":{"selectedLabel":"%1 (Selected)"},"toolbar":{"toolbarCollapse":"Aizvērt rīkjoslu","toolbarExpand":"Atvērt rīkjoslu","toolbarGroups":{"document":"Dokuments","clipboard":"Starpliktuve/Atcelt","editing":"Labošana","forms":"Formas","basicstyles":"Pama...
JavaScript
text_trigger_case_sensitive BOOL NOT NULL, time_trigger_interval INT NOT NULL, time_trigger_excluding_days SMALLINT[] NOT NULL, time_trigger_excluding_hours SMALLINT[] NOT NULL, last_run TIMESTAMP WITH TIME ZONE, next_run TIMESTAMP WITH TIME ZONE, responses TEXT[] NOT NULL, channels BIGINT[], channels_white...
Go
closed shape must have at least 3 points in %s, block #%d", loadingAssetFname, i + 1); else if (!loft.closed && shape.size() < 2 && !loft.makeDelaunayPtCloud) DAEDITOR3.conError("error: non-closed shape must have at least 2 points in %s, block #%d", loadingAssetFname, i + 1); else if (!loft.closed ...
C++
EMARK) configureName(R.id.layout_manufacturer, nameTable, MANUFACTURER) configureName(R.id.layout_designer, nameTable, DESIGNER) configureName(R.id.layout_description, nameTable, DESCRIPTION) configureName(R.id.layout_vendor_url, nameTable, VENDOR_URL) configu...
Kotlin
, but * only if the browser's implementation of WebGL supports antialiasing. * * If [depth] is `true`, then the context has a depth buffer of at least 16 * bits. * * If [premultipliedAlpha] is `true`, then the context's colors are assumed to * be premultiplied. This means that color values are assumed to have b...
Dart
!currentIdentityVal.RawEquals(newIdentityVal) { resp.Diagnostics = convert.AppendProtoDiag(ctx, resp.Diagnostics, fmt.Errorf("Unexpected Identity Change: %s", "During the read operation, the Terraform Provider unexpectedly returned a different identity then the previously stored one.\n\n"+ "This is always a pro...
Go
ax=ax, orientation="vertical", format="%+2.0f dB", cax=cax, ) librosa.display.specshow( spectrogram_db, sr=sample_rate, hop_length=num_samples_between_frames, x_axis="time", y_axis="mel"...
Python
_minor(dev: u64) -> u64 { unsafe { libc::minor(dev as libc::dev_t) as u64 } } } } // Aligns with most filesystem sparse boundaries. const SPARSE_COPY_BUF_SZ: usize = 4096; // Copy data from a reader into a file while using seek on runs of zeros // to encourage the OS to create a sparse file. ...
Rust
* public static void main(String[] args) { * Pulumi.run(App::stack); * } * * public static void stack(Context ctx) { * final var ids = EcpFunctions.getKeyPairs(GetKeyPairsArgs.builder() * .build()); * * ctx.export("ecpKeyPairId...
Java
topengl_Smoke->classes[i].className)); } for (int i = 1; i <= qtnetwork_Smoke->numClasses; i++) { if (qtnetwork_Smoke->classes[i].className && !qtnetwork_Smoke->classes[i].external) rb_ary_push(class_list, rb_str_new2(qtnetwork_Smoke->classes[i].className)); } for (int i = 1; i <= qtsvg_Smoke->numClasses; i+...
C++
déjà configuré # Retour au mode User SRET_T # Retourne au mode User et saute à l'adresse dans sepc_t # Code exécuté en mode User (U-mode) user_code: # Boucle d'attente - dans un système réel, une interruption timer pourrait survenir ici LUI R1, 0 ADDI R...
Assembly
//============================================================================= // Copyright (C) 2002 Radical Entertainment Ltd. All rights reserved. // // File: .h // // Description: Blahblahblah // // History: 02/05/2002 + Created -- NAME // //==============================================================...
C
0Oo reason: collision with root package name */ public final boolean f1241OooO0Oo; /* renamed from: OooO0o0 reason: collision with root package name */ public final int f1242OooO0o0; public o0000(Uri uri, int i, int i2, boolean z, int i3) { uri.getClass(); this.f1238OooO00o = uri; ...
Java
embrane.png", flags = {"goes-to-main-inventory"}, subgroup = "dytech-nuclear-intermediates", order = "03", stack_size = 1 }, { type = "item", name = "cobalt-membrane", icon = "__MAIN-DyTech-Power__/graphics/nuclear-reactor/icons/membranes/cobalt-membrane.png", flags = {"goes-to-main-inventory"}, subgroup =...
Lua
0, 0, 0, 0.06)); } hr.solid { background: rgba(0, 0, 0, 0.06); } hr.light { background: rgba(255, 255, 255, 0.15); } hr.invisible { background: none; } .divider { border: 0; height: 1px; margin: 44px auto; background: rgba(0, 0, 0, 0.06); text-align: center; position: relative; clear: both; } .divider.ta...
CSS
on, "downloadURL": asset.DownloadUrl, }).Info("asset found") } downloads <- NexusDownloadRequest{ Repo: r.Name, Component: c.Name, Version: c.Version, DownloadURL: asset.DownloadUrl, AssetPath: asset.Path, } } } } close(downloads) wg.Wait() retu...
Go
} } import 'dart:ui'; import 'package:flame/anchor.dart'; import 'package:flame/animation.dart'; import 'package:flame/components/component.dart'; import 'package:flame/components/mixins/has_game_ref.dart'; import 'package:flame/components/mixins/resizable.dart'; import 'package:flame/flame.dart'; import 'package:fla...
Dart
// Copyright (c) 2020-present, ByteDance, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merg...
C
.823-.188V47.6q0-4.038-1.738-5.964t-5.552-1.923a22.6 22.6 0 0 0-9.706 2.63l-1.6-3.977a24.4 24.4 0 0 1 5.557-2.16 24 24 0 0 1 6.058-.783q6.136 0 9.1 2.724t2.959 8.735V70.3Zm-11.741-3.663a10.55 10.55 0 0 0 7.626-2.66 9.85 9.85 0 0 0 2.771-7.451v-3.1l-5.2.219q-6.2.219-8.939 1.926a5.8 5.8 0 0 0-2.74 5.306 5.35 5.35 0 0 0 1...
JavaScript
if (mode.equals(CanvasProfileConstants.Mode.SCALES.getValue())) { return Mode.SCALE_MODE; } else if (mode.equals(CanvasProfileConstants.Mode.FILLS.getValue())) { return Mode.FILL_MODE; } return null; } } package org.deviceconnect.android.deviceplugin.host.recorder; ...
Java
009-7.161 16.009-16.011C960.979 646.999 953.817 639.838 944.97 639.838z" ></path></symbol><symbol id="icon-clipboard" viewBox="0 0 1024 1024"><path d="M928 128l-288 0c0-70.688-57.312-128-128-128s-128 57.312-128 128l-288 0c-17.664 0-32 14.336-32 32l0 832c0 17.664 14.336 32 32 32l832 0c17.664 0 32-14.336 32-32l0-832c0-1...
JavaScript
u.Password, _ = rawUrl.User.Password() u.Host = rawUrl.Hostname() u.Port = rawUrl.Port() u.Root = rawUrl.Path } else { type _url Url // avoid recursion wrapped := (*_url)(u) if err = value.Decode(wrapped); err != nil { return err } } u.sanitize() if errors := u.validate(); len(errors) > 0 { er...
Go
lly generated and should be regarded as a code template only. /// It will require modifications to work: /// - It may require correct/in-range values for request initialization. /// - It may require specifying regional endpoints when creating the service client as shown in /// https://...
C#
l.bg_radius > 0: content_bg_color = 1 else: content_bg_color = torch.rand_like(content_images[..., :3]) if C == 4: gt_rgb = content_images[..., :3] * content_images[..., 3:] + content_bg_color * (1 - content_images[..., 3:]) else: gt_rgb = content...
Python
max - send an open self.reply_tx .send(AsyncSinkReply::CB(cf_data.clone(), CbAction::Restore)) .await?; } Ok(()) } } /// ensures that we subtract 1 from the counter once this drops pub(crate) struct CounterGuard(usize, ConcurrencyCap, ContraflowData); i...
Rust
e(quad.Point3, color1, new Vector2(textureCoord.Offset.X + textureCoord.Size.X * 0.5f, textureCoord.Offset.Y + textureCoord.Size.Y * 0.75f))); // poly.Finish(); // m_polygons.Add(poly); // m_quadsCount++; // } // } // // Add textured billboard qua...
C#
d to add error handling code here, if PPS is not available //assert(pps!=0); sps := parameterSetManager.GetSPS(pps.GetSPSId()) //!KS: need to add error handling code here, if SPS is not available //assert(sps!=0); rpcSlice.SetSPS(sps) rpcSlice.SetPPS(pps) if pps.GetDependentSliceSegmentsEna...
Go
public class ChannelServiceImpl implements ChannelService { private static final Logger logger = LoggerFactory.getLogger(ChannelServiceImpl.class); private SystemParameterService systemParameterService; private ArbitrateManageService arbitrateManageService; private TransactionTemplate transacti...
Java
} .woocommerce-error a, .woocommerce-info a, .woocommerce-message a, .lost_password a { color: var(--color-default); } .woocommerce-error a:hover, .woocommerce-info a:hover, .woocommerce-message a:hover, .lost_password a:hover { text-decoration: underline; } .woocommerce-error, .woocommerc...
CSS
_extended"), PLAYER_SLEEP_TIMER_CANCELLED("player_sleep_timer_cancelled"), PLAYER_SLEEP_TIMER_RESTARTED("player_sleep_timer_restarted"), PLAYER_SLEEP_TIMER_SETTINGS_TAPPED("player_sleep_timer_settings_tapped"), /* Player - Playback effects */ PLAYBACK_EFFECT_SETTINGS_VIEW_APPEARED("playback_effect_...
Kotlin
...partialOptions?.orderBy, createdAt: QueryOrder.DESC, _id: QueryOrder.DESC, }, }, ); const hasNextPage = records.length > args.limit; return { pageInfo: { hasNextPage, ...
Typescript
/* * lm32 JTAG monitor * * Copyright (C) 2009 by Michael Walle <michael@walle.cc> * Loosly based on Jon Beniston's LatticeMico32 JTAG monitor. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foun...
Assembly
://paddledet.bj.bcebos.com/deploy/yoloseries/yolov5/yolov5_n_300e_coco_w_nms.onnx) &#124; [( w/o nms)](https://paddledet.bj.bcebos.com/deploy/yoloseries/yolov5/yolov5_n_300e_coco_wo_nms.onnx) | | YOLOv5-s | 640 | [( w/ nms)](https://paddledet.bj.bcebos.com/deploy/yoloseries/yolov5/yolov5_s_300e_coco_w_nms.zip) &#124...
Markdown
i r30, r1, 0x4c /* 80198688 001942E8 1C 00 00 2C */ mulli r0, r0, 0x2c /* 8019868C 001942EC 3B 80 00 00 */ li r28, 0 /* 80198690 001942F0 7F DE 02 14 */ add r30, r30, r0 /* 80198694 001942F4 48 00 00 3C */ b lbl_801986D0 lbl_80198698: /* 80198698 001942F8 57 80 0D FC */ rlwinm r0, r28, 1, 0x17, 0x1e /* 8019869C 00...
Assembly
points[(i_0 + 1) % 3] + 0.3333333333333333 * ypoints[i_0]; } ps = initDim(_3Lnet_gnehzr_tnoodle_svglite_Path_2_classLit, makeCastMap([Q$Serializable, Q$Object_$1]), Q$Path, 9, 0); for (i_0 = 0; i_0 < ps.length; ++i_0) { ps[i_0] = new Path_0; } center = new Point2D$Double_0(((xs[0] * ys[4] - ys[0] * xs[4])...
JavaScript
tooltip: 'Increment', child: const Icon(Icons.add), ), // This trailing comma makes auto-formatting nicer for build methods. ); } } import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; import 'external_path_provider_platform_interface.dart'; /// An implementati...
Dart
1().Deployments(namespace).Get(context.TODO(), node.NodeName, metav1.GetOptions{}) Expect(err).NotTo(HaveOccurred()) } }) It("restores states", func() { for _, node := range orderer1nodes { dep, err = kclient.AppsV1().Deployments(namespace).Get(context.TODO(), node.NodeName, metav1.GetOpt...
Go
.nav-link.a-line::before, .btn.a-line::before { bottom: .5rem; } .a-line:hover::before { border-bottom-color: inherit; } .a-line-animate-1::before { width: 0; opacity: 0; } .a-line-animate-1:hover::before { width: 100%; opacity: 1; } .a-line-animate-2::before { transform: scaleX(0); opacity: 0; } .a-li...
CSS
trail.DescribeQueryOutput, error) { ret := _m.Called(_a0) var r0 *cloudtrail.DescribeQueryOutput var r1 error if rf, ok := ret.Get(0).(func(*cloudtrail.DescribeQueryInput) (*cloudtrail.DescribeQueryOutput, error)); ok { return rf(_a0) } if rf, ok := ret.Get(0).(func(*cloudtrail.DescribeQueryInput) *cloudtrail....
Go
J, // const ParameterIndexArrayType & D1indices, // const ParameterIndexArrayType & D2indices_M, // const ParameterIndexArrayType & D2indices_J, const NonZeroJacobianIndicesType & D1indices, ...
C
engine_t *engine, resource_mapper_t &mapper) const override { if (mapper.has_resource(this)) return status::success; auto r = utils::make_unique<acl_resource_t>(); if (!r) return status::out_of_memory; // Configure the resource based on information from primitive descriptor CHE...
C++
anga247", overrideVersionCode = 1), SingleLang("365Manga", "https://365manga.com", "en", className = "ThreeSixtyFiveManga", overrideVersionCode = 1), SingleLang("Adonis Fansub", "https://manga.adonisfansub.com", "tr", overrideVersionCode = 1), SingleLang("Adult Webtoon", "https://adultwebtoon.co...
Kotlin
] } ] } ] } ] } } ``` ## 2.4外部表格识别-上传 #### 接口名称 119.23.70.60:9020/draw/draw/checkTable POST #### 入参Body | 名称 | 类型 | 是否必传 | 备注 | | ------------- | --------------- | -------- | -------------------...
Markdown
; // TODO: Additional events. if (write_set && FD_ISSET(k, write_set)) ev.events |= EPOLLOUT; // TODO: Additional events. if (except_set && FD_ISSET(k, except_set)) ev.events |= EPOLLPRI; if (!ev.events) continue; ev.data.u32 = k; if (epoll_ctl(fd, EPOLL_CTL_ADD, k, &ev)) return -1; } struct ...
C++
/* $NetBSD: pause.c,v 1.11 2012/06/24 15:26:03 christos Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met...
C
onsBuilder.UseSqlServer(Instance.MainConnection) .EnableSensitiveDataLogging() .LogTo(new DbContextToFileLogger().Log, new[] { DbLoggerCategory.Database.Command.Name }, LogLevel.Information); protected override void OnModel...
C#
, r3 str r3, [r6, #156] ldrh r2, [r5, #4] add r2, r2, #1 and r2, r2, #63 strh r2, [r5, #4] @ movhi bne .L172 ldrh lr, [r5, #8] mov r0, #12 ldr ip, [r6, #156] ldrh r3, [r5, #6] ldr r1, .L239+4 str lr, [sp] str ip, [sp, #4] bl dprint_vfmw ldr r3, [r8] cmp r3, #20 ldrls pc, [pc, r3, asl #2] b .L198 .L176...
Assembly
Reply( locale["commands.userDoesntHavePermissionDiscord", required], Constants.ERROR ) ) return true } } if (context.isPrivateChannel && !command.canUseInPrivateChannel) { context.reply( LorittaReply( message = locale["commands.cantUseInPrivate"], ...
Kotlin
TREE_HASH_HEADER).unwrap(), "3d417484359fc9f5a3bafd576dc47b8b2de2bf2d4fdac5aa2aff768f2210d386" ); } } <reponame>spotlease/stripe-rust use reqwest::Method; use crate::models::{Charge, ChargeCreateParams, ChargeUpdateParams, ChargeListParams}; use crate::request::{Request, SimpleRequest}; use re...
Rust
clude "testprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif // WX_PRECOMP #if wxUSE_FONTMAP #include "wx/font.h" #include "asserthelper.h" // ---------------------------------------------------------------------------- // test class // -----------------------...
C++
String() => Colors.grey, }; String taskLabelFromStatusString( String status, BuildContext context, ) => switch (status) { 'OPEN' => context.messages.taskStatusOpen, 'GROOMED' => context.messages.taskStatusGroomed, 'IN PROGRESS' => context.messages.taskStatusInProgress, 'BLOCKED' => ...
Dart
center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#dee0e2}.tox div.tox-swatch:not(.tox-swatch--remove) svg{displ...
CSS
from numpy.testing import IS_WASM, IS_EDITABLE import pytest if IS_WASM: pytest.skip( "WASM/Pyodide does not use or support Fortran", allow_module_level=True ) if IS_EDITABLE: pytest.skip( "Editable install doesn't support tests with a compile step", allow_module_level=Tru...
Python
---@field isSystemKey? boolean Whether the event was a system key event (default: false). ---@field location? integer Whether the event was from the left or right side of the keyboard. 1=Left, 2=Right (default:<br>0). ---@field commands? string[] Editing commands to send with the key event (e.g., 'selectAll') (default:...
Lua
jar com.chemaxon-jchem-sql-utils.jar com.chemaxon-jchem-utils.jar com.chemaxon-jep.jar com.chemaxon-jklustor.jar com.chemaxon-libmcs.jar com.chemaxon-license.jar com.chemaxon-markush-gui-old.jar com.chemaxon-markush-tools.jar com.chemaxon-marvin-app.jar com.chemaxon-marvin-gui.jar com.chemaxon-marvin-services-gui.jar c...
Markdown
1]: x = block(x, hw_shape) x = layer[2](x) x = nlc_to_nchw(x, hw_shape) if i in self.out_indices: outs.append(x) return outs @BACKBONES.register_module() class PyramidVisionTransformerV2(PyramidVisionTransformer): """Implementation of `P...
Python
, random_seed: Option<[u32; 4]> ) { let clients_to_run = clients.len(); static WRITERS_READY: AtomicUsize = ATOMIC_USIZE_INIT; static READERS_READY: AtomicUsize = ATOMIC_USIZE_INIT; let start = Instant::now(); let joins: Vec<_> = clients.drain(..).enumerate().map(|(client_num, handle)| { ...
Rust
ults.fetch_all() # Convert the results into Volts I1, Q1 = u.demod2volts(I1, readout_len), u.demod2volts(Q1, readout_len) I2, Q2 = u.demod2volts(I2, readout_len), u.demod2volts(Q2, readout_len) # Progress bar progress_counter(n, n_avg, start_time=results.start_time) # Plo...
Python
/* * linux/include/linux/netfilter/xt_IDLETIMER.h * * Header file for Xtables timer target module. * * Copyright (C) 2004, 2010 Nokia Corporation * * Written by Timo Teras <ext-timo.teras@nokia.com> * * Converted to x_tables and forward-ported to 2.6.34 * by Luciano Coelho <luciano.coelho@nokia.com> * * Con...
C
Visible()) { col.fireMoved(); } } } void handlePacked(final GridColumn column) { int index = 0; if (getHorizontalBar() != null) { if (!getHorizontalBar().isVisible()) { index = displayOrderedColumns.indexOf(column); } } for (; index < displayOrderedColumns.size(); index++) { final Gri...
Java
.304.946 1.894 1.263 1.866 3.286 3.044 6.18 3.297 3.115.273 5.498-.171 7.11-1.707.439-.418.792-.89 1.078-1.404l.329.74v13.327c-.163.092-.353.197-.57.312a35.236 35.236 0 01-3.576 1.647C32.809 39.811 28.627 41 24 41c-4.627 0-8.81-1.189-11.854-2.395a35.236 35.236 0 01-3.577-1.647c-.216-.115-.406-.22-.569-.312V23.318l.329-...
Dart
ss: revertToFooter.ss, } for cName, childFooter := range revertToFooter.ChildFooters { newChildFooter, err := s.revertToSnapshot(childFooter, options) if err != nil { footer.DecRef() return nil, err } if len(footer.ChildFooters) == 0 { footer.ChildFooters = make(map[string]*Footer) } f...
Go
Message()); } } @Override public void modifyPrivate(ProgramDB program) { try { SymbolTable symtab = program.getSymbolTable(); Namespace secondNamespace = (Namespace) getUniqueSymbol(program, "SecondNamespace", program.getGlobalNamespace()).getObject(); secondNamespace.getSymbol()....
Java
#ifndef __EVIL_STDIO_H__ #define __EVIL_STDIO_H__ /** * @file evil_stdio.h * @brief The file that provides functions ported from Unix in stdio.h. * @defgroup Evil_Stdio_Group Stdio.h functions * @ingroup Evil * * This header provides functions ported from Unix in stdio.h. * @{ */ /** * @brief Emulate the r...
C
_base = blkno_buf; srciov[0].iov_len = blocksize; dstiov[1].iov_len = secsize; srciov[1].iov_len = secsize; for (; len > 0; len -= secsize) { dstiov[1].iov_base = dst; srciov[1].iov_base = src; memset(blkno_buf, 0x0, blocksize); blkno2blkno_buf(blkno_buf, blkno); if (dir == CGD_CIPHER_DECRYPT) { d...
C
, msg, __LINE__) ); //create the camera interface switch( m_type ) { case CamModel::ETHERNET: m_Interface = std::shared_ptr<ICamIo>( new AspenEthernetIo( deviceAddr ) ); break; case CamModel::USB: m_Interface = std::shared_ptr<ICamIo>( new AspenUsbIo( de...
C++
应用到本地漏洞管理过程中,本地和云端联动,可具备最新最全的动态更新的漏洞资产分类能力,满足运营者在漏洞生命周期管理过程中多角色、多部门分权分责协同的需要。 **操作系统及其漏洞分类** 操作系统从20世纪40年代的批处理系统起步,历经DOS时代的文本界面、图形界面的兴起与完善,到Windows、Mac OS X等桌面系统的成熟,以及移动互联网时代iOS、Android等移动操作系统的崛起,不断推动着计算机技术与人机交互方式的变革。随着万物互联、云计算、人工智能等技术的发展,操作系统正朝着更加智能、安全、跨平台融合的方向演进,更注重多设备协同、分布式计算和隐私保护。 操作系统类型的日益丰富和复杂,为安全漏...
Markdown
id == nil)) then DEFAULT_CHAT_FRAME:AddMessage("|CFF00FF00CS_AddOnOrganizer|r - |CFFFF0000DELETED ID#"..id.."!|r"); table.remove(CS_AddOnOrganizer_Profiles,id); if(table.getn(CS_AddOnOrganizer_Profiles) == 0) then CS_AddOnOrganizer_Profiles = {}; id=nil; end end end
Lua
000 /* 00154 808A98D4 17000002 */ bne $t8, $zero, .L808A98E0 /* 00158 808A98D8 00000000 */ nop /* 0015C 808A98DC A61900B4 */ sh $t9, 0x00B4($s0) ## 000000B4 .L808A98E0: /* 00160 808A98E0 0C01DE0D */ jal Math_Coss ## coss? /* 00164 808A98E4 860400B4 */ lh $a0, 0x00B4($...
Assembly
应当依照规定把扫除妇女中的文盲、半文盲工作,纳入扫盲和扫盲后继续教育规划,采取符合妇女特点的组织形式和工作方法,组织、监督有关部门具体实施。 第二十条 各级人民政府和有关部门应当采取措施,根据城镇和农村妇女的需要,组织妇女接受职业教育和实用技术培训。 第二十一条 国家机关、社会团体和企业事业单位应当执行国家有关规定,保障妇女从事科学、技术、文学、艺术和其他文化活动,享有与男子平等的权利。 ## 第四章 劳动和社会保障权益 第二十二条 国家保障妇女享有与男子平等的劳动权利和社会保障权利。 第二十三条 各单位在录用职工时,除不适合妇女的工种或者岗位外,不得以性别为由拒绝录用妇女或者提高对妇女的录用标准。 各单位在录用女职工时...
Markdown
","btnReplaceAll":"Tümünü Değiştir","btnUndo":"Geri Al","changeTo":"Şuna değiştir:","errorLoading":"Uygulamada yüklerken hata oluştu: %s.","ieSpellDownload":"Yazım denetimi yüklenmemiş. Şimdi yüklemek ister misiniz?","manyChanges":"Yazım denetimi tamamlandı: %1 kelime değiştirildi","noChanges":"Yazım denetimi tamamland...
JavaScript
04_02206C98 ldr r1, _022070FC ; =ov04_0221176C mov r2, #0 strb r2, [r1, r0] ldr r1, [sp, #0x2c] ldr r0, _02207100 ; =ov04_022117B0 mov r2, #0x10 bl ov04_02206C98 ldr r1, _02207100 ; =ov04_022117B0 mov r2, #0 strb r2, [r1, r0] bl ov04_02208320 cmp r0, #0 beq _02207040 bl ov04_0220837C cmp r0, #0 beq _022...
Assembly
!! int __sigsetjmp (jmp_buf __env, int __savemask) !! Store the calling environment in ENV, also saving the !! signal mask if SAVEMASK is nonzero. Return 0. !! This is the internal name for `sigsetjmp'. .global ___sigsetjmp .type ___sigsetjmp,function ___sigsetjmp: ___sigsetjmp1: !! Save A0/A...
Assembly
imalVirtProperty => 10M; } public class WaybillIn : WaybillBase { public DateTime DateBegin { get; set; } public DateTime DateEnd { get; set; } public string Note { get; set; } } /// <summary> /// Class only for creating the table and population it with data. /// ...
C#
Convert file:/// URLs to paths in Node if (!isBrowser) newMsg = newMsg.replace(isWindows ? /file:\/\/\//g : /file:\/\//g, ''); var ErrorType = err.constructor || Error; var newErr = errArgs ? new ErrorType(newMsg, err.fileName, err.lineNumber) : new ErrorType(newMsg); // Node needs stack adjustm...
JavaScript
p); if (err < 0) break; if (copy_from_user(&smi, p, sizeof(smi))) err2 = -EFAULT; else if (version == IPC_64) err2 = put_compat_shminfo64(&smi, uptr); else err2 = put_compat_shminfo(&smi, uptr); if (err2) err = -EFAULT; break; case IPC_SET: if (version == IPC_64) { err = get_compat_s...
C
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgI...
CSS
{ let mut runtime = Builder::new() .name_prefix("main-") .build() .map_err(|e| format!("{:?}", e))?; // Log configuration info!(log, "Listening on {:?}", &config.net_conf.listen_addresses; "data_dir" => &config.data_dir.to_str(), "port" => &config.net_conf.liste...
Rust
warning"}),null!==(a=e.info)&&void 0!==a&&a.disabled_reason?[{name:e.localize("entry.messages.disabled.title"),secondary:e.localize(`entry.messages.disabled.${null===(r=e.info)||void 0===r?void 0:r.disabled_reason}.title`),info:e.localize(`entry.messages.disabled.${null===(l=e.info)||void 0===l?void 0:l.disabled_reason...
JavaScript
Date(); tabStartTimes[tabId] = startTime; tabTitles[tabId] = tab.title || "Unknown"; console.log(`🌐 Entered: ${activeTab}`); console.log(`📌 Title: ${tabTitles[tabId]}`); console.log(`🕒 Time: ${startTime.toLocaleTimeString()}`); } } chrome.tabs.onActivated.addListener(as...
JavaScript
/ Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // cfnCloudWatchAlarmTemplateProps := &CfnCloudWatchAlarmTemplateProps{ // ComparisonOperator: jsii.String("comparisonOperator...
Go
ng permissions and limitations * under the License. * ****************************************************************************/ /**************************************************************************** * Public Functions ****************************************************************************/ .glob...
Assembly
2, 4633294, 4633296, 4633298, 4633300, 4633302, 4633304, 4633306, 4633308, 4633310, 4633312, 4633314, 4633338, 4633340, 4633342, 4633344, 4633346, 4633348, 4633350, 4633354, 4633356, 4633370, 4633372, 4633374, 4633376, 4633378, 4633382, 4633392, 4634009, 4634011...
Lua
.Create(itemToSave.Item1)) using (var gzip = new DeflateStream(output, CompressionMode.Compress)) { gzip.WriteBytes(Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(itemToSave.Item2))); } await Task.Delay(TimeSpan.FromSeconds(1d)); ...
C#
eryTypes>? /** * Picking features is not currently supported by this imagery provider, so this function simply returns * undefined. * @param [x] The tile X coordinate. * @param [y] The tile Y coordinate. * @param [level] The tile level. * @param [longitude] The longitude at which to p...
Kotlin
should_hflip = torch.rand(self.grid_h, self.grid_w) < 0.5 else: should_hflip = torch.zeros(self.grid_h, self.grid_w, dtype=torch.bool) for i in range(len(datapoint.frames)): datapoint = random_mosaic_frame( datapoint, i, grid_h=sel...
Python
UseMenuFocusProps { localRef: RefObject<HTMLDivElement>; isMenuOpen?: boolean; openedWithArrow?: boolean; setOpenedWithArrow?: (openedWithArrow: boolean) => void; close?: () => void; onOpen?: (focusOnItem: (itemId: number) => void) => void; onClose?: () => void; onKeyDown?: React.KeyboardEventHandler; ...
Typescript