- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 252 for rResources (0.06 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/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) -
cmd/metrics-resource.go
lastDriveStatsRefresh time.Time ) // PeerResourceMetrics represents the resource metrics // retrieved from a peer, along with errors if any type PeerResourceMetrics struct { Metrics map[MetricSubsystem]ResourceMetrics Errors []string } // ResourceMetrics is a map of unique key identifying // a resource metric (e.g. reads_per_sec_{node}_{drive}) // to its data type ResourceMetrics map[string]ResourceMetric
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 17.2K 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/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
when(filter.accept(resource)).thenReturn(false, true); TestIterator iterator = new TestIterator(filter); // Verify iteration assertTrue(iterator.hasNext()); assertSame(resource, iterator.next()); assertFalse(iterator.hasNext()); // Both resources should be closed verify(filter, times(2)).accept(resource); verify(resource, times(2)).close();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
cmd/kms-handlers_test.go
// the policy engine matches all Deny statements first, without regard to Resources (for KMS). // This is for backwards compatibility where historically KMS statements ignored Resources. policy: `{ "Effect": "Allow", "Action": ["kms:ListKeys"] },{ "Effect": "Deny", "Action": ["kms:ListKeys"], "Resource": ["arn:minio:kms:::default-test-key"] }`,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 22.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* to close resources will be thrown from the finally block. The throwable from the try block * will be thrown. * <li>If no exceptions or errors were thrown in the try block, the <i>first</i> exception thrown * by an attempt to close a resource will be thrown. * <li>Any exception caught when attempting to close a resource that is <i>not</i> thrown (because
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
*/ boolean exists() throws CIFSException; /** * Fetch a child resource * * @param name the name of the child resource to resolve * @return the child resource * @throws CIFSException if an error occurs accessing the resource */ SmbResource resolve(String name) throws CIFSException; /** * Get the file index *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/test/java/jcifs/http/HandlerTest.java
// This test verifies that once a handler is cached, subsequent calls reuse it. setupMockProtocolHandlers(); URL url1 = new URL("http://example.com/resource1"); URL url2 = new URL("http://example.com/resource2"); URLConnection connection1 = handler.openConnection(url1); URLConnection connection2 = handler.openConnection(url2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)