Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 2,076 for builds (0.1 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

            .addHeader("Cache-Control: max-age=60")
            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Cache-Control: max-age=60")
            .body("B")
            .build(),
        )
        val request1 =
          Request.Builder()
            .url(server.url("/"))
            .cacheControl(CacheControl.Builder().noStore().build())
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. .github/workflows/go-fips.yml

        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: ${{ matrix.go-version }}
    
          - name: Set up Docker Buildx
            uses: docker/setup-buildx-action@v2
    
          - name: Setup dockerfile for build test
            run: |
              GO_VERSION=$(go version | cut -d ' ' -f 3 | sed 's/go//')
              echo Detected go version $GO_VERSION
              cat > Dockerfile.fips.test <<EOF
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. clause/clause.go

    	Expression          Expression
    	Builder             ClauseBuilder
    }
    
    // Build build clause
    func (c Clause) Build(builder Builder) {
    	if c.Builder != nil {
    		c.Builder(c, builder)
    	} else if c.Expression != nil {
    		if c.BeforeExpression != nil {
    			c.BeforeExpression.Build(builder)
    			builder.WriteByte(' ')
    		}
    
    		if c.Name != "" {
    			builder.WriteString(c.Name)
    			builder.WriteByte(' ')
    		}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Feb 02 09:15:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. clause/expression.go

    	builder.WriteQuoted(lt.Column)
    	builder.WriteString(" < ")
    	builder.AddVar(builder, lt.Value)
    }
    
    func (lt Lt) NegationBuild(builder Builder) {
    	Gte(lt).Build(builder)
    }
    
    // Lte less than or equal to for where
    type Lte Eq
    
    func (lte Lte) Build(builder Builder) {
    	builder.WriteQuoted(lte.Column)
    	builder.WriteString(" <= ")
    	builder.AddVar(builder, lte.Value)
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            )
            .build()
        val request =
          Request.Builder()
            .url(server.url("/"))
            .build()
        val response = client.newCall(request).execute()
        assertThat("b").isEqualTo(response.body.string())
      }
    
      /** Make sure interceptors can interact with the OkHttp client.  */
      @Test
      fun interceptorMakesAnUnrelatedRequest() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

      @Test
      fun tagsAreImmutable() {
        val builder =
          Request.Builder()
            .url("https://square.com")
        val requestA = builder.tag(String::class, "a").build()
        val requestB = builder.tag(String::class, "b").build()
        val requestC = requestA.newBuilder().tag(String::class, "c").build()
        assertThat(requestA.tag(String::class)).isSameAs("a")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

        server.enqueue(
          MockResponse.Builder()
            .code(HttpURLConnection.HTTP_MOVED_TEMP)
            .setHeader("Location", otherServer.url("/"))
            .build(),
        )
        otherServer.enqueue(
          MockResponse.Builder()
            .headersDelay(500, TimeUnit.MILLISECONDS)
            .build(),
        )
        val request = Request.Builder().url(server.url("/")).build()
        val call = client.newCall(request)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        webServer.enqueue(
          MockResponse.Builder()
            .code(101)
            .setHeader("Upgrade", "websocket")
            .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=")
            .build(),
        )
        webServer.enqueue(
          MockResponse.Builder()
            .socketPolicy(SocketPolicy.DisconnectAtStart)
            .build(),
        )
        val webSocket = newWebSocket()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

        vararg intermediates: X509Certificate,
      ): OkHttpClient {
        val builder =
          HandshakeCertificates.Builder()
            .addTrustedCertificate(serverRootCa.certificate)
        if (heldCertificate != null) {
          builder.heldCertificate(heldCertificate, *intermediates)
        }
        val handshakeCertificates = builder.build()
        return clientTestRule.newClientBuilder()
          .sslSocketFactory(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

    class CertificatePinnerTest {
      @Test
      fun malformedPin() {
        val builder = CertificatePinner.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.add("example.com", "md5/DmxUShsZuNiqPQsX2Oi9uv2sCnw=")
        }
      }
    
      @Test
      fun malformedBase64() {
        val builder = CertificatePinner.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.add("example.com", "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw*")
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top