Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 1,414 for Integer (0.07 sec)

  1. guava-tests/test/com/google/common/io/FilesTest.java

        // Setup
        File file = createTempFile();
        // Test
        assertThrows(
            IllegalArgumentException.class,
            () -> Files.map(file, MapMode.READ_WRITE, (long) Integer.MAX_VALUE + 1));
      }
    
      public void testGetFileExtension() {
        assertEquals("txt", Files.getFileExtension(".txt"));
        assertEquals("txt", Files.getFileExtension("blah.txt"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMap.java

       * A builder for creating immutable map instances, especially {@code public static final} maps
       * ("constant maps"). Example:
       *
       * <pre>{@code
       * static final ImmutableMap<String, Integer> WORD_TO_INT =
       *     new ImmutableMap.Builder<String, Integer>()
       *         .put("one", 1)
       *         .put("two", 2)
       *         .put("three", 3)
       *         .buildOrThrow();
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                @Override
                public BigDecimal getAsDecimal(String propertyKey) {
                    return DfTypeUtil.toBigDecimal(get(propertyKey));
                }
    
                @Override
                public Integer getAsInteger(String propertyKey) {
                    return DfTypeUtil.toInteger(get(propertyKey));
                }
    
                @Override
                public String getQueryDefaultQueryType() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

        }
    
        @Override
        public abstract Iterator<E> iterator();
    
        @Override
        public boolean remove(@CheckForNull Object o) {
          return multiset().remove(o, Integer.MAX_VALUE) > 0;
        }
    
        @Override
        public int size() {
          return multiset().entrySet().size();
        }
      }
    
      abstract static class EntrySet<E extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Multisets.java

        }
    
        @Override
        public abstract Iterator<E> iterator();
    
        @Override
        public boolean remove(@CheckForNull Object o) {
          return multiset().remove(o, Integer.MAX_VALUE) > 0;
        }
    
        @Override
        public int size() {
          return multiset().entrySet().size();
        }
      }
    
      abstract static class EntrySet<E extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

                int nameComparison = m1.getName().compareTo(m2.getName());
                if (nameComparison != 0) {
                  return nameComparison;
                } else {
                  return Integer.compare(m1.getParameterTypes().length, m2.getParameterTypes().length);
                }
              }
            });
      }
    
      /** Validates that the given method's signature meets all of our assumptions. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. android/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
    - 37.4K bytes
    - Viewed (0)
  8. internal/s3select/sql/value.go

    // values do not have types (e.g. when reading from CSV), for
    // comparison operations, automatic type conversion happens by trying
    // to check if the value is a number (first an integer, then a float),
    // and falling back to string.
    func (v *Value) compareOp(op string, a *Value) (res bool, err error) {
    	if !isValidComparisonOperator(op) {
    		return false, errArithInvalidOperator
    	}
    	switch op {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  9. android/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)
  10. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      // level may borrow at any one time.
      // This field holds the ratio of that limit to the level's nominal
      // concurrency limit. When this field is non-nil, it must hold a
      // non-negative integer and the limit is calculated as follows.
      //
      // BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )
      //
      // The value of this field can be more than 100, implying that this
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top