Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,626 for pink (0.45 sec)

  1. guava-tests/test/com/google/common/io/ByteSourceTest.java

        TestByteSink sink = new TestByteSink();
    
        assertFalse(sink.wasStreamOpened() || sink.wasStreamClosed());
    
        assertEquals(bytes.length, source.copyTo(sink));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    
        assertArrayEquals(bytes, sink.getBytes());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RangeMap.java

       * value that are {@linkplain Range#isConnected connected} to this range.
       *
       * <p>The behavior of {@link #get(Comparable) get(k)} after calling this method is identical to
       * the behavior described in {@link #put(Range, Object) put(range, value)}, however the ranges
       * returned from {@link #asMapOfRanges} will be different if there were existing entries which
       * connect to the given range and value.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Funnel.java

      /**
       * Sends a stream of data from the {@code from} object into the sink {@code into}. There is no
       * requirement that this data be complete enough to fully reconstitute the object later.
       *
       * @since 12.0 (in Guava 11.0, {@code PrimitiveSink} was named {@code Sink})
       */
      void funnel(@ParametricNullness T from, PrimitiveSink into);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/package-info.java

    /**
     * Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
     * and files.
     *
     * <p>At the core of this package are the Source/Sink types: {@link ByteSource ByteSource}, {@link
     * CharSource CharSource}, {@link ByteSink ByteSink} and {@link CharSink CharSink}. They are
     * factories for I/O streams that provide many convenience methods that handle both opening and
     * closing streams for you.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
       * HashMultimap#create()}, {@link LinkedHashMultimap#create()}, {@link
       * LinkedListMultimap#create()}, {@link TreeMultimap#create()}, and {@link
       * TreeMultimap#create(Comparator, Comparator)} won't suffice.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractByteHasher.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    /**
     * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code
     * ByteBuffer} and streams all bytes to a sink to compute the hash.
     *
     * @author Colin Decker
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractByteHasher extends AbstractHasher {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        for (shift in (lengthByteCount - 1) * 8 downTo 0 step 8) {
          sink.writeByte((v shr shift).toInt())
        }
      }
    
      fun writeBitString(bitString: BitString) {
        val sink = sink()
        sink.writeByte(bitString.unusedBitsCount)
        sink.write(bitString.byteString)
      }
    
      fun writeOctetString(byteString: ByteString) {
        sink().write(byteString)
      }
    
      fun writeUtf8(value: String) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

                  override fun contentLength(): Long = postBytes.size.toLong()
    
                  override fun writeTo(sink: BufferedSink) {
                    sink.write(postBytes) // push bytes into the stream's buffer
                    sink.flush() // Http2Connection.writeData subject to write window
                    sink.close() // Http2Connection.writeData empty frame
                  }
                },
            ),
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/DoubleUtils.java

      }
    
      // The mask for the significand, according to the {@link
      // Double#doubleToRawLongBits(double)} spec.
      static final long SIGNIFICAND_MASK = 0x000fffffffffffffL;
    
      // The mask for the exponent, according to the {@link
      // Double#doubleToRawLongBits(double)} spec.
      static final long EXPONENT_MASK = 0x7ff0000000000000L;
    
      // The mask for the sign, according to the {@link
      // Double#doubleToRawLongBits(double)} spec.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:37:52 GMT 2021
    - 5.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

            override fun contentType(): MediaType? {
              return null
            }
    
            override fun writeTo(sink: BufferedSink) {
              sink.writeUtf8("abc")
              sink.flush()
              makeFailingCall()
              sink.writeUtf8("def")
              sink.flush()
            }
          }
        val call =
          client.newCall(
            Request(
              url = server.url("/"),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
Back to top