Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,581 for _build (0.19 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.kt

    class ParseResponseWithMoshi {
      private val client = OkHttpClient()
      private val moshi = Moshi.Builder().build()
      private val gistJsonAdapter = moshi.adapter(Gist::class.java)
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("https://api.github.com/gists/c2a7c39532239ff261be")
            .build()
        client.newCall(request).execute().use { response ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/BuildTimestampValueSource.java

            super(false);
            this.startTime = startTime;
            this.format = format;
        }
    
        @Override
        public Object getValue(String expression) {
            if ("build.timestamp".equals(expression) || "maven.build.timestamp".equals(expression)) {
                if (formattedDate == null && startTime != null) {
                    formattedDate = new SimpleDateFormat(format).format(startTime);
                }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        builder.weigher(constantWeigher(42)).build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumWeight_withoutWeigher() {
        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000"));
        assertThrows(
            IllegalStateException.class,
            () -> builder.build(CacheLoader.from(Suppliers.ofInstance(null))));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     *   if (challenge.scheme().equalsIgnoreCase("OkHttp-Preemptive")) {
     *     return response.request().newBuilder()
     *         .header("Proxy-Authorization", "secret")
     *         .build();
     *   }
     * }
     * return null; // Didn't find a preemptive auth scheme.
     * ```
     *
     * ## Reactive Authentication
     *
     * Implementations authenticate by returning a follow-up request that includes an authorization
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

              .client(bootstrapClient)
              .url(url)
              .post(true)
              .build(),
          )
        runBatch(badProviders, names)
        println("cached first run\n****************\n")
        names = listOf("google.com", "graph.facebook.com")
        bootstrapClient =
          bootstrapClient
            .newBuilder()
            .cache(dnsCache)
            .build()
        dnsProviders =
          providers(
            client = bootstrapClient,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

        for (int rep = 0; rep < reps; rep++) {
          ImmutableList.Builder<Object> builder = ImmutableList.builder();
          for (int i = 0; i < size; i++) {
            builder.add(OBJECT);
          }
          dummy += builder.build().size();
        }
        return dummy;
      }
    
      @Benchmark
      int preSizedBuilderAdd(int reps) {
        int size = this.size;
        int dummy = 0;
        for (int rep = 0; rep < reps; rep++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java

    import org.apache.maven.api.services.MavenException;
    
    /**
     * Represents an exception that occurs during the invocation of a Maven build or command.
     * This exception is typically thrown when there are errors during the execution of a Maven
     * process, such as build failures, plugin errors, or other runtime issues.
     *
     * @since 4.0.0
     */
    @Experimental
    public class InvokerException extends MavenException {
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Nov 13 14:14:56 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import android.os.Build
    import java.io.IOException
    import okhttp3.internal.platform.PlatformRegistry
    import okio.Source
    import okio.source
    
    internal class AssetPublicSuffixList(
      override val path: String = PUBLIC_SUFFIX_RESOURCE,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

      public void run() throws Exception {
        RequestBody formBody = new FormBody.Builder()
            .add("search", "Jurassic Park")
            .build();
        Request request = new Request.Builder()
            .url("https://en.wikipedia.org/w/index.php")
            .post(formBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/promotion/PublishBranchSnapshotFromQuickFeedback.kt

            description = "Deploys a new distribution snapshot for the selected build/branch. Does not update master or the documentation."
    
            val triggerName = this.triggerName
    
            params {
                text(
                    "branch.qualifier",
                    "%dep.${RelativeId("Check_Stage_${triggerName}_Trigger")}.teamcity.build.branch%",
                    label = "Branch qualifier for the published distribution version",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Mar 20 06:13:56 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top