Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for lifo (0.27 sec)

  1. src/runtime/sema.go

    func sync_runtime_SemacquireMutex(addr *uint32, lifo bool, skipframes int) {
    	semacquire1(addr, lifo, semaBlockProfile|semaMutexProfile, skipframes, waitReasonSyncMutexLock)
    }
    
    //go:linkname sync_runtime_SemacquireRWMutexR sync.runtime_SemacquireRWMutexR
    func sync_runtime_SemacquireRWMutexR(addr *uint32, lifo bool, skipframes int) {
    	semacquire1(addr, lifo, semaBlockProfile|semaMutexProfile, skipframes, waitReasonSyncRWMutexRLock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. tests/util/leak/check.go

    // Check adds a check to a test to ensure there are no leaked goroutines
    // To use, simply call leak.Check(t) at the start of a test; Do not call it in defer.
    // It is recommended to call this as the first step, as Cleanup is called in LIFO order; this ensures any
    // Cleanup's called in the test happen first.
    // Any existing goroutines before the test starts are filtered out. This ensures a single test failing doesn't
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 10:22:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closer.java

       * additional exceptions that are thrown after that will be suppressed.
       */
      @Override
      public void close() throws IOException {
        Throwable throwable = thrown;
    
        // close closeables in LIFO order
        while (!stack.isEmpty()) {
          Closeable closeable = stack.removeFirst();
          try {
            closeable.close();
          } catch (Throwable e) {
            if (throwable == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/Closer.java

       * additional exceptions that are thrown after that will be suppressed.
       */
      @Override
      public void close() throws IOException {
        Throwable throwable = thrown;
    
        // close closeables in LIFO order
        while (!stack.isEmpty()) {
          Closeable closeable = stack.removeFirst();
          try {
            closeable.close();
          } catch (Throwable e) {
            if (throwable == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. src/runtime/mgcstack.go

    	// This applies only to the innermost frame at an async safe-point.
    	conservative bool
    
    	// buf contains the set of possible pointers to stack objects.
    	// Organized as a LIFO linked list of buffers.
    	// All buffers except possibly the head buffer are full.
    	buf     *stackWorkBuf
    	freeBuf *stackWorkBuf // keep around one free buffer for allocation hysteresis
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 21:06:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          ArrayList<LockGraphNode> acquiredLockList = requireNonNull(acquiredLocks.get());
          LockGraphNode node = lock.getLockGraphNode();
          // Iterate in reverse because locks are usually locked/unlocked in a
          // LIFO order.
          for (int i = acquiredLockList.size() - 1; i >= 0; i--) {
            if (acquiredLockList.get(i) == node) {
              acquiredLockList.remove(i);
              break;
            }
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          ArrayList<LockGraphNode> acquiredLockList = requireNonNull(acquiredLocks.get());
          LockGraphNode node = lock.getLockGraphNode();
          // Iterate in reverse because locks are usually locked/unlocked in a
          // LIFO order.
          for (int i = acquiredLockList.size() - 1; i >= 0; i--) {
            if (acquiredLockList.get(i) == node) {
              acquiredLockList.remove(i);
              break;
            }
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/lif/link.go

    		}
    		b := make([]byte, lifn.Count*sizeofLifreq)
    		lifc.Family = uint16(ep.af)
    		lifc.Len = lifn.Count * sizeofLifreq
    		if len(lifc.Lifcu) == 8 {
    			nativeEndian.PutUint64(lifc.Lifcu[:], uint64(uintptr(unsafe.Pointer(&b[0]))))
    		} else {
    			nativeEndian.PutUint32(lifc.Lifcu[:], uint32(uintptr(unsafe.Pointer(&b[0]))))
    		}
    		ioc = int64(syscall.SIOCGLIFCONF)
    		if err := ioctl(ep.s, uintptr(ioc), unsafe.Pointer(&lifc)); err != nil {
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/lif/lif.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build solaris
    
    // Package lif provides basic functions for the manipulation of
    // logical network interfaces and interface addresses on Solaris.
    //
    // The package supports Solaris 11 or above.
    package lif
    
    import (
    	"syscall"
    )
    
    type endpoint struct {
    	af int
    	s  uintptr
    }
    
    func (ep *endpoint) close() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 950 bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/lif/address.go

    	var as []Addr
    	for _, ll := range lls {
    		var lifr lifreq
    		for i := 0; i < len(ll.Name); i++ {
    			lifr.Name[i] = int8(ll.Name[i])
    		}
    		for _, ep := range eps {
    			ioc := int64(syscall.SIOCGLIFADDR)
    			err := ioctl(ep.s, uintptr(ioc), unsafe.Pointer(&lifr))
    			if err != nil {
    				continue
    			}
    			sa := (*sockaddrStorage)(unsafe.Pointer(&lifr.Lifru[0]))
    			l := int(nativeEndian.Uint32(lifr.Lifru1[:4]))
    			if l == 0 {
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top