Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 902 for stake (0.02 sec)

  1. guava/src/com/google/common/util/concurrent/ClosingFuture.java

        }
      }
    
      private void checkAndUpdateState(State oldState, State newState) {
        checkState(
            compareAndUpdateState(oldState, newState),
            "Expected state to be %s, but it was %s",
            oldState,
            newState);
      }
    
      private boolean compareAndUpdateState(State oldState, State newState) {
        return state.compareAndSet(oldState, newState);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

                        }
                        setSessionSetup(response);
                        state = 0;
                        break;
                    }
                    break;
                default:
                    throw new SmbException("Unexpected session setup state: " + state);
    
                }
            } while (state != 0);
        }
    
        @SuppressWarnings("deprecation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingBlockingDeque.java

      @Override
      public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offer(e, timeout, unit);
      }
    
      @Override
      public E take() throws InterruptedException {
        return delegate().take();
      }
    
      @Override
      public @Nullable E poll(long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().poll(timeout, unit);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionInternal.java

    import jcifs.SmbSession;
    import jcifs.SmbTransport;
    import jcifs.SmbTree;
    
    /**
     * Internal SMB session interface providing extended session management capabilities.
     * Defines methods for internal session operations and state management.
     *
     * @author mbechler
     *
     * <p>This interface is intended for internal use.</p>
     */
    public interface SmbSessionInternal extends SmbSession {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/SmbNegotiation.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    /**
     * Container class for SMB protocol negotiation state.
     * Holds the negotiation request, response, and raw buffer data exchanged
     * between client and server during SMB protocol version negotiation.
     *
     * @author mbechler
     */
    public final class SmbNegotiation {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            @Test
            @DisplayName("Should maintain state after successful read")
            void testStateMaintenanceAfterRead() throws Exception {
                byte oplockLevel = 0x02;
                byte[] fileId = createTestData(16);
                byte[] buffer = createValidOplockBreakBuffer(oplockLevel, fileId);
    
                notification.readBytesWireFormat(buffer, 0);
    
                // Verify state is maintained through multiple toString calls
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

        @Test
        public void testReset() throws Exception {
            // Create some state
            String username = "resettest";
            String ip = "192.168.1.12";
    
            for (int i = 0; i < 2; i++) {
                rateLimiter.checkAttempt(username, ip);
                rateLimiter.recordFailure(username, ip);
            }
    
            // Should have some state
            AuthenticationRateLimiter.RateLimiterStats stats = rateLimiter.getStats();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. cmd/lock-rest-client.go

    type lockRESTClient struct {
    	connection *grid.Connection
    }
    
    // IsOnline - returns whether REST client failed to connect or not.
    func (c *lockRESTClient) IsOnline() bool {
    	return c.connection.State() == grid.StateConnected
    }
    
    // Not a local locker
    func (c *lockRESTClient) IsLocal() bool {
    	return false
    }
    
    // Close - marks the client as closed.
    func (c *lockRESTClient) Close() error {
    	return nil
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            setupParentForUrlCreation();
            StubFileEntry skip = new StubFileEntry("SKIPME", SmbConstants.TYPE_SERVER);
            StubFileEntry take = new StubFileEntry("TAKEME", SmbConstants.TYPE_SERVER);
            when(delegate.hasNext()).thenReturn(true, true, false);
            when(delegate.next()).thenReturn(skip, take);
    
            // First call: reject, Second call: accept
            when(filter.accept(any(SmbResource.class))).thenReturn(false, true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. cmd/erasure-healing_test.go

    	}
    
    	// Check the state of the object in the first disk (should be missing)
    	if hr.Before.Drives[0].State != madmin.DriveStateMissing {
    		t.Fatalf("Unexpected drive state: %v", hr.Before.Drives[0].State)
    	}
    
    	// Check the state of all other disks (should be ok)
    	for i, h := range append(hr.Before.Drives[1:], hr.After.Drives...) {
    		if h.State != madmin.DriveStateOk {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
Back to top