Flutter开发之下标

Flutter开发之下标

在iOS开发中使用下标就很方便,本文主要是记录一下Flutter中系统自带的下标,还可以通过对应的方法编写自己的下标。
Flutter开发之下标

在Objective-C中的下标

关键字Subscript

NSArray
- (ObjectType)objectAtIndexedSubscript:(NSUInteger)idx API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));- (void)setObject:(ObjectType)obj atIndexedSubscript:(NSUInteger)idx API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));

在Swift中的下标

关键字subscript

Array
@inlinable public subscript(index: Int) -> Element@inlinable public subscript(bounds: Range<Int>) -> ArraySlice<Element>@inlinable public subscript<R>(r: R) -> ArraySlice<Element> where R : RangeExpression, Int == R.Bound { get }@inlinable public subscript(x: (UnboundedRange_) -> ()) -> ArraySlice<Element> { get }@inlinable public subscript<R>(r: R) -> ArraySlice<Element> where R : RangeExpression, Int == R.Bound@inlinable public subscript(x: (UnboundedRange_) -> ()) -> ArraySlice<Element>

Dart中的下标

关键字operator

List

abstract interface class List<E> implements Iterable<E>, _ListIterable<E>

对应的下标
  /// The object at the given [index] in the list.////// The [index] must be a valid index of this list,/// which means that `index` must be non-negative and/// less than [length].E operator [](int index);/// Sets the value at the given [index] in the list to [value].////// The [index] must be a valid index of this list,/// which means that `index` must be non-negative and/// less than [length].void operator []=(int index, E value);/// Returns the concatenation of this list and [other].////// Returns a new list containing the elements of this list followed by/// the elements of [other].////// The default behavior is to return a normal growable list./// Some list types may choose to return a list of the same type as themselves/// (see [Uint8List.+]);List<E> operator +(List<E> other);/// Whether this list is equal to [other].////// Lists are, by default, only equal to themselves./// Even if [other] is also a list, the equality comparison/// does not compare the elements of the two lists.bool operator ==(Object other);

Map

abstract interface class Map<K, V>

对应的下标
  /// The value for the given [key], or `null` if [key] is not in the map.////// Some maps allow `null` as a value./// For those maps, a lookup using this operator cannot distinguish between a/// key not being in the map, and the key being there with a `null` value./// Methods like [containsKey] or [putIfAbsent] can be used if the distinction/// is important.V? operator [](Object? key);/// Associates the [key] with the given [value].////// If the key was already in the map, its associated value is changed./// Otherwise the key/value pair is added to the map.void operator []=(K key, V value);

bool

final class bool

对应的下标
  /// The logical conjunction ("and") of this and [other].////// Returns `true` if both this and [other] are `true`, and `false` otherwise.@Since("2.1")bool operator &(bool other) => other && this;/// The logical disjunction ("inclusive or") of this and [other].////// Returns `true` if either this or [other] is `true`, and `false` otherwise.@Since("2.1")bool operator |(bool other) => other || this;/// The logical exclusive disjunction ("exclusive or") of this and [other].////// Returns whether this and [other] are neither both `true` nor both `false`.@Since("2.1")bool operator ^(bool other) => !other == this;

num

sealed class num implements Comparable<num>

