- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 527 for Ressource (0.06 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
* .url("http://publicobject.com/helloworld.txt") * .build(); * Response forceCacheResponse = client.newCall(request).execute(); * if (forceCacheResponse.code() != 504) { * // The resource was cached! Show it. * } else { * // The resource was not cached. * } * ``` * * This technique works even better in situations where a stale response is better than no response.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
// Given SmbResource resource = createMockResource(); when(resource.exists()).thenReturn(true); when(resource.isFile()).thenReturn(true); when(resource.canWrite()).thenReturn(true); // When/Then assertTrue(resource.exists(), "Resource should exist"); assertTrue(resource.isFile(), "Should be a file");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java
private ArtifactTransferResource wrap(Repository repository, Resource resource) { if (resource == null) { return null; } else { synchronized (artifacts) { ArtifactTransferResource artifact = artifacts.get(resource); if (artifact == null) { artifact = new MavenArtifact(repository.getUrl(), resource); artifacts.put(resource, artifact);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
} catch (final MissingResourceException ignore) { return null; } } /** * Returns the string for the specified key from the resource bundle. * * @param bundle the resource bundle (must not be {@literal null} or empty) * @param key the key * @return the string for the specified key (must not be {@literal null} or empty)
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.3K bytes - Viewed (0) -
cmd/admin-handlers_test.go
locksHeld[resource] = []lockRequesterInfo{lri} } // Add a few concurrent read locks to the mix for i := range 50 { resource := fmt.Sprintf("bucket/get-object-%d", i) lri := lockRequesterInfo{ Name: resource, UID: mustGetUUID(), Owner: owners[i%len(owners)], Quorum: 2, } lris = append(lris, lri) locksHeld[resource] = append(locksHeld[resource], lri)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.9K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
checkArgument(url != null, "resource %s not found.", resourceName); return url; } /** * Given a {@code resourceName} that is relative to {@code contextClass}, returns a {@code URL} * pointing to the named resource. * * @throws IllegalArgumentException if the resource is not found */ @CanIgnoreReturnValue // being used to check if a resource exists
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
api/maven-api-model/src/main/mdo/maven.mdo
public void setSource(String source) { getDelegate().setSource(source); } public String getSource() { return getDelegate().getSource(); } /** * @see java.lang.Object#toString() */ public String toString() { return "Profile {id: " + getId() + ", source: " + getSource() + "}"; } ]]>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Aug 07 14:32:16 UTC 2025 - 132.7K bytes - Viewed (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java
locations.putAll(sourceDominant ? sourceLocations : targetLocations); } return new InputLocation(-1, -1, InputSource.merge(source.getSource(), target.getSource()), locations); } // -- InputLocation merge( InputLocation, InputLocation, boolean ) /** * Merges the {@code source} location into the {@code target} location.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
*/ @Throws(IOException::class) fun edit(): Editor? = ******@****.***(key, sequenceNumber) /** Returns the unbuffered stream with the value for [index]. */ fun getSource(index: Int): Source = sources[index] /** Returns the byte length of the value for [index]. */ fun getLength(index: Int): Long = lengths[index] override fun close() { for (source in sources) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
cmd/local-locker.go
} defer l.getMutex()() for _, resource := range args.Resources { lri, ok := l.lockMap[resource] if ok && !isWriteLock(lri) { // Unless it is a write lock reject it. err = fmt.Errorf("unlock attempted on a read locked entity: %s", resource) continue } if ok { reply = l.removeEntry(resource, args, &lri) || reply } } return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0)