Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for lockedm (0.35 sec)

  1. src/runtime/proc.go

    		}
    		print(" mallocing=", mp.mallocing, " throwing=", mp.throwing, " preemptoff=", mp.preemptoff, " locks=", mp.locks, " dying=", mp.dying, " spinning=", mp.spinning, " blocked=", mp.blocked, " lockedg=")
    		if lockedg := mp.lockedg.ptr(); lockedg != nil {
    			print(lockedg.goid)
    		} else {
    			print("nil")
    		}
    		print("\n")
    	}
    
    	forEachG(func(gp *g) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/database/sql/sql.go

    		MaxIdleClosed:     db.maxIdleClosed,
    		MaxIdleTimeClosed: db.maxIdleTimeClosed,
    		MaxLifetimeClosed: db.maxLifetimeClosed,
    	}
    	return stats
    }
    
    // Assumes db.mu is locked.
    // If there are connRequests and the connection limit hasn't been reached,
    // then tell the connectionOpener to open new connections.
    func (db *DB) maybeOpenNewConnections() {
    	numRequests := db.connRequests.Len()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    	var args dsync.LockArgs
    	var lockers []dsync.NetLocker
    	for _, path := range strings.Split(vars["paths"], ",") {
    		if path == "" {
    			continue
    		}
    		args.Resources = append(args.Resources, path)
    	}
    
    	for _, lks := range z.serverPools[0].erasureLockers {
    		lockers = append(lockers, lks...)
    	}
    
    	for _, locker := range lockers {
    		locker.ForceUnlock(ctx, args)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

         * recency queue. At write-time, or when the queue is full past the threshold, the queue will be
         * drained and the entries therein processed.
         *
         * <p>Note: locked reads should use {@link #recordLockedRead}.
         */
        void recordRead(ReferenceEntry<K, V> entry, long now) {
          if (map.recordsAccess()) {
            entry.setAccessTime(now);
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

         * recency queue. At write-time, or when the queue is full past the threshold, the queue will be
         * drained and the entries therein processed.
         *
         * <p>Note: locked reads should use {@link #recordLockedRead}.
         */
        void recordRead(ReferenceEntry<K, V> entry, long now) {
          if (map.recordsAccess()) {
            entry.setAccessTime(now);
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  6. src/net/http/transport_test.go

    	req.Cancel = cancelReq
    
    	res, err := cst.c.Do(req)
    	if err != nil {
    		close(cancelHandler)
    		t.Fatalf("Get error: %v", err)
    	}
    
    	// Cancel the request while the handler is still blocked on sending to the
    	// inHandler channel. Then read it until it fails, to verify that the
    	// connection is broken before the handler itself closes it.
    	close(cancelReq)
    	got, err := io.ReadAll(res.Body)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  7. src/database/sql/sql_test.go

    		}
    		r.Close()
    		wg.Done()
    	}()
    	// Wait until the goroutine we've just created has started waiting.
    	<-drv.waitingCh
    	// Now close the busy connections. This provides a connection for
    	// the blocked goroutine and then fills up the idle queue.
    	for _, v := range rows {
    		v.Close()
    	}
    	// At this point we give the new connection to DB. This connection is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  8. src/reflect/all_test.go

    			j := x.Choose(len(cases))
    			cases[i], cases[j] = cases[j], cases[i]
    			info[i], info[j] = info[j], info[i]
    		}
    
    		if helper != nil {
    			// We wait before kicking off a goroutine to satisfy a blocked select.
    			// The pause needs to be big enough to let the select block before
    			// we run the helper, but if we lose that race once in a while it's okay: the
    			// select will just proceed immediately. Not a big deal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  9. src/net/http/serve_test.go

    		}
    		// Don't return sl to activeLog: we don't expect any further states after
    		// this point, and want to keep the ConnState callback blocked until the
    		// next call to wantLog.
    	}
    
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		handler[r.URL.Path](w, r)
    	}), func(ts *httptest.Server) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  10. src/net/http/server.go

    }
    
    // connReader is the io.Reader wrapper used by *conn. It combines a
    // selectively-activated io.LimitedReader (to bound request header
    // read sizes) with support for selectively keeping an io.Reader.Read
    // call blocked in a background goroutine to wait for activity and
    // trigger a CloseNotifier channel.
    type connReader struct {
    	conn *conn
    
    	mu      sync.Mutex // guards following
    	hasByte bool
    	byteBuf [1]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top