Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Child1 (2.79 sec)

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

        try {
          assertThat(temp.exists()).isTrue();
          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
          assertThat(child.createNewFile()).isTrue();
          assertThat(child.delete()).isTrue();
    
          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        assertEquals("com", parent.toString());
    
        // These would throw an exception if leniency were not preserved during parent() and child()
        // calls.
        InternetDomainName child = parent.child(LOTS_OF_DELTAS);
        InternetDomainName unused = child.child(LOTS_OF_DELTAS);
      }
    
      public void testValidTopPrivateDomain() {
        InternetDomainName googleDomain = InternetDomainName.from("google.com");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

        try {
          assertThat(temp.exists()).isTrue();
          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
          assertThat(child.createNewFile()).isTrue();
          assertThat(child.delete()).isTrue();
    
          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        assertEquals("com", parent.toString());
    
        // These would throw an exception if leniency were not preserved during parent() and child()
        // calls.
        InternetDomainName child = parent.child(LOTS_OF_DELTAS);
        InternetDomainName unused = child.child(LOTS_OF_DELTAS);
      }
    
      public void testValidTopPrivateDomain() {
        InternetDomainName googleDomain = InternetDomainName.from("google.com");
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

              minIndex = i;
            }
          }
          return minIndex;
        }
    
        /** Returns the minimum child or {@code -1} if no child exists. */
        int findMinChild(int index) {
          return findMin(getLeftChildIndex(index), 2);
        }
    
        /** Returns the minimum grand child or -1 if no grand child exists. */
        int findMinGrandChild(int index) {
          int leftChildIndex = getLeftChildIndex(index);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  6. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

            // Read all the children
            idx += doParseTrieToBuilder(stack, encoded, idx, builder);
    
            if (encoded.charAt(idx) == '?' || encoded.charAt(idx) == ',') {
              // An extra '?' or ',' after a child node indicates the end of all children of this node.
              idx++;
              break;
            }
          }
        }
    
        stack.pop();
        return idx - start;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 13 19:20:43 GMT 2022
    - 4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        // directory with a cycle,
        // /root
        //    /child
        //       /[grandchild -> root]
        java.nio.file.Path root = createTempDirectory("ClassPathTest");
        try {
          createFile(root.resolve("some.txt"));
          java.nio.file.Path child = createDirectory(root.resolve("child"));
          createSymbolicLink(child.resolve("grandchild"), root);
          assertEquals(
    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)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      public void testLocationEquals() {
        ClassLoader child = getClass().getClassLoader();
        ClassLoader parent = child.getParent();
        new EqualsTester()
            .addEqualityGroup(
                new ClassPath.LocationInfo(new File("foo.jar"), child),
                new ClassPath.LocationInfo(new File("foo.jar"), child))
            .addEqualityGroup(new ClassPath.LocationInfo(new File("foo.jar"), parent))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InternetDomainName.java

       * returns a new {@code InternetDomainName} with the value {@code www.bar.foo.com}. Only lenient
       * validation is performed, as described {@link #from(String) here}.
       *
       * @throws NullPointerException if leftParts is null
       * @throws IllegalArgumentException if the resulting name is not valid
       */
      public InternetDomainName child(String leftParts) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeTraverser.java

        @CheckForNull
        protected T computeNext() {
          while (!stack.isEmpty()) {
            PostOrderNode<T> top = stack.getLast();
            if (top.childIterator.hasNext()) {
              T child = top.childIterator.next();
              stack.addLast(expand(child));
            } else {
              stack.removeLast();
              return top.root;
            }
          }
          return endOfData();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top