Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for sequencer (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        @CheckForNull @LazyInit Thread submitting;
    
        private TaskNonReentrantExecutor(Executor delegate, ExecutionSequencer sequencer) {
          super(NOT_RUN);
          this.delegate = delegate;
          this.sequencer = sequencer;
        }
    
        @Override
        public void execute(Runnable task) {
          // If this operation was successfully cancelled already, calling the runnable will be a noop.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * good" reference implementation. In order to accomplish this, it's important to test a great
     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
     * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i>
     * possible sequences of these operations, up to a given number of steps. So, if the caller
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Utf8.java

       * time and space.
       *
       * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired
       *     surrogates)
       */
      public static int encodedLength(CharSequence sequence) {
        // Warning to maintainers: this implementation is highly optimized.
        int utf16Length = sequence.length();
        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CharMatcher.java

       * sequence. Returns a bogus matcher if the sequence contains supplementary characters.
       */
      public static CharMatcher anyOf(final CharSequence sequence) {
        switch (sequence.length()) {
          case 0:
            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

                    }
                    ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
                    Enumeration<ASN1Object> fields = sequence.getObjects();
                    while ( fields.hasMoreElements() ) {
                        tagged = (ASN1TaggedObject) fields.nextElement();
                        switch ( tagged.getTagNo() ) {
                        case 0:
                            sequence = ASN1Sequence.getInstance(tagged, true);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            int index = offset;
            update(data, index, ServerMessageBlock.SIGNATURE_OFFSET); 
            index += ServerMessageBlock.SIGNATURE_OFFSET;
            byte[] sequence = new byte[8]; 
            ServerMessageBlock.writeInt4(response.signSeq, sequence, 0); 
            update(sequence, 0, sequence.length); 
            index += 8;
            if( response.command == ServerMessageBlock.SMB_COM_READ_ANDX ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSource.java

       *
       * <p>Like {@link BufferedReader#readLine()}, this method considers a line to be a sequence of
       * text that is terminated by (but does not include) one of {@code \r\n}, {@code \r} or {@code
       * \n}. If the source's content does not end in a line termination sequence, it is treated as if
       * it does.
       *
       * @throws IOException if an I/O error occurs while reading from this source
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      /** Returns the element with the specified index. This method is called by {@link #next()}. */
      @ParametricNullness
      protected abstract E get(int index);
    
      /**
       * Constructs an iterator across a sequence of the given size whose initial position is 0. That
       * is, the first call to {@link #next()} will return the first element (or throw {@link
       * NoSuchElementException} if {@code size} is zero).
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/spnego/NegTokenTarg.java

            try ( ASN1InputStream der = new ASN1InputStream(token) ) {
                ASN1TaggedObject tagged = (ASN1TaggedObject) der.readObject();
                ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
                Enumeration<?> fields = sequence.getObjects();
                while ( fields.hasMoreElements() ) {
                    tagged = (ASN1TaggedObject) fields.nextElement();
                    switch ( tagged.getTagNo() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/IterablesTest.java

      public void testIndexOf_genericPredicate() {
        List<CharSequence> sequences = Lists.newArrayList();
        sequences.add("bob");
        sequences.add(new StringBuilder("charlie"));
        sequences.add(new StringBuffer("henry"));
        sequences.add(new StringBuilder("apple"));
        sequences.add("lemon");
    
        assertEquals(3, Iterables.indexOf(sequences, STARTSWITH_A));
      }
    
      public void testIndexOf_genericPredicate2() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
Back to top