Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 2,076 for builds (0.15 sec)

  1. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        assertThat(builder.status).isEqualTo("HTTP/1.1 202 That'll do pig")
      }
    
      @Test
      fun setBodyAdjustsHeaders() {
        val builder = MockResponse.Builder().body("ABC")
        assertThat(headersToList(builder)).containsExactly("Content-Length: 3")
        val response = builder.build()
        val body = Buffer()
        response.body!!.writeTo(body)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. clause/where.go

    }
    
    type AndConditions struct {
    	Exprs []Expression
    }
    
    func (and AndConditions) Build(builder Builder) {
    	if len(and.Exprs) > 1 {
    		builder.WriteByte('(')
    		buildExprs(and.Exprs, builder, AndWithSpace)
    		builder.WriteByte(')')
    	} else {
    		buildExprs(and.Exprs, builder, AndWithSpace)
    	}
    }
    
    func Or(exprs ...Expression) Expression {
    	if len(exprs) == 0 {
    		return nil
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

          Security.insertProviderAt(Conscrypt.newProviderBuilder().build(), 1)
    
          val request = Request.Builder().url("https://facebook.com/robots.txt").build()
    
          var socketClass: String? = null
    
          val clientCertificates =
            HandshakeCertificates.Builder()
              .addPlatformTrustedCertificates()
              .addInsecureHost(server.hostName)
              .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        unused = builder.build(); // this is *also* allowed
      }
    
      public void testBuildMutate() {
        ThreadFactory factory1 = builder.setPriority(1).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
    
        builder.setPriority(2); // change the state of the builder
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. clause/on_conflict.go

    					builder.WriteByte(',')
    				}
    				builder.WriteQuoted(column)
    			}
    			builder.WriteString(`) `)
    		}
    
    		if len(onConflict.TargetWhere.Exprs) > 0 {
    			builder.WriteString(" WHERE ")
    			onConflict.TargetWhere.Build(builder)
    			builder.WriteByte(' ')
    		}
    	}
    
    	if onConflict.DoNothing {
    		builder.WriteString("DO NOTHING")
    	} else {
    		builder.WriteString("DO UPDATE SET ")
    		onConflict.DoUpdates.Build(builder)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Oct 07 05:46:20 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                        .hasArg()
                        .build());
                options.addOption(Option.builder(LOG_FILE)
                        .longOpt("log-file")
                        .hasArg()
                        .desc("Log file where all build output will go (disables output color)")
                        .build());
                options.addOption(Option.builder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

                  continue;
                }
                builder.add(Range.range(i, lowerType, j, upperType));
              }
            }
          }
        }
        RANGES = builder.build();
      }
    
      public void testBuilderRejectsEmptyRanges() {
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          final int ii = i;
          ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

            .serialNumber(3L)
            .commonName(server.hostName)
            .build()
        val certificatePinner =
          CertificatePinner.Builder()
            .add(server.hostName, pin(rootCa.certificate))
            .build()
        val handshakeCertificates =
          HandshakeCertificates.Builder()
            .addTrustedCertificate(rootCa.certificate)
            .build()
        val client =
          clientTestRule.newClientBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SocksProxyTest.kt

      }
    
      @Test
      fun proxy() {
        server.enqueue(MockResponse.Builder().body("abc").build())
        server.enqueue(MockResponse.Builder().body("def").build())
        val client =
          clientTestRule.newClientBuilder()
            .proxy(socksProxy.proxy())
            .build()
        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        server.enqueue(
          MockResponse.Builder()
            .code(301)
            .addHeader("Location", "/foo")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("ABC")
            .build(),
        )
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val response = call.execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
Back to top