Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for url (0.11 sec)

  1. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_duplicateUri_parentWins() throws Exception {
        URL url = new URL("file:/a");
        URLClassLoader parent = new URLClassLoader(new URL[] {url}, null);
        URLClassLoader child = new URLClassLoader(new URL[] {url}, parent) {};
        assertThat(ClassPath.getClassPathEntries(child)).containsExactly(new File("/a"), parent);
      }
    
    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)
  2. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  3. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/StandardSystemProperty.java

      /** Java Runtime Environment version. */
      JAVA_VERSION("java.version"),
    
      /** Java Runtime Environment vendor. */
      JAVA_VENDOR("java.vendor"),
    
      /** Java vendor URL. */
      JAVA_VENDOR_URL("java.vendor.url"),
    
      /** Java installation directory. */
      JAVA_HOME("java.home"),
    
      /** Java Virtual Machine specification version. */
      JAVA_VM_SPECIFICATION_VERSION("java.vm.specification.version"),
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

        if (ip instanceof Inet6Address) {
          return "[" + toAddrString(ip) + "]";
        }
        return toAddrString(ip);
      }
    
      /**
       * Returns an InetAddress representing the literal IPv4 or IPv6 host portion of a URL, encoded in
       * the format specified by RFC 3986 section 3.2.2.
       *
       * <p>This method is similar to {@link InetAddresses#forString(String)}, however, it requires that
       * IPv6 addresses are surrounded by square brackets.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * @since 20.0
       */
      @ForOverride
      protected void afterDone() {}
    
      // TODO(b/114236866): Inherit doc from InternalFutureFailureAccess. Also, -link to its URL.
      /**
       * Usually returns {@code null} but, if this {@code Future} has failed, may <i>optionally</i>
       * return the cause of the failure. "Failure" means specifically "completed with an exception"; it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/HttpHeadersTest.java

                .buildOrThrow();
        ImmutableSet<String> uppercaseAcronyms =
            ImmutableSet.of(
                "CH", "ID", "DNT", "DNS", "DPR", "ECT", "HTTP2", "IP", "MD5", "P3P", "RTT", "TE", "UA",
                "UID", "URL", "WWW", "XSS");
        assertConstantNameMatchesString(HttpHeaders.class, specialCases, uppercaseAcronyms);
      }
    
      // Visible for other tests to use
      static void assertConstantNameMatchesString(
          Class<?> clazz,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Jan 17 17:41:51 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

                .buildOrThrow();
        ImmutableSet<String> uppercaseAcronyms =
            ImmutableSet.of(
                "CH", "ID", "DNT", "DNS", "DPR", "ECT", "GPC", "HTTP2", "IP", "MD5", "P3P", "RTT", "TE",
                "UA", "UID", "URL", "WWW", "XSS");
        assertConstantNameMatchesString(HttpHeaders.class, specialCases, uppercaseAcronyms);
      }
    
      // Visible for other tests to use
      static void assertConstantNameMatchesString(
          Class<?> clazz,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top