Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for resources (0.22 sec)

  1. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  2. 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>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closeables.java

       * I/O resource, it should generally be safe in the case of a resource that's being used only for
       * reading, such as an {@code InputStream}. Unlike with writable resources, there's no chance that
       * a failure that occurs when closing the stream indicates a meaningful problem such as a failure
       * to flush all bytes to the underlying resource.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/ClassPath.java

      private final ImmutableSet<ResourceInfo> resources;
    
      private ClassPath(ImmutableSet<ResourceInfo> resources) {
        this.resources = resources;
      }
    
      /**
       * Returns a {@code ClassPath} representing all classes and resources loadable from {@code
       * classloader} and its ancestor class loaders.
       *
       * <p><b>Warning:</b> {@code ClassPath} can find classes and resources only from:
       *
       * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  5. android/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>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ResourcesTest.java

      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(Charsets.UTF_8));
      }
    
      public void testReadLines() throws IOException {
        // TODO(chrisn): Check in a better resource
        URL resource = getClass().getResource("testdata/i18n.txt");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/RemovalListener.java

     *
     * <p>An instance may be called concurrently by multiple threads to process different entries.
     * Implementations of this interface should avoid performing blocking calls or synchronizing on
     * shared resources.
     *
     * @param <K> the most general type of keys this listener can listen for; for example {@code Object}
     *     if any key is acceptable
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        } catch (SecurityException expected) {
        }
        ClassPath classPath = ClassPath.from(getClass().getClassLoader());
        // ClassPath may contain resources from the boot class loader; just not from the class path.
        for (ResourceInfo resource : classPath.getResources()) {
          assertThat(resource.getResourceName()).doesNotContain("com/google/common/reflect/");
        }
      }
    
      private static ClassPath.ClassInfo findClass(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 07 16:50:33 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        } catch (SecurityException expected) {
        }
        ClassPath classPath = ClassPath.from(getClass().getClassLoader());
        // ClassPath may contain resources from the boot class loader; just not from the class path.
        for (ResourceInfo resource : classPath.getResources()) {
          assertThat(resource.getResourceName()).doesNotContain("com/google/common/reflect/");
        }
      }
    
      private static ClassPath.ClassInfo findClass(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * overflow, depending on the real world consequences of not using the expected rate.
       *
       * Past underutilization could mean that excess resources are available. Then, the RateLimiter
       * should speed up for a while, to take advantage of these resources. This is important when the
       * rate is applied to networking (limiting bandwidth), where past underutilization typically
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
Back to top