Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 233 for ages (0.03 sec)

  1. tests/scan_test.go

    		t.Errorf("Should find expected results, got %+v", results)
    	}
    
    	var ages int
    	if err := DB.Table("users").Where("name = ? or name = ?", user2.Name, user3.Name).Select("SUM(age)").Scan(&ages).Error; err != nil || ages != 30 {
    		t.Fatalf("failed to scan ages, got error %v, ages: %v", err, ages)
    	}
    
    	var name string
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. finisher_api.go

    	}, tx.Error)
    	tx.Logger = currentLogger
    	return
    }
    
    // Pluck queries a single column from a model, returning in the slice dest. E.g.:
    //
    //	var ages []int64
    //	db.Model(&users).Pluck("age", &ages)
    func (db *DB) Pluck(column string, dest interface{}) (tx *DB) {
    	tx = db.getInstance()
    	if tx.Statement.Model != nil {
    		if tx.Statement.Parse(tx.Statement.Model) == nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  3. tests/soft_delete_test.go

    		t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count)
    	}
    
    	var pages uint
    	if DB.Model(&SoftDeleteBook{}).Select("pages").Where("name = ?", book.Name).Scan(&pages).Error != nil || pages != book.Pages {
    		t.Errorf("Pages soft deleted record, expects: %v, got: %v", 0, pages)
    	}
    
    	if err := DB.Delete(&book).Error; err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SecureKeyManagerTest.java

            String sessionId = "age-test";
            keyManager.storeSessionKey(sessionId, testKey, "AES");
    
            long initialAge = keyManager.getKeyAge(sessionId);
            assertTrue(initialAge >= 0 && initialAge < 100, "Initial age should be small");
    
            Thread.sleep(200);
    
            long laterAge = keyManager.getKeyAge(sessionId);
            assertTrue(laterAge >= 200, "Age should increase after delay");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. util/update_snapshot_docs.sh

    cd $HOME
    git clone -q -b gh-pages "https://x-access-token:${GITHUB_TOKEN}@github.com/google/guava.git" gh-pages > /dev/null
    cd gh-pages
    
    git config --global user.name "$GITHUB_ACTOR"
    git config --global user.email "$******@****.***"
    
    ./updaterelease.sh snapshot
    
    git push -fq origin gh-pages > /dev/null
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Mar 16 16:48:28 UTC 2021
    - 439 bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CartesianList.java

      }
    
      CartesianList(ImmutableList<List<E>> axes) {
        this.axes = axes;
        int[] axesSizeProduct = new int[axes.size() + 1];
        axesSizeProduct[axes.size()] = 1;
        try {
          for (int i = axes.size() - 1; i >= 0; i--) {
            axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/pager/KuromojiPager.java

        }
    
        /**
         * Returns the total number of pages.
         *
         * @return The total number of pages.
         */
        public int getAllPageCount() {
            return allPageCount;
        }
    
        /**
         * Sets the total number of pages.
         *
         * @param allPageCount The total number of pages.
         */
        public void setAllPageCount(final int allPageCount) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/GroupPager.java

        /** Default current page number when pagination starts. */
        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /** Total number of records available across all pages. */
        private int allRecordCount;
    
        /** Total number of pages available for pagination. */
        private int allPageCount;
    
        /** Flag indicating whether a previous page exists. */
        private boolean existPrePage;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/LabelTypePager.java

        }
    
        /**
         * Returns the total number of pages.
         *
         * @return The total number of pages.
         */
        public int getAllPageCount() {
            return allPageCount;
        }
    
        /**
         * Sets the total number of pages.
         *
         * @param allPageCount The total number of pages.
         */
        public void setAllPageCount(final int allPageCount) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/SchedulerPager.java

            this.allRecordCount = allRecordCount;
        }
    
        /**
         * Gets the total number of pages.
         * @return The total number of pages.
         */
        public int getAllPageCount() {
            return allPageCount;
        }
    
        /**
         * Sets the total number of pages.
         * @param allPageCount The total number of pages.
         */
        public void setAllPageCount(final int allPageCount) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top