Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 432 for panicIP (0.2 sec)

  1. src/crypto/des/cipher.go

    func (c *desCipher) Encrypt(dst, src []byte) {
    	if len(src) < BlockSize {
    		panic("crypto/des: input not full block")
    	}
    	if len(dst) < BlockSize {
    		panic("crypto/des: output not full block")
    	}
    	if alias.InexactOverlap(dst[:BlockSize], src[:BlockSize]) {
    		panic("crypto/des: invalid buffer overlap")
    	}
    	cryptBlock(c.subkeys[:], dst, src, false)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/match/matchers_test.go

    	panic("implement me")
    }
    
    func (f fakeInstance) Clusters() cluster.Clusters {
    	panic("implement me")
    }
    
    func (f fakeInstance) Call(echo.CallOptions) (echo.CallResult, error) {
    	panic("implement me")
    }
    
    func (f fakeInstance) CallOrFail(test.Failer, echo.CallOptions) echo.CallResult {
    	panic("implement me")
    }
    
    func (f fakeInstance) UpdateWorkloadLabel(add map[string]string, remove []string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/testing/testing.go

    		didPanic := false
    		defer func() {
    			// Only report that the test is complete if it doesn't panic,
    			// as otherwise the test binary can exit before the panic is
    			// reported to the user. See issue 41479.
    			if didPanic {
    				return
    			}
    			if err != nil {
    				panic(err)
    			}
    			running.Delete(t.name)
    			t.signal <- signal
    		}()
    
    		doPanic := func(err any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/godebug_default.txt

    cp go.mod.21 go.mod
    ! go run .
    stderr 'panic: panic called with nil argument'
    
    ! go run rsc.io/panicnil
    stderr 'panic: panic called with nil argument'
    
    # Programs in Go 1.20 work module use old panic nil behavior.
    cp go.mod.20 go.mod
    ! go run .
    stderr 'panic: nil'
    
    ! go run rsc.io/panicnil
    stderr 'panic: nil'
    
    # Programs in no module at all should use their go.mod file.
    rm go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/iter/pull_test.go

    			t.Fatal("failed to propagate panic on stop")
    		}
    		// Make sure we don't panic again if we try to call next or stop.
    		if _, ok := next(); ok {
    			t.Fatal("next returned true after iterator panicked")
    		}
    		// Calling stop again should be a no-op.
    		stop()
    	})
    }
    
    func panicSeq() Seq[int] {
    	return func(yield func(int) bool) {
    		panic("boom")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. src/runtime/traceback.go

    func (u *unwinder) finishInternal() {
    	u.frame.pc = 0
    
    	// Note that panic != nil is okay here: there can be leftover panics,
    	// because the defers on the panic stack do not nest in frame order as
    	// they do on the defer stack. If you have:
    	//
    	//	frame 1 defers d1
    	//	frame 2 defers d2
    	//	frame 3 defers d3
    	//	frame 4 panics
    	//	frame 4's panic starts running defers
    	//	frame 5, running d3, defers d4
    	//	frame 5 panics
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. src/crypto/x509/root.go

    // pool is not available (for instance in a container which does not have a root
    // certificate bundle). SetFallbackRoots will panic if roots is nil.
    //
    // SetFallbackRoots may only be called once, if called multiple times it will
    // panic.
    //
    // The fallback behavior can be forced on all platforms, even when there is a
    // system certificate pool, by setting GODEBUG=x509usefallbackroots=1 (note that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/runtime/debug/garbage.go

    // manipulation of memory may cause faults at non-nil addresses in less
    // dramatic situations; SetPanicOnFault allows such programs to request
    // that the runtime trigger only a panic, not a crash.
    // The runtime.Error that the runtime panics with may have an additional method:
    //
    //	Addr() uintptr
    //
    // If that method exists, it returns the memory address which triggered the fault.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/encoding/gob/type.go

    		panic("bootstrap type wrong id: " + got.name() + " " + got.string() + " not " + want.string())
    	}
    }
    
    // used for building the basic types; called only from init().  the incoming
    // interface always refers to a pointer.
    func bootstrapType(name string, e any) typeId {
    	rt := reflect.TypeOf(e).Elem()
    	_, present := types[rt]
    	if present {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. src/internal/abi/rangefuncconsts.go

    // and panic indicators, and the runtime, which turns them into more meaningful strings
    // For best code generation, RF_DONE and RF_READY should be 0 and 1.
    const (
    	RF_DONE          = RF_State(iota) // body of loop has exited in a non-panic way
    	RF_READY                          // body of loop has not exited yet, is not running  -- this is not a panic index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:04:30 UTC 2024
    - 940 bytes
    - Viewed (0)
Back to top