Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 224 for rResources (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

         */
        boolean shouldForceSigning();
    
        /**
         * Determines whether this resource path overlaps with another resource path by sharing a common root.
         *
         * @param other the other resource locator to compare with
         * @return whether the paths share a common root
         * @throws CIFSException if an error occurs during comparison
         */
        boolean overlaps(SmbResourceLocator other) throws CIFSException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. docs/multi-user/README.md

    mc cat myminio-newuser/my-bucketname/my-objectname
    ```
    
    ### Policy Variables
    
    You can use policy variables in the *Resource* element and in string comparisons in the *Condition* element.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top