- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 1,220 for SYSTEM (0.09 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PostString.java
.build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PostString().run(); }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat May 25 18:02:55 UTC 2019 - 1.7K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
}, ) .add(KotlinJsonAdapterFactory()) .build() private val STORY_JSON_ADAPTER = MOSHI.adapter(Story::class.java) private val fileSystem = FileSystem.SYSTEM private fun readStory(source: BufferedSource): Story { return STORY_JSON_ADAPTER.fromJson(source)!! } private fun readStory(file: Path): Story { fileSystem.read(file) { return readStory(this)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java
private PrintStream out; public ConsoleRepositoryListener() { this(null); } public ConsoleRepositoryListener(PrintStream out) { this.out = (out != null) ? out : System.out; } public void artifactDeployed(RepositoryEvent event) { println("artifactDeployed", event.getArtifact() + " to " + event.getRepository()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java
int start = bufferIndex; if ( len < 24 ) { throw new SMBProtocolDecodingException("Invalid resume key"); } this.resumeKey = new byte[24]; System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24); bufferIndex += 24; SMBUtil.readInt4(buffer, bufferIndex); // contextLength - reserved bufferIndex += 4; return bufferIndex - start;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java
this.repositoryUrl = repositoryUrl + '/'; } else { this.repositoryUrl = repositoryUrl; } this.resource = resource; this.transferStartTime = System.currentTimeMillis(); } public String getRepositoryUrl() { return repositoryUrl; } public String getName() { String name = resource.getName(); if (name == null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
* governing permissions and limitations under the License. */ package org.codelibs.curl; import java.io.File; public class Curl { public static final File tmpDir = new File(System.getProperty("java.io.tmpdir")); protected Curl() { // nothing } public static CurlRequest get(final String url) { return new CurlRequest(Method.GET, url); }
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 1.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
return request.getUserProperties(); } /** * Gets the system properties to use for interpolation and profile activation. The system properties are collected * from the runtime environment like {@link System#getProperties()} and environment variables. * * @return The system properties, never {@code null}. */ public Properties getSystemProperties() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
* <li>{@link URLClassLoader} instances' {@code file:} URLs * <li>the {@linkplain ClassLoader#getSystemClassLoader() system class loader}. To search the * system class loader even when it is not a {@link URLClassLoader} (as in Java 9), {@code * ClassPath} searches the files from the {@code java.class.path} system property. * </ul> * * @throws IOException if the attempt to read class path resources (jar files or directories)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 24.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
} } } private fun ensureAllTaskQueuesIdle() { val entryTime = System.nanoTime() for (queue in TaskRunner.INSTANCE.activeQueues()) { // We wait at most 1 second, so we don't ever turn multiple lost threads into // a test timeout failure. val waitTime = (entryTime + 1_000_000_000L - System.nanoTime()) if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/MoreFiles.java
* timestamp of the existing file at the given path to the current system time. */ @SuppressWarnings("GoodTime") // reading system time without TimeSource public static void touch(Path path) throws IOException { checkNotNull(path); try { Files.setLastModifiedTime(path, FileTime.fromMillis(System.currentTimeMillis())); } catch (NoSuchFileException e) { try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 35K bytes - Viewed (0)