Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newType (0.05 sec)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

        MediaType newType = MediaType.createFontType("yams");
        assertEquals("font", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testCreateImageType() {
        MediaType newType = MediaType.createImageType("yams");
        assertEquals("image", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testCreateTextType() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

       * unchecked cast at some later point:
       *
       * <pre>
       * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
       *     (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());}
       * </pre>
       */
      @GwtIncompatible // Class.isInstance
      public final <T> FluentIterable<T> filter(Class<T> type) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    			[]byte(""))),
    	)
    	return newReq, nil
    }
    
    // Malform data given a request signed using streaming signature V4.
    func malformDataSigV4(req *http.Request, newByte byte) (*http.Request, error) {
    	bufReader := bufio.NewReader(req.Body)
    	hexChunkSize, chunkSignature, err := readChunkLine(bufReader)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top