Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,222 for crashes (0.14 sec)

  1. src/internal/coverage/cfile/testdata/harness.go

    	// function repeatedly, each time with a Write operation set to
    	// fail at a new spot. The goal here is to make sure that:
    	// A) an error is reported, and B) nothing crashes.
    	tot := fw.writeCount
    	for i := 0; i < tot; i++ {
    		fw.reset(i)
    		err := testf(fw)
    		if err == nil {
    			log.Fatalf("no error from write %d tag %s", i, tag)
    		}
    	}
    }
    
    func postClear() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. src/runtime/os_solaris.go

    	}
    
    	var libcall libcall
    	libcall.fn = uintptr(unsafe.Pointer(fn))
    	libcall.n = 0
    	libcall.args = uintptr(unsafe.Pointer(fn)) // it's unused but must be non-nil, otherwise crashes
    	asmcgocall(unsafe.Pointer(&asmsysvicall6x), unsafe.Pointer(&libcall))
    	if mp != nil {
    		mp.libcallsp = 0
    	}
    	return libcall.r1
    }
    
    //go:nosplit
    func sysvicall1(fn *libcFunc, a1 uintptr) uintptr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/hooks.go

    )
    
    // PostStartHookFunc is a function that is called after the server has started.
    // It must properly handle cases like:
    //  1. asynchronous start in multiple API server processes
    //  2. conflicts between the different processes all trying to perform the same action
    //  3. partially complete work (API server crashes while running your hook)
    //  4. API server access **BEFORE** your hook has completed
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/runtime/sigqueue.go

    const (
    	sigIdle = iota
    	sigReceiving
    	sigSending
    )
    
    // sigsend delivers a signal from sighandler to the internal signal delivery queue.
    // It reports whether the signal was sent. If not, the caller typically crashes the program.
    // It runs from the signal handler, so it's limited in what it can do.
    func sigsend(s uint32) bool {
    	bit := uint32(1) << uint(s&31)
    	if s >= uint32(32*len(sig.wanted)) {
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/c/env.h

    // Flush local buffers to the filesystem. If the process terminates after a
    // successful flush, the contents may still be persisted, since the underlying
    // filesystem may eventually flush the contents.  If the OS or machine crashes
    // after a successful flush, the contents may or may not be persisted, depending
    // on the implementation.
    TF_CAPI_EXPORT extern void TF_FlushWritableFile(TF_WritableFileHandle* handle,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 09 02:53:27 UTC 2021
    - 9.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/LittleEndianByteArray.java

      }
    
      static {
        LittleEndianBytes theGetter = JavaLittleEndianBytes.INSTANCE;
        try {
          /*
           * UnsafeByteArray uses Unsafe.getLong() in an unsupported way, which is known to cause
           * crashes on Android when running in 32-bit mode. For maximum safety, we shouldn't use
           * Unsafe.getLong() at all, but the performance benefit on x86_64 is too great to ignore, so
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    		log.Fatalf("failed to read from input pipe: %v", err)
    	}
    
    	// If the only line is the sentinel, it wasn't a crash.
    	if bytes.Count(data, []byte("\n")) < 2 {
    		childExitHook()
    		os.Exit(0) // parent exited without crash report
    	}
    
    	log.Printf("parent reported crash:\n%s", data)
    
    	// Parse the stack out of the crash report
    	// and record a telemetry count for it.
    	name, err := telemetryCounterName(data)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

      }
    
      static {
        LittleEndianBytes theGetter = JavaLittleEndianBytes.INSTANCE;
        try {
          /*
           * UnsafeByteArray uses Unsafe.getLong() in an unsupported way, which is known to cause
           * crashes on Android when running in 32-bit mode. For maximum safety, we shouldn't use
           * Unsafe.getLong() at all, but the performance benefit on x86_64 is too great to ignore, so
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go

    	// given a key, return the record, and whether or not it existed
    	get(key string) (value *cacheRecord, exists bool)
    	// caches the record for the key
    	set(key string, value *cacheRecord, ttl time.Duration)
    	// removes the record for the key
    	remove(key string)
    }
    
    // New returns a token authenticator that caches the results of the specified authenticator. A ttl of 0 bypasses the cache.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/watch/mux.go

    		close(m.stopped)
    		close(m.incoming)
    	})
    	m.distributing.Wait()
    }
    
    // loop receives from m.incoming and distributes to all watchers.
    func (m *Broadcaster) loop() {
    	// Deliberately not catching crashes here. Yes, bring down the process if there's a
    	// bug in watch.Broadcaster.
    	for event := range m.incoming {
    		if event.Type == internalRunFunctionMarker {
    			event.Object.(functionFakeRuntimeObject)()
    			continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 16 15:26:36 UTC 2022
    - 9.4K bytes
    - Viewed (0)
Back to top