Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for Parts (0.13 sec)

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

      private static File root() {
        return File.listRoots()[0];
      }
    
      /** Returns a {@code File} object for the given path parts. */
      private static File file(String first, String... more) {
        return file(new File(first), more);
      }
    
      /** Returns a {@code File} object for the given path parts. */
      private static File file(File first, String... more) {
        // not very efficient, but should definitely be correct
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

      private static File root() {
        return File.listRoots()[0];
      }
    
      /** Returns a {@code File} object for the given path parts. */
      private static File file(String first, String... more) {
        return file(new File(first), more);
      }
    
      /** Returns a {@code File} object for the given path parts. */
      private static File file(File first, String... more) {
        // not very efficient, but should definitely be correct
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

      public void testFromStringBadPort() {
        // Out-of-range ports.
        checkFromStringCase("google.com:65536", 1, null, 99, false);
        checkFromStringCase("google.com:9999999999", 1, null, 99, false);
        // Invalid port parts.
        checkFromStringCase("google.com:port", 1, null, 99, false);
        checkFromStringCase("google.com:-25", 1, null, 99, false);
        checkFromStringCase("google.com:+25", 1, null, 99, false);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        while (!descendant.equals(ancestor)) {
          classes.add(descendant);
          descendant = descendant.getSuperclass();
        }
    
        return classes;
      }
    
      /**
       * Not really a signature -- just the parts that affect whether one method is a fauxveride of a
       * method from an ancestor class.
       *
       * <p>See JLS 8.4.2 for the definition of the related "override-equivalent."
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        while (!descendant.equals(ancestor)) {
          classes.add(descendant);
          descendant = descendant.getSuperclass();
        }
    
        return classes;
      }
    
      /**
       * Not really a signature -- just the parts that affect whether one method is a fauxveride of a
       * method from an ancestor class.
       *
       * <p>See JLS 8.4.2 for the definition of the related "override-equivalent."
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

        if (IPV4_DELIMITER_MATCHER.countIn(ipString) + 1 != IPV4_PART_COUNT) {
          return null; // Wrong number of parts
        }
    
        byte[] bytes = new byte[IPV4_PART_COUNT];
        int start = 0;
        // Iterate through the parts of the ip string.
        // Invariant: start is always the beginning of an octet.
        for (int i = 0; i < IPV4_PART_COUNT; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  7. guava-tests/test/com/google/common/net/HostAndPortTest.java

      public void testFromStringBadPort() {
        // Out-of-range ports.
        checkFromStringCase("google.com:65536", 1, null, 99, false);
        checkFromStringCase("google.com:9999999999", 1, null, 99, false);
        // Invalid port parts.
        checkFromStringCase("google.com:port", 1, null, 99, false);
        checkFromStringCase("google.com:-25", 1, null, 99, false);
        checkFromStringCase("google.com:+25", 1, null, 99, false);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 10K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Throwables.java

        return stringWriter.toString();
      }
    
      /**
       * Returns the stack trace of {@code throwable}, possibly providing slower iteration over the full
       * trace but faster iteration over parts of the trace. Here, "slower" and "faster" are defined in
       * comparison to the normal way to access the stack trace, {@link Throwable#getStackTrace()
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Throwables.java

        return stringWriter.toString();
      }
    
      /**
       * Returns the stack trace of {@code throwable}, possibly providing slower iteration over the full
       * trace but faster iteration over parts of the trace. Here, "slower" and "faster" are defined in
       * comparison to the normal way to access the stack trace, {@link Throwable#getStackTrace()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() {
          return mapGenerator;
        }
      }
    
      // TODO: investigate some API changes to SampleElements that would tidy up
      // parts of the following classes.
    
      static <K extends @Nullable Object, V extends @Nullable Object>
          TestSetGenerator<K> keySetGenerator(
              OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> mapGenerator) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
Back to top