Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for Ints (0.02 seconds)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      // We're testing our asEnumeration method against a known-good implementation.
      @SuppressWarnings("JdkObsolete")
      private static Enumeration<Integer> enumerate(int... ints) {
        Vector<Integer> vector = new Vector<>(Ints.asList(ints));
        return vector.elements();
      }
    
      public void testToString() {
        Iterator<String> iterator = Lists.newArrayList("yam", "bam", "jam", "ham").iterator();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 56.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * constructors with arguments. MUST be a power of two no greater than {@code 1<<30} to ensure
       * that entries are indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
      static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 89.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Iterators.java

    import com.google.common.base.Function;
    import com.google.common.base.Optional;
    import com.google.common.base.Preconditions;
    import com.google.common.base.Predicate;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.InlineMe;
    import java.util.ArrayDeque;
    import java.util.Arrays;
    import java.util.Collection;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  4. tests/query_test.go

    	err := DB.Model(&User{}).Where("name like ?", "pluck_with_select%").Select("age + 1 as user_age").Pluck("user_age", &userAges).Error
    	if err != nil {
    		t.Fatalf("got error when pluck user_age: %v", err)
    	}
    
    	sort.Ints(userAges)
    
    	AssertEqual(t, userAges, []int{26, 27})
    }
    
    func TestSelectWithVariables(t *testing.T) {
    	DB.Save(&User{Name: "select_with_variables"})
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
Back to Top