Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 647 for overflows (0.17 sec)

  1. src/runtime/unsafe.go

    	if len < 0 {
    		panicunsafeslicelen1(getcallerpc())
    	}
    
    	if et.Size_ == 0 {
    		if ptr == nil && len > 0 {
    			panicunsafeslicenilptr1(getcallerpc())
    		}
    	}
    
    	mem, overflow := math.MulUintptr(et.Size_, uintptr(len))
    	if overflow || mem > -uintptr(ptr) {
    		if ptr == nil {
    			panicunsafeslicenilptr1(getcallerpc())
    		}
    		panicunsafeslicelen1(getcallerpc())
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/DiscreteDomain.java

          long result = origin + distance;
          if (result < 0) {
            checkArgument(origin < 0, "overflow");
          }
          return result;
        }
    
        @Override
        public long distance(Long start, Long end) {
          long result = end - start;
          if (end > start && result < 0) { // overflow
            return Long.MAX_VALUE;
          }
          if (end < start && result > 0) { // underflow
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/math/exp.go

    		Ln2Lo = 1.90821492927058770002e-10
    		Log2e = 1.44269504088896338700e+00
    
    		Overflow  = 7.09782712893383973096e+02
    		Underflow = -7.45133219101941108420e+02
    		NearZero  = 1.0 / (1 << 28) // 2**-28
    	)
    
    	// special cases
    	switch {
    	case IsNaN(x) || IsInf(x, 1):
    		return x
    	case IsInf(x, -1):
    		return 0
    	case x > Overflow:
    		return Inf(1)
    	case x < Underflow:
    		return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. src/internal/zstd/huff.go

    					return 0, 0, rbr.makeError("Huffman count overflow")
    				}
    				weights[count] = pt.sym
    				weights[count+1] = fseTable[state2].sym
    				count += 2
    				break
    			}
    
    			v, err := rbr.val(pt.bits)
    			if err != nil {
    				return 0, 0, err
    			}
    			state1 = uint32(pt.base) + v
    
    			if count >= 255 {
    				return 0, 0, rbr.makeError("Huffman count overflow")
    			}
    
    			weights[count] = pt.sym
    			count++
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. src/runtime/histogram.go

    	// but we record them anyway because it's better to have some
    	// signal that it's happening than just missing samples.
    	underflow atomic.Uint64
    
    	// overflow counts all the times we got a duration that exceeded
    	// the range counts represents.
    	overflow atomic.Uint64
    }
    
    // record adds the given duration to the distribution.
    //
    // Disallow preemptions and stack growths because this function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/string_utils.cc

      // If `data_.size() + len` is greater than `SIZE_MAX` then the left hand side
      // will overflow to something less than max_length_. After checking `len <=
      // max_length_` we can use this subtraction to check for overflow.
      if (len > max_length_ || data_.size() >= max_length_ - len)
        return absl::ResourceExhaustedError("Buffer overflow");
      data_.resize(data_.size() + len);
      memcpy(data_.data() + offset_.back(), str, len);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/DefaultFileWatcherRegistry.java

                                        LOGGER.info("Overflow detected (type: {}), invalidating all watched files", type);
                                        fileWatcherUpdater.getWatchedFiles().visitRoots(watchedRoot ->
                                            handler.handleChange(OVERFLOW, Paths.get(watchedRoot)));
                                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testsanitizers/asan_test.go

    		{src: "asan_global2_fail.go", memoryAccessError: "global-buffer-overflow", errorLocation: "asan_global2_fail.go:19"},
    		{src: "asan_global3_fail.go", memoryAccessError: "global-buffer-overflow", errorLocation: "asan_global3_fail.go:13"},
    		{src: "asan_global4_fail.go", memoryAccessError: "global-buffer-overflow", errorLocation: "asan_global4_fail.go:21"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.css

    }
    #save-dialog, #delete-dialog {
      width: 50%;
      max-width: 20em;
    }
    #delete-prompt {
      padding: 10px;
    }
    
    #content {
      overflow-y: scroll;
      padding: 1em;
    }
    #top {
      overflow-y: scroll;
    }
    #graph {
      overflow: hidden;
    }
    #graph svg {
      width: 100%;
      height: auto;
      padding: 10px;
    }
    #content.source .filename {
      margin-top: 0;
      margin-bottom: 1em;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  10. test/const7.go

    	defer os.RemoveAll(dir)
    
    	const bitLimit = 512
    	const charLimit = 10000 // compiler-internal constant length limit
    	testProg(dir, "x1", bitLimit, "")
    	testProg(dir, "x2", bitLimit+1, "constant overflow")
    	testProg(dir, "x3", charLimit-2, "constant overflow") // -2 because literal contains 0b prefix
    	testProg(dir, "x4", charLimit-1, "excessively long constant")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top