Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,397 for isInteger (0.07 sec)

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

        super(false, false, false, false, false);
      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        return unmodifiableTable(table);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        table.put('a', "one", 1);
        table.put('a', "two", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java

      int elements;
    
      Set<Set<Integer>> powerSet;
    
      @BeforeExperiment
      void setUp() {
        Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers());
        powerSet = Sets.powerSet(set);
      }
    
      @Benchmark
      int iteration(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (Set<Integer> subset : powerSet) {
            for (Integer value : subset) {
              sum += value;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java

        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer depth;
    
        @Min(value = 0)
        @Max(value = 9223372036854775807L)
        @ValidateTypeFailure
        public Long maxAccessCount;
    
        @Required
        @Min(value = 1)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer numOfThread;
    
        @Required
        @Min(value = 0)
        @Max(value = 2147483647)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

      private static final int ARRAY_SIZE = 0x10000;
      List<Multiset<Integer>> multisets = new ArrayList<>(0x10000);
      int[] queries = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        Random random = new Random();
        multisets.clear();
        for (int i = 0; i < ARRAY_SIZE; i++) {
          HashMultiset<Integer> multiset = HashMultiset.<Integer>create();
          multisets.add(multiset);
          queries[i] = random.nextInt();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        final ThreadLocal<Integer> threadLocalCount =
            new ThreadLocal<Integer>() {
              @Override
              protected Integer initialValue() {
                return 0;
              }
            };
    
        final Callable<Integer> incrementTask =
            new Callable<Integer>() {
              @Override
              public Integer call() {
                int i = threadLocalCount.get();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    public final class InvalidatableSetTest {
      Set<Integer> wrappedSet;
      Set<Integer> copyOfWrappedSet;
      InvalidatableSet<Integer> setToTest;
    
      @Before
      public void createSets() {
        wrappedSet = new HashSet<>();
        wrappedSet.add(1);
        wrappedSet.add(2);
        wrappedSet.add(3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            int expected3 = 999;
            doc.put("key3", expected3);
            assertEquals(expected3, DocumentUtil.getValue(doc, "key3", Integer.class));
    
            doc.put("key9", new ArrayList<Integer>(Arrays.asList(777, 888, 999)));
            assertEquals(777, DocumentUtil.getValue(doc, "key9", Integer.class));
        }
    
        public void test_date() {
            Map<String, Object> doc = new HashMap<>();
    
            Date expected4 = new Date();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbException.java

        
        // to replace a bunch of one-off binary searches
        private static final Map<Integer, String> errorCodeMessages;
        private static final Map<Integer, String> winErrorCodeMessages;
        private static final Map<Integer, Integer> dosErrorCodeStatuses;
    
        static {
            Map<Integer, String> errorCodeMessagesTmp = new HashMap<>();
            for (int i = 0; i < NT_STATUS_CODES.length; i++) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:16:55 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                    return true;
                }
                if (formal == Integer.TYPE && (actual == Integer.class || actual == Short.class || actual == Byte.class)) {
                    return true;
                }
                if (formal == Long.TYPE
                        && (actual == Long.class
                                || actual == Integer.class
                                || actual == Short.class
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertFalse(Assignability.of().isAssignable());
        assertTrue(new Assignability<Integer, Integer>() {}.isAssignable());
        assertTrue(new Assignability<Integer, Object>() {}.isAssignable());
        assertFalse(new Assignability<Integer, String>() {}.isAssignable());
        TypeTokenTest.<Number, Integer>assignabilityTestWithTypeVariables();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
Back to top