Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 313 for recovery (0.14 sec)

  1. test/fixedbugs/issue22164.go

    // errorcheck
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test error recovery after missing closing parentheses in lists.
    
    package p
    
    func f() {
    	x := f(g() // ERROR "unexpected newline"
    	y := 1
    }
    
    func g() {
    }
    
    func h() {
    	x := f(g() // ERROR "unexpected newline"
    }
    
    func i() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 01:04:56 UTC 2017
    - 458 bytes
    - Viewed (0)
  2. docs/en/docs/project-generation.md

        - 🦇 Dark mode support.
    - 🐋 [Docker Compose](https://www.docker.com) for development and production.
    - 🔒 Secure password hashing by default.
    - 🔑 JWT token authentication.
    - 📫 Email based password recovery.
    - ✅ Tests with [Pytest](https://pytest.org).
    - 📞 [Traefik](https://traefik.io) as a reverse proxy / load balancer.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 21 21:12:21 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/node_expander.go

    	// last recorded size in ASOW is older. This can happen for RWX volume types.
    	if ne.pvcStatusCap.Cmp(ne.pluginResizeOpts.NewSize) >= 0 && ne.resizeStatus == "" {
    		ne.pvcAlreadyUpdated = true
    		return true
    	}
    
    	// recovery features will only work for newer version of resize controller
    	if ne.resizeStatus == "" {
    		return false
    	}
    
    	resizeStatusVal := ne.resizeStatus
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:30:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. cmd/veeam-sos-api.go

    //     backup space is needed for incremental backups. Larger block sizes also mean less performance for random read restore
    //     methods like Instant Restore, File Level Recovery, and Database/Application restores. Veeam recommends that vendors
    //     optimize the storage system for the default value of 1MB minus compression object sizes. The setting simultaneously
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 20 18:54:52 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/errors.go

    	"fmt"
    	. "internal/types/errors"
    	"runtime"
    	"strings"
    )
    
    func assert(p bool) {
    	if !p {
    		msg := "assertion failed"
    		// Include information about the assertion location. Due to panic recovery,
    		// this location is otherwise buried in the middle of the panicking stack.
    		if _, file, line, ok := runtime.Caller(1); ok {
    			msg = fmt.Sprintf("%s:%d: %s", file, line, msg)
    		}
    		panic(msg)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/go/types/errors.go

    	"go/ast"
    	"go/token"
    	. "internal/types/errors"
    	"runtime"
    	"strings"
    )
    
    func assert(p bool) {
    	if !p {
    		msg := "assertion failed"
    		// Include information about the assertion location. Due to panic recovery,
    		// this location is otherwise buried in the middle of the panicking stack.
    		if _, file, line, ok := runtime.Caller(1); ok {
    			msg = fmt.Sprintf("%s:%d: %s", file, line, msg)
    		}
    		panic(msg)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. test/recover4.go

    )
    
    func memcopy(dst, src []byte) (n int, err error) {
    	defer func() {
    		if r, ok := recover().(error); ok {
    			err = r
    		}
    	}()
    
    	for i := 0; i < len(dst) && i < len(src); i++ {
    		dst[i] = src[i]
    		n++
    	}
    	return
    }
    
    func main() {
    	// Turn the eventual fault into a panic, not a program crash,
    	// so that memcopy can recover.
    	debug.SetPanicOnFault(true)
    
    	size := syscall.Getpagesize()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. test/recover3.go

    	var inter interface{}
    	inter = 1
    	check("type-concrete", func() { println(inter.(string)) }, "int, not string")
    	check("type-interface", func() { println(inter.(m)) }, "missing method m")
    
    	if didbug {
    		panic("recover3")
    	}
    }
    
    type m interface {
    	m()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  9. test/recover1.go

    	v := recover()
    	if v == nil {
    		println("missing recover")
    		die()	// panic is useless here
    	}
    	if v != x {
    		println("wrong value", v, x)
    		die()
    	}
    	
    	// the value should be gone now regardless
    	v = recover()
    	if v != nil {
    		println("recover didn't recover")
    		die()
    	}
    }
    
    func mustNotRecover() {
    	v := recover()
    	if v != nil {
    		println("spurious recover")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
  10. test/recover5.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Verify that recover arguments requirements are enforced by the
    // compiler.
    
    package main
    
    func main() {
    	_ = recover()     // OK
    	_ = recover(1)    // ERROR "too many arguments"
    	_ = recover(1, 2) // ERROR "too many arguments"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 12:37:49 UTC 2017
    - 408 bytes
    - Viewed (0)
Back to top