Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 433 for abortCh (0.2 sec)

  1. test/fixedbugs/issue15747b.go

    // Issue 15747: If an ODCL is dropped, for example when inlining,
    // then it's easy to end up not initializing the '&x' pseudo-variable
    // to point to an actual allocation. The liveness analysis will detect
    // this and abort the computation, so this test just checks that the
    // compilation succeeds.
    
    package p
    
    type R [100]byte
    
    func (x R) New() *R {
    	return &x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 02:39:16 UTC 2017
    - 539 bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildSourceBuilderIntegrationTest.groovy

            then:
            blockingResult.ignoreBuildSrc.assertTasksExecuted(":build1")
            releaseResult.ignoreBuildSrc.assertTasksExecuted(":build2")
    
            cleanup:
            runReleaseHandle?.abort()
            runBlockingHandle?.abort()
        }
    
        void writeSharedClassFile(TestFile targetDirectory) {
            def packageDirectory = targetDirectory.createDir("src/main/java/org/gradle/integtest/test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/testdata/msan2.go

    #include <stdlib.h>
    
    void f(int32_t *p, int n) {
      int32_t * volatile q = (int32_t *)malloc(sizeof(int32_t) * n);
      memcpy(p, q, n * sizeof(*p));
      free(q);
    }
    
    void g(int32_t *p, int n) {
      if (p[4] != 1) {
        abort();
      }
    }
    */
    import "C"
    
    import (
    	"unsafe"
    )
    
    func main() {
    	a := make([]int32, 10)
    	C.f((*C.int32_t)(unsafe.Pointer(&a[0])), C.int(len(a)))
    	a[4] = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 644 bytes
    - Viewed (0)
  4. tests/testdata/config/rule-fault-injection.yaml

          route:
          - destination:
              host: c
              subset: v2
            weight: 100
          fault:
            delay:
              percentage:
                value: 100.0
              fixedDelay: 5s
            abort:
              percentage:
                value: 100.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 28 21:38:06 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_mmap.c

    void
    x_cgo_munmap(void *addr, uintptr_t length) {
    	int r;
    
    	_cgo_tsan_acquire();
    	r = munmap(addr, length);
    	_cgo_tsan_release();
    	if (r < 0) {
    		/* The Go runtime is not prepared for munmap to fail.  */
    		abort();
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 916 bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/DispatchFailureHandler.java

     * limitations under the License.
     */
    package org.gradle.internal.dispatch;
    
    public interface DispatchFailureHandler<T> {
        /**
         * Called when a message could not be dispatched. This method can throw an exception to abort further dispatching.
         */
        void dispatchFailed(T message, Throwable failure);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 892 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/wait/wait.go

    	return wait
    }
    
    // ConditionFunc returns true if the condition is satisfied, or an error
    // if the loop should be aborted.
    type ConditionFunc func() (done bool, err error)
    
    // ConditionWithContextFunc returns true if the condition is satisfied, or an error
    // if the loop should be aborted.
    //
    // The caller passes along a context that can be used by the condition function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/sidecar.go

    	Listeners() (*admin.Listeners, error)
    	ListenersOrFail(t test.Failer) *admin.Listeners
    
    	// Logs returns the logs for the sidecar container
    	Logs() (string, error)
    	// LogsOrFail returns the logs for the sidecar container, or aborts if an error is found
    	LogsOrFail(t test.Failer) string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 03:49:49 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/CachingChangeContainerTest.groovy

                receivesChanges(change3, change2, change1)
            }
            0 * _
    
            and:
            reported == [change3, change2, change1]
        }
    
        def "does not cache if visitor aborts visiting"() {
            when:
            cachingChanges.accept(new LimitingChangeVisitor(2, new CollectingChangeVisitor()))
    
            then:
            interaction {
                receivesChanges(change1, change2)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. src/syscall/syscall_windows_test.go

    	}
    }
    
    func abort(funcname string, err error) {
    	panic(funcname + " failed: " + err.Error())
    }
    
    func ExampleLoadLibrary() {
    	h, err := syscall.LoadLibrary("kernel32.dll")
    	if err != nil {
    		abort("LoadLibrary", err)
    	}
    	defer syscall.FreeLibrary(h)
    	proc, err := syscall.GetProcAddress(h, "GetVersion")
    	if err != nil {
    		abort("GetProcAddress", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 16:33:09 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top