- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 945 for Resource (0.06 seconds)
-
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]ResourceMetricCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 17.2K bytes - Click Count (0) -
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); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.2K bytes - Click Count (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
void testForceCleanup() { TestResource resource1 = new TestResource("cleanup1"); TestResource resource2 = new TestResource("cleanup2"); resourceManager.registerResource(resource1); resourceManager.registerResource(resource2); assertFalse(resource1.isClosed()); assertFalse(resource2.isClosed()); int cleaned = resourceManager.forceCleanup();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.9K bytes - Click Count (0) -
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(),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 5.7K bytes - Click Count (0) -
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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
assertThat(Resources.toString(resource, UTF_8)).isEqualTo(I18N); 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)); } public void testReadLines() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
} catch (final MissingResourceException ignore) { return null; } } /** * Returns the string for the specified key from the resource bundle. * * @param bundle the resource bundle (must not be {@literal null} or empty) * @param key the key * @return the string for the specified key (must not be {@literal null} or empty)
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
import java.nio.charset.StandardCharsets; import org.junit.Test; /** * Test class for resource loading functionality in Suggester class. * * Tests cover: * - Successful resource loading * - Missing resource error handling * - Resource content validation * - InputStream null safety in try-with-resources */ public class SuggesterResourceLoadingTest { /**Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java
@Override public ApiResponse handleValidationError(final ApiFailureResource resource) { return asJson(createFailureBean(Status.BAD_REQUEST, createMessage(resource, null))).httpStatus(HTTP_BAD_REQUEST); } @Override public ApiResponse handleApplicationException(final ApiFailureResource resource, final RuntimeException cause) { if (cause instanceof LoginUnauthorizedException) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.8K bytes - Click Count (0)