Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 3,054 for throws (0.04 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        }
    
        @Override public MediaType contentType() {
          return MEDIA_TYPE_MARKDOWN;
        }
    
        @Override public void writeTo(BufferedSink sink) throws IOException {
          sink.writeAll(pipe.source());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostStreamingWithPipe().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            }
    
            @Override
            protected int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
                return len;
            }
    
            @Override
            protected int readDataWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
                return len;
            }
        }
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

    @Experimental
    public interface ArtifactResolver extends Service {
    
        /**
         * @param request {@link ArtifactResolverRequest}
         * @return {@link ArtifactResolverResult}
         * @throws ArtifactResolverException in case of an error
         * @throws IllegalArgumentException in case of parameter {@code buildingRequest} is {@code null} or
         *             parameter {@code mavenArtifact} is {@code null} or invalid
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

            runner.ensureYellow();
        }
    
        @Override
        protected void tearDown() throws Exception {
            runner.close();
            runner.clean();
        }
    
        public void test_buildWithDefault() throws Exception {
            final String id = "BuildTest";
            final Suggester suggester = Suggester.builder().build(runner.client(), id);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Suppliers.java

       * exception.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
       * delegating calls until it returns valid data.
       *
       * @param duration the length of time after a value is created that it should stop being returned
       *     by subsequent {@code get()} calls
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/FessActionDefTest.java

    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            return "updateCheckManager";
        }
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            updateCheckManager = new DefaultUpdateCheckManager(new ConsoleLogger(Logger.LEVEL_DEBUG, "test"));
        }
    
        @Test
        void testArtifact() throws Exception {
            ArtifactRepository remoteRepository = remoteRepository();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        }
    
        @Test
        @DisplayName("Should create request with correct parameters")
        void testConstructorSetsCorrectParameters() throws Exception {
            // Given & When
            int securityMode = 0x03;
            int capabilities = 0x0F;
            long previousSessionId = 0xFEDCBA9876543210L;
            byte[] token = { 0x0A, 0x0B, 0x0C };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/config/SecurityConfigurationTest.java

     */
    @RunWith(JUnit4.class)
    public class SecurityConfigurationTest {
    
        /**
         * Test that default security settings meet minimum security requirements
         */
        @Test
        public void testSecureDefaults() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify minimum SMB version is at least SMB 2.0.2 (SMB1 disabled)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

        }
    
        @ParameterizedTest
        @EnumSource(SubjectVariant.class)
        @DisplayName("getSubject: caches results and refresh resets cache")
        void testGetSubjectLoginFailuresCacheAndRefresh(SubjectVariant variant) throws Exception {
            JAASAuthenticator auth = buildAuthenticator(variant);
    
            // First call attempts a JAAS login; behavior depends on JAAS configuration
            Subject first = auth.getSubject();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top