Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for 254 (0.1 sec)

  1. src/bytes/compare_test.go

    	a := make([]byte, n+1)
    	b := make([]byte, n+1)
    	for _, len := range lengths {
    		// randomish but deterministic data. No 0 or 255.
    		for i := 0; i < len; i++ {
    			a[i] = byte(1 + 31*i%254)
    			b[i] = byte(1 + 31*i%254)
    		}
    		// data past the end is different
    		for i := len; i <= n; i++ {
    			a[i] = 8
    			b[i] = 9
    		}
    		cmp := Compare(a[:len], b[:len])
    		if cmp != 0 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 13 23:11:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .setExpectation(-Math.pow(2, 54), DOWN, CEILING, HALF_DOWN, HALF_UP, HALF_EVEN)
            .setExpectation(DoubleUtils.nextDown(-Math.pow(2, 54)), FLOOR, UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_negativeTwoToThe54MinusThree() {
        new RoundToDoubleTester(BigDecimal.valueOf((-1L << 54) - 3))
            .setExpectation(-Math.pow(2, 54), DOWN, CEILING)
            .setExpectation(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_twoToThe54PlusOne() {
        double twoToThe54 = Math.pow(2, 54);
        // the representable doubles are 2^54 and 2^54 + 4
        // 2^54+1 is less than halfway between, so HALF_DOWN and HALF_UP will both go down.
        new RoundToDoubleTester(BigInteger.valueOf((1L << 54) + 1))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt

            byteArrayOf(192.toByte(), 168.toByte(), 0, 1),
          ),
        ).isEqualTo("192.168.0.1")
    
        assertThat(
          inet4AddressToAscii(
            byteArrayOf(252.toByte(), 253.toByte(), 254.toByte(), 255.toByte()),
          ),
        ).isEqualTo("252.253.254.255")
    
        assertThat(
          inet4AddressToAscii(
            byteArrayOf(255.toByte(), 255.toByte(), 255.toByte(), 255.toByte()),
          ),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        }
      }
    
      @Test fun readPaddedDataFrame() {
        val dataLength = 1123
        val expectedData = ByteArray(dataLength)
        Arrays.fill(expectedData, 2.toByte())
        val paddingLength = 254
        val padding = ByteArray(paddingLength)
        Arrays.fill(padding, 0.toByte())
        writeMedium(frame, dataLength + paddingLength + 1)
        frame.writeByte(Http2.TYPE_DATA)
        frame.writeByte(FLAG_PADDED)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.constrainToRange((char) 1, (char) 3, (char) 5)).isEqualTo((char) 3);
        assertThat(Chars.constrainToRange((char) 255, (char) 250, (char) 254)).isEqualTo((char) 254);
        assertThat(Chars.constrainToRange((char) 5, (char) 2, (char) 2)).isEqualTo((char) 2);
        assertThrows(
            IllegalArgumentException.class, () -> Chars.constrainToRange((char) 1, (char) 3, (char) 2));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.25.md

      - [Changelog since v1.25.4](#changelog-since-v1254)
      - [Changes by Kind](#changes-by-kind-10)
        - [Feature](#feature-10)
        - [Bug or Regression](#bug-or-regression-10)
      - [Dependencies](#dependencies-11)
        - [Added](#added-11)
        - [Changed](#changed-11)
        - [Removed](#removed-11)
    - [v1.25.4](#v1254)
      - [Downloads for v1.25.4](#downloads-for-v1254)
        - [Source Code](#source-code-12)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Mon May 06 09:23:20 UTC 2024
    - 419.1K bytes
    - Viewed (0)
  8. cmd/apierrorcode_string.go

    	_ = x[ErrUnsupportedSQLOperation-249]
    	_ = x[ErrUnsupportedSQLStructure-250]
    	_ = x[ErrUnsupportedSyntax-251]
    	_ = x[ErrUnsupportedRangeHeader-252]
    	_ = x[ErrLexerInvalidChar-253]
    	_ = x[ErrLexerInvalidOperator-254]
    	_ = x[ErrLexerInvalidLiteral-255]
    	_ = x[ErrLexerInvalidIONLiteral-256]
    	_ = x[ErrParseExpectedDatePart-257]
    	_ = x[ErrParseExpectedKeyword-258]
    	_ = x[ErrParseExpectedTokenType-259]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/mips64.s

    	NOR	R16, R10	// 01505027
    	OR	R17, R11	// 01715825
    
    //	LAND/LXOR/LOR imm ',' rreg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	AND	$11, R17, R7	// 3227000b
    	XOR	$341, R1, R23	// 38370155
    	OR	$254, R25, R13	// 372d00fe
    //
    // move immediate: macro for lui+or, addi, addis, and other combinations
    //
    //	LMOVW imm ',' rreg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	MOVW	$1, R1
    	MOVV	$1, R1
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/BigIntegerMath.java

        if (log2 < Double.MAX_EXPONENT) {
          sqrt0 = sqrtApproxWithDoubles(x);
        } else {
          int shift = (log2 - DoubleUtils.SIGNIFICAND_BITS) & ~1; // even!
          /*
           * We have that x / 2^shift < 2^54. Our initial approximation to sqrtFloor(x) will be
           * 2^(shift/2) * sqrtApproxWithDoubles(x / 2^shift).
           */
          sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top