Home
last modified time | relevance | path

Searched full:shortest (Results 1 – 25 of 564) sorted by relevance

12345678910>>...23

/external/python/cpython2/Lib/email/
Dcharset.py24 SHORTEST = 3 # the shorter of QP and base64, but only for headers variable
60 'utf-8': (SHORTEST, BASE64, 'utf-8'),
115 quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for
116 the shortest of qp or base64 encoding, or None for no encoding. SHORTEST
131 if body_enc == SHORTEST:
132 raise ValueError('SHORTEST not allowed for body_enc')
178 base64 encoding), or Charset.SHORTEST for the shortest of
183 header encoding. Charset.SHORTEST is not allowed for
224 (SHORTEST, BASE64, None))
262 assert self.body_encoding != SHORTEST
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Das_string_op_test.py41 output = string_ops.as_string(input_, shortest=True)
62 output = string_ops.as_string(input_, width=3, fill="0", shortest=True)
71 input_, precision=10, width=3, fill="0", shortest=True)
76 output = string_ops.as_string(input_, scientific=True, shortest=True)
106 with self.assertRaisesOpError("scientific and shortest"):
110 with self.assertRaisesOpError("scientific and shortest"):
111 output = string_ops.as_string(input_, shortest=True)
176 output = string_ops.as_string(input_, shortest=True)
200 output = string_ops.as_string(input_, width=3, fill="0", shortest=True)
213 input_, precision=10, width=3, fill="0", shortest=True)
[all …]
/external/flac/src/test_libFLAC/
Dformat.c107 { 2, (const FLAC__byte*)"\xc0\x85" , false }, /* non-shortest form */
108 { 2, (const FLAC__byte*)"\xc1\x85" , false }, /* non-shortest form */
116 { 3, (const FLAC__byte*)"\xe0\x85\x80", false }, /* non-shortest form */
117 { 3, (const FLAC__byte*)"\xe0\x95\x80", false }, /* non-shortest form */
138 { (const FLAC__byte*)"\xc0\x85" , false }, /* non-shortest form */
139 { (const FLAC__byte*)"\xc1\x85" , false }, /* non-shortest form */
147 { (const FLAC__byte*)"\xe0\x85\x80", false }, /* non-shortest form */
148 { (const FLAC__byte*)"\xe0\x95\x80", false }, /* non-shortest form */
178 { 4, (const FLAC__byte*)"a=\xc0\x85" , false }, /* non-shortest form */
179 { 4, (const FLAC__byte*)"a=\xc1\x85" , false }, /* non-shortest form */
[all …]
/external/tensorflow/tensorflow/core/kernels/
Das_string_op.cc39 bool shortest; in AsStringOp() local
46 OP_REQUIRES_OK(ctx, ctx->GetAttr("shortest", &shortest)); in AsStringOp()
56 OP_REQUIRES(ctx, !(scientific || shortest), in AsStringOp()
57 errors::InvalidArgument("scientific and shortest format " in AsStringOp()
68 OP_REQUIRES(ctx, !(scientific && shortest), in AsStringOp()
70 "Cannot select both scientific and shortest notation")); in AsStringOp()
108 if (shortest) { in AsStringOp()
Das_string_op_test.cc35 bool shortest = false) { in Init() argument
41 .Attr("shortest", shortest) in Init()
93 /*scientific=*/false, /*shortest=*/true)); in TEST_F()
183 /*scientific=*/true, /*shortest=*/true); in TEST_F()
187 "Cannot select both scientific and shortest notation")); in TEST_F()
192 /*scientific=*/false, /*shortest=*/true); in TEST_F()
196 "scientific and shortest format not supported for datatype")); in TEST_F()
205 "scientific and shortest format not supported for datatype")); in TEST_F()
/external/python/cpython3/Lib/email/
Dcharset.py25 SHORTEST = 3 # the shorter of QP and base64, but only for headers variable
63 'utf-8': (SHORTEST, BASE64, 'utf-8'),
116 quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for
117 the shortest of qp or base64 encoding, or None for no encoding. SHORTEST
132 if body_enc == SHORTEST:
133 raise ValueError('SHORTEST not allowed for body_enc')
189 base64 encoding), or Charset.SHORTEST for the shortest of
194 header encoding. Charset.SHORTEST is not allowed for
230 (SHORTEST, BASE64, None))
263 assert self.body_encoding != SHORTEST
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DTimer.java98 …the timingPeriod, we change to adding 33%, plus 1. We also remember the shortest duration from thi… in timeIterations()
99 // We return the shortest of the durations. in timeIterations()
106 long shortest = Long.MAX_VALUE; in timeIterations() local
114 return Math.min(duration, shortest); in timeIterations()
117 shortest = Math.min(duration, shortest); in timeIterations()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DTimer.java101 …the timingPeriod, we change to adding 33%, plus 1. We also remember the shortest duration from thi… in timeIterations()
102 // We return the shortest of the durations. in timeIterations()
109 long shortest = Long.MAX_VALUE; in timeIterations() local
117 return Math.min(duration, shortest); in timeIterations()
120 shortest = Math.min(duration, shortest); in timeIterations()
/external/cldr/tools/java/org/unicode/cldr/draft/
DShortestCanonicalForm.java91 String shortest = getShortest(trial, nfc);
92 if (!shortest.equals(nfc)) {
99 … System.out.println("\tShort: " + Utility.hex(shortest) + "\t" + shortest);
240 String shortest = scf.normalize(nfc); in main() local
241 if (!shortest.equals(nfc)) { in main()
242 System.out.println("NFC not shortest: " + shortest + ", " + nfc); in main()
/external/icu/libicu/cts_headers/
Ddouble-conversion-double-to-string.h96 // When converting to the shortest representation the converter will
157 // Computes the shortest string of digits that correctly represent the input
181 return ToShortestIeeeNumber(value, result_builder, SHORTEST);
229 // If requested_digits equals -1, then the shortest exponential representation
299 // Produce the shortest correct representation.
302 SHORTEST, enumerator
303 // Same as SHORTEST, but for single-precision floats.
314 // A higher precision can be achieved by using more digits, but the shortest
334 // - SHORTEST: produce the least amount of digits for which the internal
341 // - SHORTEST_SINGLE: same as SHORTEST but with single-precision.
[all …]
/external/icu/icu4c/source/i18n/
Ddouble-conversion-double-to-string.h96 // When converting to the shortest representation the converter will
157 // Computes the shortest string of digits that correctly represent the input
181 return ToShortestIeeeNumber(value, result_builder, SHORTEST);
229 // If requested_digits equals -1, then the shortest exponential representation
299 // Produce the shortest correct representation.
302 SHORTEST, enumerator
303 // Same as SHORTEST, but for single-precision floats.
314 // A higher precision can be achieved by using more digits, but the shortest
334 // - SHORTEST: produce the least amount of digits for which the internal
341 // - SHORTEST_SINGLE: same as SHORTEST but with single-precision.
[all …]
Ddouble-conversion-double-to-string.cpp186 DOUBLE_CONVERSION_ASSERT(mode == SHORTEST || mode == SHORTEST_SINGLE);
282 DoubleToAscii(value, SHORTEST, 0,
372 case DoubleToStringConverter::SHORTEST: return BIGNUM_DTOA_SHORTEST; in DtoaToBignumDtoaMode()
393 DOUBLE_CONVERSION_ASSERT(mode == SHORTEST || mode == SHORTEST_SINGLE || requested_digits >= 0); in DoubleToAscii()
418 case SHORTEST: in DoubleToAscii()
/external/libabigail/src/
Dabg-diff-utils.cc89 /// their shortest editing script.
112 /// Compute the length of the shortest edit script for two strings.
126 /// @return the length of the shortest edit script.
141 /// the length of the shortest edit script for transforming the first
148 /// @param ses_len the length of the shortest edit script. This is
176 /// Compute the shortest edit script for transforming a string into
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DAsString.pbtxt41 name: "shortest"
103 name: "shortest"
166 name: "shortest"
230 name: "shortest"
/external/python/cpython3/Doc/library/
Demail.charset.rst63 ``Charset.SHORTEST`` for the shortest of QP or BASE64 encoding. Otherwise,
71 ``Charset.SHORTEST`` is not allowed for *body_encoding*.
180 ``Charset.SHORTEST`` for the shortest of quoted-printable or base64 encoding,
181 or ``None`` for no encoding. ``SHORTEST`` is only valid for
/external/dagger2/java/dagger/internal/codegen/extension/
DDaggerGraphs.java35 * Returns a shortest path from {@code nodeU} to {@code nodeV} in {@code graph} as a list of the
37 * be many possible shortest paths.)
55 Map<N, N> visitedNodeToPathPredecessor = new HashMap<>(); // encodes shortest path tree in shortestPath()
68 continue; // we already have a shortest path to nextNode in shortestPath()
/external/python/cpython2/Doc/library/
Demail.charset.rst58 ``Charset.SHORTEST`` for the shortest of QP or BASE64 encoding. Otherwise,
66 ``Charset.SHORTEST`` is not allowed for *body_encoding*.
219 ``Charset.SHORTEST`` for the shortest of quoted-printable or base64 encoding,
220 or ``None`` for no encoding. ``SHORTEST`` is only valid for
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DAsString.pbtxt41 name: "shortest"
103 name: "shortest"
166 name: "shortest"
/external/zstd/
D.cirrus.yml2 name: FreeBSD (shortest)
11 gmake shortest
/external/harfbuzz_ng/src/
Dhb-ot-shape-normalize.cc124 decompose (const hb_ot_shape_normalize_context_t *c, bool shortest, hb_codepoint_t ab) in decompose() argument
135 if (shortest && has_a) { in decompose()
146 if ((ret = decompose (c, shortest, a))) { in decompose()
167 decompose_current_character (const hb_ot_shape_normalize_context_t *c, bool shortest) in decompose_current_character() argument
173 if (shortest && c->font->get_nominal_glyph (u, &glyph)) in decompose_current_character()
179 if (decompose (c, shortest, u)) in decompose_current_character()
185 if (!shortest && c->font->get_nominal_glyph (u, &glyph)) in decompose_current_character()
/external/icu/icu4c/source/test/intltest/
Dcolldata.h197 * compute the length of the shortest string that can
263 * Return the length of the shortest string that will generate
269 * @return the length of the shortest string.
275 * Return the length of the shortest string that will generate
289 * @return the length of the shortest string.
/external/rust/crates/ring/tests/
Drsa_primitive_verify_tests.txt18 # Test too large e (2 ** 33 + 1) with shortest allowed n (2048 bits)
25 # Test maximum e (2 ** 33 - 1) with shortest allowed n (2048 bits)
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_AsString.pbtxt17 name: "shortest"
19 Use shortest representation (either scientific or standard) for
/external/libabigail/include/
Dabg-diff-utils.h16 /// The implementations goes as far as calculating the shortest edit
1104 /// length of their shortest editing script.
1294 /// Compute the length of the shortest edit script for two sequences a
1382 /// Compute the length of the shortest edit script for two sequences a
1426 /// sequences as well as the shortest edit script from transforming
1470 /// @param ses the resulting shortest editing script.
1643 /// sequences as well as the shortest edit script from transforming
1674 /// @param ses the resulting shortest editing script.
1701 /// sequences as well as the shortest edit script from transforming
1745 /// @param ses the resulting shortest editing script.
[all …]
/external/rust/crates/itertools/benches/extra/
Dzipslices.rs18 /// Note that elements past the end of the shortest of the two slices are ignored.
35 /// Note that elements past the end of the shortest of the two slices are ignored.
56 /// Note that elements past the end of the shortest of the two slices are ignored.

12345678910>>...23