Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 432 for panicIP (0.14 sec)

  1. src/crypto/aes/gcm_s390x.go

    	if len(nonce) != g.nonceSize {
    		panic("crypto/cipher: incorrect nonce length given to GCM")
    	}
    	if uint64(len(plaintext)) > ((1<<32)-2)*BlockSize {
    		panic("crypto/cipher: message too large for GCM")
    	}
    
    	ret, out := sliceForAppend(dst, len(plaintext)+g.tagSize)
    	if alias.InexactOverlap(out[:len(plaintext)], plaintext) {
    		panic("crypto/cipher: invalid buffer overlap")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. src/crypto/ed25519/ed25519.go

    	return privateKey
    }
    
    func newKeyFromSeed(privateKey, seed []byte) {
    	if l := len(seed); l != SeedSize {
    		panic("ed25519: bad seed length: " + strconv.Itoa(l))
    	}
    
    	h := sha512.Sum512(seed)
    	s, err := edwards25519.NewScalar().SetBytesWithClamping(h[:32])
    	if err != nil {
    		panic("ed25519: internal error: setting scalar failed")
    	}
    	A := (&edwards25519.Point{}).ScalarBaseMult(s)
    
    	publicKey := A.Bytes()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/reflect/all_test.go

    		r := recover()
    		if r == nil {
    			panic("did not panic")
    		}
    		if expect != "" {
    			var s string
    			switch r := r.(type) {
    			case string:
    				s = r
    			case *ValueError:
    				s = r.Error()
    			default:
    				panic(fmt.Sprintf("panicked with unexpected type %T", r))
    			}
    			if !strings.HasPrefix(s, "reflect") {
    				panic(`panic string does not start with "reflect": ` + s)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  4. internal/logger/logger.go

    	sendLog(ctx, entry)
    }
    
    // ErrCritical is the value panic'd whenever CriticalIf is called.
    var ErrCritical struct{}
    
    // CriticalIf logs the provided error on the console. It fails the
    // current go-routine by causing a `panic(ErrCritical)`.
    func CriticalIf(ctx context.Context, err error, errKind ...interface{}) {
    	if err != nil {
    		LogIf(ctx, "", err, errKind...)
    		panic(ErrCritical)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. src/cmd/link/internal/loader/loader.go

    		panic("unexpected empty container symbol")
    	}
    	// The interior symbols for a container are not expected to have
    	// content/data or relocations.
    	if len(l.Data(interior)) != 0 {
    		panic("unexpected non-empty interior symbol")
    	}
    	// Interior symbol is expected to be in the symbol table.
    	if l.AttrNotInSymbolTable(interior) {
    		panic("interior symbol must be in symtab")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/echotest/filters_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
    - 13.1K bytes
    - Viewed (0)
  7. src/testing/example.go

    // If the test is chatty/verbose, it'll print a success message to stdout.
    // If recovered is non-nil, it'll panic with that value.
    // If the test panicked with nil, or invoked runtime.Goexit, it'll be
    // made to fail and panic with errNilPanicOrGoexit
    func (eg *InternalExample) processRunResult(stdout string, timeSpent time.Duration, finished bool, recovered any) (passed bool) {
    	passed = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/os/pidfd_other.go

    func pidfdFind(_ int) (uintptr, error) {
    	return 0, syscall.ENOSYS
    }
    
    func (p *Process) pidfdRelease() {}
    
    func (_ *Process) pidfdWait() (*ProcessState, error) {
    	panic("unreachable")
    }
    
    func (_ *Process) pidfdSendSignal(_ syscall.Signal) error {
    	panic("unreachable")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 692 bytes
    - Viewed (0)
  9. src/runtime/export_debug_test.go

    // will send SIGTRAP to thread ID tid. gp must be locked to its OS thread and
    // running.
    //
    // On success, InjectDebugCall returns the panic value of fn or nil.
    // If fn did not panic, its results will be available in args.
    func InjectDebugCall(gp *g, fn any, regArgs *abi.RegArgs, stackArgs any, tkill func(tid int) error, returnOnUnsafePoint bool) (any, error) {
    	if gp.lockedm == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/go/ast/walk_test.go

    	// yield for sibling nodes even after yield had returned false. With that
    	// bug, this test failed with a runtime panic.
    	src := "package p\ntype T struct {\n\tF int `json:\"f\"` // a field\n}\n"
    
    	fset := token.NewFileSet()
    	f, err := parser.ParseFile(fset, "", src, 0)
    	if err != nil {
    		panic(err)
    	}
    
    	for n := range ast.Preorder(f) {
    		if id, ok := n.(*ast.Ident); ok && id.Name == "F" {
    			break
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 916 bytes
    - Viewed (0)
Back to top