Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for url (0.15 sec)

  1. guava-tests/test/com/google/common/io/IoTestCase.java

        byte[] array = new byte[size];
        for (int i = 0; i < size; i++) {
          array[i] = (byte) (offset + i);
        }
        return array;
      }
    
      private static void copy(URL url, File file) throws IOException {
        InputStream in = url.openStream();
        try {
          OutputStream out = new FileOutputStream(file);
          try {
            byte[] buf = new byte[4096];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/FinalizableReferenceQueue.java

            return null;
          }
        }
    
        /** Gets URL for base of path containing Finalizer.class. */
        URL getBaseUrl() throws IOException {
          // Find URL pointing to Finalizer.class file.
          String finalizerPath = FINALIZER_CLASS_NAME.replace('.', '/') + ".class";
          URL finalizerUrl = getClass().getClassLoader().getResource(finalizerPath);
          if (finalizerUrl == null) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

            return null;
          }
        }
    
        /** Gets URL for base of path containing Finalizer.class. */
        URL getBaseUrl() throws IOException {
          // Find URL pointing to Finalizer.class file.
          String finalizerPath = FINALIZER_CLASS_NAME.replace('.', '/') + ".class";
          URL finalizerUrl = getClass().getClassLoader().getResource(finalizerPath);
          if (finalizerUrl == null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  4. guava-gwt/pom.xml

          <name>sonatype-google-snapshots</name>
          <url>https://oss.sonatype.org/content/repositories/google-snapshots/</url>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>sonatype-snapshots</id>
          <name>sonatype-snapshots</name>
          <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  5. guava/pom.xml

                <offlineLink>
                  <url>https://static.javadoc.io/com.google.code.findbugs/jsr305/3.0.1/</url>
                  <location>${project.basedir}/javadoc-link/jsr305</location>
                </offlineLink>
                <offlineLink>
                  <url>https://static.javadoc.io/com.google.j2objc/j2objc-annotations/1.1/</url>
                  <location>${project.basedir}/javadoc-link/j2objc-annotations</location>
    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)
  6. guava-tests/test/com/google/common/base/EnumsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Class.getClassLoader()
      private URL[] getClassPathUrls() {
        ClassLoader classLoader = getClass().getClassLoader();
        return classLoader instanceof URLClassLoader
            ? ((URLClassLoader) classLoader).getURLs()
            : parseJavaClassPath().toArray(new URL[0]);
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Resources.java

       * Returns a {@link ByteSource} that reads from the given URL.
       *
       * @since 14.0
       */
      public static ByteSource asByteSource(URL url) {
        return new UrlByteSource(url);
      }
    
      /** A byte source that reads from a URL using {@link URL#openStream()}. */
      private static final class UrlByteSource extends ByteSource {
    
        private final URL url;
    
        private UrlByteSource(URL url) {
          this.url = checkNotNull(url);
        }
    
    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)
  8. android/guava/src/com/google/common/net/HttpHeaders.java

        public static final String ORIGIN_WHEN_CROSS_ORIGIN = "origin-when-cross-origin";
        public static final String STRICT_ORIGIN_WHEN_CROSS_ORIGIN = "strict-origin-when-cross-origin";
        public static final String UNSAFE_URL = "unsafe-url";
      }
    
      /**
       * The HTTP <a href="https://www.w3.org/TR/service-workers/#update-algorithm">{@code
       * Service-Worker}</a> header field name.
       *
       * @since 20.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        // Now set the context loader to one that should find the resource.
        URL baseUrl = tempFile.getParentFile().toURI().toURL();
        URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl});
        ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader();
        try {
          Thread.currentThread().setContextClassLoader(loader);
          URL url = Resources.getResource(tempFile.getName());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        FinalizableReferenceQueue.DecoupledLoader decoupledLoader =
            new FinalizableReferenceQueue.DecoupledLoader() {
              @Override
              URLClassLoader newLoader(URL base) {
                return new DecoupledClassLoader(new URL[] {base});
              }
            };
    
        Class<?> finalizerCopy = decoupledLoader.loadFinalizer();
    
        assertNotNull(finalizerCopy);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top