Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 582 for Calls (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

        }
    
        /**
         * Test consistency across multiple calls
         */
        @Test
        @DisplayName("Test consistency across multiple calls")
        public void testConsistencyAcrossMultipleCalls() {
            // Given
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
            byte[] buffer = new byte[100];
    
            // When & Then - multiple calls should return the same result
            for (int i = 0; i < 10; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. docs/contribute/concurrency.md

    #### Blocking APIs
    
    Blocking APIs are convenient because you get top-to-bottom procedural code without indirection. Network calls work like regular method calls: ask for data and it is returned. If the request fails, you get a stacktrace right where the call was made.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

    import org.junit.Ignore;
    
    /**
     * Common superclass for {@link MultisetSetCountUnconditionallyTester} and {@link
     * MultisetSetCountConditionallyTester}. It is used by those testers to test calls to the
     * unconditional {@code setCount()} method and calls to the conditional {@code setCount()} method
     * when the expected present count is correct.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

        }
    
        @Test
        @DisplayName("getInput and getOutput throw after close")
        void testGetInputOutputAndClosed() throws CIFSException {
            // After closing the handle, further calls throw
            target.close();
            CIFSException e1 = assertThrows(SmbException.class, target::getInput);
            assertTrue(e1.getMessage().contains("Already closed"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

       * @param declaredType1 any checked exception type declared by the calling method
       * @param declaredType2 any other checked exception type declared by the calling method
       * @deprecated Use a combination of two calls to {@link #throwIfInstanceOf} and one call to {@link
       *     #throwIfUnchecked}, which togther provide the same behavior except that they reject {@code
       *     null}.
       */
      @Deprecated
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

              Reflection.newProxy(Map.class, new CheckSetUpInvocationHandler(map, setUpRan));
          return proxy;
        }
      }
    
      /**
       * Intercepts calls to a {@code Map} to check that {@code setUpRan} is true when they happen. Then
       * forwards the calls to the underlying {@code Map}.
       */
      private static class CheckSetUpInvocationHandler implements InvocationHandler, Serializable {
        private final Map<String, String> map;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

        assertTrue(Thread.holdsLock(mutex));
        return super.isEmpty();
      }
    
      /*
       * We don't assert that the lock is held during calls to iterator(), stream(), and spliterator:
       * `Synchronized` doesn't guarantee that it will hold the mutex for those calls because callers
       * are responsible for taking the mutex themselves:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            chain.updateThrowsException = false;
    
            chain.update(null);
    
            assertEquals(1, chain.updateCalls.size());
            assertNull(chain.updateCalls.get(0));
        }
    
        // Test update with multiple calls
        public void test_update_multipleCalls() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
            User user1 = createTestUser("user1", "User One");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

     */
    
    package jcifs.smb1.dcerpc;
    
    /**
     * A Unicode string representation for DCE/RPC operations in JCIFS.
     * This class wraps strings for use in RPC calls with optional zero termination.
     */
    public class UnicodeString extends rpc.unicode_string {
    
        boolean zterm;
    
        /**
         * Constructs a UnicodeString with zero termination option.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        void getConfig_returnsConfig() {
            SmbTreeConnection c = newConn();
            assertSame(config, c.getConfig());
        }
    
        @Test
        @DisplayName("acquire calls tree.acquire on first usage, release calls tree.release at zero")
        void acquire_release_lifecycle() {
            SmbTreeConnection c = newConn();
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top