- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 326 for wResources (0.05 sec)
-
cmd/local-locker_test.go
t.Fatal("did not get write lock") } rResources[i] = arg.Resources[0] } if len(l.lockMap) != len(rResources)+len(wResources) { t.Fatalf("lockmap len, got %d, want %d + %d", len(l.lockMap), len(rResources), len(wResources)) } if len(l.lockUID) != len(rResources)+len(wResources) { t.Fatalf("lockUID len, got %d, want %d + %d", len(l.lockUID), len(rResources), len(wResources)) } // Expire an hour from now, should keep all
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
/** * Provides utility methods for working with resources in the classpath. Note that even though these * methods use {@link URL} parameters, they are usually not appropriate for HTTP or other * non-classpath resources. * * @author Chris Nokleberg * @author Ben Yu * @author Colin Decker * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class Resources { private Resources() {} /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
cmd/api-resources.go
Klaus Post <******@****.***> 1759093161 +0200
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 5.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.2.0.xml
<testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory> <resources> <resource> <directory>${project.basedir}/src/main/resources</directory> </resource> <resource> <directory>${project.basedir}/src/main/resources-filtered</directory> <filtering>true</filtering> </resource> </resources> <testResources> <testResource>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Aug 07 14:31:13 UTC 2025 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
URL resource = getClass().getResource("testdata/i18n.txt"); assertEquals(I18N, Resources.toString(resource, UTF_8)); assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N); } public void testToByteArray() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java
new DefaultSourceRoot(ProjectScope.MAIN, Language.RESOURCES, Path.of("src/main/resources"))); } @Test void testAddIncludeToExistingResource() { // Get the first resource List<Resource> resources = project.getResources(); assertEquals(1, resources.size(), "Should have one resource"); Resource resource = resources.get(0);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
cleanupInterval, enableLeakDetection, enableAutoCleanup); } /** * Force cleanup of all resources * * @return number of resources cleaned */ public int forceCleanup() { log.info("Forcing cleanup of all resources"); int cleaned = 0; for (ResourceHolder holder : activeResources.values()) { if (!holder.closed) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
import org.codelibs.core.zip.ZipInputStreamUtil; /** * Class for traversing resources. * * @author taedium * @see ResourceHandler * @see TraversalUtil */ public abstract class ResourceTraversalUtil { /** * Do not instantiate. */ protected ResourceTraversalUtil() { } /** * Traverses resources contained in the file system. *Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/Traverser.java
*/ void forEach(ClassHandler handler); /** * Searches for resources handled by this instance and calls the handler for each resource. * <p> * If a root directory is specified at instance construction, only resources under the root directory are targeted. * </p> * * @param handler the handler to process resources */ void forEach(ResourceHandler handler); /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.1K bytes - Viewed (0) -
internal/dsync/dsync-server_test.go
var locksHeld int64 if locksHeld, reply = l.lockMap[args.Resources[0]]; !reply { // No lock is held on the given name return false, fmt.Errorf("Unlock attempted on an unlocked entity: %s", args.Resources[0]) } if reply = locksHeld == WriteLock; !reply { // Unless it is a write lock return false, fmt.Errorf("Unlock attempted on a read locked entity: %s (%d read locks active)", args.Resources[0], locksHeld) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.3K bytes - Viewed (0)