Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1361 - 1370 of 1,414 for Integer (0.06 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Note:</b> The current implementation eagerly allocates storage for {@code size} elements.
       * As a consequence, passing values like {@code Integer.MAX_VALUE} can lead to {@link
       * OutOfMemoryError}.
       *
       * <p><b>Note:</b> if {@code iterable} is a {@link List}, use {@link Lists#partition(List, int)}
       * instead.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CharMatcherTest.java

      public void testWhitespaceBreakingWhitespaceSubset() throws Exception {
        for (int c = 0; c <= Character.MAX_VALUE; c++) {
          if (breakingWhitespace().matches((char) c)) {
            assertTrue(Integer.toHexString(c), whitespace().matches((char) c));
          }
        }
      }
    
      // The next tests require ICU4J and have, at least for now, been sliced out
      // of the open-source view of the tests.
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

        long[] array = {(long) 0, (long) 1, (long) 2};
    
        List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2);
        List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2);
        List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * // Result.writeRowsToOutputStreamFuture() returns a ListenableFuture that resolves to the
       * // number of written rows. openOutputFile() returns a FileOutputStream (which implements
       * // Closeable).
       * ClosingFuture<Integer> rowsFuture2 =
       *     queryFuture.transformAsync(
       *         (closer, result) -> {
       *           FileOutputStream fos = closer.eventuallyClose(openOutputFile(), closingExecutor);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  5. docs/recipes.md

              private String factor(int n) {
                for (int i = 2; i < n; i++) {
                  int x = n / i;
                  if (x * i == n) return factor(x) + " × " + i;
                }
                return Integer.toString(n);
              }
            };
    
            Request request = new Request.Builder()
                .url("https://api.github.com/markdown/raw")
                .post(requestBody)
                .build();
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

         * @see jcifs.util.transport.Transport#getResponseTimeout()
         */
        @Override
        protected int getResponseTimeout ( Request req ) {
            if ( req instanceof CommonServerMessageBlockRequest ) {
                Integer overrideTimeout = ( (CommonServerMessageBlockRequest) req ).getOverrideTimeout();
                if ( overrideTimeout != null ) {
                    return overrideTimeout;
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  7. cmd/erasure-sets.go

    			return s.sets[index].Shutdown(ctx)
    		}, index)
    	}
    
    	for _, err := range g.Wait() {
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - CRCMOD
    // - SIPMOD
    // - all new algos.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  8. src/main/resources/fess_config.properties

    index.log.index=fess_log
    index.dictionary.prefix=
    
    # doc management
    index.admin.array.fields=lang,role,label,anchor,virtual_host
    index.admin.date.fields=expires,created,timestamp,last_modified
    index.admin.integer.fields=
    index.admin.long.fields=content_length,favorite_count,click_count
    index.admin.float.fields=boost
    index.admin.double.fields=
    index.admin.required.fields=url,title,role,boost
    
    # timeout
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Returns a builder that creates immutable sorted sets with an explicit comparator. If the
       * comparator has a more general type than the set being generated, such as creating a {@code
       * SortedSet<Integer>} with a {@code Comparator<Number>}, use the {@link Builder} constructor
       * instead.
       *
       * @throws NullPointerException if {@code comparator} is null
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Streams.java

       */
      public static OptionalInt findLast(IntStream stream) {
        // findLast(Stream) does some allocation, so we might as well box some more
        java.util.Optional<Integer> boxedLast = findLast(stream.boxed());
        return boxedLast.map(OptionalInt::of).orElse(OptionalInt.empty());
      }
    
      /**
       * Returns the last element of the specified stream, or {@link OptionalLong#empty} if the stream
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top