Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 301 for wResources (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. guava/src/com/google/common/io/Resources.java

    /**
     * Provides utility methods for working with resources in the classpath. Note that even though these
     * methods use {@link URL} parameters, they are usually not appropriate for HTTP or other
     * non-classpath resources.
     *
     * @author Chris Nokleberg
     * @author Ben Yu
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Resources {
      private Resources() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. 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)
  4. guava/pom.xml

      </dependencies>
      <build>
        <resources>
          <resource>
            <directory>..</directory>
            <includes>
              <include>LICENSE</include> <!-- copied from the parent pom because I couldn't figure out a way to make combine.children="append" work -->
              <include>proguard/*</include>
            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <plugins>
          <plugin>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 06 21:05:32 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ResourcesTest.java

        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, UTF_8));
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. .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)
Back to top