Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 7,652 for Require (0.5 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

       *
       * If more than [maxRequests] requests are in flight when this is invoked, those requests will
       * remain in flight.
       */
      @get:Synchronized
      var maxRequests = 64
        set(maxRequests) {
          require(maxRequests >= 1) { "max < 1: $maxRequests" }
          synchronized(this) {
            field = maxRequests
          }
          promoteAndExecute()
        }
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 14:16:22 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java

     *
     * Current implementation extracts these from the wrapper's API jars.
     * This is not correct as it should do this with the built distribution instead.
     *
     * Doing it correctly would require running a Gradle build with the full
     * distribution and extracting the generated api jar from its Gradle user home,
     * slowing down building documentation.
     *
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Mar 19 17:15:23 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. apache-maven/src/main/appended-resources/META-INF/LICENSE.vm

    #*    *##elseif ( $license.name == "CDDL + GPLv2 with classpath exception" )
    #*      *##set ( $spdx = 'CDDL+GPLv2-with-classpath-exception' )
    #*    *##else
    #*      *### unrecognized license will require analysis to know obligations
    #*      *##set ( $spdx = $license )
    #*    *##end
    #*    *###
    #*    *### fix project urls that are wrong in pom
    #*    *##if ( $project.url.startsWith( "http://www.eclipse.org/sisu/" ) )
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

      public val code: Int
        get() {
          val statusParts = status.split(' ', limit = 3)
          require(statusParts.size >= 2) { "Unexpected status: $status" }
          return statusParts[1].toInt()
        }
    
      public val message: String
        get() {
          val statusParts = status.split(' ', limit = 3)
          require(statusParts.size >= 2) { "Unexpected status: $status" }
          return statusParts[2]
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

          body: RequestBody?,
        ): Builder =
          apply {
            require(method.isNotEmpty()) {
              "method.isEmpty() == true"
            }
            if (body == null) {
              require(!HttpMethod.requiresRequestBody(method)) {
                "method $method must have a request body."
              }
            } else {
              require(HttpMethod.permitsRequestBody(method)) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/reflect/TypeParameter.java

     * support even a "normal" `TypeParameter<T>` when `<T>` has a nullable bound. (See the discussion
     * on TypeToken.where.) So, in the interest of failing fast and encouraging the user to switch to a
     * non-null bound if possible, let's require a non-null bound here.
     *
     * TODO(cpovirk): Elaborate on "wouldn't behave as users might expect."
     */
    public abstract class TypeParameter<T> extends TypeCapture<T> {
    
      final TypeVariable<?> typeVariable;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Collection;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Variant of {@link SerializableTester} that does not require the reserialized object's class to be
     * identical to the original.
     *
     * @author Chris Povirk
     */
    /*
     * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/LegacyComparable.java

    /**
     * A class that implements {@code Comparable} without generics, such as those found in libraries
     * that support Java 1.4 and before. Our library needs to do the bare minimum to accommodate such
     * types, though their use may still require an explicit type parameter and/or warning suppression.
     *
     * @author Kevin Bourrillion
     */
    @SuppressWarnings({"ComparableType", "rawtypes"}) // https://github.com/google/guava/issues/989
    @GwtCompatible
    @NullMarked
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      }
    
      @Override
      public Set<Feature<? super Map>> getImpliedFeatures() {
        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        MapFeature[] value() default {};
    
        MapFeature[] absent() default {};
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt

                        "$linePrefix ${firstVersion}${if(firstVersion == latestVersion) "" else " through $latestVersion"}."
                    } else {
                        line
                    }
                }
            )
            require(lineFound) {
                "File '$docFile' does not contain the expected compatibility line: '$linePrefix'"
            }
        }
    
        protected
        fun fetchVersionsFromMavenMetadata(url: String): List<String> =
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Oct 24 09:10:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top