Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,029 for Size (0.03 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

    import java.util.Set;
    
    /**
     * Test iteration speed at various size for {@link Set} instances.
     *
     * @author Christopher Swenson
     */
    public class SetIterationBenchmark {
      @Param({
        "3", "6", "11", "23", "45", "91", "181", "362", "724", "1448", "2896", "5793", "11585", "23170",
        "46341", "92682", "185364", "370728", "741455", "1482910", "2965821", "5931642"
      })
      private int size;
    
      // "" means no fixed seed
      @Param("1234")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

    import java.util.Set;
    
    /**
     * Test iteration speed at various size for {@link Set} instances.
     *
     * @author Christopher Swenson
     */
    public class SetIterationBenchmark {
      @Param({
        "3", "6", "11", "23", "45", "91", "181", "362", "724", "1448", "2896", "5793", "11585", "23170",
        "46341", "92682", "185364", "370728", "741455", "1482910", "2965821", "5931642"
      })
      private int size;
    
      // "" means no fixed seed
      @Param("1234")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        int numGoodQueries = (int) (numQueries * hitRate + 0.5);
    
        // add good queries
        int size = elementsInSet.size();
        if (size > 0) {
          int minCopiesOfEachGoodQuery = numGoodQueries / size;
          int extras = numGoodQueries % size;
    
          for (int i = 0; i < minCopiesOfEachGoodQuery; i++) {
            queryList.addAll(elementsInSet);
          }
          List<Element> tmp = Lists.newArrayList(elementsInSet);
          shuffle(tmp, random);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_test.go

    	var buf bytes.Buffer
    	gob.NewEncoder(&buf).Encode(v)
    	encoded := buf.Bytes()
    	b.Log("Size:", buf.Len(), "bytes")
    	b.SetBytes(1)
    	b.ReportAllocs()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/CreateForm.java

    import jakarta.validation.constraints.Size;
    
    public class CreateForm {
    
        @ValidateTypeFailure
        public Integer crudMode;
    
        @Required
        @Size(max = 10000)
        public String term;
    
        @Required
        @Size(max = 10000)
        public String queries;
    
        @Size(max = 1000)
        public String virtualHost;
    
        @Size(max = 1000)
        public String createdBy;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        Set<K> keySet = map.keySet();
        Collection<V> valueCollection = map.values();
        Set<Entry<K, V>> entrySet = map.entrySet();
    
        assertEquals(map.size() == 0, map.isEmpty());
        assertEquals(map.size(), keySet.size());
        assertEquals(keySet.size() == 0, keySet.isEmpty());
        assertEquals(!keySet.isEmpty(), keySet.iterator().hasNext());
    
        int expectedKeySetHash = 0;
        for (K key : keySet) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java

        @CustomSize(maxKey = "form.admin.max.input.size")
        public String paths;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String includedPaths;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String excludedPaths;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String includedDocPaths;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String excludedDocPaths;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

      @BeforeExperiment
      void setUp() {
        checkArgument(size > 0, "empty collection not supported");
        Set<Integer> set = new LinkedHashSet<>(size);
    
        Random random = new Random();
        while (set.size() < size) {
          set.add(random.nextInt());
        }
        List<Integer> list = new ArrayList<>(set);
        inputOrder.arrange(list);
        input = ImmutableList.copyOf(list);
      }
    
      @Benchmark
      int collections(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClusterException.java

       */
      static RuntimeException create(Collection<? extends Throwable> exceptions) {
        if (exceptions.size() == 0) {
          throw new IllegalArgumentException("Can't create an ExceptionCollection with no exceptions");
        }
        if (exceptions.size() == 1) {
          Throwable temp = exceptions.iterator().next();
          if (temp instanceof RuntimeException) {
            return (RuntimeException) temp;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/Base64.java

            if (length == 0) return new byte[0];
            int pad = (string.charAt(length - 2) == '=') ? 2 :
                    (string.charAt(length - 1) == '=') ? 1 : 0;
            int size = length * 3 / 4 - pad;
            byte[] buffer = new byte[size];
            int block;
            int i = 0;
            int index = 0;
            while (i < length) {
                block = (ALPHABET.indexOf(string.charAt(i++)) & 0xff) << 18 |
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.7K bytes
    - Viewed (0)
Back to top