Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,608 for Integer (0.04 seconds)

  1. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

        public void testToObjectArray() throws Exception {
            final Object[] a = ArrayUtil.toObjectArray(new int[] { 1, 5, 2 });
            assertArrayEquals(new Integer[] { Integer.valueOf(1), Integer.valueOf(5), Integer.valueOf(2) }, a);
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = IllegalArgumentException.class)
        public void testToObjectArray_NoArray() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

      }
    
      public void testFlatMapToInt_nullStream() {
        SpliteratorTester.ofInt(
                () ->
                    CollectSpliterators.flatMapToInt(
                        Arrays.spliterator(new Integer[] {1, 0, 1, 2, 3}),
                        (Integer i) -> i == 0 ? null : IntStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1, 1, 2, 3);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

         *     {@code indexes} method.
         */
        public Map<Integer, Double> computeInPlace(double... dataset) {
          checkArgument(dataset.length > 0, "Cannot calculate quantiles of an empty dataset");
          if (containsNaN(dataset)) {
            Map<Integer, Double> nanMap = new LinkedHashMap<>();
            for (int index : indexes) {
              nanMap.put(index, NaN);
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java

        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
        }
    
        /**
         * The CRUD mode for the form.
         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
         * The search term that triggers the key match.
         */
        @Required
        @Size(max = 100)
        public String term;
    
        /**
         * The query to execute when the term matches.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    return (T) value;
                }
                return (T) Long.valueOf(value.toString());
            }
            if (clazz.isAssignableFrom(Integer.class)) {
                if (value instanceof Integer) {
                    return (T) value;
                }
                return (T) Integer.valueOf(value.toString());
            }
            if (clazz.isAssignableFrom(Double.class)) {
                if (value instanceof Double) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/Funnels.java

        }
      }
    
      /**
       * Returns a funnel for integers.
       *
       * @since 13.0
       */
      public static Funnel<Integer> integerFunnel() {
        return IntegerFunnel.INSTANCE;
      }
    
      private enum IntegerFunnel implements Funnel<Integer> {
        INSTANCE;
    
        @Override
        public void funnel(Integer from, PrimitiveSink into) {
          into.putInt(from);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. src/archive/tar/strconv.go

    			if i == 0 {
    				c &= 0x7f // Ignore signal bit in first byte
    			}
    			if (x >> 56) > 0 {
    				p.err = ErrHeader // Integer overflow
    				return 0
    			}
    			x = x<<8 | uint64(c)
    		}
    		if (x >> 63) > 0 {
    			p.err = ErrHeader // Integer overflow
    			return 0
    		}
    		if inv == 0xff {
    			return ^int64(x)
    		}
    		return int64(x)
    	}
    
    	// Normal case is base-8 (octal) format.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/pager/CrawlingInfoPager.java

         */
        public List<Integer> getPageNumberList() {
            return pageNumberList;
        }
    
        /**
         * Sets the list of page numbers to display in the pagination component.
         *
         * @param pageNumberList the list of page numbers to set
         */
        public void setPageNumberList(final List<Integer> pageNumberList) {
            this.pageNumberList = pageNumberList;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java

         *
         * @return the page number list
         */
        public List<Integer> getPageNumberList() {
            return pageNumberList;
        }
    
        /**
         * Sets the list of page numbers for navigation.
         *
         * @param pageNumberList the page number list
         */
        public void setPageNumberList(final List<Integer> pageNumberList) {
            this.pageNumberList = pageNumberList;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. internal/dsync/locked_rand.go

    )
    
    // lockedRandSource provides protected rand source, implements rand.Source interface.
    type lockedRandSource struct {
    	lk  sync.Mutex
    	src rand.Source
    }
    
    // Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *lockedRandSource) Int63() (n int64) {
    	r.lk.Lock()
    	n = r.src.Int63()
    	r.lk.Unlock()
    	return n
    }
    
    // Seed uses the provided seed value to initialize the generator to a
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top