对应的下标
  /// Test whether this value is numerically equal to `other`.////// If both operands are [double]s, they are equal if they have the same/// representation, except that://////   * zero and minus zero (0.0 and -0.0) are considered equal. They///     both have the numerical value zero.///   * NaN is not equal to anything, including NaN. If either operand is///     NaN, the result is always false.////// If one operand is a [double] and the other is an [int], they are equal if/// the double has an integer value (finite with no fractional part) and/// the numbers have the same numerical value.////// If both operands are integers, they are equal if they have the same value.////// Returns false if [other] is not a [num].////// Notice that the behavior for NaN is non-reflexive. This means that/// equality of double values is not a proper equality relation, as is/// otherwise required of `operator==`. Using NaN in, e.g., a [HashSet]/// will fail to work. The behavior is the standard IEEE-754 equality of/// doubles.////// If you can avoid NaN values, the remaining doubles do have a proper/// equality relation, and can be used safely.////// Use [compareTo] for a comparison that distinguishes zero and minus zero,/// and that considers NaN values as equal.bool operator ==(Object other);/// Adds [other] to this number.////// The result is an [int], as described by [int.+],/// if both this number and [other] is an integer,/// otherwise the result is a [double].num operator +(num other);/// Subtracts [other] from this number.////// The result is an [int], as described by [int.-],/// if both this number and [other] is an integer,/// otherwise the result is a [double].num operator -(num other);/// Multiplies this number by [other].////// The result is an [int], as described by [int.*],/// if both this number and [other] are integers,/// otherwise the result is a [double].num operator *(num other);/// Euclidean modulo of this number by [other].////// Returns the remainder of the Euclidean division./// The Euclidean division of two integers `a` and `b`/// yields two integers `q` and `r` such that/// `a == b * q + r` and `0 <= r < b.abs()`.////// The Euclidean division is only defined for integers, but can be easily/// extended to work with doubles. In that case, `q` is still an integer,/// but `r` may have a non-integer value that still satisfies `0 <= r < |b|`.////// The sign of the returned value `r` is always positive.////// See [remainder] for the remainder of the truncating division.////// The result is an [int], as described by [int.%],/// if both this number and [other] are integers,/// otherwise the result is a [double].////// Example:/// ```dart/// print(5 % 3); // 2/// print(-5 % 3); // 1/// print(5 % -3); // 2/// print(-5 % -3); // 1/// ```num operator %(num other);/// Divides this number by [other].double operator /(num other);/// Truncating division operator.////// Performs truncating division of this number by [other]./// Truncating division is division where a fractional result/// is converted to an integer by rounding towards zero.////// If both operands are [int]s, then [other] must not be zero./// Then `a ~/ b` corresponds to `a.remainder(b)`/// such that `a == (a ~/ b) * b + a.remainder(b)`.////// If either operand is a [double], then the other operand is converted/// to a double before performing the division and truncation of the result./// Then `a ~/ b` is equivalent to `(a / b).truncate()`./// This means that the intermediate result of the double division/// must be a finite integer (not an infinity or [double.nan]).int operator ~/(num other);/// The negation of this value.////// The negation of a number is a number of the same kind/// (`int` or `double`) representing the negation of the/// numbers numerical value (the result of subtracting the/// number from zero), if that value *exists*.////// Negating a double gives a number with the same magnitude/// as the original value (`number.abs() == (-number).abs()`),/// and the opposite sign (`-(number.sign) == (-number).sign`).////// Negating an integer, `-number`, is equivalent to subtracting/// it from zero, `0 - number`.////// (Both properties generally also hold for the other type,/// but with a few edge case exceptions).num operator -();/// Whether this number is numerically smaller than [other].////// Returns `true` if this number is smaller than [other]./// Returns `false` if this number is greater than or equal to [other]/// or if either value is a NaN value like [double.nan].bool operator <(num other);/// Whether this number is numerically smaller than or equal to [other].////// Returns `true` if this number is smaller than or equal to [other]./// Returns `false` if this number is greater than [other]/// or if either value is a NaN value like [double.nan].bool operator <=(num other);/// Whether this number is numerically greater than [other].////// Returns `true` if this number is greater than [other]./// Returns `false` if this number is smaller than or equal to [other]/// or if either value is a NaN value like [double.nan].bool operator >(num other);/// Whether this number is numerically greater than or equal to [other].////// Returns `true` if this number is greater than or equal to [other]./// Returns `false` if this number is smaller than [other]/// or if either value is a NaN value like [double.nan].bool operator >=(num other);

int

abstract final class int extends num

