Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,432 for Next (0.16 sec)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals((Integer) 12, it.next());
        assertEquals((Integer) 30, it.next());
        assertEquals((Integer) 40, it.next());
        // Skipping 20
        assertEquals((Integer) 11, it.next());
        // Not skipping 400, because it moved back down
        assertEquals((Integer) 400, it.next());
        assertEquals((Integer) 13, it.next());
        assertEquals((Integer) 200, it.next());
        assertEquals((Integer) 300, it.next());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                    while ( chld.hasNext() ) {
    
                        try ( SmbResource next = chld.next() ) {
                            if ( next.isDirectory() ) {
                                try (CloseableIterator<SmbResource> children = next.children()) {
                                }
                            }
                            names.add(next.getName());
                        }
                    }
                }
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(cycle.hasNext());
        assertEquals("a", cycle.next());
        cycle.remove();
        assertEquals(Collections.singletonList("b"), iterable);
        assertTrue(cycle.hasNext());
        assertEquals("b", cycle.next());
        assertTrue(cycle.hasNext());
        assertEquals("b", cycle.next());
        cycle.remove();
        assertEquals(Collections.emptyList(), iterable);
        assertFalse(cycle.hasNext());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

          @Override
          @ParametricNullness
          public T next() {
            T next = iterator.next();
            iterator.remove();
            return next;
          }
    
          @Override
          public String toString() {
            return "Iterators.consumingIterator(...)";
          }
        };
      }
    
      /**
       * Deletes and returns the next value from the iterator, or returns {@code null} if there is no
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

       *
       * If this flag is set, the next four
       * bytes represent the mask key. These bytes appear after any additional bytes specified by [B1_MASK_LENGTH].
       */
      internal const val B1_FLAG_MASK = 128
    
      /**
       * Byte 1 mask for the payload length.
       *
       * If this value is [PAYLOAD_SHORT], the next two
       * bytes represent the length. If this value is [PAYLOAD_LONG], the next eight bytes
       * represent the length.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/tokenizer.go

    }
    
    func (t *Tokenizer) Col() int {
    	return t.s.Pos().Column
    }
    
    func (t *Tokenizer) Next() ScanToken {
    	s := t.s
    	for {
    		t.tok = ScanToken(s.Scan())
    		if t.tok != scanner.Comment {
    			break
    		}
    		text := s.TokenText()
    		t.line += strings.Count(text, "\n")
    		if constraint.IsGoBuild(text) {
    			t.tok = BuildComment
    			break
    		}
    	}
    	switch t.tok {
    	case '\n':
    		t.line++
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        int next = table[tableIndex];
        if (next == UNSET) {
          table[tableIndex] = newEntryIndex;
        } else {
          int last;
          long entry;
          do {
            last = next;
            entry = entries[next];
            if (getHash(entry) == hash && Objects.equal(key, keys[next])) {
              int oldValue = values[next];
    
              values[next] = value;
              return oldValue;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 15K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

                        Entry<String, String> next;
    
                        {
                            advance();
                        }
    
                        private void advance() {
                            next = null;
                            while (iterator.hasNext()) {
                                Entry<Object, Object> e = iterator.next();
                                if (PropertiesAsMap.matches(e)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

         */
        @Override
        public boolean hasNext () {
            return this.next != null;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#next()
         */
        @Override
        public SmbResource next () {
            SmbResource n = this.next;
            this.next = advance();
            return n;
        }
    
    
        /**
         * {@inheritDoc}
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        assertEquals(o1, three.next().target);
        assertFalse(three.hasNext());
    
        three = registry.getSubscribers("");
    
        registry.unregister(s2);
    
        assertEquals(s1, three.next().target);
        assertEquals(s2, three.next().target);
        assertEquals(o1, three.next().target);
        assertFalse(three.hasNext());
    
        Iterator<Subscriber> two = registry.getSubscribers("");
        assertEquals(s1, two.next().target);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.7K bytes
    - Viewed (0)
Back to top