Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for Min (0.13 sec)

  1. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

      public void testMinMaxNatural() {
        assertThat(Comparators.min(1, 2)).isEqualTo(1);
        assertThat(Comparators.min(2, 1)).isEqualTo(1);
        assertThat(Comparators.max(1, 2)).isEqualTo(2);
        assertThat(Comparators.max(2, 1)).isEqualTo(2);
      }
    
      public void testMinMaxNatural_equalInstances() {
        Foo a = new Foo(1);
        Foo b = new Foo(1);
        assertThat(Comparators.min(a, b)).isSameInstanceAs(a);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbException.java

            }
            if(( errcode & 0xC0000000 ) == 0xC0000000 ) {
                int min = 1; /* Don't include NT_STATUS_SUCCESS */
                int max = NT_STATUS_CODES.length - 1;
    
                while( max >= min ) {
                    int mid = (min + max) / 2;
    
                    if( errcode > NT_STATUS_CODES[mid] ) {
                        min = mid + 1;
                    } else if( errcode < NT_STATUS_CODES[mid] ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ComparatorsTest.java

      public void testMinMaxNatural() {
        assertThat(Comparators.min(1, 2)).isEqualTo(1);
        assertThat(Comparators.min(2, 1)).isEqualTo(1);
        assertThat(Comparators.max(1, 2)).isEqualTo(2);
        assertThat(Comparators.max(2, 1)).isEqualTo(2);
      }
    
      public void testMinMaxNatural_equalInstances() {
        Foo a = new Foo(1);
        Foo b = new Foo(1);
        assertThat(Comparators.min(a, b)).isSameInstanceAs(a);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

        return Ordering.natural();
      }
    
      // Override the min/max methods to "hoist" delegation outside loops
    
      @Override
      public <E extends Comparable<?>> E min(E a, E b) {
        return NaturalOrdering.INSTANCE.max(a, b);
      }
    
      @Override
      public <E extends Comparable<?>> E min(E a, E b, E c, E... rest) {
        return NaturalOrdering.INSTANCE.max(a, b, c, rest);
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      public void testCheckPositive_maxInt() {
        MathPreconditions.checkPositive("int", Integer.MAX_VALUE);
      }
    
      public void testCheckPositive_minInt() {
        try {
          MathPreconditions.checkPositive("int", Integer.MIN_VALUE);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testCheckPositive_positiveInt() {
        MathPreconditions.checkPositive("int", 1);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java

        public String configParameter;
    
        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer depth;
    
        @Min(value = 0)
        @Max(value = 9223372036854775807L)
        @ValidateTypeFailure
        public Long maxAccessCount;
    
        @Required
        @Size(max = 200)
        public String userAgent;
    
        @Required
        @Min(value = 1)
        @Max(value = 2147483647)
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/wizard/CrawlingConfigForm.java

        @Size(max = 200)
        public String crawlingConfigName;
    
        @Required
        @Size(max = 1000)
        public String crawlingConfigPath;
    
        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer depth;
    
        @Min(value = 0)
        @Max(value = 9223372036854775807L)
        @ValidateTypeFailure
        public Long maxAccessCount;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      private static final double[] VALUES = {
        Double.NEGATIVE_INFINITY,
        -Double.MAX_VALUE,
        (double) Long.MIN_VALUE,
        (double) Integer.MIN_VALUE,
        -Math.PI,
        -1.0,
        -Double.MIN_VALUE,
        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static java.lang.Math.min;
    
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.concurrent.locks.LockSupport;
    import javax.annotation.CheckForNull;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/CreateForm.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.webauth;
    
    import javax.validation.constraints.Max;
    import javax.validation.constraints.Min;
    import javax.validation.constraints.Size;
    
    import org.codelibs.fess.app.web.CrudMode;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.validation.Required;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top