Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2561 - 2570 of 3,763 for int (0.04 sec)

  1. cmd/bootstrap-peer-server.go

    	srcCfg := getServerSystemCfg()
    	clnts := newBootstrapRESTClients(endpointServerPools, gm)
    	var onlineServers int
    	var offlineEndpoints []error
    	var incorrectConfigs []error
    	var retries int
    	var mu sync.Mutex
    	for onlineServers < len(clnts)/2 {
    		var wg sync.WaitGroup
    		wg.Add(len(clnts))
    		onlineServers = 0
    		for _, clnt := range clnts {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionLifecycleTest.kt

        clientTestRule.newClient().newCall(Request(server.url("/"))).execute().use {
          assertThat(it.code).isEqualTo(200)
        }
      }
    
      @ParameterizedTest
      @ValueSource(ints = [1, 2])
      fun paramTest(
        instance: Int,
        server: MockWebServer,
      ) {
        assertThat(server).isSameInstanceAs(instanceServer)
      }
    
      companion object {
        private lateinit var staticServer: MockWebServer
    
        @JvmStatic
        @BeforeAll
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 11 12:12:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

        protected FessConfig fessConfig;
    
        public List<StopwordsItem> getStopwordsList(final String dictId, final StopwordsPager stopwordsPager) {
            return getStopwordsFile(dictId).map(file -> {
                final int pageSize = stopwordsPager.getPageSize();
                final PagingList<StopwordsItem> stopwordsList =
                        file.selectList((stopwordsPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/SynonymService.java

        @Resource
        protected FessConfig fessConfig;
    
        public List<SynonymItem> getSynonymList(final String dictId, final SynonymPager synonymPager) {
            return getSynonymFile(dictId).map(file -> {
                final int pageSize = synonymPager.getPageSize();
                final PagingList<SynonymItem> synonymList = file.selectList((synonymPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
    
                // update pager
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

        getMap().inverse().values().remove(k0());
        expectMissing(e0());
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testKeySetIteratorRemove() {
        int initialSize = getNumElements();
        Iterator<K> iterator = getMap().keySet().iterator();
        iterator.next();
        iterator.remove();
        assertEquals(initialSize - 1, getMap().size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

            }
            if (StringUtil.equals(loc, sitemapUrl.loc) && StringUtil.equals(lastmod, sitemapUrl.lastmod)) {
                return true;
            }
            return false;
        }
    
        @Override
        public int hashCode() {
            return loc.hashCode() + lastmod.hashCode();
        }
    
        @Override
        public String toString() {
            return "SitemapFile [loc=" + loc + ", lastmod=" + lastmod + "]";
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. docs_src/schema_extra_example/tutorial005_py310.py

    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item = Body(
            openapi_examples={
                "normal": {
                    "summary": "A normal example",
                    "description": "A **normal** item works correctly.",
                    "value": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

        }
    
        @AfterEach
        void tearDown() throws Exception {
            this.validator = null;
        }
    
        private void assertViolations(SimpleProblemCollector result, int fatals, int errors, int warnings) {
            assertEquals(fatals, result.getFatals().size(), String.valueOf(result.getFatals()));
            assertEquals(errors, result.getErrors().size(), String.valueOf(result.getErrors()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. gorm.go

    	Logger                   logger.Interface
    	NowFunc                  func() time.Time
    	CreateBatchSize          int
    }
    
    // Open initialize db session based on dialector
    func Open(dialector Dialector, opts ...Option) (db *DB, err error) {
    	config := &Config{}
    
    	sort.Slice(opts, func(i, j int) bool {
    		_, isConfig := opts[i].(*Config)
    		_, isConfig2 := opts[j].(*Config)
    		return isConfig && !isConfig2
    	})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        } catch (NoSuchElementException expected) {
        }
      }
    
      private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) {
        assertEquals(expected, permutationSet.size());
        Iterator<List<T>> permutations = permutationSet.iterator();
        for (int i = 0; i < expected; i++) {
          assertTrue(permutations.hasNext());
          permutations.next();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top