Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 647 for overflows (0.9 sec)

  1. src/runtime/profbuf_test.go

    		}
    		write(t, b, unsafe.Pointer(&myTags[1]), 500, []uint64{502, 504}, []uintptr{506}) // room for overflow+this record
    		read(t, b, []uint64{5, 99, 0, 0, 300, 5, 500, 502, 504, 506}, []unsafe.Pointer{nil, unsafe.Pointer(&myTags[1])})
    	})
    
    	t.Run("ReadAfterOverflow2", func(t *testing.T) {
    		// overflow record synthesized by read
    		b := NewProfBuf(2, 16, 5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 20:04:56 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/utils/math_utils.cc

    // https://github.com/tensorflow/tensorflow/blob/f5c9cbb1c462912030bd845244118f952cbbbd5e/tensorflow/core/kernels/uniform_quant_ops/math_utils.cc#L29
    // And then modified so that it doesn't overflow int32 values.
    LogicalResult QuantizeMultiplier(double double_multiplier,
                                     int32_t& quantized_fraction, int32_t& shift) {
      if (!std::isfinite(double_multiplier) || double_multiplier <= 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. test/codegen/mathbits.go

    	r, c := bits.Add64(a, b, 0)
    	// s390x:"BRC\t[$]3,",-"ADDE"
    	if c == 1 {
    		panic("overflow")
    	}
    	return r
    }
    
    func Add64PanicOnOverflowNE(a, b uint64) uint64 {
    	r, c := bits.Add64(a, b, 0)
    	// s390x:"BRC\t[$]3,",-"ADDE"
    	if c != 0 {
    		panic("overflow")
    	}
    	return r
    }
    
    func Add64PanicOnOverflowGT(a, b uint64) uint64 {
    	r, c := bits.Add64(a, b, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:51:17 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblemsSummary.kt

                    ProblemSeverity.Suppressed -> suppressedCount += 1
                    ProblemSeverity.Info -> {}
                }
                if (overflowed) {
                    return false
                }
                if (problemCount > maxCollectedProblems) {
                    overflowed = true
                    return false
                }
                val uniqueProblem = UniquePropertyProblem.of(problem)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

          val increment = (m - n) * (h + 1)
          if (delta > Int.MAX_VALUE - increment) return false // Prevent overflow.
          delta += increment
    
          n = m
    
          for (c in input) {
            if (c < n) {
              if (delta == Int.MAX_VALUE) return false // Prevent overflow.
              delta++
            } else if (c == n) {
              var q = delta
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/database/sql/sql_test.go

    		{[]any{"Brad", int64(31)}, ""},
    		{[]any{"Bob", "32"}, ""},
    		{[]any{7, 9}, ""},
    
    		// Invalid conversions:
    		{[]any{"Brad", int64(0xFFFFFFFF)}, "sql: converting argument $2 type: sql/driver: value 4294967295 overflows int32"},
    		{[]any{"Brad", "strconv fail"}, `sql: converting argument $2 type: sql/driver: value "strconv fail" can't be converted to int32`},
    
    		// Wrong number of args:
    		{[]any{}, "sql: expected 2 arguments, got 0"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go

    		// top 4 bits cleared by rMask{0,1}, we know that their product is not going
    		// to overflow 64 bits, so we can ignore the high part of the products.
    		//
    		// This also means that the product doesn't have a fifth limb (t4).
    		if h2r0.hi != 0 {
    			panic("poly1305: unexpected overflow")
    		}
    		if h2r1.hi != 0 {
    			panic("poly1305: unexpected overflow")
    		}
    
    		m0 := h0r0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblemsSummaryTest.kt

                "2nd problem (same message as 1st but different location)",
                subject.onProblem(buildLogicProblem("build.gradle.kts", "failure"), ProblemSeverity.Failure)
            )
            assertFalse(
                "overflow",
                subject.onProblem(buildLogicProblem("build.gradle", "another failure"), ProblemSeverity.Failure)
            )
            assertThat(
                subject.get().uniqueProblemCount,
                equalTo(2)
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/security_test.go

    	{"-fsanitize=hands"},
    	{"-g"},
    	{"-ggdb"},
    	{"-march=souza"},
    	{"-mcmodel=medium"},
    	{"-mcpu=123"},
    	{"-mfpu=123"},
    	{"-mlarge-data-threshold=16"},
    	{"-mtune=happybirthday"},
    	{"-mstack-overflow"},
    	{"-mno-stack-overflow"},
    	{"-mmacosx-version"},
    	{"-mnop-fun-dllimport"},
    	{"-pthread"},
    	{"-std=c99"},
    	{"-xc"},
    	{"-D", "FOO"},
    	{"-D", "foo=bar"},
    	{"-I", "."},
    	{"-I", "/etc/passwd"},
    	{"-I", "世界"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/Collections2Test.java

      }
    
      public void testOrderedPermutationSetSizeOverflow() {
        // 12 elements won't overflow
        assertEquals(
            479001600 /*12!*/,
            Collections2.orderedPermutations(newArrayList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))
                .size());
        // 13 elements overflow an int
        assertEquals(
            Integer.MAX_VALUE,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top