Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 3,963 for void (0.12 sec)

  1. guava-tests/test/com/google/common/io/CharSourceTest.java

      private static final ImmutableList<String> SPLIT_LINES =
          ImmutableList.of("foo", "bar", "baz", "something");
    
      private TestCharSource source;
    
      @Override
      public void setUp() {
        source = new TestCharSource(STRING);
      }
    
      public void testOpenBufferedStream() throws IOException {
        BufferedReader reader = source.openBufferedStream();
        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

                return false;
            }
        }
    
        @Test
        public void testUnicodeConfiguration() throws Exception {
            // Test Unicode configuration is enabled by default
            assertTrue(cfg.isUseUnicode(), "Unicode should be enabled by default");
        }
    
        @Test
        public void testAsciiConfiguration() throws Exception {
            Configuration asciiCfg = new OffUnicodeConfig();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

            void nullBuffer_throwsNPE() {
                // Arrange
                Smb2LogoffResponse resp = newResponse();
    
                // Act & Assert
                assertThrows(NullPointerException.class, () -> resp.readBytesWireFormat(null, 0));
            }
    
            @Test
            @DisplayName("Insufficient buffer causes ArrayIndexOutOfBoundsException")
            void shortBuffer_throwsAIOOBE() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

    public class CorsHandlerFactoryTest extends UnitFessTestCase {
    
        private CorsHandlerFactory corsHandlerFactory;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            corsHandlerFactory = new CorsHandlerFactory();
        }
    
        public void test_add_and_get_specificOrigin() {
            // Setup
            String origin = "https://example.com";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
        assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS));
      }
    
      public void testSetValue() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        private FileRenameInformation2 fileRenameInfo;
    
        @BeforeEach
        void setUp() {
            fileRenameInfo = new FileRenameInformation2();
        }
    
        @Test
        @DisplayName("Test default constructor")
        void testDefaultConstructor() {
            assertNotNull(fileRenameInfo);
        }
    
        @Test
        @DisplayName("Test parameterized constructor")
        void testParameterizedConstructor() {
            String fileName = "test.txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * @since 15.0
       */
      @Override
      public final void awaitRunning() {
        delegate.awaitRunning();
      }
    
      /**
       * @since 28.0
       */
      @Override
      public final void awaitRunning(Duration timeout) throws TimeoutException {
        Service.super.awaitRunning(timeout);
      }
    
      /**
       * @since 15.0
       */
      @Override
      public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java

        @Mock
        private DcerpcSecurityProvider dcerpcSecurityProvider;
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks before each test
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testWrapMethodIsCalled() throws DcerpcException {
            // Test that the wrap method can be called without throwing an exception
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

            return sendCredits.get() > 0 && state == RdmaConnectionState.ESTABLISHED;
        }
        
        public void consumeSendCredit() {
            sendCredits.decrementAndGet();
        }
        
        public void grantSendCredit() {
            sendCredits.incrementAndGet();
        }
        
        public void grantReceiveCredit() {
            receiveCredits.incrementAndGet();
        }
        
        public int getAvailableSendCredits() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java

      }
    
      public void testToString() {
        assertEquals("foo=1", entry("foo", 1).toString());
      }
    
      public void testToStringNull() {
        assertEquals("null=1", entry(NK, 1).toString());
        assertEquals("foo=null", entry("foo", NV).toString());
        assertEquals("null=null", entry(NK, NV).toString());
      }
    
      public void testEquals() {
        Entry<String, Integer> foo1 = entry("foo", 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top