Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 958 for NEXT (0.2 seconds)

  1. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

            assertThat(i.next(), is("bbb"));
            assertThat(i.next(), is("ccc"));
            assertThat(i.next(), is("aaa"));
            lru.put("ddd", "444");
            assertThat(lru.size(), is(3));
            assertThat(lru.get("bbb"), is(nullValue()));
            i = lru.keySet().iterator();
            assertThat(i.next(), is("ccc"));
            assertThat(i.next(), is("aaa"));
            assertThat(i.next(), is("ddd"));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                String nextColor = "";
                if (matcher.find()) {
                    nextColor = matcher.group(1);
                    if (ANSI_RESET.equals(nextColor)) {
                        // last ANSI escape code is reset: no next color
                        nextColor = "";
                    }
                }
    
                // effective line, with indent and reset if end is colored
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            engine.close();
        }
    
        /**
         * Test that cached scripts do not leak binding state between evaluations.
         * Verifies that local variables in one evaluation do not affect the next.
         */
        @Test
        public void test_evaluate_noStateLeakBetweenEvaluations() {
            final GroovyEngine engine = new GroovyEngine();
            final String script = "def counter = 0; counter += x; return counter";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

          return false;
        }
    
        Object target = thatIterator.next();
        E current = thisIterator.next();
        try {
          while (true) {
            int cmp = unsafeCompare(current, target);
    
            if (cmp < 0) {
              if (!thisIterator.hasNext()) {
                return false;
              }
              current = thisIterator.next();
            } else if (cmp == 0) {
              if (!thatIterator.hasNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/BigIntegerMath.java

        // Use floor(log2(num)) + 1 to prevent overflow of multiplication.
        int productBits = LongMath.log2(product, FLOOR) + 1;
        int bits = LongMath.log2(startingNumber, FLOOR) + 1;
        // Check for the next power of two boundary, to save us a CLZ operation.
        int nextPowerOfTwo = 1 << (bits - 1);
    
        // Iteratively multiply the longs as big as they can go.
        for (long num = startingNumber; num <= n; num++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Converter.java

              @Override
              public boolean hasNext() {
                return fromIterator.hasNext();
              }
    
              @Override
              public B next() {
                return convert(fromIterator.next());
              }
    
              @Override
              public void remove() {
                fromIterator.remove();
              }
            };
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

        // We special-case for 0 or 1 elements, but anything further is madness.
        if (!elements.hasNext()) {
          return of();
        }
        E first = elements.next();
        if (!elements.hasNext()) {
          return of(first);
        } else {
          return new ImmutableSet.Builder<E>().add(first).addAll(elements).build();
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            final Indexed<String> indexed1 = it.next();
            assertThat(indexed1.getIndex(), is(0));
            assertThat(indexed1.getElement(), is("aaa"));
    
            final Indexed<String> indexed2 = it.next();
            assertThat(indexed2.getIndex(), is(1));
            assertThat(indexed2.getElement(), is("bbb"));
    
            final Indexed<String> indexed3 = it.next();
            assertThat(indexed3.getIndex(), is(2));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Lists.java

            }
    
            @Override
            public boolean hasPrevious() {
              return forwardIterator.hasNext();
            }
    
            @Override
            @ParametricNullness
            public T next() {
              if (!hasNext()) {
                throw new NoSuchElementException();
              }
              canRemoveOrSet = true;
              return forwardIterator.previous();
            }
    
            @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/lang/ClassIteratorTest.java

            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameClass(Integer.class)));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameClass(Number.class)));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameClass(Object.class)));
    
            assertThat(it.hasNext(), is(not(true)));
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top