- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 534 for Ressource (0.08 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt
} @Test fun multipleSources() { val upstream = Buffer() upstream.writeUtf8("abcdefghijklm") val relay = edit(file, upstream, metadata, 1024) val source1 = relay.newSource()!!.buffer() val source2 = relay.newSource()!!.buffer() assertThat(source1.readUtf8()).isEqualTo("abcdefghijklm") assertThat(source2.readUtf8()).isEqualTo("abcdefghijklm") source1.close() source2.close()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
} /** * Create a managed resource wrapper * * @param <T> resource type * @param resource the resource to wrap * @return managed resource */ public <T extends AutoCloseable> ManagedResource<T> manage(T resource) { String resourceId = registerResource(resource); return new ManagedResource<>(resource, resourceId, this); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K 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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 13K 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) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java
import org.opensearch.transport.client.Client; import jakarta.annotation.Resource; /** * @param <ENTITY> The type of entity. * @param <CB> The type of condition-bean. * @author ESFlute (using FreeGen) */ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends ConditionBean> extends AbstractBehaviorWritable<ENTITY, CB> { @Resource private Client client; protected int sizeForDelete = 100;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0)