Home
last modified time | relevance | path

Searched refs:min_length (Results 1 – 25 of 46) sorted by relevance

12

/external/tensorflow/tensorflow/security/fuzzing/
Dpython_fuzzing.py81 min_length=_MIN_LENGTH, argument
96 length = self.get_int(min_length, max_length)
99 def get_float_list(self, min_length=_MIN_LENGTH, max_length=_MAX_LENGTH): argument
109 length = self.get_int(min_length, max_length)
113 min_length=_MIN_LENGTH, argument
125 return self.get_int_list(min_length, max_length)
127 return self.get_float_list(min_length, max_length)
DdataFormatVecPermute_fuzz.py29 shape = fh.get_int_list(min_length=0, max_length=8, min_int=0, max_int=8)
/external/python/cpython2/Demo/classes/
Dbitvec.py182 min_length = min(length, other._len)
183 return cmp(self[:min_length], other[:min_length]) or \
184 cmp(self[min_length:], other[min_length:])
/external/brotli/research/
Dfind_opt_references.cc28 DEFINE_int32(min_length, 1, "Minimal length of found backward references.");
132 int min_length = FLAGS_min_length; in ProcessReferences() local
156 if ((left_ix >= 0 && left_lcp >= min_length) || in ProcessReferences()
157 (right_ix < size - 1 && right_lcp >= min_length)) { in ProcessReferences()
/external/autotest/client/site_tests/cellular_Identifiers/
Dcellular_Identifiers.py31 min_length, max_length): argument
39 if (len(device_value) < min_length or len(device_value) > max_length):
/external/tensorflow/tensorflow/core/lib/io/
Dblock_builder.cc92 const size_t min_length = std::min(last_key_piece.size(), key.size()); in Add() local
93 while ((shared < min_length) && (last_key_piece[shared] == key[shared])) { in Add()
Dtable_builder.cc35 size_t min_length = std::min(start->size(), limit.size()); in FindShortestSeparator() local
37 while ((diff_index < min_length) && in FindShortestSeparator()
42 if (diff_index >= min_length) { in FindShortestSeparator()
/external/python/rsa/tests/
Dtest_compat.py74 min_length = min(len(first), len(second))
78 self.assertEqual(len(result), min_length)
/external/brotli/c/enc/
Dstatic_dict.h33 const uint8_t* data, size_t min_length, size_t max_length,
Dstatic_dict.c79 size_t min_length, size_t max_length, uint32_t* matches) { in BrotliFindAllStaticDictionaryMatches() argument
115 minlen = min_length; in BrotliFindAllStaticDictionaryMatches()
/external/bsdiff/
Dbsdiff.cc65 size_t newsize, size_t min_length, PatchWriterInterface* patch, in bsdiff() argument
122 (len>oldscore+8 && len>=min_length)) break; in bsdiff()
Dbsdiff_arguments.h40 int min_length() const { return min_length_; } in min_length() function
Dbsdiff_main.cc94 arguments.min_length(), patch_writer.get(), nullptr); in GenerateBsdiffFromFiles()
Dbsdiff_arguments_unittest.cc118 EXPECT_EQ(12, arguments.min_length()); in TEST()
/external/bsdiff/include/bsdiff/
Dbsdiff.h50 size_t min_length,
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dspectral_ops_test.py352 min_length = np.minimum(signal.shape[0], inverse_mdct.shape[0])
355 signal = signal[half_len:min_length-half_len]
356 inverse_mdct = inverse_mdct[half_len:min_length-half_len]
/external/libchrome/components/json_schema/
Djson_schema_validator.cc771 int min_length = 0; in ValidateString() local
772 if (schema->GetInteger(schema::kMinLength, &min_length)) { in ValidateString()
773 CHECK(min_length >= 0); in ValidateString()
774 if (value.size() < static_cast<size_t>(min_length)) { in ValidateString()
776 kStringMinLength, base::IntToString(min_length)))); in ValidateString()
/external/tensorflow/tensorflow/core/kernels/
Dcount_ops.cc83 int GetOutputSize(int max_seen, int max_length, int min_length) { in GetOutputSize() argument
84 return max_length > 0 ? max_length : std::max((max_seen + 1), min_length); in GetOutputSize()
/external/openscreen/tools/cddl/
Dsema.h223 uint32_t min_length; member
/external/openscreen/third_party/abseil/src/absl/strings/
Dcord.cc150 static constexpr uint64_t min_length[] = { variable
166 static const int kMinLengthSize = ABSL_ARRAYSIZE(min_length);
189 return (node->length >= min_length[node->concat()->depth() / 2]); in IsRootBalanced()
1109 concat_node->length < min_length[concat_node->depth()]) { in Build()
1154 for (; node->length > min_length[i + 1]; ++i) { in AddNode()
1165 for (; sum->length >= min_length[i]; ++i) { in AddNode()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcord.cc197 static constexpr uint64_t min_length[] = { variable
247 static const int kMinLengthSize = ABSL_ARRAYSIZE(min_length);
270 return (node->length >= min_length[node->concat()->depth() / 2]); in IsRootBalanced()
1135 concat_node->length < min_length[concat_node->depth()]) { in Build()
1180 for (; node->length > min_length[i + 1]; ++i) { in AddNode()
1191 for (; sum->length >= min_length[i]; ++i) { in AddNode()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcord.cc156 static constexpr uint64_t min_length[] = { variable
172 static const int kMinLengthSize = ABSL_ARRAYSIZE(min_length);
195 return (node->length >= min_length[node->concat()->depth() / 2]); in IsRootBalanced()
1112 concat_node->length < min_length[concat_node->depth()]) { in Build()
1157 for (; node->length > min_length[i + 1]; ++i) { in AddNode()
1168 for (; sum->length >= min_length[i]; ++i) { in AddNode()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcord.cc156 static constexpr uint64_t min_length[] = { variable
172 static const int kMinLengthSize = ABSL_ARRAYSIZE(min_length);
195 return (node->length >= min_length[node->concat()->depth() / 2]); in IsRootBalanced()
1112 concat_node->length < min_length[concat_node->depth()]) { in Build()
1157 for (; node->length > min_length[i + 1]; ++i) { in AddNode()
1168 for (; sum->length >= min_length[i]; ++i) { in AddNode()
/external/abseil-cpp/absl/strings/
Dcord.cc197 static constexpr uint64_t min_length[] = { variable
247 static const int kMinLengthSize = ABSL_ARRAYSIZE(min_length);
270 return (node->length >= min_length[node->concat()->depth() / 2]); in IsRootBalanced()
1135 concat_node->length < min_length[concat_node->depth()]) { in Build()
1180 for (; node->length > min_length[i + 1]; ++i) { in AddNode()
1191 for (; sum->length >= min_length[i]; ++i) { in AddNode()
/external/libcups/ppdc/
Dppdc-driver.cxx73 min_length = d->min_length; in ppdcDriver()
114 min_length = 0; in ppdcDriver()
963 _cupsStrFormatd(length0, length0 + sizeof(length0), min_length, loc); in write_ppd_file()

12