Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,698 for Build (0.02 sec)

  1. android/guava/src/com/google/common/collect/Interners.java

        private InternerBuilder() {}
    
        /**
         * Instructs the {@link InternerBuilder} to build a strong interner.
         *
         * @see Interners#newStrongInterner()
         */
        public InternerBuilder strong() {
          this.strong = true;
          return this;
        }
    
        /**
         * Instructs the {@link InternerBuilder} to build a weak interner.
         *
         * @see Interners#newWeakInterner()
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. src/cmd/buildid/buildid.go

    	// <= go 1.7 doesn't embed the contentID or actionID, so no slash is present
    	if !strings.Contains(id, "/") {
    		log.Fatalf("%s: build ID is a legacy format...binary too old for this tool", file)
    	}
    
    	newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash)
    	if len(newID) != len(id) {
    		log.Fatalf("%s: build ID length mismatch %q vs %q", file, id, newID)
    	}
    
    	if len(matches) == 0 {
    		return
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

            .header("Cache-Control", "max-age=60")
            .build();
      };
    
      private final OkHttpClient client;
    
      public RewriteResponseCacheControl(File cacheDirectory) throws Exception {
        Cache cache = new Cache(cacheDirectory, 1024 * 1024);
        cache.evictAll();
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * directive:
     *
     * ```java
     * Request request = new Request.Builder()
     *     .cacheControl(new CacheControl.Builder().noCache().build())
     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * ```
     *
     * If it is only necessary to force a cached response to be validated by the server, use the more
     * efficient `max-age=0` directive instead:
     *
     * ```java
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(immutableEntry("key", "value"));
      }
    
      public void testBuilderWithExpectedKeysPositive() {
        ImmutableMultimap.Builder<String, String> builder =
            ImmutableMultimap.builderWithExpectedKeys(1);
        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(immutableEntry("key", "value"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

            }
    
            return e;
        }
    
        public MavenProject build(File pom, ProjectBuilderConfiguration configuration) throws ProjectBuildingException {
            ProjectBuildingRequest request = injectSession(toRequest(configuration));
    
            try {
                return projectBuilder.build(pom, request).getProject();
            } catch (ProjectBuildingException e) {
                throw transformError(e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                    .build();
    
            context.eventSpyDispatcher.onEvent(toolchainsRequest);
    
            context.logger.debug("Reading installation toolchains from '" + installationToolchainsFile + "'");
            context.logger.debug("Reading user toolchains from '" + userToolchainsFile + "'");
    
            ToolchainsBuilderResult toolchainsResult = context.toolchainsBuilder.build(toolchainsRequest);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform.android
    
    import android.os.Build
    import java.lang.reflect.InvocationTargetException
    import java.lang.reflect.Method
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    import okhttp3.internal.platform.AndroidPlatform
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      public static class ImmutableSortedMapCopyOfEntriesGenerator
          extends TestStringSortedMapGenerator {
        @Override
        public SortedMap<String, String> create(Entry<String, String>[] entries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. native-image-tests/README.md

    ==================
    
    This executes OkHttp's test suite inside a Graalvm image.
    
    Build the Native Image
    ----------------------
    
    Compile the classes and metadata into a Graalvm native image.
    
    ```
    ./gradlew --info native-image-tests:nativeImage
    ```
    
    Execute
    -------
    
    The native image runs JUnit 5 tests in the project.
    
    ```
    ./native-image-tests/build/graal/ConsoleLauncher
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Oct 31 12:12:20 UTC 2020
    - 393 bytes
    - Viewed (0)
Back to top