Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for Erling (0.16 sec)

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

                  @Override
                  public void run() {
                    boolean createSymlink = false;
                    while (!Thread.interrupted()) {
                      try {
                        // trying to switch between a real directory and a symlink (dir -> /a)
                        if (Files.deleteIfExists(file)) {
                          if (createSymlink) {
                            Files.createSymbolicLink(file, target);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testTransform_StackOverflow() throws Exception {
        {
          /*
           * Initialize all relevant classes before running the test, which may otherwise poison any
           * classes it is trying to load during its stack overflow.
           */
          SettableFuture<Object> root = SettableFuture.create();
          ListenableFuture<Object> unused = transform(root, identity(), directExecutor());
          root.set("foo");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            }
    
            // We are forcing the use of the plugin realm for all lookups that might occur during
            // the lifecycle that is part of the lookup. Here we are specifically trying to keep
            // lookups that occur in contextualize calls in line with the right realm.
            ClassRealm oldLookupRealm = container.setLookupRealm(pluginRealm);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGenericArrayType() {
        @SuppressWarnings("unchecked") // Trying to test generic array
        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

         * the set of projects we want to build then add an edge, otherwise throw
         * the edge away because that dependency is not within the set of projects
         * we are trying to build. we assume a closed set.</li>
         * <li>do a topo sort on the graph that remains.</li>
         * </ul>
         * @throws DuplicateProjectException if any projects are duplicated by id
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Strings.java

       * used for another unchecked exception, an exception during string formatting would serve little
       * purpose except to supplant the real information you were trying to provide. These are the cases
       * this method is made for; it instead generates a best-effort string with all supplied argument
       * values present. This method is also useful in environments such as GWT where {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            .addEqualityGroup(ImmutableDoubleArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        final CountDownLatch hasConfirmedIsRunning = new CountDownLatch(1);
    
        /*
         * The main test thread tries to stop() the service shortly after
         * confirming that it is running. Meanwhile, the service itself is trying
         * to confirm that it is running. If the main thread's stop() call happens
         * before it has the chance, the test will fail. To avoid this, the main
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

            .addEqualityGroup(ImmutableLongArray.of(1, 3))
            .addEqualityGroup(ImmutableLongArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

                case 4:
                    this.state = 6;
                    throw new TransportException("Connection in error", this.te);
                case 5:
                case 6:
                    log.debug("Trying to connect a disconnected transport");
                    return false;
                default:
                    TransportException tex = new TransportException("Invalid state: " + st);
                    throw tex;
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
Back to top