对应的下标
  /// Bit-wise and operator.////// Treating both `this` and [other] as sufficiently large two's component/// integers, the result is a number with only the bits set that are set in/// both `this` and [other]////// If both operands are negative, the result is negative, otherwise/// the result is non-negative./// ```dart/// print((2 & 1).toRadixString(2)); // 0010 & 0001 -> 0000/// print((3 & 1).toRadixString(2)); // 0011 & 0001 -> 0001/// print((10 & 2).toRadixString(2)); // 1010 & 0010 -> 0010/// ```int operator &(int other);/// Bit-wise or operator.////// Treating both `this` and [other] as sufficiently large two's component/// integers, the result is a number with the bits set that are set in either/// of `this` and [other]////// If both operands are non-negative, the result is non-negative,/// otherwise the result is negative.////// Example:/// ```dart/// print((2 | 1).toRadixString(2)); // 0010 | 0001 -> 0011/// print((3 | 1).toRadixString(2)); // 0011 | 0001 -> 0011/// print((10 | 2).toRadixString(2)); // 1010 | 0010 -> 1010/// ```int operator |(int other);/// Bit-wise exclusive-or operator.////// Treating both `this` and [other] as sufficiently large two's component/// integers, the result is a number with the bits set that are set in one,/// but not both, of `this` and [other]////// If the operands have the same sign, the result is non-negative,/// otherwise the result is negative.////// Example:/// ```dart/// print((2 ^ 1).toRadixString(2)); //  0010 ^ 0001 -> 0011/// print((3 ^ 1).toRadixString(2)); //  0011 ^ 0001 -> 0010/// print((10 ^ 2).toRadixString(2)); //  1010 ^ 0010 -> 1000/// ```int operator ^(int other);/// The bit-wise negate operator.////// Treating `this` as a sufficiently large two's component integer,/// the result is a number with the opposite bits set.////// This maps any integer `x` to `-x - 1`.int operator ~();/// Shift the bits of this integer to the left by [shiftAmount].////// Shifting to the left makes the number larger, effectively multiplying/// the number by `pow(2, shiftAmount)`.////// There is no limit on the size of the result. It may be relevant to/// limit intermediate values by using the "and" operator with a suitable/// mask.////// It is an error if [shiftAmount] is negative.////// Example:/// ```dart/// print((3 << 1).toRadixString(2)); // 0011 -> 0110/// print((9 << 2).toRadixString(2)); // 1001 -> 100100/// print((10 << 3).toRadixString(2)); // 1010 -> 1010000/// ```int operator <<(int shiftAmount);/// Shift the bits of this integer to the right by [shiftAmount].////// Shifting to the right makes the number smaller and drops the least/// significant bits, effectively doing an integer division by/// `pow(2, shiftAmount)`.////// It is an error if [shiftAmount] is negative.////// Example:/// ```dart/// print((3 >> 1).toRadixString(2)); // 0011 -> 0001/// print((9 >> 2).toRadixString(2)); // 1001 -> 0010/// print((10 >> 3).toRadixString(2)); // 1010 -> 0001/// print((-6 >> 2).toRadixString); // 111...1010 -> 111...1110 == -2/// print((-85 >> 3).toRadixString); // 111...10101011 -> 111...11110101 == -11/// ```int operator >>(int shiftAmount);/// Bitwise unsigned right shift by [shiftAmount] bits.////// The least significant [shiftAmount] bits are dropped,/// the remaining bits (if any) are shifted down,/// and zero-bits are shifted in as the new most significant bits.////// The [shiftAmount] must be non-negative.////// Example:/// ```dart/// print((3 >>> 1).toRadixString(2)); // 0011 -> 0001/// print((9 >>> 2).toRadixString(2)); // 1001 -> 0010/// print(((-9) >>> 2).toRadixString(2)); // 111...1011 -> 001...1110 (> 0)/// ```int operator >>>(int shiftAmount);/// Return the negative value of this integer.////// The result of negating an integer always has the opposite sign, except/// for zero, which is its own negation.int operator -();

