Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,075 for stats (0.02 sec)

  1. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        if (mockWebServer == null) throw new IllegalStateException();
    
        ByteString state = randomToken();
        synchronized (this) {
          listeners.put(state, listener);
        }
    
        return slackApi.authorizeUrl(scopes, redirectUrl(), state, team);
      }
    
      private ByteString randomToken() {
        byte[] bytes = new byte[16];
        secureRandom.nextBytes(bytes);
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Response.java

        /**
         * Set received status
         */
        void received();
    
        /**
         * Unset received status
         */
        void clearReceived();
    
        /**
         * Gets the number of credits granted by the server.
         *
         * @return number of credits granted by the server
         */
        int getGrantedCredits();
    
        /**
         * Gets the error status code.
         *
         * @return status code
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            public void setStatusForTest(int status) {
                // Workaround: Use reflection to set private status field
                try {
                    java.lang.reflect.Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
                    statusField.setAccessible(true);
                    statusField.set(this, status);
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.26.md

        - `apiserver_flowcontrol_nominal_limit_seats`: Nominal number of execution seats configured for each priority level
        - `apiserver_flowcontrol_lower_limit_seats`: Configured lower bound on number of execution seats available to each priority level
        - `apiserver_flowcontrol_upper_limit_seats`: Configured upper bound on number of execution seats available to each priority level
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

        class ErrorCodeTests {
    
            @Test
            @DisplayName("Should get error code from status")
            void testGetErrorCode() throws Exception {
                int status = NtStatus.NT_STATUS_ACCESS_DENIED;
                setStatus(echoResponse, status);
    
                assertEquals(status, echoResponse.getErrorCode());
            }
        }
    
        @Nested
        @DisplayName("Signed Flag Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. android/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
    - 97.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java

        /**
         * Check if directory can cache enumeration results
         * @param state lease state
         * @return true if directory enumeration can be cached
         */
        public static boolean canCacheEnumeration(int state) {
            return Smb2LeaseState.hasReadCaching(state);
        }
    
        /**
         * Check if directory can keep handles open
         * @param state lease state
         * @return true if directory handles can be kept open
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

        @Test
        @Timeout(5)
        public void testSessionLifecycle() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Test initial state - session starts with usage count > 0 due to transport.acquire()
            assertTrue(session.isInUse(), "New session should be in use due to transport acquisition");
    
            // Test additional acquire
            session.acquire();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("Smb2LeaseState Tests")
    class Smb2LeaseStateTest {
    
        @Test
        @DisplayName("Should define correct lease state constants")
        void testLeaseStateConstants() {
            assertEquals(0x00, Smb2LeaseState.SMB2_LEASE_NONE);
            assertEquals(0x01, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        @Test
        @DisplayName("Test response state transitions")
        void testResponseStateTransitions() {
            // Test initial state
            assertTrue(response.hasMoreElements());
    
            // Test state after nextElement call
            response.nextElement();
            // Response behavior may change after nextElement
    
            // Test state after error (using errorCode, not status)
            response.setTestErrorCode(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top