Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for unblockSend (0.05 sec)

  1. internal/grid/muxserver.go

    		m.disconnect("handler blocked", true)
    	}
    }
    
    func (m *muxServer) unblockSend(seq uint32) {
    	if !m.checkSeq(seq) {
    		return
    	}
    	m.recvMu.Lock()
    	defer m.recvMu.Unlock()
    	if m.outBlock == nil {
    		// Closed
    		return
    	}
    	select {
    	case m.outBlock <- struct{}{}:
    	default:
    		gridLogIf(m.ctx, errors.New("output unblocked overflow"))
    	}
    }
    
    func (m *muxServer) ping(seq uint32) pongMsg {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. internal/grid/muxclient.go

    	for range available {
    		m.outBlock <- struct{}{}
    	}
    	m.acked = true
    }
    
    func (m *muxClient) unblockSend(seq uint32) {
    	if !m.checkSeq(seq) {
    		return
    	}
    	select {
    	case m.outBlock <- struct{}{}:
    	default:
    		gridLogIf(m.ctx, errors.New("output unblocked overflow"))
    	}
    }
    
    func (m *muxClient) pong(msg pongMsg) {
    	if msg.NotFound || msg.Err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    		}
    		// We can expect to receive unblocks for closed muxes
    		return
    	}
    	v.unblockSend(m.Seq)
    }
    
    func (c *Connection) handleUnblockSrvMux(m message) {
    	if m.Payload != nil {
    		PutByteBuffer(m.Payload)
    	}
    	m.Payload = nil
    	if v, ok := c.inStream.Load(m.MuxID); ok {
    		v.unblockSend(m.Seq)
    		return
    	}
    	// We can expect to receive unblocks for closed muxes
    	if debugPrint {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 46.9K bytes
    - Viewed (0)
  4. internal/grid/msg.go

    	// OpMuxServerMsg contains a message to a server Mux
    	OpMuxServerMsg
    
    	// OpUnblockSrvMux contains a message that a server mux is unblocked with one.
    	// Only Stateful streams has flow control.
    	OpUnblockSrvMux
    
    	// OpUnblockClMux contains a message that a client mux is unblocked with one.
    	// Only Stateful streams has flow control.
    	OpUnblockClMux
    
    	// OpAckMux acknowledges a mux was created.
    	OpAckMux
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/AuthenticationRateLimiter.java

         *
         * @param sourceIp the IP to unblock
         * @return true if IP was unblocked, false if not found
         */
        public boolean unblockIp(String sourceIp) {
            IpAttempts ip = ipAttempts.get(sourceIp);
            if (ip != null) {
                ip.reset();
                log.info("Manually unblocked IP: {}", sourceIp);
                return true;
            }
            return false;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. internal/lock/lock_test.go

    		t.Error("unexpected unblocking")
    	case <-time.After(100 * time.Millisecond):
    	}
    
    	// unlock
    	if err = dupl.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// the previously blocked routine should be unblocked
    	select {
    	case <-locked:
    	case <-time.After(1 * time.Second):
    		t.Error("unexpected blocking")
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              }
            };
        f.set("foo");
      }
    
      // Regression test for a case where we would fail to execute listeners immediately on done futures
      // this would be observable from a waiter that was just unblocked.
      public void testListenersExecuteImmediately_afterWaiterWakesUp() throws Exception {
        AbstractFuture<String> f =
            new AbstractFuture<String>() {
              @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              }
            };
        f.set("foo");
      }
    
      // Regression test for a case where we would fail to execute listeners immediately on done futures
      // this would be observable from a waiter that was just unblocked.
      public void testListenersExecuteImmediately_afterWaiterWakesUp() throws Exception {
        AbstractFuture<String> f =
            new AbstractFuture<String>() {
              @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.34.md

    - ReplicaSets and Deployments should always count `.status.availableReplicas` at the correct time without a delay. This results in faster reconciliation of Deployment conditions and faster, unblocked Deployment rollouts. ([#132121](https://github.com/kubernetes/kubernetes/pull/132121), [@atiratree](https://github.com/atiratree)) [SIG Apps]
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 10 01:13:50 UTC 2025
    - 333.3K bytes
    - Viewed (1)
Back to top