/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/ |
Transform.java | 11 * <li>the sequence of characters that must be input in order to activate this transform 16 * For example, the character sequence for a particular transform could be '^e' and its resulting 20 private final String sequence; field in class:Transform 23 private Transform(String sequence, String output) { 24 this.sequence = checkNotNull(sequence); 28 /** Creates a transform from the given source sequence and resulting output. */ 29 public static Transform of(String sequence, String output) { 30 return new Transform(sequence, output); 33 /** Returns the sequence of characters that must be typed in order to activate this transform. * 34 public String sequence() { method in class:Transform [all...] |
/external/tensorflow/tensorflow/python/keras/preprocessing/ |
sequence.py | 15 """Utilities for preprocessing sequence data. 22 from keras_preprocessing import sequence 27 pad_sequences = sequence.pad_sequences 28 make_sampling_table = sequence.make_sampling_table 29 skipgrams = sequence.skipgrams 31 _remove_long_seq = sequence._remove_long_seq # pylint: disable=protected-access 34 @keras_export('keras.preprocessing.sequence.TimeseriesGenerator') 35 class TimeseriesGenerator(sequence.TimeseriesGenerator, utils.Sequence): 37 This class takes in a sequence of data-points gathered a [all...] |
sequence_test.py | 15 """Tests for sequence data preprocessing utils.""" 35 b = keras.preprocessing.sequence.pad_sequences(a, maxlen=3, padding='pre') 37 b = keras.preprocessing.sequence.pad_sequences(a, maxlen=3, padding='post') 41 b = keras.preprocessing.sequence.pad_sequences( 44 b = keras.preprocessing.sequence.pad_sequences( 49 b = keras.preprocessing.sequence.pad_sequences(a, maxlen=3, value=1) 56 b = keras.preprocessing.sequence.pad_sequences(a, maxlen=3, padding='pre') 59 b = keras.preprocessing.sequence.pad_sequences(a, maxlen=3, padding='post') 64 b = keras.preprocessing.sequence.pad_sequences( 69 b = keras.preprocessing.sequence.pad_sequences [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
UnicodeSetSpanner.java | 111 * Returns the number of matching characters found in a character sequence, 114 * @param sequence 115 * the sequence to count characters in 118 public int countIn(CharSequence sequence) { 119 return countIn(sequence, CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE); 123 * Returns the number of matching characters found in a character sequence, using SpanCondition.SIMPLE. 125 * @param sequence 126 * the sequence to count characters in 131 public int countIn(CharSequence sequence, CountMethod countMethod) { 132 return countIn(sequence, countMethod, SpanCondition.SIMPLE) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
UnicodeSetSpanner.java | 126 * Returns the number of matching characters found in a character sequence, 129 * @param sequence 130 * the sequence to count characters in 135 public int countIn(CharSequence sequence) { 136 return countIn(sequence, CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE); 140 * Returns the number of matching characters found in a character sequence, using SpanCondition.SIMPLE. 142 * @param sequence 143 * the sequence to count characters in 150 public int countIn(CharSequence sequence, CountMethod countMethod) { 151 return countIn(sequence, countMethod, SpanCondition.SIMPLE) [all...] |
/external/libchrome/base/task_scheduler/ |
can_schedule_sequence_observer.h | 8 #include "base/task_scheduler/sequence.h" 15 // Called when |sequence| can be scheduled. It is expected that 16 // TaskTracker::RunNextTask() will be called with |sequence| as argument after 18 virtual void OnCanScheduleSequence(scoped_refptr<Sequence> sequence) = 0;
|
sequence_unittest.cc | 5 #include "base/task_scheduler/sequence.h" 47 scoped_refptr<Sequence> sequence = MakeRefCounted<Sequence>(); local 49 // Push task A in the sequence. PushTask() should return true since it's the 51 EXPECT_TRUE(sequence->PushTask(CreateTask(&mock_task_a))); 53 // Push task B, C and D in the sequence. PushTask() should return false since 54 // there is already a task in a sequence. 55 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_b))); 56 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_c))) 149 scoped_refptr<Sequence> sequence = MakeRefCounted<Sequence>(); local 158 scoped_refptr<Sequence> sequence = MakeRefCounted<Sequence>(); local 167 scoped_refptr<Sequence> sequence = MakeRefCounted<Sequence>(); local [all...] |
test_utils.cc | 19 scoped_refptr<Sequence> CreateSequenceWithTask(Task task) { 20 scoped_refptr<Sequence> sequence = MakeRefCounted<Sequence>(); local 21 sequence->PushTask(std::move(task)); 22 return sequence;
|
scheduler_worker_pool.cc | 63 // Post the task as part of a one-off single-task Sequence. 66 MakeRefCounted<Sequence>()); 82 // A task runner that runs tasks in sequence. 122 // Sequence for all Tasks posted through this TaskRunner. 123 const scoped_refptr<Sequence> sequence_ = MakeRefCounted<Sequence>(); 144 scoped_refptr<Sequence> sequence) { 146 DCHECK(sequence); 152 PostTaskWithSequenceNow(std::move(task), std::move(sequence)); [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/nodes/ |
NodeId.java | 19 * Enum for the three basic YAML types: scalar, sequence and mapping. 22 scalar, sequence, mapping, anchor; enum constant in enum:NodeId
|
/external/google-breakpad/src/processor/ |
stackwalk_common.cc | 290 int sequence = 0; local 296 sequence = PrintRegister("eip", frame_x86->context.eip, sequence); 298 sequence = PrintRegister("esp", frame_x86->context.esp, sequence); 300 sequence = PrintRegister("ebp", frame_x86->context.ebp, sequence); 302 sequence = PrintRegister("ebx", frame_x86->context.ebx, sequence); 304 sequence = PrintRegister("esi", frame_x86->context.esi, sequence) [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/ |
ConcreteSyntaxModel.java | 76 return list(ObservableProperty.TYPE_PARAMETERS, CsmElement.sequence(CsmElement.comma(), CsmElement.space()), CsmElement.token(GeneratedJavaParserConstants.LT), 77 CsmElement.sequence(CsmElement.token(GeneratedJavaParserConstants.GT), CsmElement.space())); 81 return list(ObservableProperty.TYPE_ARGUMENTS, CsmElement.sequence(CsmElement.comma(), CsmElement.space()), CsmElement.token(GeneratedJavaParserConstants.LT), 82 CsmElement.sequence(CsmElement.token(GeneratedJavaParserConstants.GT))); 91 concreteSyntaxModelByClass.put(AnnotationDeclaration.class, CsmElement.sequence( 108 concreteSyntaxModelByClass.put(AnnotationMemberDeclaration.class, CsmElement.sequence( 117 CsmElement.conditional(ObservableProperty.DEFAULT_VALUE, IS_PRESENT, CsmElement.sequence(CsmElement.space(), CsmElement.token(GeneratedJavaParserConstants._DEFAULT), CsmElement.space(), CsmElement.child(DEFAULT_VALUE))), 121 concreteSyntaxModelByClass.put(ClassOrInterfaceDeclaration.class, sequence( 128 list(TYPE_PARAMETERS, sequence(comma(), space()), string(GeneratedJavaParserConstants.LT), string(GeneratedJavaParserConstants.GT)), 130 sequence(string(GeneratedJavaParserConstants.COMMA), space()) [all...] |
/external/guava/guava/src/com/google/common/base/ |
CharMatcher.java | 258 @Override public int indexIn(CharSequence sequence) { 259 return (sequence.length() == 0) ? -1 : 0; 262 @Override public int indexIn(CharSequence sequence, int start) { 263 int length = sequence.length(); 268 @Override public int lastIndexIn(CharSequence sequence) { 269 return sequence.length() - 1; 272 @Override public boolean matchesAllOf(CharSequence sequence) { 273 checkNotNull(sequence); 277 @Override public boolean matchesNoneOf(CharSequence sequence) { 278 return sequence.length() == 0 [all...] |
Utf8.java | 41 * Returns the number of bytes in the UTF-8-encoded form of {@code sequence}. For a string, 45 * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired 48 public static int encodedLength(CharSequence sequence) { 50 int utf16Length = sequence.length(); 55 while (i < utf16Length && sequence.charAt(i) < 0x80) { 61 char c = sequence.charAt(i); 65 utf8Length += encodedLengthGeneral(sequence, i); 78 private static int encodedLengthGeneral(CharSequence sequence, int start) { 79 int utf16Length = sequence.length(); 82 char c = sequence.charAt(i) [all...] |
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
CharMatcher.java | 256 @Override public int indexIn(CharSequence sequence) { 257 return (sequence.length() == 0) ? -1 : 0; 260 @Override public int indexIn(CharSequence sequence, int start) { 261 int length = sequence.length(); 266 @Override public int lastIndexIn(CharSequence sequence) { 267 return sequence.length() - 1; 270 @Override public boolean matchesAllOf(CharSequence sequence) { 271 checkNotNull(sequence); 275 @Override public boolean matchesNoneOf(CharSequence sequence) { 276 return sequence.length() == 0 [all...] |
/external/webrtc/tools/matlab/ |
maxUnwrap.m | 1 function sequence = maxUnwrap(sequence, max) 3 % sequence = maxUnwrap(sequence, max) 8 % sequence: The vector to unwrap. 9 % max: The maximum value that the sequence can take, 14 % sequence: The unwrapped vector. 25 sequence = round((unwrap(2 * pi * sequence / max) * max) / (2 * pi));
|
/frameworks/av/media/libmedia/include/media/ |
SingleStateQueue.h | 65 // returns a sequence number which can be used with ack() 69 int32_t sequence = mSequence; local 70 sequence++; 71 android_atomic_acquire_store(sequence, &shared->mSequence); 73 sequence++; 74 android_atomic_release_store(sequence, &shared->mSequence); 75 mSequence = sequence; 77 return sequence; 95 // return true if a push with specified sequence number or later has been observed 96 bool ack(int32_t sequence) cons [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/ |
PermutationChromosome.java | 32 * Permutes the <code>sequence</code> of objects of type T according to the 34 * represents a permutation (3,0,1,2), and the unpermuted sequence is 37 * @param sequence 38 * the unpermuted (original) sequence of objects 39 * @return permutation of <code>sequence</code> represented by this 42 List<T> decode(List<T> sequence);
|
/external/llvm/bindings/python/llvm/tests/ |
test_disassembler.py | 10 sequence = '\x67\xe3\x81' # jcxz -127 15 count, s = disassembler.get_instruction(sequence) 24 sequence = '\x67\xe3\x81\x01\xc7' # jcxz -127; addl %eax, %edi 28 instructions = list(disassembler.get_instructions(sequence)) 35 sequence = '\x10\x40\x2d\xe9' 40 count, s = disassembler.get_instruction(sequence)
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/tests/ |
test_disassembler.py | 10 sequence = '\x67\xe3\x81' # jcxz -127 15 count, s = disassembler.get_instruction(sequence) 24 sequence = '\x67\xe3\x81\x01\xc7' # jcxz -127; addl %eax, %edi 28 instructions = list(disassembler.get_instructions(sequence)) 35 sequence = '\x10\x40\x2d\xe9' 40 count, s = disassembler.get_instruction(sequence)
|
/external/tensorflow/tensorflow/contrib/keras/api/keras/preprocessing/sequence/ |
__init__.py | 15 """Keras data preprocessing utils for sequence data.""" 21 from tensorflow.python.keras.preprocessing.sequence import make_sampling_table 22 from tensorflow.python.keras.preprocessing.sequence import pad_sequences 23 from tensorflow.python.keras.preprocessing.sequence import skipgrams
|
/external/bcc/src/cc/frontends/p4/compiler/ |
topoSorting.py | 54 def visit(node, topo_sorting, sequence=None): 55 if sequence is not None: 56 sequence += [str(node)] 58 if sequence is not None: 59 print("cycle", sequence) 64 res = visit(next_node, topo_sorting, sequence) 79 if not visit(node, topo_sorting, sequence=[]):
|
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
Asn1SequenceOf.java | 32 ImmutableList.of(Asn1Tag.SEQUENCE); 34 protected LinkedList<T> sequence = new LinkedList<T>(); field in class:Asn1SequenceOf 51 sequence.addLast(component); 55 return sequence; 61 return Asn1Tag.SEQUENCE; 70 for (Asn1Object component : sequence) { 77 for (Asn1Object component : sequence) { 107 Preconditions.checkState(sequence.size() >= minimumSize, 110 || sequence.size() <= maximumSize, 115 listBuilder.add(PerAlignedUtils.encodeSemiConstrainedLength(sequence.size())) [all...] |
/external/cn-cbor/test/ |
test.c | 54 case CN_CBOR_TEXT_CHUNKED: OUT("(_\n"); goto sequence; 55 case CN_CBOR_BYTES_CHUNKED: OUT("(_\n\n"); goto sequence; 56 case CN_CBOR_TAG: PRF("%ld(\n", cb->v.sint); goto sequence; 57 case CN_CBOR_ARRAY: finchar = ']'; OUT("[\n"); goto sequence; 58 case CN_CBOR_MAP: finchar = '}'; OUT("{\n"); goto sequence; 59 sequence:
|
/cts/tests/security/src/android/keystore/cts/ |
RootOfTrust.java | 42 throw new CertificateParsingException("Expected sequence for root of trust, found " 46 ASN1Sequence sequence = (ASN1Sequence) asn1Encodable; local 48 Asn1Utils.getByteArrayFromAsn1(sequence.getObjectAt(VERIFIED_BOOT_KEY_INDEX)); 49 deviceLocked = Asn1Utils.getBooleanFromAsn1(sequence.getObjectAt(DEVICE_LOCKED_INDEX)); 51 Asn1Utils.getIntegerFromAsn1(sequence.getObjectAt(VERIFIED_BOOT_STATE_INDEX));
|