Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 104 for intValue (0.11 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

                    + "weakKeys,weakValues,expireAfterAccess=10m,expireAfterWrite=1h");
        assertEquals(10, spec.initialCapacity.intValue());
        assertEquals(20, spec.maximumSize.intValue());
        assertNull(spec.maximumWeight);
        assertEquals(30, spec.concurrencyLevel.intValue());
        assertEquals(Strength.WEAK, spec.keyStrength);
        assertEquals(Strength.WEAK, spec.valueStrength);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

      }
    
      public void testIntValue() {
        for (long a : TEST_LONGS) {
          UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
          int intValue = aUnsigned.bigIntegerValue().intValue();
          assertThat(aUnsigned.intValue()).isEqualTo(intValue);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // serialization
      public void testSerialization() {
        for (long a : TEST_LONGS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

            if (num == null) {
                num = fessConfig.getPagingSearchPageSizeAsInteger();
            } else {
                try {
                    if (num.intValue() > fessConfig.getPagingSearchPageMaxSizeAsInteger().intValue() || num.intValue() <= 0) {
                        num = fessConfig.getPagingSearchPageMaxSizeAsInteger();
                    }
                } catch (final NumberFormatException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.metadata
    
    import gradlebuild.binarycompatibility.intArrayValue
    import gradlebuild.binarycompatibility.intValue
    import gradlebuild.binarycompatibility.stringArrayValue
    import gradlebuild.binarycompatibility.stringValue
    import javassist.CtClass
    import javassist.CtConstructor
    import javassist.CtField
    import javassist.CtMember
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 12:41:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

        get() = hasAnnotation(Metadata::class.qualifiedName)
    
    
    internal
    val CtMethod.isSynthetic
        get() = methodInfo.getAttribute(SyntheticAttribute.tag) != null
    
    
    internal
    val MemberValue.intValue: Int
        get() {
            var value: Int? = null
            accept(object : MemberValueVisitorAdapter() {
                override fun visitIntegerMemberValue(node: IntegerMemberValue) {
                    value = node.value
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/storage/admin_storage_tag_edit.jsp

    										</div>
    									</div>
    									</c:forEach>
    									<c:set var="nameKey">name${Double.valueOf(savedTags.size()/2).intValue()+1}</c:set>
    									<c:set var="valueKey">value${Double.valueOf(savedTags.size()/2).intValue()+1}</c:set>
    									<div class="form-group row">
    										<div class="col-sm-6">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 26 01:48:41 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java

      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(Integer.SIZE - 2).intValue();
          nonzero[i] = randomNonZeroBigInteger(Integer.SIZE - 2).intValue();
          ints[i] = RANDOM_SOURCE.nextInt();
        }
      }
    
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

          int j = i & ARRAY_MASK;
          tmp += BigIntegerMath.sqrt(positive[j], mode).intValue();
        }
        return tmp;
      }
    
      @Benchmark
      int divide(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += BigIntegerMath.divide(nonzero1[j], nonzero2[j], mode).intValue();
        }
        return tmp;
      }
    
      @Benchmark
      long roundToDouble(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 30 13:06:20 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

            Optional<Long> size = byteSource.sizeIfKnown();
            // if we know the size and it fits in an int
            if (size.isPresent() && size.get().longValue() == size.get().intValue()) {
              // otherwise try to presize a StringBuilder
              // it is kind of lame that we need to construct a decoder to access this value.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertEquals(1, ContiguousSet.create(Range.open(0, 4), integers()).first().intValue());
        assertEquals(
            Integer.MIN_VALUE,
            ContiguousSet.create(Range.<Integer>all(), integers()).first().intValue());
      }
    
      public void testLast() {
        assertEquals(3, ContiguousSet.create(Range.closed(1, 3), integers()).last().intValue());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top