Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 549 for indexFor (0.11 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

    public abstract class AbstractListIndexOfTester<E> extends AbstractListTester<E> {
      /** Override to call {@code indexOf()} or {@code lastIndexOf()}. */
      protected abstract int find(@Nullable Object o);
    
      /** Override to return "indexOf" or "lastIndexOf()" for use in failure messages. */
      protected abstract String getMethodName();
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. pkg/registry/flowcontrol/ensurer/flowschema_test.go

    			client := fake.NewSimpleClientset().FlowcontrolV1().FlowSchemas()
    			indexer := toolscache.NewIndexer(toolscache.MetaNamespaceKeyFunc, toolscache.Indexers{})
    			if test.current != nil {
    				client.Create(context.TODO(), test.current, metav1.CreateOptions{})
    				indexer.Add(test.current)
    			}
    
    			ops := NewFlowSchemaOps(client, flowcontrollisters.NewFlowSchemaLister(indexer))
    			boots := []*flowcontrolv1.FlowSchema{test.bootstrap}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingList.java

      }
    
      @Override
      @ParametricNullness
      public E get(int index) {
        return delegate().get(index);
      }
    
      @Override
      public int indexOf(@CheckForNull Object element) {
        return delegate().indexOf(element);
      }
    
      @Override
      public int lastIndexOf(@CheckForNull Object element) {
        return delegate().lastIndexOf(element);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Bytes.java

       *     such index exists.
       */
      public static int indexOf(byte[] array, byte target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(byte[] array, byte target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        if (occurrences == 0) {
          return count(element);
        }
        checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences);
        int entryIndex = backingMap.indexOf(element);
        if (entryIndex == -1) {
          backingMap.put(element, occurrences);
          size += occurrences;
          return 0;
        }
        int oldCount = backingMap.getValue(entryIndex);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

    @ElementTypesAreNonnullByDefault
    abstract class ForwardingImmutableList<E> extends ImmutableList<E> {
    
      ForwardingImmutableList() {}
    
      abstract List<E> delegateList();
    
      public int indexOf(@Nullable Object object) {
        return delegateList().indexOf(object);
      }
    
      public int lastIndexOf(@Nullable Object object) {
        return delegateList().lastIndexOf(object);
      }
    
      public E get(int index) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. maven-core/src/test/resources-project-builder/plugin-order/pom.xml

        <artifactId>nexus-parent</artifactId>
        <version>8-SNAPSHOT</version>
        <relativePath>nexus-parent.xml</relativePath>
      </parent>
    
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-indexer</artifactId>
      <version>1.1.3-SNAPSHOT</version>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.plexus</groupId>
            <artifactId>plexus-component-metadata</artifactId>
          </plugin>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 01 10:59:19 UTC 2009
    - 676 bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

                    String iface = (String)INTERFACES.get(lep.substring(6));
                    if (iface != null) {
                        int c, p;
                        c = iface.indexOf(':');
                        p = iface.indexOf('.', c + 1);
                        uuid = new UUID(iface.substring(0, c));
                        major = Integer.parseInt(iface.substring(c + 1, p));
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

    public abstract class AbstractListIndexOfTester<E> extends AbstractListTester<E> {
      /** Override to call {@code indexOf()} or {@code lastIndexOf()}. */
      protected abstract int find(@Nullable Object o);
    
      /** Override to return "indexOf" or "lastIndexOf()" for use in failure messages. */
      protected abstract String getMethodName();
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. maven-core/src/test/resources-project-builder/plugin-merge-simple/pom.xml

    <project>
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-indexer</artifactId>
      <version>1.1.3-SNAPSHOT</version>
    
      <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.its.plugins</groupId>
                <artifactId>maven-it-plugin-configuration</artifactId>
                <version>2.1-SNAPSHOT</version>
            </plugin>
          </plugins>
      </build>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 29 05:20:38 UTC 2009
    - 434 bytes
    - Viewed (0)
Back to top