Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1661 - 1670 of 2,976 for throwIt (0.16 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/SimpleProvider.kt

     */
    package okhttp3
    
    import kotlin.jvm.Throws
    import org.junit.jupiter.api.extension.ExtensionContext
    import org.junit.jupiter.params.provider.Arguments
    import org.junit.jupiter.params.provider.ArgumentsProvider
    
    abstract class SimpleProvider : ArgumentsProvider {
      override fun provideArguments(context: ExtensionContext) = arguments().map { Arguments.of(it) }.stream()
    
      @Throws(Exception::class)
      abstract fun arguments(): List<Any>
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileFilter.java

         *
         * @param file the SMB file to test for inclusion
         * @return true if the file should be included, false otherwise
         * @throws SmbException if an error occurs while accessing the file
         */
        boolean accept(SmbFile file) throws SmbException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ResourceNameFilter.java

         * @param parent the parent SMB resource
         * @param name the resource name to test
         * @return whether the given filename should be included
         * @throws CIFSException if an error occurs while accessing the resource
         */
        boolean accept(SmbResource parent, String name) throws CIFSException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

            assertEquals(4, SMBUtil.readInt2(buf, offset));
            // Reserved (2 bytes, LE) == 0
            assertEquals(0, SMBUtil.readInt2(buf, offset + 2));
        }
    
        @Test
        @DisplayName("writeBytesWireFormat throws when buffer too small")
        void writeBytesWireFormat_throwsIfInsufficientSpace() {
            // Arrange
            Smb2LogoffRequest req = newRequest();
            byte[] tiny = new byte[3]; // less than 4 bytes available
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    public class HandlerTest extends PlainTestCase {
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            new StandardCrawlerContainer();
        }
    
        public void test_protocol() throws Exception {
            URL url = new URL("storage:/home/foo");
            assertEquals("storage", url.getProtocol());
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/filter/EncodingFilterTest.java

    import java.io.IOException;
    import java.util.Map;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class EncodingFilterTest extends UnitFessTestCase {
        public void test_normal() throws IOException {
            final EncodingFilter filter = new EncodingFilter();
            Map<String, String[]> paramMap;
    
            paramMap = filter.parseQueryString("a=1", "UTF-8");
            assertEquals(1, paramMap.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

        private FessConfig originalFessConfig;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
            apiFailureHook = new FessApiFailureHook();
            originalFessConfig = ComponentUtil.getFessConfig();
        }
    
        @Override
        public void tearDown() throws Exception {
            if (originalFessConfig != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

        private RequestManager requestManager;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            provider = new FessUserTimeZoneProcessProvider();
            requestManager = createMockRequestManager();
        }
    
        @Override
        public void tearDown() throws Exception {
            provider = null;
            requestManager = null;
            super.tearDown();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

         */
        public boolean isValidResponse() {
            return isSuccess() && responseSequenceNumber == sequenceNumber;
        }
    
        @Override
        protected void encodeWitnessParameters(NdrBuffer buf) throws NdrException {
            // Encode input parameters for WitnessHeartbeat
    
            // Context handle (20 bytes)
            if (contextHandle != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

        public void getArtifact(Artifact artifact, ArtifactRepository repository)
                throws TransferFailedException, ResourceDoesNotExistException {
            getArtifact(artifact, repository, null, false);
        }
    
        @Override
        public void getArtifact(Artifact artifact, List<ArtifactRepository> remoteRepositories)
                throws TransferFailedException, ResourceDoesNotExistException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top