Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for Fault (0.15 sec)

  1. src/runtime/arena.go

    	// We can only set user arenas to fault if we're in the _GCoff phase.
    	if gcphase == _GCoff {
    		lock(&userArenaState.lock)
    		faultList := userArenaState.fault
    		userArenaState.fault = nil
    		unlock(&userArenaState.lock)
    
    		s.setUserArenaChunkToFault()
    		for _, lc := range faultList {
    			lc.mspan.setUserArenaChunkToFault()
    		}
    
    		// Until the chunks are set to fault, keep them alive via the fault list.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/atomic_arm.go

    	}
    	_ = *addr // if nil, fault before taking the lock
    	var r uint64
    	addrLock(addr).lock()
    	r = *addr + uint64(delta)
    	*addr = r
    	addrLock(addr).unlock()
    	return r
    }
    
    //go:nosplit
    func goXchg64(addr *uint64, v uint64) uint64 {
    	if uintptr(unsafe.Pointer(addr))&7 != 0 {
    		*(*int)(nil) = 0 // crash on unaligned uint64
    	}
    	_ = *addr // if nil, fault before taking the lock
    	var r uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/route/route_internal_test.go

    	xdsfault "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/common/fault/v3"
    	cors "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/cors/v3"
    	xdshttpfault "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/fault/v3"
    	matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
    	xdstype "github.com/envoyproxy/go-control-plane/envoy/type/v3"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 02:47:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. pkg/config/validation/virtualservice.go

    	if http.Redirect != nil {
    		if len(http.Route) > 0 {
    			errs = appendErrors(errs, errors.New("HTTP route cannot contain both route and redirect"))
    		}
    
    		if http.Fault != nil {
    			errs = appendErrors(errs, errors.New("HTTP route cannot contain both fault and redirect"))
    		}
    
    		if http.Rewrite != nil {
    			errs = appendErrors(errs, errors.New("HTTP route rule cannot contain both rewrite and redirect"))
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. pilot/pkg/xds/filters/filters.go

    		Name: wellknown.CORS,
    		ConfigType: &hcm.HttpFilter_TypedConfig{
    			TypedConfig: protoconv.MessageToAny(&cors.Cors{}),
    		},
    	}
    	Fault = &hcm.HttpFilter{
    		Name: wellknown.Fault,
    		ConfigType: &hcm.HttpFilter_TypedConfig{
    			TypedConfig: protoconv.MessageToAny(&fault.HTTPFault{}),
    		},
    	}
    	GrpcWeb = &hcm.HttpFilter{
    		Name: wellknown.GRPCWeb,
    		ConfigType: &hcm.HttpFilter_TypedConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 09 09:24:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    	testCases := []struct {
    		objectName string
    		content    string
    		partNumber string
    		fault      Fault
    		accessKey  string
    		secretKey  string
    
    		expectedAPIError APIErrorCode
    	}{
    		// Success case.
    		0: {
    			objectName: testObject,
    			content:    "hello",
    			partNumber: "1",
    			fault:      None,
    			accessKey:  credentials.AccessKey,
    			secretKey:  credentials.SecretKey,
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    							},
    						},
    					},
    				},
    			},
    			Patch: &networking.EnvoyFilter_Patch{
    				Operation: networking.EnvoyFilter_Patch_MERGE,
    				Value: buildPatchStruct(`
    {"name": "envoy.filters.http.fault",
    "typed_config": {
            "@type": "type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault",
            "downstreamNodes": ["foo"]
    }
    }`),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  8. src/runtime/os_plan9.go

    			// We could check that the arena chunk is explicitly set to fault,
    			// but the fact that we faulted on accessing it is enough to prove
    			// that it is.
    			print("accessed data from freed user arena ", hex(gp.sigcode1), "\n")
    		} else {
    			print("unexpected fault address ", hex(gp.sigcode1), "\n")
    		}
    		throw("fault")
    	case _SIGTRAP:
    		if gp.paniconfault {
    			panicmem()
    		}
    		throw(note)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. src/runtime/signal_unix.go

    			// We could check that the arena chunk is explicitly set to fault,
    			// but the fact that we faulted on accessing it is enough to prove
    			// that it is.
    			print("accessed data from freed user arena ", hex(gp.sigcode1), "\n")
    		} else {
    			print("unexpected fault address ", hex(gp.sigcode1), "\n")
    		}
    		throw("fault")
    	case _SIGFPE:
    		switch gp.sigcode0 {
    		case _FPE_INTDIV:
    			panicdivide()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/sys_linux_arm.s

    TEXT ·Cas(SB),NOSPLIT|NOFRAME,$0
    	MOVB	runtime·goarm(SB), R11
    	CMP	$7, R11
    	BLT	2(PC)
    	JMP	·armcas(SB)
    	JMP	kernelcas<>(SB)
    
    TEXT kernelcas<>(SB),NOSPLIT,$0
    	MOVW	ptr+0(FP), R2
    	// trigger potential paging fault here,
    	// because we don't know how to traceback through __kuser_cmpxchg
    	MOVW    (R2), R0
    	MOVW	old+4(FP), R0
    	MOVW	new+8(FP), R1
    	BL	cas<>(SB)
    	BCC	ret0
    	MOVW	$1, R0
    	MOVB	R0, ret+12(FP)
    	RET
    ret0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top