Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 603 for count1 (0.11 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

            NullPointerException.class, () -> ImmutableMultiset.copyOf((Iterator<String>) iterator));
      }
    
      private static class CountingIterable implements Iterable<String> {
        int count = 0;
    
        @Override
        public Iterator<String> iterator() {
          count++;
          return asList("a", "b", "a").iterator();
        }
      }
    
      public void testCopyOf_plainIterable() {
        CountingIterable iterable = new CountingIterable();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java

    import java.util.Iterator;
    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This class provides a skeletal implementation of the {@link SortedMultiset} interface.
     *
     * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by
     * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link
     * #elementSet()}. Override those methods for better performance.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. buildscripts/verify-healing-with-root-disks.sh

    	mkdir -p ${WORK_DIR}/disks/ ${WORK_DIR}/mnt/
    	sudo modprobe loop
    	for i in 1 2 3 4; do
    		dd if=/dev/zero of=${WORK_DIR}/disks/img.${i} bs=1M count=2000
    		device=$(sudo losetup --find --show ${WORK_DIR}/disks/img.${i})
    		sudo mkfs.ext4 -F ${device}
    		mkdir -p ${WORK_DIR}/mnt/disk${i}/
    		sudo mount ${device} ${WORK_DIR}/mnt/disk${i}/
    		sudo chown "$(id -u):$(id -g)" ${device} ${WORK_DIR}/mnt/disk${i}/
    	done
    	set +e
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

        teststring = newTestString(new Random(1), bitSet, percentMatching);
      }
    
      @Benchmark
      public int countIn(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
        for (int i = 0; i < reps; i++) {
          result += matcher.countIn(teststring);
        }
        return result;
      }
    
      @Benchmark
      public int collapseFrom(int reps) {
        int result = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            });
        }
    
        /**
         * Gets the total number of documents that match the specified query.
         *
         * @param searchEngineClient the search engine client to use for the count
         * @param queryBuilder the query to count documents for
         * @param fessConfig the Fess configuration
         * @return the number of documents that match the query
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

         */
        public int getNegotiatedSendBufferSize() {
            return this.snd_buf_size;
        }
    
        /**
         * Gets the negotiated multiplex count.
         *
         * @return negotiated multiplex count
         */
        public int getNegotiatedMpxCount() {
            return this.maxMpxCount;
        }
    
        /**
         * Gets the negotiated session key.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. cmd/naughty-disk_test.go

    	}
    	return d.disk.WalkDir(ctx, opts, wr)
    }
    
    func (d *naughtyDisk) ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) (entries []string, err error) {
    	if err := d.calcError(); err != nil {
    		return []string{}, err
    	}
    	return d.disk.ListDir(ctx, origvolume, volume, dirPath, count)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/bufio/bufio.go

    	ErrInvalidUnreadRune = errors.New("bufio: invalid use of UnreadRune")
    	ErrBufferFull        = errors.New("bufio: buffer full")
    	ErrNegativeCount     = errors.New("bufio: negative count")
    )
    
    // Buffered input.
    
    // Reader implements buffering for an io.Reader object.
    // A new Reader is created by calling [NewReader] or [NewReaderSize];
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Booleans.java

       * Returns the number of {@code values} that are {@code true}.
       *
       * @since 16.0
       */
      public static int countTrue(boolean... values) {
        int count = 0;
        for (boolean value : values) {
          if (value) {
            count++;
          }
        }
        return count;
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Booleans.java

       * Returns the number of {@code values} that are {@code true}.
       *
       * @since 16.0
       */
      public static int countTrue(boolean... values) {
        int count = 0;
        for (boolean value : values) {
          if (value) {
            count++;
          }
        }
        return count;
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top