Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Iterate (0.16 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.service.DataService#iterate(java.lang.String,
         * org.codelibs.fess.crawler.util.AccessResultCallback)
         */
        @Override
        public void iterate(final String sessionId, final AccessResultCallback<AccessResultImpl<Long>> accessResultCallback) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeMultimap.java

     * Object#equals}.
     *
     * <p>The collections returned by {@code keySet} and {@code asMap} iterate through the keys
     * according to the key comparator ordering or the natural ordering of the keys. Similarly, {@code
     * get}, {@code removeAll}, and {@code replaceValues} return collections that iterate through the
     * values according to the value comparator ordering or the natural ordering of the values. The
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/AccessResultCallback.java

    package org.codelibs.fess.crawler.util;
    
    import org.codelibs.fess.crawler.entity.AccessResult;
    
    /**
     * @author shinsuke
     *
     */
    public interface AccessResultCallback<RESULT extends AccessResult<?>> {
        void iterate(RESULT accessResult);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 861 bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    assertTrue(urlQueue.getUrl() + "=>" + url2, urlQueue.getUrl().startsWith(url2));
                }
    
                dataService.iterate(sessionId1, accessResult -> assertTrue(accessResult.getUrl().startsWith(url1)));
                dataService.iterate(sessionId2, accessResult -> assertTrue(accessResult.getUrl().startsWith(url2)));
    
                dataService.delete(sessionId1);
                dataService.delete(sessionId2);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                final Number value = (Number) field;
                return (T) Long.valueOf(value.longValue());
            }
            return (T) field;
        }
    
        @Override
        public void iterate(final String sessionId, final AccessResultCallback<OpenSearchAccessResult> callback) {
            SearchResponse response = getClient().get(c -> c.prepareSearch(index).setScroll(new TimeValue(scrollTimeout))
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/archive/tar/example_test.go

    			log.Fatal(err)
    		}
    		if _, err := tw.Write([]byte(file.Body)); err != nil {
    			log.Fatal(err)
    		}
    	}
    	if err := tw.Close(); err != nil {
    		log.Fatal(err)
    	}
    
    	// Open and iterate through the files in the archive.
    	tr := tar.NewReader(&buf)
    	for {
    		hdr, err := tr.Next()
    		if err == io.EOF {
    			break // End of archive
    		}
    		if err != nil {
    			log.Fatal(err)
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 16 16:54:08 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java

        void delete(String sessionId);
    
        void deleteAll();
    
        RESULT getAccessResult(String sessionId, String url);
    
        List<RESULT> getAccessResultList(String url, boolean hasData);
    
        void iterate(String sessionId, final AccessResultCallback<RESULT> accessResultCallback);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/archive/zip/example_test.go

    		log.Fatal(err)
    	}
    }
    
    func ExampleReader() {
    	// Open a zip archive for reading.
    	r, err := zip.OpenReader("testdata/readme.zip")
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer r.Close()
    
    	// Iterate through the files in the archive,
    	// printing some of their contents.
    	for _, f := range r.File {
    		fmt.Printf("Contents of %s:\n", f.Name)
    		rc, err := f.Open()
    		if err != nil {
    			log.Fatal(err)
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 27 00:22:03 UTC 2016
    - 2K bytes
    - Viewed (0)
  9. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

        return STORY_JSON_ADAPTER.fromJson(source)!!
      }
    
      private fun readStory(file: Path): Story {
        fileSystem.read(file) {
          return readStory(this)
        }
      }
    
      /** Iterate through the hpack-test-case resources, only picking stories for the current draft.  */
      fun storiesForCurrentDraft(): Array<String> {
        val resource =
          HpackJsonUtil::class.java.getResource("/hpack-test-case")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      }
    
      @Benchmark
      @Footprint(exclude = Element.class)
      public Map<Element, Element> create() throws Exception {
        return mapsImpl.create(contents);
      }
    
      @Benchmark
      public int iterate() {
        long retVal = 0;
        for (Object entry : map.entrySet()) {
          retVal += entry.hashCode();
        }
        return (int) retVal;
      }
    
      @Benchmark
      public int keyIterate() {
        long retVal = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top