Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 1,105 for builder (0.07 sec)

  1. misc/go_android_exec/exitcode_test.go

    //go:build !(windows || js || wasip1)
    
    package main
    
    import (
    	"regexp"
    	"strings"
    	"testing"
    )
    
    func TestExitCodeFilter(t *testing.T) {
    	// Write text to the filter one character at a time.
    	var out strings.Builder
    	f, exitStr := newExitCodeFilter(&out)
    	// Embed a "fake" exit code in the middle to check that we don't get caught on it.
    	pre := "abc" + exitStr + "123def"
    	text := pre + exitStr + `1`
    	for i := 0; i < len(text); i++ {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed May 03 14:54:58 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

            return builder()
                    .session(nonNull(session, "session cannot be null"))
                    .artifactCoordinates(nonNull(artifactCoordinates, "artifactCoordinates cannot be null"))
                    .repositories(repositories)
                    .build();
        }
    
        @Nonnull
        static VersionResolverRequestBuilder builder() {
            return new VersionResolverRequestBuilder();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Chars.java

        int len = array.length;
        if (len == 0) {
          return "";
        }
    
        StringBuilder builder = new StringBuilder(len + separator.length() * (len - 1));
        builder.append(array[0]);
        for (int i = 1; i < len; i++) {
          builder.append(separator).append(array[i]);
        }
        return builder.toString();
      }
    
      /**
       * Returns a comparator that compares two {@code char} arrays <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MapMakerInternalMap.java

          return new MapMakerInternalMap<>(builder, StrongKeyWeakValueEntry.Helper.<K, V>instance());
        }
        if (builder.getKeyStrength() == Strength.WEAK
            && builder.getValueStrength() == Strength.STRONG) {
          return new MapMakerInternalMap<>(builder, WeakKeyStrongValueEntry.Helper.<K, V>instance());
        }
        if (builder.getKeyStrength() == Strength.WEAK && builder.getValueStrength() == Strength.WEAK) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  5. regression-test/build.gradle.kts

      namespace = "okhttp.android.regression"
    
      defaultConfig {
        minSdk = 21
        targetSdk = 34
    
        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
        testInstrumentationRunnerArguments += mapOf(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 14:46:51 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            }
    
            //
            // Builder, concurrency and parallelism
            //
            // We preserve the existing methods for builder selection which is to look for various inputs in the threading
            // configuration. We don't have an easy way to allow a pluggable builder to provide its own configuration
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

        RequestBody requestBody = new MultipartBody.Builder()
            .setType(MultipartBody.FORM)
            .addFormDataPart("title", "Square Logo")
            .addFormDataPart("image", "logo-square.png",
                RequestBody.create(
                    new File("docs/images/logo-square.png"),
                    MEDIA_TYPE_PNG))
            .build();
    
        Request request = new Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jun 24 12:59:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

                    .named("Shorts.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Short> builder : builders) {
          suite.addTest(
              builder
                  .withFeatures(
                      CollectionSize.ONE,
                      CollectionSize.SEVERAL,
                      CollectionFeature.RESTRICTS_ELEMENTS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

                    .named("Chars.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Character> builder : builders) {
          suite.addTest(
              builder
                  .withFeatures(
                      CollectionSize.ONE,
                      CollectionSize.SEVERAL,
                      CollectionFeature.RESTRICTS_ELEMENTS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

                    .named("Shorts.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Short> builder : builders) {
          suite.addTest(
              builder
                  .withFeatures(
                      CollectionSize.ONE,
                      CollectionSize.SEVERAL,
                      CollectionFeature.RESTRICTS_ELEMENTS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top