Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 2,806 for When (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      }
    
      override fun reportedContentLength(response: Response): Long =
        when {
          !response.promisesBody() -> 0L
          response.isChunked -> -1L
          else -> response.headersContentLength()
        }
    
      override fun openResponseBodySource(response: Response): Source =
        when {
          !response.promisesBody() -> newFixedLengthSource(response.request.url, 0)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  2. android/guava-tests/test/com/google/common/io/CloseablesTest.java

        // 'swallowException' when the mock does not throw an exception.
        setupCloseable(false);
        doClose(mockCloseable, false, false);
    
        setupCloseable(false);
        doClose(mockCloseable, true, false);
      }
    
      public void testClose_closeableWithEatenException() throws IOException {
        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

      }
    
      enum RunningState {
        NOT_RUN,
        CANCELLED,
        STARTED,
      }
    
      /**
       * This class helps avoid a StackOverflowError when large numbers of tasks are submitted with
       * {@link MoreExecutors#directExecutor}. Normally, when the first future completes, all the other
       * tasks would be called recursively. Here, we detect that the delegate executor is executing
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. cmd/tier-handlers.go

    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    var (
    	// error returned when remote tier already exists
    	errTierAlreadyExists = AdminError{
    		Code:       "XMinioAdminTierAlreadyExists",
    		Message:    "Specified remote tier already exists",
    		StatusCode: http.StatusConflict,
    	}
    	// error returned when remote tier is not found
    	errTierNotFound = AdminError{
    		Code:       "XMinioAdminTierNotFound",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

     * at runtime. When a MIME type is not found in the mapping, a default value
     * is returned.
     */
    public class FileTypeHelper {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(FileTypeHelper.class);
    
        /** Default file type value returned when MIME type is not found in mappings */
        protected String defaultValue = "others";
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

        }
    
        /**
         * Gets the delay time in milliseconds when there are no URLs in the queue.
         *
         * @return the delay time in milliseconds when no URLs are available
         */
        public long getDelayMillisAtNoUrlInQueue() {
            return delayMillisAtNoUrlInQueue;
        }
    
        /**
         * Sets the delay time in milliseconds when there are no URLs in the queue.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 07:09:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionGeneratorFacade.kt

     * and it should be appropriately marked with `@file:Incubating`.
     *
     * When the target method of an extension functions is de-incubated, removing at a later point is a breaking change.
     * The corresponding extension function gets automatically de-incubated during source generation.
     * But the same applies to the implicit file class, and it has to be de-incubated when any
     * extension function it contains is de-incubated.
     */
    private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Mar 12 15:56:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/FileEntryTest.java

            when(mockEntry.getName()).thenReturn("file.txt");
            when(mockEntry.getType()).thenReturn(1);
            when(mockEntry.getAttributes()).thenReturn(0x20);
            when(mockEntry.createTime()).thenReturn(100L);
            when(mockEntry.lastModified()).thenReturn(200L);
            when(mockEntry.lastAccess()).thenReturn(300L);
            when(mockEntry.length()).thenReturn(12345L);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Provides a unique identifier for dependencies when multiple implementations
     * of the same type are available.
     * <p>
     * This annotation can be used in conjunction with {@link Inject} to specify
     * which implementation should be injected when multiple candidates exist.
     * The value represents a unique identifier for the dependency.
     * <p>
     * Example usage:
     * <pre>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

    internal sealed interface MappedRange {
      val rangeStart: Int
    
      data class Constant(
        override val rangeStart: Int,
        val type: Int,
      ) : MappedRange {
        val b1: Int
          get() =
            when (type) {
              TYPE_IGNORED -> 119
              TYPE_VALID -> 120
              TYPE_DISALLOWED -> 121
              else -> error("unexpected type: $type")
            }
      }
    
      data class Inline1(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top