double

abstract final class double extends num

对应的下标
  double operator +(num other);double operator -(num other);double operator *(num other);double operator %(num other);double operator /(num other);int operator ~/(num other);double operator -();

Uint8List

abstract final class Uint8List implements List<int>, _TypedIntList

对应的下标
  /// Returns a concatenation of this list and [other].////// If [other] is also a typed-data list, then the return list will be a/// typed data list capable of holding both unsigned 8-bit integers and/// the elements of [other], otherwise it'll be a normal list of integers.List<int> operator +(List<int> other);

Float32x4List

abstract final class Float32x4List implements List<Float32x4>, TypedData

对应的下标
  /// Returns the concatenation of this list and [other].////// If [other] is also a [Float32x4List], the result is a new [Float32x4List],/// otherwise the result is a normal growable `List<Float32x4>`.List<Float32x4> operator +(List<Float32x4> other);

Int32x4List

abstract final class Int32x4List implements List<Int32x4>, TypedData

对应的下标
  /// Returns the concatenation of this list and [other].////// If [other] is also a [Int32x4List], the result is a new [Int32x4List],/// otherwise the result is a normal growable `List<Int32x4>`.List<Int32x4> operator +(List<Int32x4> other);

Float64x2List

abstract final class Float64x2List implements List<Float64x2>, TypedData

对应的下标
  /// Returns the concatenation of this list and [other].////// If [other] is also a [Float64x2List], the result is a new [Float64x2List],/// otherwise the result is a normal growable `List<Float64x2>`.List<Float64x2> operator +(List<Float64x2> other);

Float32x4

abstract final class Float32x4

对应的下标
  /// Addition operator.Float32x4 operator +(Float32x4 other);/// Negate operator.Float32x4 operator -();/// Subtraction operator.Float32x4 operator -(Float32x4 other);/// Multiplication operator.Float32x4 operator *(Float32x4 other);/// Division operator.Float32x4 operator /(Float32x4 other);

Float64x2

abstract final class Float64x2

对应的下标
  /// Addition operator.Float64x2 operator +(Float64x2 other);/// Negate operator.Float64x2 operator -();/// Subtraction operator.Float64x2 operator -(Float64x2 other);/// Multiplication operator.Float64x2 operator *(Float64x2 other);/// Division operator.Float64x2 operator /(Float64x2 other);

Object

class Object

对应的下标
  /// The equality operator.////// The default behavior for all [Object]s is to return true if and/// only if this object and [other] are the same object.////// Override this method to specify a different equality relation on/// a class. The overriding method must still be an equivalence relation./// That is, it must be://////  * Total: It must return a boolean for all arguments. It should never throw.//////  * Reflexive: For all objects `o`, `o == o` must be true.//////  * Symmetric: For all objects `o1` and `o2`, `o1 == o2` and `o2 == o1` must///    either both be true, or both be false.//////  * Transitive: For all objects `o1`, `o2`, and `o3`, if `o1 == o2` and///    `o2 == o3` are true, then `o1 == o3` must be true.////// The method should also be consistent over time,/// so whether two objects are equal should only change/// if at least one of the objects was modified.////// If a subclass overrides the equality operator, it should override/// the [hashCode] method as well to maintain consistency.external bool operator ==(Object other);

Type

abstract interface class Type

对应的下标
  /// Whether [other] is a [Type] instance representing an equivalent type.////// The language specification dictates which types are considered/// to be the equivalent./// If two types are equivalent, it's guaranteed that they are subtypes/// of each other,/// but there are also types which are subtypes of each other,/// and which are not equivalent (for example `dynamic` and `void`,/// or `FutureOr<Object>` and `Object`).bool operator ==(Object other);

String

abstract final class String implements Comparable<String>, Pattern

