- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 879 for resource (0.14 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/io/Resources.java
* this class ({@code Resources}) will be used instead. * * @throws IllegalArgumentException if the resource is not found */ @CanIgnoreReturnValue // being used to check if a resource exists // TODO(cgdecker): maybe add a better way to check if a resource exists // e.g. Optional<URL> tryGetResource or boolean resourceExists
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.4K 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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java
private ArtifactTransferResource wrap(Repository repository, Resource resource) { if (resource == null) { return null; } else { synchronized (artifacts) { ArtifactTransferResource artifact = artifacts.get(resource); if (artifact == null) { artifact = new MavenArtifact(repository.getUrl(), resource); artifacts.put(resource, artifact);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.1K 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) -
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/main/java/jcifs/CIFSContext.java
/** * Get a resource * * @param url the URL of the SMB resource * @return the SMB resource at the specified location * @throws CIFSException if the resource cannot be accessed */ SmbResource get(String url) throws CIFSException; /** * Get a pipe resource * * @param url the URL of the SMB pipe resource * @param pipeTypeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
return getResource(path, null); } /** * Returns the resource from the context class loader. * * @param path * The resource path. Must not be {@literal null} or empty string. * @param extension * The resource extension. * @return The resource {@link URL} */ public static URL getResource(final String path, final String extension) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 14.7K bytes - Click Count (0) -
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>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Aug 07 14:31:13 GMT 2025 - 2.6K bytes - Click Count (0) -
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");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.1K bytes - Click Count (0)