Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 258 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. cmd/api-resources.go

    Klaus Post <******@****.***> 1759093161 +0200
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.2.0.xml

        <testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
        <resources>
          <resource>
            <directory>${project.basedir}/src/main/resources</directory>
          </resource>
          <resource>
            <directory>${project.basedir}/src/main/resources-filtered</directory>
            <filtering>true</filtering>
          </resource>
        </resources>
        <testResources>
          <testResource>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Aug 07 14:31:13 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

                    new DefaultSourceRoot(ProjectScope.MAIN, Language.RESOURCES, Path.of("src/main/resources")));
        }
    
        @Test
        void testAddIncludeToExistingResource() {
            // Get the first resource
            List<Resource> resources = project.getResources();
            assertEquals(1, resources.size(), "Should have one resource");
    
            Resource resource = resources.get(0);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. internal/dsync/dsync-server_test.go

    	var locksHeld int64
    	if locksHeld, reply = l.lockMap[args.Resources[0]]; !reply { // No lock is held on the given name
    		return false, fmt.Errorf("Unlock attempted on an unlocked entity: %s", args.Resources[0])
    	}
    	if reply = locksHeld == WriteLock; !reply { // Unless it is a write lock
    		return false, fmt.Errorf("Unlock attempted on a read locked entity: %s (%d read locks active)", args.Resources[0], locksHeld)
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 21:36:50 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top