Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for uintValue (0.93 sec)

  1. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/PosixFilePermissionConverterTest.groovy

        def "converts Set<PosixFilePermission to int representation"() {
    
            expect:
            PosixFilePermissionConverter.convertToInt(perms) == intValue
    
            where:
            perms                                                                |       intValue
            EnumSet.noneOf(PosixFilePermission)                                  |       0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

        EquivalenceTester.of(Equivalence.equals().onResultOf(Functions.toStringFunction()))
            .addEquivalenceGroup(new IntValue(1), new IntValue(1))
            .addEquivalenceGroup(new IntValue(2))
            .test();
      }
    
      public void testOnResultOf_equals() {
        new EqualsTester()
            .addEqualityGroup(
                Equivalence.identity().onResultOf(Functions.toStringFunction()),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/testng/TestNGOptionsTest.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

    import okhttp3.internal.http2.Http2
    import okhttp3.internal.platform.android.AndroidLog.androidLog
    
    private val LogRecord.androidLevel: Int
      get() =
        when {
          level.intValue() > Level.INFO.intValue() -> Log.WARN
          level.intValue() == Level.INFO.intValue() -> Log.INFO
          else -> Log.DEBUG
        }
    
    object AndroidLogHandler : Handler() {
      override fun publish(record: LogRecord) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    		return "<nil>"
    	}
    	if intstr.Type == String {
    		return intstr.StrVal
    	}
    	return strconv.Itoa(intstr.IntValue())
    }
    
    // IntValue returns the IntVal if type Int, or if
    // it is a String, will attempt a conversion to int,
    // returning 0 if a parsing error occurs.
    func (intstr *IntOrString) IntValue() int {
    	if intstr.Type == String {
    		i, _ := strconv.Atoi(intstr.StrVal)
    		return i
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        Comparator<Number> numberComparator =
            // Can't use Comparator.comparing(Number::intValue) due to Java 7 compatibility.
            new Comparator<Number>() {
              @Override
              public int compare(Number a, Number b) {
                return a.intValue() - b.intValue();
              }
            };
        Integer comparand1 = 1;
        Integer comparand2 = 2;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 08:42:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

          at.set(x);
          assertEquals(Double.toString(x), at.toString());
        }
      }
    
      /** intValue returns current value. */
      public void testIntValue() {
        AtomicDouble at = new AtomicDouble();
        assertEquals(0, at.intValue());
        for (double x : VALUES) {
          at.set(x);
          assertEquals((int) x, at.intValue());
        }
      }
    
      /** longValue returns current value. */
      public void testLongValue() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java

            if (num == null) {
                num = fessConfig.getPagingSearchPageSizeAsInteger();
            }
            if (num > fessConfig.getPagingSearchPageMaxSizeAsInteger().intValue() || num <= 0) {
                num = fessConfig.getPagingSearchPageMaxSizeAsInteger();
            }
            return num;
        }
    
        @Override
        public String[] getLanguages() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Integer) {
                return (Integer) o;
            } else if (o instanceof Number) {
                return ((Number) o).intValue();
            } else if (o instanceof String) {
                return toInteger((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top