Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for returned (0.05 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new event source and immediately returns it. Creating an event source initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must cancel the returned event source when it is no longer in use.
         */
        fun newEventSource(
          request: Request,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

            return connection.socket()
          }
        }
    
        return null
      }
    
      private fun timeoutExit(cause: IOException?): IOException? {
        if (timeoutEarlyExit) return cause
        if (!timeout.exit()) return cause
    
        val e = InterruptedIOException("timeout")
        if (cause != null) e.initCause(cause)
        return e
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TopKSelector.java

        }
      }
    
      /**
       * Returns the top {@code k} elements offered to this {@code TopKSelector}, or all elements if
       * fewer than {@code k} have been offered, in the order specified by the factory used to create
       * this {@code TopKSelector}.
       *
       * <p>The returned list is an unmodifiable copy and will not be affected by further changes to
       * this {@code TopKSelector}. This method returns in O(k log k) time.
       */
    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. android/guava/src/com/google/common/reflect/TypeResolver.java

          return var.toString();
        }
    
        /** Wraps {@code t} in a {@code TypeVariableKey} if it's a type variable. */
        static @Nullable TypeVariableKey forLookup(Type t) {
          if (t instanceof TypeVariable) {
            return new TypeVariableKey((TypeVariable<?>) t);
          } else {
            return null;
          }
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeResolver.java

          return var.toString();
        }
    
        /** Wraps {@code t} in a {@code TypeVariableKey} if it's a type variable. */
        static @Nullable TypeVariableKey forLookup(Type t) {
          if (t instanceof TypeVariable) {
            return new TypeVariableKey((TypeVariable<?>) t);
          } else {
            return null;
          }
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilter.java

       *     been added to the filter. Note that {@code put(t)} always returns the <i>opposite</i>
       *     result to what {@code mightContain(t)} would have returned at the time it is called.
       * @since 12.0 (present in 11.0 with {@code void} return type})
       */
      @CanIgnoreReturnValue
      public boolean put(@ParametricNullness T object) {
        return strategy.put(object, funnel, numHashFunctions, bits);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/Types.java

        return newTypeVariableImpl(
            declaration, name, (bounds.length == 0) ? new Type[] {Object.class} : bounds);
      }
    
      /** Returns a new {@link WildcardType} with {@code upperBound}. */
      @VisibleForTesting
      static WildcardType subtypeOf(Type upperBound) {
        return new WildcardTypeImpl(new Type[0], new Type[] {upperBound});
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

        return newTypeVariableImpl(
            declaration, name, (bounds.length == 0) ? new Type[] {Object.class} : bounds);
      }
    
      /** Returns a new {@link WildcardType} with {@code upperBound}. */
      @VisibleForTesting
      static WildcardType subtypeOf(Type upperBound) {
        return new WildcardTypeImpl(new Type[0], new Type[] {upperBound});
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        assertLockHeld()
        if (executeCallCount > runCallCount) return // A thread is still starting.
    
        executeCallCount++
        backend.execute(this@TaskRunner, runnable)
      }
    
      fun newQueue(): TaskQueue {
        val name = this.withLock { nextQueueName++ }
        return TaskQueue(this, "Q$name")
      }
    
      /**
       * Returns a snapshot of queues that currently have tasks scheduled. The task runner does not
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. README.md

    ```java
    import org.codelibs.core.convert.*;
    
    // Safe type conversions with null handling
    Integer value = IntegerConversionUtil.toInteger("123");        // Returns 123
    Integer nullValue = IntegerConversionUtil.toInteger(null);     // Returns null
    Boolean flag = BooleanConversionUtil.toBoolean("true");        // Returns true
    Date date = DateConversionUtil.toDate("2023-12-25", "yyyy-MM-dd");
    
    // Primitive conversions with default values
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top