Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,016 for init (0.16 sec)

  1. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

       */
    
      private int getPredecessor(int entry) {
        return requirePredecessors()[entry] - 1;
      }
    
      @Override
      int getSuccessor(int entry) {
        return requireSuccessors()[entry] - 1;
      }
    
      private void setSuccessor(int entry, int succ) {
        requireSuccessors()[entry] = succ + 1;
      }
    
      private void setPredecessor(int entry, int pred) {
        requirePredecessors()[entry] = pred + 1;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

      private int getPredecessor(int entry) {
        return (int) (links[entry] >>> 32);
      }
    
      private int getSuccessor(int entry) {
        return (int) links[entry];
      }
    
      private void setSuccessor(int entry, int succ) {
        long succMask = (~0L) >>> 32;
        links[entry] = (links[entry] & ~succMask) | (succ & succMask);
      }
    
      private void setPredecessor(int entry, int pred) {
        long predMask = (~0L) << 32;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 5.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      public final void init(
          G subjectGenerator, String suiteName, @Nullable Runnable setUp, @Nullable Runnable tearDown) {
        this.subjectGenerator = subjectGenerator;
        this.suiteName = suiteName;
        this.setUp = setUp;
        this.tearDown = tearDown;
      }
    
      // public so that it can be referenced in generated GWT tests.
      public final void init(G subjectGenerator, String suiteName) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/CombinedFuture.java

        init();
      }
    
      CombinedFuture(
          ImmutableCollection<? extends ListenableFuture<?>> futures,
          boolean allMustSucceed,
          Executor listenerExecutor,
          Callable<V> callable) {
        super(futures, allMustSucceed, false);
        this.task = new CallableInterruptibleTask(callable, listenerExecutor);
        init();
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/MapCacheTest.java

              {new MapRetrievalCache<String, String>(new HashMap<String, String>())},
              {new MapRetrievalCache<String, String>(new TreeMap<String, String>(nullsLast))}
            });
      }
    
      @Before
      public void init() {
        mapCache.clear();
      }
    
      @Test
      public void testKeySetIterator() {
        mapCache.put("A", "A_value");
        mapCache.put("B", "B_value");
        mapCache.put("C", "C_value");
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 26 16:23:26 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

      Graph<Integer> undirectedGraph;
    
      ImmutableList<MutableNetwork<Integer, String>> networksToTest;
      Network<Integer, String> directedNetwork;
      Network<Integer, String> undirectedNetwork;
    
      @Before
      public void init() {
        MutableGraph<Integer> mutableDirectedGraph =
            GraphBuilder.directed().allowsSelfLoops(true).build();
        MutableGraph<Integer> mutableUndirectedGraph =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 19 21:11:54 GMT 2017
    - 5.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      public final void init(
          G subjectGenerator, String suiteName, @Nullable Runnable setUp, @Nullable Runnable tearDown) {
        this.subjectGenerator = subjectGenerator;
        this.suiteName = suiteName;
        this.setUp = setUp;
        this.tearDown = tearDown;
      }
    
      // public so that it can be referenced in generated GWT tests.
      public final void init(G subjectGenerator, String suiteName) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

       * link(), which is defined at the end of this file.
       */
    
      private int getPredecessor(int entry) {
        return ((int) (link(entry) >>> 32)) - 1;
      }
    
      @Override
      int getSuccessor(int entry) {
        return ((int) link(entry)) - 1;
      }
    
      private void setSuccessor(int entry, int succ) {
        long succMask = (~0L) >>> 32;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactLinkedHashSet.java

       */
    
      private int getPredecessor(int entry) {
        return requirePredecessors()[entry] - 1;
      }
    
      @Override
      int getSuccessor(int entry) {
        return requireSuccessors()[entry] - 1;
      }
    
      private void setSuccessor(int entry, int succ) {
        requireSuccessors()[entry] = succ + 1;
      }
    
      private void setPredecessor(int entry, int pred) {
        requirePredecessors()[entry] = pred + 1;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

                : Lists.<@Nullable Present<V>>newArrayListWithCapacity(futures.size());
    
        // Populate the results list with null initially.
        for (int i = 0; i < futures.size(); ++i) {
          values.add(null);
        }
    
        this.values = values;
      }
    
      @Override
      final void collectOneValue(int index, @ParametricNullness V returnValue) {
        List<@Nullable Present<V>> localValues = values;
        if (localValues != null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top