Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 305 for printInt (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            // can be read from the cache.
            System.out.println("Force cache: true");
            clientForCall = client.newBuilder()
                .addNetworkInterceptor(REWRITE_CACHE_CONTROL_INTERCEPTOR)
                .build();
          } else {
            System.out.println("Force cache: false");
            clientForCall = client;
          }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

                }
    
                println(
                        "transferSucceeded",
                        type + ": " + resource.getRepositoryUrl() + resource.getResourceName() + " (" + len + throughput
                                + ")");
            }
        }
    
        @Override
        public void transferFailed(TransferEvent event) {
            transferCompleted(event);
    
            println(
                    "transferFailed",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  3. internal/lsync/lrwmutex_test.go

    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("1st read lock acquired, waiting...")
    
    	if !lrwm.GetRLock(ctx, "", "object1", time.Second) {
    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("2nd read lock acquired, waiting...")
    
    	go func() {
    		time.Sleep(2 * time.Second)
    		lrwm.RUnlock()
    		// fmt.Println("1st read lock released, waiting...")
    	}()
    
    	go func() {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            assertTrue(provider.getMaxMessageSize() > 0, "Max message size should be positive");
    
            System.out.println("Selected RDMA provider: " + provider.getProviderName());
            System.out.println("Supported capabilities: " + provider.getSupportedCapabilities());
            System.out.println("Max message size: " + provider.getMaxMessageSize());
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

            if (tlsVersions.contains(TLS_1_2)) {
              println("TLSv1.2 traffic will be logged automatically and available via wireshark")
            }
    
            if (tlsVersions.contains(TLS_1_3)) {
              println("TLSv1.3 requires an external command run before first traffic is sent")
              println("Follow instructions at https://github.com/neykov/extract-tls-secrets for TLSv1.3")
              println("Pid: ${ProcessHandle.current().pid()}")
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

        // Ensure we are compiling against the right variant
        println(AndroidPlatform.isSupported)
    
        val url = "https://github.com/square/okhttp".toHttpUrl()
        println(url.topPrivateDomain())
    
        client.newCall(Request(url)).enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              println("failed: $e")
            }
    
            override fun onResponse(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Aug 19 08:10:39 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. cmd/common-main.go

    		if mousetrap.StartedByExplorer() {
    			fmt.Printf("Don't double-click %s\n", os.Args[0])
    			fmt.Println("You need to open cmd.exe/PowerShell and run it from the command line")
    			fmt.Println("Refer to the docs here on how to run it as a Windows Service https://github.com/minio/minio-service/tree/master/windows")
    			fmt.Println("Press the Enter Key to Exit")
    			fmt.Scanln()
    			os.Exit(1)
    		}
    	}
    
    	logger.Init(GOPATH, GOROOT)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.5K bytes
    - Click Count (3)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/AbstractMavenTransferListener.java

            message.resetStyle().append(resource.getResourceName());
    
            out.println(message);
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            TransferResource resource = event.getResource();
            // TODO This needs to be colorized
            out.println("[WARNING] " + event.getException().getMessage() + " from " + resource.getRepositoryId() + " for "
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt

            .newBuilder()
            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build()
        try {
          client1.newCall(request).execute().use { response ->
            println("Response 1 succeeded: $response")
          }
        } catch (e: IOException) {
          println("Response 1 failed: $e")
        }
    
        // Copy to customize OkHttp for this request.
        val client2 =
          client
            .newBuilder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

            System.out.println("[" + prefix + "] " + content.toString());
        }
    
        private void print(String prefix, Throwable error) {
            StringWriter sWriter = new StringWriter();
            PrintWriter pWriter = new PrintWriter(sWriter);
    
            error.printStackTrace(pWriter);
    
            System.out.println("[" + prefix + "] " + sWriter);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top