Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for differ (0.05 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

       * Wraps around {@code TypeVariable<?>} to ensure that any two type variables are equal as long as
       * they are declared by the same {@link java.lang.reflect.GenericDeclaration} and have the same
       * name, even if their bounds differ.
       *
       * <p>While resolving a type variable from a {@code var -> type} map, we don't care whether the
       * type variable's bound has been partially resolved. As long as the type variable "identity"
       * matches.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/TypeResolver.java

       * Wraps around {@code TypeVariable<?>} to ensure that any two type variables are equal as long as
       * they are declared by the same {@link java.lang.reflect.GenericDeclaration} and have the same
       * name, even if their bounds differ.
       *
       * <p>While resolving a type variable from a {@code var -> type} map, we don't care whether the
       * type variable's bound has been partially resolved. As long as the type variable "identity"
       * matches.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TopKSelector.java

        T pivotValue = uncheckedCastNullableTToT(buffer[pivotIndex]);
        buffer[pivotIndex] = buffer[right];
    
        int pivotNewIndex = left;
        for (int i = left; i < right; i++) {
          if (comparator.compare(uncheckedCastNullableTToT(buffer[i]), pivotValue) < 0) {
            swap(pivotNewIndex, i);
            pivotNewIndex++;
          }
        }
        buffer[right] = buffer[pivotNewIndex];
        buffer[pivotNewIndex] = pivotValue;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

              .build(),
          )
        val response = call.execute()
        interruptLater(500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }
        responseBody.close()
      }
    
      @Test
      fun forciblyStopDispatcher() {
        client =
          client
            .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.RequestBody.Companion.asRequestBody
    import okio.Buffer
    import okio.BufferedSink
    import okio.ForwardingSink
    import okio.buffer
    
    class UploadProgress {
      companion object {
        private const val IMGUR_CLIENT_ID = "9199fdef135c122"
        private val MEDIA_TYPE_PNG = "image/png".toMediaType()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sse.internal
    
    import java.io.IOException
    import okhttp3.internal.toLongOrDefault
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString.Companion.encodeUtf8
    import okio.Options
    
    internal class ServerSentEventReader(
      private val source: BufferedSource,
      private val callback: Callback,
    ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

          BufferedSink bufferedSink = Okio.buffer(sink(sink));
          delegate.writeTo(bufferedSink);
          bufferedSink.flush();
        }
    
        public Sink sink(Sink sink) {
          return new ForwardingSink(sink) {
            private long totalBytesWritten = 0L;
            private boolean completed = false;
    
            @Override
            public void write(Buffer source, long byteCount) throws IOException {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  8. docs/recipes.md

                val forwardingSink = object : ForwardingSink(sink) {
                  private var totalBytesWritten: Long = 0
                  private var completed = false
    
                  override fun write(source: Buffer, byteCount: Long) {
                    super.write(source, byteCount)
                    totalBytesWritten += byteCount
                    progressListener.update(totalBytesWritten, contentLength(), completed)
                  }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  9. gradle/libs.versions.toml

    androidx-startup-runtime = { module = "androidx.startup:startup-runtime", version.ref = "startupRuntime" }
    androidx-test-runner = "androidx.test:runner:1.7.0"
    animalsniffer-annotations = "org.codehaus.mojo:animal-sniffer-annotations:1.24"
    aqute-resolve = { module = "biz.aQute.bnd:biz.aQute.resolve", version.ref = "biz-aQute-bnd" }
    assertk = "com.willowtreeapps.assertk:assertk:0.28.1"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 31 17:41:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

       * BloomFilter} with false positive probability 3%.
       *
       * <p>Note that if the {@code Collector} receives significantly more elements than specified, the
       * resulting {@code BloomFilter} will suffer a sharp deterioration of its false positive
       * probability.
       *
       * <p>The constructed {@code BloomFilter} will be serializable if the provided {@code Funnel<T>}
       * is.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top