Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 691 for stor (0.15 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        // Unfortunately this is pasted from ImmutableCollection.Builder.
        private static int expandedCapacity(int oldCapacity, int minCapacity) {
          if (minCapacity < 0) {
            throw new AssertionError("cannot store more than MAX_VALUE elements");
          }
          // careful of overflow!
          int newCapacity = oldCapacity + (oldCapacity >> 1) + 1;
          if (newCapacity < minCapacity) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/response-model.md

    ```Python hl_lines="11  13-14"
    {!> ../../docs_src/response_model/tutorial004.py!}
    ```
    
    ////
    
    * `description: Union[str, None] = None` (or `str | None = None` in Python 3.10) has a default of `None`.
    * `tax: float = 10.5` has a default of `10.5`.
    * `tags: List[str] = []` has a default of an empty list: `[]`.
    
    but you might want to omit them from the result if they were not actually stored.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/ImmutableIntArray.java

        // Unfortunately this is pasted from ImmutableCollection.Builder.
        private static int expandedCapacity(int oldCapacity, int minCapacity) {
          if (minCapacity < 0) {
            throw new AssertionError("cannot store more than MAX_VALUE elements");
          }
          // careful of overflow!
          int newCapacity = oldCapacity + (oldCapacity >> 1) + 1;
          if (newCapacity < minCapacity) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. cmd/metacache-stream.go

    	if r == nil || r.closer == nil {
    		return nil
    	}
    	r.closer()
    	r.closer = nil
    	r.creator = nil
    	return nil
    }
    
    // metacacheBlockWriter collects blocks and provides a callaback to store them.
    type metacacheBlockWriter struct {
    	wg           sync.WaitGroup
    	streamErr    error
    	blockEntries int
    }
    
    // newMetacacheBlockWriter provides a streaming block writer.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/bufio/bufio.go

    		}
    	}
    	b.err = io.ErrNoProgress
    }
    
    func (b *Reader) readErr() error {
    	err := b.err
    	b.err = nil
    	return err
    }
    
    // Peek returns the next n bytes without advancing the reader. The bytes stop
    // being valid at the next read call. If Peek returns fewer than n bytes, it
    // also returns an error explaining why the read is short. The error is
    // [ErrBufferFull] if n is larger than b's buffer size.
    //
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle.go

    func newExpiryState(ctx context.Context, objAPI ObjectLayer, n int) *expiryState {
    	es := &expiryState{
    		ctx:    ctx,
    		objAPI: objAPI,
    	}
    	workers := make([]chan expiryOp, 0, n)
    	es.workers.Store(&workers)
    	es.ResizeWorkers(n)
    	return es
    }
    
    func (es *expiryState) getWorkerCh(h uint64) chan<- expiryOp {
    	w := es.workers.Load()
    	if w == nil || len(*w) == 0 {
    		return nil
    	}
    	workers := *w
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            }
    
            try {
                return getResponseData(uri, includeContent);
            } finally {
                if (accessTimeoutTarget != null) {
                    accessTimeoutTarget.stop();
                    if (!accessTimeoutTask.isCanceled()) {
                        accessTimeoutTask.cancel();
                    }
                }
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    			if !v.hasEnded() {
    				v.stop()
    			}
    		}
    		globalAllHealState.Unlock()
    	}
    
    	// Init background heal state
    	if globalBackgroundHealState == nil {
    		globalBackgroundHealState = newHealState(GlobalContext, false)
    	} else {
    		globalBackgroundHealState.Lock()
    		for _, v := range globalBackgroundHealState.healSeqMap {
    			if !v.hasEnded() {
    				v.stop()
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            }
            generatorList.forEach(g -> {
                try {
                    g.destroy();
                } catch (final Exception e) {
                    logger.warn("Failed to stop thumbnail generator.", e);
                }
            });
        }
    
        public String getThumbnailPathOption() {
            return "-D" + Constants.FESS_THUMBNAIL_PATH + "=" + baseDir.getAbsolutePath();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            }
        }
    
        private void forceStop() {
            systemHelper.setForceStop(true);
            for (final Crawler crawler : crawlerList) {
                crawler.stop();
            }
        }
    
        public long getExecuteTime() {
            return executeTime;
        }
    
        public List<String> getSessionIdList() {
            return sessionIdList;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top