Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 510 for Resources (0.07 sec)

  1. cmd/local-locker_test.go

    	if len(l.lockMap) != len(rResources)+len(wResources)*m {
    		t.Fatalf("lockmap len, got %d, want %d + %d", len(l.lockMap), len(rResources), len(wResources)*m)
    	}
    	// A UID is added for every resource.
    	// We removed len(rResources) read sources.
    	if len(l.lockUID) != len(rResources)+len(wResources)*m {
    		t.Fatalf("lockUID len, got %d, want %d + %d", len(l.lockUID), len(rResources), len(wResources)*m)
    	}
    
    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/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)
  3. 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)
  4. 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)
  5. 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)
  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. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

        }
    
        /**
         * Searches for all resources with the specified name from the context class loader.
         *
         * @param name
         *            The resource name. Must not be {@literal null} or an empty string.
         * @return An iterator of URL objects for the resources. If no resources are found, the iterator will be empty.
         *         Resources that the class loader does not have access to will not be included.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. guava-gwt/pom.xml

                <id>copy-gwt-files</id>
                <phase>generate-resources</phase>
                <goals><goal>run</goal></goals>
                <configuration>
                  <target name="copy-gwt-resources">
                    <delete dir="${project.build.directory}/guava-gwt-sources" quiet="true" />
                    <delete dir="${project.build.directory}/guava-test-gwt-sources" quiet="true" />
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top