Home
last modified time | relevance | path

Searched full:negative (Results 1 – 25 of 5943) sorted by relevance

12345678910>>...238

/third_party/mbedtls/tests/suites/
Dtest_suite_bignum.generated.data9 MPI add #3 0 (null) + negative 0 (null)
12 MPI add #4 0 (null) + negative with leading zero limb
18 MPI add #6 0 (null) + negative
24 MPI add #8 0 (null) + negative with leading zero limb
30 MPI add #10 0 (null) + large negative
39 MPI add #13 0 (1 limb) + negative 0 (null)
42 MPI add #14 0 (1 limb) + negative with leading zero limb
48 MPI add #16 0 (1 limb) + negative
54 MPI add #18 0 (1 limb) + negative with leading zero limb
60 MPI add #20 0 (1 limb) + large negative
[all …]
Dtest_suite_bignum.misc.data25 Base test mpi_read_write_string #3 (Negative decimal)
28 Base test mpi_read_write_string #3 (Negative decimal, leading 0)
31 Base test mpi_read_write_string #3 (Negative hex -> decimal)
34 Base test mpi_read_write_string #3 (Negative hex)
37 Base test mpi_read_write_string #3 (Negative hex, leading 0)
82 Test mpi_write_string #10 (Negative hex with odd number of digits)
187 Base test mbedtls_mpi_cmp_int (Negative values) #1
190 Base test mbedtls_mpi_cmp_int (Negative values) #2
193 Base test mbedtls_mpi_cmp_int (Negative values) #3
205 Base test mbedtls_mpi_cmp_mpi (Negative values) #1
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/composite/multitype_ops/
Dnegative_impl.py16 """Implementation for internal polymorphism `negative` operations."""
24 negative = base.MultitypeFuncGraph("negative", True) variable
26 `negative` is a metafuncgraph object which will give the negative of an object according to its inp…
29 negative.set_need_raise()
32 @negative.register("Number")
35 Returns the negative value of scalar x.
38 Number, negative value of x.
43 @negative.register("Tensor")
46 Returns the negative value of tensor x by element-wise.
49 Tensor, negative value of x by element-wise.
[all …]
/third_party/typescript/src/lib/
Des2022.array.d.ts4 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
12 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
20 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
28 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
36 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
44 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
52 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
60 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
68 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
76 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
[all …]
/third_party/rust/rust/src/doc/unstable-book/src/language-features/
Dnegative-impls.md9 With the feature gate `negative_impls`, you can write negative impls as well as positive ones:
17 Negative impls indicate a semver guarantee that the given trait will not be implemented for the giv…
19 Negative impls have the following characteristics:
27 It is a breaking change to remove a negative impl. Negative impls are a commitment not to implement…
31 Negative impls must obey the same orphan rules as a positive impl. This implies you cannot add a ne…
33 Similarly, negative impls cannot overlap with positive impls, again using the same "overlap" check …
37 Declaring a negative impl `impl !SomeAutoTrait for SomeType` for an
52 Negative impls are used to declare that `&T: !DerefMut` and `&mut T: !Clone`, as required to fix t…
/third_party/rust/rust/tests/ui/parser/issues/
Dissue-67146-negative-outlives-bound-syntactic-fail.stderr2 --> $DIR/issue-67146-negative-outlives-bound-syntactic-fail.rs:9:14
8 --> $DIR/issue-67146-negative-outlives-bound-syntactic-fail.rs:12:24
14 --> $DIR/issue-67146-negative-outlives-bound-syntactic-fail.rs:15:18
19 error: negative bounds are not supported
20 --> $DIR/issue-67146-negative-outlives-bound-syntactic-fail.rs:9:14
25 error: negative bounds are not supported
26 --> $DIR/issue-67146-negative-outlives-bound-syntactic-fail.rs:12:24
31 error: negative bounds are not supported
32 --> $DIR/issue-67146-negative-outlives-bound-syntactic-fail.rs:15:18
Dissue-33418.rs2 //~^ ERROR negative bounds are not supported
4 //~^ ERROR negative bounds are not supported
6 //~^ ERROR negative bounds are not supported
8 //~^ ERROR negative bounds are not supported
10 //~^ ERROR negative bounds are not supported
12 //~^ ERROR negative bounds are not supported
14 //~^ ERROR negative bounds are not supported
Dissue-33418.stderr1 error: negative bounds are not supported
7 error: negative bounds are not supported
13 error: negative bounds are not supported
19 error: negative bounds are not supported
25 error: negative bounds are not supported
31 error: negative bounds are not supported
37 error: negative bounds are not supported
/third_party/rust/rust/tests/ui/suggestions/
Dnegative-literal-index.stderr1 error: negative integers cannot be used to index on a `Vec<{integer}>`
2 --> $DIR/negative-literal-index.rs:15:7
5 | ^^ cannot use a negative integer for indexing on `Vec<{integer}>`
12 error: negative integers cannot be used to index on a `[{integer}; 3]`
13 --> $DIR/negative-literal-index.rs:17:7
16 | ^^ cannot use a negative integer for indexing on `[{integer}; 3]`
23 error: negative integers cannot be used to index on a `[{integer}; 3]`
24 --> $DIR/negative-literal-index.rs:19:7
27 | ^^ cannot use a negative integer for indexing on `[{integer}; 3]`
/third_party/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl07.c8 * negative key"). This is CVE-2017-12192.
28 * request_key() will result in the creation of a negative key provided in try_to_read_negative_key()
34 * instantiate random user keys). In either case a negative key should in try_to_read_negative_key()
35 * be created and we can continue on with the test. Negative keys last in try_to_read_negative_key()
48 /* Get the ID of the negative key by reading the keyring */ in try_to_read_negative_key()
59 * Now try to read the negative key. Unpatched kernels will oops trying in try_to_read_negative_key()
62 tst_res(TINFO, "trying to read from the negative key..."); in try_to_read_negative_key()
66 "KEYCTL_READ on negative key unexpectedly succeeded"); in try_to_read_negative_key()
70 "KEYCTL_READ on negative key failed with unexpected error"); in try_to_read_negative_key()
73 "KEYCTL_READ on negative key expectedly failed with ENOKEY"); in try_to_read_negative_key()
[all …]
/third_party/typescript/tests/baselines/reference/
DpropertiesAndIndexersForNumericNames.types14 public "-1": string = "negative number"; // Error
16 >"negative number" : "negative number"
18 public "-2.5": string = "negative number"; // Error
20 >"negative number" : "negative number"
34 public "-Infinity": string = "Negative-a-gillion"; // Error
36 >"Negative-a-gillion" : "Negative-a-gillion"
76 public "-NaN": string = "not a negative number"; // No error
78 >"not a negative number" : "not a negative number"
Dliterals-negative.symbols1 === tests/cases/compiler/literals-negative.ts ===
5 >n : Symbol(n, Decl(literals-negative.ts, 2, 3))
8 >s : Symbol(s, Decl(literals-negative.ts, 3, 3))
11 >b : Symbol(b, Decl(literals-negative.ts, 4, 3))
12 >n : Symbol(n, Decl(literals-negative.ts, 2, 3))
15 >isVoid : Symbol(isVoid, Decl(literals-negative.ts, 4, 21))
19 >isVoid : Symbol(isVoid, Decl(literals-negative.ts, 4, 21))
/third_party/rust/rust/tests/ui/traits/
Dsyntax-trait-polarity.stderr1 error: inherent impls cannot be negative
7 | negative because of this
9 error[E0198]: negative impls cannot be unsafe
15 | | negative because of this
18 error: inherent impls cannot be negative
24 | negative because of this
26 error[E0198]: negative impls cannot be unsafe
32 | | negative because of this
/third_party/typescript/lib/
Dlib.es2022.array.d.ts24 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
32 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
40 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
48 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
56 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
64 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
72 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
80 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
88 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
96 …* @param index The zero-based index of the desired code unit. A negative index will count back fro…
[all …]
/third_party/littlefs/
Dlfs.h69 // Possible error codes, these are negative to allow
163 // Read a region in a block. Negative error codes are propagated
169 // been erased. Negative error codes are propagated to the user.
175 // The state of an erased block is undefined. Negative error codes
180 // Sync the state of the underlying block device. Negative error codes
185 // Lock the underlying block device. Negative error codes
189 // Unlock the underlying block device. Negative error codes
462 // Returns a negative error code on failure.
473 // Returns a negative error code on failure.
479 // Returns a negative error code on failure.
[all …]
/third_party/mindspore/mindspore-src/source/docs/api/api_python/ops/
Dmindspore.ops.func_triplet_margin_loss.rst4 .. py:function:: mindspore.ops.triplet_margin_loss(anchor, positive, negative, margin=1.0, p=2, eps…
12 - **negative** (Tensor) - 与 `anchor` 为异类的样本,数据类型与shape与 `anchor` 一致。
13 …- **margin** (float,可选) - 用于拉进 `anchor` 和 `positive` 之间的距离,拉远 `anchor` 和 `negative` 之间的距离。默认值: ``1…
27 - **TypeError** - `anchor` 、 `positive` 或者 `negative` 不是Tensor。
28 - **TypeError** - `anchor` 、 `positive` 或者 `negative` 的数据类型不一致。
33 - **ValueError** - `anchor` 、 `positive` 和 `negative` 的维度同时小于等于1。
34 - **ValueError** - `anchor` 、 `positive` 或 `negative` 的维度大于等于8。
35 - **ValueError** - `anchor` 、 `positive` 和 `negative` 三者之间的shape无法广播。
Dmindspore.ops.TripletMarginLoss.rst9 …可以用来测量样本之间的相似度。一个三元组包含 `a` 、 `p` 和 `n` (即分别代表示 `anchor` 、 `positive examples` 和 `negative example…
36 - **negative** (Tensor) - 与 `x` 为异类的样本,数据类型与shape与 `x` 一致。
44 - **TypeError** - `x` 、 `positive` 、 `negative` 或者 `margin` 不是Tensor。
45 - **TypeError** - `x` 、 `positive` 或者 `negative` 的数据类型不是BasicType。
46 - **TypeError** - `x` 、 `positive` 或者 `negative` 的数据类型不一致。
51 - **ValueError** - `x` 、 `positive` 和 `negative` 的维度同时小于等于1。
52 - **ValueError** - `x` 、 `positive` 或 `negative` 的维度大于等于8。
54 - **ValueError** - `x` 、 `positive` 和 `negative` 三者之间的shape无法广播。
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/
Dtriplet_margin_loss.cc55 …auto negative = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[kInputIndex2]->GetShape… in TripletMarginLossInferShape() local
57 if (x.size() >= kDim8 || positive.size() >= kDim8 || negative.size() >= kDim8) { in TripletMarginLossInferShape()
59 … << ", dimensions of input x positive and negative must be smaller than 8, x_dim: " in TripletMarginLossInferShape()
61 << ", negative_dim: " << negative.size() << "."; in TripletMarginLossInferShape()
63 if (x.size() <= kDim1 && positive.size() <= kDim1 && negative.size() <= kDim1) { in TripletMarginLossInferShape()
66 …<< ", dimensions of input x, positive and negative cannot be less than 1 at the same time, x_dim: … in TripletMarginLossInferShape()
67 << ", positive_dim: " << positive.size() << ", negative_dim: " << negative.size() << "."; in TripletMarginLossInferShape()
79 auto dims = std::max(std::max(x.size(), positive.size()), negative.size()); in TripletMarginLossInferShape()
82 std::reverse(negative.begin(), negative.end()); in TripletMarginLossInferShape()
85 negative.resize(dims, 1); in TripletMarginLossInferShape()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_validate.cpp127 // Read into the negative. in dng_validate()
129 AutoPtr<dng_negative> negative; in dng_validate() local
144 negative.Reset (host.Make_dng_negative ()); in dng_validate()
146 negative->Parse (host, stream, info); in dng_validate()
148 negative->PostParse (host, stream, info); in dng_validate()
154 negative->ReadStage1Image (host, stream, info); in dng_validate()
163 negative->ReadTransparencyMask (host, stream, info); in dng_validate()
167 negative->ValidateRawImageDigest (host); in dng_validate()
178 const dng_image &stage1 = *negative->Stage1Image (); in dng_validate()
194 negative->SynchronizeMetadata (); in dng_validate()
[all …]
/third_party/skia/m133/third_party/externals/dng_sdk/source/
Ddng_validate.cpp127 // Read into the negative. in dng_validate()
129 AutoPtr<dng_negative> negative; in dng_validate() local
144 negative.Reset (host.Make_dng_negative ()); in dng_validate()
146 negative->Parse (host, stream, info); in dng_validate()
148 negative->PostParse (host, stream, info); in dng_validate()
154 negative->ReadStage1Image (host, stream, info); in dng_validate()
163 negative->ReadTransparencyMask (host, stream, info); in dng_validate()
167 negative->ValidateRawImageDigest (host); in dng_validate()
178 const dng_image &stage1 = *negative->Stage1Image (); in dng_validate()
194 negative->SynchronizeMetadata (); in dng_validate()
[all …]
/third_party/mindspore/mindspore-src/source/docs/api/api_python/nn/
Dmindspore.nn.TripletMarginLoss.rst34 …- **margin** (Union[Tensor, float]) - 用于拉进 `x` 和 `positive` 之间的距离,拉远 `x` 和 `negative` 之间的距离。默认值: `…
39 - **negative** (Tensor) - 与 `x` 为异类的样本,数据类型与shape与 `x` 一致。即上述公式中的 :math:`n` 。
40 …- **margin** (Union[Tensor, float]) - 用于拉进 `x` 和 `positive` 之间的距离,拉远 `x` 和 `negative` 之间的距离。默认值: `…
46 - **TypeError** - `x` 、 `positive` 、 `negative` 不是Tensor。
47 - **TypeError** - `x` 、 `positive` 或者 `negative` 的数据类型不一致。
51 - **ValueError** - `x` 、 `positive` 和 `negative` 的维度同时小于等于1。
52 - **ValueError** - `x` 、 `positive` 或 `negative` 的维度大于等于8。
54 - **ValueError** - `x` 、 `positive` 和 `negative` 三者之间的shape无法广播。
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DAdoptingModifierStore.java17 private final Modifier negative; field in AdoptingModifierStore
22 … * This constructor populates the ParameterizedModifier with a single positive and negative form.
27 …c AdoptingModifierStore(Modifier positive, Modifier posZero, Modifier negZero, Modifier negative) { in AdoptingModifierStore() argument
31 this.negative = negative; in AdoptingModifierStore()
37 … * This constructor prepares the ParameterizedModifier to be populated with a positive and negative
47 this.negative = null; in AdoptingModifierStore()
73 return negative; in getModifierWithoutPlural()
/third_party/ffmpeg/libavutil/
Dfifo.h48 * @return 0 on success, a negative error code on failure (will be returned from
68 * @return newly-allocated AVFifo on success, a negative error code on failure
105 * @return a non-negative number on success, a negative error code on failure
120 * @return a non-negative number on success, a negative error code on failure
135 * @return non-negative number on success, a negative error code on failure
151 * @return a non-negative number on success, a negative error code on failure
166 * @return non-negative number on success, a negative error code on failure
183 * @return a non-negative number on success, a negative error code on failure
200 * @return a non-negative number on success, a negative error code on failure
304 * @return a non-negative number on success, a negative error code on failure
[all …]
/third_party/mbedtls/include/mbedtls/
Dasn1write.h51 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
65 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
83 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
98 * It must be non-negative.
101 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
117 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
133 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
151 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
172 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
190 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
[all …]
/third_party/rust/crates/cxx/syntax/
Ddiscriminant.rs25 Negative, enumerator
69 Sign::Negative => { in insert_next()
121 Sign::Positive => Sign::Negative, in expr_to_discriminant()
122 Sign::Negative => Sign::Positive, in expr_to_discriminant()
170 Sign::Negative in neg()
186 Sign::Negative => { in checked_succ()
191 sign: Sign::Negative, in checked_succ()
209 if self.sign == Sign::Negative { in fmt()
218 if self.sign == Sign::Negative { in to_tokens()
231 Sign::Negative in from_str()
[all …]

12345678910>>...238