Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 535 for Resource (0.11 sec)

  1. cmd/metrics-resource.go

    	lastDriveStatsRefresh time.Time
    )
    
    // PeerResourceMetrics represents the resource metrics
    // retrieved from a peer, along with errors if any
    type PeerResourceMetrics struct {
    	Metrics map[MetricSubsystem]ResourceMetrics
    	Errors  []string
    }
    
    // ResourceMetrics is a map of unique key identifying
    // a resource metric (e.g. reads_per_sec_{node}_{drive})
    // to its data
    type ResourceMetrics map[string]ResourceMetric
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/ResourceManager.java

        }
    
        /**
         * Create a managed resource wrapper
         *
         * @param <T> resource type
         * @param resource the resource to wrap
         * @return managed resource
         */
        public <T extends AutoCloseable> ManagedResource<T> manage(T resource) {
            String resourceId = registerResource(resource);
            return new ManagedResource<>(resource, resourceId, this);
        }
    
        /**
    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. 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)
  4. src/test/java/jcifs/context/BaseContextTest.java

            // Then
            assertNotNull(resource1, "First resource should be created");
            assertNotNull(resource2, "Second resource should be created");
            assertNotNull(pipe1, "First pipe should be created");
            assertNotNull(pipe2, "Second pipe should be created");
    
            assertNotSame(resource1, resource2, "Different resources should be different instances");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbResourceTest.java

                assertTrue(resource.exists(), "Resource should exist");
                assertTrue(resource.isFile(), "Should be a file");
                assertTrue(resource.canWrite(), "Should be writable");
    
                // Should be able to perform file operations
                assertDoesNotThrow(() -> {
                    resource.setReadOnly();
                    resource.setReadWrite();
                    resource.setAttributes(0x20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  6. cmd/admin-handlers_test.go

    		locksHeld[resource] = []lockRequesterInfo{lri}
    	}
    
    	// Add a few concurrent read locks to the mix
    	for i := range 50 {
    		resource := fmt.Sprintf("bucket/get-object-%d", i)
    		lri := lockRequesterInfo{
    			Name:   resource,
    			UID:    mustGetUUID(),
    			Owner:  owners[i%len(owners)],
    			Quorum: 2,
    		}
    		lris = append(lris, lri)
    		locksHeld[resource] = append(locksHeld[resource], lri)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            assertTrue(iterator.hasNext());
            assertSame(resource, iterator.next());
    
            assertTrue(iterator.hasNext());
            assertSame(resource, iterator.next());
    
            assertTrue(iterator.hasNext());
            assertSame(resource, iterator.next());
    
            assertFalse(iterator.hasNext());
            assertNull(iterator.next());
    
            verify(resource, never()).close();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

         * Service for managing URL queues during crawling.
         */
        @Resource
        protected UrlQueueService<UrlQueue<?>> urlQueueService;
    
        /**
         * Service for managing access result data.
         */
        @Resource
        protected DataService<AccessResult<?>> dataService;
    
        /**
         * Filter for URLs to control which URLs are crawled.
         */
        @Resource
        protected UrlFilter urlFilter;
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        @Resource
        protected ActivityHelper activityHelper;
    
        /** Manager for handling HTTP response operations. */
        @Resource
        protected ResponseManager responseManager;
    
        /** Time manager for handling date and time operations. */
        @Resource
        protected TimeManager timeManager;
    
        /** System helper for various system-level operations. */
        @Resource
        protected SystemHelper systemHelper;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbOperationException.java

                            false), MESSAGE_TOO_LARGE("Message too large", ErrorCategory.PROTOCOL, false),
    
            // Resource errors
            OUT_OF_MEMORY("Out of memory", ErrorCategory.RESOURCE, true), TOO_MANY_SESSIONS("Too many sessions", ErrorCategory.RESOURCE,
                    true), RESOURCE_LOCKED("Resource is locked", ErrorCategory.RESOURCE, true),
    
            // Transient errors
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top