Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for nums (0.04 sec)

  1. guava-tests/test/com/google/common/base/PredicatesTest.java

      public void testIn_compilesWithExplicitSupertype() {
        Collection<Number> nums = ImmutableSet.of();
        Predicate<Number> p1 = Predicates.in(nums);
        Predicate<Object> p2 = Predicates.<Object>in(nums);
        // The next two lines are not expected to compile.
        // Predicate<Integer> p3 = Predicates.in(nums);
        // Predicate<Integer> p4 = Predicates.<Integer>in(nums);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/BigIntegerMath.java

      }
    
      static BigInteger listProduct(List<BigInteger> nums) {
        return listProduct(nums, 0, nums.size());
      }
    
      static BigInteger listProduct(List<BigInteger> nums, int start, int end) {
        switch (end - start) {
          case 0:
            return BigInteger.ONE;
          case 1:
            return nums.get(start);
          case 2:
            return nums.get(start).multiply(nums.get(start + 1));
          case 3:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. cmd/erasure-metadata-utils.go

    		// Returns an empty int slice for cardinality < 0.
    		return nil
    	}
    
    	nums := make([]int, cardinality)
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    
    	start := int(keyCrc % uint32(cardinality))
    	for i := 1; i <= cardinality; i++ {
    		nums[i-1] = 1 + ((start + i) % cardinality)
    	}
    	return nums
    }
    
    // Reads all `xl.meta` metadata as a FileInfo slice.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

              }
            };
        assertEquals(2, FluentIterable.from(iterable).size());
      }
    
      public void testSize_collectionDoesntIterate() {
        List<Integer> nums = asList(1, 2, 3, 4, 5);
        List<Integer> collection =
            new ArrayList<Integer>(nums) {
              @Override
              public Iterator<Integer> iterator() {
                throw new AssertionFailedError("Don't iterate me!");
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

            };
        assertEquals(2, Iterables.size(iterable));
      }
    
      @SuppressWarnings("serial")
      public void testSize_collection_doesntIterate() {
        List<Integer> nums = asList(1, 2, 3, 4, 5);
        List<Integer> collection =
            new ArrayList<Integer>(nums) {
              @Override
              public Iterator<Integer> iterator() {
                throw new AssertionFailedError("Don't iterate me!");
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. src/main/resources/fess_indices/fess/pt/stopwords.txt

    quando
    muito
    nos
    já
    eu
    também
    só
    pelo
    pela
    até
    isso
    ela
    entre
    depois
    sem
    mesmo
    aos
    seus
    quem
    nas
    me
    esse
    eles
    você
    essa
    num
    nem
    suas
    meu
    às
    minha
    numa
    pelos
    elas
    qual
    nós
    lhe
    deles
    essas
    esses
    pelas
    este
    dele
    tu
    te
    vocês
    vos
    lhes
    meus
    minhas
    teu
    tua
    teus
    tuas
    nosso
    nossa
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Nov 27 12:59:36 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/EnumsTest.java

        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).hasValue(TestEnum.POODLE);
    
        assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).isPresent();
        assertThat(Enums.getIfPresent(TestEnum.class, "HONDA")).isPresent();
        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).isPresent();
    
        assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).hasValue(TestEnum.CHEETO);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Enums;
    import java.util.List;
    import java.util.Set;
    
    /**
     * An abstract TestSetGenerator for generating sets containing enum values.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. internal/s3select/select_test.go

    		},
    		{
    			name: "var-field-count",
    			input: []byte(`id,time,num,num2,text
    1,2010-01-01T,7867786,4565.908123
    2,2017-01-02T03:04Z,-5, 0.765111,Some some
    `),
    			// Since we are doing offset, no headers are used.
    			wantResult: `{"id":"1","time":"2010-01-01T","num":"7867786","num2":"4565.908123"}
    {"id":"2","time":"2017-01-02T03:04Z","num":"-5","num2":" 0.765111","text":"Some some"}`,
    			wantErr: false,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
Back to top