Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for wResources (0.06 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/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: 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

    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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. 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)
  5. cmd/local-locker.go

    	return globalEndpoints.Localhost()
    }
    
    func (l *localLocker) canTakeLock(resources ...string) bool {
    	for _, resource := range resources {
    		_, lockTaken := l.lockMap[resource]
    		if lockTaken {
    			return false
    		}
    	}
    	return true
    }
    
    func (l *localLocker) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	if len(args.Resources) > maxDeleteList {
    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/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)
  7. .gitignore

    .classpath
    *.iml
    .idea
    .vscode
    .DS_Store
    /plugins/
    /modules/
    /tomcat.8080/
    dbflute_fess/output/doc/lastadoc-fess.html
    dbflute_fess/schema/project-lastadoc-fess.json
    src/main/resources/fess_indices/fess_config.access_token/access_token.bulk
    src/main/resources/ga_client_secrets.p12
    src/main/webapp/WEB-INF/project.properties
    /.apt_generated/
    /.apt_generated_tests/
    /.serena
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/DisposableUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.beans.Introspector;
    import java.util.Deque;
    
    /**
     * Utility class for disposing of resources at the end of an application.
     * <p>
     * If there are resources that must be disposed of at the end of the application,
     * create a class that implements {@link Disposable} and register it with this class.
     * </p>
     *
     * @author koichik
     */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResourceException.java

            return resourceType;
        }
    
        /**
         * Gets available resources
         *
         * @return available resources or -1 if unknown
         */
        public long getAvailableResources() {
            return availableResources;
        }
    
        /**
         * Gets requested resources
         *
         * @return requested resources or -1 if unknown
         */
        public long getRequestedResources() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. docs/en/docs/resources/index.md

    # Resources { #resources }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 92 bytes
    - Viewed (0)
Back to top