Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,612 for runs (0.02 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

              return response.request().newBuilder()
                  .header("Authorization", credential)
                  .build();
            })
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/secrets/hellosecret.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

    import okhttp3.tls.HandshakeCertificates;
    import okhttp3.tls.HeldCertificate;
    
    /**
     * Create an HTTPS server with a self-signed certificate that OkHttp trusts.
     */
    public class HttpsServer {
      public void run() throws Exception {
        HeldCertificate localhostCertificate = new HeldCertificate.Builder()
            .addSubjectAlternativeName("localhost")
            .build();
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 02 14:04:37 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/UploadForm.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.dict.stopwords;
    
    import org.lastaflute.web.ruts.multipart.MultipartFormFile;
    import org.lastaflute.web.validation.Required;
    
    /**
     * @author ma2tani
     */
    public class UploadForm {
    
        @Required
        public String dictId;
    
        @Required
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 941 bytes
    - Viewed (0)
  4. cni/pkg/constants/constants.go

    	MonitoringPort           = "monitoring-port"
    	LogUDSSocket             = "log-uds-socket"
    	ZtunnelUDSAddress        = "ztunnel-uds-address"
    	CNIEventSocket           = "cni-event-address"
    	CNIAgentRunDir           = "cni-agent-run-dir"
    	ExcludeNamespaces        = "exclude-namespaces"
    	AmbientEnabled           = "ambient-enabled"
    	AmbientDNSCapture        = "ambient-dns-capture"
    	AmbientIPv6              = "ambient-ipv6"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

        Cache cache = new Cache(cacheDirectory, 1024 * 1024);
        cache.evictAll();
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
          System.out.println("    Request: " + i);
    
          Request request = new Request.Builder()
              .url("https://api.github.com/search/repositories?q=http")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  6. cmd/xl-storage-format_test.go

    					Hash:       nil,
    				},
    				{
    					PartNumber: 2,
    					Algorithm:  HighwayHash256S,
    					Hash:       nil,
    				},
    			},
    		},
    	}
    	for _, size := range []int{1, 10, 1000, 100_000} {
    		b.Run(fmt.Sprint(size, "-versions"), func(b *testing.B) {
    			var xl xlMetaV2
    			ids := make([]string, size)
    			for i := 0; i < size; i++ {
    				fi.VersionID = mustGetUUID()
    				fi.DataDir = mustGetUUID()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

        OkHttpClient.Builder()
          .cache(
            Cache(
              directory = cacheDirectory,
              // 1 MiB.
              maxSize = 10L * 1024L * 1024L,
            ),
          )
          .build()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        val response1Body =
          client.newCall(request).execute().use {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt

    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    
    class PostFile {
      private val client = OkHttpClient()
    
      fun run() {
        val file = File("README.md")
    
        val request =
          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
            body = file.asRequestBody(MEDIA_TYPE_MARKDOWN),
          )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with LargeTest.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 07 15:40:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/elevateword/UploadForm.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.elevateword;
    
    import org.lastaflute.web.ruts.multipart.MultipartFormFile;
    import org.lastaflute.web.validation.Required;
    
    /**
     * @author codelibs
     * @author Keiichi Watanabe
     */
    public class UploadForm {
    
        @Required
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 929 bytes
    - Viewed (0)
Back to top