对应的下标
  /// The character (as a single-code-unit [String]) at the given [index].////// The returned string represents exactly one UTF-16 code unit, which may be/// half of a surrogate pair. A single member of a surrogate pair is an/// invalid UTF-16 string:/// ```dart/// var clef = '\u{1D11E}';/// // These represent invalid UTF-16 strings./// clef[0].codeUnits;      // [0xD834]/// clef[1].codeUnits;      // [0xDD1E]/// ```/// This method is equivalent to/// `String.fromCharCode(this.codeUnitAt(index))`.String operator [](int index);/// Whether [other] is a `String` with the same sequence of code units.////// This method compares each individual code unit of the strings./// It does not check for Unicode equivalence./// For example, both the following strings represent the string 'Amélie',/// but due to their different encoding, are not equal:/// ```dart/// 'Am\xe9lie' == 'Ame\u{301}lie'; // false/// ```/// The first string encodes 'é' as a single unicode code unit (also/// a single rune), whereas the second string encodes it as 'e' with the/// combining accent character '◌́'.bool operator ==(Object other);/// Creates a new string by concatenating this string with [other].////// Example:/// ```dart/// const string = 'dart' + 'lang'; // 'dartlang'/// ```String operator +(String other);/// Creates a new string by concatenating this string with itself a number/// of times.////// The result of `str * n` is equivalent to/// `str + str + ...`(n times)`... + str`.////// ```dart/// const string = 'Dart';/// final multiplied = string * 3;/// print(multiplied); // 'DartDartDart'/// ```/// Returns an empty string if [times] is zero or negative.String operator *(int times);

Element

abstract class Element extends DiagnosticableTree implements BuildContext

对应的下标
  /// Compare two widgets for equality.////// When a widget is rebuilt with another that compares equal according/// to `operator ==`, it is assumed that the update is redundant and the/// work to update that branch of the tree is skipped.////// It is generally discouraged to override `operator ==` on any widget that/// has children, since a correct implementation would have to defer to the/// children's equality operator also, and that is an O(N²) operation: each/// child would need to itself walk all its children, each step of the tree.////// It is sometimes reasonable for a leaf widget (one with no children) to/// implement this method, if rebuilding the widget is known to be much more/// expensive than checking the widgets' parameters for equality and if the/// widget is expected to often be rebuilt with identical parameters.////// In general, however, it is more efficient to cache the widgets used/// in a build method if it is known that they will not change.@nonVirtual@override// ignore: avoid_equals_and_hash_code_on_mutable_classes, hash_and_equalsbool operator ==(Object other) => identical(this, other);

IndexedSlot

class IndexedSlot<T extends Element?>

对应的下标
  @overridebool operator ==(Object other) {if (other.runtimeType != runtimeType) {return false;}return other is IndexedSlot&& index == other.index&& value == other.value;}

OffsetPair

class OffsetPair

对应的下标
  /// Adds the `other.global` to [global] and `other.local` to [local].OffsetPair operator+(OffsetPair other) {return OffsetPair(local: local + other.local,global: global + other.global,);}/// Subtracts the `other.global` from [global] and `other.local` from [local].OffsetPair operator-(OffsetPair other) {return OffsetPair(local: local - other.local,global: global - other.global,);}

Velocity

class Velocity

对应的下标
  /// Return the negation of a velocity.Velocity operator -() => Velocity(pixelsPerSecond: -pixelsPerSecond);/// Return the difference of two velocities.Velocity operator -(Velocity other) {return Velocity(pixelsPerSecond: pixelsPerSecond - other.pixelsPerSecond);}/// Return the sum of two velocities.Velocity operator +(Velocity other) {return Velocity(pixelsPerSecond: pixelsPerSecond + other.pixelsPerSecond);}@overridebool operator ==(Object other) {return other is Velocity&& other.pixelsPerSecond == pixelsPerSecond;}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/774660.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Windows python多版本共享方案

1、先安装好python3.11 2、安装好python3.7 这时默认版本是python3.7&#xff0c; A、如果要切换回python3.11则修改环境变量即可 B、 如果想使用3.7&#xff0c;找到python3.7的安装路径 如果想使用3.7 C:\Users\用户\AppData\Local\Programs\Python\Python37 复制python…

