Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 199 for Recover (0.07 sec)

  1. doc/go1.17_spec.html

    </pre>
    
    <h3 id="Handling_panics">Handling panics</h3>
    
    <p> Two built-in functions, <code>panic</code> and <code>recover</code>,
    assist in reporting and handling <a href="#Run_time_panics">run-time panics</a>
    and program-defined error conditions.
    </p>
    
    <pre class="grammar">
    func panic(interface{})
    func recover() interface{}
    </pre>
    
    <p>
    While executing a function <code>F</code>,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  2. cmd/storage-rest-server.go

    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	versions := make([]FileInfoVersions, totalVersions)
    	decoder := msgpNewReader(r.Body)
    	defer readMsgpReaderPoolPut(decoder)
    	for i := 0; i < totalVersions; i++ {
    		dst := &versions[i]
    		if err := dst.DecodeMsg(decoder); err != nil {
    			s.writeErrorResponse(w, err)
    			return
    		}
    	}
    
    	done := keepHTTPResponseAlive(w)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  3. doc/go_spec.html

    </p>
    
    <p>
    The return value of <code>recover</code> is <code>nil</code> when the
    goroutine is not panicking or <code>recover</code> was not called directly by a deferred function.
    Conversely, if a goroutine is panicking and <code>recover</code> was called directly by a deferred function,
    the return value of <code>recover</code> is guaranteed not to be <code>nil</code>.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  4. doc/asm.html

    scanned by the garbage collector.
    </li>
    <li>
    <code>WRAPPER</code> = 32
    <br>
    (For <code>TEXT</code> items.)
    This is a wrapper function and should not count as disabling <code>recover</code>.
    </li>
    <li>
    <code>NEEDCTXT</code> = 64
    <br>
    (For <code>TEXT</code> items.)
    This function is a closure so it uses its incoming context register.
    </li>
    <li>
    <code>LOCAL</code> = 128
    <br>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.18.md

    - Fix azure file migration issue ([#97877](https://github.com/kubernetes/kubernetes/pull/97877), [@andyzhangx](https://github.com/andyzhangx)) [SIG Auth, Cloud Provider and Storage]
    - Fix to recover CSI volumes from certain dangling attachments ([#96617](https://github.com/kubernetes/kubernetes/pull/96617), [@yuga711](https://github.com/yuga711)) [SIG Apps and Storage]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  6. internal/s3select/jstream/decoder.go

    func (d *Decoder) Pos() int { return int(d.pos) }
    
    // Err returns the most recent decoder error if any, or nil
    func (d *Decoder) Err() error { return d.err }
    
    // MaxDepth will set the maximum recursion depth.
    // If the maximum depth is exceeded, ErrMaxDepth is returned.
    // Less than or 0 means no limit (default).
    func (d *Decoder) MaxDepth(n int) *Decoder {
    	d.maxDepth = n
    	return d
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/bufio/bufio_test.go

    	// should panic with a description pointing at the reader, not at itself.
    	// (should NOT panic with slice index error, for example.)
    	b := NewReader(new(negativeReader))
    	defer func() {
    		switch err := recover().(type) {
    		case nil:
    			t.Fatal("read did not panic")
    		case error:
    			if !strings.Contains(err.Error(), "reader returned negative count from Read") {
    				t.Fatalf("wrong panic: %v", err)
    			}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    				} else {
    					err = errFileNotFound
    				}
    			}
    		}
    		// when we have insufficient read quorum and inconsistent metadata return
    		// file not found, since we can't possibly have a way to recover this object
    		// anyway.
    		if v, ok := err.(InsufficientReadQuorum); ok && v.Type == RQInconsistentMeta {
    			if opts.VersionID != "" {
    				err = errFileVersionNotFound
    			} else {
    				err = errFileNotFound
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. src/archive/zip/reader_test.go

    		0x4b, 0x05, 0x06, 0x20, 0x20, 0x20, 0x20, 0xff,
    		0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    		0xff, 0xff, 0xff, 0x20, 0x00,
    	}
    	defer func() {
    		if r := recover(); r != nil {
    			t.Fatalf("NewReader panicked: %s", r)
    		}
    	}()
    	// Previously, this would trigger a panic as we attempt to read from
    	// an io.SectionReader which would access a slice at a negative offset
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.21.md

     - The metric `storage_operation_errors_total` is not removed, but is marked deprecated, and the metric `storage_operation_status_count` is marked deprecated. In both cases the `storage_operation_duration_seconds` metric can be used to recover equivalent counts (using `status=fail-unknown` in the case of `storage_operations_errors_total`). ([#99045](https://github.com/kubernetes/kubernetes/pull/99045), [@mattcary](https://github.com/mattcary))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri Oct 14 07:03:14 UTC 2022
    - 367.3K bytes
    - Viewed (0)
Back to top