Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 83 for subtypeOf (0.06 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java

                parent.appendChild(list);
                Element segtitle = document.createElement("segtitle");
                list.appendChild(segtitle);
                segtitle.appendChild(document.createTextNode("Known Subtypes"));
                Element listItem = document.createElement("seglistitem");
                list.appendChild(listItem);
                Element seg = document.createElement("seg");
                listItem.appendChild(seg);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Click Count (0)
  2. internal/s3select/json/args.go

    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type subReaderArgs ReaderArgs
    	parsedArgs := subReaderArgs{}
    	if err := d.DecodeElement(&parsedArgs, &start); err != nil {
    		return err
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/AbstractHasher.java

    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An abstract implementation of {@link Hasher}, which only requires subtypes to implement {@link
     * #putByte}. Subtypes may provide more efficient implementations, however.
     *
     * @author Dimitris Andreou
     */
    abstract class AbstractHasher implements Hasher {
      @Override
      @CanIgnoreReturnValue
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  4. internal/event/config.go

    	return e.EncodeElement(filterRuleWrapper(filter), start)
    }
    
    // UnmarshalXML - decodes XML data.
    func (filter *FilterRule) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type filterRule FilterRule
    	rule := filterRule{}
    	if err := d.DecodeElement(&rule, &start); err != nil {
    		return err
    	}
    
    	if rule.Name != "prefix" && rule.Name != "suffix" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

          assertEquals("image", mediaType.type)
          assertEquals("jpeg", mediaType.subtype)
        }
      }
    
      @Test fun testTurkishDotlessIWithTrTr() {
        withLocale(Locale("tr", "TR")) {
          val mediaType = parse("IMAGE/JPEG")
          assertEquals("image", mediaType.type)
          assertEquals("jpeg", mediaType.subtype)
        }
      }
    
      private fun <T> withLocale(
        locale: Locale,
        block: () -> T,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            assertNull(ex.getCause(), "Default constructor should have null cause");
            assertTrue(ex instanceof CIFSException, "Should be a CIFSException subtype");
    
            // Assert throwing/catching behavior with assertThrows
            SMBProtocolDecodingException thrown = assertThrows(SMBProtocolDecodingException.class, () -> {
                throw new SMBProtocolDecodingException();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       *
       * <p>{@code getInstance(Foo.class)} is equivalent to {@code
       * getInstance(TypeToken.of(Foo.class))}.
       */
      <T extends @NonNull B> @Nullable T getInstance(Class<T> type);
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/reflect/TypeToInstanceMap.java

       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       *
       * <p>{@code getInstance(Foo.class)} is equivalent to {@code
       * getInstance(TypeToken.of(Foo.class))}.
       */
      <T extends @NonNull B> @Nullable T getInstance(Class<T> type);
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

            listener.onClosed(this)
          }
        }
      }
    
      private fun ResponseBody.isEventStream(): Boolean {
        val contentType = contentType() ?: return false
        return contentType.type == "text" && contentType.subtype == "event-stream"
      }
    
      override fun onFailure(
        call: Call,
        e: IOException,
      ) {
        listener.onFailure(this, e, null)
      }
    
      override fun request(): Request = request
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

            assertNull(ex.getCause(), "Cause should be null by default");
            assertNull(ex.getRootCause(), "Root cause should be null by default");
            assertTrue(ex instanceof SmbException, "Should be an SmbException subtype");
        }
    
        /**
         * Ensures the exception is thrown and captured via assertThrows with the right message.
         */
        @Test
        void assertThrowsCapturesExceptionAndMessage() {
            // Act & Assert
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top