Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 362 for topk (0.02 sec)

  1. cmd/data-usage-cache.go

    	if d == nil || len(d.Cache) <= limit {
    		return
    	}
    	top := hashPath(d.Info.Name).Key()
    	topE := d.find(top)
    	if topE == nil {
    		scannerLogIf(GlobalContext, errors.New("forceCompact: root not found"))
    		return
    	}
    	// If off by 2 orders of magnitude, compact self and log error.
    	if len(topE.Children) > dataScannerForceCompactAtFolders {
    		// If we still have too many children, compact self.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/middleware.md

    And also after the `response` is generated, before returning it.
    
    For example, you could add a custom header `X-Process-Time` containing the time in seconds that it took to process the request and generate a response:
    
    ```Python hl_lines="10  12-13"
    {!../../docs_src/middleware/tutorial001.py!}
    ```
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    		// No need to return errors for failed expiration of STS users
    	}
    
    	took := time.Since(purgeStart).Seconds()
    	if took > maxDurationSecondsForLog {
    		// Log if we took a lot of time to load.
    		logger.Info("IAM expired STS purge took %.2fs", took)
    	}
    
    	// Store the newly populated map in the iam cache. This takes care of
    	// removing stale entries from the existing map.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    				consistent = false
    				continue
    			}
    			ver := vers[0]
    			if len(tops) == 0 {
    				consistent = true
    				topSig = ver.header
    			} else {
    				consistent = consistent && ver.header == topSig
    			}
    			tops = append(tops, vers[0])
    		}
    
    		// Check if done...
    		if len(tops) < quorum {
    			// We couldn't gather enough for quorum
    			break
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/es/user/allcommon/EsPagingResultBean.java

            this.builder = builder;
        }
    
        public String getQueryDsl() {
            return builder.toString();
        }
    
        public long getTook() {
            return took;
        }
    
        public void setTook(long took) {
            this.took = took;
        }
    
        public int getTotalShards() {
            return totalShards;
        }
    
        public void setTotalShards(int totalShards) {
            this.totalShards = totalShards;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

        protected final long took;
    
        protected SuggestIndexResponse(final int numberOfSuggestDocs, final int numberOfInputDocs, final List<Throwable> errors,
                final long took) {
            this.numberOfSuggestDocs = numberOfSuggestDocs;
            this.numberOfInputDocs = numberOfInputDocs;
            this.took = took;
            if (errors == null || errors.isEmpty()) {
                hasError = false;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/allcommon/EsPagingResultBean.java

            this.builder = builder;
        }
    
        public String getQueryDsl() {
            return builder.toString();
        }
    
        public long getTook() {
            return took;
        }
    
        public void setTook(long took) {
            this.took = took;
        }
    
        public int getTotalShards() {
            return totalShards;
        }
    
        public void setTotalShards(int totalShards) {
            this.totalShards = totalShards;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

    import java.util.List;
    
    public class SuggestDeleteResponse {
        protected final List<Throwable> errors = new ArrayList<>();
        protected final long took;
    
        protected SuggestDeleteResponse(final List<Throwable> errors, final long took) {
            this.took = took;
            if (errors != null && !errors.isEmpty()) {
                this.errors.addAll(errors);
            }
        }
    
        public boolean hasError() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/allcommon/EsPagingResultBean.java

            this.builder = builder;
        }
    
        public String getQueryDsl() {
            return builder.toString();
        }
    
        public long getTook() {
            return took;
        }
    
        public void setTook(long took) {
            this.took = took;
        }
    
        public int getTotalShards() {
            return totalShards;
        }
    
        public void setTotalShards(int totalShards) {
            this.totalShards = totalShards;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/tokenizer.go

    	s := t.s
    	for {
    		t.tok = ScanToken(s.Scan())
    		if t.tok != scanner.Comment {
    			break
    		}
    		text := s.TokenText()
    		t.line += strings.Count(text, "\n")
    		if constraint.IsGoBuild(text) {
    			t.tok = BuildComment
    			break
    		}
    	}
    	switch t.tok {
    	case '\n':
    		t.line++
    	case '-':
    		if s.Peek() == '>' {
    			s.Next()
    			t.tok = ARR
    			return ARR
    		}
    	case '@':
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
Back to top