Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 181 for get$index (0.06 seconds)

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

      public ImmutableList<V> asList() {
        ImmutableList<Entry<K, V>> entryList = map.entrySet().asList();
        return new ImmutableAsList<V>() {
          @Override
          public V get(int index) {
            return entryList.get(index).getValue();
          }
    
          @Override
          ImmutableCollection<V> delegateCollection() {
            return ImmutableMapValues.this;
          }
    
          // redeclare to help optimizers with b/310253115
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/MapMakerInternalMap.java

              expand();
              newCount = this.count + 1;
            }
    
            AtomicReferenceArray<E> table = this.table;
            int index = hash & (table.length() - 1);
            E first = table.get(index);
    
            // Look for an existing entry.
            for (E e = first; e != null; e = e.getNext()) {
              K entryKey = e.getKey();
              if (e.getHash() == hash
                  && entryKey != null
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

                sessionForThisModule.setCurrentProject(null);
            }
        }
    
        public int size() {
            return items.size();
        }
    
        public ProjectSegment get(int index) {
            return items.get(index);
        }
    
        public Set<String> getReactorProjectKeys() {
            Set<String> projectKeys = new HashSet<>(items.size() * 2);
            for (ProjectSegment projectBuild : items) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

              - is_false: "value_not_to_replace"
              - length: { key.in_length_to_replace: 1 }
              - length: { value_to_replace: 1 }
            ---
            "two":
              - do:
                  get:
                    index: test
                    id: 1
                  do_.some.key_to_replace_in_two:
                    changed_here: "because it is in test 'two'"
              - match: { _source.values: ["foo"] }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

            this.projects = new HashMap<>();
            List<MavenProject> sorted = this.sorter.getSortedProjects();
            for (int index = 0; index < sorted.size(); index++) {
                MavenProject project = sorted.get(index);
                String id = ProjectSorter.getId(project);
                this.projects.put(id, project);
                this.order.put(project, index);
            }
        }
    
        /**
         * @since 3.5.0
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java

        InverseEntries(ImmutableList<Entry<K, V>> entries) {
          this.entries = entries;
        }
    
        @Override
        public Entry<V, K> get(int index) {
          Entry<K, V> entry = entries.get(index);
          return immutableEntry(entry.getValue(), entry.getKey());
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    
        @Override
        public int size() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().addAll(index, c);
          }
        }
    
        @Override
        public E get(int index) {
          synchronized (mutex) {
            return delegate().get(index);
          }
        }
    
        @Override
        public int indexOf(@Nullable Object o) {
          synchronized (mutex) {
            return delegate().indexOf(o);
          }
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/Striped.java

          if (size != Integer.MAX_VALUE) {
            Preconditions.checkElementIndex(index, size());
          } // else no check necessary, all index values are valid
          ArrayReference<? extends L> existingRef = locks.get(index);
          L existing = existingRef == null ? null : existingRef.get();
          if (existing != null) {
            return existing;
          }
          L created = supplier.get();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

              expand();
              newCount = this.count + 1;
            }
    
            AtomicReferenceArray<E> table = this.table;
            int index = hash & (table.length() - 1);
            E first = table.get(index);
    
            // Look for an existing entry.
            for (E e = first; e != null; e = e.getNext()) {
              K entryKey = e.getKey();
              if (e.getHash() == hash
                  && entryKey != null
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().addAll(index, c);
          }
        }
    
        @Override
        public E get(int index) {
          synchronized (mutex) {
            return delegate().get(index);
          }
        }
    
        @Override
        public int indexOf(@Nullable Object o) {
          synchronized (mutex) {
            return delegate().indexOf(o);
          }
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
Back to Top