Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for Fields (0.18 sec)

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

                // this test is mainly checking that the contents of /dontdelete aren't deleted under
                // any circumstances
                assertEquals(3, MoreFiles.listFiles(symlinkTarget).size());
    
                Thread.yield();
              }
            } finally {
              executor.shutdownNow();
            }
          }
        }
      }
    
      public void testDeleteRecursively_nonDirectoryFile() throws IOException {
    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/collect/QueuesTest.java

        assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
        // wait for interrupted status and clear it
        while (!Thread.interrupted()) {
          Thread.yield();
        }
      }
    
      private static class Producer implements Callable<@Nullable Void> {
        final BlockingQueue<Object> q;
        final int elements;
        final CountDownLatch beganProducing = new CountDownLatch(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

      private final Map<N, Object> adjacentNodeValues;
    
      /**
       * All node connections in this graph, in edge insertion order.
       *
       * <p>Note: This field and {@link #adjacentNodeValues} cannot be combined into a single
       * LinkedHashMap because one target node may be mapped to both a predecessor and a successor. A
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

     */
    public abstract class AbstractGraphTest {
    
      Graph<Integer> graph;
    
      /**
       * The same reference as {@link #graph}, except as a mutable graph. This field is null in case
       * {@link #createGraph()} didn't return a mutable graph.
       */
      MutableGraph<Integer> graphAsMutableGraph;
    
      static final Integer N1 = 1;
      static final Integer N2 = 2;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       */
      public abstract static class NullsBefore implements Comparator<@Nullable String>, Serializable {
        /*
         * We don't serialize this class in GWT, so we don't care about whether GWT will serialize this
         * field.
         */
        @GwtTransient private final String justAfterNull;
    
        protected NullsBefore(String justAfterNull) {
          if (justAfterNull == null) {
            throw new NullPointerException();
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                    }
                  });
          expectedKeys.add(s);
        }
    
        computationLatch.countDown();
        // let some computations complete
        while (computedCount.get() < nThreads) {
          Thread.yield();
        }
        cache.invalidateAll();
        tasksFinished.await();
    
        // Check all of the removal notifications we received: they should have had correctly-associated
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * sake they are stored interleaved on alternate heap levels in the same array (MMPQ.queue).
       */
      @WeakOuter
      class Heap {
        final Ordering<E> ordering;
    
        @SuppressWarnings("nullness:initialization.field.uninitialized")
        @Weak
        Heap otherHeap; // always initialized immediately after construction
    
        Heap(Ordering<E> ordering) {
          this.ordering = ordering;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Splitter.java

     * that order.
     *
     * <p>By default, {@code Splitter}'s behavior is simplistic and unassuming. The following
     * expression:
     *
     * <pre>{@code
     * Splitter.on(',').split(" foo,,,  bar ,")
     * }</pre>
     *
     * ... yields the substrings {@code [" foo", "", "", " bar ", ""]}. If this is not the desired
     * behavior, use configuration methods to obtain a <i>new</i> splitter instance with modified
     * behavior:
     *
     * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        equalsTester = new EqualsTester();
        equalObject1 = new ValidTestObject(1, 2);
        equalObject2 = new ValidTestObject(1, 2);
        notEqualObject1 = new ValidTestObject(0, 2);
      }
    
      /** Test null reference yields error */
      public void testAddNullReference() {
        try {
          equalsTester.addEqualityGroup((Object) null);
          fail("Should fail on null reference");
        } catch (NullPointerException e) {
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       * identity equality of its Thread field so that the task field is only accessed by a single
       * thread.
       */
      private static final class ThreadConfinedTaskQueue {
        /**
         * This field is only used for identity comparisons with the current thread. Field assignments
         * are atomic, but do not provide happens-before ordering; however:
         *
         * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top