Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 800 for indexed (1.43 sec)

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

      static final class ElementSet<E> extends ImmutableSet.Indexed<E> {
        private final List<Entry<E>> entries;
        // TODO(cpovirk): @Weak?
        private final Multiset<E> delegate;
    
        ElementSet(List<Entry<E>> entries, Multiset<E> delegate) {
          this.entries = entries;
          this.delegate = delegate;
        }
    
        @Override
        E get(int index) {
          return entries.get(index).getElement();
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/apps/v1beta2/generated.proto

    // in this StatefulSet.
    message StatefulSetOrdinals {
      // start is the number representing the first replica's index. It may be used
      // to number replicas from an alternate index (eg: 1-indexed) over the default
      // 0-indexed names, or to orchestrate progressive movement of replicas from
      // one StatefulSet to another.
      // If set, replica indices will be in the range:
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Ascii.java

        }
        return true;
      }
    
      /**
       * Returns the non-negative index value of the alpha character {@code c}, regardless of case. Ie,
       * 'a'/'A' returns 0 and 'z'/'Z' returns 25. Non-alpha characters return a value of 26 or greater.
       */
      private static int getAlphaIndex(char c) {
        // Fold upper-case ASCII to lower-case and make zero-indexed and unsigned (by casting to char).
        return (char) ((c | CASE_MASK) - 'a');
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

        return (delegate != null) ? delegate.containsKey(key) : indexOf(key) != -1;
      }
    
      @Override
      @CheckForNull
      public V get(@CheckForNull Object key) {
        Map<K, V> delegate = delegateOrNull();
        if (delegate != null) {
          return delegate.get(key);
        }
        int index = indexOf(key);
        if (index == -1) {
          return null;
        }
        accessEntry(index);
        return value(index);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Ascii.java

        }
        return true;
      }
    
      /**
       * Returns the non-negative index value of the alpha character {@code c}, regardless of case. Ie,
       * 'a'/'A' returns 0 and 'z'/'Z' returns 25. Non-alpha characters return a value of 26 or greater.
       */
      private static int getAlphaIndex(char c) {
        // Fold upper-case ASCII to lower-case and make zero-indexed and unsigned (by casting to char).
        return (char) ((c | CASE_MASK) - 'a');
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_test.go

    		b.ReportAllocs()
    		b.ResetTimer()
    		b.SetBytes(855) // number of versions...
    		for i := 0; i < b.N; i++ {
    			err = xl.Load(data)
    			if err != nil {
    				b.Fatal(err)
    			}
    		}
    	})
    
    	b.Run("indexed", func(b *testing.B) {
    		var xl xlMetaV2
    		err = xl.Load(data)
    		if err != nil {
    			b.Fatal(err)
    		}
    		data, err := xl.AppendTo(nil)
    		if err != nil {
    			b.Fatal(err)
    		}
    		b.ReportAllocs()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

        TFE_TensorDebugInfo* debug_info);
    
    // Returns the number of elements in dimension `dim_index`.
    // Tensor representation on device can be transposed from its representation
    // on host. The data contained in dimension `dim_index` on device
    // can correspond to the data contained in another dimension in on-host
    // representation. The dimensions are indexed using the standard TensorFlow
    // major-to-minor order (slowest varying dimension first),
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  8. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            // if already there we remove it and add again
            int index = attachedArtifacts.indexOf(artifact);
            if (index >= 0) {
                LOGGER.warn("artifact '{}' already attached, replacing previous instance", artifact);
                attachedArtifacts.set(index, artifact);
            } else {
                attachedArtifacts.add(artifact);
            }
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableList.java

        }
    
        @Override
        public int indexOf(@CheckForNull Object object) {
          int index = forwardList.lastIndexOf(object);
          return (index >= 0) ? reverseIndex(index) : -1;
        }
    
        @Override
        public int lastIndexOf(@CheckForNull Object object) {
          int index = forwardList.indexOf(object);
          return (index >= 0) ? reverseIndex(index) : -1;
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

      public final <K> ImmutableListMultimap<K, @NonNull E> index(Function<? super E, K> keyFunction) {
        return Multimaps.index((Iterable<@NonNull E>) getDelegate(), keyFunction);
      }
    
      /**
       * Returns a map with the contents of this {@code FluentIterable} as its {@code values}, indexed
       * by keys derived from those values. In other words, each input value produces an entry in the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
Back to top