零基础学python之高级编程(6)---Python中进程的Queue 和进程锁,以及进程池的创建 (包含详细注释代码)

Python中进程的Queue 和进程锁,以及进程池的创建 文章目录 Python中进程的Queue 和进程锁,以及进程池的创建前言一、进程间同步通信(Queue)二、进程锁&#xff08;Lock&#xff09;三、创建进程池Poorpool 类方法: End! 前言 大家好,上一篇文章,我们初步接触了进程的概念及其应…

【tingsboard开源平台】环境准备和安装

文章目录 环境准备:1.安装JAVA2.安装maven环境3.安装nodeJS(16.15.1)4.安装git环境5.安装npm依赖关系6.放入文件fetched7.安装IDEA 环境准备: 1.安装JAVA 以安装java11为例&#xff0c;安装tingsboard需要的jdk 下载地址&#xff1a;https://www.oracle.com/java/technologi…

初识C++(二)引用,内联函数,auto

目录 1.引用的概念与用法&#xff1a; 1.1引用特性&#xff1a; 1.2使用场景 1.2.1做参数 1.3传值、传引用效率比较 1.4引用做返回值 1.5引用和指针的对比 2.内联函数 3.auto关键字 4. 基于范围的for循环(C11) 5.指针空值nullptr(C11) 1.引用的概念与用法&#xff1a;…

腾讯云4核8G服务器支持多少人同时在线?

腾讯云4核8G服务器价格&#xff1a;轻量4核8G12M优惠价格646元15个月、CVM S5服务器4核8G配置1437元买1年送3个月。腾讯云4核8G服务器支持多少人同时在线&#xff1f;支持30个并发数&#xff0c;可容纳日均1万IP人数访问。腾讯云百科txybk.com整理4核8G服务器支持多少人同时在线…

独立看门狗

什么是独立看门狗&#xff1f;它有什么用&#xff1f;什么时候用&#xff1f;不用行不行&#xff1f; 独立看门狗&#xff08;Independent Watchdog&#xff0c;简称IWDG&#xff09;是一种微控制器中常见的硬件保护机制。它的主要作用是监视系统的运行状态&#xff0c;当系统出…

2024 年 15 个最佳自动化 UI 测试工具【建议收藏】

Web 开发行业正在不断发展&#xff0c;许多最佳自动化 UI 测试工具可用于测试基于 Web 的项目&#xff0c;以确保它没有错误并且每个用户都可以轻松访问。这些工具可帮助您测试您的 Web 项目并使其完全兼容用户端的要求和需求。 UI 自动化测试工具可测试基于 Web 的应用程序或软…

JRT菜单

上一章搭建了登录界面的雏形和抽取了登录接口。给多组使用登录和菜单功能提供预留&#xff0c;做到不强行入侵别人业务。任何产品只需要按自己表实现登录接口后配置到容器即可共用登录界面和菜单部分。最后自己的用户关联到JRT角色表即可。 登录效果 这次构建菜单体系 首先用…

Transformer的前世今生 day09(Transformer的框架概述)

前情提要 编码器-解码器结构 如果将一个模型分为两块&#xff1a;编码器和解码器那么编码器-解码器结构为&#xff1a;编码器负责处理输入&#xff0c;解码器负责生成输出流程&#xff1a;我们先将输入送入编码器层&#xff0c;得到一个中间状态state&#xff0c;并送入解码器…

号码采集协议讲解

仅供学习研究交流使用 需要的进去拿源码或者成品

上位机图像处理和嵌入式模块部署(qmacvisual图像拼接)

【 声明&#xff1a;版权所有&#xff0c;欢迎转载&#xff0c;请勿用于商业用途。 联系信箱&#xff1a;feixiaoxing 163.com】 qmacvisual本身提供了图像拼接的功能。功能本身比较有意思的。大家如果拍过毕业照&#xff0c;特别是那种几百人、上千人的合照&#xff0c;应该就…

