Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 3,317 for object (0.05 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

    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()
      }
    
      private val client = OkHttpClient()
    
      @Throws(Exception::class)
      fun run() {
        val progressListener =
          object : ProgressListener {
            private var firstUpdate = true
    
            override fun update(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

      @Override
      public String toString() {
        return "Hashing.murmur3_128(" + seed + ")";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Murmur3_128HashFunction) {
          Murmur3_128HashFunction other = (Murmur3_128HashFunction) object;
          return seed == other.seed;
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return getClass().hashCode() ^ seed;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/schema-extra-example.md

    &amp; `Body()`, `File()`, &amp; `Form()`, `example` ⚖️ `examples` 📊 🚮 <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#mediaTypeObject" class="external-link" target="_blank">🗄 🔑, `Request Body Object`, 🏑 `content`, 🔛 `Media Type Object` (🔧)</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ErrorCode.kt

      REFUSED_STREAM(7),
    
      CANCEL(8),
    
      COMPRESSION_ERROR(9),
    
      CONNECT_ERROR(0xa),
    
      ENHANCE_YOUR_CALM(0xb),
    
      INADEQUATE_SECURITY(0xc),
    
      HTTP_1_1_REQUIRED(0xd),
      ;
    
      companion object {
        fun fromHttp2(code: Int): ErrorCode? = values().find { it.httpCode == code }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Uninterruptibles.java

    import org.jspecify.annotations.Nullable;
    
    /** Emulation of Uninterruptibles in GWT. */
    public final class Uninterruptibles {
    
      private Uninterruptibles() {}
    
      @CanIgnoreReturnValue
      public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
          throws ExecutionException {
        try {
          return future.get();
        } catch (InterruptedException e) {
          // Should never be thrown in GWT but play it safe
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

          this.forceCopy = true;
          return result;
        }
      }
    
      int unsafeCompare(Object a, @Nullable Object b) {
        return unsafeCompare(comparator, a, b);
      }
    
      static int unsafeCompare(Comparator<?> comparator, Object a, @Nullable Object b) {
        // Pretend the comparator can compare anything. If it turns out it can't
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Absent.java

        return Optional.absent();
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return this == obj;
      }
    
      @Override
      public int hashCode() {
        return 0x79a31aac;
      }
    
      @Override
      public String toString() {
        return "Optional.absent()";
      }
    
      private Object readResolve() {
        return INSTANCE;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            DefaultArtifact that = (DefaultArtifact) o;
            return Objects.equals(groupId, that.groupId)
                    && Objects.equals(artifactId, that.artifactId)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        tester.testAllPublicInstanceMethods(ImmutableMap.of());
        tester.testAllPublicInstanceMethods(ImmutableMap.of("one", 1));
        tester.testAllPublicInstanceMethods(ImmutableMap.of("one", 1, "two", 2, "three", 3));
      }
    
      private static <K, V> void assertMapEquals(Map<K, V> map, Object... alternatingKeysAndValues) {
        Map<Object, Object> expected = new LinkedHashMap<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  10. cmd/admin-handlers_test.go

    		owners = append(owners, fmt.Sprintf("node-%d", i))
    	}
    
    	// Simulate DeleteObjects of 10 objects in a single request. i.e same lock
    	// request UID, but 10 different resource names associated with it.
    	var lris []lockRequesterInfo
    	uuid := mustGetUUID()
    	for i := range 10 {
    		resource := fmt.Sprintf("bucket/delete-object-%d", i)
    		lri := lockRequesterInfo{
    			Name:   resource,
    			Writer: true,
    			UID:    uuid,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (1)
Back to top