Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 853 for Resources (0.1 sec)

  1. 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)
  2. cmd/api-resources.go

    Harshavardhana <******@****.***> 1686162326 -0700
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 07 18:25:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. 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)
  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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top