Rust编程(二)语法和数据类型

编程规范 类C语法&#xff0c;函数需要定义&#xff0c;指令需要以&#xff1b;结尾。需要大括号{} 文件名&#xff0c;变量&#xff0c;函数命名使用snake case&#xff0c;eg&#xff1a;new_function() 结构体&#xff0c;特征命名&#xff0c;使用大驼峰命名&#xff0c;e…

微信小程序商城构建全栈应用

今天&#xff0c;将之前大学朋友分享给我的好几个小程序内容&#xff0c;简单的从百度网盘下载了一下&#xff0c;重新回顾小程序内容&#xff0c;重新构建融合一些不同语言的元素。下面是网盘的简单截图。 我先挑选了一个微信小程序商城项目&#xff0c;简单看了看&#xff0…

中霖教育:不是会计专业能参加24年的中级会计师考试吗?

经常有很多同学问&#xff1a;我不是会计专业的能报中级会计师考试吗? 先来看报名需要满足的必要条件&#xff1a; 1、大学专科学历&#xff0c;从事会计工作满5年。 2、大学本科学历或学士学位&#xff0c;从事会计工作满4年。 3、第二学士学位或研究生班毕业&#xff0c…

Rust编程(三)生命周期与异常处理

生命周期 生命周期&#xff0c;简而言之就是引用的有效作用域。在大多数时候&#xff0c;我们无需手动的声明生命周期&#xff0c;因为编译器可以自动进行推导。生命周期的主要作用是避免悬垂引用&#xff0c;它会导致程序引用了本不该引用的数据&#xff1a; {let r;{let x …

Partisia Blockchain:真正做到兼顾隐私、高性能和可拓展的公链

目前&#xff0c;包括 Secret Network、Oasis Protocol 等在内的绝大多数以隐私为特性的可编程公链&#xff0c;在兼顾隐私的同时&#xff0c;在可拓展以及性能上或多或少的有所牺牲&#xff0c;即难以对诸多实际应用场景进行支撑。这归咎于链的设计以及共识机制的不合理&#…

袁志佳:前端全栈工程师精英班

教程介绍 本套课程涵盖大前端的全部领域&#xff0c;并对传统的Web前端全栈深入教学。如利用前端知识开发 AI、VR、AR、iOS、Android、PC、Server、智能硬件。 同时我们将核心打造 JavaScript语言新发展、Vue源码分析、前端持续集成方案汇总、MV*框架深度分析 、前端图形学、N…

Python爬虫如何快速入门

写了几篇网络爬虫的博文后&#xff0c;有网友留言问Python爬虫如何入门&#xff1f;今天就来了解一下什么是爬虫&#xff0c;如何快速的上手Python爬虫。 一、什么是网络爬虫 网络爬虫&#xff0c;英文名称为Web Crawler或Spider&#xff0c;是一种通过程序在互联网上自动获取…

目前2024年腾讯云4核8G服务器租用优惠价格表

2024年腾讯云4核8G服务器租用优惠价格&#xff1a;轻量应用服务器4核8G12M带宽646元15个月&#xff0c;CVM云服务器S5实例优惠价格1437.24元买一年送3个月&#xff0c;腾讯云4核8G服务器活动页面 txybk.com/go/txy 活动链接打开如下图&#xff1a; 腾讯云4核8G服务器优惠价格 轻…

虚拟机如何在原有磁盘上扩容

虚拟机未开启状态–菜单栏–虚拟机–快照–拍摄快照–拍摄快照– 菜单栏–虚拟机–快照–快照管理器–点击刚刚的快照1–删除–是– 文件–新建或者打开–硬盘&#xff08;以本人Win 10.64.3GL为例&#xff09;–虚拟机设置–硬件– 硬盘&#xff08;SATA&#xff09;–磁盘实…