Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for atTotal (0.08 sec)

  1. docs/distributed/DESIGN.md

            serverPools := z.getServerPoolsAvailableSpace(ctx)
            total := serverPools.TotalAvailable()
            // choose when we reach this many
            choose := rand.Uint64() % total
            atTotal := uint64(0)
            for _, pool := range serverPools {
                    atTotal += pool.Available
                    if atTotal > choose && pool.Available > 0 {
                            return pool.Index
                    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 8K bytes
    - Viewed (1)
  2. tests/group_by_test.go

    		t.Errorf("no error should happen, but got %v", err)
    	}
    
    	if name != "groupby" || total != 60 {
    		t.Errorf("name should be groupby, but got %v, total should be 60, but got %v", name, total)
    	}
    
    	if err := DB.Model(&User{}).Select("name, sum(age) as total").Where("name LIKE ?", "groupby%").Group("name").Having("name = ?", "groupby1").Row().Scan(&name, &total); err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/pager/SynonymPager.java

            return 1;
        }
    
        /**
         * Gets the total number of records.
         *
         * @return The total record count.
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records.
         *
         * @param allRecordCount The total record count.
         */
        public void setAllRecordCount(final int allRecordCount) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/pager/RelatedContentPager.java

            versionNo = null;
    
        }
    
        /**
         * Gets the total number of records across all pages.
         *
         * @return total record count
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records across all pages.
         *
         * @param allRecordCount total record count
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/pager/KuromojiPager.java

            return 1;
        }
    
        /**
         * Returns the total number of records.
         *
         * @return The total number of records.
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records.
         *
         * @param allRecordCount The total number of records.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/pager/KeyMatchPager.java

        }
    
        /**
         * Returns the total number of records.
         *
         * @return The total number of records.
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records.
         *
         * @param allRecordCount The total number of records.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/pager/RoleTypePager.java

            return DEFAULT_CURRENT_PAGE_NUMBER;
        }
    
        /**
         * Gets the total number of records.
         * @return The total number of records.
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records.
         * @param allRecordCount The total number of records.
         */
        public void setAllRecordCount(final int allRecordCount) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/DocList.java

            contentSize = 0;
            processingTime = 0;
        }
    
        /**
         * Gets the total content size of all documents in this list.
         *
         * @return the total content size in bytes
         */
        public long getContentSize() {
            return contentSize;
        }
    
        /**
         * Adds to the total content size of this document list.
         *
         * @param contentSize the content size to add in bytes
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/WebConfigPager.java

            return DEFAULT_CURRENT_PAGE_NUMBER;
        }
    
        /**
         * Gets the total number of records.
         *
         * @return The total record count
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records.
         *
         * @param allRecordCount The total record count
         */
        public void setAllRecordCount(final int allRecordCount) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. cmd/last-minute.go

    type AccElem struct {
    	Total int64
    	Size  int64
    	N     int64
    }
    
    // Add a duration to a single element.
    func (a *AccElem) add(dur time.Duration) {
    	if dur < 0 {
    		dur = 0
    	}
    	a.Total += int64(dur)
    	a.N++
    }
    
    // Merge b into a.
    func (a *AccElem) merge(b AccElem) {
    	a.N += b.N
    	a.Total += b.Total
    	a.Size += b.Size
    }
    
    // Avg returns average time spent.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top