Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 1,464 for while (0.02 seconds)

  1. guava/src/com/google/common/base/CharMatcher.java

          return string;
        }
    
        char[] chars = string.toCharArray();
        int spread = 1;
    
        // This unusual loop comes from extensive benchmarking
        OUT:
        while (true) {
          pos++;
          while (true) {
            if (pos == chars.length) {
              break OUT;
            }
            if (matches(chars[pos])) {
              break;
            }
            chars[pos - spread] = chars[pos];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTarIT.java

                boolean linkToFileEntry = false;
                boolean linkInFolderEntry = false;
                boolean linkInFolderLinkToFileEntry = false;
                boolean linkToRealFolderEntry = false;
                while (entry != null) {
                    if (entry.getName().equals("real-folder/")) {
                        assertTrue(entry.isDirectory());
                        realFolderEntry = true;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      /**
       * Verifies that an Iterator is unmodifiable.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
      public static void assertIteratorIsUnmodifiable(Iterator<?> iterator) {
        while (iterator.hasNext()) {
          iterator.next();
          try {
            iterator.remove();
            fail("Remove on unmodifiable iterator succeeded");
          } catch (UnsupportedOperationException expected) {
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected SortedSet<String> create(String[] elements) {
          return ImmutableSortedSet.orderedBy(STRING_REVERSED).add(elements).build();
        }
    
        /*
         * While the current implementation returns `this`, that's not something we mean to guarantee.
         * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new
         * collection.
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                final Map<String, Object>[] array = new Map[(int) response.getHits().getTotalHits().value()];
    
                int count = 0;
                try {
                    while (scrollId != null) {
                        final SearchHit[] hits = response.getHits().getHits();
                        if (hits.length == 0) {
                            break;
                        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                assertEquals("All URLs should be added", threadCount * urlsPerThread, callback.deleteUrlList.size());
            }
        }
    
        /**
         * Test concurrent reads from deleteUrlList while synchronized.
         * Verifies that ArrayList can be safely read when properly synchronized.
         */
        @Test
        public void test_deleteUrlList_concurrentReads() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

                            () -> asListHtml(this::saveToken));
                    return redirect(getClass()); // no-op
                }
                String line;
                while ((line = ReaderUtil.readLine(reader)) != null) {
                    buf.append(line);
                }
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                logger.debug("Theme: name={}", themeName);
            }
            try (ZipInputStream zis = new ZipInputStream(Files.newInputStream(jarPath))) {
                ZipEntry entry;
                while ((entry = zis.getNextEntry()) != null) {
                    if (!entry.isDirectory()) {
                        final String[] names = StreamUtil.split(entry.getName(), "/")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

            }
            if (!rangeValue.closed) {
                return isLeft ? -1 : 1;
            }
            return 0;
        }
    
        private static void addZeroTokens(List<String> tokens, int max) {
            while (tokens.size() < max) {
                tokens.add("0");
            }
        }
    
        private static boolean isRange(String value) {
            return value.startsWith("[") || value.startsWith("(");
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformer.java

            // transform the tests and include the global setup and teardown as part of the transform
            for (ObjectNode test : tests) {
                Iterator<Map.Entry<String, JsonNode>> testsIterator = test.fields();
                while (testsIterator.hasNext()) {
                    Map.Entry<String, JsonNode> testObject = testsIterator.next();
                    String testName = testObject.getKey();
                    if ("setup".equals(testName)) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 12 17:42:01 GMT 2021
    - 8.1K bytes
    - Click Count (0)
Back to Top