Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2571 - 2580 of 3,487 for init (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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/os-readdir_test.go

    				t.Fatalf("expected = %s, got: %s", r.entries, entries)
    			}
    		}
    	}
    }
    
    func TestReadDirN(t *testing.T) {
    	testCases := []struct {
    		numFiles    int
    		n           int
    		expectedNum int
    	}{
    		{0, 0, 0},
    		{0, 1, 0},
    		{1, 0, 0},
    		{0, -1, 0},
    		{1, -1, 1},
    		{10, -1, 10},
    		{1, 1, 1},
    		{2, 1, 1},
    		{10, 9, 9},
    		{10, 10, 10},
    		{10, 11, 10},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

            CacheBuilder.newBuilder().weakValues().build(countingLoader);
        ConcurrentMap<Object, Object> map = cache.asMap();
    
        int iterations = 10;
        WeakReference<Object> ref = new WeakReference<>(null);
        int expectedComputations = 0;
        for (int i = 0; i < iterations; i++) {
          // The entry should get garbage collected and recomputed.
          Object oldValue = ref.get();
          if (oldValue == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterables.java

          Iterable<T> iterable, int numberToSkip) {
        checkNotNull(iterable);
        checkArgument(numberToSkip >= 0, "number to skip cannot be negative");
    
        return new FluentIterable<T>() {
          @Override
          public Iterator<T> iterator() {
            if (iterable instanceof List) {
              List<T> list = (List<T>) iterable;
              int toSkip = Math.min(list.size(), numberToSkip);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  5. finisher_api.go

    func (db *DB) FindInBatches(dest interface{}, batchSize int, fc func(tx *DB, batch int) error) *DB {
    	var (
    		tx = db.Order(clause.OrderByColumn{
    			Column: clause.Column{Table: clause.CurrentTable, Name: clause.PrimaryKey},
    		}).Session(&Session{})
    		queryDB      = tx
    		rowsAffected int64
    		batch        int
    	)
    
    	// user specified offset or limit
    	var totalSize int
    	if c, ok := tx.Statement.Clauses["LIMIT"]; ok {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  6. docs/em/docs/async.md

    `await` ๐Ÿ‘ท, โšซ๏ธ โœ”๏ธ ๐Ÿ”˜ ๐Ÿ”ข ๐Ÿ‘ˆ ๐Ÿ•โ€๐Ÿฆบ ๐Ÿ‘‰ ๐Ÿ”€. ๐Ÿ‘ˆ, ๐Ÿ‘† ๐Ÿ“ฃ โšซ๏ธ โฎ๏ธ `async def`:
    
    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Do some asynchronous stuff to create the burgers
        return burgers
    ```
    
    ...โ†ฉ๏ธ `def`:
    
    ```Python hl_lines="2"
    # This is not asynchronous
    def get_sequential_burgers(number: int):
        # Do some sequential stuff to create the burgers
        return burgers
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. cmd/data-usage-cache_gen.go

    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *allTierStats) Msgsize() (s int) {
    	s = 1 + 3 + msgp.MapHeaderSize
    	if z.Tiers != nil {
    		for za0001, za0002 := range z.Tiers {
    			_ = za0002
    			s += msgp.StringPrefixSize + len(za0001) + 1 + 3 + msgp.Uint64Size + 3 + msgp.IntSize + 3 + msgp.IntSize
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Dec 15 22:50:12 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

         * @return An empty map.
         */
        protected Map<String, Object> createEmptyMap() {
            final Map<String, Object> map = new HashMap<>();
            map.put(FieldNames.TEXT, StringUtil.EMPTY);
    
            for (int i = 0; i < readings.length; i++) {
                map.put(FieldNames.READING_PREFIX + i, new String[] {});
            }
    
            map.put(FieldNames.FIELDS, new String[] {});
            map.put(FieldNames.TAGS, new String[] {});
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/MoreObjects.java

         *
         * <p>It is strongly encouraged to use {@link #add(String, int)} instead and give value a
         * readable name.
         *
         * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.addValue()}).
         */
        @CanIgnoreReturnValue
        public ToStringHelper addValue(int value) {
          return addUnconditionalHolder(String.valueOf(value));
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/query-params.md

    ๊ทธ๋ฆฌ๊ณ  ๋ฌผ๋ก , ์ผ๋ถ€ ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” ํ•„์ˆ˜๋กœ, ๋‹ค๋ฅธ ์ผ๋ถ€๋Š” ๊ธฐ๋ณธ๊ฐ’์„, ๋˜ ๋‹ค๋ฅธ ์ผ๋ถ€๋Š” ์„ ํƒ์ ์œผ๋กœ ์„ ์–ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    {* ../../docs_src/query_params/tutorial006.py hl[10] *}
    
    ์œ„ ์˜ˆ์‹œ์—์„œ๋Š” 3๊ฐ€์ง€ ์ฟผ๋ฆฌ ๋งค๊ฐœ๋ณ€์ˆ˜๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    * `needy`, ํ•„์ˆ˜์ ์ธ `str`.
    * `skip`, ๊ธฐ๋ณธ๊ฐ’์ด `0`์ธ `int`.
    * `limit`, ์„ ํƒ์ ์ธ `int`.
    
    /// tip | ํŒ
    
    [๊ฒฝ๋กœ ๋งค๊ฐœ๋ณ€์ˆ˜](path-params.md#_8){.internal-link target=_blank}์™€ ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ `Enum`์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top