Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 521 for init (0.16 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

          } else if (busy == 0 && cells == as && casBusy()) {
            boolean init = false;
            try { // Initialize table
              if (cells == as) {
                Cell[] rs = new Cell[2];
                rs[h & 1] = new Cell(x);
                cells = rs;
                init = true;
              }
            } finally {
              busy = 0;
            }
            if (init) break;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashSet.java

          return delegate.add(object);
        }
        int[] entries = requireEntries();
        @Nullable Object[] elements = requireElements();
    
        int newEntryIndex = this.size; // current size, and pointer to the entry to be appended
        int newSize = newEntryIndex + 1;
        int hash = smearedHash(object);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

    import org.codelibs.fess.helper.PathMappingHelper;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.MemoryUtil;
    import org.codelibs.nekohtml.parsers.DOMParser;
    import org.lastaflute.di.core.exception.ComponentNotFoundException;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // This is not actually a problem, since the foreach only needs this.futures to be non-null
          // at the beginning of the loop.
          int i = 0;
          for (ListenableFuture<? extends InputT> future : futures) {
            int index = i++;
            future.addListener(
                () -> {
                  try {
                    if (future.isCancelled()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                return builder.build();
            }
        }
    
        static class TestSubSearcher extends RankFusionSearcher {
    
            private int mainSize;
            private int inSize;
            private int outSize;
    
            TestSubSearcher(int mainSize, int inSize, int outSize) {
                this.mainSize = mainSize;
                this.inSize = inSize;
                this.outSize = outSize;
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/Striped64.java

          } else if (busy == 0 && cells == as && casBusy()) {
            boolean init = false;
            try { // Initialize table
              if (cells == as) {
                Cell[] rs = new Cell[2];
                rs[h & 1] = new Cell(x);
                cells = rs;
                init = true;
              }
            } finally {
              busy = 0;
            }
            if (init) break;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          Object test = allTests.nextElement();
          if (test instanceof AbstractTester) {
            @SuppressWarnings("unchecked")
            AbstractTester<? super G> tester = (AbstractTester<? super G>) test;
            tester.init(subjectGenerator, name, setUp, tearDown);
          }
        }
    
        return suite;
      }
    
      private TestSuite filterSuite(TestSuite suite) {
        TestSuite filtered = new TestSuite(suite.getName());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

        protected Cache<String, FacetResponse> facetCache;
    
        protected long facetCacheDuration = 60 * 10L; // 10min
    
        protected int textFragmentPrefixLength;
    
        protected int textFragmentSuffixLength;
    
        protected int textFragmentSize;
    
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  9. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                long updateTime = systemHelper.getCurrentTimeAsLong();
                int errorCount = 0;
                int emptyListCount = 0;
                long cleanupTime = -1;
                while (!finishCrawling || !accessResultList.isEmpty()) {
                    try {
                        final int sessionIdListSize = finishedSessionIdList.size();
                        intervalControlHelper.setCrawlerRunning(true);
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(graphString).contains("isDirected: " + graph.isDirected());
        assertThat(graphString).contains("allowsSelfLoops: " + graph.allowsSelfLoops());
    
        int nodeStart = graphString.indexOf("nodes:");
        int edgeStart = graphString.indexOf("edges:");
        String nodeString = graphString.substring(nodeStart, edgeStart);
    
        Set<EndpointPair<N>> allEndpointPairs = new HashSet<>();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
Back to top