Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for child (0.14 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava/src/com/google/common/base/FinalizableReferenceQueue.java

          }
          if (systemLoader != null) {
            try {
              return systemLoader.loadClass(FINALIZER_CLASS_NAME);
            } catch (ClassNotFoundException e) {
              // Ignore. Finalizer is simply in a child class loader.
              return null;
            }
          } else {
            return 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)
  8. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

          }
          if (systemLoader != null) {
            try {
              return systemLoader.loadClass(FINALIZER_CLASS_NAME);
            } catch (ClassNotFoundException e) {
              // Ignore. Finalizer is simply in a child class loader.
              return null;
            }
          } else {
            return 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)
  9. 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)
  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