Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 650 for overflows (0.28 sec)

  1. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

                            ArrayRef<int64_t> size_shape,
                            ArrayRef<int64_t> size_values,
                            mlir::Location location) {
      // If the size of the tensor to be sliced from the input overflows
      // the input tensor's dimensions, return 0-valued tensor of the requested
      // shape.
      ArrayRef<int64_t> input_shape = GetRankedTensorShape(input);
      for (int i = 0, end = input_shape.size(); i < end; i++) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  2. src/runtime/crash_test.go

    		t.Error("child process did not fail")
    	} else if want := "runtime.(*Func).Entry"; !bytes.Contains(out, []byte(want)) {
    		t.Errorf("output did not contain expected string %q", want)
    	}
    }
    
    // Test that g0 stack overflows are handled gracefully.
    func TestG0StackOverflow(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	if runtime.GOOS == "ios" {
    		testenv.SkipFlaky(t, 62671)
    	}
    
    	if os.Getenv("TEST_G0_STACK_OVERFLOW") != "1" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. src/time/time_test.go

    		sec := notMonoTime.Unix()
    		notMonoTime = notMonoTime.Add(Duration(i * 1e9))
    		if newSec := notMonoTime.Unix(); newSec != sec+i && newSec+UnixToInternal != maxInt64 {
    			t.Fatalf("time ext: %d overflows with positive delta, overflow threshold: %d", newSec, maxInt64)
    		}
    	}
    
    	// Test it with negative delta.
    	maxInt64 = -maxInt64
    	notMonoTime = NotMonoNegativeTime
    	for i := int64(0); i > -100; i-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  4. src/strings/strings.go

    //
    // It panics if count is negative or if the result of (len(s) * count)
    // overflows.
    func Repeat(s string, count int) string {
    	switch count {
    	case 0:
    		return ""
    	case 1:
    		return s
    	}
    
    	// Since we cannot return an error on overflow,
    	// we should panic if the repeat will generate an overflow.
    	// See golang.org/issue/16237.
    	if count < 0 {
    		panic("strings: negative Repeat count")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. pkg/controller/volume/persistentvolume/index_test.go

    				pvc.Spec.StorageClassName = &classSilver
    			}),
    		},
    		"successful-match-very-large": {
    			expectedMatch: "local-pd-very-large",
    			// we keep the pvc size less than int64 so that in case the pv overflows
    			// the pvc does not overflow equally and give us false matching signals.
    			claim: makePVC("1E", func(pvc *v1.PersistentVolumeClaim) {
    				pvc.Spec.AccessModes = []v1.PersistentVolumeAccessMode{v1.ReadWriteOnce}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	// TruncatedFloat occurs when a float constant is truncated to an integer
    	// value.
    	//
    	// Example:
    	//  var _ int = 98.6
    	TruncatedFloat
    
    	// NumericOverflow occurs when a numeric constant overflows its target type.
    	//
    	// Example:
    	//  var x int8 = 1000
    	NumericOverflow
    
    	/* exprs > operation */
    
    	// UndefinedOp occurs when an operator is not defined for the type(s) used
    	// in an operation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  7. src/image/png/reader_test.go

    				0x5f, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
    			},
    			// Here, width * height = 0x7ffea810, just under MaxInt32, but at 4
    			// bytes per pixel, the number of pixels overflows an int32.
    			unsupportedConfig: have32BitInts,
    			width:             0x0000b504,
    			height:            0x0000b504,
    		},
    
    		{
    			src: []byte{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 12:12:12 UTC 2022
    - 28.5K bytes
    - Viewed (0)
  8. RELEASE.md

    *   Fixes an overflow producing a crash in `tf.range`
        ([CVE-2021-41202](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41202))
    *   Fixes an overflow producing a crash in `tf.image.resize` when size is large
        ([CVE-2021-41199](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41199))
    *   Fixes an overflow producing a crash in `tf.tile` when tiling tensor is large
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/pcln.go

    		// for HI20 symbols (which we need to load in order to be able
    		// to resolve relocations). Unnecessarily including all of
    		// these symbols quickly blows out the size of the pcln table
    		// and overflows hash buckets.
    		symName := ctxt.loader.SymName(s)
    		if symName == "" || strings.HasPrefix(symName, ".L") {
    			return false
    		}
    	}
    
    	// We want to generate func table entries only for the "lowest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  10. src/cmd/cover/cover.go

    	// A nice long list of statements-per-block, so we can give a conventional
    	// valuation of "percent covered". To save space, it's a 16-bit number, so we
    	// clamp it if it overflows - won't matter in practice.
    	for i, block := range f.blocks {
    		n := block.numStmt
    		if n > 1<<16-1 {
    			n = 1<<16 - 1
    		}
    		fmt.Fprintf(w, "\t\t%d, // %d\n", n, i)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top