- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 436 for rResources (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 Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
void testForceCleanup() { TestResource resource1 = new TestResource("cleanup1"); TestResource resource2 = new TestResource("cleanup2"); resourceManager.registerResource(resource1); resourceManager.registerResource(resource2); assertFalse(resource1.isClosed()); assertFalse(resource2.isClosed()); int cleaned = resourceManager.forceCleanup();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
// Then assertNotNull(resource1, "First resource should be created"); assertNotNull(resource2, "Second resource should be created"); assertNotNull(pipe1, "First pipe should be created"); assertNotNull(pipe2, "Second pipe should be created"); assertNotSame(resource1, resource2, "Different resources should be different instances");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
import org.slf4j.LoggerFactory; /** * Centralized resource management for preventing resource leaks. * Tracks all AutoCloseable resources and ensures proper cleanup. * * Features: * - Automatic resource cleanup with weak references * - Resource leak detection * - Resource usage monitoring * - Periodic cleanup of abandoned resources * - Detailed resource tracking and reporting */ public class ResourceManager {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
cmd/local-locker.go
} // No locks held on the all resources, so claim write // lock on all resources at once. now := UTCNow() for i, resource := range args.Resources { l.lockMap[resource] = []lockRequesterInfo{ { Name: resource, Writer: true, Source: args.Source, Owner: args.Owner, UID: args.UID, Timestamp: now.UnixNano(),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceException.java
this.requestedResources = -1; } /** * Creates a resource exception with resource details * * @param message the error message * @param errorCode the SMB error code * @param resourceType the type of resource * @param available available resources * @param requested requested resources */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DisposableUtil.java
* * @param disposable * A disposable resource. Must not be {@literal null}. */ public static synchronized void remove(final Disposable disposable) { assertArgumentNotNull("disposable", disposable); disposables.remove(disposable); } /** * Disposes of all registered resources. */ public static synchronized void dispose() {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K 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: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
} /** * Traverses resources contained in a Jar file. * <p> * Of the resources in the Jar file, only those with paths starting with the specified prefix are traversed. * The handler receives the entry name with the prefix removed. For example, if the prefix is <code>/aaa/bbb/</code> * and the Jar file contains a resource <code>/aaa/bbb/ccc/ddd/eee.txt</code>, the handler receives
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.2K bytes - Viewed (0) -
pom.xml
</properties> </profile> </profiles> <build> <finalName>fess</finalName> <resources> <resource> <directory>src/main/resources</directory> </resource> </resources> <!-- This file contains all the common properties used to build the different packages (tar.gz, deb, rpm) using Maven resources plugin --> <filters> <filter>src/packaging/common/packaging.properties</filter> </filters>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Sep 04 05:22:58 UTC 2025 - 49.6K bytes - Viewed (0)