Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Fault (0.57 sec)

  1. test/recover4.go

    // license that can be found in the LICENSE file.
    
    // Test that if a slice access causes a fault, a deferred func
    // sees the most recent value of the variables it accesses.
    // This is true today; the role of the test is to ensure it stays true.
    //
    // In the test, memcopy is the function that will fault, during dst[i] = src[i].
    // The deferred func recovers from the error and returns, making memcopy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. test/fixedbugs/issue15002.go

    		r := recover()
    		if r == nil {
    			panic("no fault or bounds check failure happened")
    		}
    		s := fmt.Sprintf("%s", r)
    		if s != "runtime error: index out of range [1] with length 1" {
    			panic("bad panic: " + s)
    		}
    	}()
    	return uint16(x[i]) | uint16(x[i+1])<<8
    }
    
    func test32(x []byte) uint32 {
    	defer func() {
    		r := recover()
    		if r == nil {
    			panic("no fault or bounds check failure happened")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. 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)
  4. pkg/wellknown/wellknown.go

    const (
    	// Buffer HTTP filter
    	Buffer = "envoy.filters.http.buffer"
    	// CORS HTTP filter
    	CORS = "envoy.filters.http.cors"
    	// Dynamo HTTP filter
    	Dynamo = "envoy.filters.http.dynamo"
    	// Fault HTTP filter
    	Fault = "envoy.filters.http.fault"
    	// GRPCHTTP1Bridge HTTP filter
    	GRPCHTTP1Bridge = "envoy.filters.http.grpc_http1_bridge"
    	// GRPCJSONTranscoder HTTP filter
    	GRPCJSONTranscoder = "envoy.filters.http.grpc_json_transcoder"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. 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)
  6. pkg/config/xds/deprecated.go

    		"envoy.filters.http.csrf":             "envoy.csrf",
    		wellknown.Dynamo:                      "envoy.http_dynamo_filter",
    		wellknown.HTTPExternalAuthorization:   "envoy.ext_authz",
    		wellknown.Fault:                       "envoy.fault",
    		wellknown.GRPCHTTP1Bridge:             "envoy.grpc_http1_bridge",
    		wellknown.GRPCJSONTranscoder:          "envoy.grpc_json_transcoder",
    		wellknown.GRPCWeb:                     "envoy.grpc_web",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. src/runtime/mem.go

    // 2) Reserved - Owned by the runtime, but accessing it would cause a fault.
    //               Does not count against the process' memory footprint.
    // 3) Prepared - Reserved, intended not to be backed by physical memory (though
    //               an OS may implement this lazily). Can transition efficiently to
    //               Ready. Accessing memory in such a region is undefined (may
    //               fault, may give back unexpected zeroes, etc.).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ImmutableCapability.java

     *       Could not create task ':santa-tracker:generateDebugFeatureTransitiveDeps'.
     *         org/gradle/internal/component/external/model/ImmutableCapability
     * </code>
     *
     * The task at fault is {@code com.android.build.gradle.internal.tasks.featuresplit.PackagedDependenciesWriterTask`}.
     *
     * @deprecated Use {@link DefaultImmutableCapability} instead.
     */
    @Deprecated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/msan_test.go

    		{src: "msan5.go"},
    		{src: "msan6.go"},
    		{src: "msan7.go"},
    		{src: "msan8.go"},
    		{src: "msan_fail.go", wantErr: true},
    		// This may not always fail specifically due to MSAN. It may sometimes
    		// fail because of a fault. However, we don't care what kind of error we
    		// get here, just that we get an error. This is an MSAN test because without
    		// MSAN it would not fail deterministically.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:30:58 UTC 2023
    - 2.3K 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