Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 2,714 for build1 (0.06 seconds)

  1. android/guava-tests/test/com/google/common/collect/InternersTest.java

      public void testConcurrencyLevel_zero() {
        Interners.InternerBuilder builder = Interners.newBuilder();
        assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(0));
      }
    
      public void testConcurrencyLevel_negative() {
        Interners.InternerBuilder builder = Interners.newBuilder();
        assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(-42));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  2. android-test/src/androidDeviceTest/java/okhttp/android/test/StrictModeTest.kt

    @SdkSuppress(minSdkVersion = 28)
    class StrictModeTest {
      private val violations = mutableListOf<Violation>()
    
      @AfterEach
      fun cleanup() {
        StrictMode.setThreadPolicy(
          ThreadPolicy
            .Builder()
            .permitAll()
            .build(),
        )
      }
    
      @Test
      fun testInit() {
        Platform.resetForTests()
    
        applyStrictMode()
    
        // Not currently safe
        // See https://github.com/square/okhttp/pull/8248
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 26 07:38:51 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

        MutableGraph<Integer> g2 = builder.build();
    
        // for g1, add 1->2 first, then 3->1
        g1.putEdge(N1, N2);
        g1.putEdge(N3, N1);
    
        // for g2, add 3->1 first, then 1->2
        g2.putEdge(N3, N1);
        g2.putEdge(N1, N2);
    
        assertThat(g1).isEqualTo(g2);
      }
    
      @Test
      public void equivalent_edgeDirectionsDiffer() {
        graph.putEdge(N1, N2);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

       */
      public <K1 extends K, V1 extends V> LoadingCache<K1, V1> build(
          CacheLoader<? super K1, V1> loader) {
        checkWeightWithWeigher();
        return new LocalCache.LocalLoadingCache<>(this, loader);
      }
    
      /**
       * Builds a cache which does not automatically load values when keys are requested.
       *
       * <p>Consider {@link #build(CacheLoader)} instead, if it is feasible to implement a {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
  5. okhttp/api/jvm/okhttp.api

    	public static synthetic fun delete$default (Lokhttp3/Request$Builder;Lokhttp3/RequestBody;ILjava/lang/Object;)Lokhttp3/Request$Builder;
    	public fun get ()Lokhttp3/Request$Builder;
    	public final fun gzip ()Lokhttp3/Request$Builder;
    	public fun head ()Lokhttp3/Request$Builder;
    	public fun header (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Request$Builder;
    	public fun headers (Lokhttp3/Headers;)Lokhttp3/Request$Builder;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /** Returns a new builder for an immutable range set. */
      public static <C extends Comparable<?>> Builder<C> builder() {
        return new Builder<>();
      }
    
      /**
       * A builder for immutable range sets.
       *
       * @since 14.0
       */
      public static class Builder<C extends Comparable<?>> {
        private final List<Range<C>> ranges;
    
        public Builder() {
          this.ranges = new ArrayList<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java

        public ClassDocExtensionsBuilder(DslDocModel model, GenerationListener listener) {
            this.model = model;
            this.listener = listener;
        }
    
        /**
         * Builds the extension meta-data for the given class.
         */
        public void build(ClassDoc classDoc) {
            Map<String, ClassExtensionDoc> plugins = new HashMap<String, ClassExtensionDoc>();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Click Count (0)
  8. .teamcity/pom.xml

            <jackson.version>2.21.2</jackson.version>
            <junit.version>6.0.3</junit.version>
            <dslContextParameter.branch>master</dslContextParameter.branch>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
            <!-- https://kotlinlang.org/docs/maven.html#enable-incremental-compilation -->
            <kotlin.compiler.incremental>true</kotlin.compiler.incremental>
        </properties>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 22:03:46 GMT 2026
    - 7.4K bytes
    - Click Count (2)
  9. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

      private val cacheFs = FakeFileSystem()
      private val eventRecorder = EventRecorder()
      private val bootstrapClient =
        OkHttpClient
          .Builder()
          .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
          .eventListener(eventRecorder.eventListener)
          .build()
    
      @BeforeEach
      fun setUp() {
        server.protocols = bootstrapClient.protocols
        dns = buildLocalhost(bootstrapClient, false)
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

        url: String,
        bodyHex: ByteString,
        fn: Response.Builder.() -> Unit = {},
      ): Response =
        Response
          .Builder()
          .body(bodyHex.toResponseBody("text/plain".toMediaType()))
          .code(200)
          .message("OK")
          .request(Request.Builder().url(url).build())
          .protocol(Protocol.HTTP_2)
          .apply(fn)
          .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Aug 22 08:12:58 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top