Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 379 for regnum (0.11 sec)

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

                new Foo("b", 1, null));
        for (Foo a : instances) {
          for (Foo b : instances) {
            int comparedUsingComparisonChain = signum(comparatorUsingComparisonChain.compare(a, b));
            int comparedUsingComparatorMethods = signum(comparatorUsingComparatorMethods.compare(a, b));
            assertWithMessage("%s vs %s", a, b)
                .that(comparedUsingComparatorMethods)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractVersionTest.java

                assertEquals(1, Integer.signum(v1.compareTo(v2)), "expected " + v1 + " > " + v2);
                assertEquals(-1, Integer.signum(v2.compareTo(v1)), "expected " + v2 + " < " + v1);
                assertNotEquals(v1, v2, "expected " + v1 + " != " + v2);
                assertNotEquals(v2, v1, "expected " + v2 + " != " + v1);
            } else if (expected < 0) {
                assertEquals(-1, Integer.signum(v1.compareTo(v2)), "expected " + v1 + " < " + v2);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. internal/grid/grid_types_msgp_test.go

    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "OrgNum":
    			z.OrgNum, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "OrgNum")
    				return
    			}
    		case "OrgString":
    			z.OrgString, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "OrgString")
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/LongMath.java

         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
         * signum is 1 if p and q are both nonnegative or both negative, and -1 otherwise.
         */
        int signum = 1 | (int) ((p ^ q) >> (Long.SIZE - 1));
        boolean increment;
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(rem == 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  5. internal/grid/grid_test.go

    		const wantString = testPayload + testPayload
    		if resp.OrgString != testPayload+testPayload {
    			t.Errorf("want %q, got %q", wantString, resp.OrgString)
    		}
    		if resp.OrgNum != n+1 {
    			t.Errorf("want %d, got %d", n+1, resp.OrgNum)
    		}
    		handler.PutResponse(resp)
    		n++
    		return nil
    	})
    	errFatal(err)
    	t.Log("EOF.", payloads, " Roundtrips:", time.Since(start))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/DoubleUtils.java

        int exponent = absX.bitLength() - 1;
        // exponent == floor(log2(abs(x)))
        if (exponent < Long.SIZE - 1) {
          return x.longValue();
        } else if (exponent > MAX_EXPONENT) {
          return x.signum() * POSITIVE_INFINITY;
        }
    
        /*
         * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Enums.java

       * {@code enumClass} using {@link Enum#valueOf(Class, String)} and {@link Enum#name()}. The
       * converter will throw an {@code IllegalArgumentException} if the argument is not the name of any
       * enum constant in the specified enum.
       *
       * @since 16.0
       */
      @GwtIncompatible
      public static <T extends Enum<T>> Converter<String, T> stringConverter(Class<T> enumClass) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

            wildcardBoundUsesImplicitlyRecursiveBoundedWildcard(UseList<? extends List<Enum<?>>> arg) {
          return isSubtype(arg);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public UseList<? extends List<Enum<? extends Enum<?>>>>
            wildcardBoundHasImplicitBoundAtsInvariantPosition(UseList<? extends List<Enum<?>>> arg) {
          return isSubtype(arg);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/DoubleUtils.java

        int exponent = absX.bitLength() - 1;
        // exponent == floor(log2(abs(x)))
        if (exponent < Long.SIZE - 1) {
          return x.longValue();
        } else if (exponent > MAX_EXPONENT) {
          return x.signum() * POSITIVE_INFINITY;
        }
    
        /*
         * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * An SPI interface to extend Maven with a new enum value.
     *
     * @param <T> The type of extensible enum to extend
     */
    @Experimental
    @Consumer
    public interface ExtensibleEnumProvider<T extends ExtensibleEnum> extends SpiService {
    
        /**
         * Registers new values for the T extensible enum.
         *
         * @return a collection of T instances to register
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top