Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1291 - 1300 of 3,054 for throws (0.03 sec)

  1. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        /**
         * Returns the value of a specific attribute.
         *
         * @param name the name of the attribute to retrieve
         * @return the attribute value, or {@code null} if the attribute doesn't exist
         * @throws NullPointerException if name is null
         */
        @Nullable
        String attribute(@Nonnull String name);
    
        /**
         * Returns an immutable list of all child nodes.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jul 19 11:09:56 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt

          // nowrap (omits zlib header):
          true,
        )
    
      private val deflaterSink = DeflaterSink(deflatedBytes, deflater)
    
      /** Deflates [buffer] in place as described in RFC 7692 section 7.2.1. */
      @Throws(IOException::class)
      fun deflate(buffer: Buffer) {
        require(deflatedBytes.size == 0L)
    
        if (noContextTakeover) {
          deflater.reset()
        }
    
        deflaterSink.write(buffer, buffer.size)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/guide/PostExample.java

    public class PostExample {
      public static final MediaType JSON = MediaType.get("application/json; charset=utf-8");
    
      final OkHttpClient client = new OkHttpClient();
    
      String post(String url, String json) throws IOException {
        RequestBody body = RequestBody.create(json, JSON);
        Request request = new Request.Builder()
            .url(url)
            .post(body)
            .build();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Queues.java

       * @return the number of elements transferred
       * @throws InterruptedException if interrupted while waiting
       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible // BlockingQueue
      public static <E> int drain(
          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IterablesTest.java

      public void testSkip_structurallyModifiedSkipSome() throws Exception {
        Collection<String> set = new LinkedHashSet<>(asList("a", "b", "c"));
        Iterable<String> tail = skip(set, 1);
        set.remove("b");
        set.addAll(newArrayList("A", "B", "C"));
        assertThat(tail).containsExactly("c", "A", "B", "C").inOrder();
      }
    
      public void testSkip_structurallyModifiedSkipSomeList() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

                }
            }
        }
    
        /**
         * Closes the underlying CrawlerClient and releases any resources associated with it.
         *
         * @throws Exception if an error occurs during the close operation
         */
        @Override
        public void close() throws Exception {
            client.close();
        }
    
        /**
         * Returns the underlying CrawlerClient.
         * @return The CrawlerClient instance.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

         */
        public byte[] getContextHandle() {
            return contextHandle != null ? contextHandle.clone() : null;
        }
    
        @Override
        protected void encodeWitnessParameters(NdrBuffer buf) throws NdrException {
            // Encode input parameters for WitnessUnregister
    
            // Context handle (20 bytes) - this is both input and output (modified)
            if (contextHandle != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        void setAvailableVersions(List<ArtifactVersion> versions);
    
        boolean isOptional();
    
        void setOptional(boolean optional);
    
        ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException;
    
        boolean isSelectedVersionKnown() throws OverConstrainedVersionException;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

        private Validator validator;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
            validator = factory.getValidator();
        }
    
        // Test annotation attributes and defaults
        public void test_annotationAttributes() throws Exception {
            Field field = TestBean.class.getDeclaredField("cronExpression");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            assertTrue((type1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED) != 0);
        }
    
        @Test
        @DisplayName("Should parse Type 1 message from byte array")
        void testType1MessageFromBytes() throws IOException {
            // Given - Create a Type 1 message and convert to bytes
            Type1Message original = new Type1Message(mockContext);
            byte[] messageBytes = original.toByteArray();
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top