Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 725 for printnl (0.05 sec)

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

            body = requestBody,
          )
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    
      companion object {
        val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType()
      }
    }
    
    fun main() {
      PostStreaming().run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts

            doLast {
                val jsonText = URI("https://services.gradle.org/versions/$label").toURL().readText()
                val versionInfo = Gson().fromJson(jsonText, VersionDownloadInfo::class.java)
                println("updating wrapper to $label version: ${versionInfo.version} (downloadUrl: ${versionInfo.downloadUrl})")
                wrapperTask.get().distributionUrl = versionInfo.downloadUrl
            }
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 17 08:58:33 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          System.out.println(response.body().string());
        }
    
        server.shutdown();
        socketFile.delete();
      }
    
      public static void main(String... args) throws Exception {
        new ClientAndServer().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java

            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
    
            for (Object aSet : set) {
                Artifact artifact = (Artifact) aSet;
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Scope: " + artifact.getScope());
                assertTrue(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

            return 0;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            if(( dst.length - dstIndex ) < pipeDataLen ) {
                if( log.level >= 3 )
                    log.println( "TransTransactNamedPipe data too long for buffer" );
                return 0;
            }
            System.arraycopy( pipeData, pipeDataOff, dst, dstIndex, pipeDataLen );
            return pipeDataLen;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt

        }
    
        override fun obtain(): String? = parameters.run {
    
            val buildTimestampFromReceipt = buildTimestampFromBuildReceipt.orNull
            if (buildTimestampFromReceipt != null) {
                println("Using timestamp from incoming build receipt: $buildTimestampFromReceipt")
                return buildTimestampFromReceipt
            }
    
            val timestampFormat = SimpleDateFormat("yyyyMMddHHmmssZ").apply {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                }
            } catch (IOException e) {
                System.err.println("Unable determine version from JAR file: " + e.getMessage());
            }
    
            return properties;
        }
    
        public static void showError(Logger logger, String message, Throwable e, boolean showStackTrace) {
            if (logger == null) {
                System.err.println(message);
                if (showStackTrace && e != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. misc/cgo/gmp/fib.go

    		out <- j.String()
    		i.Add(i, j)
    		c <- i
    	}
    }
    
    func main() {
    	c := make(chan *big.Int)
    	out := make(chan string)
    	go fibber(c, out, 0)
    	go fibber(c, out, 1)
    	for i := 0; i < 200; i++ {
    		println(<-out)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 10 22:32:35 UTC 2023
    - 919 bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

            .post(requestBody)
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    
      companion object {
        /**
         * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. docs/debugging/inspect/decrypt-v1.go

    	}
    	// Zero nonce, we only use each key once, and 32 bytes is plenty.
    	nonce := make([]byte, stream.NonceSize())
    	encr := stream.DecryptReader(r, nonce, nil)
    	_, err = io.Copy(w, encr)
    	if err == nil {
    		fmt.Println(okMsg)
    	}
    	return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top