Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 691 for init (0.2 sec)

  1. guava/src/com/google/common/collect/CompactHashSet.java

          return delegate.add(object);
        }
        int[] entries = requireEntries();
        @Nullable Object[] elements = requireElements();
    
        int newEntryIndex = this.size; // current size, and pointer to the entry to be appended
        int newSize = newEntryIndex + 1;
        int hash = smearedHash(object);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  2. 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 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(graphString).contains("isDirected: " + graph.isDirected());
        assertThat(graphString).contains("allowsSelfLoops: " + graph.allowsSelfLoops());
    
        int nodeStart = graphString.indexOf("nodes:");
        int edgeStart = graphString.indexOf("edges:");
        String nodeString = graphString.substring(nodeStart, edgeStart);
    
        Set<EndpointPair<N>> allEndpointPairs = new HashSet<>();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Striped64.java

          } else if (busy == 0 && cells == as && casBusy()) {
            boolean init = false;
            try { // Initialize table
              if (cells == as) {
                Cell[] rs = new Cell[2];
                rs[h & 1] = new Cell(x);
                cells = rs;
                init = true;
              }
            } finally {
              busy = 0;
            }
            if (init) break;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Striped64.java

          } else if (busy == 0 && cells == as && casBusy()) {
            boolean init = false;
            try { // Initialize table
              if (cells == as) {
                Cell[] rs = new Cell[2];
                rs[h & 1] = new Cell(x);
                cells = rs;
                init = true;
              }
            } finally {
              busy = 0;
            }
            if (init) break;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

          return delegate.add(object);
        }
        int[] entries = requireEntries();
        @Nullable Object[] elements = requireElements();
    
        int newEntryIndex = this.size; // current size, and pointer to the entry to be appended
        int newSize = newEntryIndex + 1;
        int hash = smearedHash(object);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top